stffabi
4a60dfc373
[v3, windows] Add MainThread dispatching and fixes the blocking window
2023-05-30 16:31:47 +08:00
Lea Anthony
829a829cb4
[windows] WIP
2023-05-30 16:31:47 +08:00
Travis McLane
34896ccb4e
[darwin] add getPrimaryScreen/getScreens to impl ( #2618 )
2023-05-30 16:31:46 +08:00
Lea Anthony
5df5eb6a04
Fix module path for non-modified repo
2023-05-30 16:31:46 +08:00
Lea Anthony
31ba36baf3
[windows] Initial commit
2023-05-30 16:31:46 +08:00
Lea Anthony
bf10f71760
[windows] Fix paths for wails init
2023-05-30 16:31:45 +08:00
Lea Anthony
8aa61fff6d
Intial STATUS.md commit
2023-05-30 16:31:45 +08: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
f645b530da
[v3] Update esbuild
2023-05-19 07:58:25 +10:00
Lea Anthony
27573d191e
[v3] Improve invoke
2023-05-18 19:18:20 +10:00
Lea Anthony
d6b4fdf979
[v3 mac] Support drag
2023-05-17 21:09:27 +10:00
Lea Anthony
39c834b83f
[v3 mac] DisableWindowShadow -> DisableShadow
2023-05-17 08:13:05 +10:00
Lea Anthony
f210357bfe
[v3 mac] Basic common event support. Taskfile refactor
2023-05-17 07:58:40 +10:00
Lea Anthony
62d97f85ec
v2.5.1
2023-05-16 19:43:41 +10:00
Lea Anthony
3094c19cf3
[v3 mac] Update README
2023-05-16 18:00:17 +10:00
Lea Anthony
225437f1e8
[v3 mac] Add DisableWindowShadow
option
2023-05-16 17:54:34 +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
Lea Anthony
a23bb1e350
[v3 windows] initial dialog support. Refactor button callback name
2023-05-12 20:56:22 +10:00
stffabi
2fbb21a84e
[v3 darwin] Add darwin identifier darwin only file
2023-05-12 11:02:15 +02:00
stffabi
5c08fcb43e
[v3 darwin] Add darwin identifier to all C files of darwin
2023-05-12 09:25:50 +02:00
stffabi
cc59655cb1
[v3 windows] Add close handling: HideOnClose, QuitOnLastWindowClosed and DisableQuitOnLastWindowClosed
2023-05-12 08:06:05 +02:00
Travis McLane
8ff0a2b0ff
[v3 example] menu text toggle
2023-05-11 11:10:17 -05:00
Travis McLane
fe549af784
[v3 example] add menuitem.Hidden / setHidden example
2023-05-11 10:56:19 -05:00
Travis McLane
a4549c94c1
[v3 darwin] menuitem.setHidden implementation
2023-05-11 10:51:52 -05:00
Travis McLane
706256d3f0
[dialogs] remove default title
...
without this removal a user would have to call `SetTitle("")` in order to
erase the default if they desire a title-less dialog.
2023-05-11 08:54:38 -05:00
stffabi
3049773e7f
[v3 application] Fix race conditions between starting a window/systray and starting the application
...
Make sure a window is never run before the windowCreated hooks have been executed.
2023-05-11 07:00:42 +02:00
Travis McLane
9da5df354e
make it compilable again
2023-05-10 09:10:03 -05:00
Travis McLane
54ba6d47f4
Revert "[linux] dispatchOnMainThread"
...
This reverts commit 346517a185640aa40bc8710b815cf3e5ff7dc4a8.
2023-05-10 09:10:03 -05:00
Travis McLane
17647e2c2f
[linux/cgo] hide/show implementation
2023-05-10 09:10:03 -05:00
Travis McLane
9da5cea88d
[linux/cgo] bugfix
2023-05-10 09:10:03 -05:00
Travis McLane
3784746ddb
[linux] STATUS.md
2023-05-10 09:10:03 -05:00
Travis McLane
281f6335c1
[linux] dispatchOnMainThread
2023-05-10 09:10:03 -05:00
Travis McLane
5129c0f4e2
[fixup] remove 'activate'
2023-05-10 09:10:03 -05:00
Travis McLane
5078e89a71
[darwin] implement isNormal
2023-05-10 09:10:03 -05:00