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

313 Commits

Author SHA1 Message Date
Lea Anthony
6344a8a553
Merge branch 'v3-alpha' into v3-alpha-bugfix/gin-support 2025-04-18 15:57:41 +10:00
Lea Anthony
1f5e9852e4
Update v3/examples/gin-service/services/gin_service.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-18 15:49:41 +10:00
Lea Anthony
e97c390f12
Update v3/examples/gin-service/README.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-18 15:47:59 +10:00
yulesxoxo
a9c031155a fix: correct Windows filename in generate:icons task 2025-04-16 15:22:05 +02:00
Lea Anthony
be1d500974
Update v3/examples/notifications/build/windows/nsis/wails_tools.nsh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-12 13:21:58 +10:00
popaprozac
af5abda8b1 update example 2025-03-24 21:34:10 -07:00
popaprozac
276c653b1d update example 2025-03-24 20:22:29 -07:00
popaprozac
b102279630 update example 2025-03-24 16:05:57 -07:00
popaprozac
b60ef7729e coderabbit impr 2025-03-18 22:46:44 -07:00
popaprozac
e4e24a0f00 clean 2025-03-18 21:18:16 -07:00
Zach Botterman
6d15f08db4
Merge branch 'v3-alpha' into notifications_darwin 2025-03-14 23:46:04 -07:00
popaprozac
e46abdc793 update example 2025-03-14 19:05:27 -07:00
Zach Botterman
e4ec06a9c8 update example 2025-03-13 23:33:17 -07:00
Jason Kulatunga
da99ea47b0
Update docs + examples.
Serve runtime from assetserver if requested.
Add gin guide, fix asset server merge, add gin example
adding http.CloseNotifier and http.Flusher interface to assetserver.contentTypeSniffer, for Gin (and other framework) compatibility.
2025-03-11 21:06:57 +11:00
Lea Anthony
b72782c35d
Update docs + examples.
Serve runtime from assetserver if requested.
2025-03-11 08:50:03 +11:00
Lea Anthony
e4d6e54c63
Add gin guide, fix asset server merge, add gin example 2025-03-09 15:58:50 +11:00
Lea Anthony
15b9118077
Add gin example 2025-03-09 14:38:46 +11:00
Lea Anthony
866fb36b67
Add fix for application menu. Add docs 2025-03-08 11:25:06 +11:00
Ian VanSchooten
dc662b561a
Revert systray-custom example changes 2025-03-08 11:25:06 +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
Zach Botterman
acad85e603 update example 2025-02-25 15:59:27 -08:00
Zach Botterman
60c1a866f3 update example 2025-02-25 11:37:11 -08:00
Zach Botterman
050e4ef1a8 fix default complex action 2025-02-25 11:27:54 -08:00
Fabio Massaioli
ea98bd2e19 Rename copied files 2025-02-25 18:01:36 +01:00
popaprozac
67adc452cb update example 2025-02-24 22:00:58 -08:00
Fabio Massaioli
0dfc2b2a53 Add cancellation examples 2025-02-25 03:33:24 +01:00
Fabio Massaioli
cdb4045542 Update existing examples 2025-02-25 03:33:15 +01:00
popaprozac
c904433ff3 update example 2025-02-23 16:30:13 -08:00
Zach Botterman
bf4222c9cc update example 2025-02-23 16:00:04 -08:00
Zach Botterman
ab9c460088 quick fixes 2025-02-23 11:40:39 -08:00
popaprozac
7757eae745 standalone example 2025-02-22 19:05:00 -08:00
popaprozac
87f15ced04 refactor 2025-02-22 00:34:29 -08:00
popaprozac
cc524d78e4 update example 2025-02-21 18:36:54 -08:00
popaprozac
32839bd0d1 initial notification impl 2025-02-20 14:03:38 -08: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
Marcus Crane
1bafc6f22f
[v3] Fix invisible footer for light mode users across default templates (#4056)
* Remove invisible footer styling

Signed-off-by: Marcus Crane <marcus@utf9k.net>

* Add changelog entry

Signed-off-by: Marcus Crane <marcus@utf9k.net>

---------

Signed-off-by: Marcus Crane <marcus@utf9k.net>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-16 11:57:52 +11:00
Lea Anthony
244f32268b
Fix Hidden Mac MenuItem.
Go 1.24
2025-02-16 11:10:19 +11:00
Ian VanSchooten
a49bfcc956
[v3] Update copyright date (#4037)
* Update copyright date to 2025

* Update changelog
2025-02-14 08:43:19 +11:00
Fabio Massaioli
2a6597eece Update example bindings 2025-02-13 03:11:22 +01:00
Fabio Massaioli
23412656de Update example 2025-02-13 03:11:22 +01:00
Fabio Massaioli
37673eb24d
[v3] Fix binding generator bugs and prepare for Go 1.24 (#4045)
* Rename predicates source file

* Overhaul and document type predicates

* Fix model collection logic for named types

* Fix map key type rendering

* Fix map creation code

* Fix rendering of structs that implement marshaler interfaces

* Fix type cycle detection to take type args into account

* Fix enum and typeparam field initialisation

* Improve unsupported type warnings

* Remove internal models file

* Deduplicate template code

* Accept generic aliases in static analyser

* Support new `encoding/json` flag `omitzero`

* Handle special cases when rendering generic aliases

* Update npm test dependencies

* Test class aliases and implicit private dependencies

* Test marshaler combinations

* Test map key types

* Remove bad map keys from unrelated tests

* Test service discovery through generic aliases

* Test generic aliases

* Test warning messages

* Disable go1.24 tests

* Update changelog

* Restore rendering of injected lines in index file

* Test directives

* Add wails:ignore directive

* Fix typo

* Move injections to the bottom of service files

* Handle errors from closing files

* Do not emit messages when services define only lifecycle methods

* Add internal directive for services and models

* Update changelog

* Fix error in service templates

* Test internal directive on services/models

* Fix error in index template

* Base testdata updates

* Testdata for class aliases and implicit private dependencies

* Testdata for marshaler combinations

* Testdata for map key types

* Testdata for bad map key fixes

* Add weakly typed enums aka alias constants

* Testdata for enum and typeparam field fixes

* Testdata for generic aliases

* Testdata for warning messages

* Testdata for directives

* Testdata for weakly typed enums

* Update binding example

* Update services example

* Remove go1.24 testdata

* Update cli doc

* Fix analyser tests

* Fix windows tests... hopefully

* go mod tidy on examples

* Update bindings guide

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-09 09:44:34 +11:00
Lea Anthony
d427e9d750
Add systray.SetTooltip 2025-02-08 14:01:22 +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
4caf6d6e50
Add systray Show, Hide and Destroy 2025-02-02 17:54:24 +11:00
Lea Anthony
e31296fe5d
Revert "Vite 6"
This reverts commit 939e2daff0.
2025-01-31 07:27:16 +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