You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(24) |
Aug
(93) |
Sep
(261) |
Oct
(257) |
Nov
(218) |
Dec
(95) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(184) |
Feb
(87) |
Mar
(155) |
Apr
(398) |
May
(201) |
Jun
(35) |
Jul
(68) |
Aug
(92) |
Sep
(52) |
Oct
(111) |
Nov
(135) |
Dec
(116) |
2009 |
Jan
(225) |
Feb
(204) |
Mar
(113) |
Apr
(137) |
May
(220) |
Jun
(199) |
Jul
(196) |
Aug
(98) |
Sep
(100) |
Oct
(179) |
Nov
(164) |
Dec
(72) |
2010 |
Jan
(59) |
Feb
(61) |
Mar
(64) |
Apr
(159) |
May
(107) |
Jun
(252) |
Jul
(180) |
Aug
(96) |
Sep
(82) |
Oct
(58) |
Nov
(43) |
Dec
(53) |
2011 |
Jan
(39) |
Feb
(18) |
Mar
(33) |
Apr
(66) |
May
(48) |
Jun
(124) |
Jul
(112) |
Aug
(62) |
Sep
(45) |
Oct
(102) |
Nov
(47) |
Dec
(37) |
2012 |
Jan
(22) |
Feb
(18) |
Mar
(1) |
Apr
(5) |
May
(18) |
Jun
(13) |
Jul
(9) |
Aug
(38) |
Sep
(3) |
Oct
(7) |
Nov
(24) |
Dec
(6) |
2013 |
Jan
(1) |
Feb
(14) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(4) |
Jul
(9) |
Aug
(4) |
Sep
(7) |
Oct
|
Nov
(1) |
Dec
(4) |
2014 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <d_w...@us...> - 2012-04-12 13:59:24
|
Revision: 21705 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21705&view=rev Author: d_wagner Date: 2012-04-12 13:59:15 +0000 (Thu, 12 Apr 2012) Log Message: ----------- updated for indigo theme Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/showcase/test_showcase.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/showcase/test_showcase.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/showcase/test_showcase.js 2012-04-12 08:53:46 UTC (rev 21704) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/showcase/test_showcase.js 2012-04-12 13:59:15 UTC (rev 21705) @@ -27,7 +27,7 @@ var qxAppInst = simulation.Simulation.QXAPPINSTANCE; var locators = { previewList : 'qxh=inline:showcase//[@classname="showcase.ui.PreviewList"]', - virtualListContactsWindow : 'qxhybrid=showcase&&qxhv=qx.ui.container.Stack/qx.ui.container.Composite/qx.ui.window.Desktop/[@caption=Contacts]' + virtualListContactsWindow : 'qxhv=inline:showcase//qx.ui.container.Stack/qx.ui.container.Composite/qx.ui.window.Desktop/[@caption=Contacts]' }; simulation.Simulation.prototype.runTest = function() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-04-12 08:53:55
|
Revision: 21704 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21704&view=rev Author: d_wagner Date: 2012-04-12 08:53:46 +0000 (Thu, 12 Apr 2012) Log Message: ----------- updated for indigo theme Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js 2012-03-06 17:52:03 UTC (rev 21703) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js 2012-04-12 08:53:46 UTC (rev 21704) @@ -29,7 +29,7 @@ mySim.locators = { inspectorToolBar : "qxh=qx.ui.container.Composite/qx.ui.toolbar.ToolBar", inspectButton : "qxh=qx.ui.container.Composite/qx.ui.toolbar.ToolBar/[@label='Inspect']", - inspectedWidgetLabel : "qxh=qx.ui.container.Composite/qx.ui.toolbar.ToolBar/child[9]", + inspectedWidgetLabel : "qxh=qx.ui.container.Composite/qx.ui.toolbar.ToolBar/child[5]", inspectedAppRoot : "qxh=qx.ui.container.Composite/qx.ui.embed.Iframe/qx.ui.root.Application", windowWidgets : "qxh=[@classname=inspector.widgets.WidgetsWindow]", windowWidgetsTree : "qxh=[@classname=inspector.widgets.WidgetsWindow]/[@classname=inspector.widgets.View]/qx.ui.tree.Tree", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-03-06 17:52:09
|
Revision: 21703 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21703&view=rev Author: spackers Date: 2012-03-06 17:52:03 +0000 (Tue, 06 Mar 2012) Log Message: ----------- fixed warning Modified Paths: -------------- trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js 2012-02-29 13:37:06 UTC (rev 21702) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js 2012-03-06 17:52:03 UTC (rev 21703) @@ -27,6 +27,7 @@ ************************************************************************/ /* #ignore(File) +#ignore(FileReader) #ignore(FormData) */ /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-29 13:37:18
|
Revision: 21702 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21702&view=rev Author: spackers Date: 2012-02-29 13:37:06 +0000 (Wed, 29 Feb 2012) Log Message: ----------- fix for safari Modified Paths: -------------- trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json 2012-02-22 17:49:41 UTC (rev 21701) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json 2012-02-29 13:37:06 UTC (rev 21702) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.6"] + "qooxdoo-versions": [ "1.5", "1.6", "1.6-pre" ] }, "provides" : Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-02-22 17:49:41 UTC (rev 21701) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-02-29 13:37:06 UTC (rev 21702) @@ -38,7 +38,7 @@ { "APPLICATION" : "uploadmgr.demo", "QOOXDOO_PATH" : "../../../../qooxdoo/1.6", - "XXXQOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-1.6-sdk/", + "XXXQOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", "QXTHEME" : "uploadmgr.demo.theme.Theme", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js 2012-02-22 17:49:41 UTC (rev 21701) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/source/class/com/zenesis/qx/upload/XhrHandler.js 2012-02-29 13:37:06 UTC (rev 21702) @@ -91,7 +91,7 @@ } }; - if (typeof FormData == "function") { + if (typeof FormData == "function" || typeof FormData == "object") { var fd = new FormData(); // build query string @@ -107,6 +107,7 @@ xhr.send(fd); } else { + var browserFile = file.getBrowserObject(); var boundary = "--------FormData" + Math.random(), body = "", action = this._getUploader().getUploadUrl(), @@ -117,16 +118,28 @@ body += params[name] + "\r\n"; } body += "--" + boundary + "\r\n"; - body += "Content-Disposition: form-data; name=\"file\"; filename=\"" + file.getFilename() + "\"\r\n"; - body += "Content-Type: "+ (file.getBrowserObject().type||"application/octet-stream") +"\r\n\r\n"; - body += file.getBrowserObject().getAsBinary() + "\r\n"; - body += "--" + boundary + "--"; - - xhr.open("POST", action, true); - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); - xhr.setRequestHeader("X-File-Name", encodeURIComponent(file.getFilename())); - xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); - xhr.send(body); + body += "Content-Disposition: form-data; name=\"file\"; filename=\"" + file.getFilename() + "\"\r\n"; + body += "Content-Type: "+ (browserFile.type||"application/octet-stream") +"\r\n\r\n"; + + function sendAsMime(binaryData) { + body += binaryData + "\r\n"; + body += "--" + boundary + "--"; + + xhr.open("POST", action, true); + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); + xhr.setRequestHeader("X-File-Name", encodeURIComponent(file.getFilename())); + xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); + xhr.send(body); + } + if (typeof browserFile.getAsBinary == "function") { + sendAsMime(browserFile.getAsBinary()); + } else { + var reader = new FileReader(); + reader.onload = function(evt) { + sendAsMime(evt.target.result); + }; + reader.readAsBinaryString(browserFile); + } } }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-02-22 17:49:47
|
Revision: 21701 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21701&view=rev Author: d_wagner Date: 2012-02-22 17:49:41 +0000 (Wed, 22 Feb 2012) Log Message: ----------- Fixed tool bar test and added tab bar test Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-02-22 17:48:56 UTC (rev 21700) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-02-22 17:49:41 UTC (rev 21701) @@ -93,7 +93,7 @@ this.waitForElementPresent("//div[contains(text(), 'touchstart touchend tap')]"); }; -simulation.Simulation.prototype.testToolbarX = function() +simulation.Simulation.prototype.testToolbar = function() { this.log("Testing Toolbar", "info"); this.waitForElementPresent("//div[contains(@class, 'toolbar')]"); @@ -101,7 +101,7 @@ //click search button this.qxClick("//div[contains(@class, 'toolbar-button')]/descendant::div[text() = 'Search']"); this.waitForElementPresent("//div[contains(@class, 'dialog')]"); - var searchDialogButtonLocator = "//div[contains(@class, 'button')]"; + var searchDialogButtonLocator = "//div[contains(@class, 'dialog')]/descendant::div[contains(@class, 'button')]"; this.qxClick(searchDialogButtonLocator); Packages.java.lang.Thread.sleep(500); if (this.__sel.isVisible(searchDialogButtonLocator)) { @@ -109,7 +109,8 @@ } //click 'left arrow' button - var noButtonLocator = "//div[text() = 'no']"; + var noButtonLocator = "//div[text() = 'No']"; + var yesButtonLocator = "//div[text() = 'Yes']"; this.qxClick("//img[contains(@src, 'arrowleft')]"); this.waitForElementPresent(noButtonLocator); this.qxClick(yesButtonLocator); @@ -129,6 +130,14 @@ } }; +simulation.Simulation.prototype.testTabBar = function() +{ + for (var i=1; i<5; i++) { + this.qxClick("//div[text() = 'Tab " + i + "']/ancestor::div[contains(@class, 'tabButton')]"); + this.waitForElementVisible("//div[text() = 'View " + i + "']"); + } +}; + mySim.runTest = function() { this.waitForElementPresent("//h1[text() = 'Overview']"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-02-22 17:49:03
|
Revision: 21700 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21700&view=rev Author: d_wagner Date: 2012-02-22 17:48:56 +0000 (Wed, 22 Feb 2012) Log Message: ----------- Added convenience method waitForElementVisible() Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-02-21 10:35:20 UTC (rev 21699) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-02-22 17:48:56 UTC (rev 21700) @@ -754,6 +754,13 @@ }; +simulation.Simulation.prototype.waitForElementVisible = function(locator, timeout) +{ + var condition = 'selenium.isVisible("' + locator + '")'; + this.__sel.waitForCondition(condition, timeout || 5000); +}; + + simulation.Simulation.prototype.getInnerHtmlFromCollection = function(query) { var getter="var titles = [];" + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-21 10:35:29
|
Revision: 21699 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21699&view=rev Author: spackers Date: 2012-02-21 10:35:20 +0000 (Tue, 21 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/ServerObjects/trunk/client/qso-lib/source/class/com/zenesis/qx/remote/ProxyManager.js Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/client/qso-lib/source/class/com/zenesis/qx/remote/ProxyManager.js =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/client/qso-lib/source/class/com/zenesis/qx/remote/ProxyManager.js 2012-02-10 19:53:07 UTC (rev 21698) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/client/qso-lib/source/class/com/zenesis/qx/remote/ProxyManager.js 2012-02-21 10:35:20 UTC (rev 21699) @@ -86,6 +86,8 @@ } }; } + if (!qx.lang.Json) + qx.lang.Json = qx.util.Json; }, properties: { @@ -229,7 +231,7 @@ // Init or Function return if (type == "bootstrap" || type == "return") { qx.core.Assert.assertNull(result, "Multiple function returns in data from server"); - result = this._readProxyObject(elem.data); + result = this.readProxyObject(elem.data); // An exception was thrown } else if (type == "exception") { @@ -248,9 +250,9 @@ // Setting a property failed with an exception - change the value back and handle the exception } else if (type == "restore") { - var obj = this._readProxyObject(elem.object); + var obj = this.readProxyObject(elem.object); try { - var value = this._readProxyObject(elem.data.oldValue); + var value = this.readProxyObject(elem.data.oldValue); this.setPropertyValueFromServer(obj, elem.name, value); } catch(e) { // Ignore it - we were only trying to recover from a server exception @@ -259,13 +261,13 @@ // A server property value changed, update the client } else if (type == "set") { - var obj = this._readProxyObject(elem.object); - var value = this._readProxyObject(elem.data); + var obj = this.readProxyObject(elem.object); + var value = this.readProxyObject(elem.data); this.setPropertyValueFromServer(obj, elem.name, value); // An on demand server property value changed, clear the cache } else if (type == "expire") { - var obj = this._readProxyObject(elem.object); + var obj = this.readProxyObject(elem.object); var upname = qx.lang.String.firstUp(elem.name); obj["expire" + upname](false); @@ -275,8 +277,8 @@ // An event was fired on the server } else if (type == "fire") { - var obj = this._readProxyObject(elem.object); - var eventData = elem.data ? this._readProxyObject(elem.data) : null; + var obj = this.readProxyObject(elem.object); + var eventData = elem.data ? this.readProxyObject(elem.data) : null; obj.fireDataEvent(elem.name, eventData); // Explicitly load a type onto the client @@ -310,7 +312,7 @@ * Reads a proxy object from the server and either creates a new * object (creating classes as required) or returns an existing one */ - _readProxyObject: function(data) { + readProxyObject: function(data) { if (typeof data == "undefined" || data === null) return null; var result = null; @@ -331,7 +333,7 @@ else { result = []; for (var i = 0; i < data.length; i++) - result[i] = this._readProxyObject(data[i]); + result[i] = this.readProxyObject(data[i]); } // Object - is it a server object or a map? @@ -356,7 +358,7 @@ // if (propName == "resources" || propName == "questions") // debugger; if (propValue) - propValue = this._readProxyObject(propValue); + propValue = this.readProxyObject(propValue); this.setPropertyValueFromServer(result, propName, propValue); } } @@ -368,7 +370,7 @@ for (var propName in data.values) { var propValue = data.values[propName]; if (propValue) - propValue = this._readProxyObject(propValue); + propValue = this.readProxyObject(propValue); this.setPropertyValueFromServer(result, propName, propValue); } } @@ -381,7 +383,7 @@ if (!result.$$proxy.cachedResults) result.$$proxy.cachedResults = {}; if (value) - value = this._readProxyObject(value); + value = this.readProxyObject(value); result.$$proxy.cachedResults[methodName] = value; } } @@ -409,7 +411,7 @@ for (var propName in data) { var propValue = data[propName]; if (propValue) - propValue = this._readProxyObject(propValue); + propValue = this.readProxyObject(propValue); result[propName] = propValue; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-10 19:53:13
|
Revision: 21698 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21698&view=rev Author: spackers Date: 2012-02-10 19:53:07 +0000 (Fri, 10 Feb 2012) Log Message: ----------- fixed config.json and corrected version numbers Modified Paths: -------------- trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json Modified: trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json 2012-02-09 08:18:49 UTC (rev 21697) +++ trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json 2012-02-10 19:53:07 UTC (rev 21698) @@ -30,7 +30,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.6"] + "qooxdoo-versions": [ "1.4", "1.5", "1.6" ] }, "provides" : Modified: trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json 2012-02-09 08:18:49 UTC (rev 21697) +++ trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json 2012-02-10 19:53:07 UTC (rev 21698) @@ -34,8 +34,8 @@ "let" : { "APPLICATION" : "aristo.demo", - "QOOXDOO_PATH" : "../../../../../../../../../../../os/qooxdoo-1.6-sdk", - //"QOOXDOO_PATH" : "../../../../qooxdoo/1.6", + "QOOXDOO_PATH" : "../../../../qooxdoo/1.6", + //"QOOXDOO_PATH" : "../../../../../../../../../../../os/qooxdoo-1.6-sdk", "QXTHEME" : "aristo.Aristo", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-09 08:18:59
|
Revision: 21697 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21697&view=rev Author: spackers Date: 2012-02-09 08:18:49 +0000 (Thu, 09 Feb 2012) Log Message: ----------- support for 1.6 Modified Paths: -------------- trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json Modified: trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json 2012-02-09 08:18:14 UTC (rev 21696) +++ trunk/qooxdoo-contrib/Aristo/trunk/Manifest.json 2012-02-09 08:18:49 UTC (rev 21697) @@ -30,7 +30,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.5"] + "qooxdoo-versions": ["1.6"] }, "provides" : Modified: trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json 2012-02-09 08:18:14 UTC (rev 21696) +++ trunk/qooxdoo-contrib/Aristo/trunk/demo/default/config.json 2012-02-09 08:18:49 UTC (rev 21697) @@ -29,10 +29,13 @@ "translation" ], + "default-job" : "source-hybrid", + "let" : { "APPLICATION" : "aristo.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.2", + "QOOXDOO_PATH" : "../../../../../../../../../../../os/qooxdoo-1.6-sdk", + //"QOOXDOO_PATH" : "../../../../qooxdoo/1.6", "QXTHEME" : "aristo.Aristo", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-09 08:18:21
|
Revision: 21696 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21696&view=rev Author: spackers Date: 2012-02-09 08:18:14 +0000 (Thu, 09 Feb 2012) Log Message: ----------- removed unused decorators Modified Paths: -------------- trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Appearance.js trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Color.js Removed Paths: ------------- trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/decorators/ Modified: trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Appearance.js =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Appearance.js 2012-02-08 22:42:27 UTC (rev 21695) +++ trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Appearance.js 2012-02-09 08:18:14 UTC (rev 21696) @@ -647,6 +647,8 @@ textColor = "text-disabled"; } else if (states.showingPlaceholder) { textColor = "text-placeholder"; + } else if (states.readonly) { + textColor = "text-readonly"; } else { textColor = "text-input"; } Modified: trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Color.js =================================================================== --- trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Color.js 2012-02-08 22:42:27 UTC (rev 21695) +++ trunk/qooxdoo-contrib/Aristo/trunk/source/class/aristo/theme/Color.js 2012-02-09 08:18:14 UTC (rev 21696) @@ -44,6 +44,7 @@ "text-title" : "#2a4d60", "text-active" : "#4f4f4f", "text-inactive" : "#4f4f4f", + "text-readonly" : "#4f4f4f", "invalid" : "#c82c2c", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 22:42:34
|
Revision: 21695 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21695&view=rev Author: sandersson Date: 2012-02-08 22:42:27 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 18:42:03 UTC (rev 21694) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 22:42:27 UTC (rev 21695) @@ -25,7 +25,10 @@ this.addListenerOnce("appear", function() { this.constructComponent(); this.layoutComponent(); - this.loadData(); + + if(this.loadData) { + this.loadData(); + } }, this); } }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 18:42:14
|
Revision: 21694 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21694&view=rev Author: sandersson Date: 2012-02-08 18:42:03 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 18:10:15 UTC (rev 21693) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 18:42:03 UTC (rev 21694) @@ -22,8 +22,6 @@ { construct : function() { - this.base(arguments); - this.addListenerOnce("appear", function() { this.constructComponent(); this.layoutComponent(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 18:10:22
|
Revision: 21693 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21693&view=rev Author: sandersson Date: 2012-02-08 18:10:15 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 15:36:14 UTC (rev 21692) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 18:10:15 UTC (rev 21693) @@ -20,8 +20,6 @@ */ qx.Mixin.define("qxe.application.Components", { - implement : qxe.application.IComponents, - construct : function() { this.base(arguments); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 15:36:26
|
Revision: 21692 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21692&view=rev Author: sandersson Date: 2012-02-08 15:36:14 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 15:11:44 UTC (rev 21691) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 15:36:14 UTC (rev 21692) @@ -20,7 +20,7 @@ */ qx.Mixin.define("qxe.application.Components", { - include : qxe.application.IComponents, + implement : qxe.application.IComponents, construct : function() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 15:11:55
|
Revision: 21691 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21691&view=rev Author: sandersson Date: 2012-02-08 15:11:44 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js 2012-02-08 14:44:46 UTC (rev 21690) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js 2012-02-08 15:11:44 UTC (rev 21691) @@ -45,5 +45,6 @@ */ loadData : function() { } + } }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 14:44:57
|
Revision: 21690 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21690&view=rev Author: sandersson Date: 2012-02-08 14:44:46 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Modified Paths: -------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:40:44 UTC (rev 21689) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:44:46 UTC (rev 21690) @@ -29,7 +29,7 @@ this.addListenerOnce("appear", function() { this.constructComponent(); this.layoutComponent(); -// this.loadData(); + this.loadData(); }, this); } }); Modified: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js 2012-02-08 14:40:44 UTC (rev 21689) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js 2012-02-08 14:44:46 UTC (rev 21690) @@ -20,8 +20,30 @@ */ qx.Interface.define("qxe.application.IComponents", { - constructComponent : function(); - layoutComponent : function(); -// loadData : function(); + /* + ***************************************************************************** + MEMBERS + ***************************************************************************** + */ + + members : + { + /** + * Constructs the UI component. + */ + constructComponent : function() { + }, + + /** + * Layouts the UI component. + */ + layoutComponent : function() { + }, + + /** + * Loads data into the UI component. + */ + loadData : function() { + } }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 14:40:55
|
Revision: 21689 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21689&view=rev Author: sandersson Date: 2012-02-08 14:40:44 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Added Paths: ----------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js Added: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js (rev 0) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:40:44 UTC (rev 21689) @@ -0,0 +1,36 @@ +/* ************************************************************************ + + qxe - qooxdoo extension framework + + Copyright: + 2010-2011 Cost Savers, http://www.cost-savers.net + + License: + LGPL: http://www.gnu.org/licenses/lgpl.html + EPL: http://www.eclipse.org/org/documents/epl-v10.php + See the LICENSE file in the project's top-level directory for details. + + Authors: + * Stefan Andersson (sand) + +************************************************************************ */ + +/** + * + */ +qx.Mixin.define("qxe.application.Components", +{ + include : qxe.application.IComponents, + + construct : function() + { + this.base(arguments); + + this.addListenerOnce("appear", function() { + this.constructComponent(); + this.layoutComponent(); +// this.loadData(); + }, this); + } +}); + Added: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js (rev 0) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/IComponents.js 2012-02-08 14:40:44 UTC (rev 21689) @@ -0,0 +1,27 @@ +/* ************************************************************************ + + qxe - qooxdoo extension framework + + Copyright: + 2010-2011 Cost Savers, http://www.cost-savers.net + + License: + LGPL: http://www.gnu.org/licenses/lgpl.html + EPL: http://www.eclipse.org/org/documents/epl-v10.php + See the LICENSE file in the project's top-level directory for details. + + Authors: + * Stefan Andersson (sand) + +************************************************************************ */ + +/** + * + */ +qx.Interface.define("qxe.application.IComponents", +{ + constructComponent : function(); + layoutComponent : function(); +// loadData : function(); +}); + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 14:39:52
|
Revision: 21688 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21688&view=rev Author: sandersson Date: 2012-02-08 14:39:40 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Removed Paths: ------------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js Deleted: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:33:34 UTC (rev 21687) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:39:40 UTC (rev 21688) @@ -1,32 +0,0 @@ -/* ************************************************************************ - - Mobile Post - Registration - - Copyright: - 2010-2012 PerEvoTech, http://www.perevotech.com - - License: - Commercial: http://www.perevotech.com/License.html - - Authors: - * Kent Olsson (kols) - -************************************************************************ */ - -/** - * - */ -qx.Mixin.define("qxe.application.Components", -{ - construct : function() - { - this.base(arguments); - - this.addListenerOnce("appear", function() { - this.constructComponent(); - this.layoutComponent(); -// this.loadData(); - }, this); - } -}); - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <san...@us...> - 2012-02-08 14:33:46
|
Revision: 21687 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21687&view=rev Author: sandersson Date: 2012-02-08 14:33:34 +0000 (Wed, 08 Feb 2012) Log Message: ----------- Added Paths: ----------- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/ui/grid/ Added: trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js =================================================================== --- trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js (rev 0) +++ trunk/qooxdoo-contrib/qxe/trunk/source/class/qxe/application/Components.js 2012-02-08 14:33:34 UTC (rev 21687) @@ -0,0 +1,32 @@ +/* ************************************************************************ + + Mobile Post - Registration + + Copyright: + 2010-2012 PerEvoTech, http://www.perevotech.com + + License: + Commercial: http://www.perevotech.com/License.html + + Authors: + * Kent Olsson (kols) + +************************************************************************ */ + +/** + * + */ +qx.Mixin.define("qxe.application.Components", +{ + construct : function() + { + this.base(arguments); + + this.addListenerOnce("appear", function() { + this.constructComponent(); + this.layoutComponent(); +// this.loadData(); + }, this); + } +}); + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-02-08 07:55:19
|
Revision: 21686 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21686&view=rev Author: d_wagner Date: 2012-02-08 07:55:10 +0000 (Wed, 08 Feb 2012) Log Message: ----------- use log level "warn" if a feed has no entries Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_mobile.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_mobile.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_mobile.js 2012-02-02 17:19:06 UTC (rev 21685) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_mobile.js 2012-02-08 07:55:10 UTC (rev 21686) @@ -75,7 +75,7 @@ continue; } if (articleTitles.length == 0) { - this.log("Feed " + feedTitles[i] + " has no articles!", "error"); + this.log("Feed " + feedTitles[i] + " has no articles!", "warn"); var firstArticleTitle = null; } else if (articleTitles[0] == firstArticleTitle) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-02-02 17:19:13
|
Revision: 21685 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21685&view=rev Author: spackers Date: 2012-02-02 17:19:06 +0000 (Thu, 02 Feb 2012) Log Message: ----------- bugfix for primitive type arrays as method parameters, plus preloading of normally on demand properties Modified Paths: -------------- trunk/qooxdoo-contrib/ServerObjects/trunk/client/demoapp/source/class/demoapp/Application.js trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/json/JsonSerialiserFactory.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/Proxied.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxiedSerializer.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyManager.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyObjectMapper.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/RequestHandler.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/utils/QxUrlRewriteFilter.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/properties/TestProperties.java trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/simple/TestBootstrap.java Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/client/demoapp/source/class/demoapp/Application.js =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/client/demoapp/source/class/demoapp/Application.js 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/client/demoapp/source/class/demoapp/Application.js 2012-02-02 17:19:06 UTC (rev 21685) @@ -136,6 +136,8 @@ qx.core.Assert.assertEquals(numCalls + 1, manager.getNumberOfCalls()); qx.core.Assert.assertEquals("MyOnDemandString", tp.getOnDemandString()); qx.core.Assert.assertEquals(numCalls + 1, manager.getNumberOfCalls()); + qx.core.Assert.assertEquals("MyOnDemandPreload", tp.getOnDemandPreload()); + qx.core.Assert.assertEquals(numCalls + 1, manager.getNumberOfCalls()); tp.setOnDemandString("Hello World"); qx.core.Assert.assertEquals(numChangeDemandString, 1); Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/json/JsonSerialiserFactory.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/json/JsonSerialiserFactory.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/json/JsonSerialiserFactory.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -30,7 +30,6 @@ import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; -import java.util.Iterator; import org.codehaus.jackson.JsonGenerator; import org.codehaus.jackson.JsonProcessingException; @@ -38,6 +37,8 @@ import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.JsonSerializer; import org.codehaus.jackson.map.SerializationConfig; +import org.codehaus.jackson.map.SerializerFactory; +import org.codehaus.jackson.map.SerializerFactory.Config; import org.codehaus.jackson.map.SerializerProvider; import org.codehaus.jackson.map.ser.BeanSerializerFactory; import org.codehaus.jackson.type.JavaType; @@ -46,7 +47,7 @@ private static final SimpleDateFormat DF = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); - public static final JsonSerialiserFactory INSTANCE = new JsonSerialiserFactory(); + public static final JsonSerialiserFactory INSTANCE = new JsonSerialiserFactory(null); private static final JsonSerializer SER_DATE = new JsonSerializer<Date>() { @@ -76,58 +77,6 @@ } }; - private static final ThreadLocal<Integer> s_recursion = new ThreadLocal<Integer>(); - private static final JsonSerializer SER_ITERABLE = new JsonSerializer<Iterable>() { - - /* (non-Javadoc) - * @see org.codehaus.jackson.map.JsonSerializer#serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider) - */ - @Override - public void serialize(Iterable iterable, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - if (iterable == null) - jgen.writeNull(); - else { - jgen.writeStartArray(); - for (Object obj : iterable) - if (obj == null) - jgen.writeNull(); - else { - Integer rec = s_recursion.get(); - if (rec == null) - s_recursion.set(1); - else { - s_recursion.set(rec + 1); - } - jgen.writeObject(obj); - } - jgen.writeEndArray(); - } - } - }; - - private static final JsonSerializer SER_ITERATOR = new JsonSerializer<Iterator>() { - - /* (non-Javadoc) - * @see org.codehaus.jackson.map.JsonSerializer#serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider) - */ - @Override - public void serialize(Iterator iter, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - if (iter == null) - jgen.writeNull(); - else { - jgen.writeStartArray(); - while (iter.hasNext()) { - Object obj = iter.next(); - if (obj == null) - jgen.writeNull(); - else - jgen.writeObject(obj); - } - jgen.writeEndArray(); - } - } - }; - /* (non-Javadoc) * @see org.codehaus.jackson.map.ser.BeanSerializerFactory#createSerializer(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty) */ @@ -139,16 +88,27 @@ return SER_DATE; if (origType.isEnumType()) return SER_ENUM; - /* - if (Iterator.class.isAssignableFrom(origType.getRawClass())) - return SER_ITERATOR; - if (Iterable.class.isAssignableFrom(origType.getRawClass())) - return SER_ITERABLE; - */ return super.createSerializer(config, origType, property); } + public JsonSerialiserFactory(Config config) { + super(config); + } + + /* (non-Javadoc) + * @see org.codehaus.jackson.map.ser.BeanSerializerFactory#withConfig(org.codehaus.jackson.map.SerializerFactory.Config) + */ + @Override + public SerializerFactory withConfig(Config config) { + if (getClass() != JsonSerialiserFactory.class) { + throw new IllegalStateException("Subtype of CustomSerializerFactory ("+getClass().getName() + +") has not properly overridden method 'withAdditionalSerializers': can not instantiate subtype with " + +"additional serializer definitions"); + } + return new JsonSerialiserFactory(config); + } + private static String enumToCamelCase(Enum e) { if (e == null) return null; Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/Proxied.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/Proxied.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/Proxied.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -38,8 +38,10 @@ * @author John Spackman * */ +/* @JsonSerialize(using=ProxiedSerializer.class) @JsonDeserialize(using=ProxiedDeserializer.class) +*/ public interface Proxied { } Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxiedSerializer.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxiedSerializer.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxiedSerializer.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -29,6 +29,7 @@ import java.io.IOException; +import org.apache.log4j.Logger; import org.codehaus.jackson.JsonGenerator; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.JsonSerializer; @@ -40,18 +41,29 @@ * */ public class ProxiedSerializer extends JsonSerializer<Proxied> { + + private static final Logger log = Logger.getLogger(ProxiedSerializer.class); /* (non-Javadoc) * @see org.codehaus.jackson.map.JsonSerializer#serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider) */ @Override public void serialize(Proxied value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - ProxySessionTracker tracker = ProxyManager.getTracker(); - Object obj = tracker.getProxy(value); - if (obj == null) + if (value == null) jgen.writeNull(); - else - jgen.writeObject(obj); + else { + ProxySessionTracker tracker = ProxyManager.getTracker(); + if (tracker == null) { + log.fatal("No tracker when trying to write object " + value); + jgen.writeNull(); + } else { + Object obj = tracker.getProxy(value); + if (obj == null) + jgen.writeNull(); + else + jgen.writeObject(obj); + } + } } } Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyManager.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyManager.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyManager.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -252,7 +252,7 @@ ProxyType type = ProxyTypeManager.INSTANCE.getProxyType(keyObject.getClass()); ProxyProperty property = getProperty(type, propertyName); if (property == null) { - log.warn("Cannot find a property called " + propertyName); + log.warn("Cannot find a property called " + propertyName + " in " + keyObject); return; } if (!tracker.doesClientHaveObject(keyObject)) @@ -266,6 +266,26 @@ } } + public static void preloadProperty(Proxied keyObject, String propertyName, Object value) { + ProxySessionTracker tracker = getTracker(); + if (tracker == null) + return; + CommandQueue queue = tracker.getQueue(); + /* can't do this because we don't want to stop server events firing + RequestHandler handler = tracker.getRequestHandler(); + if (handler != null && handler.isSettingProperty(keyObject, propertyName)) + return;*/ + ProxyType type = ProxyTypeManager.INSTANCE.getProxyType(keyObject.getClass()); + ProxyProperty property = getProperty(type, propertyName); + if (property == null) { + log.warn("Cannot find a property called " + propertyName + " in " + keyObject); + return; + } + if (!property.isOnDemand()) + return; + queue.queueCommand(CommandId.CommandType.SET_VALUE, keyObject, propertyName, property.serialize(keyObject, value)); + } + /** * Helper static method to register that an on-demand property has changed and it's value should be * expired on the client, so that the next attempt to access it causes a refresh @@ -289,7 +309,7 @@ ProxyType type = ProxyTypeManager.INSTANCE.getProxyType(keyObject.getClass()); ProxyProperty property = getProperty(type, propertyName); if (property == null) { - log.warn("Cannot find a property called " + propertyName); + log.warn("Cannot find a property called " + propertyName + " in " + keyObject); return; } if (property.isOnDemand() && tracker.doesClientHaveValue(keyObject, property)) Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyObjectMapper.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyObjectMapper.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/ProxyObjectMapper.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -29,8 +29,11 @@ import org.apache.log4j.Logger; import org.codehaus.jackson.JsonGenerator; +import org.codehaus.jackson.Version; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; +import org.codehaus.jackson.map.module.SimpleModule; + import com.zenesis.qx.json.JsonSerialiserFactory; /** @@ -58,6 +61,12 @@ //setQuoteFieldNames(false); setIndent(indent); configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS, false); + configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false); + + SimpleModule module = new SimpleModule("ProxyObjectMapper", Version.unknownVersion()); + module.addSerializer(Proxied.class, new ProxiedSerializer()); + module.addDeserializer(Proxied.class, new ProxiedDeserializer()); + registerModule(module); } /** Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/RequestHandler.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/RequestHandler.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/remote/RequestHandler.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -433,8 +433,12 @@ String action = getFieldValue(jp, "type", String.class); Integer start = null; Integer end = null; - Object[] items = null; + // NOTE: items is an Array!! But because it may be an array of primitive types, we have + // to use java.lang.reflect.Array to access members because we cannot cast arrays of + // primitives to Object[] + Object items = null; + if (!action.equals("replaceAll")) { start = getFieldValue(jp, "start", Integer.class); end = getFieldValue(jp, "end", Integer.class); @@ -452,13 +456,14 @@ items = readArray(jp, prop.getPropertyClass().getJavaType()); } + int itemsLength = Array.getLength(items); // Quick logging if (log.isInfoEnabled()) { String str = ""; if (items != null) - for (int i = 0; i < items.length; i++) - str += ", " + items[i]; + for (int i = 0; i < itemsLength; i++) + str += ", " + Array.get(items, i); log.info("edit-array: property=" + prop + ", type=" + action + ", start=" + start + ", end=" + end + str); } @@ -466,8 +471,8 @@ if (prop.getPropertyClass().isCollection()) { Collection list = (Collection)prop.getValue(serverObject); list.clear(); - for (Object obj : items) - list.add(obj); + for (int i = 0; i < itemsLength; i++) + list.add(Array.get(items, i)); } else { prop.setValue(serverObject, items); } @@ -719,13 +724,19 @@ Class type = null; if (types != null && paramIndex < types.length) type = types[paramIndex]; - if (type != null && Proxied.class.isAssignableFrom(type)) { + + if (type != null && type.isArray()) { + Object obj = readArray(jp, type.getComponentType()); + result.add(obj); + + } else if (type != null && Proxied.class.isAssignableFrom(type)) { Integer id = jp.readValueAs(Integer.class); if (id != null) { Proxied obj = getProxied(id); result.add(obj); } else result.add(null); + } else { Object obj = jp.readValueAs(type != null ? type : Object.class); result.add(obj); @@ -735,16 +746,18 @@ } /** - * Reads an array from JSON, where each value is of the class clazz + * Reads an array from JSON, where each value is of the class clazz. Note that while the result + * is an array, you cannot assume that it is an array of Object, or use generics because generics + * are always Objects - this is because arrays of primitive types are not arrays of Objects * @param jp * @param clazz * @return * @throws IOException */ - private <T> T[] readArray(JsonParser jp, Class<T> clazz) throws IOException { + private Object readArray(JsonParser jp, Class clazz) throws IOException { boolean isProxyClass = Proxied.class.isAssignableFrom(clazz); ArrayList result = new ArrayList(); - for (int paramIndex = 0; jp.nextToken() != JsonToken.END_ARRAY; paramIndex++) { + for (; jp.nextToken() != JsonToken.END_ARRAY;) { if (isProxyClass) { Integer id = jp.readValueAs(Integer.class); if (id != null) { @@ -759,7 +772,12 @@ result.add(obj); } } - return (T[])result.toArray((T[])Array.newInstance(clazz, result.size())); + + Object arr = Array.newInstance(clazz, result.size()); + for (int i = 0; i < result.size(); i++) + Array.set(arr, i, result.get(i)); + return arr; + //return result.toArray(Array.newInstance(clazz, result.size())); } /** Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/utils/QxUrlRewriteFilter.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/utils/QxUrlRewriteFilter.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/java/com/zenesis/qx/utils/QxUrlRewriteFilter.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -1,5 +1,4 @@ -/** - * ************************************************************************ +/* ************************************************************************ * * server-objects - a contrib to the Qooxdoo project that makes server * and client objects operate seamlessly; like Qooxdoo, server objects @@ -23,7 +22,7 @@ * Authors: * * John Spackman (joh...@ze...) * - * ************************************************************************ + * */ package com.zenesis.qx.utils; Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/properties/TestProperties.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/properties/TestProperties.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/properties/TestProperties.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -29,6 +29,7 @@ import com.zenesis.qx.event.EventManager; import com.zenesis.qx.remote.ProxyManager; +import com.zenesis.qx.remote.annotations.Property; public class TestProperties implements ITestProperties { @@ -39,6 +40,9 @@ private String watchedString; private int triggers = 0; + @Property(onDemand=true) + private String onDemandPreload = "MyOnDemandPreload"; + @Override public String getImmediate() { return immediate; @@ -67,10 +71,24 @@ } @Override - public void setOnDemandString(String value) { - this.onDemandString = value; + public void setOnDemandString(String onDemandString) { + this.onDemandString = ProxyManager.changeProperty(this, "onDemandString", onDemandString, onDemandString); } + /** + * @return the onDemandPreload + */ + public String getOnDemandPreload() { + return onDemandPreload; + } + + /** + * @param onDemandPreload the onDemandPreload to set + */ + public void setOnDemandPreload(String onDemandPreload) { + this.onDemandPreload = ProxyManager.changeProperty(this, "onDemandPreload", onDemandPreload, onDemandPreload); + } + @Override public String getReadOnlyString() { return "read-only"; Modified: trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/simple/TestBootstrap.java =================================================================== --- trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/simple/TestBootstrap.java 2012-01-31 10:47:13 UTC (rev 21684) +++ trunk/qooxdoo-contrib/ServerObjects/trunk/server/src/test/com/zenesis/qx/remote/test/simple/TestBootstrap.java 2012-02-02 17:19:06 UTC (rev 21685) @@ -30,6 +30,7 @@ import java.util.Calendar; import java.util.Date; +import com.zenesis.qx.remote.ProxyManager; import com.zenesis.qx.remote.annotations.Method; import com.zenesis.qx.remote.test.properties.ITestArrays; import com.zenesis.qx.remote.test.properties.ITestExceptions; @@ -59,6 +60,7 @@ @Override public ITestProperties getTestProperties() { + ProxyManager.preloadProperty(testProperties, "onDemandPreload", testProperties.getOnDemandPreload()); return testProperties; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-01-31 10:47:23
|
Revision: 21684 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21684&view=rev Author: d_wagner Date: 2012-01-31 10:47:13 +0000 (Tue, 31 Jan 2012) Log Message: ----------- minor Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js 2012-01-31 10:45:07 UTC (rev 21683) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js 2012-01-31 10:47:13 UTC (rev 21684) @@ -1,4 +1,5 @@ var baseConf = { + 'autName' : 'TestRunner', 'debug' : true }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-01-31 10:45:18
|
Revision: 21683 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21683&view=rev Author: d_wagner Date: 2012-01-31 10:45:07 +0000 (Tue, 31 Jan 2012) Log Message: ----------- Updated test after application was modified Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js 2012-01-31 10:10:35 UTC (rev 21682) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js 2012-01-31 10:45:07 UTC (rev 21683) @@ -35,11 +35,17 @@ } // Add a function that finds tags with the given content - var hasElementWithContent = function(tagName, content) { + var hasElementWithContent = function(tagNames, content) { var found = false; - var elements = selenium.browserbot.getCurrentWindow().document.getElementsByTagName(tagName); - for (var i=0,l=elements.length; i<l; i++) { - if (elements[i].innerHTML.indexOf(content) == 0) { + var elements = []; + for (var i=0,l=tagNames.length; i<l; i++) { + var tags = selenium.browserbot.getCurrentWindow().document.getElementsByTagName(tagNames[i]); + for (var j=0,m=tags.length; j<m; j++) { + elements.push(tags[j]); + } + } + for (var x=0,y=elements.length; x<y; x++) { + if (elements[x].innerHTML.indexOf(content) == 0) { found = true; } } @@ -148,7 +154,7 @@ this.qxClick('qxh=app:viewer/qx.ui.toolbar.ToolBar/child[2]/[@label="' + buttonLabel + '"]', "", "Clicking " + buttonLabel); Packages.java.lang.Thread.sleep(3000); } - var foundNewMethod = this.getEval(selWin + ".qx.Simulation.hasElementWithContent('a', '" + newMethodName + "');", "Checking for " + buttonLabel + " documentation"); + var foundNewMethod = this.getEval(selWin + ".qx.Simulation.hasElementWithContent(['a', 'span'], '" + newMethodName + "');", "Checking for " + buttonLabel + " documentation"); if (String(foundNewMethod) != "true") { this.log("Documentation for " + newMethodName + " not found, possible problem with " + buttonLabel, "error"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-01-31 10:10:46
|
Revision: 21682 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21682&view=rev Author: d_wagner Date: 2012-01-31 10:10:35 +0000 (Tue, 31 Jan 2012) Log Message: ----------- Updated test after application was modified Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/1.6/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js Modified: trunk/qooxdoo-contrib/Simulator/1.6/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/1.6/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js 2012-01-26 09:16:19 UTC (rev 21681) +++ trunk/qooxdoo-contrib/Simulator/1.6/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js 2012-01-31 10:10:35 UTC (rev 21682) @@ -29,6 +29,9 @@ if (!sessionStarted) { return; } + + mySim.__sel.click("//a[contains(text(), 'Launch Configuration Editor')]"); + mySim.setupEnvironment(); var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, "Waiting for qooxdoo application"); Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js 2012-01-26 09:16:19 UTC (rev 21681) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/featureconfigeditor/test_featureconfigeditor.js 2012-01-31 10:10:35 UTC (rev 21682) @@ -29,6 +29,9 @@ if (!sessionStarted) { return; } + + mySim.__sel.click("//a[contains(text(), 'Launch Configuration Editor')]"); + mySim.setupEnvironment(); var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, "Waiting for qooxdoo application"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-01-26 09:16:31
|
Revision: 21681 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21681&view=rev Author: d_wagner Date: 2012-01-26 09:16:19 +0000 (Thu, 26 Jan 2012) Log Message: ----------- Updated tests after changes to API Viewer Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js 2012-01-20 18:48:43 UTC (rev 21680) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer.js 2012-01-26 09:16:19 UTC (rev 21681) @@ -34,19 +34,19 @@ this.checkUrlParameter(); } - // Add a function that finds span tags with the given content - var getSpanByContent = function(content) { + // Add a function that finds tags with the given content + var hasElementWithContent = function(tagName, content) { var found = false; - var spans = selenium.browserbot.getCurrentWindow().document.getElementsByTagName("span"); - for (var i=0,l=spans.length; i<l; i++) { - if (spans[i].innerHTML.indexOf(content) == 0) { + var elements = selenium.browserbot.getCurrentWindow().document.getElementsByTagName(tagName); + for (var i=0,l=elements.length; i<l; i++) { + if (elements[i].innerHTML.indexOf(content) == 0) { found = true; } } return found; }; - this.addOwnFunction("getSpanByContent", getSpanByContent); + this.addOwnFunction("hasElementWithContent", hasElementWithContent); var getInnerHtml = function(locator) { var widget = selenium.getQxWidgetByLocator(locator); @@ -112,7 +112,7 @@ // Check if the HTML embed's content has changed. var classViewerHtml = this.checkViewerContent(); if (!(classViewerHtml.indexOf("qx.ui.window") > 0)) { - this.log("Unexpected class viewer HTML content", "error"); + this.log("checkSearch: Unexpected class viewer HTML content", "error"); } else { this.log("Successfully opened search result", "info"); @@ -148,7 +148,7 @@ this.qxClick('qxh=app:viewer/qx.ui.toolbar.ToolBar/child[2]/[@label="' + buttonLabel + '"]', "", "Clicking " + buttonLabel); Packages.java.lang.Thread.sleep(3000); } - var foundNewMethod = this.getEval(selWin + ".qx.Simulation.getSpanByContent('" + newMethodName + "');", "Checking for " + buttonLabel + " documentation"); + var foundNewMethod = this.getEval(selWin + ".qx.Simulation.hasElementWithContent('a', '" + newMethodName + "');", "Checking for " + buttonLabel + " documentation"); if (String(foundNewMethod) != "true") { this.log("Documentation for " + newMethodName + " not found, possible problem with " + buttonLabel, "error"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |