Lea Anthony
1048782eb4
Initial commit ( #1241 )
2022-03-10 21:20:41 +11:00
Lea Anthony
31b609dff0
Print friendlier file path when file does not exist
2022-03-05 13:33:24 +11:00
stffabi
fbf75b1d14
[v2, windows] Move assets from file://wails to https://wails.localhost ( #1211 )
...
This should allow web workers to be used
2022-03-05 13:32:28 +11:00
stffabi
c63b1f1981
[v2] Consolidate processRequest, improve logging and error handling ( #1158 )
2022-02-28 19:14:03 +11:00
Lea Anthony
93491eb2eb
Feature/align api ( #1161 )
...
* Fix WindowSetRGBA API
* Change WindowUnFullscreen -> WindowUnfullscreen for consistency
RGBA bugfix
2022-02-19 20:29:55 +11:00
Lea Anthony
f059c35d9e
Feature: WindowToggleMaximise ( #1159 )
...
* [windows] Add WindowToggleMaximise
* Add mac support
* Update docs
* [linux] Toggle Maximise
2022-02-18 20:28:16 +11:00
Lea Anthony
876b845762
[Windows] Restore min/max after fullscreen
2022-02-10 19:55:04 +11:00
stffabi
7bc51725c0
[v2, windows] Apply suggested window size during DPI changed event ( #1131 )
...
* [v2, windows] Apply suggested window size during DPI changed event
This adjusts the window size if the window is moved from one
monitor to another with a different DPI scaling
* [v2, windows] Do not block processing of messages during frameless drag/resize
* [v2, windows] Bump winc
Improves the HiDPI handling by using newer APIs if available
* [v2, windows] Constrain frameless maximize to MaxWidth/MaxHeight
2022-02-08 07:56:01 +11:00
Lea Anthony
0c6864c7ed
[windows] Fix pos/getpos calls
2022-02-04 07:45:44 +11:00
Lea Anthony
0971857e7e
Fix position runtime ( #1123 )
...
* [linux] Move SetTitle and startDrag to main thread
* [linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
* Fix runtime Window Get/Set Position signatures
* Fix vanilla template keyboard handling
2022-02-03 21:42:14 +11:00
Lea Anthony
6a5937bd90
[windows] Do not allow maximise via runtime if disableResize is true
2022-02-03 07:31:05 +11:00
MikeSchaap
965187a8bb
Updated windows window/frontend to fix issue with html select positioning ( #1082 )
...
* Updated windows window/frontend to fix issue with html select positioning
* Moved notifyParentWindowPositionChanged to the Window struct and moved RegMsgHandler to Run
* Update v2/internal/frontend/desktop/windows/window.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* Moved winc.RegMsgHandler back to old location
* fixed error with merge
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-01-26 18:48:39 +11:00
stffabi
b1c2065dfb
[v2, windows] Add WebviewUserDataPath to windows options
2022-01-25 21:42:01 +01:00
Lea Anthony
8b7d4393dc
Revert "WIP"
...
This reverts commit b07fd608b3
.
2022-01-12 20:34:37 +11:00
Lea Anthony
b07fd608b3
WIP
2022-01-12 20:29:20 +11:00
redraskal
b32c5b7ba2
fix: [v2] win runtime.WindowMinimise()
2022-01-10 23:00:31 -06:00
redraskal
0593c29784
fix: [v2] win runtime.WindowMaximise()
2022-01-10 22:59:40 -06:00
ironpark
fda3323386
basic implement
2021-12-04 04:55:36 +09:00
stffabi
d827aafe89
[v2] Improve processRequest: Handle errors and behave more like a webserver
...
This also fixes that requests remain in "pending" state on
darwin if e.g. a file is not found or an error occurs during
loading of the file.
2021-12-03 16:41:51 +01:00
Lea Anthony
97be694d2a
Merge pull request #996 from stffabi/feature/improved-translate-uri
...
[v2] Improve translation of URI to file to be loaded
2021-12-02 05:38:04 -08:00
stffabi
8107a8bd1e
[v2] Improve translation of URI to file to be loaded
2021-12-02 11:53:32 +01:00
stffabi
0295f8dee2
[v2] Fix memory leak in processRequest for windows and darwin
2021-12-02 11:04:24 +01:00
stffabi
a353a653d1
[windows] Replace dispatch with invoke
2021-12-01 13:24:54 +01:00
stffabi
155f1fde49
[v2] Do not block during processing of messages
...
On windows blocking here results in a blocked main thread
and a blocked webview.
2021-12-01 13:24:19 +01:00
stffabi
2e15f22621
[v2] Windows do not apply WindowStartState on reloads
2021-11-29 15:14:03 +01:00
Lea Anthony
9525667ebd
[windows] Add Frameless resize
2021-11-22 06:47:09 +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
0c2963cf53
[windows] Add webview2 permissions
2021-10-23 07:17:58 +11:00
Lea Anthony
b61fd16936
[windows] Disable swipe navigation
2021-10-23 05:50:39 +11:00
Lea Anthony
5e36f4fc7f
[v2] Remove chromium message on shutdown
2021-10-12 08:58:33 +11:00
Lea Anthony
a16e41f813
[v2] Tidy up frontend
2021-10-07 21:04:33 +11:00
unknown
be5f7ceb0e
uncomment PostMessage
2021-10-07 17:34:06 +08:00
unknown
a148c67df0
don't hook any AcceleratorKey in callback
2021-10-07 14:35:14 +08:00
unknown
69297667c1
PutAreBrowserAcceleratorKeysEnabled => false
2021-10-07 14:28:52 +08:00
unknown
9949420639
add template.JSEscapeString to ensure ExecJs normal execution
2021-10-05 09:45:36 +08:00
Lea Anthony
1b28f69236
[v2] Fix -devserverurl flag
2021-10-03 16:44:37 +11:00
Lea Anthony
7572b64bec
[v2] Add -devserverurl flag
2021-10-03 15:07:10 +11:00
Lea Anthony
fe6dd4d18f
[windows] fix fullscreen at startup
2021-09-22 19:28:07 +10:00
Lea Anthony
9f235bf78d
[windows] Fix fullscreen + drag
2021-09-21 17:35:38 +10:00
Lea Anthony
3ac4982fc5
[mac] Make it compile
2021-09-19 17:32:57 +10:00
Lea Anthony
9f89a4a58a
Merge branch 'v2-alpha' into v2-alpha
2021-09-15 23:33:33 +10:00
Lea Anthony
7748cc2497
[windows] Support ctrl-a
2021-09-15 23:19:48 +10:00
佰阅部落
60f9a02143
Add commonly used shortcut keys
...
add ctral+A,arrowUp,left,down,right and del
2021-09-15 20:59:06 +08:00
Lea Anthony
899e522c74
[windows] Webview to handle ctrl-x/c/z/v. Foreward other accelerators to Window.
2021-09-15 20:30:14 +10:00
Lea Anthony
be87d73da8
[v2] go fmt + windowIsTranslucent
2021-09-15 20:30:14 +10:00
misitebao
954470250e
feat: added a method to open the link in runtime(wailsapp#796)
2021-09-13 17:58:36 +08:00
Lea Anthony
3c0da9fd15
[windows] support runtime.WindowSetRGBA
2021-09-12 16:32:43 +10:00
Lea Anthony
78c43d23b6
[windows] Allow fullscreen with maxsize constraints
2021-09-09 20:45:41 +10:00
Lea Anthony
322f6b9b64
[windows] Disable Status Bar
2021-09-09 20:26:04 +10:00
Lea Anthony
dacea399ab
[v2] Refactor assets type
2021-09-07 07:06:58 +10:00