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

1757 Commits

Author SHA1 Message Date
joshuapare
bc7b816c37
postfix [] in instance is element accessor, not array type declaration 2025-04-10 08:50:12 -05:00
Lea Anthony
2f389d99a8
Merge branch 'master' into fix-dev-skipmodtidy 2025-04-09 18:13:42 +10:00
dingda
8dc509f49b
Merge branch 'master' into bugfix/4109_restore_minimized_window 2025-04-09 11:18:51 +08:00
dingda.li
92a25c7dfd fix: suppress excessive console logs after updating to v2.10.1 2025-04-01 15:19:27 +08:00
josc146
59d8650a0f
Update dev.go 2025-03-20 16:33:04 +08:00
josc146
00e2f16971
Merge branch 'master' into fix-dev-skipmodtidy 2025-03-20 16:32:14 +08:00
josc146
ecf1c41db4 improve comment 2025-03-16 19:32:31 +08:00
josc146
915efa06bb fix -m build flag for dev command when recompile 2025-03-16 18:35:56 +08:00
josc146
4541cf0b3a add -skipembedcreate cli option 2025-03-16 18:26:26 +08:00
dingda.li
114c15197b fix(windows): correct window restoration behavior after minimization
- Replace SW_RESTORE with SW_SHOW flag
- Resolves #4109
2025-03-04 14:39:06 +08:00
Lea Anthony
b2f84d041c
Merge branch 'master' into master 2025-03-02 10:47:30 +11:00
Lea Anthony
54438a7644
v2.10.1 2025-02-24 18:56:38 +11:00
Lea Anthony
7aba2c3b95
Fix issues building with darwin/universal target (#4093)
Fixed issues building with `darwin/universal` target
2025-02-24 18:53:43 +11:00
Lea Anthony
f6aba688a9
Update runtime 2025-02-16 16:15:20 +11:00
Lea Anthony
8624da51f8
Fix listenerOff issue. 2025-02-16 16:13:00 +11:00
Lea Anthony
1fb6403e7d
v2.10 2025-02-15 09:10:13 +11:00
stffabi
49b524d169
[v2, darwin] Fix updating menus (#4057) 2025-02-10 20:59:16 +11:00
Lea Anthony
fa7c6d80a2
Fix ErrorCancelled typo 2025-02-08 13:03:38 +11:00
Lea Anthony
3605fdf42f
Update dependencies. Fix buildvcs compile error 2025-02-08 12:56:06 +11:00
Lea Anthony
98f3cc845f
Merge branch 'master' into master 2025-01-24 08:13:23 +11:00
Lea Anthony
4a1d101d04
Fix invalid path for windows dialogs (#4019)
* Fix invalid path for windows dialogs

* Update Go version in pipelines for v2
2025-01-23 22:12:37 +11:00
Atterpac
d824318a66
fix dev mode logging bug (#3972)
changelog.md

retain env support

actually fix the issue
2025-01-23 11:12:18 +00:00
Atterpac
00be6f24d2
[v2] Fix reloaddirs wails.json config (#4005)
fix reloaddirs config option

changelog.mdx
2025-01-23 11:11:29 +00:00
Ronen Lapushner
f82c971cb0 Added "Branding" to doctor 2025-01-21 21:18:10 +02:00
Ronen Lapushner
2aea5e2dae Added initial Windows 11-supporting branding 2025-01-21 21:15:24 +02:00
Lea Anthony
481c145cd3
Update deps 2025-01-20 21:51:11 +11:00
ronaldinho_x86
4598af4d7a
recover from process message instead crash the whole app (#4016)
* recover from process message instead crash the whole app

* update changelog.mdx (#4015)
2025-01-17 16:45:54 +11:00
Jeremy Jay
c4fdfd6415
Fix miscellaneous bindings and typescript export bugs (#3978)
* Do not attempt to export fields that cannot be json-encoded

* update changelog w/ PR

* also skip UnsafePointers

* WIP to allow conversion from Go generic types to typescript

* support for non-primitive generics also :)

* fix generic types in parameters / return args

* fixes a namespacing bug when mapping to pointer to struct

* fixing invalid knownstructs

* found a place it mattered, pushing the star replacement to the generate side

* descend as much as necessary to find structs

caught these examples in http.Request.TLS:

PeerCertificates []*x509.Certificate
VerifiedChains [][]*x509.Certificate

* accidently reverted other fix

* switch syntax for typescript record outputs

prior syntax is primarily useful for naming keys
so not useful here, and this syntax avoids square
brackets in output which greatly simplifies
generation for Go generics

* better handle edge cases for nested arrays and slices

* lots o tests

* update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-01-13 20:14:54 +11:00
Lea Anthony
3a4c3e7a7f
Ensure showHiddenFiles works with directory dialog (#3904)
Some checks failed
Build + Test v2 / Test Templates (1.22, ubuntu-22.04, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-22.04, vue-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, lit) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, lit-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, plain) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, preact) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, preact-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, react) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, react-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, svelte) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, svelte-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vanilla) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vanilla-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vue-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, lit) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, lit-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, plain) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, preact) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, preact-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, react) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, react-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, svelte) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, svelte-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vanilla) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vanilla-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vue-ts) (push) Blocked by required conditions
Upload Source Documents / Push files to Crowdin (push) Waiting to run
Semgrep / semgrep/ci (push) Has been cancelled
* Ensure showHiddenFiles works with directory dialog

* Updated docs
2025-01-11 14:35:12 +11:00
Jeremy Jay
7566ed4ba6
Do not attempt to export fields that cannot be json-encoded (#3975)
Some checks are pending
Build + Test v2 / Test Templates (1.22, ubuntu-22.04, vanilla-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-22.04, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-22.04, vue-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, lit) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, lit-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, plain) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, preact) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, preact-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, react) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, react-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, svelte) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, svelte-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vanilla) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vanilla-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, ubuntu-24.04, vue-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, lit) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, lit-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, plain) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, preact) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, preact-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, react) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, react-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, svelte) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, svelte-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vanilla) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vanilla-ts) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vue) (push) Blocked by required conditions
Build + Test v2 / Test Templates (1.22, windows-latest, vue-ts) (push) Blocked by required conditions
Upload Source Documents / Push files to Crowdin (push) Waiting to run
* Do not attempt to export fields that cannot be json-encoded

* update changelog w/ PR

* also skip UnsafePointers

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-01-10 15:11:13 +11:00
562589540
461d34c620
fix: prevent unnecessary redraws during window minimize/restore (#3955)
* fix: prevent unnecessary redraws during window minimize/restore

This fixes the window flickering issue when minimizing/restoring by:
1. Adding isMinimizing flag to track window state
2. Adding SetPadding filter to prevent redundant redraws
3. Properly handling minimize/restore window states

Fixes #3951

* docs: improve comments and changelog for frameless window flickering fix

- Add detailed comments about frameless window fix
- Update changelog to clarify this is a frameless window issue
- Add bilingual comments for better understanding

Fixes #3951

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-12-26 16:13:46 +11:00
lvyaoting
dd4aa56310
chore: fix some comments (#3932)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-12-06 14:35:46 +11:00
Lea Anthony
2c45ae69bb
Update go-webview2 to v1.0.18. 2024-12-02 07:48:38 +11:00
Lea Anthony
63e1f3c09c
Fix TS definition of WindowSetSize 2024-11-23 22:07:51 +11:00
dependabot[bot]
86e3d51c8e
Bump the go_modules group across 2 directories with 1 update (#3408)
Bumps the go_modules group with 1 update in the /v2/examples/customlayout directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /v2/internal/staticanalysis/test/standard directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-17 20:55:06 +11:00
Lea Anthony
e573bf4df9
Update go.sum 2024-11-03 14:44:58 +11:00
Lea Anthony
157c8fdbc7
Update to go-webview 0.1.17 2024-11-02 20:29:34 +11:00
Lea Anthony
f08f4be868 Rebuild runtime js 2024-10-20 14:17:49 +11:00
Andrey Pshenkin
a964be1ada
Allow to specify macos-min-version externally (#3756)
* Allow to specify macos-min-version externally

* update changelog

* add note in documentation for macos version

* spelling fixes
2024-10-20 14:09:39 +11:00
Andrey Pshenkin
1b6ed1bc00
Allow set window class name via options for Windows (#3828)
* Allow set window class name via options

* update changelog
2024-10-20 13:36:13 +11:00
fcying
8a5a0506bf
fix: pass platform and arch to GenerateBindings for cross compilation (#3795) 2024-10-10 20:17:43 +11:00
nick-bae
bd2c1ea73f
bugfix : fix error on building runnable .app on MacOS when 'name' and 'outputfilename' are different. (#3789)
* mod : added OutputFilename field to assetData \n mod : modified resolveProjectData to export OutputFilename \n mod : modified CFBundleExecutable values to .OutputFilename in info.dev.plist, info.plist

* mod : update changelog.mdx

---------

Co-authored-by: nick-bae <nick.bae@ddkakaoenterprise.com>
2024-09-29 03:06:27 +00:00
Lea Anthony
f302c8053c
v2.9.2 2024-09-18 21:29:21 +10:00
pagal
5d2b4308a8
Removed unnecessary files. Fixes #3737 (#3738)
Removed unnecessary files.

Issue was fixed via #1813 and the extra readmes is not needed anymore
2024-09-09 08:38:14 +10:00
Lea Anthony
3721d73423
More syscall fixes (#3713)
* More syscall fixes

* Update changelog.mdx
2024-09-02 19:34:22 +10:00
Lea Anthony
475534c132
V2 bugfix/windows syscall go 1.23 (#3707)
* Initial test

* Fix calls

* Update changelog.mdx

* Free allocated strings

* Misc fixes
2024-08-28 19:24:59 +10:00
Mohamed Feddad
f8c8611219
Fix drag and drop missing cursor icon (#3703)
* fix: darg and drop missing cursor icon

* chore: update change log
2024-08-25 20:16:09 +10:00
Mohamed Feddad
4b6a8e17c5
fix: failsafe JavaScript event emitter notifyListeners (#3695)
* fix: failsafe JavaScript event emitter `notifyListeners`

* chore: update change log
2024-08-20 21:00:54 +00:00
Lea Anthony
3f83b42db5
FIX: Address Mac CGO Crash (#3590)
* Copy request to Go memory

* Update changelog.mdx

* Update v2/pkg/assetserver/webview/responsewriter_darwin.go

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

* Fix import

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-08-20 18:12:56 +10:00
Lea Anthony
9995dae4ad
Nil pointer check for DnD (#3597)
* Nil pointer check for DnD

* Update changelog
2024-08-18 21:04:02 +10:00