@qooxdoo/framework 7.9.2 → 8.0.0-beta.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 (593) hide show
  1. package/CHANGELOG.md +191 -33
  2. package/Manifest.json +3 -3
  3. package/bin/tools/utils.js +50 -13
  4. package/lib/compiler/compile-info.json +300 -230
  5. package/lib/compiler/index.js +56748 -44036
  6. package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-node.tmpl.js +1 -0
  7. package/lib/resource/qx/tool/compiler/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -0
  8. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/cli/templates/template_vars.js +12 -9
  9. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/schema/Manifest-1-0-0.json +2 -2
  10. package/lib/resource/qx/tool/{schema → compiler/schema}/Manifest-2-0-0.json +2 -2
  11. package/lib/resource/qx/tool/{schema → compiler/schema}/compile-1-0-0.json +15 -3
  12. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/schema/qooxdoo-1-0-0.json +1 -1
  13. package/lib/resource/qx/tool/website/build/404.html +22 -22
  14. package/lib/resource/qx/tool/website/build/about.html +23 -23
  15. package/lib/resource/qx/tool/website/build/assets/common.js +30 -18
  16. package/lib/resource/qx/tool/website/build/assets/custom.css +290 -0
  17. package/lib/resource/qx/tool/website/build/assets/qxWeb.js +28 -0
  18. package/lib/resource/qx/tool/website/build/diagnostics/dependson.html +30 -30
  19. package/lib/resource/qx/tool/website/build/diagnostics/dependson.js +49 -40
  20. package/lib/resource/qx/tool/website/build/diagnostics/requiredby.html +20 -23
  21. package/lib/resource/qx/tool/website/build/diagnostics/requiredby.js +38 -31
  22. package/lib/resource/qx/tool/website/build/index.html +24 -24
  23. package/lib/resource/qx/tool/website/build/scripts/serve.js +63 -65
  24. package/lib/resource/qx/tool/website/partials/footer.html +8 -13
  25. package/lib/resource/qx/tool/website/partials/head.html +9 -7
  26. package/lib/resource/qx/tool/website/partials/header.html +3 -3
  27. package/lib/resource/qx/tool/website/src/assets/common.js +32 -0
  28. package/lib/resource/qx/tool/website/src/assets/custom.css +290 -0
  29. package/lib/resource/qx/tool/website/src/assets/qxWeb.js +28 -0
  30. package/lib/resource/qx/tool/website/src/diagnostics/dependson.js +49 -40
  31. package/lib/resource/qx/tool/website/src/diagnostics/requiredby.js +38 -31
  32. package/lib/resource/qx/tool/website/src/index.html +2 -2
  33. package/lib/resource/qx/tool/website/src/scripts/serve.js +63 -65
  34. package/package.json +20 -19
  35. package/source/boot/index.html +2 -2
  36. package/source/class/qx/Bootstrap.js +931 -705
  37. package/source/class/qx/Class.js +1476 -1451
  38. package/source/class/qx/Interface.js +40 -107
  39. package/source/class/qx/Mixin.js +58 -116
  40. package/source/class/qx/Promise.js +1 -0
  41. package/source/class/qx/Theme.js +1 -1
  42. package/source/class/qx/application/Routing.js +2 -0
  43. package/source/class/qx/bom/Font.js +3 -0
  44. package/source/class/qx/bom/client/Locale.js +5 -0
  45. package/source/class/qx/bom/request/Jsonp.js +5 -13
  46. package/source/class/qx/bom/request/Script.js +11 -35
  47. package/source/class/qx/bom/request/SimpleXhr.js +13 -41
  48. package/source/class/qx/bom/request/Xhr.js +19 -80
  49. package/source/class/qx/bom/storage/Memory.js +2 -0
  50. package/source/class/qx/bom/storage/UserData.js +2 -0
  51. package/source/class/qx/bom/storage/Web.js +2 -0
  52. package/source/class/qx/bom/webfonts/Validator.js +13 -5
  53. package/source/class/qx/core/Assert.js +14 -0
  54. package/source/class/qx/core/BaseInit.js +19 -20
  55. package/source/class/qx/core/Environment.js +23 -20
  56. package/source/class/qx/core/MEvent.js +1 -1
  57. package/source/class/qx/core/MObjectId.js +8 -6
  58. package/source/class/qx/core/MProperty.js +172 -136
  59. package/source/class/qx/core/Object.js +88 -102
  60. package/source/class/qx/core/check/AbstractCheck.js +111 -0
  61. package/source/class/qx/core/check/Any.js +63 -0
  62. package/source/class/qx/core/check/CheckFactory.js +151 -0
  63. package/source/class/qx/core/check/DynamicTypeCheck.js +90 -0
  64. package/source/class/qx/core/check/ICheck.js +75 -0
  65. package/source/class/qx/core/check/IsOneOfCheck.js +63 -0
  66. package/source/class/qx/core/check/JsDocCheck.js +71 -0
  67. package/source/class/qx/core/check/SimpleCheck.js +42 -0
  68. package/source/class/qx/core/check/standard/ArrayCheck.js +49 -0
  69. package/source/class/qx/core/check/standard/BooleanCheck.js +47 -0
  70. package/source/class/qx/core/check/standard/ClassCheck.js +33 -0
  71. package/source/class/qx/core/check/standard/ColorCheck.js +33 -0
  72. package/source/class/qx/core/check/standard/DateCheck.js +49 -0
  73. package/source/class/qx/core/check/standard/DecoratorCheck.js +33 -0
  74. package/source/class/qx/core/check/standard/DocumentCheck.js +40 -0
  75. package/source/class/qx/core/check/standard/ElementCheck.js +40 -0
  76. package/source/class/qx/core/check/standard/ErrorCheck.js +46 -0
  77. package/source/class/qx/core/check/standard/EventCheck.js +40 -0
  78. package/source/class/qx/core/check/standard/FontCheck.js +33 -0
  79. package/source/class/qx/core/check/standard/FunctionCheck.js +49 -0
  80. package/source/class/qx/core/check/standard/IntegerCheck.js +54 -0
  81. package/source/class/qx/core/check/standard/InterfaceCheck.js +33 -0
  82. package/source/class/qx/core/check/standard/MapCheck.js +33 -0
  83. package/source/class/qx/core/check/standard/MixinCheck.js +33 -0
  84. package/source/class/qx/core/check/standard/NodeCheck.js +40 -0
  85. package/source/class/qx/core/check/standard/NumberCheck.js +48 -0
  86. package/source/class/qx/core/check/standard/ObjectCheck.js +33 -0
  87. package/source/class/qx/core/check/standard/PositiveIntegerCheck.js +45 -0
  88. package/source/class/qx/core/check/standard/PositiveNumberCheck.js +45 -0
  89. package/source/class/qx/core/check/standard/PromiseCheck.js +33 -0
  90. package/source/class/qx/core/check/standard/RegExpCheck.js +46 -0
  91. package/source/class/qx/core/check/standard/StringCheck.js +43 -0
  92. package/source/class/qx/core/check/standard/ThemeCheck.js +33 -0
  93. package/source/class/qx/core/check/standard/WindowCheck.js +40 -0
  94. package/source/class/qx/core/property/ExplicitPropertyStorage.js +87 -0
  95. package/source/class/qx/core/property/GroupProperty.js +262 -0
  96. package/source/class/qx/core/property/IProperty.js +46 -0
  97. package/source/class/qx/core/property/IPropertyStorage.js +83 -0
  98. package/source/class/qx/core/property/ImmutableArrayStorage.js +38 -0
  99. package/source/class/qx/core/property/ImmutableDataArrayStorage.js +38 -0
  100. package/source/class/qx/core/property/ImmutableObjectStorage.js +39 -0
  101. package/source/class/qx/core/property/Property.js +1481 -0
  102. package/source/class/qx/core/property/PropertyStorageFactory.js +22 -0
  103. package/source/class/qx/core/property/SimplePropertyStorage.js +105 -0
  104. package/source/class/qx/data/Array.js +102 -57
  105. package/source/class/qx/data/MBinding.js +4 -29
  106. package/source/class/qx/data/SingleValueBinding.js +596 -1495
  107. package/source/class/qx/data/binding/AbstractSegment.js +197 -0
  108. package/source/class/qx/data/binding/ArrayIndexSegment.js +148 -0
  109. package/source/class/qx/data/binding/IInputReceiver.js +14 -0
  110. package/source/class/qx/data/binding/PropNameSegment.js +150 -0
  111. package/source/class/qx/data/controller/CheckedList.js +1 -1
  112. package/source/class/qx/data/controller/Form.js +78 -8
  113. package/source/class/qx/data/controller/Tree.js +27 -117
  114. package/source/class/qx/data/marshal/Json.js +46 -149
  115. package/source/class/qx/data/store/Json.js +0 -2
  116. package/source/class/qx/dev/Debug.js +1 -1
  117. package/source/class/qx/dev/LeakDetector.js +144 -0
  118. package/source/class/qx/dev/unit/AsyncWrapper.js +1 -0
  119. package/source/class/qx/dev/unit/MMock.js +7 -2
  120. package/source/class/qx/dev/unit/Sinon.js +0 -4
  121. package/source/class/qx/dev/unit/TestClass.js +2 -2
  122. package/source/class/qx/dev/unit/TestFunction.js +1 -0
  123. package/source/class/qx/dev/unit/TestLoaderBasic.js +1 -0
  124. package/source/class/qx/dev/unit/TestRunner.js +106 -0
  125. package/source/class/qx/event/IEventDispatcher.js +8 -4
  126. package/source/class/qx/event/Manager.js +4 -0
  127. package/source/class/qx/event/Messaging.js +2 -0
  128. package/source/class/qx/event/Pool.js +7 -0
  129. package/source/class/qx/event/Registration.js +33 -55
  130. package/source/class/qx/event/Timer.js +2 -0
  131. package/source/class/qx/event/Utils.js +25 -8
  132. package/source/class/qx/event/dispatch/AbstractBubbling.js +98 -194
  133. package/source/class/qx/event/dispatch/Direct.js +18 -13
  134. package/source/class/qx/event/handler/Appear.js +20 -24
  135. package/source/class/qx/event/handler/Application.js +4 -0
  136. package/source/class/qx/event/handler/DragDrop.js +182 -385
  137. package/source/class/qx/event/handler/Element.js +3 -0
  138. package/source/class/qx/event/handler/Focus.js +36 -30
  139. package/source/class/qx/event/handler/Input.js +5 -0
  140. package/source/class/qx/event/handler/Keyboard.js +107 -165
  141. package/source/class/qx/event/handler/Pointer.js +39 -68
  142. package/source/class/qx/event/handler/PointerCore.js +7 -25
  143. package/source/class/qx/event/handler/Window.js +5 -0
  144. package/source/class/qx/event/type/Event.js +12 -0
  145. package/source/class/qx/event/type/KeySequence.js +3 -0
  146. package/source/class/qx/event/type/Native.js +3 -0
  147. package/source/class/qx/html/Element.js +26 -91
  148. package/source/class/qx/io/jsonrpc/Client.js +1 -1
  149. package/source/class/qx/io/jsonrpc/protocol/Error.js +2 -2
  150. package/source/class/qx/io/jsonrpc/protocol/Parser.js +1 -0
  151. package/source/class/qx/io/jsonrpc/protocol/Result.js +2 -2
  152. package/source/class/qx/io/request/Xhr.js +3 -8
  153. package/source/class/qx/lang/normalize/Array.js +23 -1
  154. package/source/class/qx/locale/Date.js +520 -113
  155. package/source/class/qx/locale/LocalizedString.js +3 -0
  156. package/source/class/qx/locale/Manager.js +14 -3
  157. package/source/class/qx/locale/Number.js +60 -7
  158. package/source/class/qx/log/Logger.js +1 -1
  159. package/source/class/qx/module/Animation.js +2 -0
  160. package/source/class/qx/module/Attribute.js +2 -0
  161. package/source/class/qx/module/Css.js +7 -24
  162. package/source/class/qx/module/Event.js +2 -0
  163. package/source/class/qx/module/Manipulating.js +2 -0
  164. package/source/class/qx/module/Traversing.js +2 -0
  165. package/source/class/qx/test/Bootstrap.js +68 -53
  166. package/source/class/qx/test/Class.js +310 -2
  167. package/source/class/qx/test/Mixin.js +192 -42
  168. package/source/class/qx/test/Promise.js +129 -331
  169. package/source/class/qx/test/Theme.js +11 -0
  170. package/source/class/qx/test/bom/Font.js +2 -5
  171. package/source/class/qx/test/bom/Template.js +1 -1
  172. package/source/class/qx/test/compiler/ClassFile.js +14 -0
  173. package/source/class/qx/test/core/Assert.js +12 -0
  174. package/source/class/qx/test/core/Environment.js +17 -3
  175. package/source/class/qx/test/core/InheritanceDummy.js +10 -1
  176. package/source/class/qx/test/core/Object.js +51 -24
  177. package/source/class/qx/test/core/ObjectId.js +10 -1
  178. package/source/class/qx/test/core/Property.js +1338 -121
  179. package/source/class/qx/test/core/PropertyHelper.js +12 -0
  180. package/source/class/qx/test/core/Target.js +1 -0
  181. package/source/class/qx/test/core/Validation.js +2 -0
  182. package/source/class/qx/test/data/DataArray.js +218 -639
  183. package/source/class/qx/test/data/DataArrayWithChangeBubble.js +45 -215
  184. package/source/class/qx/test/data/MultiBinding.js +42 -0
  185. package/source/class/qx/test/data/async/__init__.js +4 -0
  186. package/source/class/qx/test/data/controller/Form.js +523 -14
  187. package/source/class/qx/test/data/controller/List.js +94 -426
  188. package/source/class/qx/test/data/controller/ListReverse.js +5 -20
  189. package/source/class/qx/test/data/controller/ListWithObjects.js +49 -225
  190. package/source/class/qx/test/data/controller/Object.js +54 -222
  191. package/source/class/qx/test/data/controller/Tree.js +195 -934
  192. package/source/class/qx/test/data/marshal/Json.js +74 -312
  193. package/source/class/qx/test/data/singlevalue/Array.js +55 -279
  194. package/source/class/qx/test/data/singlevalue/Async.js +173 -0
  195. package/source/class/qx/test/data/singlevalue/Deep.js +148 -327
  196. package/source/class/qx/test/data/singlevalue/Resolve.js +8 -28
  197. package/source/class/qx/test/data/singlevalue/Simple.js +124 -359
  198. package/source/class/qx/test/data/store/Json.js +86 -254
  199. package/source/class/qx/test/data/store/Jsonp.js +9 -29
  200. package/source/class/qx/test/data/store/Offline.js +2 -8
  201. package/source/class/qx/test/data/store/Rest.js +3 -3
  202. package/source/class/qx/test/dev/unit/Requirements.js +26 -10
  203. package/source/class/qx/test/event/GlobalError.js +2 -2
  204. package/source/class/qx/test/html/Iframe.js +1 -1
  205. package/source/class/qx/test/io/graphql/Client.js +2 -0
  206. package/source/class/qx/test/io/jsonrpc/Protocol.js +4 -2
  207. package/source/class/qx/test/io/request/MRequest.js +2 -8
  208. package/source/class/qx/test/io/request/Xhr.js +27 -117
  209. package/source/class/qx/test/lang/Function.js +6 -25
  210. package/source/class/qx/test/lang/Type.js +31 -13
  211. package/source/class/qx/test/locale/Date.js +173 -2
  212. package/source/class/qx/test/locale/Locale.js +23 -28
  213. package/source/class/qx/test/locale/Number.js +71 -0
  214. package/source/class/qx/test/log/Logger.js +7 -1
  215. package/source/class/qx/test/log/fixture/ClassA.js +2 -5
  216. package/source/class/qx/test/mobile/basic/Atom.js +3 -3
  217. package/source/class/qx/test/mobile/container/Scroll.js +4 -4
  218. package/source/class/qx/test/mobile/form/CheckBox.js +6 -12
  219. package/source/class/qx/test/performance/Property.js +5 -4
  220. package/source/class/qx/test/performance/widget/WidgetWithDecorator.js +2 -0
  221. package/source/class/qx/test/theme/Simple.js +34 -0
  222. package/source/class/qx/test/{MAppearance.js → theme/SimpleAppearance.js} +5 -4
  223. package/source/class/qx/test/{MDecoration.js → theme/SimpleDecoration.js} +6 -4
  224. package/source/class/qx/test/theme/manager/Meta.js +7 -5
  225. package/source/class/qx/test/tool/__init__.js +3 -0
  226. package/source/class/qx/test/tool/cli/AbstractValue.js +274 -0
  227. package/source/class/qx/test/tool/cli/Argument.js +384 -0
  228. package/source/class/qx/test/tool/cli/Command.js +387 -0
  229. package/source/class/qx/test/tool/cli/Flag.js +413 -0
  230. package/source/class/qx/test/tool/cli/__init__.js +3 -0
  231. package/source/class/qx/test/ui/LayoutTestCase.js +1 -14
  232. package/source/class/qx/test/ui/basic/Label.js +106 -0
  233. package/source/class/qx/test/ui/core/Blocker.js +125 -3
  234. package/source/class/qx/test/ui/form/Form.js +106 -0
  235. package/source/class/qx/test/ui/form/FormManager.js +6 -5
  236. package/source/class/qx/test/ui/form/SplitButton.js +1 -1
  237. package/source/class/qx/test/ui/toolbar/OverflowHandling.js +13 -14
  238. package/source/class/qx/test/ui/toolbar/ToolBar.js +16 -16
  239. package/source/class/qx/test/ui/tree/TreeFolder.js +5 -7
  240. package/source/class/qx/test/ui/tree/virtual/AbstractTreeTest.js +2 -0
  241. package/source/class/qx/test/ui/tree/virtual/Tree.js +36 -0
  242. package/source/class/qx/test/util/DateFormat.js +1 -1
  243. package/source/class/qx/test/util/PropertyUtil.js +0 -36
  244. package/source/class/qx/theme/classic/Appearance.js +1 -1
  245. package/source/class/qx/theme/indigo/ColorDark.js +2 -0
  246. package/source/class/qx/theme/manager/Font.js +6 -1
  247. package/source/class/qx/theme/manager/Meta.js +2 -1
  248. package/source/class/qx/theme/simple/Appearance.js +31 -95
  249. package/source/class/qx/theme/simple/Decoration.js +0 -1
  250. package/source/class/qx/theme/tangible/Appearance.js +1 -1
  251. package/source/class/qx/tool/cli/AbstractCliApp.js +72 -0
  252. package/source/class/qx/tool/cli/AbstractValue.js +186 -0
  253. package/source/class/qx/tool/cli/Argument.js +155 -0
  254. package/source/class/qx/tool/cli/Command.js +518 -0
  255. package/source/class/qx/tool/cli/Flag.js +202 -0
  256. package/source/class/qx/tool/cli/Parser.js +39 -0
  257. package/source/class/qx/tool/cli/__init__.js +26 -1
  258. package/source/class/qx/tool/compiler/Analyser.js +41 -13
  259. package/source/class/qx/tool/compiler/ClassFile.js +37 -9
  260. package/source/class/qx/tool/compiler/Console.js +2 -0
  261. package/source/class/qx/tool/compiler/MetaExtraction.js +53 -33
  262. package/source/class/qx/tool/compiler/app/Library.js +1 -1
  263. package/source/class/qx/tool/compiler/app/WebFont.js +2 -0
  264. package/source/class/qx/tool/compiler/cli/Application.js +58 -0
  265. package/source/class/qx/tool/{cli/commands → compiler/cli}/Command.js +99 -45
  266. package/source/class/qx/tool/{cli → compiler/cli}/ConfigDb.js +7 -7
  267. package/source/class/qx/tool/compiler/cli/ConfigLoader.js +272 -0
  268. package/source/class/qx/tool/{cli → compiler/cli}/LibraryApplication.js +3 -3
  269. package/source/class/qx/tool/compiler/cli/RootCommand.js +63 -0
  270. package/source/class/qx/tool/{cli → compiler/cli}/Watch.js +49 -24
  271. package/source/class/qx/tool/compiler/cli/__init__.js +3 -0
  272. package/source/class/qx/tool/{cli → compiler/cli}/api/AbstractApi.js +2 -11
  273. package/source/class/qx/tool/{cli → compiler/cli}/api/CompilerApi.js +11 -10
  274. package/source/class/qx/tool/{cli → compiler/cli}/api/LibraryApi.js +13 -4
  275. package/source/class/qx/tool/{cli → compiler/cli}/api/Test.js +1 -1
  276. package/source/class/qx/tool/compiler/cli/commands/Add.js +49 -0
  277. package/source/class/qx/tool/{cli → compiler/cli}/commands/Clean.js +12 -25
  278. package/source/class/qx/tool/{cli → compiler/cli}/commands/Compile.js +524 -615
  279. package/source/class/qx/tool/{cli → compiler/cli}/commands/Config.js +22 -20
  280. package/source/class/qx/tool/{cli → compiler/cli}/commands/Create.js +77 -54
  281. package/source/class/qx/tool/{cli → compiler/cli}/commands/Deploy.js +45 -60
  282. package/source/class/qx/tool/{cli → compiler/cli}/commands/Es6ify.js +57 -41
  283. package/source/class/qx/tool/{cli → compiler/cli}/commands/ExportGlyphs.js +26 -7
  284. package/source/class/qx/tool/compiler/cli/commands/Lint.js +420 -0
  285. package/source/class/qx/tool/{cli → compiler/cli}/commands/Migrate.js +40 -20
  286. package/source/class/qx/tool/{cli → compiler/cli}/commands/Package.js +20 -32
  287. package/source/class/qx/tool/compiler/cli/commands/Pkg.js +36 -0
  288. package/source/class/qx/tool/compiler/cli/commands/Prettier.js +278 -0
  289. package/source/class/qx/tool/{cli → compiler/cli}/commands/Run.js +43 -39
  290. package/source/class/qx/tool/{cli → compiler/cli}/commands/Serve.js +63 -61
  291. package/source/class/qx/tool/{cli → compiler/cli}/commands/Test.js +49 -52
  292. package/source/class/qx/tool/{cli → compiler/cli}/commands/Typescript.js +51 -30
  293. package/source/class/qx/tool/{cli → compiler/cli}/commands/add/Class.js +54 -31
  294. package/source/class/qx/tool/{cli → compiler/cli}/commands/add/Script.js +56 -32
  295. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Delete.js +19 -13
  296. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Get.js +19 -13
  297. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/List.js +20 -20
  298. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Set.js +28 -20
  299. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Install.js +140 -75
  300. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/List.js +119 -80
  301. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Publish.js +194 -178
  302. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Remove.js +18 -21
  303. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Update.js +90 -69
  304. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Upgrade.js +67 -54
  305. package/source/class/qx/tool/compiler/makers/AbstractAppMaker.js +2 -1
  306. package/source/class/qx/tool/compiler/resources/Manager.js +2 -0
  307. package/source/class/qx/tool/compiler/resources/ScssConverter.js +1 -1
  308. package/source/class/qx/tool/compiler/resources/ScssFile.js +1 -1
  309. package/source/class/qx/tool/compiler/targets/Target.js +5 -10
  310. package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +6 -2
  311. package/source/class/qx/tool/compiler/targets/meta/ApplicationMeta.js +2 -4
  312. package/source/class/qx/tool/compiler/targets/meta/BootJs.js +2 -0
  313. package/source/class/qx/tool/compiler/targets/meta/PackageJavascript.js +2 -0
  314. package/source/class/qx/tool/config/Abstract.js +5 -5
  315. package/source/class/qx/tool/config/Lockfile.js +1 -1
  316. package/source/class/qx/tool/migration/BaseMigration.js +9 -7
  317. package/source/class/qx/tool/migration/M6_0_0.js +3 -3
  318. package/source/class/qx/tool/migration/M8_0_0.js +958 -0
  319. package/source/class/qx/tool/utils/Debounce.js +0 -1
  320. package/source/class/qx/tool/utils/Http.js +109 -21
  321. package/source/class/qx/tool/utils/LogManager.js +7 -0
  322. package/source/class/qx/tool/utils/Promisify.js +12 -1
  323. package/source/class/qx/tool/utils/QooxdooVersions.js +193 -0
  324. package/source/class/qx/tool/utils/Utils.js +8 -5
  325. package/source/class/qx/tool/utils/Website.js +9 -222
  326. package/source/class/qx/tool/utils/Zip.js +47 -0
  327. package/source/class/qx/tool/utils/files/Utils.js +3 -11
  328. package/source/class/qx/tool/utils/json/Tokenizer.js +5 -0
  329. package/source/class/qx/ui/basic/Atom.js +8 -8
  330. package/source/class/qx/ui/core/Blocker.js +17 -4
  331. package/source/class/qx/ui/core/DragDropCursor.js +2 -1
  332. package/source/class/qx/ui/core/EventHandler.js +13 -21
  333. package/source/class/qx/ui/core/LayoutItem.js +8 -31
  334. package/source/class/qx/ui/core/MExecutable.js +7 -31
  335. package/source/class/qx/ui/core/MNativeOverflow.js +4 -2
  336. package/source/class/qx/ui/core/Widget.js +50 -165
  337. package/source/class/qx/ui/core/scroll/IScrollBar.js +9 -3
  338. package/source/class/qx/ui/core/scroll/ScrollBar.js +7 -1
  339. package/source/class/qx/ui/core/scroll/ScrollPane.js +12 -4
  340. package/source/class/qx/ui/embed/Html.js +6 -2
  341. package/source/class/qx/ui/form/AbstractField.js +4 -12
  342. package/source/class/qx/ui/form/Button.js +6 -4
  343. package/source/class/qx/ui/form/CheckedSelectBox.js +8 -8
  344. package/source/class/qx/ui/form/FileSelectorButton.js +1 -1
  345. package/source/class/qx/ui/form/Form.js +3 -0
  346. package/source/class/qx/ui/form/IListItem.js +3 -1
  347. package/source/class/qx/ui/form/IRadioItem.js +3 -1
  348. package/source/class/qx/ui/form/MForm.js +3 -1
  349. package/source/class/qx/ui/form/Slider.js +6 -2
  350. package/source/class/qx/ui/form/SplitButton.js +5 -5
  351. package/source/class/qx/ui/form/TextField.js +1 -2
  352. package/source/class/qx/ui/form/validation/Manager.js +6 -2
  353. package/source/class/qx/ui/menubar/Button.js +1 -1
  354. package/source/class/qx/ui/mobile/basic/Atom.js +5 -5
  355. package/source/class/qx/ui/mobile/dialog/Menu.js +9 -31
  356. package/source/class/qx/ui/mobile/dialog/Popup.js +13 -1
  357. package/source/class/qx/ui/table/pane/FocusIndicator.js +5 -2
  358. package/source/class/qx/ui/table/pane/Scroller.js +5 -20
  359. package/source/class/qx/ui/table/selection/Model.js +1 -0
  360. package/source/class/qx/ui/toolbar/Button.js +1 -1
  361. package/source/class/qx/ui/toolbar/CheckBox.js +1 -1
  362. package/source/class/qx/ui/toolbar/FileSelectorButton.js +1 -2
  363. package/source/class/qx/ui/toolbar/Part.js +2 -2
  364. package/source/class/qx/ui/toolbar/PartContainer.js +2 -2
  365. package/source/class/qx/ui/toolbar/ToolBar.js +24 -49
  366. package/source/class/qx/ui/tree/VirtualTree.js +6 -4
  367. package/source/class/qx/ui/tree/core/AbstractItem.js +10 -17
  368. package/source/class/qx/ui/tree/core/IVirtualTree.js +4 -2
  369. package/source/class/qx/ui/tree/provider/IVirtualTreeProvider.js +20 -10
  370. package/source/class/qx/ui/treevirtual/SimpleTreeDataModel.js +4 -1
  371. package/source/class/qx/ui/virtual/cell/Cell.js +20 -48
  372. package/source/class/qx/ui/virtual/cell/WidgetCell.js +2 -4
  373. package/source/class/qx/ui/virtual/core/Axis.js +4 -0
  374. package/source/class/qx/ui/virtual/core/ILayer.js +14 -10
  375. package/source/class/qx/ui/virtual/core/Scroller.js +4 -4
  376. package/source/class/qx/ui/virtual/layer/WidgetCell.js +4 -0
  377. package/source/class/qx/ui/virtual/selection/Abstract.js +3 -0
  378. package/source/class/qx/ui/virtual/selection/MModel.js +1 -1
  379. package/source/class/qx/ui/window/IDesktop.js +6 -2
  380. package/source/class/qx/ui/window/IWindowManager.js +10 -4
  381. package/source/class/qx/ui/window/MDesktop.js +2 -1
  382. package/source/class/qx/ui/window/Manager.js +1 -1
  383. package/source/class/qx/ui/window/Window.js +6 -4
  384. package/source/class/qx/util/OOUtil.js +8 -9
  385. package/source/class/qx/util/PropertyUtil.js +34 -154
  386. package/source/class/qx/util/ResponseParser.js +2 -0
  387. package/source/class/qx/util/Serializer.js +69 -114
  388. package/source/class/qx/util/format/DateFormat.js +3 -2
  389. package/source/global.d.ts +4 -0
  390. package/source/resource/qx/tool/bin/download-assets +0 -2
  391. package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-node.tmpl.js +1 -0
  392. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/cli/templates/template_vars.js +12 -9
  393. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/schema/Manifest-1-0-0.json +2 -2
  394. package/source/resource/qx/tool/{schema → compiler/schema}/Manifest-2-0-0.json +2 -2
  395. package/source/resource/qx/tool/{schema → compiler/schema}/compile-1-0-0.json +15 -3
  396. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/schema/qooxdoo-1-0-0.json +1 -1
  397. package/source/resource/qx/tool/website/build/404.html +22 -22
  398. package/source/resource/qx/tool/website/build/about.html +23 -23
  399. package/source/resource/qx/tool/website/build/assets/common.js +30 -18
  400. package/source/resource/qx/tool/website/build/assets/custom.css +290 -0
  401. package/source/resource/qx/tool/website/build/assets/qxWeb.js +28 -0
  402. package/source/resource/qx/tool/website/build/diagnostics/dependson.html +30 -30
  403. package/source/resource/qx/tool/website/build/diagnostics/dependson.js +49 -40
  404. package/source/resource/qx/tool/website/build/diagnostics/requiredby.html +20 -23
  405. package/source/resource/qx/tool/website/build/diagnostics/requiredby.js +38 -31
  406. package/source/resource/qx/tool/website/build/index.html +24 -24
  407. package/source/resource/qx/tool/website/build/scripts/serve.js +63 -65
  408. package/source/resource/qx/tool/website/partials/footer.html +8 -13
  409. package/source/resource/qx/tool/website/partials/head.html +9 -7
  410. package/source/resource/qx/tool/website/partials/header.html +3 -3
  411. package/source/resource/qx/tool/website/src/assets/common.js +32 -0
  412. package/source/resource/qx/tool/website/src/assets/custom.css +290 -0
  413. package/source/resource/qx/tool/website/src/assets/qxWeb.js +28 -0
  414. package/source/resource/qx/tool/website/src/diagnostics/dependson.js +49 -40
  415. package/source/resource/qx/tool/website/src/diagnostics/requiredby.js +38 -31
  416. package/source/resource/qx/tool/website/src/index.html +2 -2
  417. package/source/resource/qx/tool/website/src/scripts/serve.js +63 -65
  418. package/lib/resource/qx/tool/bin/build-devtools +0 -13
  419. package/lib/resource/qx/tool/bin/build-website +0 -15
  420. package/lib/resource/qx/tool/bin/download-assets +0 -23
  421. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +0 -1
  422. package/lib/resource/qx/tool/website/build/assets/bootstrap.css +0 -7
  423. package/lib/resource/qx/tool/website/build/assets/bootstrap.min.css +0 -7
  424. package/lib/resource/qx/tool/website/build/assets/bootstrap.min.css.map +0 -1
  425. package/lib/resource/qx/tool/website/build/assets/jquery.js +0 -5453
  426. package/lib/resource/qx/tool/website/build/qooxdoo.css +0 -21
  427. package/lib/resource/qx/tool/website/sass/qooxdoo.css +0 -3
  428. package/lib/resource/qx/tool/website/sass/qooxdoo.css.map +0 -1
  429. package/lib/resource/qx/tool/website/src/assets/bootstrap.css +0 -7
  430. package/lib/resource/qx/tool/website/src/assets/bootstrap.min.css +0 -7
  431. package/lib/resource/qx/tool/website/src/assets/bootstrap.min.css.map +0 -1
  432. package/lib/resource/qx/tool/website/src/assets/jquery.js +0 -5453
  433. package/source/class/qx/core/Property.js +0 -2100
  434. package/source/class/qx/tool/cli/Application.js +0 -47
  435. package/source/class/qx/tool/cli/Cli.js +0 -713
  436. package/source/class/qx/tool/cli/commands/Add.js +0 -46
  437. package/source/class/qx/tool/cli/commands/Lint.js +0 -255
  438. package/source/class/qx/tool/cli/commands/Pkg.js +0 -56
  439. package/source/class/qx/tool/cli/commands/package/Migrate.js +0 -37
  440. package/source/class/qx/tool/compiler/app/Cldr.js +0 -725
  441. package/source/resource/qx/tool/bin/build-devtools +0 -13
  442. package/source/resource/qx/tool/bin/build-website +0 -15
  443. package/source/resource/qx/tool/website/build/assets/bootstrap.css +0 -7
  444. package/source/resource/qx/tool/website/build/assets/bootstrap.min.css +0 -7
  445. package/source/resource/qx/tool/website/build/assets/bootstrap.min.css.map +0 -1
  446. package/source/resource/qx/tool/website/build/assets/jquery.js +0 -5453
  447. package/source/resource/qx/tool/website/build/qooxdoo.css +0 -21
  448. package/source/resource/qx/tool/website/sass/qooxdoo.scss +0 -31
  449. package/source/resource/qx/tool/website/src/assets/bootstrap.css +0 -7
  450. package/source/resource/qx/tool/website/src/assets/bootstrap.min.css +0 -7
  451. package/source/resource/qx/tool/website/src/assets/bootstrap.min.css.map +0 -1
  452. package/source/resource/qx/tool/website/src/assets/jquery.js +0 -5453
  453. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/TypeScriptWriter-base_declaration.d.ts +0 -0
  454. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/default.tmpl.js +0 -0
  455. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/header.tmpl.js +0 -0
  456. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/interface.tmpl.js +0 -0
  457. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/mixin.tmpl.js +0 -0
  458. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/singleton.tmpl.js +0 -0
  459. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-browser.tmpl.js +0 -0
  460. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-rhino.tmpl.js +0 -0
  461. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/.gitignore.tmpl +0 -0
  462. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/Manifest.tmpl.json +0 -0
  463. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/compile.tmpl.json +0 -0
  464. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/readme.tmpl.md +0 -0
  465. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/index.tmpl.html +0 -0
  466. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/nojs.tmpl.html +0 -0
  467. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +0 -0
  468. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/__init__.tmpl.js +0 -0
  469. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +0 -0
  470. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Appearance.tmpl.js +0 -0
  471. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Color.tmpl.js +0 -0
  472. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Decoration.tmpl.js +0 -0
  473. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Font.tmpl.js +0 -0
  474. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Theme.tmpl.js +0 -0
  475. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/app.png +0 -0
  476. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/favicon.png +0 -0
  477. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/js_256x256.png +0 -0
  478. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/test.png +0 -0
  479. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/translation/readme.txt +0 -0
  480. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/.gitignore.tmpl +0 -0
  481. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/Manifest.tmpl.json +0 -0
  482. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/compile.tmpl.json +0 -0
  483. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/readme.tmpl.md +0 -0
  484. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/index.tmpl.html +0 -0
  485. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/nojs.tmpl.html +0 -0
  486. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +0 -0
  487. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/__init__.tmpl.js +0 -0
  488. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +0 -0
  489. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +0 -0
  490. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/__init__.tmpl.js +0 -0
  491. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/app.png +0 -0
  492. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/css/.gitignore.tmpl +0 -0
  493. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/favicon.png +0 -0
  494. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/js_256x256.png +0 -0
  495. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/css/custom.css +0 -0
  496. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/translation/readme.txt +0 -0
  497. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/.gitignore.tmpl +0 -0
  498. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/Manifest.tmpl.json +0 -0
  499. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/compile.tmpl.json +0 -0
  500. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/readme.tmpl.md +0 -0
  501. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/Button.tmpl.js +0 -0
  502. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/__init__.tmpl.js +0 -0
  503. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +0 -0
  504. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/resource/custom/test.png +0 -0
  505. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +0 -0
  506. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Appearance.tmpl.js +0 -0
  507. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Color.tmpl.js +0 -0
  508. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Decoration.tmpl.js +0 -0
  509. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Font.tmpl.js +0 -0
  510. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Theme.tmpl.js +0 -0
  511. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/resource/custom/test.png +0 -0
  512. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/translation/readme.txt +0 -0
  513. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/.gitignore.tmpl +0 -0
  514. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/Manifest.tmpl.json +0 -0
  515. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/compile.tmpl.json +0 -0
  516. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/readme.tmpl.txt +0 -0
  517. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/Application.tmpl.js +0 -0
  518. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/__init__.tmpl.js +0 -0
  519. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +0 -0
  520. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/resource/custom/.gitignore.tmpl +0 -0
  521. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/translation/readme.txt +0 -0
  522. /package/lib/resource/qx/tool/{loadsass.js → compiler/loadsass.js} +0 -0
  523. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/TypeScriptWriter-base_declaration.d.ts +0 -0
  524. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/default.tmpl.js +0 -0
  525. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/header.tmpl.js +0 -0
  526. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/interface.tmpl.js +0 -0
  527. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/mixin.tmpl.js +0 -0
  528. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/singleton.tmpl.js +0 -0
  529. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-browser.tmpl.js +0 -0
  530. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-rhino.tmpl.js +0 -0
  531. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/.gitignore.tmpl +0 -0
  532. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/Manifest.tmpl.json +0 -0
  533. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/compile.tmpl.json +0 -0
  534. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/readme.tmpl.md +0 -0
  535. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/index.tmpl.html +0 -0
  536. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/nojs.tmpl.html +0 -0
  537. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +0 -0
  538. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/__init__.tmpl.js +0 -0
  539. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +0 -0
  540. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Appearance.tmpl.js +0 -0
  541. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Color.tmpl.js +0 -0
  542. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Decoration.tmpl.js +0 -0
  543. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Font.tmpl.js +0 -0
  544. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Theme.tmpl.js +0 -0
  545. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/app.png +0 -0
  546. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/favicon.png +0 -0
  547. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/js_256x256.png +0 -0
  548. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/test.png +0 -0
  549. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/translation/readme.txt +0 -0
  550. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/.gitignore.tmpl +0 -0
  551. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/Manifest.tmpl.json +0 -0
  552. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/compile.tmpl.json +0 -0
  553. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/readme.tmpl.md +0 -0
  554. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/index.tmpl.html +0 -0
  555. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/nojs.tmpl.html +0 -0
  556. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +0 -0
  557. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/__init__.tmpl.js +0 -0
  558. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +0 -0
  559. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +0 -0
  560. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/__init__.tmpl.js +0 -0
  561. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/app.png +0 -0
  562. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/css/.gitignore.tmpl +0 -0
  563. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/favicon.png +0 -0
  564. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/js_256x256.png +0 -0
  565. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss +0 -0
  566. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/scss/custom.scss +0 -0
  567. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/translation/readme.txt +0 -0
  568. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/.gitignore.tmpl +0 -0
  569. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/Manifest.tmpl.json +0 -0
  570. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/compile.tmpl.json +0 -0
  571. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/readme.tmpl.md +0 -0
  572. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/Button.tmpl.js +0 -0
  573. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/__init__.tmpl.js +0 -0
  574. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +0 -0
  575. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/resource/custom/test.png +0 -0
  576. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +0 -0
  577. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Appearance.tmpl.js +0 -0
  578. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Color.tmpl.js +0 -0
  579. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Decoration.tmpl.js +0 -0
  580. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Font.tmpl.js +0 -0
  581. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Theme.tmpl.js +0 -0
  582. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/resource/custom/test.png +0 -0
  583. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/translation/readme.txt +0 -0
  584. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/.gitignore.tmpl +0 -0
  585. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/Manifest.tmpl.json +0 -0
  586. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/compile.tmpl.json +0 -0
  587. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/readme.tmpl.txt +0 -0
  588. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/Application.tmpl.js +0 -0
  589. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/__init__.tmpl.js +0 -0
  590. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +0 -0
  591. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/resource/custom/.gitignore.tmpl +0 -0
  592. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/translation/readme.txt +0 -0
  593. /package/source/resource/qx/tool/{loadsass.js → compiler/loadsass.js} +0 -0
@@ -85,58 +85,50 @@ qx.Class.define("qx.test.data.DataArray", {
85
85
 
86
86
  testGetItem() {
87
87
  // check the getvalue function
88
- this.assertEquals(
89
- "one",
90
- this.__a.getItem(0),
91
- "IndexAt does not work at position 0"
92
- );
88
+ this.assertEquals("one", this.__a.getItem(0), "IndexAt does not work at position 0");
93
89
 
94
- this.assertEquals(
95
- "two",
96
- this.__a.getItem(1),
97
- "IndexAt does not work at position 1"
98
- );
90
+ this.assertEquals("two", this.__a.getItem(1), "IndexAt does not work at position 1");
99
91
 
100
- this.assertEquals(
101
- "three",
102
- this.__a.getItem(2),
103
- "IndexAt does not work at position 2"
104
- );
92
+ this.assertEquals("three", this.__a.getItem(2), "IndexAt does not work at position 2");
105
93
 
106
94
  // try some wrong inputs
107
- this.assertUndefined(
108
- this.__a.getItem(-1),
109
- "There should be no element at -1"
110
- );
95
+ this.assertUndefined(this.__a.getItem(-1), "There should be no element at -1");
111
96
 
112
- this.assertUndefined(
113
- this.__a.getItem(3),
114
- "There should be no element at 3"
115
- );
97
+ this.assertUndefined(this.__a.getItem(3), "There should be no element at 3");
98
+ },
99
+
100
+ testGetItemNative() {
101
+ // check the getvalue function
102
+ this.assertEquals("one", this.__a[0], "[] getter does not work at position 0");
103
+
104
+ this.assertEquals("two", this.__a[1], "[] does not work at position 1");
105
+
106
+ this.assertEquals("three", this.__a[2], "[] does not work at position 2");
107
+
108
+ // try some wrong inputs
109
+ this.assertUndefined(this.__a[-1], "There should be no element at -1");
110
+
111
+ this.assertUndefined(this.__a[3], "There should be no element at 3");
116
112
  },
117
113
 
118
114
  testSetItem() {
119
115
  this.__a.setItem(0, "eins");
120
- this.assertEquals(
121
- "eins",
122
- this.__a.getItem(0),
123
- "IndexAt does not work at position 0"
124
- );
116
+ this.assertEquals("eins", this.__a.getItem(0), "IndexAt does not work at position 0");
125
117
 
126
118
  this.__a.setItem(3, "drei");
127
- this.assertEquals(
128
- "drei",
129
- this.__a.getItem(3),
130
- "IndexAt does not work at position 0"
131
- );
119
+ this.assertEquals("drei", this.__a.getItem(3), "IndexAt does not work at position 0");
120
+ },
121
+
122
+ testSetItemNative() {
123
+ this.__a[0] = "eins";
124
+ this.assertEquals("eins", this.__a.getItem(0), "IndexAt does not work at position 0");
125
+
126
+ this.__a[3] = "drei";
127
+ this.assertEquals("drei", this.__a.getItem(3), "IndexAt does not work at position 0");
132
128
  },
133
129
 
134
130
  testJoin() {
135
- this.assertEquals(
136
- "one, two, three",
137
- this.__a.join(", "),
138
- "Join does not work"
139
- );
131
+ this.assertEquals("one, two, three", this.__a.join(", "), "Join does not work");
140
132
  },
141
133
 
142
134
  testReverse() {
@@ -153,23 +145,11 @@ qx.Class.define("qx.test.data.DataArray", {
153
145
  a.reverse();
154
146
  },
155
147
  function (e) {
156
- self.assertEquals(
157
- 0,
158
- e.getData().start,
159
- "Wrong start index in the event."
160
- );
161
-
162
- self.assertEquals(
163
- 2,
164
- e.getData().end,
165
- "Wrong end index in the event."
166
- );
167
-
168
- self.assertEquals(
169
- "order",
170
- e.getData().type,
171
- "Wrong type in the event."
172
- );
148
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
149
+
150
+ self.assertEquals(2, e.getData().end, "Wrong end index in the event.");
151
+
152
+ self.assertEquals("order", e.getData().type, "Wrong type in the event.");
173
153
  },
174
154
  "Change event not fired!"
175
155
  );
@@ -179,20 +159,12 @@ qx.Class.define("qx.test.data.DataArray", {
179
159
 
180
160
  testSort() {
181
161
  this.__a.sort();
182
- this.assertEquals(
183
- "one three two",
184
- this.__a.join(" "),
185
- "Simple sort does not work"
186
- );
162
+ this.assertEquals("one three two", this.__a.join(" "), "Simple sort does not work");
187
163
 
188
164
  this.__a.sort(function (a, b) {
189
165
  return a > b ? -1 : 1;
190
166
  });
191
- this.assertEquals(
192
- "two three one",
193
- this.__a.join(" "),
194
- "Own sort does not work"
195
- );
167
+ this.assertEquals("two three one", this.__a.join(" "), "Own sort does not work");
196
168
 
197
169
  // test for the event
198
170
  var a = new qx.data.Array(2, 7, 5);
@@ -204,23 +176,11 @@ qx.Class.define("qx.test.data.DataArray", {
204
176
  a.sort();
205
177
  },
206
178
  function (e) {
207
- self.assertEquals(
208
- 0,
209
- e.getData().start,
210
- "Wrong start index in the event."
211
- );
212
-
213
- self.assertEquals(
214
- 2,
215
- e.getData().end,
216
- "Wrong end index in the event."
217
- );
218
-
219
- self.assertEquals(
220
- "order",
221
- e.getData().type,
222
- "Wrong type in the event."
223
- );
179
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
180
+
181
+ self.assertEquals(2, e.getData().end, "Wrong end index in the event.");
182
+
183
+ self.assertEquals("order", e.getData().type, "Wrong type in the event.");
224
184
  },
225
185
  "Change event not fired!"
226
186
  );
@@ -230,20 +190,12 @@ qx.Class.define("qx.test.data.DataArray", {
230
190
 
231
191
  testConcat() {
232
192
  var b = this.__a.concat(["four", "five"]);
233
- this.assertEquals(
234
- "one two three four five",
235
- b.join(" "),
236
- "Concat does not work"
237
- );
193
+ this.assertEquals("one two three four five", b.join(" "), "Concat does not work");
238
194
 
239
195
  b.dispose();
240
196
 
241
197
  var b = this.__a.concat(new qx.data.Array(["four", "five"]));
242
- this.assertEquals(
243
- "one two three four five",
244
- b.join(" "),
245
- "Concat does not work"
246
- );
198
+ this.assertEquals("one two three four five", b.join(" "), "Concat does not work");
247
199
 
248
200
  b.dispose();
249
201
  },
@@ -290,36 +242,20 @@ qx.Class.define("qx.test.data.DataArray", {
290
242
  },
291
243
 
292
244
  testPush() {
293
- this.assertEquals(
294
- 4,
295
- this.__a.push("four"),
296
- "Push does not give the right length back."
297
- );
245
+ this.assertEquals(4, this.__a.push("four"), "Push does not give the right length back.");
298
246
 
299
- this.assertEquals(
300
- "one two three four",
301
- this.__a.join(" "),
302
- "Single push does not work."
303
- );
247
+ this.assertEquals("one two three four", this.__a.join(" "), "Single push does not work.");
304
248
 
305
249
  this.assertEquals(4, this.__a.length, "Single push does not work.");
306
250
  this.__a.dispose();
307
251
  this.__a = new qx.data.Array();
308
252
  this.__a.push(1, 2, 3);
309
- this.assertEquals(
310
- "1 2 3",
311
- this.__a.join(" "),
312
- "Multiple push does not work."
313
- );
253
+ this.assertEquals("1 2 3", this.__a.join(" "), "Multiple push does not work.");
314
254
  },
315
255
 
316
256
  testShift() {
317
257
  this.assertEquals("one", this.__a.shift(), "Shift does not work.");
318
- this.assertEquals(
319
- "two three",
320
- this.__a.join(" "),
321
- "Shift does not work."
322
- );
258
+ this.assertEquals("two three", this.__a.join(" "), "Shift does not work.");
323
259
 
324
260
  this.assertEquals("two", this.__a.shift(), "Shift does not work.");
325
261
  this.assertEquals(1, this.__a.length, "Shift does not work.");
@@ -336,29 +272,13 @@ qx.Class.define("qx.test.data.DataArray", {
336
272
  },
337
273
 
338
274
  testUnshift() {
339
- this.assertEquals(
340
- 4,
341
- this.__a.unshift("zero"),
342
- "Unshift does not return the proper length."
343
- );
275
+ this.assertEquals(4, this.__a.unshift("zero"), "Unshift does not return the proper length.");
344
276
 
345
- this.assertEquals(
346
- "zero one two three",
347
- this.__a.join(" "),
348
- "Unshift does not work!"
349
- );
277
+ this.assertEquals("zero one two three", this.__a.join(" "), "Unshift does not work!");
350
278
 
351
- this.assertEquals(
352
- 6,
353
- this.__a.unshift("-2", "-1"),
354
- "Unshift does not return the proper length."
355
- );
279
+ this.assertEquals(6, this.__a.unshift("-2", "-1"), "Unshift does not return the proper length.");
356
280
 
357
- this.assertEquals(
358
- "-2 -1 zero one two three",
359
- this.__a.join(" "),
360
- "Unshift does not work!"
361
- );
281
+ this.assertEquals("-2 -1 zero one two three", this.__a.join(" "), "Unshift does not work!");
362
282
  },
363
283
 
364
284
  testSplice() {
@@ -391,11 +311,7 @@ qx.Class.define("qx.test.data.DataArray", {
391
311
  },
392
312
 
393
313
  testToArray() {
394
- this.assertEquals(
395
- "one two three",
396
- this.__a.toArray().join(" "),
397
- "toArray does not work!"
398
- );
314
+ this.assertEquals("one two three", this.__a.toArray().join(" "), "toArray does not work!");
399
315
 
400
316
  this.assertInstance(this.__a.toArray(), Array, "toArray does not work!");
401
317
  },
@@ -421,11 +337,7 @@ qx.Class.define("qx.test.data.DataArray", {
421
337
  },
422
338
 
423
339
  testToString() {
424
- this.assertEquals(
425
- this.__a.toArray().toString(),
426
- this.__a.toString(),
427
- "toString does not work!"
428
- );
340
+ this.assertEquals(this.__a.toArray().toString(), this.__a.toString(), "toString does not work!");
429
341
  },
430
342
 
431
343
  testContains() {
@@ -444,23 +356,11 @@ qx.Class.define("qx.test.data.DataArray", {
444
356
  this.__a.push("one");
445
357
  this.__a.push("two");
446
358
  this.__a.push("three");
447
- this.assertEquals(
448
- 3,
449
- this.__a.lastIndexOf("one"),
450
- "lastIndexOf does not work!"
451
- );
359
+ this.assertEquals(3, this.__a.lastIndexOf("one"), "lastIndexOf does not work!");
452
360
 
453
- this.assertEquals(
454
- 4,
455
- this.__a.lastIndexOf("two"),
456
- "lastIndexOf does not work!"
457
- );
361
+ this.assertEquals(4, this.__a.lastIndexOf("two"), "lastIndexOf does not work!");
458
362
 
459
- this.assertEquals(
460
- 5,
461
- this.__a.lastIndexOf("three"),
462
- "lastIndexOf does not work!"
463
- );
363
+ this.assertEquals(5, this.__a.lastIndexOf("three"), "lastIndexOf does not work!");
464
364
  },
465
365
 
466
366
  testCopy(attribute) {
@@ -495,35 +395,15 @@ qx.Class.define("qx.test.data.DataArray", {
495
395
  this.__a.insertBefore("three", "drei");
496
396
 
497
397
  // check the value
498
- this.assertEquals(
499
- "one",
500
- this.__a.getItem(0),
501
- "insertBefore does not work"
502
- );
398
+ this.assertEquals("one", this.__a.getItem(0), "insertBefore does not work");
503
399
 
504
- this.assertEquals(
505
- "eins",
506
- this.__a.getItem(1),
507
- "insertBefore does not work"
508
- );
400
+ this.assertEquals("eins", this.__a.getItem(1), "insertBefore does not work");
509
401
 
510
- this.assertEquals(
511
- "two",
512
- this.__a.getItem(2),
513
- "insertBefore does not work"
514
- );
402
+ this.assertEquals("two", this.__a.getItem(2), "insertBefore does not work");
515
403
 
516
- this.assertEquals(
517
- "drei",
518
- this.__a.getItem(3),
519
- "insertBefore does not work"
520
- );
404
+ this.assertEquals("drei", this.__a.getItem(3), "insertBefore does not work");
521
405
 
522
- this.assertEquals(
523
- "three",
524
- this.__a.getItem(4),
525
- "insertBefore does not work"
526
- );
406
+ this.assertEquals("three", this.__a.getItem(4), "insertBefore does not work");
527
407
  },
528
408
 
529
409
  testInsertAfter() {
@@ -531,35 +411,15 @@ qx.Class.define("qx.test.data.DataArray", {
531
411
  this.__a.insertAfter("two", "drei");
532
412
 
533
413
  // check the value
534
- this.assertEquals(
535
- "one",
536
- this.__a.getItem(0),
537
- "insertAfter does not work"
538
- );
414
+ this.assertEquals("one", this.__a.getItem(0), "insertAfter does not work");
539
415
 
540
- this.assertEquals(
541
- "eins",
542
- this.__a.getItem(1),
543
- "insertAfter does not work"
544
- );
416
+ this.assertEquals("eins", this.__a.getItem(1), "insertAfter does not work");
545
417
 
546
- this.assertEquals(
547
- "two",
548
- this.__a.getItem(2),
549
- "insertAfter does not work"
550
- );
418
+ this.assertEquals("two", this.__a.getItem(2), "insertAfter does not work");
551
419
 
552
- this.assertEquals(
553
- "drei",
554
- this.__a.getItem(3),
555
- "insertAfter does not work"
556
- );
420
+ this.assertEquals("drei", this.__a.getItem(3), "insertAfter does not work");
557
421
 
558
- this.assertEquals(
559
- "three",
560
- this.__a.getItem(4),
561
- "insertAfter does not work"
562
- );
422
+ this.assertEquals("three", this.__a.getItem(4), "insertAfter does not work");
563
423
  },
564
424
 
565
425
  testRemoveAt() {
@@ -571,6 +431,24 @@ qx.Class.define("qx.test.data.DataArray", {
571
431
  this.assertEquals("three", this.__a.getItem(1), "removeAt does not work");
572
432
  },
573
433
 
434
+ testNativeAccess() {
435
+ let arr = new qx.data.Array([1, 2, 3, 4]);
436
+
437
+ arr[3] = 23;
438
+
439
+ this.assertEquals(23, arr[3], "can read natively after native setter");
440
+ this.assertEquals(23, arr.getItem(3), "can read via method after native setter");
441
+ this.assertArrayEquals([1, 2, 3, 23], arr.toArray(), "ensure whole array is correct");
442
+
443
+ delete arr[2];
444
+ this.assertArrayEquals([1, 2, undefined, 23], arr.toArray(), "check after delete");
445
+
446
+ arr["apple"] = "banana";
447
+ this.assertEquals("banana", arr["apple"], "can set non-numeric property natively");
448
+ delete arr["apple"];
449
+ this.assertUndefined(arr["apple"], "can delete non-numeric property natively");
450
+ },
451
+
574
452
  testRemoveAll() {
575
453
  var self = this;
576
454
  this.assertEventFired(
@@ -598,23 +476,11 @@ qx.Class.define("qx.test.data.DataArray", {
598
476
  self.assertEquals("b", removed[1]);
599
477
  },
600
478
  function (e) {
601
- self.assertEquals(
602
- 0,
603
- e.getData().start,
604
- "Wrong start index in the event."
605
- );
606
-
607
- self.assertEquals(
608
- 1,
609
- e.getData().end,
610
- "Wrong end index in the event."
611
- );
612
-
613
- self.assertEquals(
614
- "remove",
615
- e.getData().type,
616
- "Wrong type in the event."
617
- );
479
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
480
+
481
+ self.assertEquals(1, e.getData().end, "Wrong end index in the event.");
482
+
483
+ self.assertEquals("remove", e.getData().type, "Wrong type in the event.");
618
484
 
619
485
  self.assertEquals("a", e.getData().removed[0]);
620
486
  self.assertEquals("b", e.getData().removed[1]);
@@ -667,10 +533,7 @@ qx.Class.define("qx.test.data.DataArray", {
667
533
  this.assertTrue(this.__a.equals(a), "equals does not work.");
668
534
  a.dispose();
669
535
 
670
- this.assertTrue(
671
- this.__a.equals(["one", "two", "three"]),
672
- "equals does not work."
673
- );
536
+ this.assertTrue(this.__a.equals(["one", "two", "three"]), "equals does not work.");
674
537
  },
675
538
 
676
539
  testSum() {
@@ -708,29 +571,13 @@ qx.Class.define("qx.test.data.DataArray", {
708
571
  a.pop();
709
572
  },
710
573
  function (e) {
711
- self.assertEquals(
712
- 1,
713
- e.getData().start,
714
- "Wrong start index in the event."
715
- );
716
-
717
- self.assertEquals(
718
- 1,
719
- e.getData().end,
720
- "Wrong end index in the event."
721
- );
722
-
723
- self.assertEquals(
724
- "remove",
725
- e.getData().type,
726
- "Wrong type in the event."
727
- );
728
-
729
- self.assertEquals(
730
- 3,
731
- e.getData().removed[0],
732
- "Wrong removed array in the event."
733
- );
574
+ self.assertEquals(1, e.getData().start, "Wrong start index in the event.");
575
+
576
+ self.assertEquals(1, e.getData().end, "Wrong end index in the event.");
577
+
578
+ self.assertEquals("remove", e.getData().type, "Wrong type in the event.");
579
+
580
+ self.assertEquals(3, e.getData().removed[0], "Wrong removed array in the event.");
734
581
  },
735
582
  "Change event not fired!"
736
583
  );
@@ -749,29 +596,13 @@ qx.Class.define("qx.test.data.DataArray", {
749
596
  a.push(4);
750
597
  },
751
598
  function (e) {
752
- self.assertEquals(
753
- 3,
754
- e.getData().start,
755
- "Wrong start index in the event."
756
- );
757
-
758
- self.assertEquals(
759
- 3,
760
- e.getData().end,
761
- "Wrong end index in the event."
762
- );
763
-
764
- self.assertEquals(
765
- "add",
766
- e.getData().type,
767
- "Wrong type in the event."
768
- );
769
-
770
- self.assertEquals(
771
- 4,
772
- e.getData().added[0],
773
- "Wrong item array in the event."
774
- );
599
+ self.assertEquals(3, e.getData().start, "Wrong start index in the event.");
600
+
601
+ self.assertEquals(3, e.getData().end, "Wrong end index in the event.");
602
+
603
+ self.assertEquals("add", e.getData().type, "Wrong type in the event.");
604
+
605
+ self.assertEquals(4, e.getData().added[0], "Wrong item array in the event.");
775
606
  },
776
607
  "Change event not fired!"
777
608
  );
@@ -790,35 +621,15 @@ qx.Class.define("qx.test.data.DataArray", {
790
621
  a.append([4, 5]);
791
622
  },
792
623
  function (e) {
793
- self.assertEquals(
794
- 3,
795
- e.getData().start,
796
- "Wrong start index in the event."
797
- );
798
-
799
- self.assertEquals(
800
- 4,
801
- e.getData().end,
802
- "Wrong end index in the event."
803
- );
804
-
805
- self.assertEquals(
806
- "add",
807
- e.getData().type,
808
- "Wrong type in the event."
809
- );
810
-
811
- self.assertEquals(
812
- 4,
813
- e.getData().added[0],
814
- "Wrong item array in the event."
815
- );
816
-
817
- self.assertEquals(
818
- 5,
819
- e.getData().added[1],
820
- "Wrong item array in the event."
821
- );
624
+ self.assertEquals(3, e.getData().start, "Wrong start index in the event.");
625
+
626
+ self.assertEquals(4, e.getData().end, "Wrong end index in the event.");
627
+
628
+ self.assertEquals("add", e.getData().type, "Wrong type in the event.");
629
+
630
+ self.assertEquals(4, e.getData().added[0], "Wrong item array in the event.");
631
+
632
+ self.assertEquals(5, e.getData().added[1], "Wrong item array in the event.");
822
633
  },
823
634
  "Change event not fired!"
824
635
  );
@@ -837,29 +648,13 @@ qx.Class.define("qx.test.data.DataArray", {
837
648
  a.shift();
838
649
  },
839
650
  function (e) {
840
- self.assertEquals(
841
- 0,
842
- e.getData().start,
843
- "Wrong start index in the event."
844
- );
845
-
846
- self.assertEquals(
847
- 1,
848
- e.getData().end,
849
- "Wrong end index in the event."
850
- );
851
-
852
- self.assertEquals(
853
- "remove",
854
- e.getData().type,
855
- "Wrong type in the event."
856
- );
857
-
858
- self.assertEquals(
859
- 1,
860
- e.getData().removed[0],
861
- "Wrong item in the event."
862
- );
651
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
652
+
653
+ self.assertEquals(1, e.getData().end, "Wrong end index in the event.");
654
+
655
+ self.assertEquals("remove", e.getData().type, "Wrong type in the event.");
656
+
657
+ self.assertEquals(1, e.getData().removed[0], "Wrong item in the event.");
863
658
  },
864
659
  "Change event not fired!"
865
660
  );
@@ -878,29 +673,13 @@ qx.Class.define("qx.test.data.DataArray", {
878
673
  a.unshift(0);
879
674
  },
880
675
  function (e) {
881
- self.assertEquals(
882
- 0,
883
- e.getData().start,
884
- "Wrong start index in the event."
885
- );
886
-
887
- self.assertEquals(
888
- 3,
889
- e.getData().end,
890
- "Wrong end index in the event."
891
- );
892
-
893
- self.assertEquals(
894
- "add",
895
- e.getData().type,
896
- "Wrong type in the event."
897
- );
898
-
899
- self.assertEquals(
900
- 0,
901
- e.getData().added[0],
902
- "Wrong item in the event."
903
- );
676
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
677
+
678
+ self.assertEquals(3, e.getData().end, "Wrong end index in the event.");
679
+
680
+ self.assertEquals("add", e.getData().type, "Wrong type in the event.");
681
+
682
+ self.assertEquals(0, e.getData().added[0], "Wrong item in the event.");
904
683
  },
905
684
  "Change event not fired!"
906
685
  );
@@ -919,47 +698,19 @@ qx.Class.define("qx.test.data.DataArray", {
919
698
  a.splice(1, 2).dispose();
920
699
  },
921
700
  function (e) {
922
- self.assertEquals(
923
- 1,
924
- e.getData().start,
925
- "Wrong start index in the event (remove)."
926
- );
927
-
928
- self.assertEquals(
929
- 2,
930
- e.getData().end,
931
- "Wrong end index in the event (remove)."
932
- );
933
-
934
- self.assertEquals(
935
- "remove",
936
- e.getData().type,
937
- "Wrong type in the event (remove)."
938
- );
939
-
940
- self.assertEquals(
941
- "b",
942
- e.getData().removed[0],
943
- "Wrong item in the event (remove)."
944
- );
945
-
946
- self.assertEquals(
947
- "c",
948
- e.getData().removed[1],
949
- "Wrong item in the event (remove)."
950
- );
951
-
952
- self.assertEquals(
953
- 2,
954
- e.getData().removed.length,
955
- "Wrong item in the event (remove)."
956
- );
957
-
958
- self.assertEquals(
959
- 0,
960
- e.getData().added.length,
961
- "Wrong item in the event (remove)."
962
- );
701
+ self.assertEquals(1, e.getData().start, "Wrong start index in the event (remove).");
702
+
703
+ self.assertEquals(2, e.getData().end, "Wrong end index in the event (remove).");
704
+
705
+ self.assertEquals("remove", e.getData().type, "Wrong type in the event (remove).");
706
+
707
+ self.assertEquals("b", e.getData().removed[0], "Wrong item in the event (remove).");
708
+
709
+ self.assertEquals("c", e.getData().removed[1], "Wrong item in the event (remove).");
710
+
711
+ self.assertEquals(2, e.getData().removed.length, "Wrong item in the event (remove).");
712
+
713
+ self.assertEquals(0, e.getData().added.length, "Wrong item in the event (remove).");
963
714
  },
964
715
  "Change event not fired!"
965
716
  );
@@ -975,41 +726,17 @@ qx.Class.define("qx.test.data.DataArray", {
975
726
  a.splice(0, 0, "x").dispose();
976
727
  },
977
728
  function (e) {
978
- self.assertEquals(
979
- 0,
980
- e.getData().start,
981
- "Wrong start index in the event. (add)"
982
- );
983
-
984
- self.assertEquals(
985
- 1,
986
- e.getData().end,
987
- "Wrong end index in the event. (add)"
988
- );
989
-
990
- self.assertEquals(
991
- "add",
992
- e.getData().type,
993
- "Wrong type in the event. (add)"
994
- );
995
-
996
- self.assertEquals(
997
- "x",
998
- e.getData().added[0],
999
- "Wrong items in the event. (add)"
1000
- );
1001
-
1002
- self.assertEquals(
1003
- 1,
1004
- e.getData().added.length,
1005
- "Wrong amount of items in the event. (add)"
1006
- );
1007
-
1008
- self.assertEquals(
1009
- 0,
1010
- e.getData().removed.length,
1011
- "Wrong amount of items in the event. (add)"
1012
- );
729
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event. (add)");
730
+
731
+ self.assertEquals(1, e.getData().end, "Wrong end index in the event. (add)");
732
+
733
+ self.assertEquals("add", e.getData().type, "Wrong type in the event. (add)");
734
+
735
+ self.assertEquals("x", e.getData().added[0], "Wrong items in the event. (add)");
736
+
737
+ self.assertEquals(1, e.getData().added.length, "Wrong amount of items in the event. (add)");
738
+
739
+ self.assertEquals(0, e.getData().removed.length, "Wrong amount of items in the event. (add)");
1013
740
  },
1014
741
  "Change event not fired!"
1015
742
  );
@@ -1025,47 +752,19 @@ qx.Class.define("qx.test.data.DataArray", {
1025
752
  a.splice(0, 1, "x").dispose();
1026
753
  },
1027
754
  function (e) {
1028
- self.assertEquals(
1029
- 0,
1030
- e.getData().start,
1031
- "Wrong start index in the event. (add/remove)"
1032
- );
1033
-
1034
- self.assertEquals(
1035
- 0,
1036
- e.getData().end,
1037
- "Wrong end index in the event. (add/remove)"
1038
- );
1039
-
1040
- self.assertEquals(
1041
- "add/remove",
1042
- e.getData().type,
1043
- "Wrong type in the event. (add/remove)"
1044
- );
1045
-
1046
- self.assertEquals(
1047
- "x",
1048
- e.getData().added[0],
1049
- "Wrong items in the event. (add/remove)"
1050
- );
1051
-
1052
- self.assertEquals(
1053
- 1,
1054
- e.getData().added.length,
1055
- "Wrong amount of items in the event. (add/remove)"
1056
- );
1057
-
1058
- self.assertEquals(
1059
- "a",
1060
- e.getData().removed[0],
1061
- "Wrong items in the event. (add/remove)"
1062
- );
1063
-
1064
- self.assertEquals(
1065
- 1,
1066
- e.getData().removed.length,
1067
- "Wrong amount of items in the event. (add/remove)"
1068
- );
755
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event. (add/remove)");
756
+
757
+ self.assertEquals(0, e.getData().end, "Wrong end index in the event. (add/remove)");
758
+
759
+ self.assertEquals("add/remove", e.getData().type, "Wrong type in the event. (add/remove)");
760
+
761
+ self.assertEquals("x", e.getData().added[0], "Wrong items in the event. (add/remove)");
762
+
763
+ self.assertEquals(1, e.getData().added.length, "Wrong amount of items in the event. (add/remove)");
764
+
765
+ self.assertEquals("a", e.getData().removed[0], "Wrong items in the event. (add/remove)");
766
+
767
+ self.assertEquals(1, e.getData().removed.length, "Wrong amount of items in the event. (add/remove)");
1069
768
  },
1070
769
  "Change event not fired!"
1071
770
  );
@@ -1081,71 +780,27 @@ qx.Class.define("qx.test.data.DataArray", {
1081
780
  a.splice(0, 3, "x", "y", "z").dispose();
1082
781
  },
1083
782
  function (e) {
1084
- self.assertEquals(
1085
- 0,
1086
- e.getData().start,
1087
- "Wrong start index in the event. (replace)"
1088
- );
1089
-
1090
- self.assertEquals(
1091
- 2,
1092
- e.getData().end,
1093
- "Wrong end index in the event. (replace)"
1094
- );
1095
-
1096
- self.assertEquals(
1097
- "add/remove",
1098
- e.getData().type,
1099
- "Wrong type in the event. (replace)"
1100
- );
1101
-
1102
- self.assertEquals(
1103
- "x",
1104
- e.getData().added[0],
1105
- "Wrong items in the event. (replace)"
1106
- );
1107
-
1108
- self.assertEquals(
1109
- "y",
1110
- e.getData().added[1],
1111
- "Wrong items in the event. (replace)"
1112
- );
1113
-
1114
- self.assertEquals(
1115
- "z",
1116
- e.getData().added[2],
1117
- "Wrong items in the event. (replace)"
1118
- );
1119
-
1120
- self.assertEquals(
1121
- 3,
1122
- e.getData().added.length,
1123
- "Wrong amount of items in the event. (replace)"
1124
- );
1125
-
1126
- self.assertEquals(
1127
- "a",
1128
- e.getData().removed[0],
1129
- "Wrong items in the event. (replace)"
1130
- );
1131
-
1132
- self.assertEquals(
1133
- "b",
1134
- e.getData().removed[1],
1135
- "Wrong items in the event. (replace)"
1136
- );
1137
-
1138
- self.assertEquals(
1139
- "c",
1140
- e.getData().removed[2],
1141
- "Wrong items in the event. (replace)"
1142
- );
1143
-
1144
- self.assertEquals(
1145
- 3,
1146
- e.getData().removed.length,
1147
- "Wrong amount of items in the event. (replace)"
1148
- );
783
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event. (replace)");
784
+
785
+ self.assertEquals(2, e.getData().end, "Wrong end index in the event. (replace)");
786
+
787
+ self.assertEquals("add/remove", e.getData().type, "Wrong type in the event. (replace)");
788
+
789
+ self.assertEquals("x", e.getData().added[0], "Wrong items in the event. (replace)");
790
+
791
+ self.assertEquals("y", e.getData().added[1], "Wrong items in the event. (replace)");
792
+
793
+ self.assertEquals("z", e.getData().added[2], "Wrong items in the event. (replace)");
794
+
795
+ self.assertEquals(3, e.getData().added.length, "Wrong amount of items in the event. (replace)");
796
+
797
+ self.assertEquals("a", e.getData().removed[0], "Wrong items in the event. (replace)");
798
+
799
+ self.assertEquals("b", e.getData().removed[1], "Wrong items in the event. (replace)");
800
+
801
+ self.assertEquals("c", e.getData().removed[2], "Wrong items in the event. (replace)");
802
+
803
+ self.assertEquals(3, e.getData().removed.length, "Wrong amount of items in the event. (replace)");
1149
804
  },
1150
805
  "Change event not fired!"
1151
806
  );
@@ -1165,23 +820,11 @@ qx.Class.define("qx.test.data.DataArray", {
1165
820
  },
1166
821
  function (e) {
1167
822
  var data = e.getData();
1168
- self.assertEquals(
1169
- 0,
1170
- data.value.length,
1171
- "Wrong amount of item(s) added in the bubble event (remove)."
1172
- );
1173
-
1174
- self.assertEquals(
1175
- 2,
1176
- data.old.length,
1177
- "Wrong amount of item(s) removed in the bubble event (remove)."
1178
- );
1179
-
1180
- self.assertEquals(
1181
- "1-2",
1182
- data.name,
1183
- "Wrong name in the bubble event (remove)."
1184
- );
823
+ self.assertEquals(0, data.value.length, "Wrong amount of item(s) added in the bubble event (remove).");
824
+
825
+ self.assertEquals(2, data.old.length, "Wrong amount of item(s) removed in the bubble event (remove).");
826
+
827
+ self.assertEquals("1-2", data.name, "Wrong name in the bubble event (remove).");
1185
828
  },
1186
829
  "changeBubble event not fired!"
1187
830
  );
@@ -1198,23 +841,11 @@ qx.Class.define("qx.test.data.DataArray", {
1198
841
  },
1199
842
  function (e) {
1200
843
  var data = e.getData();
1201
- self.assertEquals(
1202
- 1,
1203
- data.value.length,
1204
- "Wrong amount of item(s) added in the bubble event (add)."
1205
- );
1206
-
1207
- self.assertEquals(
1208
- 0,
1209
- data.old.length,
1210
- "Wrong amount of item(s) removed in the bubble event (add)."
1211
- );
1212
-
1213
- self.assertEquals(
1214
- "0",
1215
- data.name,
1216
- "Wrong name in the bubble event (add)."
1217
- );
844
+ self.assertEquals(1, data.value.length, "Wrong amount of item(s) added in the bubble event (add).");
845
+
846
+ self.assertEquals(0, data.old.length, "Wrong amount of item(s) removed in the bubble event (add).");
847
+
848
+ self.assertEquals("0", data.name, "Wrong name in the bubble event (add).");
1218
849
  },
1219
850
  "changeBubble event not fired!"
1220
851
  );
@@ -1231,23 +862,11 @@ qx.Class.define("qx.test.data.DataArray", {
1231
862
  },
1232
863
  function (e) {
1233
864
  var data = e.getData();
1234
- self.assertEquals(
1235
- 1,
1236
- data.value.length,
1237
- "Wrong amount of item(s) added in the bubble event (add/remove)."
1238
- );
1239
-
1240
- self.assertEquals(
1241
- 1,
1242
- data.old.length,
1243
- "Wrong amount of item(s) removed in the bubble event (add/remove)."
1244
- );
1245
-
1246
- self.assertEquals(
1247
- "0",
1248
- data.name,
1249
- "Wrong name in the bubble event (add/remove)."
1250
- );
865
+ self.assertEquals(1, data.value.length, "Wrong amount of item(s) added in the bubble event (add/remove).");
866
+
867
+ self.assertEquals(1, data.old.length, "Wrong amount of item(s) removed in the bubble event (add/remove).");
868
+
869
+ self.assertEquals("0", data.name, "Wrong name in the bubble event (add/remove).");
1251
870
  },
1252
871
  "changeBubble event not fired!"
1253
872
  );
@@ -1323,47 +942,19 @@ qx.Class.define("qx.test.data.DataArray", {
1323
942
  a.setItem(0, 4);
1324
943
  },
1325
944
  function (e) {
1326
- self.assertEquals(
1327
- 0,
1328
- e.getData().start,
1329
- "Wrong start index in the event."
1330
- );
1331
-
1332
- self.assertEquals(
1333
- 0,
1334
- e.getData().end,
1335
- "Wrong end index in the event."
1336
- );
1337
-
1338
- self.assertEquals(
1339
- "add/remove",
1340
- e.getData().type,
1341
- "Wrong type in the event."
1342
- );
1343
-
1344
- self.assertEquals(
1345
- 4,
1346
- e.getData().added[0],
1347
- "Wrong item in the event."
1348
- );
1349
-
1350
- self.assertEquals(
1351
- 1,
1352
- e.getData().added.length,
1353
- "Wrong item in the event."
1354
- );
1355
-
1356
- self.assertEquals(
1357
- 1,
1358
- e.getData().removed[0],
1359
- "Wrong item in the event."
1360
- );
1361
-
1362
- self.assertEquals(
1363
- 1,
1364
- e.getData().removed.length,
1365
- "Wrong item in the event."
1366
- );
945
+ self.assertEquals(0, e.getData().start, "Wrong start index in the event.");
946
+
947
+ self.assertEquals(0, e.getData().end, "Wrong end index in the event.");
948
+
949
+ self.assertEquals("add/remove", e.getData().type, "Wrong type in the event.");
950
+
951
+ self.assertEquals(4, e.getData().added[0], "Wrong item in the event.");
952
+
953
+ self.assertEquals(1, e.getData().added.length, "Wrong item in the event.");
954
+
955
+ self.assertEquals(1, e.getData().removed[0], "Wrong item in the event.");
956
+
957
+ self.assertEquals(1, e.getData().removed.length, "Wrong item in the event.");
1367
958
  },
1368
959
  "Change event not fired!"
1369
960
  );
@@ -1536,38 +1127,26 @@ qx.Class.define("qx.test.data.DataArray", {
1536
1127
 
1537
1128
  testReduce() {
1538
1129
  var self = this;
1539
- var reduced = this.__a.reduce(function (
1540
- previousValue,
1541
- currentValue,
1542
- index,
1543
- array
1544
- ) {
1130
+ var reduced = this.__a.reduce(function (previousValue, currentValue, index, array) {
1545
1131
  self.assertString(previousValue);
1546
1132
  self.assertString(currentValue);
1547
1133
  self.assertNumber(index);
1548
1134
  self.assertEquals(self.__a.toArray(), array);
1549
1135
  return previousValue + currentValue;
1550
- },
1551
- "---");
1136
+ }, "---");
1552
1137
 
1553
1138
  this.assertEquals("---onetwothree", reduced);
1554
1139
  },
1555
1140
 
1556
1141
  testReduceRight() {
1557
1142
  var self = this;
1558
- var reduced = this.__a.reduceRight(function (
1559
- previousValue,
1560
- currentValue,
1561
- index,
1562
- array
1563
- ) {
1143
+ var reduced = this.__a.reduceRight(function (previousValue, currentValue, index, array) {
1564
1144
  self.assertString(previousValue);
1565
1145
  self.assertString(currentValue);
1566
1146
  self.assertNumber(index);
1567
1147
  self.assertEquals(self.__a.toArray(), array);
1568
1148
  return previousValue + currentValue;
1569
- },
1570
- "---");
1149
+ }, "---");
1571
1150
 
1572
1151
  this.assertEquals("---threetwoone", reduced);
1573
1152
  }