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

4718 Commits

Author SHA1 Message Date
Lea Anthony
2faf8533e0
Dark theme menus for windows 2025-02-09 21:59:50 +11:00
Lea Anthony
8a3d7eb12a
WIP 2025-02-09 11:43:26 +11:00
Lea Anthony
c94803fedb
Add SetMenu 2025-02-08 21:16:45 +11:00
Lea Anthony
d427e9d750
Add systray.SetTooltip 2025-02-08 14:01:22 +11:00
Lea Anthony
2db902ef82
Add menu option for Linux 2025-02-03 20:33:59 +11:00
Lea Anthony
36a1b71f93
The application menu is now macOS only.
Fixed a `Parameter incorrect` error in Windows.
Updated Window example for mica/acrylic/tabbed windows.
2025-02-03 20:08:31 +11:00
Lea Anthony
0ecfcee3bf
Fix IconPosition in Windows/Linux. Update docs. 2025-02-03 19:24:40 +11:00
Lea Anthony
b21bb16c08
Remove bad docs 2025-02-02 17:59:11 +11:00
Lea Anthony
4caf6d6e50
Add systray Show, Hide and Destroy 2025-02-02 17:54:24 +11:00
Lea Anthony
ee24099be8
Fixed event deadlock for macOS 2025-02-02 14:23:34 +11:00
GitHub Actions
6bbac4ad2a [skip ci] Publish @wailsio/runtime 3.0.0-alpha.55 2025-02-01 23:22:46 +00:00
Lea Anthony
b4c4cd8ae8
Fix mac/js events 2025-02-02 10:22:11 +11:00
Lea Anthony
c1251e9441
Add npm docs to file check paths 2025-02-01 07:51:18 +11:00
Lea Anthony
3eb3af8c8c
Only publish changes to npm 2025-02-01 07:37:34 +11:00
GitHub Actions
9ce782be68 [skip ci] Publish @wailsio/runtime 3.0.0-alpha.49 2025-01-31 20:13:00 +00:00
Lea Anthony
9bf63b1581
update pipeline to skip own commmit 2025-02-01 07:12:22 +11:00
GitHub Actions
c51688499c chore: Publish @wailsio/runtime 3.0.0-alpha.48 2025-01-31 20:07:24 +00:00
GitHub Actions
e3ed07997e chore: Publish @wailsio/runtime 3.0.0-alpha.47 2025-01-31 20:06:44 +00:00
GitHub Actions
c911e792dc chore: Publish @wailsio/runtime 3.0.0-alpha.46 2025-01-31 20:06:16 +00:00
GitHub Actions
95891b8ee1 chore: Publish @wailsio/runtime 3.0.0-alpha.45 2025-01-31 20:05:45 +00:00
GitHub Actions
20720ebdad chore: Publish @wailsio/runtime 3.0.0-alpha.44 2025-01-31 20:05:15 +00:00
GitHub Actions
cda9184d83 chore: Publish @wailsio/runtime 3.0.0-alpha.43 2025-01-31 20:04:41 +00:00
GitHub Actions
5ffdc204f6 chore: Publish @wailsio/runtime 3.0.0-alpha.42 2025-01-31 20:04:11 +00:00
Lea Anthony
0f566c5bc8
update pipeline to publish changes 2025-01-31 16:59:59 +11:00
Lea Anthony
5bd131c929
update pipeline 2025-01-31 16:44:27 +11:00
Lea Anthony
0c771e37f9
Auto build docs/types for runtime module 2025-01-31 16:34:39 +11:00
Lea Anthony
e31296fe5d
Revert "Vite 6"
This reverts commit 939e2daff0.
2025-01-31 07:27:16 +11:00
Lea Anthony
282b420faf
Fix windows paths -> forward slashes 2025-01-31 07:14:18 +11:00
Lea Anthony
b3e81f5cbb
BREAKING CHANGE: wml attributes are now prefixed with data- 2025-01-28 07:37:17 +11:00
Lea Anthony
939e2daff0
Vite 6 2025-01-27 11:05:29 +11:00
Lea Anthony
db61f9f263
Event cancellation for standard listeners.
Major doc updates.
Runtime build tidy up.
Removed redundant default event mappings.
2025-01-27 09:29:22 +11:00
Lea Anthony
b4dff607e7
Better context menu demo text 2025-01-25 09:23:12 +11:00
Lea Anthony
46bb4e8414
*BREAKING CHANGE* move Path and Paths methods into application package. 2025-01-24 08:09:29 +11:00
Lea Anthony
631c8a1cc8
New ContextMenu API + example (#4013)
* New ContextMenu API + example

* Remove redundant code

* ContextMenuData now returns a string.
New Menu guide.

* Update readme

* Update v3/pkg/application/context.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add new menubar option

* Fix docs

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-23 22:10:23 +11:00
Lea Anthony
31487b5a0c
Fix bad merge 2025-01-23 22:03:14 +11:00
Fabio Massaioli
3f825823d5
[v3] Pass build flags to binding generator (#4023)
* Pass build flags to binding generator

* Update changelog

* Track variable dependencies using task labels

* Track JS/TS sources for binding generator

The `/wails:include` directive allows for the inclusion of additional JS/TS files in the generated bindings.

* Pass production var to frontend task

* Track binding generator output as source

* Fix generates pattern for frontend build task

* Fix typo in function `term.Warningf`

* Use facilities from `internal/term` in bindings command instead of `pterm`

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-01-23 10:58:35 +00:00
Fabio Massaioli
16ce1d3448
[v3] Service API cleanup and comments (#4024)
* Gather and document service API

* Update changelog

* Add NewServiceWithOptions

* Revert static analyser change

* Remove infinite loop in NewService[WithOptions]

* Fix compiler warning in bindings command

* Add test for NewServiceWithOptions

* Update changelog

* Fix service example

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-01-23 10:53:48 +00:00
Lea Anthony
547e30f025
Default panic handler should fatal. Update docs and example. 2025-01-21 06:44:28 +11:00
Lea Anthony
b7ab650f36
Skip FileExplorer tests in CI 2025-01-20 20:59:17 +11:00
Lea Anthony
5ccc810999
Fix tests 2025-01-20 19:56:03 +11:00
Lea Anthony
8ba623f5fe
Fix build issue 2025-01-17 21:21:32 +11:00
Lea Anthony
be8159d410
# Conflicts:
#	docs/src/content/docs/changelog.mdx
#	v3/pkg/application/menuitem.go
2025-01-17 21:19:23 +11:00
Fabio Massaioli
f01b4b9a21
[v3] Fix binding generator bugs (#4001)
* Add some clarifying comments

* Remove special handling of window parameters

* Improve internal method exclusion

* Add test for internal method exclusion

* Remove useless blank field from app options

This is a leftover from an older version of the static analyser. It should have been removed long ago.

* Remove redundant godebug setting

gotypesalias=1 is the default starting with go1.23

* Use new range for syntax to simplify code

* Remove generator dependency on github.com/samber/lo

* Ensure generator testing tasks do not use the test cache

* Rename cyclic types test

* Test for cyclic imports

* Fix import cycle between model files

* Sort class aliases after their aliased class

* Test class aliases

* Fix length of default value for array types

* Test array initialization

* Add changelog

* Update changelog

* Fix contrived marking technique in model sorting algorithm

* Update binding example

* Update test data

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-01-17 18:56:07 +11:00
Lea Anthony
e668c81806
Improved panic handling. Added guide. 2025-01-16 22:08:18 +11:00
Lea Anthony
7387e62a95
Update pipeline to use Go 1.23 2025-01-16 20:26:24 +11:00
Lea Anthony
0e02b07ba3
Fix typos 2025-01-16 20:25:07 +11:00
Lea Anthony
f6ebd6b3de
Breaking Change: Service method names 2025-01-16 07:47:23 +11:00
Lea Anthony
51e3a6168c
Fix nil menu issue when calling RegisterContextMenu 2025-01-15 19:43:10 +11:00
Lea Anthony
33ac88dc2a
Add window to context when calling a service method. Add window-call example to demonstrate how to know which window is calling a service. Fix Window ID skip issue. 2025-01-15 19:32:15 +11:00
Lea Anthony
4c59709653
Go 1.23.4 2025-01-15 19:00:26 +11:00