Lea Anthony
8963610722
[v3 windows] Implement getScreen
2023-05-30 16:31:52 +08:00
Lea Anthony
66bfcf0e36
[v3] Ensure impl calls from WebvieWindow are on the main thread. Support size.
2023-05-30 16:31:52 +08:00
Lea Anthony
0b3559abfe
[v3] Fix examples
2023-05-30 16:31:51 +08:00
Lea Anthony
773389ee5e
[v3] Update examples to use correct options.
2023-05-30 16:31:51 +08:00
Lea Anthony
4c04991d4d
[v3] Change WebviewWindow
options to be a value, not a pointer. Support Un/Fullscreen. Remove main thread switching. Use parent options instead of local variables.
2023-05-30 16:31:51 +08:00
Lea Anthony
d56bb59b72
[v3 Windows] Support application hide/show. Add WebviewWindow.IsVisible()
.
2023-05-30 16:31:50 +08:00
Lea Anthony
6e92a4f71e
[v3 Windows] Support setMin/MaxSize, setPosition
2023-05-30 16:31:50 +08:00
Lea Anthony
1f6217c0d8
[v3 Windows] Add Support for SetTitle, Center, Un/Minimise/Maximise, IsMin/Maximised, IsNormal, Show/Hide
2023-05-30 16:31:50 +08:00
Lea Anthony
17204bebd0
[v3 Breaking Change] Add NativeWindowHandle
method to WebviewWindow
.
2023-05-30 16:31:49 +08:00
Lea Anthony
728e2019d8
[v3 windows] Moved w32
from internal
to pkg
so it may be used by applications
2023-05-30 16:31:49 +08:00
Lea Anthony
7f3fdd6977
[v3 windows] Add WndProcInterceptor
for custom message processing
2023-05-30 16:31:49 +08:00
Lea Anthony
e8798f8371
[v3 windows] Rename options_windows.go
-> options_win.go
2023-05-30 16:31:48 +08:00
Lea Anthony
402b743553
[v3 windows] Add APM Events
2023-05-30 16:31:48 +08:00
Lea Anthony
f08ae2fc62
[v3] Update application.On
and window.On
to return functions that unregister the listener. WebviewWindow.onApplicationEvent
is a helper which will manage the unregistering for you on window destroy.
2023-05-30 16:31:48 +08:00
Lea Anthony
178ea9c8c5
[windows] Split out wndProc. Generate windows events, support per-window themes
2023-05-30 16:31:48 +08:00
Lea Anthony
7c63cee9e8
[windows] Support AlwaysOnTop, EnableResize at runtime. Added Solid/Transparent/Translucent options.
2023-05-30 16:31:47 +08:00
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