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
Mohamed Gharib
d5e289880f
[v3] Rename AbsolutePosition()
to Position()
( #3611 )
2024-07-15 19:27:21 +10:00
Lea Anthony
bf9e17a6c8
[WEP] Customise Window Titlebars ( #3508 )
...
* Add proposal.
Reference Mac implementation
* Add windows support. Update proposal.
* Update example
* Rename Active->Enable,Inactive->Disabled. Ensure window can get controls back after hiding close on windows. Added guide. Updated example.
* Add ExStyle option for setting titlebar style.
* Fix linux builds
* Tidy up
2024-06-08 13:42:27 +10:00
Fabio Massaioli
2b9891da2c
[v3] Update and fix runtime JS API ( #3295 )
...
* Cleanup bundled runtime entry point
* Fix JS representation of Screen struct
* Expose IsFocused method in Window interface
* Update JS window API
* Fix cleanup of WML listeners
* Bundle runtime as ES module
* Update runtime dependencies
* Update runtime types and events
* Update bundled runtime
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-20 20:30:14 +11:00
Fabio Massaioli
b8537d1c96
[v3] Restore ToggleMaximise method in Window interface ( #3281 )
...
* Add JS Window API example
* Add ToggleMaximise button to Window API example
* Restore ToggleMaximise method in Window interface
* Update docs and changelog
2024-02-29 08:42:57 +11:00
Lea Anthony
9f567fe2bc
Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug
to environment info.
2023-12-29 12:48:26 +11:00
Travis McLane
c87489adf3
[v3] implement Window interface
2023-09-28 11:39:39 -05:00
Lea Anthony
965f939967
Fix parser/generator tests
2023-09-08 12:03:55 +10:00
Lea Anthony
21790dc3ee
[v3] Add CallByID
method to runtime.
2023-08-27 16:59:18 +10:00
Lea Anthony
cdf48e0589
[v3] Fix bindings
2023-08-27 15:54:01 +10:00
Lea Anthony
946a4c56a0
[v3 mac] Better logging
2023-08-18 09:58:43 +10:00
Lea Anthony
45cfbe917e
[v3] Position/GetPosition -> RelativePosition/GetRelativePosition
2023-06-23 20:49:27 +10:00
Lea Anthony
1600bcb1d0
[v3] Add Restore
to JS runtime
2023-06-12 10:44:05 +10:00
Lea Anthony
cb8eb755a7
[v3 Windows] Support setMin/MaxSize, setPosition
2023-05-01 10:52:46 +10:00
Lea Anthony
7f3f51e36b
[windows] Support AlwaysOnTop, EnableResize at runtime. Added Solid/Transparent/Translucent options.
2023-04-28 21:11:49 +10:00
Lea Anthony
d86e11cef1
Fix bad merge
2023-02-12 13:36:58 +11:00
Lea Anthony
5dbda4aead
Feature: AssetServer Runtime ( #2335 )
...
* Tidy up runtime JS
* Initial implementation of runtime over http
* Update runtime deps. Fix test task.
* Support Clipboard.
Message Processor refactor.
* Add `Window.Screen()`
Clipboard `GetText` -> `Text`
* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
* Support SaveFile dialog
* Remove go.work
* Tidy up
* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
* Support application calls
* Support logging
* Support named windows
Remove debug info
* Update v3 changes
2023-02-06 20:50:11 +11:00
Lea Anthony
293d730708
[v3] Updated runtime to take window id into consideration
...
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00