5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 19:39:59 +08:00
Commit Graph

2802 Commits

Author SHA1 Message Date
stffabi
72d019cb48
[v2, windows] Pass the correct installationStatus to the webview installation strategy (#1483)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-22 20:50:45 +10:00
Lea Anthony
91ed594049 Update feature request template 2022-06-22 20:46:00 +10:00
stffabi
4493a05fb9
[v2] AssetsHandler remove retry logic in dev mode (#1479) 2022-06-22 20:06:20 +10:00
Lea Anthony
f8eac34212
Bugfix: Don't stop if unable to remove temporary bindings build (#1465) 2022-06-22 08:40:30 +10:00
Lea Anthony
1687906376
Improve theme change at runtime (#1473)
* Improve theme change at runtime

* Handle change to dark mode

* Refactor theme calculation

* Ensure theme is updated for WM_ACTIVATE and WM_SETTINGCHANGE events
2022-06-22 08:34:41 +10:00
Lea Anthony
381909696b
[Windows] Add Suspend/Resume callback support (#1474)
* Add Suspend/Resume callback support

* Fix comment
2022-06-22 06:37:18 +10:00
Lea Anthony
c477100374
Add BackgroundColour and deprecate RGBA (#1475) 2022-06-21 19:47:05 +10:00
Lea Anthony
cb169611b1
Set Window Background colour if provided + debounce redraw option (#1466)
* Set Window Background colour if provided. Added debounce option for Webview2 redraw on resize

* [windows] Workaround resize flickering in frameless mode

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-06-20 17:47:13 +10:00
Lea Anthony
4dd1be5252 Update sponsors 2022-06-19 13:38:25 +10:00
Lea Anthony
a7f1ea21ef Bugfix: Better support for showing window 2022-06-19 13:32:48 +10:00
Lea Anthony
e4f2bfe699 Bugfix: Windows start maximised
Fixes #1462
2022-06-18 16:21:32 +10:00
Lea Anthony
9bd765d2c8 Update README.md 2022-06-18 15:33:34 +10:00
Lea Anthony
d77c556c4e Update Sponsors 2022-06-18 15:31:29 +10:00
Abtin
9a01c757bd
Fix apt command syntax (#1458) (#1461) 2022-06-18 09:26:22 +10:00
Andreas Wenk
41051e8848
fix the url to surge (#1460)
fix the url to surge in the docs
2022-06-18 09:24:19 +10:00
stffabi
884773a218
[v2, windows] Fix WebView2 minimum runtime version check (#1456)
* [v2, windows] CompareBrowserVersions needs a int32 pointer

Otherwise 4294967295 will be returned instead of -1 and the
minimum version check can't detect an older version.
So an older version than the minimum might be used and will
result in AccessViolationExceptions.

* [v2, windows] Use the correct minimum runtime version for SDK 1.0.992.28

The Webview2Loader.dll are already at version 1.0.992.28 for all platforms.
2022-06-16 18:43:19 +10:00
Luken
1e54eb2eaf
Fix small typo in docs (#1449) 2022-06-13 08:53:49 +10:00
Lea Anthony
cb4ba5bca6
Add Typescript troubleshooting guide 2022-06-12 14:57:45 +10:00
stffabi
664f6a952c
[v2, windows] Unlock OSThread after native calls have been finished (#1441)
* [v2, windows] Remove unnecessary LockOSThread

Form.Invoke makes sure the call is on the correct thread and does
lock the OSThread during the call.

* [v2, windows] Unlock OSThread after native calls have been finished

This makes sure the OSThread can be reused by other go
routines after a native call has been finished. Otherwise the
OSThread will be destroyed as soon as the goroutine has
finished.
2022-06-08 20:56:07 +10:00
Lea Anthony
fe341741b5
Always use return in wrapped method (#1410) 2022-06-06 00:41:44 -10:00
Marcus Crane
cd162918d4
Add showcase entry for October + update homepage carousel entry for October (#1436)
* Add showcase entry for October

* Update home carousel image for October
2022-06-02 01:59:33 -10:00
Lea Anthony
6a07cbd505 Move go-common-file-dialog into project. Fix Title bug. 2022-06-01 21:00:52 +10:00
stffabi
614f50d5d3
[v2, windows] Load WebView2 loader from embedded only (#1432) 2022-05-31 10:00:02 -10:00
Jae-Sung Lee
f292e221f1
Create gitignore when using g option (#1430)
* Create gitignore when using g option
2022-05-31 20:29:20 +10:00
stffabi
2a0673f99f
[v2, linux] Improve switching to main thread for callbacks (#1392)
Make sure no pointers to the stack are passed to g_idle_add,
because at the time the callback gets executed on the
main thread, the pointer might be invalid.
Go might have reused the stack or grown the stack and the
pointer is invalid.

The concept used on Windows has been ported to Linux.
2022-05-31 20:28:37 +10:00
Zámbó, Levente
794a8ce19f
feature - support linux/arm (#1427) 2022-05-27 19:09:50 -10:00
Zámbó, Levente
f6425a64a6
feature - add race detector to build & dev (#1426) 2022-05-27 19:07:39 -10:00
Lea Anthony
b49dce8676
Update Changelog 2022-05-26 17:52:25 -10:00
Lea Anthony
6a88568f0a
v2.0.0-beta.37 2022-05-26 17:45:57 -10:00
Edward Browncross
a10a9e5b36
Add missing className to input in React and Preact templates (#1419)
* add missing className to input in react and preact templates

* add missing className to input in react and preact assets
2022-05-26 02:56:37 +10:00
刀刀
e7f9e2f267
docs: add macos custom menu EditMenu tips (#1423)
* docs: add macos custom menu EditMenu tips

On macos platform, if custom the menu, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
2022-05-25 08:49:04 +02:00
yuzu
316a24f6da
update runtime.d.ts & templates (#1421) 2022-05-24 21:20:53 +02:00
stffabi
c874e30339
Merge pull request #1413 from mondy/feature/nogen-flag 2022-05-23 10:40:46 +02:00
mondy
043d83e39e Add nogen flag in cli document. 2022-05-23 09:08:35 +09:00
Blake Bourque
7e64038265
Add blurb on wails generate module (#1414)
For users who wish to keep the wailsjs directory out of source control, the `wails generate module` command is valuable in a CI environment where wails build does not automatically generate the needed javascript module.
2022-05-23 08:43:18 +10:00
mondy
d4ecaad0e1 Add nogen flag in wails dev command 2022-05-21 14:22:18 +09:00
Lea Anthony
953bc09343
Merge pull request #1400 from wailsapp/feature/native-translucency
Initial support for new native translucency in Windows Preview
2022-05-18 18:52:45 +10:00
Lea Anthony
935f6871ab
Merge pull request #1406 from rayshoo/master
fix typo bindings.js to ipc.js
2022-05-18 17:38:17 +10:00
rayshoo
0d793124fd fix typo bindings.js to ipc.js 2022-05-18 15:58:33 +09:00
stffabi
c97e1c50af
[v2, linux] Make sure to execute the menu callbacks on a new goroutine (#1403)
* Make sure to execute the menu callbacks on a new goroutine
* Fix assertion message when opening file dialogs by passing the correct parent window
2022-05-17 20:45:48 +10:00
Lea Anthony
35b1dfdd2a
Merge pull request #1394 from LGiki/add-template-nextjs
Add Next.js template
2022-05-13 20:57:32 +10:00
LGiki
e705c20de9
Add Next.js template 2022-05-13 14:33:07 +08:00
stffabi
ae25b38f9e
Merge pull request #1393 from LGiki/fix-typo-in-docs 2022-05-12 12:52:15 +02:00
LGiki
ec2202765c
fix: typo in docs 2022-05-12 09:50:16 +08:00
Lea Anthony
e0e55e6e76 Better website spacing 2022-05-11 20:18:53 +10:00
Lea Anthony
4d5f31ab84
Merge pull request #1391 from wailsapp/bugfix/typo
bugfix: correct typo
2022-05-11 13:09:23 +10:00
Travis McLane
b84fd76e86 bugfix: correct typo 2022-05-10 21:56:19 -05:00
Lea Anthony
55115742c1 fix: TS conversion of interface{} 2022-05-11 08:21:17 +10:00
Lea Anthony
f2f8ed2e99
Merge pull request #1390 from lambdajack/v2-events-fix
[v2] Events | fixes #1388
2022-05-10 21:06:53 +10:00
Jack Bizzell
d59bec171e Changing all occurrences of calls to OnMultiple() inside EventsOn() and EventsOnce() in the frontend definitions, to calls to EventsOnMultiple()
OnMultiple is undefined
2022-05-09 20:42:40 +01:00