@qooxdoo/framework 8.0.0-beta.1 → 8.0.0-beta.2
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/CHANGELOG.md +33 -0
- package/Manifest.json +1 -1
- package/lib/compiler/compile-info.json +55 -55
- package/lib/compiler/index.js +18497 -22975
- package/lib/resource/qx/tool/compiler/cli/templates/class/default.tmpl.js +6 -7
- package/lib/resource/qx/tool/compiler/cli/templates/class/singleton.tmpl.js +5 -6
- package/lib/resource/qx/tool/compiler/schema/compile-1-0-0.json +6 -2
- package/package.json +8 -10
- package/source/class/qx/Class.js +3 -3
- package/source/class/qx/core/BaseInit.js +14 -13
- package/source/class/qx/core/MObjectId.js +16 -0
- package/source/class/qx/core/MProperty.js +147 -175
- package/source/class/qx/core/check/DynamicTypeCheck.js +4 -0
- package/source/class/qx/core/property/Property.js +20 -19
- package/source/class/qx/data/SingleValueBinding.js +5 -7
- package/source/class/qx/data/binding/AbstractSegment.js +1 -1
- package/source/class/qx/data/binding/ArrayIndexSegment.js +17 -10
- package/source/class/qx/data/binding/IInputReceiver.js +1 -1
- package/source/class/qx/data/binding/PropNameSegment.js +1 -1
- package/source/class/qx/dev/unit/TestCase.js +4 -1
- package/source/class/qx/event/handler/Focus.js +2 -1
- package/source/class/qx/html/Jsx.js +2 -3
- package/source/class/qx/html/Node.js +3 -3
- package/source/class/qx/io/jsonrpc/Client.js +1 -1
- package/source/class/qx/promise/NativeWrapper.js +1 -1
- package/source/class/qx/test/core/Property.js +30 -2
- package/source/class/qx/test/data/singlevalue/Simple.js +6 -0
- package/source/class/qx/test/locale/Date.js +2 -2
- package/source/class/qx/theme/classic/Appearance.js +21 -0
- package/source/class/qx/theme/modern/Appearance.js +21 -0
- package/source/class/qx/theme/simple/Appearance.js +21 -0
- package/source/class/qx/theme/tangible/Appearance.js +2 -0
- package/source/class/qx/tool/cli/AbstractCliApp.js +18 -2
- package/source/class/qx/tool/compiler/ClassFile.js +0 -4
- package/source/class/qx/tool/compiler/MetaDatabase.js +47 -0
- package/source/class/qx/tool/compiler/cli/commands/Compile.js +139 -8
- package/source/class/qx/tool/compiler/cli/commands/Create.js +1 -1
- package/source/class/qx/tool/compiler/cli/commands/Serve.js +1 -1
- package/source/class/qx/tool/compiler/cli/commands/Typescript.js +26 -39
- package/source/class/qx/tool/compiler/cli/commands/add/Script.js +1 -1
- package/source/class/qx/tool/compiler/cli/commands/package/Publish.js +3 -2
- package/source/class/qx/tool/compiler/cli/commands/package/Update.js +2 -2
- package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +3 -0
- package/source/class/qx/tool/compiler/targets/meta/Browserify.js +142 -80
- package/source/class/qx/tool/migration/M8_0_0.js +4 -4
- package/source/class/qx/ui/toolbar/ToolBar.js +4 -4
- package/source/resource/qx/tool/compiler/cli/templates/class/default.tmpl.js +6 -7
- package/source/resource/qx/tool/compiler/cli/templates/class/singleton.tmpl.js +5 -6
- package/source/resource/qx/tool/compiler/schema/compile-1-0-0.json +6 -2
|
@@ -74,9 +74,7 @@ qx.Class.define("qx.tool.migration.M8_0_0", {
|
|
|
74
74
|
"cancelled before refreshing table model data.\n" +
|
|
75
75
|
"See: https://github.com/qooxdoo/qooxdoo/blob/master/CHANGELOG.md#breaking-changes"
|
|
76
76
|
);
|
|
77
|
-
|
|
78
|
-
"Manual review required for table model data updates"
|
|
79
|
-
);
|
|
77
|
+
// Informational only — cannot be auto-detected, so no markAsPending
|
|
80
78
|
},
|
|
81
79
|
|
|
82
80
|
/**
|
|
@@ -368,7 +366,9 @@ qx.Class.define("qx.tool.migration.M8_0_0", {
|
|
|
368
366
|
" Old: '@qooxdoo/qx'\n" +
|
|
369
367
|
" New: '@qooxdoo/eslint-plugin-qx' or full import"
|
|
370
368
|
);
|
|
371
|
-
|
|
369
|
+
if (!semver.gte(process.versions.node, "20.0.0")) {
|
|
370
|
+
this.markAsPending("Verify Node.js version >= 20.0.0");
|
|
371
|
+
}
|
|
372
372
|
},
|
|
373
373
|
|
|
374
374
|
/**
|
|
@@ -472,7 +472,7 @@ qx.Class.define("qx.ui.toolbar.ToolBar", {
|
|
|
472
472
|
_add(child, options) {
|
|
473
473
|
super._add(child, options);
|
|
474
474
|
// sync the show property (bug #6743) - but only if show wasn't explicitly set for the child (bug #6823)
|
|
475
|
-
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").
|
|
475
|
+
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").isUserValue(child)) {
|
|
476
476
|
child.setShowFeatures(this.getShowFeatures());
|
|
477
477
|
}
|
|
478
478
|
|
|
@@ -484,7 +484,7 @@ qx.Class.define("qx.ui.toolbar.ToolBar", {
|
|
|
484
484
|
_addAt(child, index, options) {
|
|
485
485
|
super._addAt(child, index, options);
|
|
486
486
|
// sync the show property (bug #6743) - but only if show wasn't explicitly set for the child (bug #6823)
|
|
487
|
-
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").
|
|
487
|
+
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").isUserValue(child)) {
|
|
488
488
|
child.setShowFeatures(this.getShowFeatures());
|
|
489
489
|
}
|
|
490
490
|
|
|
@@ -496,7 +496,7 @@ qx.Class.define("qx.ui.toolbar.ToolBar", {
|
|
|
496
496
|
_addBefore(child, before, options) {
|
|
497
497
|
super._addBefore(child, before, options);
|
|
498
498
|
// sync the show property (bug #6743) - but only if show wasn't explicitly set for the child (bug #6823)
|
|
499
|
-
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").
|
|
499
|
+
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").isUserValue(child)) {
|
|
500
500
|
child.setShowFeatures(this.getShowFeatures());
|
|
501
501
|
}
|
|
502
502
|
|
|
@@ -508,7 +508,7 @@ qx.Class.define("qx.ui.toolbar.ToolBar", {
|
|
|
508
508
|
_addAfter(child, after, options) {
|
|
509
509
|
super._addAfter(child, after, options);
|
|
510
510
|
// sync the show property (bug #6743) - but only if show wasn't explicitly set for the child (bug #6823)
|
|
511
|
-
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").
|
|
511
|
+
if (child.setShowFeatures && !qx.util.PropertyUtil.getProperty(child, "showFeatures").isUserValue(child)) {
|
|
512
512
|
child.setShowFeatures(this.getShowFeatures());
|
|
513
513
|
}
|
|
514
514
|
|
|
@@ -12,9 +12,8 @@ qx.Class.define("${classname}",
|
|
|
12
12
|
/**
|
|
13
13
|
* Constructor
|
|
14
14
|
*/
|
|
15
|
-
construct
|
|
16
|
-
|
|
17
|
-
// this.base(arguments);
|
|
15
|
+
construct() {
|
|
16
|
+
super();
|
|
18
17
|
},
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -62,7 +61,7 @@ qx.Class.define("${classname}",
|
|
|
62
61
|
* @param {number} bar The bar parameter
|
|
63
62
|
* @return The result of the method.
|
|
64
63
|
*/
|
|
65
|
-
myMethod
|
|
64
|
+
myMethod(foo, bar) {
|
|
66
65
|
//
|
|
67
66
|
},
|
|
68
67
|
|
|
@@ -72,7 +71,7 @@ qx.Class.define("${classname}",
|
|
|
72
71
|
* @param {string} value new value
|
|
73
72
|
* @param {string} old the old value
|
|
74
73
|
*/
|
|
75
|
-
_applyFoo
|
|
74
|
+
_applyFoo(value, old) {
|
|
76
75
|
//
|
|
77
76
|
}
|
|
78
77
|
|
|
@@ -81,7 +80,7 @@ qx.Class.define("${classname}",
|
|
|
81
80
|
/**
|
|
82
81
|
* Use for disposing objects created by class instances
|
|
83
82
|
*/
|
|
84
|
-
destruct
|
|
83
|
+
destruct() {
|
|
85
84
|
//
|
|
86
|
-
}
|
|
85
|
+
}
|
|
87
86
|
});
|
|
@@ -14,9 +14,8 @@ qx.Class.define("${classname}",
|
|
|
14
14
|
/**
|
|
15
15
|
* Create a the singleton
|
|
16
16
|
*/
|
|
17
|
-
construct
|
|
18
|
-
|
|
19
|
-
// this.base(arguments);
|
|
17
|
+
construct() {
|
|
18
|
+
super();
|
|
20
19
|
},
|
|
21
20
|
|
|
22
21
|
/**
|
|
@@ -55,15 +54,15 @@ qx.Class.define("${classname}",
|
|
|
55
54
|
* @param {Number} bar The bar parameter
|
|
56
55
|
* @return {void} The result of the method.
|
|
57
56
|
*/
|
|
58
|
-
myMethod
|
|
57
|
+
myMethod(foo, bar)
|
|
59
58
|
{
|
|
60
59
|
//
|
|
61
60
|
},
|
|
62
61
|
|
|
63
62
|
/** Applies the foo property */
|
|
64
|
-
_applyFoo
|
|
63
|
+
_applyFoo(value, old)
|
|
65
64
|
{
|
|
66
65
|
//
|
|
67
|
-
}
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
68
|
});
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
},
|
|
321
321
|
"browserifyOptions": {
|
|
322
322
|
"type": "object",
|
|
323
|
-
"description": "Options
|
|
323
|
+
"description": "Options passed to esbuild when bundling CommonJS modules. See https://esbuild.github.io/api/ for available options. They can be overridden per target. Browserify-specific options (noParse, ignoreMissing, insertGlobals, detectGlobals, builtins) are not supported and will be ignored with a warning."
|
|
324
324
|
},
|
|
325
325
|
"parts": {
|
|
326
326
|
"$ref": "#/properties/parts"
|
|
@@ -465,9 +465,13 @@
|
|
|
465
465
|
"browserify": {
|
|
466
466
|
"type": "object",
|
|
467
467
|
"properties": {
|
|
468
|
+
"polyfillNode": {
|
|
469
|
+
"type": "boolean",
|
|
470
|
+
"description": "Whether to include the esbuild-plugin-polyfill-node plugin, which provides browser shims for Node.js built-ins (process, buffer, etc.). Defaults to true. Set to false if your packages do not use Node.js built-ins and you want a smaller bundle."
|
|
471
|
+
},
|
|
468
472
|
"options": {
|
|
469
473
|
"type": "object",
|
|
470
|
-
"description": "Options
|
|
474
|
+
"description": "Options passed to esbuild when bundling CommonJS modules. See https://esbuild.github.io/api/ for available options. They can be overridden per target. Browserify-specific options (noParse, ignoreMissing, insertGlobals, detectGlobals, builtins) are not supported and will be ignored with a warning."
|
|
471
475
|
}
|
|
472
476
|
}
|
|
473
477
|
},
|