@qooxdoo/framework 7.5.0 → 7.5.1

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 (43) hide show
  1. package/Manifest.json +1 -1
  2. package/bin/deploy/qx +7 -5
  3. package/lib/compiler/compile-info.json +75 -75
  4. package/lib/compiler/index.js +412 -393
  5. package/lib/resource/qx/tool/cli/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +7 -7
  6. package/lib/resource/qx/tool/cli/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +10 -10
  7. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +6 -6
  8. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +9 -9
  9. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +5 -5
  10. package/lib/resource/qx/tool/cli/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +7 -7
  11. package/lib/resource/qx/tool/cli/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +10 -10
  12. package/lib/resource/qx/tool/cli/templates/skeleton/server/source/class/custom/Application.tmpl.js +6 -6
  13. package/lib/resource/qx/tool/cli/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +12 -12
  14. package/lib/resource/qx/tool/website/src/about.md +1 -1
  15. package/package.json +2 -2
  16. package/source/class/qx/test/io/transport/Websocket.js +1 -1
  17. package/source/class/qx/theme/IndigoDark.js +1 -1
  18. package/source/class/qx/theme/indigo/DecorationDark.js +30 -0
  19. package/source/class/qx/tool/cli/Application.js +4 -1
  20. package/source/class/qx/tool/cli/Cli.js +22 -23
  21. package/source/class/qx/tool/cli/Watch.js +5 -6
  22. package/source/class/qx/tool/cli/commands/Compile.js +2 -1
  23. package/source/class/qx/tool/cli/commands/Lint.js +1 -1
  24. package/source/class/qx/tool/cli/commands/Run.js +6 -7
  25. package/source/class/qx/tool/cli/commands/Serve.js +29 -36
  26. package/source/class/qx/tool/cli/commands/Test.js +3 -2
  27. package/source/class/qx/tool/cli/commands/add/Script.js +3 -1
  28. package/source/class/qx/tool/cli/commands/package/Install.js +3 -0
  29. package/source/class/qx/tool/compiler/ClassFile.js +2 -1
  30. package/source/class/qx/tool/compiler/app/Cldr.js +63 -26
  31. package/source/class/qx/ui/basic/Image.js +6 -2
  32. package/source/class/qx/ui/core/Widget.js +13 -42
  33. package/source/resource/qx/mobile/scss/common/_gradients.scss +1 -1
  34. package/source/resource/qx/tool/cli/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +7 -7
  35. package/source/resource/qx/tool/cli/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +10 -10
  36. package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +6 -6
  37. package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +9 -9
  38. package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +5 -5
  39. package/source/resource/qx/tool/cli/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +7 -7
  40. package/source/resource/qx/tool/cli/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +10 -10
  41. package/source/resource/qx/tool/cli/templates/skeleton/server/source/class/custom/Application.tmpl.js +6 -6
  42. package/source/resource/qx/tool/cli/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +12 -12
  43. package/source/resource/qx/tool/website/src/about.md +1 -1
@@ -24,15 +24,15 @@ qx.Class.define("${namespace}.demo.Application",
24
24
  members :
25
25
  {
26
26
  /**
27
- * This method contains the initial application code and gets called
27
+ * This method contains the initial application code and gets called
28
28
  * during startup of the application
29
- *
29
+ *
30
30
  * @lint ignoreDeprecated(alert)
31
31
  */
32
- main : function()
32
+ main()
33
33
  {
34
34
  // Call super class
35
- this.base(arguments);
35
+ super.main();
36
36
 
37
37
  // Enable logging in debug variant
38
38
  if (qx.core.Environment.get("qx.debug"))
@@ -50,10 +50,10 @@ qx.Class.define("${namespace}.demo.Application",
50
50
  */
51
51
 
52
52
  // Create a button
53
- var button1 = new ${namespace}.Button("Very special button", "${namespace_as_path}/test.png");
53
+ const button1 = new ${namespace}.Button("Very special button", "${namespace_as_path}/test.png");
54
54
 
55
55
  // Document is the application root
56
- var doc = this.getRoot();
56
+ const doc = this.getRoot();
57
57
 
58
58
  // Add button to document at fixed coordinates
59
59
  doc.add(button1, {left: 100, top: 50});
@@ -64,4 +64,4 @@ qx.Class.define("${namespace}.demo.Application",
64
64
  });
65
65
  }
66
66
  }
67
- });
67
+ });
@@ -11,13 +11,13 @@
11
11
  /**
12
12
  * This class demonstrates how to define unit tests for your application.
13
13
  *
14
- * Execute <code>qx test</code> to generate a testrunner application
14
+ * Execute <code>qx test</code> to generate a testrunner application
15
15
  * and open it from <tt>test/index.html</tt>
16
16
  *
17
- * The methods that contain the tests are instance methods with a
18
- * <code>test</code> prefix. You can create an arbitrary number of test
19
- * classes like this one. They can be organized in a regular class hierarchy,
20
- * i.e. using deeper namespaces and a corresponding file structure within the
17
+ * The methods that contain the tests are instance methods with a
18
+ * <code>test</code> prefix. You can create an arbitrary number of test
19
+ * classes like this one. They can be organized in a regular class hierarchy,
20
+ * i.e. using deeper namespaces and a corresponding file structure within the
21
21
  * <tt>test</tt> folder.
22
22
  */
23
23
  qx.Class.define("${namespace}.test.DemoTest",
@@ -31,11 +31,11 @@ qx.Class.define("${namespace}.test.DemoTest",
31
31
  TESTS
32
32
  ---------------------------------------------------------------------------
33
33
  */
34
-
34
+
35
35
  /**
36
36
  * Here are some simple tests
37
37
  */
38
- testSimple : function()
38
+ testSimple()
39
39
  {
40
40
  this.assertEquals(4, 3+1, "This should never fail!");
41
41
  this.assertFalse(false, "Can false be true?!");
@@ -44,10 +44,10 @@ qx.Class.define("${namespace}.test.DemoTest",
44
44
  /**
45
45
  * Here are some more advanced tests
46
46
  */
47
- testAdvanced: function ()
47
+ testAdvanced()
48
48
  {
49
- var a = 3;
50
- var b = a;
49
+ let a = 3;
50
+ let b = a;
51
51
  this.assertIdentical(a, b, "A rose by any other name is still a rose");
52
52
  this.assertInRange(3, 1, 10, "You must be kidding, 3 can never be outside [1,10]!");
53
53
  }
@@ -34,7 +34,7 @@ qx.Class.define("${namespace}.Application",
34
34
  * This method contains the initial application code and gets called
35
35
  * during startup of the application
36
36
  */
37
- main : function()
37
+ main()
38
38
  {
39
39
  if (qx.core.Environment.get("runtime.name") == "rhino") {
40
40
  qx.log.Logger.register(qx.log.appender.RhinoConsole);
@@ -59,10 +59,10 @@ qx.Class.define("${namespace}.Application",
59
59
  *
60
60
  * @param args {String[]} Rhino arguments object
61
61
  */
62
- _argumentsToSettings : function(args)
62
+ _argumentsToSettings(args)
63
63
  {
64
- var opts;
65
- for (var i=0, l=args.length; i<l; i++) {
64
+ let opts;
65
+ for (let i=0, l=args.length; i<l; i++) {
66
66
  if (args[i].indexOf("settings=") == 0) {
67
67
  opts = args[i].substr(9);
68
68
  break;
@@ -75,8 +75,8 @@ qx.Class.define("${namespace}.Application",
75
75
  if (opts) {
76
76
  opts = opts.replace(/\\\{/g, "{").replace(/\\\}/g, "}");
77
77
  opts = qx.lang.Json.parse(opts);
78
- for (var prop in opts) {
79
- var value = opts[prop];
78
+ for (let prop in opts) {
79
+ let value = opts[prop];
80
80
  if (typeof value == "string") {
81
81
  value = value.replace(/\$$/g, " ");
82
82
  }
@@ -11,13 +11,13 @@
11
11
  /**
12
12
  * This class demonstrates how to define unit tests for your application.
13
13
  *
14
- * Execute <code>qx test</code> to generate a testrunner application
14
+ * Execute <code>qx test</code> to generate a testrunner application
15
15
  * and open it from <tt>test/index.html</tt>
16
16
  *
17
- * The methods that contain the tests are instance methods with a
18
- * <code>test</code> prefix. You can create an arbitrary number of test
19
- * classes like this one. They can be organized in a regular class hierarchy,
20
- * i.e. using deeper namespaces and a corresponding file structure within the
17
+ * The methods that contain the tests are instance methods with a
18
+ * <code>test</code> prefix. You can create an arbitrary number of test
19
+ * classes like this one. They can be organized in a regular class hierarchy,
20
+ * i.e. using deeper namespaces and a corresponding file structure within the
21
21
  * <tt>test</tt> folder.
22
22
  */
23
23
  qx.Class.define("${namespace}.test.DemoTest",
@@ -33,11 +33,11 @@ qx.Class.define("${namespace}.test.DemoTest",
33
33
  TESTS
34
34
  ---------------------------------------------------------------------------
35
35
  */
36
-
36
+
37
37
  /**
38
38
  * Here are some simple tests
39
39
  */
40
- testSimple : function()
40
+ testSimple()
41
41
  {
42
42
  this.assertEquals(4, 3+1, "This should never fail!");
43
43
  this.assertFalse(false, "Can false be true?!");
@@ -46,20 +46,20 @@ qx.Class.define("${namespace}.test.DemoTest",
46
46
  /**
47
47
  * Here are some more advanced tests
48
48
  */
49
- testAdvanced: function ()
49
+ testAdvanced()
50
50
  {
51
- var a = 3;
52
- var b = a;
51
+ let a = 3;
52
+ let b = a;
53
53
  this.assertIdentical(a, b, "A rose by any other name is still a rose");
54
54
  this.assertInRange(3, 1, 10, "You must be kidding, 3 can never be outside [1,10]!");
55
55
  },
56
56
 
57
- hasNodeJs : function()
57
+ hasNodeJs()
58
58
  {
59
59
  return qx.core.Environment.get("runtime.name") == "node.js";
60
60
  },
61
61
 
62
- testNodeJs : function()
62
+ testNodeJs()
63
63
  {
64
64
  this.require(["nodeJs"]);
65
65
  // test node stuff
@@ -8,7 +8,7 @@ This is the built in web server for Qooxdoo, serving your application.
8
8
 
9
9
  You can find Qooxdoo on the web at http://www.qooxdoo.org and on GitHub at http://github.com/qooxdoo/qooxdoo.
10
10
 
11
- If you have questions, please ask them at [StackOverflow](https://stackoverflow.com/questions/tagged/qooxdoo) and make sure you use the "qooxdoo" tag when you post.
11
+ If you have questions, please ask them at [Stack Overflow](https://stackoverflow.com/questions/tagged/qooxdoo) and make sure you use the "qooxdoo" tag when you post.
12
12
 
13
13
  If you want to discuss anything, please contact us using Gitter in the [qooxdoo/qooxdoo](http://gitter.im/qooxdoo/qooxdoo) group, either [via a web browser](http://gitter.im/qooxdoo/qooxdoo) or via the Gitter app.
14
14