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
454d170dfb
[mac] setPosition - adjust based on scale factor
2024-12-20 18:12:54 +11:00
Lea Anthony
95a5b926fd
[windows] Improve minimise and restore window drawing
2024-12-18 07:45:33 +11:00
Lea Anthony
7aa6abfefe
Documentation updates.
...
New `-git` flag for `wails3 init`.
New `wails3 generate webview2bootstrapper` command.
2024-12-16 20:00:56 +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
6e84337898
Fix dialog directory chooser example.
...
Remove debug output.
2024-12-14 15:11:40 +11:00
Lea Anthony
a0b2ab7c0a
Fix default index.html serving.
...
Support multi-language default.
Remove default page from production builds.
Improve defaultindex.html.
2024-12-14 11:10:07 +11:00
Lea Anthony
beacf06c7d
Fix macOS systray DPI scaling and offset.
...
Added new systray examples.
2024-12-13 23:46:27 +11:00
Rick Calixte
d03f4ce54a
OpenFileManager for opening with the native file manager and optional file selection support ( #3937 )
...
OpenFileManager for opening with the native file manager and optional
file selection support
Closes #3197
Co-authored-by: Krzysztofz01 <krzysztof.zon2001@gmail.com>
2024-12-13 21:37:18 +11:00
Lea Anthony
2e4fce7c67
OpenDirectory for opening native file manager at the given dir
2024-12-07 21:31:13 +11:00
Lea Anthony
296b9debd3
Support fullscreen for frameless windows.
2024-12-07 21:14:38 +11:00
Lea Anthony
2a6e3da30a
Ensure key callbacks in window run() are called on the main thread
2024-12-07 20:54:22 +11:00
Lea Anthony
5445aebe94
Ensure windowDidBecomeKey
callback is running on main thread
2024-12-07 20:45:08 +11:00
Lea Anthony
7cbde83f38
[windows] Fix radio group menu items
2024-12-06 22:00:43 +11:00
Lea Anthony
459b5e1036
Added EnabledFeatures
and DisabledFeatures
options
2024-12-06 17:17:54 +11:00
Michael
0466bc6936
[v3 alpha] Fix deadlock of linux dialog for multiple selections
2024-12-03 05:54:17 -08:00
Lea Anthony
f2040797d7
[windows] Use application icon as default systray icon if available.
2024-12-03 21:12:01 +11:00
Lea Anthony
1c34c252cc
Remove resize debounce setting for windows.
...
Optimise resizing performance on windows automatically.
2024-12-01 09:52:06 +11:00
Atterpac
0ebb21f0fb
[V3] Rework service.OnStartup to close application on error ( #3920 )
...
* rework service.OnStartup to close applicatoin on error
CHANGELOG.md
fix index out of bounds potential
* os.Exit -> runtime.Goexit
* Revert to os.Exit
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-30 13:36:29 +11:00
Lea Anthony
43659cc5b3
Improved warning support.
2024-11-30 12:02:27 +11:00
Atterpac
d27e75c57f
[V3-Linux] Systray OnClick on initial icon click ( #3907 )
...
Support linux systrays first click to open
- Convert event handling to switch statement for better readability
- Fix menu event handlers to properly trigger open/close callbacks
- Update click behavior to use doubleClickHandler for Activate
CHANGELOG.md
2024-11-24 07:46:14 +11:00
Lea Anthony
d6866f6317
V3 alpha - calling window id and name ( #3888 )
...
* Add the calling window name and ID to the context if available. Update the documentation.
* Update changelog.md
2024-11-20 05:42:16 +11:00
Lea Anthony
5f1b1efc66
Better shutdown for macOS
2024-11-17 21:37:59 +11:00
Atterpac
4f9010b024
[V3-Linux] Fix linux compile and systray OnClicks ( #3886 )
...
* fix linux compile
* fix systray OnClick and OnRightClick
* changelog.md
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-17 21:02:58 +11:00
Lea Anthony
99d538ea97
V3 alpha feature/3659 support webview options ( #3766 )
...
* [windows] Add GeneralAutofillEnabled and PasswordAutosaveEnabled options
* Use latest go-webview2
* Updates
* Fix changelog
2024-11-16 12:30:33 +11:00
Anshuman
331097f269
[v3] Added AppDataDirectory path ( #3823 )
...
* Added appData
* Updated changelog
* Updated doc and added error handling and fallbacks
* Updated doc
* Expose XDG methods
* Refactor Path method. Add Paths method
* Fix changelog
---------
Co-authored-by: Anshuman <anshuman@instasafe.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-16 12:00:45 +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
Lea Anthony
d18b7bc4b8
V3 alpha feature/file association port ( #3873 )
...
* Update nsis template
* Move app data into config.yml
* mac support
* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs
* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs
Add test project
* Update example & docs.
Fix show window bug.
* Fix window show event bug
* Update changelog
2024-11-09 08:58:20 +11:00
Windom
e4cfae2885
[v3] Fix service name determination ( #3827 )
...
Should use service instance, not Service wrapper struct.
2024-11-01 07:00:35 +11:00
John McCabe
4325b06ac4
[v3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item ( #3839 )
...
* [V3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item
* [chore] Add darwin fix for NewEditMenu dupe role to changelog
- PR #3839
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-10-21 08:35:34 +11:00
Lea Anthony
b27aed2497
[mac] fix always on top during window creation ( #3841 )
...
* [mac] fix always on top during window creation
* Update changelog.md
2024-10-20 13:14:26 +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
Atterpac
f16d1be955
[V3 Linux] Fix Keybind remit ( #3797 )
...
debounce linux keypress events remits if held past a certain value
2024-10-02 08:21:14 +10:00
Lea Anthony
df091f02ef
[mac] fix rogue brace
2024-09-23 20:36:58 +10: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 Anthony
cfdd612c8d
Fix linux build
2024-09-18 21:43:22 +10:00
Lea Anthony
40076c6246
Fix linux build
2024-09-18 06:23:53 +10:00
Lea Anthony
5670a4d7e7
Fix build
2024-09-18 06:07:59 +10:00
Lea Anthony
4386f5fcb2
# Conflicts:
...
# mkdocs-website/docs/en/changelog.md
2024-09-18 05:55:49 +10:00
Lea O'Anthony
2c55110776
Improved menus.
...
Fixed warning on windows quit.
2024-09-17 21:19:00 +10:00
Lea O'Anthony
6787ce9c40
Significant updates to mac menu items. More roles. More fixes to come.
2024-09-12 20:51:07 +10:00
Lea Anthony
ef8c886b10
Ignore internal service methods when binding ( #3720 )
...
* Ignore internal service methods when binding
* Updated changelog.md
2024-09-09 08:36:19 +10:00
Gabriel Lima
5481f3a684
[linux] fix: update for new events syntax ( #3734 )
...
Changed uses of deprecated `.On` to the current standard.
2024-09-08 20:22:42 +10:00
Lea Anthony
7fafee8a6c
[mac] events updates
2024-09-08 20:14:45 +10:00
Lea Anthony
5cde12b42a
Refactored Events ( #3731 )
...
Experimental rename
2024-09-07 16:39:02 +10:00
Atterpac
5004aac259
[V3] Refactor linux ignore mouse events ( #3721 )
...
refactor linux ignore mouse events
changelog.md
2024-09-06 08:10:05 +10:00
DeltaLaboratory
2460b570fe
retry when shellnotifyicon fails ( #3710 )
...
* add retry mechanism for create shell notification icon
* add retry mechanism for create shell notification icon
* adjust delay and attempts
* added changelog
* Use application fatal handler instead of panic
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-09-02 19:33:17 +10:00
Atterpac
e316cd0719
[V3] Plugins implemenations ( #3570 )
...
* plugin handler and lifecycle
* rebase
* remove reflect
s
* remove Config and NewPlugin from plugin template
* Remove plugin manager, generation of plugin interface
* implement http handlers for services
remove log
trim path
prefix wails/services
* update plugine example
* Misc updates
* Ported plugins to services, rewritten example
* Added fileserver
* Update OnStartup and use a context for the application
* Rename PathPrefix to Route. Create docs.
* Use service config copy. Add Name to Service Options. Improve service generation.
* Use service config copy. Add Name to Service Options. Improve service generation. Update README
* Remove rogue db
* Update changelog.md
---------
Co-authored-by: Lea O'Anthony <lea.anthony@gmail.com>
2024-09-01 17:26:22 +10:00