Lea Anthony
a5a73d1d9f
Add Content Protection feature.
2025-04-27 08:02:24 +10:00
Lea Anthony
866fb36b67
Add fix for application menu. Add docs
2025-03-08 11:25:06 +11: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
Lea Anthony
ee24099be8
Fixed event deadlock for macOS
2025-02-02 14:23:34 +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
Lea Anthony
e668c81806
Improved panic handling. Added guide.
2025-01-16 22:08:18 +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
3f78a3a8ce
Fix edit menus on windows and linux
2025-01-15 07:56:00 +11:00
Lea Anthony
8b53aa39ff
Update changelog.mdx
2024-12-28 13:23:58 +11:00
Lea Anthony
27480bc6cb
Reduce flicker.
2024-12-27 09:09:00 +11:00
Lea Anthony
a90764891f
Update systray-custom to show keep-alive after window kill
2024-12-23 20:55:29 +11:00
Lea Anthony
65f95b0380
Removed OnShouldClose: Create single way of handling conditional and unconditional close.
2024-12-23 08:23:07 +11:00
Lea Anthony
8e98d6dd19
Handle events at a lower level
2024-12-22 10:02:16 +11:00
Lea Anthony
2ff4e6a080
Small improvements around mainthread switching
2024-12-21 12:13:48 +11:00
Lea Anthony
e75f9c9c7f
Fix window shutdown issue.
...
Handle error serving capabilities.
2024-12-15 09:02:43 +11:00
Lea Anthony
957f759197
Improve window destroying on Mac
2024-12-14 17:56:16 +11:00
Lea Anthony
3e00b390c1
V3 alpha feature/start window position ( #3885 )
...
* New InitialPosition setting
* Fix mac inverted Y issue.
Fix mac centering issue.
* Change position text in example
* Update changelog.md
2024-11-16 10:10:40 +11:00
Atterpac
fc6f6bde1d
[V3] setURL bug fix ( #3533 )
...
setURL bug fix
s
s
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-10-10 19:45:07 +11:00
Mohamed Gharib
efe0c8d534
[v3-Windows] New DIP system for Enhanced High DPI Monitor Support ( #3665 )
...
* [v3-Windows] New DIP system for Enhanced High DPI Monitor Support
* Update changelog
* Remove asset middleware
* Remove SetThreadDpiAwarenessContext()
* Fix macOS build.
* Fill missing screens fields (linux, darwin)
* Skip DPI transformation on unsupported platforms
* Simplify distanceFromRectSquared()
* Update v3/pkg/application/screenmanager.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-22 08:38:30 +10:00
Lea O'Anthony
2c55110776
Improved menus.
...
Fixed warning on windows quit.
2024-09-17 21:19:00 +10:00
Lea Anthony
5cde12b42a
Refactored Events ( #3731 )
...
Experimental rename
2024-09-07 16:39:02 +10:00
bruxaodev
fbcce0b20c
[windows] Add support for click-through overlay window ( #3667 )
...
* [windows] Add support for click-through overlay window
* update changelog
* setIgnoreMouseEvents - exemple
* fix - remove unused import
* Add macOS+Linux support. Update example.
* Fix SetIgnoreMouseEvents before window created.
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-08-18 20:50:22 +10:00
Lea Anthony
d61bb9c79b
[Windows] Handle menu accelerators
2024-07-27 16:04:26 +10:00
Mohamed Gharib
d5e289880f
[v3] Rename AbsolutePosition()
to Position()
( #3611 )
2024-07-15 19:27:21 +10:00
Atterpac
62b795d472
fix resize messaging ( #3606 )
...
changelog.md
2024-07-14 16:47:18 +10:00
Lea Anthony
9d488c97e0
Support raw messages from JS
2024-06-08 20:43:24 +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
Atterpac
0dd73e249d
Revert "Remove OpenContextMenu" ( #3524 )
...
This reverts commit 54140e9adb
.
2024-06-02 06:30:17 +10:00
Lea Anthony
54140e9adb
Remove OpenContextMenu
2024-06-01 15:04:35 +10:00
Lea Anthony
2cee1edcb5
Add window.GetBorderSizes
2024-04-25 15:22:01 +10:00
Lea Anthony
8d234cc842
Update execjs signature
2024-03-14 08:57:10 +11:00
Lea Anthony
b6c5d90c9d
Window Flash for Linux
...
Set Min/Max window buttons
2024-03-06 11:43:16 -06:00
Lea Anthony
a34ccbff33
ToggleDevTools -> OpenDevTools
...
More refactor CGO methods.
2024-03-06 11:43:12 -06:00
Fabio Massaioli
0c3025d695
[v3] Fix ordering of if branches in WebviewWindow.Restore method ( #3279 )
...
* Add JS Window API example
* Fix ordering of if branches in Window.Restore method
* Add changelog entry
2024-03-02 16:04:02 +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
6e2bbe31ac
[windows] fix frameless resize
2024-02-01 06:47:49 +11:00
Lea Anthony
7674f8eb2b
Fixed dialogs on macOS. Update WML example to use compiled runtime.
2024-01-25 21:00:33 +11:00
Lea Anthony
1195464acb
Improve window teardown on termination
...
This commit adds a robust teardown process for windows on application shutdown. It introduces a field to track the destruction state of each window and checks such before performing window operations. Also, it enhances the destroy functions within application for thorough clean up. Finally, redundant event handlers related to application termination were removed while fixing file generating challenge in go tasks.
2024-01-09 07:45:56 +11:00
stffabi
2f3eb70a4d
[windows] Use msWebView2BrowserHitTransparent for non working NC area clicks on unfocused window
...
Without this patch there's a really strange behaviour if there are
multiple windows.
Having two windows with a webview open with an input field.
Focusing the input field on one window, then focusing the input
field on the second one. Then clicking directly on the non client
area of the first one, e.g. to trigger a minimze, the minimize is
not executed until the mouse is getting moved. As long as the
mouse is not moved the event for the click is blocked and not
executed.
Using this new mode fixes that problem, but we need to handle
‘alt+f4’ on our own.
2023-12-30 23:34:54 +01:00
stffabi
b37d0f1cf4
[windows] Improved focus handling
...
Make sure the webview is focused on initial show if the window
is focused and make behaviour consistent with macOS
2023-12-30 23:34:53 +01:00
Lea Anthony
5b51e0fad3
@wailsio/runtime alpha.9 - Fix call responses.
2023-12-30 15:49:23 +11:00
Lea Anthony
b08126d745
Radical JS runtime overhaul. New @wailsio/runtime package
2023-12-28 19:18:26 +11:00
Lea Anthony
8463c01123
[windows] Drag-n-drop support
2023-10-21 11:21:10 +11:00
Lea Anthony
7795a2a46f
Fix modifier processing on windows.
...
Move info logs to debug.
2023-10-15 13:53:31 +11:00
Lea Anthony
4c75b288bb
Add BrowserOpenURL and BrowserOpenFile to App.
...
Better WML assets for demo
Fix dialog responses.
Add `wml-openurl`
Rename: data-wml -> wml
Fix Alpha Feedback URL
2023-10-11 20:23:59 +11:00
Lea Anthony
3d88bf8795
Fix context menu issues.
...
Fix WindowID for requests on windows.
Add `Windows.ApplicationStarted` event
2023-10-10 21:48:47 +11:00
Lea Anthony
740b2b0979
Fix windows icon for about box.
...
Add NewRGBA and NewRGB methods.
Added README.md to all examples.
Add roadmap.md to docs
2023-10-09 20:56:19 +11:00
Lea Anthony
255690eee0
[darwin] Add webview preferences
2023-09-30 15:23:56 +10:00
Travis McLane
1c48d567e1
[v3] NewWebviewWindow* return *WebviewWindow
2023-09-28 13:30:47 -05:00