Lea Anthony
9f567fe2bc
Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug
to environment info.
2023-12-29 12:48:26 +11:00
Lea Anthony
b08126d745
Radical JS runtime overhaul. New @wailsio/runtime package
2023-12-28 19:18:26 +11:00
ALMAS
e0b8da86ed
[v3] export SetIcon
method ( #3147 )
...
* export `SetIcon` method
* add change log
2023-12-19 23:43:28 +11:00
ALMAS
51afac4f22
[v3/windows] Fix dpi scaling on start up ( #3145 )
...
* [v3/windows] Fix dpi scaling on start up
* add change log
2023-12-19 19:31:38 +11:00
Lea Anthony
2b3c96ab3d
Fix hex keys5 ( #3140 )
...
* [v3 darwin] change hex values for arrow keys pulled from "Key Codes" app
* Update changelog
---------
Co-authored-by: Josh <josh@nerdy.co.nz>
2023-12-18 08:54:55 +11:00
Lea Anthony
8242834fbd
[windows] improvements to dev
2023-11-27 21:24:58 +11:00
Lea Anthony
814e1ec059
[windows] initial wails dev support
2023-11-27 20:38:42 +11:00
Lea Anthony
1142e81348
[darwin] fix CATransaction errors. Update docs.
2023-11-12 17:06:11 +11:00
Lea Anthony
0b48c3456b
[linux] Add webkit version detection + capabilities
2023-11-12 08:21:31 +11:00
Lea Anthony
1f16655769
[linux] Allow devtools by default
2023-11-11 19:05:03 +11:00
Travis McLane
53ea6511fc
[v3 linux] correct bug in getScreenByIndex
2023-11-09 21:11:35 -06:00
Travis McLane
27c4c5e6f6
[v3 linux] bail early if bad dbus message
...
Need at least two elements to decide what theme it is and if it is
a theme message at all.
Addresses #3040
2023-11-08 22:41:35 -06:00
Travis McLane
6f197f67f1
[linux] remove deprecated version of webkit callback handling
2023-11-08 22:31:05 -06:00
Travis McLane
385b1dbfd4
[linux] implement 'script-message-received' handling
...
- use unsafe.Pointers for 'signal_connect'
- add handler for 'script-message-received::external'
need to update this to handle older versions of webkit2gtk better
currently removed the ifdef guards (since they don't work in Go code
directly) - need to reimplement using build tags if required.
2023-11-06 23:29:03 -06:00
Travis McLane
0a4c596ecb
[v3 darwin] typecast as ApplicationEventType
2023-11-06 12:20:10 -06:00
Travis McLane
d2e0e0ed81
[v3 windows] avoid casting ApplicationEvent as int
2023-11-06 12:14:18 -06:00
Travis McLane
f787cf4bc2
[v3 linux] show dev tools if OpenInspectorAtStartup=true
2023-11-06 12:04:20 -06:00
Travis McLane
a773da2651
[v3 linux] use dbus for monitoring theme changes
2023-11-06 10:49:14 -06:00
Travis McLane
9f6cd35155
[v3 linux] stop key-press event propagation
2023-11-06 10:49:14 -06:00
atterpac
f122db2e7b
Linux Keybinds
...
- Adds getKeyboardState into linux_cgo to parse keypress event and transfer it into
an accelerator for the handleKeyEvent using GDK keycodes
2023-11-06 10:49:11 -06:00
Travis McLane
0fc535f2f1
[v3 linux] contextMenus
2023-11-06 10:41:14 -06:00
Travis McLane
0cd64d1fbc
[v3 linux] noop: remove commented code
2023-11-06 10:41:14 -06:00
Travis McLane
46a0030387
[v3] noop: gofmt changes
2023-11-06 10:41:14 -06:00
Travis McLane
495da9b292
[v3 linux] implement logPlatformInfo
2023-11-06 10:41:14 -06:00
Travis McLane
8dbbdc4bf2
[v3 linux] sanitize appId more thoroughly
2023-11-06 10:41:14 -06:00
Travis McLane
144567410d
[v3 linux] disable noisy onKeyPressEvent handler
2023-10-31 17:22:36 -05:00
Travis McLane
c7c4cacc29
[v3 linux] auto-toggle devtools (if enabled)
2023-10-31 17:15:16 -05:00
Travis McLane
7e63355353
[v3 linux] correct type of window
2023-10-31 17:08:12 -05:00
Travis McLane
01652c7940
[v3 linux] update devtools behavior to match win/mac
2023-10-31 14:02:36 -05:00
Travis McLane
b379e3b0eb
Revert "Merge branch 'linux-keycodes' into v3-alpha"
...
This reverts commit a2fde7f2c3
, reversing
changes made to 985c5bf8e2
.
2023-10-31 11:09:11 -05:00
Michael Capretta
73384a562b
Add Linux Keycodes that match existing strings for keybinds
2023-10-30 10:27:21 -05:00
Lea Anthony
985c5bf8e2
[darwin] Support Ignore mouse events
...
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
Travis McLane
a81581129a
[v3 linux] menu bitmap update handling
2023-10-27 16:45:10 -05:00
Travis McLane
e95a91861a
[v3 linux] noop: cleanup
2023-10-27 16:45:10 -05:00
Travis McLane
fa5948f40e
use windowId to avoid miscompilation
2023-10-27 15:46:25 -05:00
Travis McLane
ad4c8aacfb
[v3 linux] keypress handling stubout
2023-10-27 14:41:22 -05:00
Travis McLane
afbc09f1e7
[v3 linux] menuItem.setBitmap support
2023-10-26 16:56:06 -05:00
Travis McLane
1a1e5b743a
[v3 linux] dbus menu icon support
2023-10-26 16:56:06 -05:00
Lea Anthony
1ce83913bd
Fix permissions build issues
2023-10-25 20:06:53 +11:00
Lea Anthony
1650e26da7
[windows] dnd fixes
2023-10-25 20:04:00 +11:00
Travis McLane
bc01fd8ea3
[v3 windows] hide go-webview2 from non-windows
2023-10-24 15:40:58 -05:00
Lea Anthony
3422c40e19
[windows] ignore mouse events
2023-10-23 20:58:55 +11:00
Lea Anthony
e661052c89
[windows] support permissions
2023-10-23 20:50:25 +11:00
Lea Anthony
ff08a5ca2b
[windows] html fullscreen support
2023-10-23 20:49:21 +11:00
5aaee9
f8250fb0d8
darwin: add event ApplicationShouldHandleReopen ( #2991 )
...
* darwin: add ApplicationShouldHandleReopen
* docs: update changelog with mr id
* events: update id
* feat: always return true
* Merge v3-alpha and regenerate events
* darwin: allow pass nsdirectory to processApplicationEvent
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-22 21:12:12 +11:00
Lea Anthony
d1c3f8af7a
[darwin] Fix menu icon
2023-10-22 14:34:04 +11:00
Lea Anthony
36b4b3695b
Initial menu item bitmap support
2023-10-22 09:32:04 +11:00
Travis McLane
18746c7819
V3 alpha linux dbus ( #2996 )
...
* [v3 linux/systray] dbus generation
* [v3 linux] systemtray dbus implementation
* [v3] add 'id' for MenuSeparator
This is needed in order to have a unique value for all
menuItem(s) such that the Linux implementation doesn't have to
generate new identifiers.
Allowing the reuse keeps a 1-1 mapping in place without any extra effort.
* [v3 example/systray] add radio group to example
* [v3 linux] stub out ExportStatusNotifierItem callbacks
Can only seem to get the `SecondaryActivate` to fire when doing a
3-finger click! I was expecting a right-click interaction to trigger it.
2023-10-21 11:39:46 +11:00
Lea Anthony
8463c01123
[windows] Drag-n-drop support
2023-10-21 11:21:10 +11:00
Lea Anthony
8e0671306a
Mac examples + readme updated
2023-10-17 20:25:36 +11:00