@qooxdoo/framework 7.0.0-beta.6 → 7.0.0-beta.7

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 (47) hide show
  1. package/Manifest.json +1 -1
  2. package/README.md +3 -1
  3. package/lib/compiler/compile-info.json +57 -55
  4. package/lib/compiler/index.js +2440 -1860
  5. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -1
  6. package/lib/resource/qx/tool/schema/compile-1-0-0.json +6 -11
  7. package/package.json +3 -2
  8. package/source/class/qx/Bootstrap.js +22 -1
  9. package/source/class/qx/bom/Blocker.js +2 -1
  10. package/source/class/qx/core/Environment.js +3 -12
  11. package/source/class/qx/core/MProperty.js +1 -1
  12. package/source/class/qx/dev/unit/Sinon.js +1 -1
  13. package/source/class/qx/test/core/Assert.js +1 -1
  14. package/source/class/qx/test/core/Environment.js +0 -3
  15. package/source/class/qx/tool/cli/Cli.js +1 -0
  16. package/source/class/qx/tool/cli/commands/Compile.js +10 -0
  17. package/source/class/qx/tool/cli/commands/Es6ify.js +93 -0
  18. package/source/class/qx/tool/cli/commands/package/Install.js +1 -1
  19. package/source/class/qx/tool/compiler/ClassFile.js +67 -27
  20. package/source/class/qx/tool/compiler/Es6ify.js +368 -0
  21. package/source/class/qx/tool/compiler/targets/Target.js +56 -47
  22. package/source/class/qx/tool/compiler/targets/meta/AbstractJavascriptMeta.js +25 -18
  23. package/source/class/qx/tool/compiler/targets/meta/BootJs.js +16 -16
  24. package/source/class/qx/tool/compiler/targets/meta/Uglify.js +10 -10
  25. package/source/class/qx/ui/decoration/MLinearBackgroundGradient.js +2 -1
  26. package/source/resource/qx/tool/schema/compile-1-0-0.json +6 -11
  27. package/lib/resource/qx/static/blank.gif +0 -0
  28. package/source/class/qx/io/remote/Exchange.js +0 -1063
  29. package/source/class/qx/io/remote/Request.js +0 -1021
  30. package/source/class/qx/io/remote/RequestQueue.js +0 -521
  31. package/source/class/qx/io/remote/Response.js +0 -137
  32. package/source/class/qx/io/remote/Rpc.js +0 -1075
  33. package/source/class/qx/io/remote/RpcError.js +0 -198
  34. package/source/class/qx/io/remote/__init__.js +0 -88
  35. package/source/class/qx/io/remote/transport/Abstract.js +0 -513
  36. package/source/class/qx/io/remote/transport/Iframe.js +0 -652
  37. package/source/class/qx/io/remote/transport/Script.js +0 -475
  38. package/source/class/qx/io/remote/transport/XmlHttp.js +0 -1019
  39. package/source/class/qx/io/remote/transport/__init__.js +0 -3
  40. package/source/class/qx/test/io/remote/AbstractRequest.js +0 -150
  41. package/source/class/qx/test/io/remote/RequestIframe.js +0 -105
  42. package/source/class/qx/test/io/remote/RequestXhr.js +0 -151
  43. package/source/class/qx/test/io/remote/Rpc.js +0 -205
  44. package/source/class/qx/test/io/remote/__init__.js +0 -4
  45. package/source/class/qx/test/io/remote/transport/Iframe.js +0 -67
  46. package/source/class/qx/test/io/remote/transport/XmlHttp.js +0 -133
  47. package/source/class/qx/test/io/remote/transport/__init__.js +0 -4
@@ -1,133 +0,0 @@
1
- /* ************************************************************************
2
-
3
- qooxdoo - the new era of web development
4
-
5
- http://qooxdoo.org
6
-
7
- Copyright:
8
- 2007-2008 1&1 Internet AG, Germany, http://www.1und1.de
9
-
10
- License:
11
- MIT: https://opensource.org/licenses/MIT
12
- See the LICENSE file in the project's top-level directory for details.
13
-
14
- Authors:
15
- * Fabian Jakobs (fjakobs)
16
-
17
- ************************************************************************ */
18
-
19
- /*
20
- */
21
- /**
22
- *
23
- * @asset(qx/test/*)
24
- */
25
-
26
- qx.Class.define("qx.test.io.remote.transport.XmlHttp",
27
- {
28
- extend : qx.dev.unit.TestCase,
29
- include : [
30
- qx.dev.unit.MRequirements
31
- ],
32
-
33
- members :
34
- {
35
- setUp : function()
36
- {
37
- this.request = new qx.io.remote.transport.XmlHttp();
38
-
39
- this.request.addListener("aborted", this.responseError, this);
40
- this.request.addListener("failed", this.responseError, this);
41
- this.request.addListener("timeout", this.responseError, this);
42
-
43
- this.resourceBase = qx.util.AliasManager.getInstance().resolve("qx/test/");
44
- },
45
-
46
-
47
- tearDown : function() {
48
- this.request.dispose();
49
- },
50
-
51
-
52
- responseError : function(e)
53
- {
54
- var request = e.getTarget();
55
- var type = e.getType();
56
-
57
- qx.event.Timer.once(function() {
58
- this.resume(function() {
59
- this.fail(
60
- "Response error: " + type + " " +
61
- request.getStatusCode() + " " +
62
- request.getStatusText()
63
- );
64
- }, this);
65
- }, this);
66
- },
67
-
68
-
69
- getUrl : function(path) {
70
- return qx.util.ResourceManager.getInstance().toUri(path);
71
- },
72
-
73
-
74
- isLocal : function() {
75
- return window.location.protocol == "file:";
76
- },
77
-
78
-
79
- needsPHPWarning : function() {
80
- this.warn("This test can only be run from a web server with PHP support.");
81
- },
82
-
83
-
84
- testSetHeader : function()
85
- {
86
- if (this.isLocal()) {
87
- this.needsPHPWarning();
88
- return;
89
- }
90
- this.require(["php"]);
91
-
92
- this.request.setUrl(this.getUrl("qx/test/xmlhttp/echo_header.php"));
93
-
94
- this.request.getRequestHeaders()["foo"] = "bar";
95
- this.request.setRequestHeader("juhu", "kinners");
96
-
97
- this.request.addListener("completed", function(e) { this.resume(function() {
98
- var response = qx.lang.Json.parse(this.request.getResponseText().toLowerCase());
99
- this.assertEquals("kinners", response["juhu"]);
100
- this.assertEquals("bar", response["foo"]);
101
- }, this); }, this);
102
-
103
- var that = this;
104
- window.setTimeout(function() {
105
- that.request.send();
106
- }, 250);
107
- this.wait(7500);
108
- },
109
-
110
-
111
- testGetResponseHeader : function()
112
- {
113
- if (this.isLocal()) {
114
- this.needsPHPWarning();
115
- return;
116
- }
117
- this.require(["php"]);
118
-
119
- this.request.setUrl(this.getUrl("qx/test/xmlhttp/send_known_header.php"));
120
-
121
- this.request.addListener("completed", function(e) { this.resume(function() {
122
- var juhu = this.request.getResponseHeader("juhu") || this.request.getResponseHeader("Juhu");
123
- this.assertEquals("kinners", juhu);
124
- }, this); }, this);
125
-
126
- var that = this;
127
- window.setTimeout(function() {
128
- that.request.send();
129
- }, 250);
130
- this.wait(7500);
131
- }
132
- }
133
- });
@@ -1,4 +0,0 @@
1
- /**
2
- * qx.test.io.remote.transport package
3
- *
4
- */