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

75 Commits

Author SHA1 Message Date
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