5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 13:40:02 +08:00
Commit Graph

171 Commits

Author SHA1 Message Date
Lea Anthony
354429bc28
Support UpdateTrayLabel in dev mode. Small refactor. 2021-02-12 14:52:47 +11:00
Lea Anthony
99d4d9490c
Improved dialog support for dev mode 2021-02-12 14:50:58 +11:00
Lea Anthony
6e3cfc157f
Add bridge.js 2021-02-11 07:09:40 +11:00
Lea Anthony
30d762372f
@wails/runtime v1.3.9 2021-02-11 07:04:01 +11:00
Lea Anthony
2dbaabb74c
Keep package.json files 2021-02-11 07:02:57 +11:00
Lea Anthony
f8bae0430f
Add windowDrag shim for bridge 2021-02-11 06:52:07 +11:00
Lea Anthony
21c07497d7
Move bridge to Svelte build. Initial support for trays in dev mode 2021-02-10 22:53:14 +11:00
Lea Anthony
21a0245985
Generate bindings in package. Support dialogs in dev mode. 2021-02-09 21:10:06 +11:00
Lea Anthony
41f973c7d5
Update runtime package 2021-02-08 06:51:49 +11:00
Lea Anthony
7c22cbcf38
Bridge working for calls. Notify TBD 2021-02-08 06:36:13 +11:00
Lea Anthony
8dfd206aa9
Updates for using the bridge 2021-02-06 13:36:56 +11:00
Lea Anthony
e1b7332c47
Graceful shutdown 2021-02-03 07:14:44 +11:00
Lea Anthony
ceaacc7ba9
Re-added Store.Set() using deep copy 2021-01-30 21:36:59 +11:00
Lea Anthony
0e24f75753
Deep copy initial value in store 2021-01-30 21:29:36 +11:00
Lea Anthony
82b9deeee4
Unexport set 2021-01-30 20:47:10 +11:00
Lea Anthony
cfa40b797f
More race condition fixes 2021-01-29 13:03:05 +11:00
Lea Anthony
b81101414f
Support Min/Max Size in Window runtime 2021-01-28 18:48:07 +11:00
Lea Anthony
7ae89d04bb
Fixed data race in store. Handle nils better 2021-01-28 07:15:29 +11:00
Lea Anthony
56394ac50e
Use mutex when doing a Store resync 2021-01-27 06:03:17 +11:00
Lea Anthony
f7c2f12ab2
Added error handler for dealing with loading user js code 2021-01-26 16:01:06 +11:00
Lea Anthony
95a95d1750
Ensure store does initial resync 2021-01-25 21:02:36 +11:00
Lea Anthony
47bca0be88
Support updating tray labels in an efficient manner 2021-01-16 11:35:49 +11:00
Lea Anthony
688d4fee6a
UpdateTrayMenu -> SetTrayMenu (upsert). Support no menus on trays. 2021-01-14 16:13:59 +11:00
Lea Anthony
29ffeaa9f3
Misc tidy up 2021-01-14 13:55:20 +11:00
Lea Anthony
742e4ba2cb
Remove WailsInit and WailsShutdown methodsr 2021-01-14 11:07:06 +11:00
Lea Anthony
de06fc7dcc
Remove a ton of unused code 2021-01-13 21:29:20 +11:00
Lea Anthony
a86fbbb440
Removal of menu IDs. WARNING: context menus are currently broken 2021-01-13 21:14:44 +11:00
Lea Anthony
583153383a
Refactor, tidy up and trim the fat! 2021-01-13 20:19:01 +11:00
Lea Anthony
1921862b53
Partially introduce context menu changes back 2021-01-12 21:20:08 +11:00
Lea Anthony
db6dde3e50
[WIP] Support tray in menu manager 2021-01-12 15:55:28 +11:00
Lea Anthony
55d7d9693f
Removed Menu GetByID / RemoveByID 2021-01-11 13:41:07 +11:00
Lea Anthony
a4153fae57
Remove Menu.On() 2021-01-11 11:25:48 +11:00
Lea Anthony
8053357d99
Support Menu updates! 2021-01-11 11:21:28 +11:00
Lea Anthony
ad65d55abd
Misc fixes for module build 2021-01-05 13:20:44 +11:00
Lea Anthony
2b5bbfd897
Script to rebuild runtime_*.c 2021-01-05 13:01:38 +11:00
Lea Anthony
a55fc4d0e9
Refactor TrayOptions to Tray. Add ID. 2021-01-04 15:58:28 +11:00
Lea Anthony
33a27b06a6
Add Message dialog to Kitchen Sink 2020-12-31 14:52:45 +11:00
Lea Anthony
6253ac30b7
Support Message dialog in JS runtime 2020-12-31 11:02:32 +11:00
Lea Anthony
2a93e2694d
Retina & theme aware dialog icons. Default icons + override ability 2020-12-30 22:36:23 +11:00
Lea Anthony
6fd13fb4d4
Support Tray.SetIcon in runtime 2020-12-29 15:20:35 +11:00
Lea Anthony
f0c932713b
Support changing tray icon at runtime
Support both icon & text in tray
2020-12-24 10:05:55 +11:00
Lea Anthony
8625e99625
Add OnThemeChange
Refactor Theme change handling
2020-12-24 07:30:20 +11:00
Lea Anthony
16b872352d
Support Text label tray 2020-12-22 18:08:38 +11:00
Lea Anthony
a8995c5377
Support context menu data
Support StartHidden
2020-12-18 15:50:25 +11:00
Lea Anthony
a1f9d9ca06
Handle oncontext event 2020-12-16 08:54:24 +11:00
Lea Anthony
b837b1e131
Tray menu support
Bugfix move after tray use
Refactored options to handle default tray/menu
2020-12-10 07:16:10 +11:00
Lea Anthony
0802d0d57a
Tray menu callbacks working 2020-12-07 07:08:33 +11:00
Lea Anthony
e8bb950e06
Updates for dynamic menus
Cleanup of logging
2020-12-05 07:52:59 +11:00
Lea Anthony
13dc0c78df
Remove browser test 2020-12-04 15:06:01 +11:00
Lea Anthony
a081c1e498
Support for dynamic menus.
Fixed bug in accelerator handling
2020-12-04 15:04:51 +11:00
Lea Anthony
6f218264ed
Initial support for menus 2020-11-24 19:43:25 +11:00
Lea Anthony
40fdf75042
Disable context menu in production mode 2020-11-21 20:32:55 +11:00
Lea Anthony
eaeecbb180
Support Dialog in runtime 2020-11-19 07:04:08 +11:00
Lea Anthony
069de31003
Convert args to [] 2020-11-19 07:03:12 +11:00
Lea Anthony
7c7b6ba082
Runtime updates 2020-11-17 21:19:09 +11:00
Lea Anthony
ee3da60002
Sync new JS syncstores on creation 2020-11-17 06:58:14 +11:00
Lea Anthony
88643134c9
Add AppConfig to runtime.System 2020-11-17 06:57:43 +11:00
Lea Anthony
98cc356b92
Un/Fullscreen, SetTitle in Runtime 2020-11-15 15:09:33 +11:00
Lea Anthony
a737d85fa5
Fixd typos in runtime 2020-11-15 12:22:03 +11:00
Lea Anthony
435ac02647
Update runtime.Window 2020-11-15 12:18:37 +11:00
Lea Anthony
bd8771849b
Support size/position in Go runtime 2020-11-15 12:01:15 +11:00
Lea Anthony
c45315d61d
Add window to runtime 2020-11-15 10:16:56 +11:00
Lea Anthony
ddb875f788
Dialog WIP 2020-10-24 14:06:57 +11:00
Lea Anthony
9a32852119
Add JS runtime Dialog 2020-10-23 23:56:33 +11:00
Lea Anthony
5a85a6e4f9
Expose System methods in Go runtime 2020-10-23 11:24:52 +11:00
Lea Anthony
0113fbff4f
Update runtime.System to make all methods 2020-10-23 11:19:38 +11:00
Lea Anthony
145656bc43
Improved runtime.System 2020-10-23 10:42:00 +11:00
Lea Anthony
e3783c5480
Fix browser runtime export 2020-10-20 09:24:03 +11:00
Lea Anthony
440abbe3b6
JS Runtime v1.0.8 2020-10-20 09:10:54 +11:00
Lea Anthony
95369d7c3d
Unify Browser runtime 2020-10-20 09:10:09 +11:00
Lea Anthony
9e0023961b
Update Browser runtime API 2020-10-20 07:16:56 +11:00
Lea Anthony
fb88eadb58
Tidy up events runtime 2020-10-20 06:45:21 +11:00
Lea Anthony
6fdf088531
Revert Fatal on JS Error 2020-10-20 06:45:02 +11:00
Lea Anthony
1b466090e8
Remove old Event methods 2020-10-18 16:47:48 +11:00
Lea Anthony
c990760f22
Remove old event methods 2020-10-18 16:44:32 +11:00
Lea Anthony
78f99c2697
update runtime definitions 2020-10-18 11:48:56 +11:00
Lea Anthony
288da8c147
Improved error handling? 2020-10-18 11:48:20 +11:00
Lea Anthony
ff5e2862b8
Fix change in logging levels 2020-10-13 07:49:47 +11:00
Lea Anthony
51678afdc7
@wails/runtime v1.0.4 2020-10-13 07:35:36 +11:00
Lea Anthony
3b6a3df03d
Update logger constants to fix default values 2020-10-13 07:34:36 +11:00
Lea Anthony
6150010d17
Runtime defs update.
Slight System refactor
2020-10-12 20:01:37 +11:00
Lea Anthony
d8bb418851
Runtime refactor 2020-10-11 13:33:55 +11:00
Lea Anthony
f1cd84d0c8
Support dynamic loglevel 2020-10-10 15:06:27 +11:00
Lea Anthony
ba6538da7c
Made go runtime package public.
Using loglevel store to keep loglevel in sync
2020-10-10 13:57:32 +11:00
Lea Anthony
afea1cbb4c
Support SetLogLevel() at runtime
Refactor of loglevel
2020-10-10 07:31:23 +11:00
Lea Anthony
228285f693
Support Print logging 2020-10-09 15:13:45 +11:00
Lea Anthony
d97cd1b75f
Runtime v1.0.1 2020-10-09 14:52:07 +11:00
Lea Anthony
5fd8312f63
Support Print in JS runtime 2020-10-09 14:51:26 +11:00
Lea Anthony
93f4549efa
Support trace in go runtime 2020-10-09 14:36:28 +11:00
Lea Anthony
ee01b7759e
Migrate runtime to @wails 2020-10-09 14:35:43 +11:00
Lea Anthony
8dba591cda
Add trace to JS runtime 2020-10-09 14:35:30 +11:00
Lea Anthony
53b54a8e52
Revert logger package 2020-10-09 10:33:11 +11:00
Lea Anthony
0403e0a783
Make logger a public package 2020-10-09 10:30:01 +11:00
Lea Anthony
6eb89f61b3
Add Log to Go runtime 2020-10-08 07:39:01 +11:00
Lea Anthony
e3d2ff9ea1
Remove log package 2020-10-08 07:38:47 +11:00
Lea Anthony
5e0026e124
Update runtime to v1.0.3 2020-10-04 12:07:56 +11:00
Lea Anthony
f23ed3c319
Add Store to go runtime 2020-10-04 12:07:42 +11:00
Lea Anthony
f4943bc26c
Remove generated files 2020-10-04 11:54:05 +11:00
Lea Anthony
1c6578e6ef
Use IsDarkMode state store 2020-10-04 11:50:05 +11:00
Lea Anthony
5ef200f21c
Refactor system. Add IsDarkMode state store 2020-10-04 11:42:42 +11:00