5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-09 03:59:22 +08:00
Commit Graph

659 Commits

Author SHA1 Message Date
Lea Anthony
60f47d66a8
System tray restart debounce 2025-04-19 10:14:37 +10:00
Lea Anthony
86431f2f0c
Fix for transparency for frameless 2025-04-19 10:14:37 +10:00
Lea Anthony
b90c815ee9
Fix focus calls when window is disabled or minimised.
Fixes #3759 and #4168
2025-04-19 10:14:37 +10:00
Lea Anthony
d658ddd8b4
Reshow icon on taskbar restart. Fixes #4153 2025-04-19 10:14:31 +10:00
Lea Anthony
b2a0e2972a
Merge branch 'v3-alpha' into v3-alpha-fix-window-events 2025-04-18 16:30:54 +10:00
Lea Anthony
6344a8a553
Merge branch 'v3-alpha' into v3-alpha-bugfix/gin-support 2025-04-18 15:57:41 +10:00
Lea Anthony
81211d56d9
Merge branch 'v3-alpha' into v3-alpha-bugfix-auto_fill-auto_password_save 2025-04-18 15:45:53 +10:00
Lea Anthony
0b546a1856
Merge branch 'v3-alpha' into notifications_darwin 2025-04-12 12:56:26 +10:00
Lea Anthony
7977a81606
Merge branch 'v3-alpha' into patch-2 2025-04-12 12:31:08 +10:00
Gabriel Lima
f46352dbe1 Create dialogs_windows_test.go 2025-04-09 16:21:59 -03:00
Gabriel Lima
f6750c3a48 delete redundant method 2025-04-07 13:35:37 -03:00
Gabriel Lima
3f22e1fe0c
Normalize Windows paths by default
JS code ends up escaping Windows paths when data gets passed around from backend to the frontend, so those should be normalized beforehand.
2025-04-06 22:36:22 -03:00
Johannes Lübke
14d6623c13
fix: unhandled error in dialogs.go
Does lead to deadlocks otherwise
2025-03-20 14:46:24 +01:00
Zach Botterman
6d15f08db4
Merge branch 'v3-alpha' into notifications_darwin 2025-03-14 23:46:04 -07:00
Oussama Sethoum
0be2efc275 fix: general auto save and general password auto save always enabled 2025-03-12 20:48:05 +01:00
Oussama Sethoum
635ddf5c36 fix: fullscreen, unfullscreen, unminise and unmaximise window events weren't being emitted. 2025-03-11 13:00:22 +01:00
Lea Anthony
b72782c35d
Update docs + examples.
Serve runtime from assetserver if requested.
2025-03-11 08:50:03 +11:00
Lea Anthony
866fb36b67
Add fix for application menu. Add docs 2025-03-08 11:25:06 +11:00
Ian VanSchooten
b733b1d3c4
Fix hidden menuItem on windows
And bring menu_windows into alignment with popupmenu_windows
2025-03-08 11:25:06 +11:00
Ian VanSchooten
91c9c3f147
Fix comment 2025-03-08 11:25:05 +11:00
Ian VanSchooten
35cc7fd569
Avoid adding duplicate menuitems (windows)
Previously, when calling `.SetHidden(false)` on a menu item that was not hidden, a duplicate menu item was created.
2025-03-08 11:25:05 +11:00
Ian VanSchooten
5fb1a14c36
Fix registration of hidden menuItem [mac] 2025-03-08 11:25:05 +11:00
Lea Anthony
f87dce15ea
Merge branch 'v3-alpha' into fork/fbbdev/v3-alpha-feature/service-api
# Conflicts:
#	docs/src/content/docs/changelog.mdx
#	v3/examples/services/assets/bindings/github.com/wailsapp/wails/v3/pkg/services/kvstore/keyvaluestore.js
#	v3/examples/services/assets/bindings/github.com/wailsapp/wails/v3/pkg/services/log/loggerservice.js
#	v3/examples/services/assets/bindings/github.com/wailsapp/wails/v3/pkg/services/sqlite/service.js
2025-03-01 16:33:11 +11:00
Fabio Massaioli
da9a9603b9 Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime
# Conflicts:
#	docs/src/content/docs/changelog.mdx
2025-02-27 11:21:48 +01:00
Lea Anthony
b2c43c034f
[windows]Better popup menu positioning 2025-02-27 21:01:14 +11:00
Zach Botterman
10ae1f6029 export config from app 2025-02-25 15:04:05 -08:00
Fabio Massaioli
5dbd49606b Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime 2025-02-25 04:13:47 +01:00
Fabio Massaioli
87ceed05fa Fix logging bug in call message processor 2025-02-25 03:33:56 +01:00
Lea Anthony
a5e2e42a55
[darwin] Ensure menu updates occur on main thread 2025-02-23 15:46:03 +11:00
Fabio Massaioli
82ed0e6842 Merge branch 'v3-alpha' into v3-alpha-feature/service-api
# Conflicts:
#	docs/src/content/docs/changelog.mdx
2025-02-19 15:42:12 +01:00
Fabio Massaioli
e7c134de4e
[v3] Late service registration and error handling overhaul (#4066)
* Add service registration method

* Fix error handling and formatting in messageprocessor

* Add configurable error handling

* Improve error strings

* Fix service shutdown on macOS

* Add post shutdown hook

* Better fatal errors

* Add startup/shutdown sequence tests

* Improve debug messages

* Update JS runtime

* Update docs

* Update changelog

* Fix log message in clipboard message processor

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

* Remove panic in RegisterService

* Fix linux tests (hopefully)

* Fix error formatting everywhere

* Fix typo in windows webview

* Tidy example mods

* Set application name in tests

* Fix ubuntu test workflow

* Cleanup template test pipeline

* Fix dev build detection on Go 1.24

* Update template go.mod/sum to Go 1.24

* Remove redundant caching in template tests

* Final format string cleanup

* Fix wails3 tool references

* Fix legacy log calls

* Remove formatJS and simplify format strings

* Fix indirect import

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-19 09:27:41 +01:00
Falco Gerritsjans
0dc7b3c549
More control over menus (#4031)
* Add prepend and clear method to menus

* Document appending and clearing menus

* Add `Destroy()`
Add notes to documentation.

* Remove menu item from map when destroying

* Remove menu items from map when clearing

* Update v3/pkg/application/menu.go

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

* Minor updates

* Fix build error

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-16 12:08:08 +11:00
Lea Anthony
244f32268b
Fix Hidden Mac MenuItem.
Go 1.24
2025-02-16 11:10:19 +11:00
Ian VanSchooten
e75c10d567
[V3] Add docs for event.Sender (#4075)
* Add docs for event.Sender

* Update changelog
2025-02-15 07:17:47 +11:00
Fabio Massaioli
63f47bc9ed Standardise and enhance logger service 2025-02-13 03:11:21 +01: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
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
Lea Anthony
b4c4cd8ae8
Fix mac/js events 2025-02-02 10:22:11 +11:00
GitHub Actions
5ffdc204f6 chore: Publish @wailsio/runtime 3.0.0-alpha.42 2025-01-31 20:04:11 +00:00
Lea Anthony
b3e81f5cbb
BREAKING CHANGE: wml attributes are now prefixed with data- 2025-01-28 07:37:17 +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
46bb4e8414
*BREAKING CHANGE* move Path and Paths methods into application package. 2025-01-24 08:09:29 +11: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
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