5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 05:01:49 +08:00
Commit Graph

208 Commits

Author SHA1 Message Date
Lea Anthony
3edbda313e
[mac] add SetRGBA and basic hooks for asset serving 2021-10-17 21:50:15 +11:00
Lea Anthony
04cde94c96
[windows] add build tags to browser runtime 2021-10-17 21:50:15 +11:00
Lea Anthony
450eb2e7ae
[mac] message passing, quit 2021-10-14 20:34:47 +11:00
Lea Anthony
a1323ce5e9
[mac] experimental 2021-10-13 22:01:35 +11:00
Lea Anthony
49629f6dc6
[mac] Fix build tags 2021-10-13 21:16:07 +11:00
Lea Anthony
a51d8bb47d [v2] Move "AlwaysOnTop" option 2021-10-13 08:05:31 +11:00
Lea Anthony
e0e4c0ae11 [v2] Add "AlwaysOnTop" option 2021-10-13 08:02:35 +11:00
Lea Anthony
26d248a4b6 [v2] Add flag to disable scrollbar drag 2021-10-12 20:45:53 +11:00
Lea Anthony
5e36f4fc7f [v2] Remove chromium message on shutdown 2021-10-12 08:58:33 +11:00
unknown
995fe38ee4 add locker for websocket.WriteMessage 2021-10-11 21:10:55 +08:00
unknown
356774e3f7 use backtick with return 2021-10-11 19:41:45 +08:00
unknown
5d8653be83 add \r\n for awaitIPC callback 2021-10-11 16:41:11 +08:00
Lea Anthony
8f31183fa8 [v2] Fix client timeouts 2021-10-11 19:23:31 +11:00
Lea Anthony
7caf6af91d [v2] Fix websocket ipc timing bug. Use proper HTML parsing for injection. 2021-10-10 15:43:01 +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
Lea Anthony
ef362a746a
Merge pull request #849 from marktohark/filter-execjs-json
add template.JSEscapeString to ensure ExecJs normal execution
2021-10-06 20:13:19 +11:00
Lea Anthony
75f703465a [v2] Generate module command. Updated wails dev 2021-10-05 22:27:12 +11:00
unknown
9949420639 add template.JSEscapeString to ensure ExecJs normal execution 2021-10-05 09:45:36 +08:00
Lea Anthony
9e347bf71f [v2] Generate ipcdev.js and runtimedev.js 2021-10-04 19:58:46 +11:00
Lea Anthony
829fd8616b [v2] Make ipc.js cross-platform 2021-10-04 19:42:22 +11:00
Lea Anthony
ae980d48fd [v2] Fix connection delay for websockets 2021-10-04 17:10:46 +11:00
Lea Anthony
b15d98b555 [v2] Rename noautoinjectbindings -> noautoinjectipc 2021-10-04 16:53:27 +11: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
afb1d12c3b [v2] Add meta tag to control script injection behaviour 2021-10-02 14:04:59 +10:00
Lea Anthony
a641deb388 [v2] Devserver listen to localhost 2021-09-30 08:00:50 +10:00
Lea Anthony
9930ee10da Revert "Corrected obsolete 'text/javascript' mime to 'application/javascript'"
This reverts commit 23c1ebfac9.
2021-09-30 07:07:13 +10:00
Cody Bentley
23c1ebfac9 Corrected obsolete 'text/javascript' mime to 'application/javascript' 2021-09-29 01:06:28 -06:00
Cody Bentley
3de31613a1 Added JS case to mimecache 2021-09-29 00:50:49 -06:00
Lea Anthony
4a740e6186 [v2] Fix: Remove random C imports 2021-09-28 20:00:42 +10:00
Lea Anthony
b13d8ef9fa [mac] Guard browser.go 2021-09-28 19:44:12 +10:00
Lea Anthony
b5bc0ba181 [v2] Tidy up console output 2021-09-25 14:44:23 +10: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
5dfbd5f71b [windows] Fix frameless 2021-09-21 07:58:27 +10:00
Lea Anthony
3ac4982fc5
[mac] Make it compile 2021-09-19 17:32:57 +10:00
Lea Anthony
eac8f23341
[mac] Port IPC 2021-09-19 17:25:23 +10:00
Lea Anthony
badacdd45b
[mac] Get wails CLI to compile 2021-09-19 17:25:23 +10:00
Lea Anthony
817952f3d0 [windows] Misc updates for feature parity 2021-09-19 17:14:06 +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
leaanthony
3c25a73ae8 The runtime was rebuilt 2021-09-14 10:24:40 +00:00
Lea Anthony
344103739f [v2] Fix JS builds 2021-09-14 20:24:14 +10:00
Lea Anthony
c2b8247fbb [v2] Fix type on runtime 2021-09-14 06:48:19 +10:00
leaanthony
03cdfad418 The runtime was rebuilt 2021-09-13 20:24:44 +00:00
misitebao
a6b95b23c9 fix: fix js runtime related issues 2021-09-13 21:56:09 +08:00
misitebao
2616d87922 fix: fix the BrowserOpenURL method signature in the ts declaration file 2021-09-13 21:54:18 +08:00
leaanthony
f983649bc6 The runtime was rebuilt 2021-09-13 10:49:07 +00:00
Lea Anthony
15ed02b78c [v2] More updates 2021-09-13 20:48:41 +10:00
Lea Anthony
2cb93b4b4b [v2] Tidy up typescript declaration 2021-09-13 20:45:36 +10:00
Lea Anthony
ccdfa9a8be [v2] Update runtime 2021-09-13 20:35:52 +10:00
Lea Anthony
e7d4ec5836
Merge branch 'v2-alpha' into 796-support-browseropenurl 2021-09-13 20:21:59 +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
5ab5246aa0 [v2] Update Workflows + runtime 2021-09-13 19:35:14 +10:00
Lea Anthony
abbbdda102 [v2] Update Workflows + runtime 2021-09-13 18:58:09 +10:00
Lea Anthony
d6cdd1df82 [v2] Update Menu runtime 2021-09-12 20:45:40 +10: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
cae9827841 [v2] Support Window runtime in JS 2021-09-09 20:10:18 +10:00
Lea Anthony
4468edc939 [windows] Disable icon fix pt 2 - The revenge of 2021-09-08 21:27:49 +10:00
Lea Anthony
b54a94135d [v2] CSS mimetype fix 2021-09-08 19:48:49 +10:00
Lea Anthony
d9aa125a15 [v2] Refactor devserver -> devwebserver 2021-09-07 18:37:47 +10:00
Lea Anthony
dacea399ab [v2] Refactor assets type 2021-09-07 07:06:58 +10:00
Lea Anthony
d54834d501 [v2] Localise deps temporarily 2021-09-06 21:40:11 +10:00
Lea Anthony
227c316cb0 [v2] Extract asset path calculation 2021-09-05 22:40:52 +10:00
Lea Anthony
2c2ce66ec4 [windows] Fix bug with windows options 2021-09-05 22:40:34 +10:00
Lea Anthony
9a99b47f07 [v2] Add title to OpenFileDialog 2021-09-05 18:40:07 +10:00
Lea Anthony
6551e1b499 [v2] latest runtime build 2021-09-03 19:00:07 +10:00
Lea Anthony
0b71d64931 [v2] window.backend -> window.go 2021-09-01 20:52:34 +10:00
Lea Anthony
e718fb8333 [windows-x] Add LogTrace 2021-08-29 14:36:31 +10:00
Lea Anthony
63117fd519 [windows-x] Only delete wailsbindings in production build 2021-08-28 14:51:12 +10:00
Lea Anthony
a7c5064a33 [windows-x] Generate runtime wrapper in project, initial model binding, better error handling in calls, assetdir fix, 2021-08-27 21:11:03 +10:00
Lea Anthony
a7c04ac891 [windows-x] updated desktop.js 2021-08-26 23:24:57 +10:00
Lea Anthony
a861aa36b9 [windows-x] Fix accelerator key handling 2021-08-26 21:33:16 +10:00
Lea Anthony
af593ef47a [windows-x] Only show window after NavigationCompleted 2021-08-26 21:26:32 +10:00
Lea Anthony
b98ab1f5b5 [windows-x] Production build compile fix 2021-08-26 21:25:44 +10:00
Lea Anthony
5ff3a286cf [windows-x] Support OnDomReady, fix build 2021-08-26 21:06:54 +10:00
Lea Anthony
58dc917fb7 [windows-x] Startup/Shutdown -> OnStartup/OnShutdown 2021-08-26 20:38:03 +10:00
Lea Anthony
e00d65d468 [windows-x] Update events system to accommodate dev build 2021-08-25 20:54:05 +10:00
Lea Anthony
b558246d52 [windows-x] Dev mode. Auto rebuild/reload. Auto open browser. Disconnect spinner. Base template update. mimecache 2021-08-24 23:48: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
31468aa177 [windows-x] Initial support for dev 2021-08-18 22:13:45 +10:00
Lea Anthony
6923ea301b [windows-x] Refactor runtime & asset server 2021-08-18 22:12:00 +10:00
Lea Anthony
32591465f3 [windows-x] Fix runtime timeout 2021-08-18 19:29:08 +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
09bae529de [windows-x] Fix icon bug 2021-08-15 21:27:49 +10:00
Lea Anthony
38c507a605 [windows-x] Add skip frontend build option 2021-08-15 21:27:33 +10:00
Lea Anthony
de255729e6 [windows-x] Support window drag 2021-08-15 20:17:58 +10:00
Lea Anthony
3ac1dcc8d9 [windows-x] Use winres for processing manifest + icon 2021-08-15 20:16:14 +10:00
Lea Anthony
8e84bdfa8d [windows-x] Support calling bound methods 2021-08-13 23:44:24 +10:00
Lea Anthony
316e4de8e2 [windows-x] Support events 2021-08-11 21:26:41 +10:00
Lea Anthony
d83fd1c2b4 [windows] [WIP] Support embedded asset.FS, updated runtime 2021-08-10 06:35:12 +10:00
Lea Anthony
619d8cc05e [windows-x] Support events runtime js->go, Refactor events methods, Refactor JS runtime. 2021-08-01 22:14:56 +10:00
Lea Anthony
244b3dc2b4 [windows-x] Support embed.fs assets, log runtime 2021-08-01 22:14:56 +10:00
Lea Anthony
5ba85f2817 [windows-x] Fix icon 2021-08-01 22:14:56 +10:00
Lea Anthony
5b10ee4b40 [windows-x] Runtime ported. Menu shortcuts. 2021-07-25 20:21:21 +10:00
Lea Anthony
aee395020f [windows-x] Support multiple radiogroups 2021-07-25 14:43:03 +10:00
Lea Anthony
f377c94ba3 [windows-x] Support Application Menu, menu items, callbacks, checkboxes 2021-07-24 18:37:20 +10:00
Lea Anthony
e11dc0e080 [windows] Support all window runtime methods 2021-07-24 10:34:43 +10:00
Lea Anthony
0ea135a546 [windows] Support more runtime methods,
WindowCenter, WindowMaximise,WindowUnmaximise,WindowMinimise,WindowUnminimise, WindowSetPos,WindowSetSize
Settings: DisableWindowIcon, StartHidden, HideWindowOnClose
2021-07-24 06:55:47 +10:00
Lea Anthony
ccda8c5760 [window] frontend experiment 2021-07-22 19:49:54 +10:00