@gjsify/webkit-native 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -50,6 +50,19 @@ GMainContext, and a GMainContext does not pump a CFRunLoop. Measured: a
|
|
|
50
50
|
view is alive — [`docs/poc/webkit-runloop-darwin.m`](../../../docs/poc/webkit-runloop-darwin.m)
|
|
51
51
|
is that measurement, and it fails loudly if either half stops being true.
|
|
52
52
|
|
|
53
|
+
The drain holds under **Node** too, which is worth stating because the host that
|
|
54
|
+
needs it most is not GJS: ADR 0024 § 4 puts macOS applications on Node +
|
|
55
|
+
`@gjsify/node-gi`, and node-gi pumps the GMainContext its own way — it can fall
|
|
56
|
+
back to timed polling rather than watching a GLib poll fd from libuv. Measured on
|
|
57
|
+
the darwin-x64 VM under Node 24: `load_html()` on a `WebKit.WebView` reaches
|
|
58
|
+
`LoadEvent.FINISHED` via `STARTED` and `COMMITTED`, so the CFRunLoop source is
|
|
59
|
+
serviced there as well. Nothing here is GJS-specific — the package ships no
|
|
60
|
+
JavaScript at all, only the dylib and the typelib, and both are runtime-neutral.
|
|
61
|
+
`gjsify.runtimes.node` stays `"none"` for the reason every other JS-free
|
|
62
|
+
`*-native` package declares it so: that axis describes the package's own
|
|
63
|
+
JavaScript, of which there is none. It is not a claim that Node cannot use the
|
|
64
|
+
namespace.
|
|
65
|
+
|
|
53
66
|
**The widget is built, not embedded.** `WKWebView` is an `NSView` and GTK4 has no
|
|
54
67
|
foreign-window embedding, so the content renders offscreen and is presented as a
|
|
55
68
|
`GdkTexture` in the widget's `snapshot` vfunc. There is no "content changed"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/webkit-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"description": "Apple WebKit (WKWebView) behind a GObject API shaped like WebKitGTK 6.0 — the darwin backend for @gjsify/iframe (ADR 0022). Contains no JavaScript; the prebuilt library and typelib arrive through per-target optionalDependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [],
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/framework/webkit-native#readme",
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@gjsify/webkit-native-darwin-arm64": "0.
|
|
58
|
-
"@gjsify/webkit-native-darwin-x64": "0.
|
|
57
|
+
"@gjsify/webkit-native-darwin-arm64": "0.46.0",
|
|
58
|
+
"@gjsify/webkit-native-darwin-x64": "0.46.0"
|
|
59
59
|
}
|
|
60
60
|
}
|