Commit Graph
4302 Commits
Author SHA1 Message Date
Travis McLane 6d90c1678c move install_signal_handlers to proper location 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane a7fb568aff Fix signal handlers 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 065ca5f6d3 Move to latest webkit2 and remove older code.
Fix screen demo.
Update examples.
2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane ab9eec12eb Update status. Make wml demo non-drag 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 430736a4f2 Remove need for javascriptcore 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 161444107a Support linux systrays, of sorts... 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 12e2e2101a fix screens 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane e39097a17e fix min/max 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane be7c723c47 Fix window close issues
Update docs
Make uri scheme registration thread safe
2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane a60b198b03 Fix window close issues 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane e06df85f02 WindowID now correctly processed by postMessage calls. 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 288a4757f8 WindowID now correctly passed with webview request. 2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 29363fc07f ToggleDevTools -> OpenDevTools
More refactor CGO methods.
2024-03-06 16:59:13 -06:00
Lea AnthonyandTravis McLane 02a1b540ce [WIP] refactor CGO methods 2024-03-06 15:43:50 -06:00
Lea AnthonyandTravis McLane a048233f4c Added menu cloning.
Introduced the ability to clone a menu, along with its submenus, in Linux-based web applications to create a full deep copy. This fixes reusing the application menu for window menus.
2024-03-06 15:40:28 -06:00
Lea AnthonyandTravis McLane 758c4c2c8d Refactor Linux application handling in webview
This update introduces a LinuxOptions struct for Linux-specific application configurations and refines webview for Linux. The 'windows' map has been renamed to 'windowMap' to avoid confusion. Moreover, a method to unregister Windows has been added to ensure the Linux application automatically quits when the last window closes, unless explicitly disabled in the new LinuxOptions structure. Reset Window position after hiding. Some debug output has been removed.
2024-03-06 11:52:06 -06:00
Lea AnthonyandTravis McLane adae39efee Add webview GPU policy and update Linux options
The commit introduces a set of webview GPU policies to control hardware acceleration. These policies define when hardware acceleration is enabled on the webview. An option for this has been added to the LinuxWindow struct for Linux specific windows. Additional code modification was carried out to use this new GPU policy option when calling `windowNew` function. Finally, the sequence of the GPU Policies in the const declaration has been updated for better readability.
2024-03-06 11:49:11 -06:00
Lea AnthonyandTravis McLane 84e1bb4d9b Improve Linux application events and refactor app method receivers
This commit includes the addition of common events for the Linux platform. Refactored and standardized the method receivers for the application from 'm' to 'l'. Also, the application startup events in the window example have been updated according to the new naming scheme.
2024-03-06 11:48:26 -06:00
Lea AnthonyandTravis McLane 6b0daf3da9 Update windowSetupSignalHandlers & linux events 2024-03-06 11:44:55 -06:00
Lea AnthonyandTravis McLane b6c5d90c9d Window Flash for Linux
Set Min/Max window buttons
2024-03-06 11:43:16 -06:00
Lea AnthonyandTravis McLane a34ccbff33 ToggleDevTools -> OpenDevTools
More refactor CGO methods.
2024-03-06 11:43:12 -06:00
Lea AnthonyandTravis McLane 4cd4b46772 [WIP] refactor CGO methods 2024-03-06 11:42:19 -06:00
Lea AnthonyandTravis McLane 3d93c83920 Added menu cloning.
Introduced the ability to clone a menu, along with its submenus, in Linux-based web applications to create a full deep copy. This fixes reusing the application menu for window menus.
2024-03-06 11:42:19 -06:00
Lea AnthonyandTravis McLane 809863d61a Refactor Linux application handling in webview
This update introduces a LinuxOptions struct for Linux-specific application configurations and refines webview for Linux. The 'windows' map has been renamed to 'windowMap' to avoid confusion. Moreover, a method to unregister Windows has been added to ensure the Linux application automatically quits when the last window closes, unless explicitly disabled in the new LinuxOptions structure. Reset Window position after hiding. Some debug output has been removed.
2024-03-06 11:42:19 -06:00
Lea AnthonyandTravis McLane 4c7b643295 Add webview GPU policy and update Linux options
The commit introduces a set of webview GPU policies to control hardware acceleration. These policies define when hardware acceleration is enabled on the webview. An option for this has been added to the LinuxWindow struct for Linux specific windows. Additional code modification was carried out to use this new GPU policy option when calling `windowNew` function. Finally, the sequence of the GPU Policies in the const declaration has been updated for better readability.
2024-03-06 11:42:19 -06:00