You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/PURE_ZIG_REFACTOR.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ deleted.
30
30
| Server and security | HTTP, WebSocket, TLS, loopback/public policy, capabilities, Origin checks, cookies, and protocol limits are implemented. |
31
31
| Browser bridge | Bindings, typed arguments and replies, events, deferred replies, JavaScript evaluation, raw data, navigation, and multiple clients are implemented. |
32
32
| Content and lifecycle | HTML, directories, custom handlers, external URLs, runtime content replacement, default directories, favicons, directory monitoring, logging, and deterministic shutdown are implemented. |
33
-
| Browser integration | Default URL opening, browser discovery, explicit browser selection, custom executables and argv, direct child tracking, replacement, and shutdown cleanup are implemented. |
33
+
| Browser integration | Default URL opening, browser discovery, explicit browser selection, typed launch controls, custom executables and argv, direct child tracking, replacement, and shutdown cleanup are implemented. |
34
34
| Current validation |`zig build test`, native builds, Windows x86_64 builds, macOS aarch64 builds, and Windows/macOS test-module cross-compilation pass. |
35
35
36
36
Remaining work is limited to browser window controls and geometry, managed
@@ -321,10 +321,10 @@ implementations.
321
321
322
322
| Upstream API | Current gap |
323
323
|---|---|
324
-
|`webui_set_kiosk()`, `webui_focus()`, `webui_minimize()`, `webui_maximize()`, `webui_set_hide()`|Browser window mode and lifecycle controls are not implemented. |
325
-
|`webui_set_resizable()`, `webui_set_size()`, `webui_set_minimum_size()`, `webui_set_position()`, `webui_set_center()`|Browser window geometry controls are not implemented. |
324
+
|`webui_focus()`, `webui_minimize()`, `webui_maximize()`, `webui_set_hide()`|Runtime browser window lifecycle controls are not implemented. |
325
+
|`webui_set_resizable()`, `webui_set_minimum_size()`, `webui_set_center()`|The remaining browser window geometry controls are not implemented. |
326
326
|`webui_set_frameless()`, `webui_set_transparent()`| Frameless and transparent browser window modes are not implemented. |
327
-
|`webui_set_high_contrast()`, `webui_is_high_contrast()`|High-contrast mode control and detection are not implemented. |
327
+
|`webui_is_high_contrast()`|Portable host high-contrast detection is not implemented. |
328
328
|`webui_set_profile()`, `webui_delete_profile()`, `webui_delete_all_profiles()`| Managed browser profiles are not implemented. |
329
329
|`webui_set_proxy()`| Browser proxy configuration is not implemented. |
330
330
|`webui_get_parent_process_id()`| A portable parent-process numeric ID accessor is not implemented. |
@@ -354,6 +354,7 @@ not implementation gaps:
354
354
|`webui_open_url()`|`openUrl()` safely passes a non-empty URL as one argument to the platform default opener. |
355
355
|`webui_get_best_browser()`, `webui_browser_exist()`|`bestBrowser()` and `browserExists()` discover registered or executable browser candidates through the public `Browser` enum. |
356
356
|`webui_show_browser()`, `webui_set_browser_folder()`, `webui_set_custom_parameters()`|`Window.openWithBrowser()` accepts a `BrowserLaunchOptions` value with an explicit browser, optional full executable path, and additional argv. |
|`webui_get_child_process_id()`|`Window.openWithBrowser()` returns the retained direct child's `BrowserProcessId`; `Window.browserProcessId()` retrieves it later. |
358
359
|`webui_set_default_root_folder()`|`App.Options.default_directory` supplies directory content to windows created without explicit content. |
359
360
|`webui_set_config(folder_monitor)`|`App.Options.folder_monitor_interval` enables portable recursive directory polling and reloads the affected window's connected clients. |
@@ -429,11 +430,13 @@ and shutdown cleanup are implemented.
429
430
This completes the browser discovery, selection, custom-parameter, and direct
0 commit comments