5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 13:32:18 +08:00
Commit Graph

4586 Commits

Author SHA1 Message Date
Atterpac
830f70258e
Merge pull request #3925 from michael-freling/fix-v3
[v3 alpha] Fix deadlock of linux dialog for multiple selections
2024-12-03 13:01:39 -07:00
Michael
7b4befb0b1 [v3-alpha] Update a changelog 2024-12-03 05:54:56 -08: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
Anshuman
b37cdf5ba9
[v3] fix: Add cross-platform cleanup for .syso files during Windows build (#3924)
* fix: Add cross-platform cleanup for .syso files during Windows build

* Updated changelog
2024-12-02 20:39:00 +11:00
Lea Anthony
8444ccf6f2
Update go-webview2 to v1.0.18. 2024-12-02 07:46:45 +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
Atterpac
9173537ce5
[V3-Linux] Support for deb,rpm,arch linux packager packaging (#3909)
* Support for linux deb,rpm,arch linux packager packaging

* remove optional tasks from linux:package task

CHANGELOG.md

* Update Taskfile.linux.yml

* Integrated nfpm into CLI.
Fixed task update.

* package tool fixes and add bundle name field

empty name guard

* add linux depdencies

* Add some docs

* Fixed tests. Updated task to latest.

* Update v3/internal/commands/tool_package.go

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

* Remove doctor references to nfpm

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-11-30 13:31:56 +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
Anshuman
abcc37f9a1
Add darwin universal build and package (#3902)
* Added Support for darwin universal builds and packages

* Fix universal task

* Added the missing Taskfile.tmpl.yml file
2024-11-23 23:15:10 +11:00
Atterpac
76e7654242
Fix AMD64 appimage generation (#3898)
changelog

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-22 20:45:27 +11:00
Anshuman
c54fbdb075
Fix build assets update (#3901)
* fix: build assets update from config

* Updated changelog
2024-11-22 20:42:19 +11:00
Lea Anthony
eccfd345b5
Fix TS templates 2024-11-20 19:49:12 +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
a98bf32b24
Fix syso naming issue 2024-11-18 20:43:03 +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
d59ad46a9e
Add bindings section 2024-11-17 14:07:36 +11:00
Atterpac
2417251f02
defualt to embed all:frontend/dist (#3887)
changelog.md
2024-11-17 13:27:17 +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
Kodflow
3b7c870a53
[V3 Linux] aarch64 compilation (#3854)
* [V3 Linux] Add multi arch package for imageapp

base

quick refacto

* update changelog

* update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-16 12:20:32 +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
northes
0b1ef79a8e
[v3] bugfix: update version to support application.ServiceOptions (#3836)
* bugfix: update version to support application.ServiceOptions

* [v3] docs: update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-11-16 11:07:51 +11:00
Lea Anthony
0f0f9a0262
Update PR template 2024-11-16 10:45:14 +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
b4a61e11fa
Add devmode config to config.yml.
Remove devmode.config.yaml.
Update Watcher command.
Update templates.
2024-11-09 09:35:13 +11:00
Lea Anthony
35a680632e
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 09:30:53 +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
Atterpac
1806aa0d7c
[V3/Docs] Add Events documentation (#3867)
events docs

fix function

fix nav

changelog.md

fix broken link

appease the rabbit

spell check and cleanup
2024-11-05 08:17:45 +11:00
Lea Anthony
8b105fc9c3
Improve runtime to detect browser 2024-11-04 19:44:54 +11:00
Lea Anthony
f078ee9f9a
Support wails3 generate runtime 2024-11-03 17:28:32 +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
Lea Anthony
bd0c366b2f Fix service generation text 2024-10-30 22:13:41 +11:00
Omar Ferro
f9d80323dd
[v3 alpha test] HTML Drag and Drop API test (#3856)
* [v3 example] HTML dnd API test

* Update v3/examples/html-dnd-api/main.go

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

* docs: add entry to changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-29 20:15:36 +11:00
Lea Anthony
308304b75e
Use docker for mkdocs serve 2024-10-24 11:26:20 +11:00
Lea Anthony
1cb7a33442
Support updating the build assets 2024-10-24 10:07:11 +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
4591fb9b95 Make template descriptions consistent 2024-10-20 13:29:38 +11:00
Atterpac
6870e916bb
[V3 Templates] Add Sveltekit and Sveltekit TS templates (#3829)
* node runtime parity

* Add sveltekit templates

changelog

update svelte config

* Update v3/internal/templates/sveltekit-ts/template.json

* Update v3/internal/templates/sveltekit/template.json

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-10-20 13:26:51 +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
94e8f8b8d7
[V3 Runtime] Ensure JS package has parity with various node versions (#3821)
node runtime parity
2024-10-13 18:06:06 +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
Etesam
77b8132591
Updated Id type to ID for Screen (#3779)
* 🏷️ Updated `Id` type to `ID` for `Screen`

* 📝 Updated changelog
2024-09-27 15:26:33 +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
d5a6d7719c
Update to go-webview2 v1.0.16 2024-09-22 08:12:02 +10:00
Lea Anthony
5367d056e2
Taskfile Refactor (#3748)
* Refactor taskfile

* Fix escaping

* Fix event error

* Fix dev mode

* Fixes for Windows

* Add docs. Improve docs build system

* Update v3/internal/commands/build_assets/Taskfile.darwin.yml

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

* Update v3/internal/commands/build_assets/Taskfile.linux.yml

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

* Improve docs

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-21 20:49:25 +10:00