@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.
Files changed (49) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/Manifest.json +1 -1
  3. package/lib/compiler/compile-info.json +55 -55
  4. package/lib/compiler/index.js +18497 -22975
  5. package/lib/resource/qx/tool/compiler/cli/templates/class/default.tmpl.js +6 -7
  6. package/lib/resource/qx/tool/compiler/cli/templates/class/singleton.tmpl.js +5 -6
  7. package/lib/resource/qx/tool/compiler/schema/compile-1-0-0.json +6 -2
  8. package/package.json +8 -10
  9. package/source/class/qx/Class.js +3 -3
  10. package/source/class/qx/core/BaseInit.js +14 -13
  11. package/source/class/qx/core/MObjectId.js +16 -0
  12. package/source/class/qx/core/MProperty.js +147 -175
  13. package/source/class/qx/core/check/DynamicTypeCheck.js +4 -0
  14. package/source/class/qx/core/property/Property.js +20 -19
  15. package/source/class/qx/data/SingleValueBinding.js +5 -7
  16. package/source/class/qx/data/binding/AbstractSegment.js +1 -1
  17. package/source/class/qx/data/binding/ArrayIndexSegment.js +17 -10
  18. package/source/class/qx/data/binding/IInputReceiver.js +1 -1
  19. package/source/class/qx/data/binding/PropNameSegment.js +1 -1
  20. package/source/class/qx/dev/unit/TestCase.js +4 -1
  21. package/source/class/qx/event/handler/Focus.js +2 -1
  22. package/source/class/qx/html/Jsx.js +2 -3
  23. package/source/class/qx/html/Node.js +3 -3
  24. package/source/class/qx/io/jsonrpc/Client.js +1 -1
  25. package/source/class/qx/promise/NativeWrapper.js +1 -1
  26. package/source/class/qx/test/core/Property.js +30 -2
  27. package/source/class/qx/test/data/singlevalue/Simple.js +6 -0
  28. package/source/class/qx/test/locale/Date.js +2 -2
  29. package/source/class/qx/theme/classic/Appearance.js +21 -0
  30. package/source/class/qx/theme/modern/Appearance.js +21 -0
  31. package/source/class/qx/theme/simple/Appearance.js +21 -0
  32. package/source/class/qx/theme/tangible/Appearance.js +2 -0
  33. package/source/class/qx/tool/cli/AbstractCliApp.js +18 -2
  34. package/source/class/qx/tool/compiler/ClassFile.js +0 -4
  35. package/source/class/qx/tool/compiler/MetaDatabase.js +47 -0
  36. package/source/class/qx/tool/compiler/cli/commands/Compile.js +139 -8
  37. package/source/class/qx/tool/compiler/cli/commands/Create.js +1 -1
  38. package/source/class/qx/tool/compiler/cli/commands/Serve.js +1 -1
  39. package/source/class/qx/tool/compiler/cli/commands/Typescript.js +26 -39
  40. package/source/class/qx/tool/compiler/cli/commands/add/Script.js +1 -1
  41. package/source/class/qx/tool/compiler/cli/commands/package/Publish.js +3 -2
  42. package/source/class/qx/tool/compiler/cli/commands/package/Update.js +2 -2
  43. package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +3 -0
  44. package/source/class/qx/tool/compiler/targets/meta/Browserify.js +142 -80
  45. package/source/class/qx/tool/migration/M8_0_0.js +4 -4
  46. package/source/class/qx/ui/toolbar/ToolBar.js +4 -4
  47. package/source/resource/qx/tool/compiler/cli/templates/class/default.tmpl.js +6 -7
  48. package/source/resource/qx/tool/compiler/cli/templates/class/singleton.tmpl.js +5 -6
  49. 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
- this.markAsPending(
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
- this.markAsPending("Verify Node.js version >= 20.0.0");
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").isThemedValue(child)) {
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").isThemedValue(child)) {
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").isThemedValue()) {
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").isThemedValue()) {
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 : function() {
16
- // If you want to call the parent constructor, use
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 : function(foo, bar) {
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 : function(value, old) {
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 : function() {
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 : function() {
18
- // If you want to call the parent constructor, use
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 : function(foo, bar)
57
+ myMethod(foo, bar)
59
58
  {
60
59
  //
61
60
  },
62
61
 
63
62
  /** Applies the foo property */
64
- _applyFoo : function(value, old)
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 given to browserify. For details see here: <https://github.com/browserify/browserify#usage>. They can be overridden per target."
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 given to browserify. For details see here: <https://github.com/browserify/browserify#usage>. They can be overridden per target."
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
  },