* Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland"
* GDK_BACKEND should only be set if XDG_SESSION_TYPE is unset, "unspecified" or "x11"
* [webview2loader] Start porting of OpenWebView2Loader to go
* [webviewloader] Use go implementation to retrieve the version of a fixed runtime
This fixes a problem with the go-winloader and using GetAvailableCoreWebView2BrowserVersionString
Fixes#1569
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* Add frontend:dev:install configuration
* When building the frontend in dev mode, use `frontend:dev:install` (if it has been defined) to install the dependencies
* Simplified logic for determining installation command
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* New command `show`. Adds support for retrieving the release notes from Github. Shown automatically after update.
* Improve code
* Don't show release notes by default, but show how to view them
* Add version flag for release notes
* Escape path
This makes sure we always use the correct WKURLSchemeTask during
processURLResponse. Only using the URL is not unique enough and
might result in pending requests if two requests with the same URL
are getting processed.
It seems like kern.osrevision is always 199506 since several years
and kern.osversion maps to the official documented build id.
Example: MacOS 12.5 with ID 21G72
There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.
Updates to svelte template.
Refactor url detector to strip ANSI codes at point of source
Ignore frontend if external dev server used.
[AssetServer] WebSockets can always directly be forwarded to the handler
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* get dimensions working for linux
* Cleaning up some GTK code
I was getting the following errors due to some bad casts.
Gdk-CRITICAL **: 18:58:51.943: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed
Gdk-CRITICAL **: 18:58:51.943: gdk_display_get_monitor_at_window: assertion 'GDK_IS_DISPLAY (display)' failed
This commit fixes these errors
* Adding Screen namespace along with linux implementation
* moving ScreenGetAll into a more appropriate place
* Fixing typescript definition mistake, documentation, ordering of functions, and formatting
* add ScreenGetAll to more templates
* moving screen into its own javascript file
* fixing bug where screen objects are not returned from the runtime function
* rebuilding frontend wrapper package
* adding windows implementation of ScreenGetAll
* adding screen get all implementation for darwin
* reverting a change that is unrelated to the work on expose-dimensions
* removing duplicate comparison
* changing GetNthScreen in screen API on macos
To use frame instead of visibleframe to keep into account the space the the dock takes up
We want to include that space in the calculation in order to keep the sizes of screens consistent across platforms
* Correcting screen jsdoc
It used to say it returned a single screen object. Now it says that it returns an array of screen objects
* Fixing typo in function name
* reverting pointless spacing change
* reverting pointless spacing change
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: shmuel.kamensky <shmuel.kamensky@shutterfly.com>