Lea Anthony
b249f0d0ce
Bring linux up to date with dev changes
2024-01-21 21:24:30 +11:00
Lea Anthony
1195464acb
Improve window teardown on termination
...
This commit adds a robust teardown process for windows on application shutdown. It introduces a field to track the destruction state of each window and checks such before performing window operations. Also, it enhances the destroy functions within application for thorough clean up. Finally, redundant event handlers related to application termination were removed while fixing file generating challenge in go tasks.
2024-01-09 07:45:56 +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
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
f787cf4bc2
[v3 linux] show dev tools if OpenInspectorAtStartup=true
2023-11-06 12:04:20 -06:00
Travis McLane
0fc535f2f1
[v3 linux] contextMenus
2023-11-06 10:41:14 -06: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
a6163849c6
[v3 linux] match windows transparency logic
2023-10-06 14:38:38 -05:00
Travis McLane
dbcf65b2d6
Revert "Merge branch 'v3-alpha-linux-systray' into v3-alpha"
...
This reverts commit 92b26488da
, reversing
changes made to 1c48d567e1
.
2023-10-05 08:34:12 -05:00
Travis McLane
efa67cb01c
[v3 linux] systray implementation
...
Linux requires a `gtk_menu_bar` for a gtk_window to display a menu.
For the `systray` a `gtk_menu` is needed instead.
This change creates the correct type of `impl` for the `Menu`
depending on how it is being used.
2023-09-28 14:50:38 -05:00
Travis McLane
02d76835c9
[v3 linux] noop: remove spurious print
2023-09-28 11:48:46 -05:00
Travis McLane
03b79e9a67
[v3 linux] noop: handleKeyEvent skeleton
2023-09-27 16:31:59 -05:00
Lea Anthony
bb3a0cc54f
Add WebviewWindow.IsFocused()
2023-09-13 08:57:20 +10:00
Travis McLane
2f7c6834d0
[v3 linux] use invokeSync
2023-09-11 17:12:57 -05:00
Travis McLane
54fcacfed1
[v3 linux] correct transparency setting
2023-09-01 15:57:13 -05:00
Travis McLane
bd9f7deb98
[v3 linux] correct minimum zoom
2023-08-23 14:10:22 -05:00
Travis McLane
4804b34208
[v3 linux] api changes ( #2830 )
2023-08-19 06:12:34 +10:00
Lea Anthony
15f602f867
Move v2 assetserver to v3
2023-08-12 14:16:53 +10:00
Lea Anthony
d6cfe4414d
[v3 Windows] Add WebviewWindow.Flash()
2023-07-11 20:10:18 +10:00
Travis McLane
de5cff799e
[v3 linux] setEnabled
2023-06-23 21:50:51 -05:00
Travis McLane
5a40f25d03
[v3 linux] webview setAbsolutePosition
2023-06-23 21:50:51 -05:00
Travis McLane
d52c26e82f
[v3 linux] implement missing functions
2023-06-23 21:50:51 -05:00
Travis McLane
bef454f950
[v3 linux] initial linux implementation
2023-06-23 21:50:51 -05:00
Travis McLane
94e1ec91ad
Revert "Merge branch 'v3-alpha_linux' into v3-alpha"
...
This reverts commit b317efaf2c
, reversing
changes made to 29b9c5200f
.
2023-06-23 21:50:51 -05:00
Lea Anthony
c96cccab2e
[v3] Add Window AbsolutePosition/SetAbsolutePosition
2023-06-23 21:14:26 +10:00
Lea Anthony
45cfbe917e
[v3] Position/GetPosition -> RelativePosition/GetRelativePosition
2023-06-23 20:49:27 +10:00
Lea Anthony
76672facfe
[v3] Add window Enabled
method. Fix dialog attachment
2023-06-23 19:48:04 +10: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
9da5cea88d
[linux/cgo] bugfix
2023-05-10 09:10:03 -05:00
Travis McLane
281f6335c1
[linux] dispatchOnMainThread
2023-05-10 09:10:03 -05:00
Travis McLane
41aef27631
[linux] use getNativeApplication
2023-05-10 09:10:03 -05:00
Travis McLane
a485b188b3
[linux/cgo] updates
2023-05-10 09:10:03 -05:00
Travis McLane
cb1859a710
[cgo] registerWindow
2023-05-10 09:10:03 -05:00
Travis McLane
68cfd130d3
[linux/cgo] initial implementation
2023-05-10 09:10:03 -05:00