qooxdoo-commit Mailing List for qooxdoo (Page 1409)
Brought to you by:
ecker,
martinwittemann
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(453) |
Feb
(800) |
Mar
(247) |
Apr
(324) |
May
(172) |
Jun
(145) |
Jul
(265) |
Aug
(447) |
Sep
(271) |
Oct
(312) |
Nov
(327) |
Dec
(472) |
| 2007 |
Jan
(493) |
Feb
(631) |
Mar
(565) |
Apr
(469) |
May
(757) |
Jun
(460) |
Jul
(440) |
Aug
(411) |
Sep
(813) |
Oct
(339) |
Nov
(112) |
Dec
(215) |
| 2008 |
Jan
(423) |
Feb
(671) |
Mar
(578) |
Apr
(566) |
May
(498) |
Jun
(411) |
Jul
(845) |
Aug
(1208) |
Sep
(176) |
Oct
(144) |
Nov
(216) |
Dec
(353) |
| 2009 |
Jan
(363) |
Feb
(700) |
Mar
(416) |
Apr
(362) |
May
(292) |
Jun
(238) |
Jul
(243) |
Aug
(216) |
Sep
(287) |
Oct
(304) |
Nov
(300) |
Dec
(416) |
| 2010 |
Jan
(200) |
Feb
(200) |
Mar
(183) |
Apr
(259) |
May
(217) |
Jun
(241) |
Jul
(320) |
Aug
(330) |
Sep
(209) |
Oct
(217) |
Nov
(460) |
Dec
(392) |
| 2011 |
Jan
(338) |
Feb
(465) |
Mar
(1257) |
Apr
(433) |
May
(505) |
Jun
(417) |
Jul
(438) |
Aug
(241) |
Sep
(258) |
Oct
(223) |
Nov
(224) |
Dec
(172) |
| 2012 |
Jan
(151) |
Feb
(119) |
Mar
(220) |
Apr
(182) |
May
(236) |
Jun
(264) |
Jul
(188) |
Aug
(145) |
Sep
(186) |
Oct
(183) |
Nov
(243) |
Dec
(126) |
| 2013 |
Jan
(133) |
Feb
(165) |
Mar
(122) |
Apr
(116) |
May
(177) |
Jun
(177) |
Jul
(290) |
Aug
(150) |
Sep
(165) |
Oct
(168) |
Nov
(252) |
Dec
(152) |
| 2014 |
Jan
(109) |
Feb
(150) |
Mar
(135) |
Apr
(186) |
May
(235) |
Jun
(181) |
Jul
(193) |
Aug
(117) |
Sep
(118) |
Oct
(194) |
Nov
(207) |
Dec
(261) |
| 2015 |
Jan
(138) |
Feb
(218) |
Mar
(180) |
Apr
(141) |
May
(114) |
Jun
(24) |
Jul
(22) |
Aug
(14) |
Sep
(22) |
Oct
(11) |
Nov
(7) |
Dec
(10) |
| 2016 |
Jan
(1) |
Feb
(31) |
Mar
(13) |
Apr
(30) |
May
(34) |
Jun
(25) |
Jul
(16) |
Aug
(14) |
Sep
(21) |
Oct
(20) |
Nov
(6) |
Dec
|
|
From: Sebastian W. <wp...@us...> - 2006-02-12 12:39:45
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11231 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.69 retrieving revision 1.1.2.70 diff -u -d -r1.1.2.69 -r1.1.2.70 --- TODO 11 Feb 2006 14:02:09 -0000 1.1.2.69 +++ TODO 12 Feb 2006 12:39:31 -0000 1.1.2.70 @@ -1,14 +1,11 @@ h4. For next release -* Fix global cursor reset in IE -* Try to combine source files to detect if this also leaks IE like the current public version. * Make API nice, clean and consistent: * Discuss property names: "html", "text" and "content" for QxText, QxHtml and QxLabel. * isDisplayed vs. isDisplayable (cleanups naming) * Rename getNewValue of QxDataEvent to getData (which matches the classname style) * Add support for user defined aliases for image paths. * Support for images from custom path (resource like: application/...) -* Check this for qooxdoo: http://hartshorne.ca/2006/01/23/javascript_cursor_position/ h4. AJAX Layer @@ -39,6 +36,8 @@ h4. Later +* Check this for qooxdoo: http://hartshorne.ca/2006/01/23/javascript_cursor_position/ + * QxColorObject has a seperate caching algorithm inside the constructor, which is a bit inefficient as it returns from the constructor call (like the old singletons did). * QxBorderObject and QxFontObject's caching is implemented inside the *Cache methods which is IMHO the better way. But this makes direct creations of QxBorderObject or QxFontObject inefficient as then each identical border or font creates its own object. |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 12:39:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9686/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Fixed global cursor remove Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.82 retrieving revision 1.7.2.83 diff -u -d -r1.7.2.82 -r1.7.2.83 --- QxClientDocument.js 12 Feb 2006 10:56:41 -0000 1.7.2.82 +++ QxClientDocument.js 12 Feb 2006 12:38:51 -0000 1.7.2.83 @@ -245,6 +245,9 @@ return QxDom.removeCssRule(vSheet, vSelector); }; +proto.removeAllCssRules = function(vSheet) { + return QxDom.removeAllCssRules(vSheet); +}; @@ -279,7 +282,10 @@ this._globalCursorStyleSheet = this.createStyleElement(); }; - this.removeCssRule(this._globalCursorStyleSheet, QxConst.CORE_STAR); + // Selector based remove does not work with the "*" selector in mshtml + // this.removeCssRule(this._globalCursorStyleSheet, QxConst.CORE_STAR); + + this.removeAllCssRules(this._globalCursorStyleSheet); if (propValue) { this.addCssRule(this._globalCursorStyleSheet, QxConst.CORE_STAR, "cursor:" + propValue + " !important"); |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 12:38:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9686/source/script/core Modified Files: Tag: renderer QxDomStyleSheet.js Log Message: Fixed global cursor remove Index: QxDomStyleSheet.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxDomStyleSheet.js,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- QxDomStyleSheet.js 8 Feb 2006 13:18:16 -0000 1.1.2.2 +++ QxDomStyleSheet.js 12 Feb 2006 12:38:51 -0000 1.1.2.3 @@ -60,6 +60,16 @@ }; }; }; + + QxDom.removeAllCssRules = function(vSheet, vSelector) + { + vRules = vSheet.rules; + vLength = vRules.length; + + for (i=vLength-1; i>=0; i--) { + vSheet.removeRule(i); + }; + }; } else { @@ -93,4 +103,14 @@ }; }; }; + + QxDom.removeAllCssRules = function(vSheet, vSelector) + { + vRules = vSheet.cssRules; + vLength = vRules.length; + + for (i=vLength-1; i>=0; i--) { + vSheet.removeRule(i); + }; + }; }; \ No newline at end of file |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 11:17:23
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23631/source/script/core Modified Files: Tag: renderer QxUtil.js Log Message: Fixed for gecko Index: QxUtil.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxUtil.js,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -u -d -r1.1.2.18 -r1.1.2.19 --- QxUtil.js 12 Feb 2006 10:57:11 -0000 1.1.2.18 +++ QxUtil.js 12 Feb 2006 11:17:14 -0000 1.1.2.19 @@ -320,19 +320,19 @@ }; QxUtil.isValidNode = function(v) { - return typeof v === QxConst.TYPEOF_OBJECT && v !== null && typeof v.constructor === QxConst.TYPEOF_UNDEFINED; + return typeof v === QxConst.TYPEOF_OBJECT && v !== null; }; QxUtil.isInvalidNode = function(v) { - return typeof v !== QxConst.TYPEOF_OBJECT || v === null || typeof v.constructor !== QxConst.TYPEOF_UNDEFINED; + return typeof v !== QxConst.TYPEOF_OBJECT || v === null; }; QxUtil.isValidElement = function(v) { - return typeof v === QxConst.TYPEOF_OBJECT && v !== null && typeof v.constructor === QxConst.TYPEOF_UNDEFINED && v.nodeType === 1; + return typeof v === QxConst.TYPEOF_OBJECT && v !== null || v.nodeType !== 1; }; QxUtil.isInvalidElement = function(v) { - return typeof v !== QxConst.TYPEOF_OBJECT || v === null || typeof v.constructor !== QxConst.TYPEOF_UNDEFINED || v.nodeType !== 1; + return typeof v !== QxConst.TYPEOF_OBJECT || v === null || v.nodeType !== 1; }; QxUtil.isValidFunction = function(v) { |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 11:02:04
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18765/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Improved element handling, fixed +2MB mshtml leak Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.73 retrieving revision 1.1.2.74 diff -u -d -r1.1.2.73 -r1.1.2.74 --- QxWidget.js 9 Feb 2006 13:46:08 -0000 1.1.2.73 +++ QxWidget.js 12 Feb 2006 11:01:53 -0000 1.1.2.74 @@ -1085,16 +1085,13 @@ proto._modifyElement = function(propValue, propOldValue, propData) { - this._isCreated = QxUtil.isValidObject(propValue); + this._isCreated = QxUtil.isValidElement(propValue); if (propOldValue) { // reset reference to widget instance propOldValue._QxWidget = null; - // reset id and name - propOldValue.id = propOldValue.name = QxConst.CORE_EMPTY; - // remove events this._removeInlineEvents(propOldValue); }; @@ -4813,14 +4810,18 @@ return; }; - if (this._isCreated) + var vElement = this.getElement(); + + if (vElement) { - this._isCreated = false; + this._removeInlineEvents(vElement); - this._removeInlineEvents(this.getElement()); + delete this._isCreated; - this.getElement()._QxWidget = null; - this.forceElement(null); + vElement._QxWidget = null; + + this._element = null; + this._style = null; }; this._inlineEvents = null; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 11:00:04
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18004/source/html/test Modified Files: Tag: renderer Leak_1.html Log Message: Updated Index: Leak_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Leak_1.html,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- Leak_1.html 8 Feb 2006 11:28:40 -0000 1.1.2.3 +++ Leak_1.html 12 Feb 2006 10:59:55 -0000 1.1.2.4 @@ -19,12 +19,31 @@ { // Does not leak // ***** + + // var i1 = new QxImagePreloader(QxImageManager.buildURI("icons/48/hardwareinfo.png")); + + + // Leaks: +2MB + // ***** + + var w1 = new QxTerminator; + this.add(w1); + + + + + + // Does not leak + // ***** /* - var i1 = new QxImagePreloader("icons/48/hardwareinfo.png"); + var w1 = new QxTerminator; + w1.setTop(48); + w1.setLeft(20); + this.add(w1); */ - // Leaks +1-2MB + // Leaks +2MB // ***** /* var i1 = new QxImage("icons/48/hardwareinfo.png"); @@ -38,12 +57,9 @@ */ - // Leaks +0.5MB - // ***** - /* - var w1 = new QxTerminator or QxCanvasLayout; - this.add(w1); - */ + + + //var t1 = new QxTarget; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 10:57:19
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17334/source/script/core Modified Files: Tag: renderer QxUtil.js Log Message: Added new node and element detection methods Index: QxUtil.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxUtil.js,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -d -r1.1.2.17 -r1.1.2.18 --- QxUtil.js 30 Jan 2006 13:36:26 -0000 1.1.2.17 +++ QxUtil.js 12 Feb 2006 10:57:11 -0000 1.1.2.18 @@ -319,6 +319,22 @@ return typeof v !== QxConst.TYPEOF_OBJECT || v === null || v instanceof Array; }; +QxUtil.isValidNode = function(v) { + return typeof v === QxConst.TYPEOF_OBJECT && v !== null && typeof v.constructor === QxConst.TYPEOF_UNDEFINED; +}; + +QxUtil.isInvalidNode = function(v) { + return typeof v !== QxConst.TYPEOF_OBJECT || v === null || typeof v.constructor !== QxConst.TYPEOF_UNDEFINED; +}; + +QxUtil.isValidElement = function(v) { + return typeof v === QxConst.TYPEOF_OBJECT && v !== null && typeof v.constructor === QxConst.TYPEOF_UNDEFINED && v.nodeType === 1; +}; + +QxUtil.isInvalidElement = function(v) { + return typeof v !== QxConst.TYPEOF_OBJECT || v === null || typeof v.constructor !== QxConst.TYPEOF_UNDEFINED || v.nodeType !== 1; +}; + QxUtil.isValidFunction = function(v) { return typeof v === QxConst.TYPEOF_FUNCTION; }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 10:56:48
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17122/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Cleaned up Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.81 retrieving revision 1.7.2.82 diff -u -d -r1.7.2.81 -r1.7.2.82 --- QxClientDocument.js 12 Feb 2006 08:52:23 -0000 1.7.2.81 +++ QxClientDocument.js 12 Feb 2006 10:56:41 -0000 1.7.2.82 @@ -101,15 +101,17 @@ proto._modifyElement = function(propValue, propOldValue, propData) { + this._isCreated = QxUtil.isValidElement(propValue); + if (propOldValue) { - propOldValue._QxObject = null; + propOldValue._QxWidget = null; }; if (propValue) { // add reference to widget instance - //propValue._QxObject = this; + propValue._QxWidget = this; // link element and style reference this._element = propValue; @@ -129,14 +131,11 @@ proto.getDocumentElement = function() { return this._document; }; proto.getEventManager = function() { return this.getWindow().getEventManager(); }; -proto.isCreated = proto._createElement = QxUtil.returnTrue; proto.getParent = proto.getToolTip = QxUtil.returnNull; proto.isMaterialized = proto.isSeeable = QxUtil.returnTrue; -proto._isCreated = true; proto._isDisplayable = true; proto._hasParent = false; -proto._isDisplayable = true; proto._initialLayoutDone = true; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 10:56:22
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17012/source/script/widgets Modified Files: Tag: renderer QxImage.js Log Message: Minor leak improvement for filters Index: QxImage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxImage.js,v retrieving revision 1.8.2.87 retrieving revision 1.8.2.88 diff -u -d -r1.8.2.87 -r1.8.2.88 --- QxImage.js 2 Feb 2006 16:51:04 -0000 1.8.2.87 +++ QxImage.js 12 Feb 2006 10:56:14 -0000 1.8.2.88 @@ -565,7 +565,12 @@ this.forcePreloader(null); }; - this._image = null; + if (this._image) + { + // Remove leaking filter attribute before leaving page + this._image.style.filter = QxConst.CORE_EMPTY; + this._image = null; + }; QxImageManager.remove(this); |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 09:45:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29770/source/script/core Modified Files: Tag: renderer QxClient.js Log Message: Minor addition Index: QxClient.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxClient.js,v retrieving revision 1.1.2.22 retrieving revision 1.1.2.23 diff -u -d -r1.1.2.22 -r1.1.2.23 --- QxClient.js 12 Feb 2006 09:40:56 -0000 1.1.2.22 +++ QxClient.js 12 Feb 2006 09:45:30 -0000 1.1.2.23 @@ -70,6 +70,7 @@ } else if (window.controllers && typeof vBrowserProduct===QxConst.TYPEOF_STRING && vBrowserProduct==="Gecko" && /rv\:([^\);]+)(\)|;)/.test(vBrowserUserAgent)) { + // http://www.mozilla.org/docs/dom/domref/dom_window_ref13.html vEngine = "gecko"; vEngineVersion = RegExp.$1; } |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 09:41:07
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28603/source/script/core Modified Files: Tag: renderer QxClient.js Log Message: Added window.controllers, this is the xul interface in mozilla Index: QxClient.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxClient.js,v retrieving revision 1.1.2.21 retrieving revision 1.1.2.22 diff -u -d -r1.1.2.21 -r1.1.2.22 --- QxClient.js 6 Feb 2006 07:40:24 -0000 1.1.2.21 +++ QxClient.js 12 Feb 2006 09:40:56 -0000 1.1.2.22 @@ -68,7 +68,7 @@ { vEngine = "khtml"; } - else if (typeof vBrowserProduct===QxConst.TYPEOF_STRING && vBrowserProduct==="Gecko" && /rv\:([^\);]+)(\)|;)/.test(vBrowserUserAgent)) + else if (window.controllers && typeof vBrowserProduct===QxConst.TYPEOF_STRING && vBrowserProduct==="Gecko" && /rv\:([^\);]+)(\)|;)/.test(vBrowserUserAgent)) { vEngine = "gecko"; vEngineVersion = RegExp.$1; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 08:53:27
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13713/tools Modified Files: Tag: renderer patchtest.sh Log Message: Improved speed for local sync Index: patchtest.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/patchtest.sh,v retrieving revision 1.5.2.10 retrieving revision 1.5.2.11 diff -u -d -r1.5.2.10 -r1.5.2.11 --- patchtest.sh 3 Feb 2006 10:18:36 -0000 1.5.2.10 +++ patchtest.sh 12 Feb 2006 08:53:19 -0000 1.5.2.11 @@ -4,13 +4,13 @@ echo ">>> Syncing files..." mkdir -p public/html -rsync -avc --exclude=CVS source/html public +rsync -av --exclude=CVS source/html public mkdir -p public/images -rsync -avc --exclude=CVS source/images public/ +rsync -av --exclude=CVS source/images public/ mkdir -p public/style -rsync -avc --exclude=CVS --exclude=*.css source/style public/ +rsync -av --exclude=CVS --exclude=*.css source/style public/ echo ">>> Patching files..." prevfile="" |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 08:52:31
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13425/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Allows to send null to setElement and deconnect binding then Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.80 retrieving revision 1.7.2.81 diff -u -d -r1.7.2.80 -r1.7.2.81 --- QxClientDocument.js 8 Feb 2006 14:29:59 -0000 1.7.2.80 +++ QxClientDocument.js 12 Feb 2006 08:52:23 -0000 1.7.2.81 @@ -101,16 +101,25 @@ proto._modifyElement = function(propValue, propOldValue, propData) { - if (!propValue) { - throw new Error("QxClientDocument does not accept invalid elements!"); + if (propOldValue) + { + propOldValue._QxObject = null; }; - // add reference to widget instance - propValue._QxWidget = this; + if (propValue) + { + // add reference to widget instance + //propValue._QxObject = this; - // link element and style reference - this._element = propValue; - this._style = propValue.style; + // link element and style reference + this._element = propValue; + this._style = propValue.style; + } + else + { + this._element = null; + this._style = null; + }; return true; }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 08:51:15
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13043/source/script/managers Modified Files: Tag: renderer QxManager.js Log Message: Minor cleanup Index: QxManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxManager.js,v retrieving revision 1.1.2.13 retrieving revision 1.1.2.14 diff -u -d -r1.1.2.13 -r1.1.2.14 --- QxManager.js 22 Jan 2006 18:06:15 -0000 1.1.2.13 +++ QxManager.js 12 Feb 2006 08:51:06 -0000 1.1.2.14 @@ -83,19 +83,14 @@ return; }; - if (typeof this._objects != QxConst.TYPEOF_UNDEFINED) + if (this._objects) { - for (var i in this._objects) - { - if (typeof this._objects[i] == QxConst.TYPEOF_OBJECT) { - this._objects[i].dispose(); - }; - + for (var i in this._objects) { delete this._objects[i]; }; delete this._objects; }; - QxTarget.prototype.dispose.call(this); + return QxTarget.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-12 08:50:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12899/source/script/managers Modified Files: Tag: renderer QxEventManager.js Log Message: Minor disposer addition Index: QxEventManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxEventManager.js,v retrieving revision 1.14.2.72 retrieving revision 1.14.2.73 diff -u -d -r1.14.2.72 -r1.14.2.73 --- QxEventManager.js 9 Feb 2006 21:38:34 -0000 1.14.2.72 +++ QxEventManager.js 12 Feb 2006 08:50:16 -0000 1.14.2.73 @@ -1063,6 +1063,14 @@ this.detachEvents(); + delete this.__onmouseevent; + delete this.__onkeyevent; + delete this.__ondragevent; + delete this.__onselectevent; + delete this.__onwindowblur; + delete this.__onwindowfocus; + delete this.__onwindowresize; + this._lastMouseEventType = null; this._lastMouseDown = null; this._lastMouseEventDate = null; |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 15:36:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4685/source/script/core Modified Files: Tag: renderer QxCookie.js QxCookieStorage.js Log Message: Minor improvements Index: QxCookieStorage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxCookieStorage.js,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- QxCookieStorage.js 11 Feb 2006 15:04:58 -0000 1.1.2.3 +++ QxCookieStorage.js 11 Feb 2006 15:36:13 -0000 1.1.2.4 @@ -38,8 +38,22 @@ MAXSIZE : 4096 }; + + + + +/* +--------------------------------------------------------------------------- + USER APPLICATION METHODS +--------------------------------------------------------------------------- +*/ + QxCookieStorage.set = function(vName, vValue) { + if (!QxUtil.isValid(vValue)) { + return QxCookieStorage.del(vName); + }; + var vAll = QxCookieStorage._getAll(); vAll[vName] = vValue; this._setAll(vAll); @@ -47,6 +61,8 @@ QxCookieStorage.get = function(vName) { + var vAll = QxCookieStorage._getAll(); + var vValue = QxCookieStorage._getAll()[vName]; if (QxUtil.isValidString(vValue)) { return vValue; @@ -62,10 +78,34 @@ this._setAll(vAll); }; +QxCookieStorage.setAll = function(vHash) +{ + var vAll = QxCookieStorage._getAll(); + vAll = QxUtil.mergeWithObject(vAll, vHash); + QxCookieStorage._setAll(vAll); +}; + +QxCookieStorage.getAll = function() { + return QxCookieStorage._getAll(); +}; + +QxCookieStorage.replaceAll = function(vHash) { + QxCookieStorage._setAll(vHash); +}; + +QxCookieStorage.delAll = function() { + QxCookieStorage.replaceAll({}); +}; + +/* +--------------------------------------------------------------------------- + LOW LEVEL INTERNAL METHODS +--------------------------------------------------------------------------- +*/ QxCookieStorage._getAll = function() { @@ -138,12 +178,12 @@ QxCookieStorage._setCookie = function(vIndex, vString) { - QxDebug("QxCookieStorage", "Store: " + vIndex + " = " + vString); + // QxDebug("QxCookieStorage", "Store: " + vIndex + " = " + vString); QxCookie.set(QxCookieStorage.BASENAME + vIndex, vString); }; QxCookieStorage._delCookie = function(vIndex) { - QxDebug("QxCookieStorage", "Delete: " + vIndex); + // QxDebug("QxCookieStorage", "Delete: " + vIndex); QxCookie.del(QxCookieStorage.BASENAME + vIndex); }; Index: QxCookie.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxCookie.js,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- QxCookie.js 16 Jan 2006 16:11:55 -0000 1.1.2.4 +++ QxCookie.js 11 Feb 2006 15:36:12 -0000 1.1.2.5 @@ -38,6 +38,16 @@ STR_DELDATA : "Thu, 01-Jan-1970 00:00:01 GMT" }; + + + + +/* +--------------------------------------------------------------------------- + USER APPLICATION METHODS +--------------------------------------------------------------------------- +*/ + QxCookie.get = function(vName) { var start = document.cookie.indexOf(vName + QxConst.CORE_EQUAL); |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 15:36:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/example In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4685/source/html/example Modified Files: Tag: renderer CookieStorage_2.html Log Message: Minor improvements Index: CookieStorage_2.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/CookieStorage_2.html,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- CookieStorage_2.html 11 Feb 2006 15:04:57 -0000 1.1.2.1 +++ CookieStorage_2.html 11 Feb 2006 15:36:12 -0000 1.1.2.2 @@ -11,7 +11,7 @@ <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="demoDescription"> - <p>Tests for QxCookie API.</p> + <p>Tests for QxCookieStorage API.</p> </div> <script type="text/javascript"> @@ -46,7 +46,6 @@ { for (var i=0; i<vAll.length; i++) { var vIn = QxCookieStorage.get("fieldContent" + i); - this.debug("In: " + vIn); vAll[i].setValue(vIn); }; }); @@ -57,6 +56,10 @@ QxCookieStorage.set("fieldContent" + i, vAll[i].getValue()); }; }); + + b3.addEventListener("execute", function(e) { + QxCookieStorage.delAll(); + }); }; </script> </body> |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 15:05:12
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/example In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27176/source/html/example Added Files: Tag: renderer CookieStorage_1.html CookieStorage_2.html Log Message: Completed implementation of Cookie Storage --- NEW FILE: CookieStorage_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="demoDescription"> <p>Tests for QxCookie API.</p> </div> <script type="text/javascript"> window.application.main = function() { var f1 = new QxTextField; f1.setLocation(20, 48); this.add(f1); var b1 = new QxButton("Restore"); b1.setLocation(20, 80); this.add(b1); var b2 = new QxButton("Save"); b2.setLocation(80, 80); this.add(b2); b1.addEventListener("execute", function(e) { f1.setValue(QxCookieStorage.get("fieldContent")); }); b2.addEventListener("execute", function(e) { QxCookieStorage.set("fieldContent", f1.getValue()); }); }; </script> </body> </html> --- NEW FILE: CookieStorage_2.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="demoDescription"> <p>Tests for QxCookie API.</p> </div> <script type="text/javascript"> window.application.main = function() { var vAll = []; var vNum = 20; for (var i=0; i<vNum; i++) { var f1 = new QxTextField; f1.setLocation(20, 48+(i*22)); this.add(f1); vAll.push(f1); }; var b1 = new QxButton("Restore"); b1.setLocation(220, 48); this.add(b1); var b2 = new QxButton("Save"); b2.setLocation(280, 48); this.add(b2); var b3 = new QxButton("Clear"); b3.setLocation(340, 48); this.add(b3); b1.addEventListener("execute", function(e) { for (var i=0; i<vAll.length; i++) { var vIn = QxCookieStorage.get("fieldContent" + i); this.debug("In: " + vIn); vAll[i].setValue(vIn); }; }); b2.addEventListener("execute", function(e) { for (var i=0; i<vAll.length; i++) { QxCookieStorage.set("fieldContent" + i, vAll[i].getValue()); }; }); }; </script> </body> </html> |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 15:05:12
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27176/tools Modified Files: Tag: renderer config.sh Log Message: Completed implementation of Cookie Storage Index: config.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/config.sh,v retrieving revision 1.16.2.109 retrieving revision 1.16.2.110 diff -u -d -r1.16.2.109 -r1.16.2.110 --- config.sh 9 Feb 2006 21:32:46 -0000 1.16.2.109 +++ config.sh 11 Feb 2006 15:04:58 -0000 1.16.2.110 @@ -293,6 +293,7 @@ # Storage L="$L script/core/QxCookie" +L="$L script/core/QxCookieStorage" # Debugging L="$L script/core/QxTimeTracker" |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 15:05:11
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27176/source/script/core Modified Files: Tag: renderer QxCookieStorage.js Log Message: Completed implementation of Cookie Storage Index: QxCookieStorage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxCookieStorage.js,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- QxCookieStorage.js 9 Feb 2006 21:15:20 -0000 1.1.2.2 +++ QxCookieStorage.js 11 Feb 2006 15:04:58 -0000 1.1.2.3 @@ -40,14 +40,33 @@ QxCookieStorage.set = function(vName, vValue) { - + var vAll = QxCookieStorage._getAll(); + vAll[vName] = vValue; + this._setAll(vAll); }; QxCookieStorage.get = function(vName) { + var vValue = QxCookieStorage._getAll()[vName]; + if (QxUtil.isValidString(vValue)) { + return vValue; + }; + return QxConst.CORE_EMPTY; }; +QxCookieStorage.del = function(vName) +{ + var vAll = QxCookieStorage._getAll(); + delete vAll[vName]; + this._setAll(vAll); +}; + + + + + + QxCookieStorage._getAll = function() { var vHash = {}; @@ -59,9 +78,9 @@ if (vCookie) { vItems = vCookie.split(QxCookieStorage.ITEMSEPARATOR); - for (var i=0, l=vItems.length; i<l; i++) + for (var j=0, l=vItems.length; j<l; j++) { - vItem = vItems[i].split(QxCookieStorage.KEYVALUESEPARATOR); + vItem = vItems[j].split(QxCookieStorage.KEYVALUESEPARATOR); vHash[vItem[0]] = vItem[1]; }; }; @@ -82,32 +101,49 @@ if (vTemp.length > QxCookieStorage.MAXSIZE) { - QxDebug("Could not store value of name '" + vName + "': Maximum size of " + QxCookieStorage.MAXSIZE + "reached!"); + QxDebug("QxCookieStorage", "Could not store value of name '" + vName + "': Maximum size of " + QxCookieStorage.MAXSIZE + "reached!"); continue; }; if ((QxCookieStorage.ITEMSEPARATOR.length + vString.length + vTemp.length) > QxCookieStorage.MAXSIZE) { - QxCookieStorage._storeCookie(vIndex++, vString); + QxCookieStorage._setCookie(vIndex++, vString); - if (vIndex == QxCookieStorage.MAXCOOKIES) { - // TODO: WARNING - break; + if (vIndex == QxCookieStorage.MAXCOOKIES) + { + QxDebug("QxCookieStorage", "Failed to store cookie. Max cookie amount reached!", "error"); + return false; }; vString = vTemp; } else { + if (vString != QxConst.CORE_EMPTY) { + vString += QxCookieStorage.ITEMSEPARATOR; + }; + vString += vTemp; }; }; - //if (vString != + if (vString != QxConst.CORE_EMPTY) { + QxCookieStorage._setCookie(vIndex++, vString); + }; + + while (vIndex < QxCookieStorage.MAXCOOKIES) { + QxCookieStorage._delCookie(vIndex++); + }; }; -QxCookieStorage._storeCookie = function(vIndex, vString) +QxCookieStorage._setCookie = function(vIndex, vString) { - + QxDebug("QxCookieStorage", "Store: " + vIndex + " = " + vString); + QxCookie.set(QxCookieStorage.BASENAME + vIndex, vString); }; +QxCookieStorage._delCookie = function(vIndex) +{ + QxDebug("QxCookieStorage", "Delete: " + vIndex); + QxCookie.del(QxCookieStorage.BASENAME + vIndex); +}; |
|
From: Sebastian W. <wp...@us...> - 2006-02-11 14:02:19
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6636 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.68 retrieving revision 1.1.2.69 diff -u -d -r1.1.2.68 -r1.1.2.69 --- TODO 9 Feb 2006 18:18:18 -0000 1.1.2.68 +++ TODO 11 Feb 2006 14:02:09 -0000 1.1.2.69 @@ -21,6 +21,7 @@ ## json ## xml ## SOAP +## YAML # Implement Data Binding h4. Layouter Rework |
|
From: Sebastian W. <wp...@us...> - 2006-02-10 10:37:13
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24480 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.63 retrieving revision 1.1.2.64 diff -u -d -r1.1.2.63 -r1.1.2.64 --- CHANGELOG 9 Feb 2006 13:51:51 -0000 1.1.2.63 +++ CHANGELOG 10 Feb 2006 10:37:03 -0000 1.1.2.64 @@ -1,3 +1,53 @@ +2006-02-09 22:38 wpbasti + + * source/script/: core/QxApplication.js, + managers/QxEventManager.js: Minor fixes for dep system + +2006-02-09 22:33 wpbasti + + * tools/combine_small.sh: Added new combine tool + +2006-02-09 22:32 wpbasti + + * source/script/core/QxDomEvent.js, + source/script/core/QxDomEventRegistration.js, + source/themes/appearance/default/theme.js, tools/compileng.py, + tools/config.sh: Minor bugfixes for next generation compiler + +2006-02-09 22:15 wpbasti + + * source/script/core/QxCookieStorage.js: Fixed obvious error + +2006-02-09 21:34 wpbasti + + * source/script/managers/QxTreeSelectionManager.js: fixed tree + slection on last node + +2006-02-09 21:30 wpbasti + + * tools/: combine_source.sh, combine_source_small.sh: Improved + tools + +2006-02-09 19:18 wpbasti + + * tools/combine_source.sh: Added new source combine tool + +2006-02-09 19:18 wpbasti + + * TODO: Updated + +2006-02-09 15:07 wpbasti + + * TODO: Updated + +2006-02-09 15:03 wpbasti + + * TODO: Updated + +2006-02-09 14:51 wpbasti + + * CHANGELOG: Updated + 2006-02-09 14:46 wpbasti * source/script/: core/QxObject.js, core/QxSettings.js, |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 21:38:50
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29317/source/script/core Modified Files: Tag: renderer QxApplication.js Log Message: Minor fixes for dep system Index: QxApplication.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxApplication.js,v retrieving revision 1.2.2.69 retrieving revision 1.2.2.70 diff -u -d -r1.2.2.69 -r1.2.2.70 --- QxApplication.js 8 Feb 2006 10:37:48 -0000 1.2.2.69 +++ QxApplication.js 9 Feb 2006 21:38:34 -0000 1.2.2.70 @@ -27,7 +27,7 @@ #package(core) #require(QxClient) -#require(QxDomEvent) +#require(QxDomEventRegistration) #post(QxClientWindow) #post(QxImageManager) #post(QxImagePreloader) |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 21:38:43
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29317/source/script/managers Modified Files: Tag: renderer QxEventManager.js Log Message: Minor fixes for dep system Index: QxEventManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxEventManager.js,v retrieving revision 1.14.2.71 retrieving revision 1.14.2.72 diff -u -d -r1.14.2.71 -r1.14.2.72 --- QxEventManager.js 3 Feb 2006 14:33:34 -0000 1.14.2.71 +++ QxEventManager.js 9 Feb 2006 21:38:34 -0000 1.14.2.72 @@ -26,7 +26,7 @@ /* ************************************************************************ #package(eventcore) -#post(QxDomEvent) +#post(QxDomEventRegistration) #post(QxPopupManager) #post(QxToolTipManager) #post(QxMenuManager) @@ -708,11 +708,11 @@ if (!vTarget) { return false; }; - - - - - + + + + + switch(vType) { case QxConst.EVENT_TYPE_CONTEXTMENU: @@ -726,21 +726,21 @@ QxFocusManager.mouseFocus = true; var vRoot = vTarget.getFocusRoot(); - + if (vRoot) { this.setFocusRoot(vRoot); - + vRoot.setActiveChild(vTarget); vRoot.setFocusedChild(vTarget.isFocusable() ? vTarget : vRoot); }; - + // the more intelli method, ignore blur after mousedown event this._ignoreBlur = true; break; }; - + @@ -984,7 +984,7 @@ return; }; - if (this._ignoreBlur) + if (this._ignoreBlur) { delete this._ignoreBlur; return; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 21:33:37
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27165/tools Added Files: Tag: renderer combine_small.sh Log Message: Added new combine tool --- NEW FILE: combine_small.sh --- #!/bin/bash cd `dirname $0`/.. source tools/config.sh cp -f tools/baseheader.txt public/qooxdoo.js mkdir -p public/script mkdir -p public/themes dold="" stamp=`date +"%Z-%Y%m%d-%I%M%p"` iter=0 count=0 rm -f public/qooxdoo_${count}.js touch public/qooxdoo_${count}.js for file in $L; do d=`dirname $file` if [ "$dold" != "$d" ]; then echo ">>> Current Source: source/$d" fi size1=`du -b public/qooxdoo_${count}.js | cut -f1` size2=`du -b public/${file}.js | cut -f1` size=$[$size1+$size2] if [ $size -gt 100000 ]; then ( echo -n "document.write('" echo -n '<script type="text/javascript" src="../../qooxdoo_'$count'.js"></script>' echo "');" ) >> public/qooxdoo.js count=$[$count+1] rm -f public/qooxdoo_${count}.js touch public/qooxdoo_${count}.js iter=0 else iter=$[$iter+1] fi echo " - File: `basename $file`.js [js]" cat public/${file}.js >> public/qooxdoo_${count}.js dold="$d" done if [ $iter != 0 ]; then ( echo -n "document.write('" echo -n '<script type="text/javascript" src="../../qooxdoo_'$count'.js"></script>' echo "');" ) >> public/qooxdoo.js fi gzip -9 -c public/qooxdoo.js > public/qooxdoo.js.gz echo "-------------------------------------------------------------------" echo " - Final Size: `du public/qooxdoo.js`" echo " gzipped: `du public/qooxdoo.js.gz`" echo "-------------------------------------------------------------------" echo " - Done" echo "-------------------------------------------------------------------" |