5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 18:21:45 +08:00
Commit Graph

132 Commits

Author SHA1 Message Date
Lea Anthony
1344638c52
Add OS detection 2021-04-12 06:25:15 +10:00
Lea Anthony
c36f9501a9
Dialog warning on JS Error. Remove shutdown hack. Optional dialog callback. 2021-04-06 20:18:29 +10:00
Lea Anthony
54c99fc386
Move some methods to main thread 2021-03-29 20:45:50 +11:00
Lea Anthony
91c2ddf155
Allow styling of menu items that have submenus 2021-03-26 20:54:19 +11:00
Lea Anthony
939e0f5975
Use default broken image for invalid images 2021-03-26 17:51:49 +11:00
Lea Anthony
5d7f57e80b Initial ARM support! 2021-03-25 21:12:29 +11:00
Lea Anthony
7c0b236eb0
Fix for hiding window on close 2021-03-19 09:14:49 +11:00
Lea Anthony
6f40e85a6e
Support startup urls when app not running 2021-03-15 06:13:00 +11:00
Mat Ryer
66ce84973c fixes for machines running TouchBar addresses https://github.com/matryer/xbar/issues/610 2021-03-09 11:24:46 +00:00
Lea Anthony
18adac20d4
Tray menu open/close events 2021-03-06 00:25:34 +11:00
Lea Anthony
b4c669ff86
Support custom protocols 2021-02-28 22:08:23 +11:00
Lea Anthony
bffc15bc14
fix: terminate app on window close 2021-02-27 14:49:44 +11:00
Lea Anthony
53db687a26
Support DeleteTrayMenuByID 2021-02-24 21:49:55 +11:00
Lea Anthony
9889c2bdbb
Support Activation Policy 2021-02-23 08:52:56 +11:00
Lea Anthony
1231b59443
better signal handling for shutdown 2021-02-22 17:39:33 +11:00
Lea Anthony
5fe709f558
Trigger clean shutdown on Quit 2021-02-21 20:37:42 +11:00
Lea Anthony
21a0245985
Generate bindings in package. Support dialogs in dev mode. 2021-02-09 21:10:06 +11:00
Lea Anthony
c3bd8b1a85
Remove debug info 2021-02-03 07:15:52 +11:00
Lea Anthony
e1b7332c47
Graceful shutdown 2021-02-03 07:14:44 +11:00
Lea Anthony
5aeb68acb7
Fix for calculating new window size 2021-01-28 19:26:26 +11:00
Lea Anthony
b81101414f
Support Min/Max Size in Window runtime 2021-01-28 18:48:07 +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
b5c7019bf0
Fix compile warnings 2021-01-26 06:37:33 +11:00
Lea Anthony
6120ceabf1
Support Fonts & Colours for menuitems 2021-01-25 21:04:57 +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
e65118e962
Fixed and refactored context menu support 2021-01-13 22:51:44 +11:00
Lea Anthony
583153383a
Refactor, tidy up and trim the fat! 2021-01-13 20:19:01 +11:00
Lea Anthony
3f53e8fd5f
Refactor, tidy up and trim the fat! 2021-01-13 11:47:54 +11:00
Lea Anthony
5c9402323a
Initial support for multiple traymenus 2021-01-13 10:28:32 +11:00
Lea Anthony
1a7507f524
[WIP] Add tray menu store + refactor 2021-01-12 16:55:30 +11:00
Lea Anthony
8053357d99
Support Menu updates! 2021-01-11 11:21:28 +11:00
Lea Anthony
faa8f02b08
Bugfix for message dialog icons 2021-01-08 11:39:02 +11:00
Lea Anthony
fbee9ba240
Support UpdateContextMenus. Submenus are now *menu.Menu. Tidy up++ 2021-01-08 06:28:51 +11:00
Lea Anthony
2a69786d7e
Remove old code (woohoo!) 2021-01-07 21:36:39 +11:00
Lea Anthony
f460bf91ef
[WIP] Normalisation of context menus creation/callbacks.
TODO: UpdateContextMenu()
2021-01-07 21:34:04 +11:00
Lea Anthony
bd74d45a91
Normalisation of callbacks for menus. App menu converted to new Menus. 2021-01-06 20:50:41 +11:00
Lea Anthony
c65522f0b6
Huge refactor of menus. Start of normalisation of callbacks. 2021-01-06 17:36:59 +11:00
Lea Anthony
5f2c437136
Bugfix dealloc contextmenus. Create common.h. WIP: new menu handling 2021-01-06 12:53:11 +11:00
Lea Anthony
87e974e080
Refactor/Tidy up Ffenestri darwin 2021-01-06 11:56:01 +11:00
Lea Anthony
d2020fedda
Move generated assets to build dir. Precompile platform runtime. 2021-01-05 13:01:03 +11:00
Lea Anthony
75e852451c
Fix context menu bug 2021-01-03 09:56:45 +11:00
Lea Anthony
5ca57e446a
Extra guards during destroy 2021-01-01 12:37:16 +11:00
Lea Anthony
2a93e2694d
Retina & theme aware dialog icons. Default icons + override ability 2020-12-30 22:36:23 +11:00
Lea Anthony
91fb3501c5
Support custom dialog icons. Move icons to new dir. 2020-12-30 08:27:00 +11:00
Lea Anthony
e18ba0eb81
Handle no tray icons 2020-12-28 14:49:15 +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
a0774cf71c
Support loading multiple tray icons 2020-12-23 06:55:45 +11:00