5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 22:19:46 +08:00
Commit Graph

404 Commits

Author SHA1 Message Date
Lea Anthony
bbf4dde43f
Support upserting environment variables 2021-03-12 23:41:13 +11:00
Lea Anthony
0afd27ab45
Add FileLogger option 2021-03-12 23:40:35 +11:00
Lea Anthony
81e83fdf18
Ensure modifiers are lowercase when parsing 2021-03-07 16:21:30 +11:00
Lea Anthony
18adac20d4
Tray menu open/close events 2021-03-06 00:25:34 +11:00
Lea Anthony
e124f0a220
Support Alternative menu items 2021-03-04 06:07:45 +11:00
Lea Anthony
b4c669ff86
Support custom protocols 2021-02-28 22:08:23 +11:00
Lea Anthony
2d1b2c0947
Guard app signing 2021-02-28 15:29:15 +11:00
Lea Anthony
f48d7f8f60
Add support for -sign 2021-02-27 20:32:29 +11:00
Lea Anthony
bb8e848ef6
Run go mod tidy before compilation 2021-02-27 14:03:54 +11:00
Lea Anthony
552c6b8711
fix: modifiers 2021-02-23 18:57:59 +11:00
Lea Anthony
9889c2bdbb
Support Activation Policy 2021-02-23 08:52:56 +11:00
Lea Anthony
d4191e7d1b
Support parsing keyboard shortcuts 2021-02-20 21:32:32 +11:00
Lea Anthony
4362a14459
Dev colours 2021-02-20 15:25:40 +11:00
Lea Anthony
d8ad250608
Template Image support 2021-02-19 05:25:23 +11:00
Lea Anthony
e4b03f510b
First step to bridge support 2021-02-06 21:50:21 +11:00
Lea Anthony
e1b7332c47
Graceful shutdown 2021-02-03 07:14:44 +11:00
Lea Anthony
fe87463b78
Move Bind() into app config 2021-01-26 07:04:12 +11:00
Lea Anthony
064ff3b65e
Change build wording 2021-01-26 06:38:54 +11:00
Lea Anthony
f40899821f
Support ToolTips 2021-01-23 16:14:48 +11:00
Lea Anthony
47bca0be88
Support updating tray labels in an efficient manner 2021-01-16 11:35:49 +11:00
Lea Anthony
7ac8cc6b8b
Add Menu.Merge() to combine 2 menus 2021-01-15 11:53:55 +11:00
Lea Anthony
742e4ba2cb
Remove WailsInit and WailsShutdown methodsr 2021-01-14 11:07:06 +11:00
Lea Anthony
15a273458e
Ensure build directory exists when building 2021-01-13 23:46:47 +11:00
Lea Anthony
e65118e962
Fixed and refactored context menu support 2021-01-13 22:51:44 +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
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
b4b7c9d306
Implemented MenuItem.Remove() to remove from the menu structures 2021-01-11 11:57:49 +11:00
Lea Anthony
8053357d99
Support Menu updates! 2021-01-11 11:21:28 +11:00
Lea Anthony
8ee8c9b07c
[WIP] New menu processor 2021-01-10 21:31:13 +11:00
Lea Anthony
3a2d01813a
Don't inline functions in debug builds 2021-01-10 20:32:25 +11:00
Lea Anthony
fbee9ba240
Support UpdateContextMenus. Submenus are now *menu.Menu. Tidy up++ 2021-01-08 06:28:51 +11:00
Lea Anthony
2a8ce96830
Remove custom asset bundling. Use Go's embed instead! 2021-01-05 14:28:18 +11:00
Lea Anthony
9be539cfb8
Force rebuild each time to pick up .h changes Tidy up go.mod. Bump version. 2021-01-05 14:01:53 +11:00
Lea Anthony
d2020fedda
Move generated assets to build dir. Precompile platform runtime. 2021-01-05 13:01:03 +11:00
Lea Anthony
a55fc4d0e9
Refactor TrayOptions to Tray. Add ID. 2021-01-04 15:58:28 +11:00
Lea Anthony
5d41aad539
Misc lint fixes 2021-01-03 21:31:19 +11:00
Lea Anthony
f384fc7562
Add -k flag for debug purposes 2021-01-03 05:02:48 +11:00
Lea Anthony
44c55d06a6
Create dialog dir if missing 2021-01-02 13:37:58 +11:00
Lea Anthony
a54d875ceb
Fix misc build issues 2021-01-01 13:00:38 +11:00
Lea Anthony
657df8bdda
Use assets dir in project for all application assets 2021-01-01 12:53:06 +11:00
Lea Anthony
c0fabc0bb7
Default dialog icon generation improvement 2021-01-01 12:43:21 +11:00
Lea Anthony
4fd476bb7d
Default readme for assets directory 2021-01-01 12:42:52 +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
25f464c177
Refactor accelerator to keys package 2020-12-26 14:58:22 +11:00
Lea Anthony
3b0f852f37
Updated accelerators API 2020-12-26 06:11:22 +11:00
Lea Anthony
a85c8ba894
Remove "WithAccellerator" methods. Now mandatory in base methods 2020-12-26 06:01:10 +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
a0774cf71c
Support loading multiple tray icons 2020-12-23 06:55:45 +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
34ac62e4ac
Updated tray icon 2020-12-16 08:59:01 +11:00
Lea Anthony
dd35f0119b
Better error handling 2020-12-11 05:41: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
6fa2ebdd4f
Lint fix & tidy up 2020-12-06 21:15:23 +11:00
Lea Anthony
11bf564b73
Preliminary Tray support 2020-12-06 21:05:21 +11:00
Lea Anthony
d3d965ee1f
more logger fixes 2020-12-06 07:14:19 +11:00
Lea Anthony
2a55983bc9
Fix logger 2020-12-05 14:44:28 +11:00
Lea Anthony
7e42052da0
InsertBefore/InsertAfter supported 2020-12-05 14:14:46 +11:00
Lea Anthony
e8bb950e06
Updates for dynamic menus
Cleanup of logging
2020-12-05 07:52:59 +11:00
Lea Anthony
a081c1e498
Support for dynamic menus.
Fixed bug in accelerator handling
2020-12-04 15:04:51 +11:00
Lea Anthony
5c39467879
Support more accelerator keys 2020-11-29 14:18:53 +11:00
Lea Anthony
fb1d4c6325
Support for Accelerators! 2020-11-28 20:57:07 +11:00
Lea Anthony
a0fe2f1e13
UTF-8 test 2020-11-27 22:22:30 +11:00
Lea Anthony
dbe6000632
Support for radio menu items 2020-11-27 22:07:44 +11:00
Lea Anthony
4fd3516f41
Support Hidden/Disabled. Normal->Text 2020-11-24 20:12:10 +11:00
Lea Anthony
6f218264ed
Initial support for menus 2020-11-24 19:43:25 +11:00
Lea Anthony
bc260b08b2
Better devtools handling 2020-11-21 12:40:19 +11:00
Lea Anthony
aa271d6498
Support git init. Get author details. 2020-11-21 11:43:13 +11:00
Lea Anthony
9e6ae4d762
Support building Mac package 2020-11-21 07:09:25 +11:00
Lea Anthony
eaeecbb180
Support Dialog in runtime 2020-11-19 07:04:08 +11:00
Lea Anthony
716888dcb2
Disable module generation 2020-11-17 21:46:20 +11:00
Lea Anthony
56553bb683
Remove logger from json encoded app config 2020-11-17 06:56:51 +11:00
Lea Anthony
62374b9b53
Js package generation (#554)
* WIP

* Generation of index.js

* Add RelativeToCwd

* Add JSDoc comments

* Convert to ES6 syntax

* Fix typo

* Initial generation of typescript declarations

* Typescript improvements

* Improved @returns jsdoc

* Improved declaration files

* Simplified output

* Rename file

* Tidy up

* Revert "Simplified output"

This reverts commit 15cdf7382b.

* Now parsing actual code

* Support Array types

* Reimagined parser

* Wrap parsing in Parser

* Rewritten module generator (TS Only)

* Final touches

* Slight refactor to improve output

* Struct comments. External struct literal binding

* Reworked project parser *working*

* remove debug info

* Refactor of parser

* remove the spew

* Better Ts support

* Better project generation logic

* Support local functions in bind()

* JS Object generation. Linting.

* Support json tags in module generation

* Updated mod files

* Support vscode file generation

* Better global.d.ts

* add ts-check to templates

* Support TS declaration files

* improved 'generate' command for module
2020-11-15 09:25:38 +11:00
Lea Anthony
c9bf4e3d48
refactor clilogger 2020-10-17 13:47:13 +11:00
Lea Anthony
3b6a3df03d
Update logger constants to fix default values 2020-10-13 07:34:36 +11:00
Lea Anthony
d8bb418851
Runtime refactor 2020-10-11 13:33:55 +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
67861e4f70
Updated Logger interface 2020-10-09 15:39:11 +11:00
Lea Anthony
90b7d5f519
Support log level 2020-10-09 14:36:42 +11:00
Lea Anthony
ffdfbb8ae5
Major logging refactor 2020-10-09 11:50:45 +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
26a1f78d56
Support Translucent Window Background 2020-10-02 07:45:22 +10:00
Lea Anthony
c1155e255b
Add default appearance 2020-09-30 20:03:08 +10:00
Lea Anthony
4e39566118
Rename vibrancy to appearance 2020-09-30 19:54:41 +10:00
Lea Anthony
3f3094f0aa
Support vibrancy and transparency for webview
Options Colour -> RGBA
2020-09-30 07:25:15 +10:00
Lea Anthony
84730d2f4d
Tidy up 2020-09-29 20:36:38 +10:00
Lea Anthony
d7f832c00e
Support SaveDialog 2020-09-28 21:13:57 +10:00
Lea Anthony
8cd39f6a9a
Support default directory 2020-09-27 20:40:36 +10:00
Lea Anthony
48c17dac87
Support all dialog properties 2020-09-27 15:05:55 +10:00
Lea Anthony
8666935caf
Support multiple files in dialog 2020-09-27 14:49:38 +10:00
Lea Anthony
cd99376da9
Use options struct for dialogs 2020-09-27 10:17:30 +10:00
Lea Anthony
a5e909337e
Support TitleBar Default
Fixed merging defaults
2020-09-24 06:39:08 +10:00
Lea Anthony
0c120eccc9
Support HiddenInset Titlebar 2020-09-24 06:22:49 +10:00
Lea Anthony
e6addafcdd
Support hidden titlebar 2020-09-24 06:19:00 +10:00
Lea Anthony
ef11f45df8
Refactored mac titlebar options 2020-09-24 05:57:32 +10:00
Lea Anthony
72fc2204b4
Moved options to own package 2020-09-24 05:46:39 +10:00
Lea Anthony
e831bc75c6
Stubs in place to compile 2020-09-15 19:55:51 -05:00
Lea Anthony
852bbd148c
Get it compiling 2020-09-15 19:55:50 -05:00
Travis McLane
c158fd369a Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 2020-09-15 19:52:54 -05:00