leaanthony
c3faf60707
docs: format document
2023-06-09 00:41:43 +00:00
github-actions[bot]
3dbe6e96c1
chore: update sponsors.svg ( #2701 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-09 10:40:39 +10:00
Lea Anthony
28a2b4fbd9
[v2] Update go mod dependency versions
2023-06-09 10:15:21 +10:00
5aaee9
6d857bf61a
windows/nsis: add hidpi support for nsis installer ( #2694 )
...
* feat(windows/nsis): add hidpi support for nsis installer
* website: add changelog
2023-06-04 07:26:24 +10:00
github-actions[bot]
4814e65da2
docs: sync translations ( #2685 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-03 17:20:10 +10:00
github-actions[bot]
644dc653a9
chore: update sponsors.svg ( #2698 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-03 17:18:59 +10:00
dependabot[bot]
19932bf3ad
Bump @antfu/utils and unconfig in /scripts/sponsors ( #2696 )
...
Bumps [@antfu/utils](https://github.com/antfu/utils ) and [unconfig](https://github.com/antfu/unconfig ). These dependencies needed to be updated together.
Updates `@antfu/utils` from 0.5.2 to 0.7.4
- [Release notes](https://github.com/antfu/utils/releases )
- [Commits](https://github.com/antfu/utils/compare/v0.5.2...v0.7.4 )
Updates `unconfig` from 0.3.7 to 0.3.9
- [Release notes](https://github.com/antfu/unconfig/releases )
- [Commits](https://github.com/antfu/unconfig/compare/v0.3.7...v0.3.9 )
---
updated-dependencies:
- dependency-name: "@antfu/utils"
dependency-type: indirect
- dependency-name: unconfig
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 07:52:41 +10:00
Misite Bao
d3a4d89786
chore: add Prettier as format tool ( #2689 )
2023-05-30 07:40:54 +10:00
Lea Anthony
84919468ba
[v2 docs] Fix cli.mdx
2023-05-27 13:30:24 +10:00
Misite Bao
bd5b7e5e3f
feat(website): update the Crowdin branch ( #2688 )
2023-05-27 12:51:43 +10:00
Lea Anthony
4f3dc1b0e1
[v2 docs] Fix changelog + cli options.
2023-05-27 12:49:10 +10:00
Marvin Wendt
65c68301a0
Change style of doctor command ( #2660 )
...
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Added changelog entry
2023-05-26 17:55:53 +10:00
Misite Bao
37e43dabc0
docs: improve documentation ( #2686 )
...
* docs: fix changelog format
* fix: fix release tools
* chore: set sync translated documents as a scheduled task
2023-05-26 17:49:50 +10:00
github-actions[bot]
ec19458c1b
docs: sync translations ( #2616 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-05-25 18:43:31 +10:00
Amin Yahyaabadi
35eb1e0160
fix: avoid app crashing when the Linux GTK key is empty ( #2672 )
...
* fix: avoid app crash when the Linux GTK key is empty
Fixes this error:
```
DEBUG | Log dir is: /root/.config/surrealdb_explorer/log.txt
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running, locked to thread]:
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.parseKey({0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:87 +0xa5
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.acceleratorToGTK(0xc0001c5f20)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:72 +0x2c
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenuItem(0x866bc0?, 0xc0001c8a80, 0xc0001c8a80?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:159 +0x40b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processSubmenu(0xc0001c8a20, 0x79a2a9?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:99 +0xdc
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenu(0xc00021f6c0, 0x12?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:82 +0x46
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.(*Window).SetApplicationMenu(0xc00021f6c0, 0xc000128dc8)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:75 +0x1b6
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewWindow(0xc00011ba40, 0x0)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/window.go:126 +0x37b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewFrontend({0x1cea4e8?, 0xc00023b890}, 0xc00011ba40, 0xc000128e40, 0xc0001c8b40, {0x1ce7480?, 0xc000139840})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/frontend.go:182 +0x5c5
github.com/wailsapp/wails/v2/internal/frontend/desktop.NewFrontend(...)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/desktop_linux.go:16
github.com/wailsapp/wails/v2/internal/app.CreateApp(0xc00011ba40)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/app/app_production.go:84 +0x5a5
github.com/wailsapp/wails/v2/pkg/application.(*Application).Run(0xc000131940)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/pkg/application/application.go:57 +0x29
wails_vue/backend.BootApplication(0xc000131640, 0xc000138a40, 0xc0001c5320, 0xc0001c55c0, 0xc000128b40, 0xc00012ec30, 0xc000131880)
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/backend/Application.go:103 +0x718
reflect.Value.call({0x874160?, 0x1c761f0?, 0xc000138a00?}, {0x8e263d, 0x4}, {0xc0001584d0, 0x7, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:586 +0xb0b
reflect.Value.Call({0x874160?, 0x1c761f0?, 0x1c761f0?}, {0xc0001584d0?, 0x0?, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:370 +0xbc
github.com/Envuso/go-ioc-container.(*Invocable).CallMethodWith(0xc000138a00, 0x1c761f0?, {0x0?, 0x1cef290?, 0x8bd180?})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/invocable.go:149 +0xad
github.com/Envuso/go-ioc-container.(*ContainerInstance).Call(0xc00011c630?, {0x874160?, 0x1c761f0?}, {0x0, 0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/container_invocation.go:30 +0x6c
main.main()
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/main.go:34 +0x112
```
* fix: merge the key length comparison
2023-05-25 18:40:37 +10:00
github-actions[bot]
12a9ff17d6
chore: update sponsors.svg ( #2683 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-25 17:05:48 +10:00
Lea Anthony
a7116ff5e7
[website] Add windows icon troubleshooting guide
2023-05-21 17:55:38 +10:00
Lea Anthony
62d97f85ec
v2.5.1
2023-05-16 19:43:41 +10:00
stffabi
496461920f
[v2] DevServer improvements and fixes ( #2664 )
...
* [assetserver, darwin] Fix copying request headers by using strdup
* [assetserver, linux] Fake some basic http headers for legacy webkit2 versions to support proxying requests to other servers
This fixes the devserver on v2 for newer vite versions that use the custom
scheme.
* [v2, windows] 304 responses are going to hang the WebView2 so prevent them by removing cache related headers in the request.
* [v2, dev] Now uses the custom schemes `wails://` on macOS and Linux for all Vite versions.
Prevent missing reload after fast multiple savings on Linux and Windows.
2023-05-16 09:35:48 +02:00
stffabi
22b53192e6
[v2, webview2loader] Prevent env and registry overrides when using the go loader ( #2668 )
2023-05-15 21:12:16 +02:00
Lea Anthony
c1a0e1338f
Add PR template
2023-05-14 08:46:57 +10:00
Lea Anthony
7266f2a78a
Add PR template
2023-05-14 08:42:03 +10:00
Lea Anthony
774cbdec38
Update changelog.mdx
2023-05-13 14:49:07 +10:00
Lea Anthony
ba6b28b3c2
v2.5.0
2023-05-13 14:18:06 +10:00
Misite Bao
3d68ef0115
chore: update channel ( #2648 )
2023-05-13 13:48:11 +10:00
github-actions[bot]
0342023990
chore: update sponsors.svg ( #2656 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-13 13:44:15 +10:00
github-actions[bot]
2922a98f7c
chore: update sponsors.svg ( #2650 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-06 11:16:28 +10:00
Misite Bao
b82be31d7e
chore: remove the v1 content ( #2641 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-05-04 18:36:01 +10:00
github-actions[bot]
8d7c033a66
chore: update sponsors.svg ( #2643 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-03 19:52:34 +10:00
Misite Bao
516c4853f9
feat(cli): use Spinner instead of Print ( #2637 )
2023-05-01 22:57:10 +10:00
LGiki
832d6bc4d3
[v2, linux] Fix StartHidden option not working on Linux ( #2624 )
...
* fix: StartHidden option not working on Linux
* chore: add an entry to the changelog
2023-04-30 01:20:39 +10:00
dependabot[bot]
fa0afe92f0
Bump yaml from 2.2.1 to 2.2.2 in /v3/internal/runtime ( #2623 )
...
Bumps [yaml](https://github.com/eemeli/yaml ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-29 20:42:50 +10:00
github-actions[bot]
ea40cf8705
chore: update sponsors.svg ( #2630 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-28 18:27:29 +10:00
stffabi
3853d2d1bf
[v2, windows] Handle webview2 process crashes and add DisableWebViewRendererCodeIntegrity flag ( #2627 )
...
* Add flag to disable webview RendererCodeIntegrity checks
* Handle webview2 process crashes
2023-04-27 23:03:26 +02:00
Dominic Lee
d249c2207b
fix: parse struct references for type generation ( #2552 )
...
* fix: parse struct references for type generation
* chore: update changelog for typescript generation fix
2023-04-26 23:23:39 +10:00
stffabi
0bf41090b0
[v2, darwin] Add some missing default shortcuts ( #2586 )
...
* [v2, darwin] Add "Hide, Hide Others, Show All“ to appmenu
This also includes shortcuts support for those commands.
Arrange the menu items in the well known MacOS order.
* [v2, darwin] Add Window menu with well known shortcuts Minimize, Full-Screen and Zoom.
2023-04-20 12:38:32 +02:00
stffabi
529ec569f7
[v2, dev] Use custom schemes for in-app dev mode ( #2610 )
...
This fixes some long-standing inconsistencies between
dev mode builds and production builds but is a breaking
change. Dev mode uses custom scheme for Vite versions >= 3.0.0
and for older it still behaves in the old way.
2023-04-20 12:37:40 +02:00
stffabi
7c1490a8b1
[assetServer] Improve release/close handling of webview requests ( #2612 )
2023-04-20 12:06:37 +02:00
github-actions[bot]
c7e5608a60
docs: sync translations ( #2581 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-04-17 23:48:27 +10:00
Misite Bao
d8d4997532
chore: optimize website building process ( #2601 )
...
* chore: remove pnpm from dependencies
* chore: upgrade devDependencies
* chore: set Nodejs version
2023-04-17 20:54:06 +10:00
github-actions[bot]
a1cc41c926
chore: update sponsors.svg ( #2603 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-17 20:51:33 +10:00
stffabi
767bfcff89
[v2, windows] Make sure to open the CommonFileDialogs on the main thread ( #2606 )
...
Otherwise it might have some strange side-effects like blocking
the completion of Deferrals in WebView2 when using custom
IStreams.
2023-04-17 20:50:27 +10:00
Lea Anthony
46bcce7566
[website] Upgrade pnpm-lock.yaml
2023-04-16 20:58:19 +10:00
Lea Anthony
c4609efe01
[website] Upgrade pnpm
2023-04-16 20:26:43 +10:00
Lea Anthony
cc6518f984
Remove label-sponsors workflow for now
2023-04-16 20:22:56 +10:00
Lea Anthony
69d3a3f639
Remove generate-contributors workflow for now
2023-04-16 20:21:45 +10:00
Joshua Hull
489689b477
Use json.Marshal instead of strconv.Quote to correctly support unicode ( #2509 )
...
* Use json.Marshal instead of strconv.Quote to correctly support unicode
* Add fix to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-16 10:19:40 +10:00
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
Matthew Davis
b302064f2f
Feature/templates/angular15 ( #2595 )
...
* added new angular template
* removed 2-year old template
* renamed to wails-template-angular from wails-angular-template
* added previous template back
2023-04-16 09:58:36 +10:00
Lea Anthony
67063d419c
Update generate-contributors.yml
2023-04-15 20:40:45 +10:00
github-actions[bot]
03cef1887f
chore: update sponsors.svg ( #2596 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-15 18:14:43 +10:00
Lea Anthony
929593c5b8
Update generate-contributors.yml
2023-04-14 20:16:01 +10:00
Lea Anthony
57e718af68
Update generate-contributors.yml
2023-04-14 20:10:29 +10:00
github-actions[bot]
f96aab0d44
chore: update sponsors.svg ( #2591 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-14 20:08:52 +10:00
Lea Anthony
140e3b5947
Update generate-contributors.yml
2023-04-14 20:05:45 +10:00
Lea Anthony
a8339c9e93
Update generate-contributors.yml
2023-04-14 20:04:12 +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
1979bca0f5
chore: fix pnpm environment settings ( #2580 )
2023-04-12 22:21:25 +10:00
Misite Bao
0f791c71f4
fix: fix website build and add taskfile ( #2577 )
...
* chore: update dependencies
* docs: update source documents
* chore: use Taskfile instead of scripts
2023-04-12 21:36:01 +10:00
Travis McLane
fbe7d4de6b
Bugfix/remove miniaturize ( #2579 )
...
* remove duplicate 'minimize' from interface
already covered by 'minimise'
* [darwin] remove windowMiniaturize
duplicates the logic in windowMinimise
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-12 21:34:31 +10:00
stffabi
c8d203d4d6
[v3, darwin] Fix leaking WebKit processes on Window close ( #2574 )
...
* [v3, darwin] Fix leaking WebKit processes on Window close
* [v3] Remove window from window map if closed
[v3] Implement `HideOnClose` and ensure it isn't removed when closed
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-12 21:33:00 +10:00
Lea Anthony
f335cbd608
Update generate-contributors.yml
2023-04-12 08:44:17 +10:00
Lea Anthony
b67d1e72a7
Update generate-contributors.yml
2023-04-12 08:41:28 +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
Lea Anthony
abc8f71a8d
Update generate-contributors.yml
2023-04-11 21:29:41 +10:00
Lea Anthony
cf8bb49093
Update generate-contributors.yml
2023-04-11 21:25:36 +10:00
Lea Anthony
3f62fa0d86
Update credits.mdx
2023-04-11 20:46:45 +10:00
Lea Anthony
8b977bcab4
Update generate-contributors.yml
2023-04-11 20:46:28 +10:00
Lea Anthony
3a1aeaab94
Update generate-contributors.yml
2023-04-11 20:22:27 +10:00
Travis McLane
a7bf359930
update wml events to be parseable ( #2561 )
...
* update wml events to be parseable
* [v3] Rename `CustomEvent` to `WailsEvent` to prevent clashing with the standard JS `CustomEvent` object
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-11 18:28:06 +10:00
github-actions[bot]
9574bfc054
chore: update sponsors.svg ( #2566 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-11 18:26:28 +10:00
希嘉嘉
739ca98597
Update templates.mdx ( #2571 )
2023-04-10 22:00:04 +10:00
Lea Anthony
424e4fc2e8
[v3] Add ability to get window by name
2023-04-07 19:47:01 +10:00
Misite Bao
7f1093dc51
chore: update auto workflows ( #2555 )
...
* chore: update workflows
* chore: update Taskfile
* chore: add lable to auto-sync pr
2023-04-07 18:19:14 +10:00
Lea Anthony
a998465034
[v3] Update start_at_login plugin to allow better compilation on Linux
2023-04-06 08:29:20 +10:00
Lea Anthony
755e869fe7
[v3] Add start_at_login plugin
...
[v3] Fix plugin startup/shutdown order
2023-04-05 21:22:02 +10:00
Lea Anthony
7ecbc846b4
[v3] Improved plugin shutdown
2023-04-04 18:01:49 +10:00
Lea Anthony
767b7d6026
Check out repo for contributors workflow
2023-04-03 08:43:57 +10:00
Lea Anthony
086953bbe9
Do not directly commit contributors sag
2023-04-03 08:39:42 +10:00
Lea Anthony
c51df752a1
Create PR for contributors SVG
2023-04-03 08:37:46 +10:00
Lea Anthony
ea3b7ed9dd
Generate Contributors SVG
2023-04-03 08:33:55 +10:00
dependabot[bot]
ef6366af61
Bump webpack from 5.75.0 to 5.76.2 in /website ( #2503 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.2 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:02:24 +11:00
dependabot[bot]
488666f407
Bump undici from 5.13.0 to 5.21.0 in /scripts/sponsors ( #2502 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.13.0 to 5.21.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.13.0...v5.21.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:00:55 +11:00
Simon Shutter
34fd76617e
annotated menu example and updated runtime.Quit call ( #2539 )
2023-04-01 21:50:29 +11:00
憧憬Licoy
1e8b938d15
fix obfuscate build param name ( #2542 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-01 21:48:03 +11:00
Lea Anthony
3404250ac8
[v3] Add single_instance plugin
2023-04-01 20:36:55 +11:00
Misite Bao
eddc949295
fix: fix console printing ( #2483 )
2023-04-01 18:22:27 +11:00
Misite Bao
49bd33e642
docs: update routing.mdx ( #2547 )
2023-04-01 16:05:09 +11:00
github-actions[bot]
78f638a9bc
docs: sync documents ( #2514 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-04-01 16:04:43 +11:00
github-actions[bot]
fef6e2a616
chore: update sponsors.svg ( #2535 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-01 16:03:09 +11:00
Noah Gorstein
2a22933220
docs: fix broken link for react router HashRouter ( #2544 )
2023-04-01 08:43:15 +11:00
Lea Anthony
eae4fe62cd
Merge branch 'v3/api-package'
2023-03-31 20:39:41 +11:00
stffabi
b3a9332a5b
[assetserver] Add linux platform implementation ( #2543 )
2023-03-31 20:39:13 +11:00
Lea Anthony
e91b7832ee
Provide types to runtime api
2023-03-31 20:37:50 +11:00
stffabi
db527c0fc2
[assetserver] Add linux platform implementation ( #2543 )
2023-03-31 10:08:31 +02:00
Lea Anthony
0d25edc0c4
Improved api package
2023-03-30 12:51:43 +11:00
Lea Anthony
eb36258c73
Merge branch 'master' into v3/plugins
2023-03-27 20:58:00 +11:00
Misite Bao
bdb138d42c
chore: fix push.yml ( #2530 )
2023-03-27 07:37:38 +11:00
Arpit Jain
abe6f520b4
Fix dates in changelog ( #2527 )
2023-03-26 16:19:12 +11:00
Adam Tenderholt
130fab6c01
Feature/v3 parser: expand TS model generation tests & some fixes ( #2485 )
...
* v3 parser: add tests for model generation
* v3 parser: use single quotes for got model.ts
* v3 parser: fixes for some failing tests
* v3 parser: misc simplification and cleanup
* v3 parser: fix model tests when no structs returned
* v3 parser: fix last failing test case
* Update contributors list
* v3 parser: update README
* Revert "Update contributors list"
This reverts commit f429d2ba890020d7ff0772e6207830508261b489.
* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
Lea Anthony
365aaf6bb1
Add sqlite plugin
2023-03-25 09:39:59 +11:00
github-actions[bot]
b5f1eab59b
chore: update sponsors.svg ( #2525 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-24 23:20:18 +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
github-actions[bot]
5988cdca9a
chore: update sponsors.svg ( #2517 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-23 19:33:04 +11:00
Lea Anthony
bf86b0d9c1
Add Window creation hooks
...
Add InjectJS() to plugins interface
2023-03-23 06:51:24 +11:00
Misite Bao
93d7c6b5f3
docs: optimize code block display style ( #2520 )
2023-03-22 21:54:08 +11:00
Lea Anthony
d5808fde59
Simple logging plugin
2023-03-22 20:56:45 +11:00
Lea Anthony
3ae604e474
Exported() -> CallableByJS()
2023-03-22 20:42:20 +11:00
Lea Anthony
42fb91bc73
Fix for variadic args in bound methods
2023-03-22 20:36:46 +11:00
github-actions[bot]
7d28ad1a3b
docs: sync documents ( #2510 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-21 17:47:23 +11:00
Lea Anthony
4165caa02e
Add Exported() []string to plugin API
2023-03-21 08:55:55 +11:00
Lea Anthony
b656bd2194
Prevent beeps when pressing a key in Mac window
2023-03-20 20:48:22 +11:00
Lea Anthony
a7278b4224
Update docs
2023-03-20 20:32:25 +11:00
Lea Anthony
e2b7b68ec9
v2.4.1
2023-03-20 20:31:35 +11:00
Lea Anthony
ba82f27534
Fix Bug with nil parameters.
...
Added browser and kvstore plugins.
2023-03-20 20:28:33 +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
github-actions[bot]
77f053068c
docs: sync documents ( #2504 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-19 20:37:06 +11:00
Lea Anthony
13f620ae54
Add plugin init. Update plugin signature.
2023-03-19 09:13:05 +11:00
github-actions[bot]
e3edea1cb3
chore: update sponsors.svg ( #2498 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-18 11:48:23 +11:00
Lea Anthony
c774af48b7
Extend call subsystem to support plugins
2023-03-18 09:12:44 +11:00
Lea Anthony
4300521064
Initial implementation
2023-03-18 08:11:36 +11:00
Filip Borkiewicz
a0b7eb4ab6
Fix incorrect rendering of FAQ section header ( #2497 )
2023-03-18 07:37:21 +11:00
Lea Anthony
86aaa3a956
Merge branch 'v3/central-assetserver' into v3/plugins
2023-03-17 17:03:21 +11: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
github-actions[bot]
a2c1c507e1
chore: update sponsors.svg ( #2492 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-16 19:27:23 +11:00
stffabi
74f349862e
[v3] AssetServer options update comments
2023-03-16 06:49:46 +01:00
stffabi
0e614b0194
[v3] Centralize the AssetServer and move it to the application
2023-03-16 06:49:45 +01:00
github-actions[bot]
4bffc57cb5
chore: update sponsors.svg ( #2488 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-14 17:32:25 +11:00
stffabi
5dba18c853
[dev] Fix panic in devserver when using the logger ( #2481 )
2023-03-13 08:12:09 +01:00
github-actions[bot]
4cd873fecb
docs: sync documents ( #2443 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-11 17:57:56 +11:00
Misite Bao
e339c40e85
feat: update sync translated document script ( #2479 )
2023-03-11 14:09:48 +11:00
github-actions[bot]
050ac9e613
chore: update sponsors.svg ( #2478 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-11 12:54:20 +11:00
Lea Anthony
58986237b9
[v3] Minor fixes to templates + improved Taskfile
2023-03-11 12:48:10 +11:00
Lea Anthony
7cb4c7b505
[v3] Improve init command
2023-03-10 08:05:13 +11:00
dependabot[bot]
e3816e714e
Bump golang.org/x/net in /v3/examples/binding ( #2472 )
...
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-09 20:07:11 +11:00
github-actions[bot]
1684894b52
chore: update sponsors.svg ( #2474 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-09 20:06:35 +11:00
Lea Anthony
e302d11f12
Update module deps
2023-03-09 08:23:20 +11: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
5e0ce40b41
Update TODO
2023-03-09 08:21:37 +11:00
Lea Anthony
ebc14debdf
Release/v2.4.0 ( #2470 )
...
* Release v2.4.0
* Add docs
2023-03-08 23:27:23 +11:00
github-actions[bot]
66bd24e184
chore: update sponsors.svg ( #2455 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-08 08:31: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]
30efebd76a
Bump golang.org/x/image from 0.0.0-20200430140353-33d19683fad8 to 0.5.0 ( #2467 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20200430140353-33d19683fad8 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: 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:29:38 +11:00
dependabot[bot]
fdda3d2238
Bump golang.org/x/image in /v3 ( #2460 )
...
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>
2023-03-08 08:25:36 +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
Lea Anthony
7340247e25
Create bindings file per package
...
Improved bindings tests
2023-03-07 18:22:33 +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
Lea Anthony
f1a7f1b781
Improved bindings generation
2023-03-06 20:54:04 +11:00
github-actions[bot]
17ff16c1ad
chore: update sponsors.svg ( #2449 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-06 19:10:57 +11:00
github-actions[bot]
ac4de2289a
chore: update sponsors.svg ( #2440 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-05 11:18:33 +11:00
Lea Anthony
71aa7c9731
Initial bindings.js generation
2023-03-03 19:54:12 +11:00
Lea Anthony
41860ade10
Update all-contributosrc
2023-03-02 08:22:33 +11:00
Lea Anthony
868b769e7f
Initial bindings generation
2023-03-01 21:31:29 +11:00
wander
29a4c28da4
add showcase ( #2435 )
2023-03-01 19:49:11 +11:00
Rachel Chen
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper ( #2434 )
2023-03-01 07:37:09 +01:00
Lea Anthony
8dc8c8e15e
Merge remote-tracking branch 'origin/feature/v3-parser' into feature/v3-parser
2023-02-28 20:35:39 +11:00
Adam Tenderholt
da90e74268
v3 parser: initial work on model generation w/ templates ( #2428 )
...
* v3 parser: initial work on model generation w/ templates
* v3 parser: expand models to namespaces
2023-02-28 20:35:18 +11:00
stffabi
c6146ccbf8
[darwin] Fix undo/redo ( #2430 )
2023-02-28 19:41:18 +11:00
Lea Anthony
443ea46d1d
Example bindings
2023-02-27 20:05:54 +11:00
github-actions[bot]
d66e75c456
chore: update sponsors.svg ( #2429 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-27 19:54:00 +11:00
Lea Anthony
00c458f948
Implement basic binding
2023-02-26 20:49:29 +11:00
Lea Anthony
33855ff01d
Add tests for bound structs returned by function calls.
2023-02-26 19:18:47 +11:00
Lea Anthony
bcde850bac
Revert changes to file output
2023-02-26 15:11:24 +11:00
Lea Anthony
f9ffe915f2
Add bindings hook
2023-02-26 15:06:05 +11:00
github-actions[bot]
393a4c9251
chore: update sponsors.svg ( #2424 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-26 13:14:25 +11:00
Lea Anthony
91676080eb
Support binding variables that were assigned by functions
2023-02-26 13:12:30 +11:00
Lea Anthony
6afb5260a7
Refactor parsing functions
2023-02-26 08:56:27 +11:00
Adam Tenderholt
0f80f031fd
v3 parser: add some more test cases (functions) ( #2422 )
...
* [v3] add test case for parser (create struct from func)
* [v3] add another test case for parser (func in other pkg) + misc
2023-02-26 07:46:26 +11:00
Lea Anthony
76371fcb27
Refactor recent mac updates ( #2419 )
2023-02-25 20:28:27 +11:00
dependabot[bot]
9b35926789
Bump cacheable-request from 10.2.5 to 10.2.7 in /v3/internal/runtime ( #2368 )
...
Bumps [cacheable-request](https://github.com/jaredwray/cacheable-request ) from 10.2.5 to 10.2.7.
- [Release notes](https://github.com/jaredwray/cacheable-request/releases )
- [Commits](https://github.com/jaredwray/cacheable-request/commits )
---
updated-dependencies:
- dependency-name: cacheable-request
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-25 13:01:23 +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
Watson-Sei
dcfd525dd1
ja translation of tutorials ( #2393 )
...
* ja translation of tutorials
* reset v2.3.1 md and moved translate md to current
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-25 12:52:16 +11:00
github-actions[bot]
01820d0e8e
chore: update sponsors.svg ( #2418 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-25 12:32:22 +11:00
Lea Anthony
3eaaf31803
Upgrade sponsorkit
2023-02-25 12:29:46 +11:00
github-actions[bot]
64ff075302
chore: update sponsors.svg ( #2416 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-25 10:02:34 +11:00
Lea Anthony
ecc1791420
Support bound variables (struct literals)
...
Factor out unaryexpression parsing
Fix package bleed between tests
2023-02-25 09:47:50 +11:00
Lea Anthony
4a8917ecbc
Add nested anonymous struct test
2023-02-25 08:27:36 +11:00
Lea Anthony
cc1a6a3d50
Support anonymous struct fields
2023-02-25 08:24:58 +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
Lea Anthony
cd11c0a83c
Support references to structs in other packages
2023-02-24 21:15:39 +11:00
Lea Anthony
8fd0e06c24
Use package path instead of name
2023-02-23 20:26:15 +11:00
dependabot[bot]
c20ccfb9a6
Bump golang.org/x/text from 0.3.0 to 0.3.8 ( #2404 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.0 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.0...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
...
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:05:25 +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
github-actions[bot]
6c2b0fcb02
chore: update sponsors.svg ( #2403 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-23 20:03:16 +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
Lea Anthony
4e5be36459
Parse structs bound from other packages
2023-02-22 20:36:30 +11:00
stffabi
cccd708b2b
[assetserver] Add more builtin mimetypes by extension ( #2391 )
2023-02-21 18:20:01 +11:00
Lea Anthony
6bfd654ec8
Tidy up. More tests.
2023-02-21 17:10:36 +11:00
Lea Anthony
dc0d99a8e9
Cover all type combinations
...
Fix bug in pointer type resolution
2023-02-21 07:52:29 +11:00
Lea Anthony
b606561f8d
Move struct cache into parsed package
...
Fix bug in package path calculation
2023-02-21 07:18:08 +11:00
Lea Anthony
d0769ecd1c
Parse Models
...
Support recursive fields
Add loads of tests
2023-02-20 20:36:58 +11:00
Lea Anthony
95bb15eef4
[v3] MUCH Improved parser for bound structs
2023-02-19 20:59:03 +11:00
Lea Anthony
93aa8345dc
[v3] Improved parser for bound structs
2023-02-17 21:01:16 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs
2023-02-17 20:57:31 +11:00
Lea Anthony
bd184cab85
[v3] Improve plain example
2023-02-16 20:28:24 +11:00
Lea Anthony
94f0f6ff82
wml refresh -> wml reload
2023-02-16 20:19:53 +11:00
Lea Anthony
af5e383905
Add wml demo
2023-02-16 20:16:20 +11:00
Lea Anthony
0881914244
Support data-wml-trigger attribute
2023-02-16 20:15:06 +11:00
github-actions[bot]
c9492ec258
chore: update sponsors.svg ( #2379 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-16 19:56:42 +11:00
Lea Anthony
c415c1b321
Added Wails ML experiment
...
added Window.Close to js runtime
2023-02-15 20:58:57 +11:00
Lea Anthony
a5e10557c5
Support Screens API
2023-02-15 18:56:52 +11:00
Lea Anthony
045a830fbc
Add "DragAndDropEnabled" option for window
...
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
stffabi
260fd061f6
[nsis] Adjust template to install shortcuts for all users ( #2373 )
2023-02-13 18:40:42 +11:00
Lea Anthony
d86e11cef1
Fix bad merge
2023-02-12 13:36:58 +11:00
Lea Anthony
9c42049c6a
Merge remote-tracking branch 'origin/master'
2023-02-12 12:38:36 +11:00
Lea Anthony
b16b263820
Merge branch 'feature/asset-server-runtime'
...
# Conflicts:
# v3/V3 Changes.md
# v3/examples/events/assets/index.html
# v3/examples/events/main.go
# v3/internal/runtime/desktop/main.js
# v3/internal/runtime/package-lock.json
# v3/internal/runtime/package.json
# v3/internal/runtime/runtime_debug_desktop_darwin.js
# v3/internal/runtime/runtime_debug_desktop_linux.js
# v3/internal/runtime/runtime_debug_desktop_windows.js
# v3/internal/runtime/runtime_production_desktop_darwin.js
# v3/internal/runtime/runtime_production_desktop_linux.js
# v3/internal/runtime/runtime_production_desktop_windows.js
# v3/pkg/application/application.go
# v3/pkg/application/messageprocessor.go
# v3/pkg/application/messageprocessor_window.go
# v3/pkg/application/options_webview_window.go
# v3/pkg/application/webview_window.go
# v3/pkg/application/webview_window_darwin.go
# v3/pkg/options/application.go
2023-02-12 12:35:46 +11:00
github-actions[bot]
adca2150d4
chore: update sponsors.svg ( #2370 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-12 12:33:08 +11:00
Lea Anthony
24b639646a
Merge master
2023-02-12 09:14:23 +11:00
Lea Anthony
2c4c0b4b6b
Add dnd window event + demo
2023-02-12 08:54:08 +11:00
Lea Anthony
23bfeac02a
Window event callbacks now take a WindowEventContext
...
Improved event example
2023-02-12 07:58:14 +11:00
Lea Anthony
a2528fd066
data-contextmenu-id -> data-contextmenu
2023-02-12 06:58:51 +11:00
dependabot[bot]
40ab0d3983
Bump json5 from 1.0.1 to 1.0.2 in /runtime/js ( #2274 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
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-11 15:00:27 +11:00
Joshua Mangiola
fa33e5d2bc
Update to Mac App Store Guide ( #2369 )
2023-02-11 15:00:03 +11:00
Lea Anthony
9b25e639f5
Support context menus
2023-02-10 08:25:52 +11:00
Lea Anthony
23d2c9a741
Refactor main.tmpl.go -> main.go.tmpl
2023-02-09 21:14:16 +11:00
github-actions[bot]
3fde885d34
chore: update sponsors.svg ( #2361 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-09 18:41:47 +11:00
Lea Anthony
f951b51c11
Context menu WIP
...
options refactor
2023-02-09 18:35:26 +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
Lea Anthony
cd1e3f5bb0
Update v3 changes
2023-02-06 20:45:50 +11:00
Lea Anthony
00ee79ecdc
Support named windows
...
Remove debug info
2023-02-06 20:43:11 +11:00
Lea Anthony
f94e798c50
Support logging
2023-02-06 20:29:33 +11:00
Lea Anthony
3bd6c34ae6
Support application calls
2023-02-04 19:49:30 +11:00
github-actions[bot]
88e79f2598
chore: update sponsors.svg ( #2346 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-04 11:35:16 +11:00
Lea Anthony
f26756be9c
Event->CustomEvent to prevent potential clash with native JS Event object
...
Support Eventing
2023-02-04 11:27:27 +11:00
github-actions[bot]
522a634b86
chore: update sponsors.svg ( #2341 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-03 08:54:12 +11:00
github-actions[bot]
0fed83ec21
chore: update sponsors.svg ( #2337 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-01 20:18:16 +11:00
David Walton
709244c3a2
Fix #2280 - code block highlights ( #2338 )
...
* Fix #2280 ; code highlight & minor linter change
* Fix #2280 ; adjust code highlight
2023-02-01 17:52:43 +11:00
David Florness
e1bd841be3
fix grammar ( #2334 )
2023-01-31 17:51:51 +11:00
Lea Anthony
0e8144e52f
Tidy up
2023-01-30 19:52:53 +11:00
Lea Anthony
00e585e864
Remove go.work
2023-01-30 19:22:39 +11:00
Lea Anthony
c46c0c335c
Support SaveFile dialog
2023-01-30 19:21:49 +11:00
Lea Anthony
73b08a45de
Support most dialogs
...
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
2023-01-29 21:01:54 +11:00
Lea Anthony
226572a1df
Add Window.Screen()
...
Clipboard `GetText` -> `Text`
2023-01-28 09:11:06 +11:00
Lea Anthony
25577b7655
Support Clipboard.
...
Message Processor refactor.
2023-01-28 08:59:44 +11:00
Lea Anthony
c0ec5af18a
Update runtime deps. Fix test task.
2023-01-28 08:51:34 +11:00
Lea Anthony
14b201bb65
Initial implementation of runtime over http
2023-01-27 21:05:53 +11:00
Lea Anthony
8534b32a9f
Tidy up runtime JS
2023-01-27 15:47:23 +11:00
Lea Anthony
368f0e48bc
Fix build and test workflow
2023-01-27 11:55:59 +11:00
Richard Guay
5a747e75f1
The title was still wrong ( #2331 )
...
Fixing the title to properly reflect the page. Somehow I messed up the merge.
2023-01-26 21:42:47 +11:00
Lea Anthony
1c72e1fa33
[v3] Add gowork.sum
2023-01-26 20:43:51 +11:00
Lea Anthony
293d730708
[v3] Updated runtime to take window id into consideration
...
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00
Lea Anthony
2a68fae55e
[v3] Remove 'assets.URL'
2023-01-26 20:43:26 +11:00
Richard Guay
3148154308
Fixing BulletinBoard page ( #2328 )
...
* Adding Tutorial link
* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard
* Fixing BulletinBoard page
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-26 18:40:53 +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
Lea Anthony
c34c761c5f
[v3] Fix crash when calling window.Show() before application.Run()
2023-01-26 07:34:25 +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
Lea Anthony
4bb7b80d62
[v3] Add wails build info
2023-01-23 21:11:19 +11:00
Lea Anthony
82287a4758
[v3] Support task flags pass through
...
[v3] `wails build` -> `wails task build`
2023-01-23 21:08:03 +11:00
github-actions[bot]
8239964c28
chore: update sponsors.svg ( #2327 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-23 17:16:01 +11:00
Lea Anthony
428584d583
[v3] Add TODO
2023-01-22 16:52:26 +11:00
Lea Anthony
ee1978aa42
[v3] Initial template support (likely to change)
2023-01-22 15:39:57 +11:00
Sebastian Bauer
895d6d4b80
Size() calculates DPIs back to default space. ( #2325 )
2023-01-22 15:25:26 +11:00
github-actions[bot]
a5ddce2c7c
chore: update sponsors.svg ( #2317 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-22 15:25:04 +11:00
Richard Guay
e4789750c8
Updating and Adding ( #2324 )
...
* Adding Tutorial link
* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-22 07:28:51 +11:00
Brian Dwyer
f8c673874b
Fix memory leak on Darwin when toggling system tray icon ( #2322 )
2023-01-21 15:46:06 +11:00
Lea Anthony
5ef32760f0
Update task
2023-01-18 22:08:25 +11:00
Lea Anthony
81645190f0
merge exp branch
2023-01-18 21:42:49 +11:00
Lea Anthony
18d0ed890a
Merge branch 'blog/v3-roadmap'
2023-01-18 20:59:38 +11:00
Lea Anthony
2479603143
Add github issue link
2023-01-18 17:41:33 +11:00
Lea Anthony
dbf6b3a718
updated
2023-01-18 07:57:10 +11:00
stffabi
45c3a501d9
[cli] Fix applying default arch to platform flag ( #2309 )
2023-01-17 20:39:15 +01:00
Lea Anthony
401165ce30
blog
2023-01-17 21:19:17 +11: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
Oussama Sethoum
d0bd849be6
Update events.mdx ( #2300 )
...
* Update events.mdx
* Add doc update to docs dir
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-16 20:59:58 +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
github-actions[bot]
93cfc777f9
chore: update sponsors.svg ( #2293 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-16 20:53:31 +11:00
stffabi
d15e673a19
[windows] Some improvements to fullscreen ( #2299 )
2023-01-15 06:14:15 +01:00
Supian M
ec8e9b2715
Fix Broken Badge ( #2292 )
2023-01-12 20:01:56 +11: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
stffabi
8e4606d104
[windows] Improve fullscreen mode for frameless windows ( #2279 )
...
* Improve fullscreen mode for frameless windows
* Set Window background color in addition to WebView2 background color
2023-01-09 12:15:43 +01:00
Lea Anthony
54ca6c7059
Refactor assetserver into pkg ( #2260 )
2023-01-08 11:25:21 +01:00
Lea Anthony
6e3b4cf1a1
Add Warmine to showcase
2023-01-08 12:53:14 +11:00
Zámbó, Levente
c3011813b0
linux separate window c and go file ( #2275 )
2023-01-07 16:20:11 +11:00
Johannes Haseitl
ccceadbd24
Replace more slack links with discord invites ( #2256 )
...
* Add Discord link and deprecate slack links
* More slack -> discord changes
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-07 16:19:33 +11:00
Noah Hsu
e1fc7119bc
docs: fix admonitions syntax ( #2263 )
2023-01-07 15:36:37 +11:00
Zámbó, Levente
add10df5ff
fix missing bin dir on build hook ( #2273 )
...
* fix missing bin dir on build hook
* add fix to changelog
2023-01-07 06:51:01 +11:00
stffabi
284e20a290
Add EnableFraudulentWebsiteDetection to options ( #2269 )
...
This allows to explicitly opt-in to scan services for fraudulent
content, such as malware or phishing attempts.
2023-01-06 00:06:26 +11:00
Zámbó, Levente
0a32c1124e
Add common text clipboard support ( #2228 )
2023-01-05 16:41:07 +11:00
Igor Sementsov
fc9dd99dea
Update troubleshooting.mdx ( #2252 )
...
* Update troubleshooting.mdx
https://github.com/wailsapp/wails/issues/2249
* Move guide to docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-05 16:19:49 +11:00
希嘉嘉
2727af43d4
Update templates.mdx ( #2230 )
...
添加 solid 模版的中文描述信息。
2023-01-05 16:09:53 +11:00
github-actions[bot]
4d0163d8af
chore: update sponsors.svg ( #2271 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-05 15:12:13 +11:00
stffabi
ebc653a584
[windows] Add support for AdditionalBrowserArgs to the legacy Webview2Loader ( #2267 )
2023-01-02 22:41:56 +01:00
Zámbó, Levente
ef5f547d27
Support GPU acceleration settings on Windows & Linux ( #2266 )
...
* support GPU acceleration settings Window & Linux
* fix linux empty option crash
* fix change linux gpu policy switch case
* add PR to changelog
2023-01-02 09:38:53 +11:00
Lea Anthony
d3b4105f75
Chore/refactor assetserver ( #2250 )
...
* Remove context from API calls
* Remove logger dependency
* Remove fs dependency
* Remove runtime dependency
* Update Windows/Linux calls to NewAssetServerMainPage
* Add missing imports
* fix runtime import clash
2022-12-31 10:36:07 +11:00
stffabi
66bc258f81
[windows] Fix compile error for 386 platform ( #2257 )
2022-12-30 21:33:39 +01:00
Lea Anthony
908aecfd1c
Update Changelog
2022-12-30 15:58:11 +11:00
Lea Anthony
0aa056fcc5
Bump version to v2.3.1
2022-12-30 07:38:22 +11:00
Lea Anthony
1b2bc8ee27
Remove old docs
2022-12-29 16:00:10 +11:00
Lea Anthony
f01e1e5bda
Update docs to v2.3.0
2022-12-29 15:59:38 +11:00
Lea Anthony
5c0f1e409d
Fix crowdin client code
2022-12-29 12:34:43 +11:00
Oleg Gulevskyy
fff0fd4d07
Website / Documentation - Slack to Discord ( #2200 )
...
* change slack to discord in footer
* change Slack to Discord in community guideline
2022-12-29 11:54:18 +11:00
Oleg Gulevskyy
d11b459486
refactor crowdin init to not throw without key ( #2231 )
2022-12-29 10:51:49 +11:00
Adam Tenderholt
52f872b65c
[binding] TS returns Promise<void> when go returns error ( #2247 )
2022-12-28 22:32:29 +11:00
github-actions[bot]
0474a9e89a
chore: update sponsors.svg ( #2236 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-26 16:00:25 +11:00
stffabi
2345d3b3c2
[assetHandler] Add request path checks ( #2235 )
2022-12-24 18:45:07 +11:00
stffabi
a312c0ffcb
[darwin] Add support for Request/Response streaming ( #2219 )
2022-12-20 13:44:33 +01:00
Vadim Shchepotev
e2f1429c67
Fix issue with anonymous structures ( #2186 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:54:11 +11:00
NullCode
04e92a813b
Update libwebkit package name for Fedora ( #2218 )
...
* Update libwebkit package name for Fedora
Fixes issue with `wails doctor` not detecting updated version of libwebkit on Fedora
* Keep existing libwebkit package
...for backwards compatibility
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:53:36 +11:00
Lea Anthony
d588c7a4d2
Bugfix/sync go mod ( #2222 )
...
* Add nosyncgomod flag
* Fix tests on unix
* Fix tests on unix
2022-12-20 22:15:36 +11:00
Lea Anthony
8067a1cedb
Add nosyncgomod flag ( #2215 )
...
* Add nosyncgomod flag
* Fix tests on unix
2022-12-20 22:08:02 +11:00
stffabi
7d61971f86
[darwin] Add support for file input selection ( #2209 )
...
This will show a message on the console
"+[CATransaction synchronize] called within transaction"
but there's seem no way to mitigate that. Still everything
works as expected.
2022-12-15 11:18:13 +01:00
github-actions[bot]
aa5875e8ca
chore: update sponsors.svg ( #2207 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-15 20:57:34 +11:00
Oleg Gulevskyy
6b110c83e9
basic check if a specific commit is in use ( #2107 )
2022-12-14 23:06:37 +11:00
stffabi
006b0c65b4
[webview2loader] Add missing windows build constraint ( #2201 )
2022-12-13 13:51:01 +01:00
stffabi
55ca6c0bf3
[dev] Remove redundant steps that are also executed during build.Build ( #2196 )
...
* Remove redundant generation of bindings
* Remove redundant CreateEmbedDirectories
2022-12-13 13:44:00 +01:00
stffabi
4aab1e6b93
[webview2loader] Promote go loader from experimental to stable ( #2199 )
...
Default webview2loader is now the go loader
2022-12-13 23:27:50 +11:00
Lea Anthony
e57bfe002a
Fix right mouse button event ( #2190 )
2022-12-13 07:09:45 +11:00
Matt Holt
38ffbb3161
Trim spaces around version ( #2197 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-12 20:40:02 +01:00
stffabi
eb2d929824
[bindings] Pass ts_generation flags as env variable ( #2194 )
...
Otherwise this will clash if an app also uses flags internally
2022-12-11 07:38:06 +11:00
Vadim Shchepotev
7a22e0f885
Add dummy systray_mac to fix unit tests ( #2187 )
2022-12-10 19:57:11 +01:00
tk
3f077d9bdb
Update templates.mdx ( #2184 )
...
Add wails-template-naive
2022-12-07 18:50:22 +11:00
Lea Anthony
b84a2e5255
Windows tray menus ( #2181 )
...
* Add example
* Add windows systray
* Add gitkeep
* use windows.GUID
2022-12-06 20:55:56 +11:00
dependabot[bot]
0581ad03b1
Bump minimatch from 3.0.4 to 3.1.2 in /runtime/js ( #2164 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
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 >
2022-12-06 08:29:08 +11:00
dependabot[bot]
81aa376b09
Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js ( #2179 )
...
* Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update build-and-test.yml
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 >
2022-12-06 08:28:36 +11:00
Travis McLane
d2339de5ff
chore: remove unreachable code ( #2182 )
...
pkg/menu/styledlabel.go:255:2: unreachable code
2022-12-06 08:27:48 +11:00
Misite Bao
f70d9de366
fix: fix go test errors ( #2169 )
...
* fix: fix go test errors
* Add flags to mac test
* Run on all branches
* Update PR workflow
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 06:45:06 +11:00
github-actions[bot]
606ce3de1d
chore: update sponsors.svg ( #2180 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-04 14:05:37 +11:00
Lea Anthony
76f68aa392
Update sponsor-image workflow
2022-12-04 14:03:43 +11:00
Misite Bao
6d6e74e7f0
chore: fix-generate-sponsor ( #2177 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-04 13:58:08 +11:00
Lea Anthony
51b3488eac
Update build-and-test.yml
2022-12-04 13:26:58 +11:00
希嘉嘉
026bb7c02c
Added templates ( #2178 )
...
* Added templates
vite + solid + js
vite + solid + ts
* Update templates.mdx
Co-authored-by: Misite Bao <i@misitebao.com >
2022-12-04 09:30:28 +11:00
github-actions[bot]
5262153fa8
docs: sync documents ( #2170 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2022-12-03 22:32:08 +11:00
Fredrik Holmqvist
53f63f71a0
examples/customlayout: feature: add event listener for enter key ( #2176 )
2022-12-03 10:16:46 +11:00
Lea Anthony
dc209d1462
Fix build and test pipeline
2022-12-02 07:52:13 +11:00
Misite Bao
c1c1b8b8e6
chore: update-workflows ( #2154 )
...
* chore: merge test workflow
* chore: simplify sponsors image generation workflow
* chore: merge PR check workflow
* chore: merge push workflow
* chore: add auto sync translation document workflow
* chore: remove PR branch name check job
* chore: update go test job
2022-12-02 07:05:22 +11:00
stffabi
5cc012d763
[darwin] Inspector tools should also be included into a debug build ( #2162 )
2022-12-01 09:20:18 +01:00
Misite Bao
bd66451dd9
docs: fix and sync documents ( #2140 )
2022-12-01 19:18:59 +11:00
Lea Anthony
ea6aee91f1
Refactored build command ( #2123 )
...
* Refactored build command
* Update v2/cmd/wails/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* WIP
* Refactor `wails doctor`
* Refactor `wails dev`
* Refactor `wails dev`
* Fix merge conflict
* Fix test
* Update build_and_test.yml
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-01 18:18:02 +11:00
github-actions[bot]
9d53db4281
chore: update sponsors.svg ( #2150 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-01 12:27:11 +11:00
stffabi
5418b879c4
[linux] Add support for WebKit2GTK 2.36+ features ( #2151 )
2022-11-30 11:04:12 +01:00
Lea Anthony
7f8952ebe5
Fix signal handler ( #2152 )
...
* Fix signal handler
* Update changelog
2022-11-30 20:37:55 +11:00
Aman
ac1e150315
Initial Mac App Store Guide ( #2142 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-29 20:03:45 +11:00
stffabi
3fb9169196
Fix compile error ( #2147 )
2022-11-29 20:01:42 +11:00
stffabi
993f87af97
[assetserver] Add support for serving the index.html file when requesting a directory ( #2110 )
...
* [assets] Improve error message if no `index.html` could be found in the assets
* [assetoptions] Valide options that at least one property has been set
* [assetserver] Move defaultHTML handling for 404 from assethandler to assetserver
* [assetserver] Add support for serving the index.html file when requesting a directory
* [docs] Update changelog
2022-11-29 09:29:08 +01:00
Misite Bao
15b7d291f3
fix(cli): fix install error ( #2146 )
...
Fixed: https://github.com/wailsapp/wails/issues/2145
2022-11-29 19:26:49 +11:00
Misite Bao
73caeb9793
docs: fix and sync documents ( #2135 )
...
* docs: standardize JavaScript and TypeScript name writing
* docs: sync translated documents
* docs: fix broken link
* docs: sync translated documents
2022-11-28 20:13:22 +11:00
github-actions[bot]
6d975b965b
chore: update sponsors.svg ( #2131 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-28 12:55:39 +11:00
Lea Anthony
6cd5edcc4d
More clarity around bug reports
2022-11-25 14:50:05 +11:00
Lea Anthony
3e8ae9835b
Small update to Mac troubleshooting guide
2022-11-24 21:38:16 +11:00
Oleg Gulevskyy
ca8a1fab36
Ability to define prefix / suffix for TS module ( #2101 )
...
* add tspostfix and tsprefix flags + organise under struct
* postifx -> suffix
* tsPrefix options on bindings struct
* pass prefix and suffix to the executable
* add support for CLI flags for generating module
* method to set TSpref/suff to bindings
* use passed ts prefix for typescriptify
* add brief Readme udpate to include new flags
* create reusable common flags
* use common flags instead of hardcoded text
* support tsprefix & suffix for dev
* add tsPrefix & tsSuffix for build cmd
* take pref & suff in account when gen d.ts
* export colorsful log functions into utils for reuse
* detect and warn the user about usage of reserved keyword
* fmt
* add TrimSpace on fn input
* refactor utils -> logutils
* add bindings -> ts_generation options to wailsjson parse
* use wailsjson for ts generation
* update warning message + extract to func
* remove suff/pref info from readme
* update json schema
* add tests for prefix and suffix case
* rename suffix method
* Update v2/internal/typescriptify/typescriptify.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* update changelog
* Minor tweaks
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-24 21:33:58 +11:00
Lea Anthony
c1c1bff7a4
Update changelog.mdx
2022-11-24 06:13:24 +11:00
Dieter Zhu
011d8e3094
Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js ( #2128 )
2022-11-24 06:08:15 +11:00
stffabi
72aef804ef
[windows] Prevent a thin white line at the bottom of a frameless window ( #2111 )
...
This seems to be only a problem on some Windows versions.
2022-11-22 20:37:45 +11:00
Misite Bao
d0b403b9b8
docs: fix and sync documents ( #2119 )
...
* docs: fix Russian documents
* docs: sync French documents
2022-11-22 18:34:04 +11:00
dependabot[bot]
a1bff912a0
Bump loader-utils from 1.4.1 to 1.4.2 in /runtime/js ( #2115 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 05:34:10 +11:00
Misite Bao
51a12131a4
feat(website): add translation progress ( #2113 )
...
* feat(website): add translation progress
* feat(website): add French and Portuguese to language list
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-21 22:19:34 +11:00
Misite Bao
91de3ab0c5
docs: update and sync documents ( #2112 )
...
* docs: update options documentation
* docs: sync documents
* docs: sync Korean, Russian, French and Portuguese documents
* docs: sync Chinese, Japanese and Korean documents
2022-11-21 22:13:43 +11:00
Oleg Gulevskyy
b3d7682efc
Fix multiple nested build/bin folders in dev mode ( #2103 )
...
* stop circular assigning to OutputFilename
* update changelog
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-19 10:04:46 +11:00
Misite Bao
ec56f8807f
docs: sync documents ( #2083 )
2022-11-18 22:11:25 +11:00
github-actions[bot]
8850b453d9
chore: update sponsors.svg ( #2106 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-18 22:10:45 +11:00
Marvin Collins Hosea
a8bbce6a12
React Hash Router Links returns 404 ( #2050 )
...
The linked Hash Router link is not valid anymore and returns a 404.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-17 20:19:24 +11:00
Christian Kilb
66dd310823
Update obfuscated.mdx ( #2102 )
...
Fixed a typo.
2022-11-17 20:01:54 +11:00
juju
29acbe3079
Update events.mdx ( #2105 )
2022-11-17 20:01:02 +11:00
cybertramp
ec82739df1
docs: Add README.ko.md ( #2093 )
...
* docs: Add README.ko.md
- Add korean version README
- Update 'README.ko.md' link in README.md
* Update README.zh-Hans.md
* Update README.ja.md
Co-authored-by: Misite Bao <i@misitebao.com >
2022-11-17 05:40:59 +11:00
stffabi
177d90497a
[assetserver] Add support for range requests if the fs.FS provides an io.Seeker ( #2091 )
...
This allows streaming audio and videos with range requests if the
platform webview supports it.
2022-11-15 07:19:25 +11:00
stffabi
efd209b7c5
[darwin] Show Xcode version in wails doctor ( #2089 )
2022-11-14 20:11:07 +11:00
Lea Anthony
236570909c
Rename bleeding edge -> local development ( #2086 )
2022-11-13 22:44:50 +11:00