5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 20:21:01 +08:00
wails/v2/internal/frontend/desktop/darwin
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
..
AppDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
AppDelegate.m [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
Application.h [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
Application.m [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
browser.go [mac] Fix build tags 2021-10-13 21:16:07 +11:00
callbacks.go [mac] menu support 2021-10-30 09:51:46 +11:00
calloc.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
clipboard.go Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
dialog.go [v2] Remove AllowFiles & AllowDirectories 2021-12-09 08:16:45 +11:00
frontend.go [v2] DevServer improvements and fixes (#2664) 2023-05-16 09:35:48 +02:00
inspector_dev.go [darwin] Add a macOS version guard for opening the web inspector (#2397) 2023-02-22 20:55:40 +11:00
inspector.go [darwin] Inspector tools should also be included into a debug build (#2162) 2022-12-01 09:20:18 +01:00
main.m Add EnableFraudulentWebsiteDetection to options (#2269) 2023-01-06 00:06:26 +11:00
menu.go [v2, darwin] Fix updating the menu on runtime (#2588) 2023-04-14 00:14:19 +10:00
menuitem.go [mac] menu support 2021-10-30 09:51:46 +11:00
message.h [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
Role.h [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
screen.go Expose screen dimensions (#1519) 2022-07-16 12:33:37 +10:00
WailsAlert.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsAlert.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
WailsContext.h [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
WailsContext.m [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
WailsMenu.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsMenu.m [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
WailsMenuItem.h [mac] menu support 2021-10-30 09:51:46 +11:00
WailsMenuItem.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
window.go Add EnableFraudulentWebsiteDetection to options (#2269) 2023-01-06 00:06:26 +11:00
WindowDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
WindowDelegate.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00