@gjsify/unit 0.41.0 → 0.42.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/lib/types/capabilities.d.ts +12 -6
- package/package.json +13 -13
|
@@ -27,14 +27,20 @@ export declare function canRealizeSurface(os: TargetOs | undefined, env: Display
|
|
|
27
27
|
*
|
|
28
28
|
* STRICTLY narrower than {@link canRealizeSurface}, and the reason the two carry
|
|
29
29
|
* different names. macOS has a window server without `DISPLAY`, so it passes the
|
|
30
|
-
* surface gate — but
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
30
|
+
* surface gate — but no CI leg has ever realized a GL context there: every darwin
|
|
31
|
+
* GL measurement in `status/open-todos.md` was taken by hand on the test VM, with
|
|
32
|
+
* `DYLD_LIBRARY_PATH` exported by the operator, because the `Gtk-4.0` typelib's
|
|
33
|
+
* bare `libgtk-4.1.dylib` leaf does not otherwise resolve on that host (#973). So
|
|
34
|
+
* the darwin answer is unknown, not no. Answering the GL question with the surface
|
|
35
|
+
* answer turns macOS red for a reason the WebGL suite does not own; answering the
|
|
36
|
+
* surface question with the GL answer is what kept darwin silent. win32 is excluded
|
|
37
|
+
* for the measured reason in #1097: the bundled GTK resolves epoxy with no GL
|
|
36
38
|
* implementation behind it.
|
|
37
39
|
*
|
|
40
|
+
* The GL 4.1 ceiling is NOT a reason to exclude darwin any more — `shaderSource()`
|
|
41
|
+
* rewrites `#version 300 es` for a desktop context without ARB_ES3_compatibility,
|
|
42
|
+
* and WebGL2 content draws there (measured, macOS 15.7.9 / GL 4.1 core).
|
|
43
|
+
*
|
|
38
44
|
* Widen this the day a leg proves the context — not the day it seems plausible.
|
|
39
45
|
*/
|
|
40
46
|
export declare function canRealizeGl(os: TargetOs | undefined, env: DisplayEnv): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/unit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"description": "A BDD-style testing framework for Gjs",
|
|
5
5
|
"module": "lib/esm/index.js",
|
|
6
6
|
"types": "lib/types/index.d.ts",
|
|
@@ -49,22 +49,22 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@girs/gjs": "^4.1.0",
|
|
51
51
|
"@girs/glib-2.0": "^4.1.0",
|
|
52
|
-
"@gjsify/cli": "^0.
|
|
52
|
+
"@gjsify/cli": "^0.42.0",
|
|
53
53
|
"@types/node": "^25.9.2",
|
|
54
54
|
"typescript": "^6.0.3"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@gjsify/abort-controller": "^0.
|
|
58
|
-
"@gjsify/assert": "^0.
|
|
59
|
-
"@gjsify/buffer": "^0.
|
|
60
|
-
"@gjsify/dom-elements": "^0.
|
|
61
|
-
"@gjsify/dom-exception": "^0.
|
|
62
|
-
"@gjsify/node-globals": "^0.
|
|
63
|
-
"@gjsify/process": "^0.
|
|
64
|
-
"@gjsify/runtime": "^0.
|
|
65
|
-
"@gjsify/utils": "^0.
|
|
66
|
-
"@gjsify/web-globals": "^0.
|
|
67
|
-
"@gjsify/web-streams": "^0.
|
|
57
|
+
"@gjsify/abort-controller": "^0.42.0",
|
|
58
|
+
"@gjsify/assert": "^0.42.0",
|
|
59
|
+
"@gjsify/buffer": "^0.42.0",
|
|
60
|
+
"@gjsify/dom-elements": "^0.42.0",
|
|
61
|
+
"@gjsify/dom-exception": "^0.42.0",
|
|
62
|
+
"@gjsify/node-globals": "^0.42.0",
|
|
63
|
+
"@gjsify/process": "^0.42.0",
|
|
64
|
+
"@gjsify/runtime": "^0.42.0",
|
|
65
|
+
"@gjsify/utils": "^0.42.0",
|
|
66
|
+
"@gjsify/web-globals": "^0.42.0",
|
|
67
|
+
"@gjsify/web-streams": "^0.42.0"
|
|
68
68
|
},
|
|
69
69
|
"gjsify": {
|
|
70
70
|
"tier": 1,
|