Lea Anthony
f2568f1899
Experimental support for CSS Drag detection ( #1750 )
...
* Support CSS Drag
* Support CSS Drag as experimental option
2022-08-18 20:39:05 +10:00
Lea Anthony
7ea6f6d28e
Fix BackgroundColour documentation. Update changelog. Move contributors into website. Create changelog link.
2022-07-25 20:11:04 +10:00
Lea Anthony
f068c33dcf
Add support for production log levels ( #1555 )
2022-07-14 21:45:13 +10:00
Nan0
2065600096
Feature: set browser path ( #1448 )
...
* Added option to specify webview2 path
* Added `manual` webview strategy
* Update documentation
* Fixed build with manual tag
* Check for browser directory existence
* Added version check for manually specified webview, removed fallback for installed webview in manual strategy
* Update WebviewBrowserPath documentation
* Replaced deprecated StringToUTF16Ptr
* Return on error
* Removed manual strategy, return error in wv2installer for fixed runtime
* Removed manual strategy from CLI
2022-06-25 07:49:00 +10:00
Lea Anthony
381909696b
[Windows] Add Suspend/Resume callback support ( #1474 )
...
* Add Suspend/Resume callback support
* Fix comment
2022-06-22 06:37:18 +10:00
Lea Anthony
c477100374
Add BackgroundColour
and deprecate RGBA
( #1475 )
2022-06-21 19:47:05 +10:00
Lea Anthony
cb169611b1
Set Window Background colour if provided + debounce redraw option ( #1466 )
...
* Set Window Background colour if provided. Added debounce option for Webview2 redraw on resize
* [windows] Workaround resize flickering in frameless mode
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-06-20 17:47:13 +10:00
Lea Anthony
953bc09343
Merge pull request #1400 from wailsapp/feature/native-translucency
...
Initial support for new native translucency in Windows Preview
2022-05-18 18:52:45 +10:00
stffabi
6d09a45a30
[v2] Add support for AssetsHandler ( #1325 )
...
* [website] Fix devserver default value doc
* [v2] Add support for AssetsHandler
AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.
Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers
Known Limitations on Windows:
- Request body is leaking memory. Seems to be a bug in
WebView2, investigation angoing.
Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.
* [v2, linux] Add response streaming support
The complete response won’t be held anymore in memory and will
be streamed to WebKit2.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-12 20:18:27 +10:00
Lea Anthony
dce5fd442f
fix: i18n messages/bug + docs bug.
2022-04-05 21:41:49 +10:00
Lea Anthony
8e8b88ef48
Translations refactor
2022-04-03 17:22:37 +10:00
Lea Anthony
4a20655b29
Translations + Tidy Up
2022-04-03 17:18:36 +10:00
bearsh
d8bcf7ac70
v2: linux: add icon to linux specific app option and load it during w… ( #1272 )
...
* v2: linux: add icon to linux specific app option and load it during window creation
Signed-off-by: Martin Gysel <me@bearsh.org>
* doc: linux specific option: icon
2022-03-30 18:15:58 +11:00
Lea Anthony
48254b73e5
[Feature/1149] Dark mode ( #1281 )
...
* Add Windows version helper
* Initial theme support
* Support custom themes
* Update docs
* Honour HighContrast theme. Remove import "C". Refactor
* Small refactor
* Support inactive theme
* Update Docs
2022-03-27 22:57:45 +11:00
stffabi
a750d2d507
[v2, windows] Invert the frameless border flag and rename it ( #1157 )
...
This is a breaking change for all users of the flag.
2022-02-16 20:28:46 +11:00
stffabi
b1c2065dfb
[v2, windows] Add WebviewUserDataPath to windows options
2022-01-25 21:42:01 +01:00
stffabi
6fcd4b7bd4
[v2] Support fs.FS for assets
...
Reloading changed asset files in dev mode will only work
if an embed.FS has been provided for the assets.
2021-12-06 08:50:39 +01:00
ironpark
fda3323386
basic implement
2021-12-04 04:55:36 +09:00
stffabi
47d783291d
[windows] Support drawing a frame for frameless to support hiding the titlebar
2021-12-02 11:16:13 +01:00
Lea Anthony
b036b8c547
[linux] Support Window start state. fixed warnings.
2021-11-28 08:40:10 +11:00
Lea Anthony
39ca977b18
[linux] basic windowing pt2
2021-11-27 20:36:48 +11:00
Lea Anthony
a8fcd994c9
Merge branch '930_-_default_window_state'
2021-11-16 18:23:43 +11:00
Lea Anthony
3a93c08813
[linux] basic windowing
2021-11-14 22:40:37 +11:00
Lea Anthony
56ef4ddd47
[v2] Add WindowStartState. Fix startHidden option. Only windows supported atm
2021-11-10 18:11:54 +11:00
Lea Anthony
aab67b416f
[mac] add default menu
2021-11-03 19:22:38 +11:00
Lea Anthony
489b9b358b
[mac] menu support
2021-10-30 09:51:46 +11:00
Lea Anthony
3edbda313e
[mac] add SetRGBA and basic hooks for asset serving
2021-10-17 21:50:15 +11:00
Lea Anthony
a1323ce5e9
[mac] experimental
2021-10-13 22:01:35 +11:00
Lea Anthony
e0e4c0ae11
[v2] Add "AlwaysOnTop" option
2021-10-13 08:02:35 +11:00
Lea Anthony
be87d73da8
[v2] go fmt + windowIsTranslucent
2021-09-15 20:30:14 +10:00
Lea Anthony
3c0da9fd15
[windows] support runtime.WindowSetRGBA
2021-09-12 16:32:43 +10:00
Lea Anthony
dacea399ab
[v2] Refactor assets type
2021-09-07 07:06:58 +10:00
Lea Anthony
2c2ce66ec4
[windows] Fix bug with windows options
2021-09-05 22:40:34 +10:00
Lea Anthony
505bb51a27
[v2] Tidy up.
2021-09-05 16:21:24 +10:00
Lea Anthony
58dc917fb7
[windows-x] Startup/Shutdown -> OnStartup/OnShutdown
2021-08-26 20:38:03 +10:00
Lea Anthony
c3c88f5e27
[windows-x] Huge updates to devmode, runtime, build command.
2021-08-22 23:05:22 +10:00
Lea Anthony
83baf4c6bb
[windows-x] Support debug flag, prevent devtools, zoom and context menus in prod builds
2021-08-17 20:38:14 +10:00
Lea Anthony
244b3dc2b4
[windows-x] Support embed.fs assets, log runtime
2021-08-01 22:14:56 +10:00
Lea Anthony
b80a64b0ee
[v2] [broken - WIP] Major refactor of runtime in progress
2021-07-18 20:00:01 +10:00
Lea Anthony
4c2804eac9
[v2] Create default windows app menu
2021-07-04 13:59:21 +10:00
Lea Anthony
102a8cc5a6
[windows] Support Dialog API
2021-06-19 16:29:49 +10:00
Lea Anthony
58e6ce10ad
[windows] Support disabling window icon
2021-06-14 12:00:47 +10:00
Lea Anthony
62fc489001
[windows] Remove default app title
2021-06-14 11:04:24 +10:00
Alexander Hudek
8399cc1e57
Fix width and height being set to zero when no max width and max height is set. ( #709 )
2021-05-13 18:49:53 +10:00
Lea Anthony
6b919808c9
[windows] Added options, WindowBackgroundIsTranslucent
2021-05-02 12:04:29 +10:00
Lea Anthony
7f54f7bb7e
fix frameless option
2021-04-28 15:44:55 +10:00
Lea Anthony
ee05884c9c
[windows] ON_MAIN_THEAD macro. Misc updates
2021-04-27 21:09:04 +10:00
Lea Anthony
385988989b
fix: min/max constraint logic
2021-04-27 19:32:25 +10:00
Lea Anthony
dea6d261ad
Ensure min/max window sizes are valid
2021-04-25 14:52:42 +10:00
Lea Anthony
b4c669ff86
Support custom protocols
2021-02-28 22:08:23 +11:00