George Wang
eaca3d06f6
Update zypper.go ( #2593 )
...
Add package(webkit2gtk3-soup2-devel) for `libwebkit`.
Change environment variable before running command to query information
of the package.
2023-04-16 10:00:39 +10:00
stffabi
39a7ab5856
[assetserver, linux] Add support for WebKit2GTK 2.40+ features ( #2592 )
2023-04-14 11:16:27 +02:00
stffabi
ec3da8b7ef
[v2, darwin] Fix updating the menu on runtime ( #2588 )
2023-04-14 00:14:19 +10:00
stffabi
b64b2a8da1
[v2, dev] Fix skipbindings flag in wails dev ( #2584 )
2023-04-13 07:45:49 +10:00
Misite Bao
5e3c736bee
feat(cli): add Nodejs version in wails doctor
( #2546 )
...
* feat(cli): add Nodejs version in `wails doctor`
* Added check for output length
* docs: update changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 07:11:37 +10:00
Misite Bao
eddc949295
fix: fix console printing ( #2483 )
2023-04-01 18:22:27 +11:00
stffabi
db527c0fc2
[assetserver] Add linux platform implementation ( #2543 )
2023-03-31 10:08:31 +02:00
Lea Anthony
eb36258c73
Merge branch 'master' into v3/plugins
2023-03-27 20:58:00 +11:00
Lea Anthony
5949e305ea
Reorder startup sequence
...
Add plugin scripts to asset server
Add InjectJS support in plugins
2023-03-24 08:43:00 +11:00
Lea Anthony
e2b7b68ec9
v2.4.1
2023-03-20 20:31:35 +11:00
stffabi
47af68a8cb
[windows] Allow single-clicks on wails-draggable items ( #2482 )
...
* [runtime] Make it possible to restore old drag behaviour on windows with window.wails.flags.deferDragToMouseMove
* [runtime] Use deferDragToMouseMove as new default
This enhanced version should work well in all cases for Windows:
- No lag/delayed start of dragging
- Double-Clicks and Single-Click events still work in JavaScript on elements
* [docs] Add changelog
2023-03-20 08:45:21 +01:00
stffabi
6ed0eb217d
[webview2] Fix error handling in CreateWebResourceResponse ( #2496 )
...
The old error handling fails on WebView2Runtimes > 110.0.1587.69 and
will show a "connection refused" page and reloads after a short time.
After the reload everything worked as expected again.
2023-03-16 10:49:59 +01:00
stffabi
5dba18c853
[dev] Fix panic in devserver when using the logger ( #2481 )
2023-03-13 08:12:09 +01:00
Lea Anthony
eb670f4ba1
Merge branch 'master' into feature/v3-parser
...
# Conflicts:
# v3/go.mod
# v3/go.sum
2023-03-09 08:22:47 +11:00
Lea Anthony
ebc14debdf
Release/v2.4.0 ( #2470 )
...
* Release v2.4.0
* Add docs
2023-03-08 23:27:23 +11:00
dependabot[bot]
5e88d8d8cf
Bump golang.org/x/net in /v2/internal/staticanalysis/test/standard ( #2458 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20221014081412-f15817d10f9b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:51 +11:00
dependabot[bot]
5c7bfc3557
Bump golang.org/x/crypto in /v2 ( #2459 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:35 +11:00
dependabot[bot]
8f27685ebd
Bump golang.org/x/crypto in /v2/examples/customlayout ( #2466 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:10 +11:00
dependabot[bot]
f59ce04ac2
Bump golang.org/x/image in /v2 ( #2463 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20201208152932-35266b937fa6 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-03-08 08:25:07 +11:00
dependabot[bot]
1d9bb20584
Bump golang.org/x/net in /v2/examples/customlayout ( #2465 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:24:26 +11:00
dependabot[bot]
f551ebdffa
Bump github.com/tidwall/gjson from 1.8.0 to 1.9.3 in /v2 ( #2464 )
...
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson ) from 1.8.0 to 1.9.3.
- [Release notes](https://github.com/tidwall/gjson/releases )
- [Commits](https://github.com/tidwall/gjson/compare/v1.8.0...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:22:32 +11:00
dependabot[bot]
3afc7f7763
Bump golang.org/x/net in /v2 ( #2457 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:09:59 +11:00
stffabi
c11c32940e
[events] Fix race condition and missing unlock of mutex ( #2453 )
2023-03-07 10:40:33 +01:00
Lea Anthony
26530a0f5a
Fix reserve word check.
...
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
stffabi
d7a8406640
[options] Mergo doesn't play well with reference types ( #2452 )
...
Remove mergo and just use a simple hardcoded defaults approach.
2023-03-07 07:04:37 +01:00
Rachel Chen
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper ( #2434 )
2023-03-01 07:37:09 +01:00
stffabi
c6146ccbf8
[darwin] Fix undo/redo ( #2430 )
2023-02-28 19:41:18 +11:00
Lea Anthony
bcde850bac
Revert changes to file output
2023-02-26 15:11:24 +11:00
Lea Anthony
76371fcb27
Refactor recent mac updates ( #2419 )
2023-02-25 20:28:27 +11:00
Hao
0212698714
Patch 1 ( #2352 )
...
* update function notifyListeners in events.js
newEventListenerList will delete wrong listener if it call splice method in for-loop.
* Update events.js
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-25 12:58:59 +11:00
Gwyn
017ce1e33e
The outputFile was only being set for darwin universal builds. I move… ( #2358 )
...
* The outputFile was only being set for darwin universal builds. I moved the
variable assignment to a location where it will take place for all builds.
The ProjectData entries are used in generating the .app plist file, so
setting them here ensures that the app will run with the custom binary name.
* Increases the reach of the output flag.
* Updates the changelog with a record of this fix.
2023-02-25 06:13:27 +11:00
dependabot[bot]
2686d5c61a
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2/examples/customlayout ( #2409 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-23 20:04:29 +11:00
dependabot[bot]
42f43462e8
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2 ( #2408 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 20:02:19 +11:00
stffabi
0f57292555
[darwin] Add a macOS version guard for opening the web inspector ( #2397 )
...
Log if the inspector could not be opened due to missing or
incorrect private API.
2023-02-22 20:55:40 +11:00
stffabi
cccd708b2b
[assetserver] Add more builtin mimetypes by extension ( #2391 )
2023-02-21 18:20:01 +11:00
stffabi
260fd061f6
[nsis] Adjust template to install shortcuts for all users ( #2373 )
2023-02-13 18:40:42 +11:00
Lea Anthony
5dbda4aead
Feature: AssetServer Runtime ( #2335 )
...
* Tidy up runtime JS
* Initial implementation of runtime over http
* Update runtime deps. Fix test task.
* Support Clipboard.
Message Processor refactor.
* Add `Window.Screen()`
Clipboard `GetText` -> `Text`
* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
* Support SaveFile dialog
* Remove go.work
* Tidy up
* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
* Support application calls
* Support logging
* Support named windows
Remove debug info
* Update v3 changes
2023-02-06 20:50:11 +11:00
Adam Tenderholt
88549a14ac
Fix differeng bugs when generating bindings ( #2326 )
...
* Bindings: work in better typescript generation
* More work on generating typescript
* Bindings: fix a couple of failing tests
* Binding: fix map bindings
* Bindings: comment out debug statement
* Bindings: misc cleanup
2023-01-26 18:40:05 +11:00
Sebastian Bauer
180eef34a2
Remove all systray related for v2. ( #2329 )
...
Possible fix for #2265 . Close systray separately after the application ran.
2023-01-26 18:11:31 +11:00
Oleg Gulevskyy
651a1a5d66
Bugfix: Include ts pref & suffixes in module generation ( #2227 )
...
* include ts gen pref and suff in class fields
* fix nested namespaces not prefixed
* add basic unit test for parent child
* test for diff namespaces imports
* make entityReturn type func more generic
* get full entity name for TS args list
* fix failing test on empty struct
* wire up gen tests
* remove comment
* remove redundant line
2023-01-23 21:18:17 +11:00
Sebastian Bauer
895d6d4b80
Size() calculates DPIs back to default space. ( #2325 )
2023-01-22 15:25:26 +11:00
Lea Anthony
81645190f0
merge exp branch
2023-01-18 21:42:49 +11:00
stffabi
45c3a501d9
[cli] Fix applying default arch to platform flag ( #2309 )
2023-01-17 20:39:15 +01:00
stffabi
caa0b6c804
[assetServer, darwin] Use AssetServer native WKWebView request handling ( #2283 )
2023-01-16 13:02:18 +01:00
stffabi
8f92cf1074
[assetHandler] Allow middleware to set the content-type for an assets file ( #2286 )
2023-01-16 21:05:25 +11:00
Gwyn
8c7fa4cf4c
Updates all default gitignore templates to be newline terminated. ( #2306 )
...
This allows echoing new patterns to the end of the file without
causing a string concatenation error.
2023-01-16 21:02:52 +11:00
stffabi
0a98efeea9
[runtime] Improve —wails-draggable
by starting a drag immediately but only for the first click in a series ( #2302 )
...
This removes the sometime lagging experience when
starting to drag on Windows. But it's still possible to use
double-click events for adding e.g. a WindowToggleMaximise.
2023-01-16 20:56:13 +11:00
stffabi
d15e673a19
[windows] Some improvements to fullscreen ( #2299 )
2023-01-15 06:14:15 +01:00
stffabi
aaf039bcff
[windows] Disable frameless decorations during fullscreen ( #2288 )
...
Otherwise this leads to thin transparent lines on the window borders on older Windows versions.
2023-01-11 15:22:48 +01:00
stffabi
05679e70d0
[runtime] Frameless resize now sets the cursor on documentElement ( #2289 )
...
Otherwise if the body does not cover the full viewport the cursor won't
be shown outside of its rectangle.
2023-01-10 13:19:09 +01:00