qooxdoo-commit Mailing List for qooxdoo (Page 1411)
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-09 10:45:31
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8832/source/script/widgets Modified Files: Tag: renderer QxGalleryList.js Log Message: Removed timeout Index: QxGalleryList.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGalleryList.js,v retrieving revision 1.7.2.12 retrieving revision 1.7.2.13 diff -u -d -r1.7.2.12 -r1.7.2.13 --- QxGalleryList.js 9 Feb 2006 10:29:27 -0000 1.7.2.12 +++ QxGalleryList.js 9 Feb 2006 10:45:23 -0000 1.7.2.13 @@ -72,13 +72,8 @@ --------------------------------------------------------------------------- */ -proto._applyElementData = function() -{ - var o = this; - window.setTimeout(function() - { - o.getElement().appendChild(o.createView()); - }, 100); +proto._applyElementData = function() { + this.getElement().appendChild(this.createView()); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:44:34
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8444/source/script/managers Modified Files: Tag: renderer QxDomSelectionManager.js QxSelectionManager.js Log Message: Fixed selection manager to correctly handle QxGallery and QxGalleryList (multi column support) Index: QxDomSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxDomSelectionManager.js,v retrieving revision 1.4.2.7 retrieving revision 1.4.2.8 diff -u -d -r1.4.2.7 -r1.4.2.8 --- QxDomSelectionManager.js 16 Jan 2006 16:11:56 -0000 1.4.2.7 +++ QxDomSelectionManager.js 9 Feb 2006 10:44:21 -0000 1.4.2.8 @@ -32,7 +32,7 @@ function QxDomSelectionManager(vBoundedWidget) { QxSelectionManager.call(this, vBoundedWidget); - + // the children does not fire onmouseover events so we could // not enable this and make it functional this.setDragSelection(false); @@ -62,10 +62,10 @@ return vItem.className = vClassName; }; -proto.getItemBaseClassName = function(vItem) +proto.getItemBaseClassName = function(vItem) { var p = vItem.className.split(QxConst.CORE_SPACE)[0]; - return p ? p : "Status"; + return p ? p : "Status"; }; proto.getNextSibling = function(vItem) { @@ -76,6 +76,16 @@ return vItem.previousSibling; }; +proto.getFirst = function() { + return this.getItems()[0]; +}; + +proto.getLast = function() +{ + var vItems = this.getItems(); + return vItems[vItems.length-1]; +}; + @@ -118,14 +128,14 @@ if (oItem._hash) { return oItem._hash; }; - - return oItem._hash = QxObject.toHashCode(oItem); + + return oItem._hash = QxObject.toHashCode(oItem); }; -proto.isBefore = function(vItem1, vItem2) +proto.isBefore = function(vItem1, vItem2) { var pa = vItem1.parentNode; - + for (var i=0, l=pa.childNodes.length; i<l; i++) { switch(pa.childNodes[i]) @@ -153,16 +163,16 @@ var vFound = false; var vLeft = vItem.offsetLeft; var vChild; - + for (var i=vParent.childNodes.length-1; i>0; i--) { vChild = vParent.childNodes[i]; - + if (vFound == false) { if (vChild == vItem) { vFound = true; - }; + }; } else { @@ -170,7 +180,7 @@ { return vChild; }; - }; + }; }; }; @@ -180,16 +190,16 @@ var vFound = false; var vLeft = vItem.offsetLeft; var vChild; - + for (var i=0, l=vParent.childNodes.length; i<l; i++) { vChild = vParent.childNodes[i]; - + if (vFound == false) { if (vChild == vItem) { vFound = true; - }; + }; } else { @@ -197,7 +207,7 @@ { return vChild; }; - }; + }; }; }; @@ -225,7 +235,7 @@ var c = this.getItemClassName(vItem); var n = this.getItemBaseClassName(vItem) + "-" + vState; - this.setItemClassName(vItem, vIsState ? c.add(n, " ") : c.remove(n, " ")); + this.setItemClassName(vItem, vIsState ? c.add(n, " ") : c.remove(n, " ")); }; proto.renderItemSelectionState = function(vItem, vIsSelected) { Index: QxSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxSelectionManager.js,v retrieving revision 1.3.2.36 retrieving revision 1.3.2.37 diff -u -d -r1.3.2.36 -r1.3.2.37 --- QxSelectionManager.js 2 Feb 2006 16:51:04 -0000 1.3.2.36 +++ QxSelectionManager.js 9 Feb 2006 10:44:21 -0000 1.3.2.37 @@ -1126,6 +1126,13 @@ return this.getUp(this.getLeadItem()); + case QxKeyEvent.keys.left: + return this.getLeft(this.getLeadItem()); + + case QxKeyEvent.keys.right: + return this.getRight(this.getLeadItem()); + + case QxKeyEvent.keys.pageup: return this.getPageUp(this.getLeadItem()) || this.getHome(this.getLeadItem()); |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:42:40
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7755/source/script/managers Modified Files: QxSelectionManager.js Log Message: Fixed selection manager to correctly handle QxGallery and QxGalleryList (multi column support) Index: QxSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxSelectionManager.js,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- QxSelectionManager.js 22 Jul 2005 10:25:07 -0000 1.7 +++ QxSelectionManager.js 9 Feb 2006 10:42:28 -0000 1.8 @@ -1335,4 +1335,4 @@ }; return QxTarget.prototype.dispose.call(this); -}; \ No newline at end of file +}; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:29:36
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2760/source/script/widgets Modified Files: Tag: renderer QxGallery.js QxGalleryList.js Log Message: Optimized scrollIntoView for QxGallery and QxGalleryList Index: QxGalleryList.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGalleryList.js,v retrieving revision 1.7.2.11 retrieving revision 1.7.2.12 diff -u -d -r1.7.2.11 -r1.7.2.12 --- QxGalleryList.js 3 Feb 2006 14:33:34 -0000 1.7.2.11 +++ QxGalleryList.js 9 Feb 2006 10:29:27 -0000 1.7.2.12 @@ -41,7 +41,7 @@ this._processedImages = 0; this.setOverflow("auto"); - + this.setHtmlProperty("className", "QxGalleryList"); this._manager = new QxDomSelectionManager(this); @@ -72,7 +72,7 @@ --------------------------------------------------------------------------- */ -proto._applyElementData = function() +proto._applyElementData = function() { var o = this; window.setTimeout(function() @@ -150,11 +150,11 @@ }; proto.scrollItemIntoViewX = function(vItem) { - QxDom.scrollIntoViewX(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewX(vItem); }; proto.scrollItemIntoViewY = function(vItem) { - QxDom.scrollIntoViewY(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewY(vItem); }; proto.getItems = function() { Index: QxGallery.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGallery.js,v retrieving revision 1.21.2.14 retrieving revision 1.21.2.15 diff -u -d -r1.21.2.14 -r1.21.2.15 --- QxGallery.js 9 Feb 2006 10:26:11 -0000 1.21.2.14 +++ QxGallery.js 9 Feb 2006 10:29:27 -0000 1.21.2.15 @@ -123,7 +123,7 @@ proto.removeAll = function() { this._manager.deselectAll(); - this.getElement().innerHTML = ""; + this.getElement().innerHTML = QxConst.CORE_EMPTY; }; proto.updateImageById = function(vId, vSrc, vWidth, vHeight) { @@ -357,11 +357,11 @@ }; proto.scrollItemIntoViewX = function(vItem) { - QxDom.scrollIntoViewX(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewX(vItem); }; proto.scrollItemIntoViewY = function(vItem) { - QxDom.scrollIntoViewY(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewY(vItem); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:26:20
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1511/source/script/widgets Modified Files: Tag: renderer QxGallery.js Log Message: Removed timeout creation from gallery Index: QxGallery.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGallery.js,v retrieving revision 1.21.2.13 retrieving revision 1.21.2.14 diff -u -d -r1.21.2.13 -r1.21.2.14 --- QxGallery.js 3 Feb 2006 14:33:34 -0000 1.21.2.13 +++ QxGallery.js 9 Feb 2006 10:26:11 -0000 1.21.2.14 @@ -87,13 +87,8 @@ --------------------------------------------------------------------------- */ -proto._applyElementData = function() -{ - var o = this; - window.setTimeout(function() - { - o.getElement().appendChild(o.createView()); - }, 100); +proto._applyElementData = function() { + this.getElement().appendChild(this.createView()); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:24:08
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/example In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv670/source/html/example Modified Files: Tag: renderer GalleryList_1.html Gallery_1.html Log Message: Minor cleanup Index: Gallery_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/Gallery_1.html,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- Gallery_1.html 9 Feb 2006 10:22:50 -0000 1.1.2.6 +++ Gallery_1.html 9 Feb 2006 10:23:52 -0000 1.1.2.7 @@ -5,7 +5,6 @@ <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"/> - <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <style type="text/css"> Index: GalleryList_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/GalleryList_1.html,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- GalleryList_1.html 9 Feb 2006 10:22:50 -0000 1.1.2.5 +++ GalleryList_1.html 9 Feb 2006 10:23:52 -0000 1.1.2.6 @@ -5,7 +5,6 @@ <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"/> - <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <style type="text/css"> |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:23:01
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv357/source/style Removed Files: Tag: renderer gallery.css Log Message: Removed gallery.css --- gallery.css DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:22:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/example In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv357/source/html/example Modified Files: Tag: renderer GalleryList_1.html Gallery_1.html Log Message: Removed gallery.css Index: Gallery_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/Gallery_1.html,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- Gallery_1.html 9 Feb 2006 10:21:06 -0000 1.1.2.5 +++ Gallery_1.html 9 Feb 2006 10:22:50 -0000 1.1.2.6 @@ -7,6 +7,69 @@ <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> + + <style type="text/css"> +.QxGallery .galleryFrame{ + padding: 2px; +} + +.QxGallery .galleryCell{ + border: 1px solid #444; + background: #fff; + margin: 2px; + float: left; + overflow: hidden; + + font-family: Tahoma, Verdana, sans-serif; + font-size: 10px; + + cursor: default; + + -moz-user-select: none; + user-select: none; +} + +.QxGallery .galleryCell img{ + vertical-align: bottom; + display: block; +} + +.QxGallery .galleryCell .galleryTitle, +.QxGallery .galleryCell .galleryComment{ + background: #eee; + padding: 3px 6px; + text-align: center; + cursor: default; + overflow: hidden; + white-space: nowrap; +} + +.QxGallery .galleryCell .galleryTitle{ + border-bottom: 1px solid #aaa; +} + +.QxGallery .galleryCell .galleryComment{ + border-top: 1px solid #aaa; +} + +.QxGallery .galleryCell-Selected{ + background: #DCE8F6; + border: 1px solid #2760A1; +} + +.QxGallery .galleryCell-Selected .galleryTitle, +.QxGallery .galleryCell-Selected .galleryComment{ + background: #9BBFE7; +} + +.QxGallery .galleryCell-Selected .galleryTitle{ + border-bottom: 1px dotted #2760A1; +} + +.QxGallery .galleryCell-Selected .galleryComment{ + border-top: 1px dotted #2760A1; +} + </style> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> Index: GalleryList_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/GalleryList_1.html,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- GalleryList_1.html 9 Feb 2006 10:21:06 -0000 1.1.2.4 +++ GalleryList_1.html 9 Feb 2006 10:22:50 -0000 1.1.2.5 @@ -7,6 +7,79 @@ <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> + + <style type="text/css"> +.QxGalleryList{ + position: absolute; + visibility: visible; +} + +.QxGalleryList .galleryFrame{ + padding: 2px; +} + +.QxGalleryList .galleryCell{ + margin: 2px; + padding-bottom: 2px; + border: 1px solid #EEE; + + background: #fff; + overflow: hidden; + white-space: normal; + + font-family: Tahoma, Verdana, sans-serif; + font-size: 12px; + + cursor: default; + + -moz-user-select: none; + user-select: none; + + position: relative; +} + +.QxGalleryList .galleryCell img{ + vertical-align: bottom; + display: block; +} + +.QxGalleryList .galleryNumber{ + width: 45px; + padding: 4px; + + position: absolute; + top: 0px; + left: 0px; +} + +.QxGalleryList .galleryImageContainer{ + position: absolute; + top: 0px; + left: 50px; +} + +.QxGalleryList .galleryText{ + padding: 4px; + position: absolute; + top: 0px; + left: 130px; +} + +.QxGalleryList .galleryNumber, +.QxGalleryList .galleryText h3{ + font-weight: bold; + font-size: 11px; +} + +.QxGalleryList .galleryText p{ + font-size: 10px; +} + +.QxGalleryList .galleryCell-Selected{ + background: #9BBCFF; + border-color: #3B7CFF; +} + </style> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:21:15
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/example In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32239/source/html/example Modified Files: Tag: renderer GalleryList_1.html Gallery_1.html Log Message: Improved and fixed Gallery examples Index: Gallery_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/Gallery_1.html,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- Gallery_1.html 8 Feb 2006 11:28:39 -0000 1.1.2.4 +++ Gallery_1.html 9 Feb 2006 10:21:06 -0000 1.1.2.5 @@ -5,6 +5,7 @@ <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"/> + <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> @@ -15,10 +16,10 @@ </div> <script type="text/javascript"> - window.application.main = function() + window.application.main = function() { var galleryList = []; - + for (var i=0; i<100; i++) { galleryList.push({ @@ -32,20 +33,19 @@ comment : "Cool Comment", id : "7686191121780974-10682", src : "../../images/icons/crystalsvg/64/penguin.png" - }); + }); }; - + var gallery = new QxGallery(galleryList); - + gallery.setLeft(20); gallery.setRight(335); gallery.setTop(48); gallery.setBottom(48); gallery.setBorder(QxBorder.presets.inset); - - var d = this.getClientWindow().getClientDocument(); - d.add(gallery); - }; + + this.add(gallery); + }; </script> </body> </html> \ No newline at end of file Index: GalleryList_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/example/Attic/GalleryList_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 --- GalleryList_1.html 8 Feb 2006 11:28:39 -0000 1.1.2.3 +++ GalleryList_1.html 9 Feb 2006 10:21:06 -0000 1.1.2.4 @@ -5,6 +5,7 @@ <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"/> + <link type="text/css" rel="stylesheet" href="../../style/gallery.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> @@ -17,18 +18,8 @@ <script type="text/javascript"> window.application.main = function() { - var d = this.getClientWindow().getClientDocument(); - - - - - - - - - var galleryData = []; - + for (var i=0; i<100; i++) { galleryData.push({ @@ -43,26 +34,20 @@ id : "7686191121780974-10682", src : "../../images/icons/crystalsvg/48/bug.png", number : "#" + i - }); + }); }; - + var galleryList = new QxGalleryList(galleryData); - + galleryList.setWidth(400); galleryList.setTop(48); galleryList.setBottom(48); galleryList.setLeft(250); - + galleryList.setBorder(QxBorder.presets.inset); galleryList.setBackgroundColor("white"); - - - - - - - d.add(galleryList); + this.add(galleryList); }; </script> </body> |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:15:34
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30261 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.64 retrieving revision 1.1.2.65 diff -u -d -r1.1.2.64 -r1.1.2.65 --- TODO 9 Feb 2006 09:30:00 -0000 1.1.2.64 +++ TODO 9 Feb 2006 10:15:26 -0000 1.1.2.65 @@ -3,9 +3,7 @@ * Make API nice, clean and consistent: * Discuss property names: "html", "text" and "content" for QxText, QxHtml and QxLabel. * isDisplayed vs. isDisplayable (cleanups naming) -* Rename (discuss first): QxHtml=>QxSimpleHtml, QxIconHtml=>QxSimpleIconHtml, QxText=>QxSimpleText * Fix leaks and functionality in QxGallery and QxGalleryList -* Rename getNewValue() to getValue() (events!) * Rename getNewValue of QxDataEvent to getData (which matches the classname style) * Try to add a CollectGarbage(); to disposer |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:15:15
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29959/source/script/widgets Added Files: Tag: renderer QxSimpleHtml.js QxSimpleIconHtml.js QxSimpleLink.js QxSimpleNode.js QxSimpleText.js Removed Files: Tag: renderer QxHtml.js QxIconHtml.js QxLink.js QxNode.js QxText.js Log Message: Give simple widgets a common name --- NEW FILE: QxSimpleText.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxSimpleText.js,v 1.1.2.1 2006/02/09 10:14:59 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> ************************************************************************ */ /* ************************************************************************ #package(simpleterminators) ************************************************************************ */ function QxText(vText) { QxTerminator.call(this); if (QxUtil.isValidString(vText)) { this.setText(vText); }; }; QxText.extend(QxTerminator, "QxText"); /* --------------------------------------------------------------------------- PROPERTIES --------------------------------------------------------------------------- */ /*! Any text string which can contain TEXT, too */ QxText.addProperty({ name : "text", type : QxConst.TYPEOF_STRING }); /*! The font property describes how to paint the font on the widget. */ QxText.addProperty({ name : "font", type : QxConst.TYPEOF_OBJECT, instance : "QxFont", convert : QxFontCache, allowMultipleArguments : true }); /*! Wrap the text? */ QxText.addProperty({ name : "wrap", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); /* --------------------------------------------------------------------------- MODIFIER --------------------------------------------------------------------------- */ proto._modifyText = function() { if (this._isCreated) { this._syncText(); }; return true; }; proto._modifyFont = function(propValue, propOldValue, propData) { if (propValue) { propValue.applyWidget(this); } else if (propOldValue) { propOldValue.resetWidget(this); }; return true; }; proto._modifyWrap = function(propValue, propOldValue, propData) { this.setStyleProperty(QxConst.PROPERTY_WHITESPACE, propValue ? "normal" : "nowrap"); return true; }; /* --------------------------------------------------------------------------- ELEMENT HANDLING --------------------------------------------------------------------------- */ proto._applyElementData = function() { this.getElement().appendChild(document.createTextNode(this.getText())); }; proto._syncText = function() { this.getElement().firstChild.nodeValue = this.getText(); }; --- NEW FILE: QxSimpleHtml.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxSimpleHtml.js,v 1.1.2.1 2006/02/09 10:14:59 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> ************************************************************************ */ /* ************************************************************************ #package(simpleterminators) ************************************************************************ */ function QxHtml(vHtml) { QxTerminator.call(this); if (QxUtil.isValidString(vHtml)) { this.setHtml(vHtml); }; }; QxHtml.extend(QxTerminator, "QxHtml"); /* --------------------------------------------------------------------------- PROPERTIES --------------------------------------------------------------------------- */ /*! Any text string which can contain HTML, too */ QxHtml.addProperty({ name : "html", type : QxConst.TYPEOF_STRING }); /*! The font property describes how to paint the font on the widget. */ QxHtml.addProperty({ name : "font", type : QxConst.TYPEOF_OBJECT, instance : "QxFont", convert : QxFontCache, allowMultipleArguments : true }); /*! Wrap the text? */ QxHtml.addProperty({ name : "wrap", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); /* --------------------------------------------------------------------------- MODIFIER --------------------------------------------------------------------------- */ proto._modifyHtml = function() { if (this._isCreated) { this._syncHtml(); }; return true; }; proto._modifyFont = function(propValue, propOldValue, propData) { if (propValue) { propValue.applyWidget(this); } else if (propOldValue) { propOldValue.resetWidget(this); }; return true; }; proto._modifyWrap = function(propValue, propOldValue, propData) { this.setStyleProperty(QxConst.PROPERTY_WHITESPACE, propValue ? "normal" : "nowrap"); return true; }; /* --------------------------------------------------------------------------- ELEMENT HANDLING --------------------------------------------------------------------------- */ proto._applyElementData = function() { this._syncHtml(); }; proto._syncHtml = function() { this.getElement().innerHTML = this.getHtml(); }; --- QxLink.js DELETED --- --- QxHtml.js DELETED --- --- QxNode.js DELETED --- --- NEW FILE: QxSimpleNode.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxSimpleNode.js,v 1.1.2.1 2006/02/09 10:14:59 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> ************************************************************************ */ /* ************************************************************************ #package(simpleterminators) ************************************************************************ */ function QxNode(vId) { QxTerminator.call(this); if (QxUtil.isValidString(vId)) { this.setSourceNodeId(vId); }; }; QxNode.extend(QxTerminator, "QxNode"); QxNode.addProperty({ name : "sourceNodeId", type : QxConst.TYPEOF_STRING }); proto._createElementImpl = function() { var vNode = document.getElementById(this.getSourceNodeId()); if (!vNode) { throw new Error("Could not find source node with ID: " + this.getSourceNodeId()); }; vNode.style.display = QxConst.CORE_EMPTY; return this.setElement(vNode); }; --- NEW FILE: QxSimpleLink.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxSimpleLink.js,v 1.1.2.1 2006/02/09 10:14:59 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> ************************************************************************ */ /* ************************************************************************ #package(simpleterminators) ************************************************************************ */ function QxLink(vHtml, vUri, vTarget) { QxHtml.call(this, vHtml); if (typeof vUri != QxConst.TYPEOF_UNDEFINED) { this.setUri(vUri); }; if (typeof vTarget != QxConst.TYPEOF_UNDEFINED) { this.setTarget(vTarget); }; }; QxLink.extend(QxHtml, "QxLink"); /* --------------------------------------------------------------------------- PROPERTIES --------------------------------------------------------------------------- */ /*! Any valid html URI */ QxLink.addProperty({ name : "uri", type : QxConst.TYPEOF_STRING, defaultValue : "#", impl : "html" }); /*! Any valid html target */ QxLink.addProperty({ name : "target", type : QxConst.TYPEOF_STRING, defaultValue : "_blank", impl : "html" }); /* --------------------------------------------------------------------------- UTILITIES --------------------------------------------------------------------------- */ QxLink.LINK_START = "<a target='"; QxLink.HREF_START = "' href='"; QxLink.HREF_STOP = "'>"; QxLink.LINK_STOP = "</a>"; proto._syncHtml = function() { var vHtml = []; vHtml.push(QxLink.LINK_START); vHtml.push(this.getTarget()); vHtml.push(QxLink.HREF_START); vHtml.push(this.getUri()); vHtml.push(QxLink.HREF_STOP); vHtml.push(this.getHtml()); vHtml.push(QxLink.LINK_STOP); this.getElement().innerHTML = vHtml.join(QxConst.CORE_EMPTY); }; --- QxText.js DELETED --- --- QxIconHtml.js DELETED --- --- NEW FILE: QxSimpleIconHtml.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxSimpleIconHtml.js,v 1.1.2.1 2006/02/09 10:14:59 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> ************************************************************************ */ /* ************************************************************************ #package(simpleterminators) ************************************************************************ */ function QxIconHtml(vHtml, vIcon, vIconWidth, vIconHeight) { QxHtml.call(this, vHtml); if (typeof vIcon != QxConst.TYPEOF_UNDEFINED) { this.setIcon(vIcon); if (typeof vIconWidth != QxConst.TYPEOF_UNDEFINED) { this.setIconWidth(vIconWidth); }; if (typeof vIconHeight != QxConst.TYPEOF_UNDEFINED) { this.setIconHeight(vIconWidth); }; }; }; QxIconHtml.extend(QxHtml, "QxIconHtml"); /* --------------------------------------------------------------------------- PROPERTIES --------------------------------------------------------------------------- */ /*! Any URI String supported by QxImage to display a icon */ QxIconHtml.addProperty({ name : "icon", type : QxConst.TYPEOF_STRING, impl : "html" }); /*! The width of the icon. If configured, this makes QxIconHtml a little bit faster as it does not need to wait until the image loading is finished. */ QxIconHtml.addProperty({ name : "iconWidth", type : QxConst.TYPEOF_NUMBER, impl : "html" }); /*! The height of the icon If configured, this makes QxIconHtml a little bit faster as it does not need to wait until the image loading is finished. */ QxIconHtml.addProperty({ name : "iconHeight", type : QxConst.TYPEOF_NUMBER, impl : "html" }); /*! Space in pixels between the icon and the HTML. */ QxIconHtml.addProperty({ name : "spacing", type : QxConst.TYPEOF_NUMBER, defaultValue : 4, impl : "html" }); /* --------------------------------------------------------------------------- UTILITIES --------------------------------------------------------------------------- */ QxIconHtml.START_IMAGE = "<img src=\""; QxIconHtml.START_STYLE = "\" style=\"vertical-align:middle;"; QxIconHtml.STYLE_MARGIN = "margin-right:"; QxIconHtml.STYLE_WIDTH = "width:"; QxIconHtml.STYLE_HEIGHT = "height:"; QxIconHtml.PIXEL_UNIT = "px;"; QxIconHtml.FILTER_START = "filter:"; QxIconHtml.STOP_IMAGE = "\"/>"; proto._mshtml = QxClient.isMshtml(); proto._syncHtml = function() { var vHtml = []; vHtml.push(QxIconHtml.START_IMAGE); vHtml.push(QxImageManager.buildURI(this._mshtml ? QxImageManager.getBlank() : this.getIcon())); vHtml.push(QxIconHtml.START_STYLE); if (QxUtil.isValidNumber(this.getSpacing())) { vHtml.push(QxIconHtml.STYLE_MARGIN); vHtml.push(this.getSpacing()); vHtml.push(QxIconHtml.PIXEL_UNIT); }; if (QxUtil.isValidNumber(this.getIconWidth())) { vHtml.push(QxIconHtml.STYLE_WIDTH); vHtml.push(this.getIconWidth()); vHtml.push(QxIconHtml.PIXEL_UNIT); }; if (QxUtil.isValidNumber(this.getIconHeight())) { vHtml.push(QxIconHtml.STYLE_HEIGHT); vHtml.push(this.getIconHeight()); vHtml.push(QxIconHtml.PIXEL_UNIT); }; if (this._mshtml) { vHtml.push(QxIconHtml.FILTER_START); vHtml.push(QxImage.IMGLOADER_START); vHtml.push(QxImageManager.buildURI(this.getIcon())); vHtml.push(QxImage.IMGLOADER_STOP); vHtml.push(QxConst.CORE_SEMICOLON); }; vHtml.push(QxIconHtml.STOP_IMAGE); vHtml.push(this.getHtml()); this.getElement().innerHTML = vHtml.join(QxConst.CORE_EMPTY); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 10:15:14
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29959/tools Modified Files: Tag: renderer config.sh Log Message: Give simple widgets a common name Index: config.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/config.sh,v retrieving revision 1.16.2.107 retrieving revision 1.16.2.108 diff -u -d -r1.16.2.107 -r1.16.2.108 --- config.sh 8 Feb 2006 10:37:48 -0000 1.16.2.107 +++ config.sh 9 Feb 2006 10:14:59 -0000 1.16.2.108 @@ -151,12 +151,14 @@ # Grid Layout L="$L script/widgets/QxGridLayout" +# Simple widgets +L="$L script/widgets/QxSimpleText" +L="$L script/widgets/QxSimpleHtml" +L="$L script/widgets/QxSimpleLink" +L="$L script/widgets/QxSimpleIconHtml" +L="$L script/widgets/QxSimpleNode" + # Most used Widgets -L="$L script/widgets/QxText" -L="$L script/widgets/QxHtml" -L="$L script/widgets/QxLink" -L="$L script/widgets/QxIconHtml" -L="$L script/widgets/QxNode" L="$L script/widgets/QxLabel" L="$L script/widgets/QxLabelCore" L="$L script/widgets/QxAtom" |
|
From: Andreas E. <ec...@us...> - 2006-02-09 09:30:11
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12944 Modified Files: Tag: renderer TODO Log Message: Some changes. Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.63 retrieving revision 1.1.2.64 diff -u -d -r1.1.2.63 -r1.1.2.64 --- TODO 9 Feb 2006 08:51:40 -0000 1.1.2.63 +++ TODO 9 Feb 2006 09:30:00 -0000 1.1.2.64 @@ -5,7 +5,8 @@ * isDisplayed vs. isDisplayable (cleanups naming) * Rename (discuss first): QxHtml=>QxSimpleHtml, QxIconHtml=>QxSimpleIconHtml, QxText=>QxSimpleText * Fix leaks and functionality in QxGallery and QxGalleryList -* Rename getNewValue of QxDataEvent to getData (which match the classname style) +* Rename getNewValue() to getValue() (events!) +* Rename getNewValue of QxDataEvent to getData (which matches the classname style) * Try to add a CollectGarbage(); to disposer * Add support for user defined aliases for image paths. @@ -17,14 +18,17 @@ # Implement QxRequestQueue ## queuing ## timeouts +## non-caching (IE!) # Implement QxIFrameTransport # Implement Data Provider ## json ## xml -# Implement Widget Binding +## SOAP +# Implement Data Binding h4. Layouter Rework +* Speed-up toggling (tree, tabView) without re-layouting of children * Optimize unit detection and unit handling and storage for dimension and location properties. Try to remove all these boolean flags. * Move all layout depending properties from widgets to the used layout implementation like in Qt or SWT. * Try to only have one queue for layouts and jobs @@ -33,7 +37,6 @@ * Discuss if it is useful to also cache hasPercentX, hasAutoX, ... * Reimplement cached properties so that the invaliation will not set the old value to null, but set a isInvalid flag which will define that the next get must re-evaluate the value first. * Add depth property to widgets. Sort job queue according to depth before flush. -* Speed-up toggling (tree, tabView) without re-layouting of children * Remove spacing and margins from inner width/height of each QxParent to calculate percents. (Mail: Stanislav Ievlev, 08.02.2006, 13:18 Uhr) h4. Later @@ -44,6 +47,9 @@ * Support image path updates also for background images in QxWidgets. This needs some registration mechanism like the ones in normal QxImages. +* Add dynamically generated debug console (which does not need a "div" inside the document) +* Maybe implement possibility of debug console as separate window + * Add behaviour support * Add Mac OS X Theme @@ -84,6 +90,7 @@ * Add Encoders/Decoders section (md5, blowfish, ...) * Add Transformers (QxTextile, ...) section +* "virtual mode" was removed from QxNativeWindow; Maybe experiment and re-implement? * Some rounded borners like nifty corners or these ones: http://www.456bereastreet.com/archive/200505/transparent_custom_corners_and_borders/ * Merge some ideas from "prototype" and "moo.fx" to qooxdoo |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 09:25:34
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11297 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.60 retrieving revision 1.1.2.61 diff -u -d -r1.1.2.60 -r1.1.2.61 --- CHANGELOG 9 Feb 2006 09:07:45 -0000 1.1.2.60 +++ CHANGELOG 9 Feb 2006 09:25:26 -0000 1.1.2.61 @@ -1,3 +1,11 @@ +2006-02-09 10:20 wpbasti + + * tools/makebuilds.sh: Fixed + +2006-02-09 10:07 wpbasti + + * CHANGELOG: Updated + 2006-02-09 09:51 wpbasti * TODO: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 09:20:31
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9018/tools Modified Files: Tag: renderer makebuilds.sh Log Message: Fixed Index: makebuilds.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/makebuilds.sh,v retrieving revision 1.4.2.5 retrieving revision 1.4.2.6 diff -u -d -r1.4.2.5 -r1.4.2.6 --- makebuilds.sh 31 Jan 2006 18:53:06 -0000 1.4.2.5 +++ makebuilds.sh 9 Feb 2006 09:20:22 -0000 1.4.2.6 @@ -15,21 +15,22 @@ echo "[A-1/1] >>> Syncing full distribution" rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db --exclude=*.xml public/docs build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/images build/distribution/public -rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/script build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/style build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/html build/distribution/public +rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/qooxdoo.js* build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db --exclude=*.pl --exclude=*.py* --exclude=*.sh --exclude=*.xsl tools build/distribution echo "[B-1/4] >>> Building ALL-WITH-DOCS Snapshot" mkdir -p build/snapshots/allwithdocs -rsync -ac build/distribution/public build/snapshots/allwithdocs/ -rsync -ac build/distribution/tools build/snapshots/allwithdocs/ +rsync -ac build/distribution/* build/snapshots/allwithdocs/ -mkdir -p build/archives +if [ "$1" != "noarch" ]; then + mkdir -p build/archives -echo "[C-1/4] >>> Building ALL-WITH-DOCS Archives" -cd build/snapshots/allwithdocs -which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-allwithdocs.zip public tools -which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-allwithdocs.tar.bz2 public tools -which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-allwithdocs.tar.gz public tools -cd ../../../ + echo "[C-1/4] >>> Building ALL-WITH-DOCS Archives" + cd build/snapshots/allwithdocs + which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-allwithdocs.zip public tools + which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-allwithdocs.tar.bz2 public tools + which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-allwithdocs.tar.gz public tools + cd ../../../ +fi |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 09:07:53
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3428 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.59 retrieving revision 1.1.2.60 diff -u -d -r1.1.2.59 -r1.1.2.60 --- CHANGELOG 9 Feb 2006 08:45:34 -0000 1.1.2.59 +++ CHANGELOG 9 Feb 2006 09:07:45 -0000 1.1.2.60 @@ -1,3 +1,11 @@ +2006-02-09 09:51 wpbasti + + * TODO: Updated + +2006-02-09 09:45 wpbasti + + * CHANGELOG: Updated + 2006-02-09 09:35 wpbasti * source/contributed/httptransport_ricks/Http_Transport_1.html, |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:51:48
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29070 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.62 retrieving revision 1.1.2.63 diff -u -d -r1.1.2.62 -r1.1.2.63 --- TODO 9 Feb 2006 08:06:10 -0000 1.1.2.62 +++ TODO 9 Feb 2006 08:51:40 -0000 1.1.2.63 @@ -8,6 +8,10 @@ * Rename getNewValue of QxDataEvent to getData (which match the classname style) * Try to add a CollectGarbage(); to disposer +* Add support for user defined aliases for image paths. +* Support for images from custom path (resource like: application/...) +* Add generated debug console (which does not need a "div" inside the document) + h4. AJAX Layer # Implement QxRequestQueue @@ -40,10 +44,6 @@ * Support image path updates also for background images in QxWidgets. This needs some registration mechanism like the ones in normal QxImages. -* Add support for user defined aliases for image paths. -* Support for images from custom path (resource like: application/...) -* Add generated debug console (which does not need a "div" inside the document) - * Add behaviour support * Add Mac OS X Theme |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:45:44
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26448 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.58 retrieving revision 1.1.2.59 diff -u -d -r1.1.2.58 -r1.1.2.59 --- CHANGELOG 2 Feb 2006 14:16:46 -0000 1.1.2.58 +++ CHANGELOG 9 Feb 2006 08:45:34 -0000 1.1.2.59 @@ -1,3 +1,546 @@ +2006-02-09 09:35 wpbasti + + * source/contributed/httptransport_ricks/Http_Transport_1.html, + source/contributed/httptransport_ricks/QxHttpTransport.js, + source/contributed/httptransport_ricks/QxHttpTransportQueue.js, + source/contributed/progressbar_vogel/QxProgressanim.js, + source/contributed/progressbar_vogel/QxProgressbar.js, + source/html/test/Builder_1.html, source/html/test/Builder_2.html, + source/html/test/Builder_2.xml, source/html/test/Builder_3.html, + source/html/test/Builder_3.xml, source/html/test/Builder_4.html, + source/script/core/QxBuilder.js, source/themes/colors/system.js, + source/themes/colors/windowsClassic.js, + source/themes/colors/windowsLunaBlue.js, + source/themes/colors/windowsLunaGreen.js, + source/themes/colors/windowsLunaSilver.js, + source/themes/colors/windowsRoyale.js, tools/changelog_rss.xsl, + tools/fixfiles.sh, tools/tab2space.sh: Corrected tab2spaces, + dos2unix and file rights + +2006-02-09 09:06 wpbasti + + * TODO: Updated + +2006-02-09 07:06 wpbasti + + * TODO: Updated + +2006-02-08 20:14 wpbasti + + * source/html/showcase/Showcase_1.html: Minor improvement + +2006-02-08 15:32 wpbasti + + * TODO: Updated TODO + +2006-02-08 15:29 wpbasti + + * TODO, source/script/core/QxExtend.js, + source/script/gui/QxParent.js, source/script/gui/QxWidget.js, + source/script/widgets/QxClientDocument.js: Renamed + _addToGlobalStateQueue to match other methods + +2006-02-08 15:14 wpbasti + + * TODO: Updated + +2006-02-08 15:14 wpbasti + + * source/script/gui/QxWidget.js: Minor fixes, commented out + incomplete rounded borders impl + +2006-02-08 14:54 wpbasti + + * TODO, source/script/gui/QxAppearanceTheme.js, + source/script/gui/QxBorderCache.js, + source/script/gui/QxClientWindow.js, + source/script/gui/QxColor.js, source/script/gui/QxColorObject.js, + source/script/gui/QxCommand.js, + source/script/gui/QxFlashPlayerVersion.js, + source/script/gui/QxFontObject.js, + source/script/gui/QxSelectionStorage.js: Some minor tweaks, + structuring and optimizations + +2006-02-08 14:30 wpbasti + + * source/script/core/QxTimer.js: Minor tweaks + +2006-02-08 14:27 wpbasti + + * source/script/core/QxTarget.js: Minor variable name optimization + +2006-02-08 14:18 wpbasti + + * source/script/widgets/QxClientDocument.js: Improved global cursor + (use new style sheet api instead of own implementation) + +2006-02-08 14:18 wpbasti + + * source/script/core/QxDomStyleSheet.js: Minor fix + +2006-02-08 14:04 wpbasti + + * source/script/widgets/QxClientDocument.js: Use QxSettings for + layoutMode, improved focus root initialisation + +2006-02-08 14:03 wpbasti + + * source/script/core/QxSet.js: Minor optimizations + +2006-02-08 13:28 wpbasti + + * TODO: Updated TODO + +2006-02-08 13:23 wpbasti + + * source/themes/appearance/default/theme.js: Improved default + button appearance + +2006-02-08 13:00 wpbasti + + * tools/tempclean.sh: Added new tool to remove temporary files + +2006-02-08 12:37 wpbasti + + * tools/script/demolayout.js.in: Fixed script for demo layout + +2006-02-08 12:31 wpbasti + + * source/contributed/: buttonpane_olsson/OptionPane_1.html, + buttonpane_olsson/OptionPane_2.html, clock_olsson/Clock_1.html, + frame_olsson/Frame_1.html, + httptransport_ricks/Http_Transport_1.html, + progressbar_olsson/ProgressBar_1.html, + progressbar_vogel/Progressanim_1.html, + progressbar_vogel/Progressbar_1.html, + splashscreen_olsson/SplashScreen_1.html, + splashscreen_olsson/SplashScreen_2.html, + statusbar_olsson/Frame_1.html, statusbar_olsson/StatusBar_2.html: + removed window._htmlstart from contributed demo files + +2006-02-08 12:28 wpbasti + + * source/: contributed/buttonpane_olsson/OptionPane_1.html, + contributed/buttonpane_olsson/OptionPane_2.html, + contributed/clock_olsson/Clock_1.html, + contributed/frame_olsson/Frame_1.html, + contributed/httptransport_ricks/Http_Transport_1.html, + contributed/progressbar_olsson/ProgressBar_1.html, + contributed/progressbar_vogel/Progressanim_1.html, + contributed/progressbar_vogel/Progressbar_1.html, + contributed/splashscreen_olsson/SplashScreen_1.html, + contributed/splashscreen_olsson/SplashScreen_2.html, + contributed/statusbar_olsson/Frame_1.html, + contributed/statusbar_olsson/StatusBar_1.html, + contributed/statusbar_olsson/StatusBar_2.html, + html/example/Atom_1.html, html/example/Atom_2.html, + html/example/Atom_3.html, html/example/BarView_1.html, + html/example/BarView_2.html, html/example/Button_1.html, + html/example/CheckBox_1.html, html/example/ComboBox_1.html, + html/example/Cookie_1.html, html/example/FieldSet_1.html, + html/example/FieldSet_2.html, html/example/FieldSet_3.html, + html/example/Fields_1.html, html/example/Flash_1.html, + html/example/GalleryList_1.html, html/example/Gallery_1.html, + html/example/Iframe_1.html, html/example/Index.html, + html/example/Inline_1.html, html/example/ListView_1.html, + html/example/ListView_2.html, html/example/ListView_3.html, + html/example/ListView_4.html, html/example/List_1.html, + html/example/Menu_1.html, html/example/NativeWindow_1.html, + html/example/RadioButton_1.html, + html/example/RepeatButton_1.html, html/example/Spinner_1.html, + html/example/TabView_1.html, html/example/ToolBar_1.html, + html/example/ToolBar_2.html, html/example/ToolBar_3.html, + html/example/ToolBar_4.html, html/example/ToolTip_1.html, + html/example/Transport_1.html, html/example/Tree_1.html, + html/example/Window_1.html, html/showcase/Index.html, + html/showcase/Showcase_1.html, html/test/Atom_1.html, + html/test/Atom_2.html, html/test/Atom_3.html, + html/test/Atom_4.html, html/test/Atom_5.html, + html/test/Atom_6.html, html/test/Atom_7.html, + html/test/Atom_8.html, html/test/Atom_9.html, + html/test/Border_1.html, html/test/BoxLayout_1.html, + html/test/BoxLayout_2.html, html/test/Builder_1.html, + html/test/Builder_2.html, html/test/Builder_3.html, + html/test/Builder_4.html, html/test/Button_1.html, + html/test/CanvasLayout_1.html, html/test/CanvasLayout_2.html, + html/test/CanvasLayout_3.html, html/test/CanvasLayout_4.html, + html/test/CanvasLayout_5.html, html/test/Clipping_1.html, + html/test/Clone_1.html, html/test/Clone_2.html, + html/test/ColorTheme_1.html, html/test/ColorTheme_2.html, + html/test/ColorTheme_3.html, html/test/ComboBox_1.html, + html/test/ComboBox_2.html, html/test/ComboBox_3.html, + html/test/Compile_1.html, html/test/Compile_2.html, + html/test/CrossBrowser_1.html, html/test/CrossBrowser_2.html, + html/test/DataHandling_1.html, html/test/DataHandling_2.html, + html/test/DockLayout_1.html, html/test/DockLayout_2.html, + html/test/DockLayout_3.html, html/test/DockLayout_4.html, + html/test/DockLayout_5.html, html/test/DockLayout_6.html, + html/test/DragAndDropManager_1.html, + html/test/DragAndDropManager_2.html, + html/test/EnabledDisabled_1.html, html/test/FieldSet_1.html, + html/test/Fields_1.html, html/test/FlowLayout_1.html, + html/test/FlowLayout_2.html, html/test/FlowLayout_3.html, + html/test/FocusManager_1.html, html/test/Font_1.html, + html/test/Gallery_2.html, html/test/Gallery_3.html, + html/test/GridLayout_1.html, html/test/GridLayout_10.html, + html/test/GridLayout_11.html, html/test/GridLayout_2.html, + html/test/GridLayout_3.html, html/test/GridLayout_4.html, + html/test/GridLayout_5.html, html/test/GridLayout_6.html, + html/test/GridLayout_7.html, html/test/GridLayout_8.html, + html/test/GridLayout_9.html, + html/test/HorizontalBoxLayout_1.html, + html/test/HorizontalBoxLayout_2.html, + html/test/HorizontalBoxLayout_3.html, html/test/IconHtml_1.html, + html/test/Image_1.html, html/test/Image_2.html, + html/test/Image_3.html, html/test/Image_4.html, + html/test/Index.html, html/test/Label_1.html, + html/test/Label_2.html, html/test/Label_3.html, + html/test/Label_4.html, html/test/Leak_1.html, + html/test/Link_1.html, html/test/ListView_1.html, + html/test/ListView_10.html, html/test/ListView_2.html, + html/test/ListView_3.html, html/test/ListView_4.html, + html/test/ListView_5.html, html/test/ListView_6.html, + html/test/ListView_7.html, html/test/ListView_8.html, + html/test/ListView_9.html, html/test/List_1.html, + html/test/List_2.html, html/test/List_3.html, + html/test/List_4.html, html/test/Menu_1.html, + html/test/Menu_2.html, html/test/Node_1.html, + html/test/Performance_1.html, html/test/Performance_2.html, + html/test/Popups_1.html, html/test/Popups_2.html, + html/test/RoundedCorners_1.html, html/test/ToolBar_1.html, + html/test/ToolBar_2.html, html/test/ToolBar_3.html, + html/test/ToolBar_4.html, html/test/Tree_1.html, + html/test/Tree_2.html, html/test/Tree_3.html, + html/test/Tree_4.html, html/test/Tree_5.html, + html/test/Tree_6.html, html/test/Umlauts_1.html, + html/test/UserData_1.html, html/test/VerticalBoxLayout_1.html, + html/test/VerticalBoxLayout_2.html, + html/test/VerticalBoxLayout_3.html, html/test/Window_1.html, + html/test/Window_2.html, html/test/Window_3.html, + html/test/Window_4.html, html/test/Window_5.html, + html/test/Window_6.html, script/core/QxDebug.js, + style/demolayout.css: Renamed IDs of demolayout to 'demo' + +2006-02-08 12:22 wpbasti + + * source/html/: example/Atom_1.html, example/Atom_2.html, + example/Atom_3.html, example/BarView_1.html, + example/BarView_2.html, example/Button_1.html, + example/CheckBox_1.html, example/ComboBox_1.html, + example/Cookie_1.html, example/FieldSet_1.html, + example/FieldSet_2.html, example/FieldSet_3.html, + example/Fields_1.html, example/Flash_1.html, + example/GalleryList_1.html, example/Gallery_1.html, + example/Iframe_1.html, example/Index.html, example/Inline_1.html, + example/ListView_1.html, example/ListView_2.html, + example/ListView_3.html, example/ListView_4.html, + example/List_1.html, example/Menu_1.html, + example/NativeWindow_1.html, example/RadioButton_1.html, + example/RepeatButton_1.html, example/Spinner_1.html, + example/TabView_1.html, example/ToolBar_1.html, + example/ToolBar_2.html, example/ToolBar_3.html, + example/ToolBar_4.html, example/ToolTip_1.html, + example/Transport_1.html, example/Tree_1.html, + example/Window_1.html, showcase/Showcase_1.html, + test/Atom_1.html, test/Atom_2.html, test/Atom_3.html, + test/Atom_4.html, test/Atom_5.html, test/Atom_6.html, + test/Atom_7.html, test/Atom_8.html, test/Atom_9.html, + test/Border_1.html, test/BoxLayout_1.html, test/BoxLayout_2.html, + test/Builder_1.html, test/Builder_2.html, test/Builder_3.html, + test/Builder_4.html, test/Button_1.html, + test/CanvasLayout_1.html, test/CanvasLayout_2.html, + test/CanvasLayout_3.html, test/CanvasLayout_4.html, + test/CanvasLayout_5.html, test/Clipping_1.html, + test/Clone_1.html, test/Clone_2.html, test/ColorTheme_1.html, + test/ColorTheme_2.html, test/ColorTheme_3.html, + test/ComboBox_1.html, test/ComboBox_2.html, test/ComboBox_3.html, + test/Compile_1.html, test/Compile_2.html, + test/CrossBrowser_1.html, test/CrossBrowser_2.html, + test/DataHandling_1.html, test/DataHandling_2.html, + test/DockLayout_1.html, test/DockLayout_2.html, + test/DockLayout_3.html, test/DockLayout_4.html, + test/DockLayout_5.html, test/DockLayout_6.html, + test/DragAndDropManager_1.html, test/DragAndDropManager_2.html, + test/EnabledDisabled_1.html, test/FieldSet_1.html, + test/Fields_1.html, test/FlowLayout_1.html, + test/FlowLayout_2.html, test/FlowLayout_3.html, + test/FocusManager_1.html, test/Font_1.html, test/Gallery_2.html, + test/Gallery_3.html, test/GridLayout_1.html, + test/GridLayout_10.html, test/GridLayout_11.html, + test/GridLayout_2.html, test/GridLayout_3.html, + test/GridLayout_4.html, test/GridLayout_5.html, + test/GridLayout_6.html, test/GridLayout_7.html, + test/GridLayout_8.html, test/GridLayout_9.html, + test/HorizontalBoxLayout_1.html, test/HorizontalBoxLayout_2.html, + test/HorizontalBoxLayout_3.html, test/IconHtml_1.html, + test/Image_1.html, test/Image_2.html, test/Image_3.html, + test/Image_4.html, test/Index.html, test/Label_1.html, + test/Label_2.html, test/Label_3.html, test/Label_4.html, + test/Leak_1.html, test/Link_1.html, test/ListView_1.html, + test/ListView_10.html, test/ListView_2.html, + test/ListView_3.html, test/ListView_4.html, test/ListView_5.html, + test/ListView_6.html, test/ListView_7.html, test/ListView_8.html, + test/ListView_9.html, test/List_1.html, test/List_2.html, + test/List_3.html, test/List_4.html, test/Menu_1.html, + test/Menu_2.html, test/Node_1.html, test/Performance_1.html, + test/Performance_2.html, test/Popups_1.html, test/Popups_2.html, + test/RoundedCorners_1.html, test/ToolBar_1.html, + test/ToolBar_2.html, test/ToolBar_3.html, test/ToolBar_4.html, + test/Tree_1.html, test/Tree_2.html, test/Tree_3.html, + test/Tree_4.html, test/Tree_5.html, test/Tree_6.html, + test/Umlauts_1.html, test/UserData_1.html, + test/VerticalBoxLayout_1.html, test/VerticalBoxLayout_2.html, + test/VerticalBoxLayout_3.html, test/Window_1.html, + test/Window_2.html, test/Window_3.html, test/Window_4.html, + test/Window_5.html, test/Window_6.html: Removed window._htmlstart + from headers, removed some optinal stuff from html files, too + +2006-02-08 11:37 wpbasti + + * source/script/core/QxApplication.js, + source/script/core/QxDebug.js, source/script/core/QxExtend.js, + source/script/core/QxMain.js, source/script/core/QxObject.js, + source/script/core/QxSettings.js, source/script/gui/QxWidget.js, + source/script/gui/QxWidgetCore.js, + source/script/widgets/QxListViewHeader.js, tools/combine.sh, + tools/config.sh: Added QxSettings and QxMain namespace, moved + some global storage variables to QxMain + +2006-02-08 10:48 wpbasti + + * source/html/showcase/Showcase_1.html: Added showcase example + +2006-02-07 15:08 wpbasti + + * TODO: Updated + +2006-02-07 15:07 wpbasti + + * source/themes/appearance/default/theme.js: Minor improvement + +2006-02-07 15:07 wpbasti + + * source/script/widgets/: QxListView.js, QxListViewPane.js: + Completely removed timer based updates + +2006-02-07 11:01 wpbasti + + * source/script/core/QxCookieStorage.js: New mass cookie api + +2006-02-06 08:40 wpbasti + + * source/script/core/QxClient.js: Parse version number + +2006-02-03 16:50 wpbasti + + * source/script/widgets/QxComboBox.js: Minor fix + +2006-02-03 15:57 wpbasti + + * source/: script/gui/QxAppearanceTheme.js, + script/gui/QxColorTheme.js, + script/managers/QxAppearanceManager.js, + themes/appearance/default/theme.js: Added title property to + appearance theme + +2006-02-03 15:36 wpbasti + + * tools/config.sh: Minor fix + +2006-02-03 15:33 wpbasti + + * source/script/core/QxApplication.js, source/script/core/QxDom.js, + source/script/core/QxDomCore.js, + source/script/core/QxDomDimension.js, + source/script/core/QxDomElementFromPoint.js, + source/script/core/QxDomEvent.js, + source/script/core/QxDomLocation.js, + source/script/core/QxDomOffset.js, + source/script/core/QxDomScroll.js, + source/script/core/QxDomScrollIntoView.js, + source/script/core/QxDomStyle.js, + source/script/core/QxDomStyleSheet.js, + source/script/core/QxDomWindow.js, + source/script/gui/QxClientWindow.js, + source/script/gui/QxNativeWindow.js, + source/script/gui/QxWidget.js, + source/script/managers/QxDragAndDropManager.js, + source/script/managers/QxEventManager.js, + source/script/managers/QxFocusManager.js, + source/script/widgets/QxClientDocument.js, + source/script/widgets/QxComboBox.js, + source/script/widgets/QxGallery.js, + source/script/widgets/QxGalleryList.js, + source/script/widgets/QxListViewHeader.js, + source/script/widgets/QxMenu.js, + source/script/widgets/QxToolBarMenuButton.js, + source/script/widgets/QxWindow.js, tools/config.sh: Splitted + QxDom into separate files + +2006-02-03 14:48 wpbasti + + * source/script/: core/QxApplication.js, core/QxMain.js, + core/QxObject.js, gui/QxWidgetCore.js: Moved debug flag to QxMain + +2006-02-03 14:40 wpbasti + + * source/script/gui/QxWidgetCore.js: Readded debug possibilities to + QxWidget Global Flush + +2006-02-03 14:14 wpbasti + + * source/script/: core/QxApplication.js, core/QxObject.js, + events/QxDomEvent.js, gui/QxImagePreloader.js, gui/QxParent.js, + gui/QxWidget.js, managers/QxDragAndDropManager.js, + widgets/QxClientDocument.js: Fixed some missing disposer parts, + added new debugging support to disposer + +2006-02-03 12:06 wpbasti + + * source/themes/colors/: system.js, windowsClassic.js, + windowsLunaBlue.js, windowsLunaGreen.js, windowsLunaSilver.js, + windowsRoyale.js: Added headers + +2006-02-03 12:04 wpbasti + + * source/script/gui/QxColorTheme.js: Minor fix + +2006-02-03 11:53 wpbasti + + * source/script/gui/QxColorObject.js, + source/script/gui/QxColorTheme.js, + source/script/managers/QxColorManager.js, + source/themes/colors/system.js, + source/themes/colors/windowsClassic.js, + source/themes/colors/windowsLunaBlue.js, + source/themes/colors/windowsLunaGreen.js, + source/themes/colors/windowsLunaSilver.js, + source/themes/colors/windowsRoyale.js, tools/config.sh: Moved + color themes to new theme folder + +2006-02-03 11:52 wpbasti + + * source/themes/appearance/default/theme.js: Added missing + appearance + +2006-02-03 11:23 wpbasti + + * source/script/gui/QxBorderObjectPresets.js, + source/script/gui/QxBorderPresets.js, tools/config.sh: Moved + border presets to gui + +2006-02-03 11:18 wpbasti + + * tools/: baseheader.txt, combine.sh, compile.py, compress.sh, + config.sh, patchtest.sh, script/includer.js.in: Moved appearance, + to new theme folder, updated build scripts to handle scripts also + in this directory + +2006-02-03 11:17 wpbasti + + * source/html/test/List_4.html: Dos2unix + +2006-02-03 11:17 wpbasti + + * TODO: Added font theme + +2006-02-03 10:58 wpbasti + + * source/contributed/: buttonpane_olsson/OptionPane_1.html, + buttonpane_olsson/OptionPane_2.html, + buttonpane_olsson/QxButtonPane.js, + buttonpane_olsson/QxOptionPane.js, + childreniterator_streifert/QxChildrenIterator.js, + clock_olsson/Clock_1.html, clock_olsson/QxBinaryClock.js, + clock_olsson/QxClock.js, clock_olsson/QxDigitalClock.js, + frame_olsson/Frame_1.html, frame_olsson/QxFrame.js, + frame_olsson/QxUtil.js, frame_olsson/QxWindow.js, + httptransport_ricks/Http_Transport_1.html, + httptransport_ricks/QxHttpTransport.js, + httptransport_ricks/QxHttpTransportQueue.js, + progressbar_olsson/ProgressBar_1.html, + progressbar_olsson/QxProgressBar.js, + progressbar_vogel/Progressanim_1.html, + progressbar_vogel/Progressbar_1.html, + progressbar_vogel/QxProgressanim.js, + progressbar_vogel/QxProgressbar.js, + splashscreen_olsson/QxSplashScreen.js, + splashscreen_olsson/SplashScreen_1.html, + splashscreen_olsson/SplashScreen_2.html, + statusbar_olsson/Frame_1.html, statusbar_olsson/QxFrame.js, + statusbar_olsson/QxStatusBar.js, + statusbar_olsson/QxStatusBarPane.js, statusbar_olsson/QxUtil.js, + statusbar_olsson/QxWindow.js, statusbar_olsson/StatusBar_1.html, + statusbar_olsson/StatusBar_2.html: dos2unix + +2006-02-03 10:51 wpbasti + + * source/script/gui/QxWidgetCore.js: Cleaned up old big global + flush method + +2006-02-03 10:42 wpbasti + + * source/script/gui/: QxBorder.js, QxFont.js: Don't use features of + QxTarget + +2006-02-03 10:41 wpbasti + + * source/script/core/QxClient.js, tools/config.sh: Converted to a + real QxObject + +2006-02-03 10:28 wpbasti + + * source/script/core/QxDom.js: Minor bugfix + +2006-02-02 18:18 wpbasti + + * source/script/core/QxObjectCore.js: Dos2Unix + +2006-02-02 18:16 wpbasti + + * source/script/core/QxDom.js: Renamed some function arguments in + QxDom + +2006-02-02 18:03 wpbasti + + * source/script/: core/QxConst.js, gui/QxWidget.js, + widgets/QxButton.js, widgets/QxRepeatButton.js, + widgets/QxToolBarCheckBox.js, widgets/QxToolBarRadioButton.js, + widgets/QxWindow.js: Renamed state left + +2006-02-02 17:51 wpbasti + + * TODO, source/script/core/QxConst.js, + source/script/gui/QxWidget.js, + source/script/managers/QxImageManager.js, + source/script/managers/QxSelectionManager.js, + source/script/widgets/QxButton.js, + source/script/widgets/QxComboBox.js, + source/script/widgets/QxCommonViewButton.js, + source/script/widgets/QxGallery.js, + source/script/widgets/QxGalleryList.js, + source/script/widgets/QxIconHtml.js, + source/script/widgets/QxImage.js, + source/script/widgets/QxListViewContentCellImage.js, + source/script/widgets/QxListViewHeader.js, + source/script/widgets/QxListViewHeaderCell.js, + source/script/widgets/QxListViewPane.js, + source/script/widgets/QxMenu.js, + source/script/widgets/QxMenuCheckBox.js, + source/script/widgets/QxRepeatButton.js, + source/script/widgets/QxSpinner.js, + source/script/widgets/QxToolBarCheckBox.js, + source/script/widgets/QxToolBarMenuButton.js, + source/script/widgets/QxToolBarRadioButton.js, + source/script/widgets/QxTree.js, + source/script/widgets/QxTreeElement.js, + source/script/widgets/QxWindow.js: Reimplemented state handling, + fixed some issues with blank images + +2006-02-02 15:16 wpbasti + + * CHANGELOG: Updated + 2006-02-02 15:10 wpbasti * source/script/core/QxMain.js: Version bump @@ -7,6 +550,11 @@ * source/script/gui/: QxWidget.js, QxWidgetCore.js: Move _beforeAppear to _handleDisplay stuff +2006-02-02 15:10 wpbasti + + * source/script/gui/: QxWidget.js, QxWidgetCore.js: Move + _beforeAppear to _handleDisplay stuff + 2006-02-02 13:21 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:35:26
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/tools Modified Files: Tag: renderer changelog_rss.xsl fixfiles.sh tab2space.sh Log Message: Corrected tab2spaces, dos2unix and file rights Index: changelog_rss.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/changelog_rss.xsl,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- changelog_rss.xsl 19 Nov 2005 19:40:29 -0000 1.1.2.1 +++ changelog_rss.xsl 9 Feb 2006 08:35:14 -0000 1.1.2.2 @@ -1,11 +1,11 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:x="http://www.w3.org/1999/xhtml" - xmlns:cl="http://www.red-bean.com/xmlns/cvs2cl/" - xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:x="http://www.w3.org/1999/xhtml" + xmlns:cl="http://www.red-bean.com/xmlns/cvs2cl/" + xmlns:dc="http://purl.org/dc/elements/1.1/" - exclude-result-prefixes="cl" - > + exclude-result-prefixes="cl" + > <xsl:output indent="yes" /> Index: tab2space.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/tab2space.sh,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- tab2space.sh 30 Aug 2005 14:26:19 -0000 1.1.2.1 +++ tab2space.sh 9 Feb 2006 08:35:14 -0000 1.1.2.2 @@ -1,13 +1,12 @@ #!/bin/bash +echo ">>> Converting tab to 2 spaces..." + cd `dirname $0`/.. -for file in `find source tools -type f -name "*.html" -o -name "*.js" -o -name "*.css" -o -name "*.sh"`; do - grep -P "\t" $file > /dev/null - if [ "$?" == "0" ]; then - echo "Patching ${file}..." - cp $file /tmp/tab2space.txt - cat /tmp/tab2space.txt | sed s:"\t":" ":g > $file - fi +for file in `find source tools -type f -name "*.css" -o -name "*.html" -o -name "*.xsl" -o -name "*.py" -o -name "*.js" -o -name "*.sh"`; +do + echo " - processing: $file" + perl -pi -e 's/\t/ /g' $file done -find tools -name "*.sh" | xargs chmod 775 +echo ">>> Done" Index: fixfiles.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/fixfiles.sh,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -d -r1.1 -r1.1.2.1 --- fixfiles.sh 4 Mar 2005 10:59:24 -0000 1.1 +++ fixfiles.sh 9 Feb 2006 08:35:14 -0000 1.1.2.1 @@ -1,8 +1,9 @@ #!/bin/bash cd `dirname $0`/.. -chmod 775 tools/*.sh + tools/dos2unix.sh -chmod 775 tools/*.sh -chmod 664 tools/*.py tools/*.xsl -chmod 755 tools/script tools/style +tools/tab2space.sh + +find . -name "*.py" -o -name "*.sh" | xargs chmod -v 755 +find . -name "*.js" -o -name "*.html" -o -name "*.png" -o -name "*.gif" -o -name "*.jpg" -o -name "*.jpeg" -o -name "*.css" -o -name "*.xsl" -o -name "*.xml" | xargs chmod -v 644 |
Update of /cvsroot/qooxdoo/qooxdoo/source/html/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/source/html/test Modified Files: Tag: renderer Builder_1.html Builder_2.html Builder_2.xml Builder_3.html Builder_3.xml Builder_4.html Log Message: Corrected tab2spaces, dos2unix and file rights Index: Builder_4.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_4.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 --- Builder_4.html 8 Feb 2006 11:28:39 -0000 1.1.2.3 +++ Builder_4.html 9 Feb 2006 08:35:14 -0000 1.1.2.4 @@ -10,31 +10,31 @@ <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <script type="text/javascript"> - window.application.main = function() { - new QxBuilder().build(this, document.getElementById('widgets')); - } + window.application.main = function() { + new QxBuilder().build(this, document.getElementById('widgets')); + } </script> <div id="demoDescription"> <p>QxBuilder demo.</p> <p>3 Format Example</> </div> <textarea id='widgets' style='display:none'> - <qx:widgets xmlns:qx='qooxdoo'> - <qx:atom id="linfo" label="Current Value" icon="icons/16/forward.png" border="QxBorder.presets.black" padding="2,4" backgroundColor="white" top="48" left="20"/> - <qx:radioManager id='_rm1' name="mygroup"> + <qx:widgets xmlns:qx='qooxdoo'> + <qx:atom id="linfo" label="Current Value" icon="icons/16/forward.png" border="QxBorder.presets.black" padding="2,4" backgroundColor="white" top="48" left="20"/> + <qx:radioManager id='_rm1' name="mygroup"> <qx:eventListener type='changeSelected' args='e'> linfo.setLabel("Current Value: \"" + e.getNewValue().getLabel() + "\" (" + e.getNewValue().getValue() + ")"); - </qx:eventListener> - </qx:radioManager> - <qx:radioButton qxtype="radioButton" label="Option #1" value="rb1" location="20,80" manager="_rm1"/> - <qx:radioButton label="Option #2" value="rb2" location="20,110" manager="_rm1" checked="true"/> - <div qxtype="radioButton" label="Top RadioButton" value="rb3" location="20,160" manager="_rm1" iconPosition="top"/> - <radioButton label="Bottom RadioButton" value="rb4" location="160,160" manager="_rm1" iconPosition="bottom"/> - <qx:radioButton label="Left RadioButton" value="rb5" location="20,220" manager="_rm1" iconPosition="left"/> - <qx:radioButton label="Right RadioButton" value="rb6" location="160,220" manager="_rm1" iconPosition="right"/> - <qx:radioButton value="rb7" location="20,280" manager="_rm1"/> - </qx:widgets> - </textarea> + </qx:eventListener> + </qx:radioManager> + <qx:radioButton qxtype="radioButton" label="Option #1" value="rb1" location="20,80" manager="_rm1"/> + <qx:radioButton label="Option #2" value="rb2" location="20,110" manager="_rm1" checked="true"/> + <div qxtype="radioButton" label="Top RadioButton" value="rb3" location="20,160" manager="_rm1" iconPosition="top"/> + <radioButton label="Bottom RadioButton" value="rb4" location="160,160" manager="_rm1" iconPosition="bottom"/> + <qx:radioButton label="Left RadioButton" value="rb5" location="20,220" manager="_rm1" iconPosition="left"/> + <qx:radioButton label="Right RadioButton" value="rb6" location="160,220" manager="_rm1" iconPosition="right"/> + <qx:radioButton value="rb7" location="20,280" manager="_rm1"/> + </qx:widgets> + </textarea> </body> </html> </body> Index: Builder_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_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 --- Builder_1.html 8 Feb 2006 11:28:39 -0000 1.1.2.3 +++ Builder_1.html 9 Feb 2006 08:35:14 -0000 1.1.2.4 @@ -10,22 +10,22 @@ <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <script type="text/javascript"> - window.application.main = function() { - new QxBuilder().build(this, document.getElementById('widgets')); - } - - // test delegate object - var d = { - hello : 'world', - click : function(e) { - alert(e + '\n\nclick received at delegate object\n\n' + this.hello); - } - } - - // test delegate function - var f = function(e) { - alert(e + '\n\nclick received at delegate function\n\n'); - } + window.application.main = function() { + new QxBuilder().build(this, document.getElementById('widgets')); + } + + // test delegate object + var d = { + hello : 'world', + click : function(e) { + alert(e + '\n\nclick received at delegate object\n\n' + this.hello); + } + } + + // test delegate function + var f = function(e) { + alert(e + '\n\nclick received at delegate function\n\n'); + } </script> <div id="demoDescription"> <p>QxBuilder demo.</p> @@ -33,43 +33,43 @@ <p>Textarea example</p> </div> <textarea id='widgets' style='display:none'> - <qx:widgets xmlns:qx='qooxdoo'> - - <qx:button id='btn' label='Click Me!!!' location='20,50'> - - <!-- function body event listener --> - <qx:eventListener type='click' args='event'> - btn.setLabel(btn.getLabel() + "."); - alert(event + "\n\nClicked on: " + this.getLabel()); - </qx:eventListener> + <qx:widgets xmlns:qx='qooxdoo'> + + <qx:button id='btn' label='Click Me!!!' location='20,50'> + + <!-- function body event listener --> + <qx:eventListener type='click' args='event'> + btn.setLabel(btn.getLabel() + "."); + alert(event + "\n\nClicked on: " + this.getLabel()); + </qx:eventListener> - <!-- - global object.method delegation - when the button is clicked, d.click(event) will be called - --> - <qx:eventListener type='click' delegate='d.click'/> - - <!-- - global function delegation - when the button is clicked, f(event) will be called - --> - <qx:eventListener type='click' delegate='f'/> - - </qx:button> - <qx:atom id='atom1' label='Test No #1' icon='icons/16/penguin.png' border='QxBorder.presets.black' location='20,90'/> + <!-- + global object.method delegation + when the button is clicked, d.click(event) will be called + --> + <qx:eventListener type='click' delegate='d.click'/> + + <!-- + global function delegation + when the button is clicked, f(event) will be called + --> + <qx:eventListener type='click' delegate='f'/> + + </qx:button> + <qx:atom id='atom1' label='Test No #1' icon='icons/16/penguin.png' border='QxBorder.presets.black' location='20,90'/> - <qx:button label='Test No #2' icon='icons/16/penguin.png' location='20,120'> - <qx:eventListener type='click'> - atom1.setLabel(atom1.getLabel() + "."); - </qx:eventListener> - </qx:button> - - <qx:atom label='Test No #3' icon='icons/16/penguin.png' location='20,160'/> - - <qx:atom label='a' icon='icons/16/penguin.png' location='20,200'/> - <qx:atom label='b' icon='icons/16/penguin.png' location='20,240'/> - </qx:widgets> - </textarea> + <qx:button label='Test No #2' icon='icons/16/penguin.png' location='20,120'> + <qx:eventListener type='click'> + atom1.setLabel(atom1.getLabel() + "."); + </qx:eventListener> + </qx:button> + + <qx:atom label='Test No #3' icon='icons/16/penguin.png' location='20,160'/> + + <qx:atom label='a' icon='icons/16/penguin.png' location='20,200'/> + <qx:atom label='b' icon='icons/16/penguin.png' location='20,240'/> + </qx:widgets> + </textarea> </body> </html> </body> Index: Builder_3.xml =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_3.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- Builder_3.xml 26 Jan 2006 14:23:18 -0000 1.1.2.1 +++ Builder_3.xml 9 Feb 2006 08:35:14 -0000 1.1.2.2 @@ -16,18 +16,18 @@ <qx:menuButton label='Printer Font' menu='m2'/> </qx:menu> - <qx:button id='btn' label='Reference Property' location='20,48'> - <qx:eventListener type='click' args='e'> + <qx:button id='btn' label='Reference Property' location='20,48'> + <qx:eventListener type='click' args='e'> var el = this.getElement(); m1.setLeft(QxDom.getComputedPageBoxLeft(el)); m1.setTop(QxDom.getComputedPageBoxBottom(el)); m1.show(); e.setPropagationStopped(true); - </qx:eventListener> - <qx:eventListener type='mousedown' args='e'> + </qx:eventListener> + <qx:eventListener type='mousedown' args='e'> e.setPropagationStopped(true); - </qx:eventListener> - </qx:button> - - <qx:atom label='Comma Delimited Property & Eval Property ' location='140,48' backgroundColor='#BDD2EF' dimension='220,220' border='QxBorderObject.presets.outset'/> + </qx:eventListener> + </qx:button> + + <qx:atom label='Comma Delimited Property & Eval Property ' location='140,48' backgroundColor='#BDD2EF' dimension='220,220' border='QxBorderObject.presets.outset'/> </qx:widgets> Index: Builder_2.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_2.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 --- Builder_2.html 8 Feb 2006 11:28:39 -0000 1.1.2.3 +++ Builder_2.html 9 Feb 2006 08:35:14 -0000 1.1.2.4 @@ -10,9 +10,9 @@ <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <script type="text/javascript"> - window.application.main = function() { - new QxBuilder().buildFromUrl(this, 'Builder_2.xml'); - } + window.application.main = function() { + new QxBuilder().buildFromUrl(this, 'Builder_2.xml'); + } </script> <div id="demoDescription"> <p>QxBuilder demo.</p> Index: Builder_3.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_3.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 --- Builder_3.html 8 Feb 2006 11:28:39 -0000 1.1.2.3 +++ Builder_3.html 9 Feb 2006 08:35:14 -0000 1.1.2.4 @@ -10,9 +10,9 @@ <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <script type="text/javascript"> - window.application.main = function() { - new QxBuilder().buildFromUrl(this, 'Builder_3.xml'); - } + window.application.main = function() { + new QxBuilder().buildFromUrl(this, 'Builder_3.xml'); + } </script> <div id="demoDescription"> <p>QxBuilder demo.</p> Index: Builder_2.xml =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/Builder_2.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- Builder_2.xml 26 Jan 2006 14:23:18 -0000 1.1.2.1 +++ Builder_2.xml 9 Feb 2006 08:35:14 -0000 1.1.2.2 @@ -1,52 +1,52 @@ <qx:widgets xmlns:qx='qooxdoo'> - <qx:button id='btn' label='Click Me!!!' location='20,50'> - - <!-- function body event listener --> - <qx:eventListener type='click' args='event'> - btn.setLabel(btn.getLabel() + "."); - alert(event + "\n\nClicked on: " + this.getLabel()); - </qx:eventListener> + <qx:button id='btn' label='Click Me!!!' location='20,50'> + + <!-- function body event listener --> + <qx:eventListener type='click' args='event'> + btn.setLabel(btn.getLabel() + "."); + alert(event + "\n\nClicked on: " + this.getLabel()); + </qx:eventListener> - <!-- - global object.method delegation - when the button is clicked, d.click(event) will be called - --> - <qx:eventListener type='click' delegate='d.click'/> - - <!-- - global function delegation - when the button is clicked, f(event) will be called - --> - <qx:eventListener type='click' delegate='f'/> - - </qx:button> - <qx:atom id='atom1' label='Test No #1' icon='icons/16/penguin.png' border='QxBorder.presets.black' location='20,90'/> + <!-- + global object.method delegation + when the button is clicked, d.click(event) will be called + --> + <qx:eventListener type='click' delegate='d.click'/> + + <!-- + global function delegation + when the button is clicked, f(event) will be called + --> + <qx:eventListener type='click' delegate='f'/> + + </qx:button> + <qx:atom id='atom1' label='Test No #1' icon='icons/16/penguin.png' border='QxBorder.presets.black' location='20,90'/> - <qx:button label='Test No #2' icon='icons/16/penguin.png' location='20,120'> - <qx:eventListener type='click'> - atom1.setLabel(atom1.getLabel() + "."); - </qx:eventListener> - </qx:button> - - <qx:atom label='Test No #3' icon='icons/16/penguin.png' location='20,160'/> + <qx:button label='Test No #2' icon='icons/16/penguin.png' location='20,120'> + <qx:eventListener type='click'> + atom1.setLabel(atom1.getLabel() + "."); + </qx:eventListener> + </qx:button> + + <qx:atom label='Test No #3' icon='icons/16/penguin.png' location='20,160'/> - <qx:atom label='a' icon='icons/16/penguin.png' location='20,200'/> - <qx:atom label='b' icon='icons/16/penguin.png' location='20,240'/> - - - <qx:script> - // test delegate function - var f = function(e) { - alert(e + '\n\nclick received at delegate function\n\n'); - } - - // test delegate object - var d = { - hello : 'world', - click : function(e) { - alert(e + '\n\nclick received at delegate object\n\n' + this.hello); - } - } - </qx:script> + <qx:atom label='a' icon='icons/16/penguin.png' location='20,200'/> + <qx:atom label='b' icon='icons/16/penguin.png' location='20,240'/> + + + <qx:script> + // test delegate function + var f = function(e) { + alert(e + '\n\nclick received at delegate function\n\n'); + } + + // test delegate object + var d = { + hello : 'world', + click : function(e) { + alert(e + '\n\nclick received at delegate object\n\n' + this.hello); + } + } + </qx:script> </qx:widgets> |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:35:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/source/contributed/httptransport_ricks Modified Files: Tag: renderer Http_Transport_1.html QxHttpTransport.js QxHttpTransportQueue.js Log Message: Corrected tab2spaces, dos2unix and file rights Index: QxHttpTransportQueue.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/QxHttpTransportQueue.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 --- QxHttpTransportQueue.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 +++ QxHttpTransportQueue.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -22,21 +22,21 @@ *****************************************************************************/ function QxHttpTransportQueue(activeCount, queuedCount) { - if (!activeCount) { - throw new Error("Active queue length must be explicitly set."); - } else { - this.setActiveLimit(activeCount); - } - - if (queuedCount) { - this.setQueueLimit(queuedCount); - } - - this._active = new Array(); - - if (0 != this.getQueueLimit()) { - this._queued = new Array(); - } + if (!activeCount) { + throw new Error("Active queue length must be explicitly set."); + } else { + this.setActiveLimit(activeCount); + } + + if (queuedCount) { + this.setQueueLimit(queuedCount); + } + + this._active = new Array(); + + if (0 != this.getQueueLimit()) { + this._queued = new Array(); + } } QxHttpTransportQueue.extend(QxTarget, "QxHttpTransportQueue"); @@ -46,82 +46,82 @@ QxHttpTransportQueue.addProperty({name : "queueLimit", type : QxConst.TYPEOF_NUMBER, defaultValue : -1}); proto.getActiveLimit = function() { - return this._activeLimit; + return this._activeLimit; } proto.setActiveLimit = function(limit) { - if (0 <= limit && limit != this._activeLimit) { - if (-1 == this._activeLimit) { - QxHttpTransport.alterPoolSize(limit); - } else { - QxHttpTransport.alterPoolSize(limit - this._activeLimit); - } - this._activeLimit = limit; - } + if (0 <= limit && limit != this._activeLimit) { + if (-1 == this._activeLimit) { + QxHttpTransport.alterPoolSize(limit); + } else { + QxHttpTransport.alterPoolSize(limit - this._activeLimit); + } + this._activeLimit = limit; + } } proto._active = null; proto._queued = null; proto.add = function() { - for (var i = 0; i < arguments.length; i++) { - this._add(arguments[i]); - } + for (var i = 0; i < arguments.length; i++) { + this._add(arguments[i]); + } } proto.remove = function() { - for (var i = 0; i < arguments.length; i++) { - this._remove(arguments[i]); - } + for (var i = 0; i < arguments.length; i++) { + this._remove(arguments[i]); + } } proto.contains = function(req) { - if (this._active.contains(req) || this._queued.contains(req)) { - return true; - } else { - return false; - } + if (this._active.contains(req) || this._queued.contains(req)) { + return true; + } else { + return false; + } } proto._add = function(req) { - if (this.contains(req)) { - return; - } - if (this.getActiveLimit() == -1 || this._active.length < this.getActiveLimit()) { - this._active.push(req); - req._begin(); - return true; - } else if (this.getQueueLimit() == -1 || this._queued.length < this.getQueueLimit()) { - this._queued.push(req); - return true; - } else { - return false; - } + if (this.contains(req)) { + return; + } + if (this.getActiveLimit() == -1 || this._active.length < this.getActiveLimit()) { + this._active.push(req); + req._begin(); + return true; + } else if (this.getQueueLimit() == -1 || this._queued.length < this.getQueueLimit()) { + this._queued.push(req); + return true; + } else { + return false; + } } proto._pump = function() { - if (this._active.length < this.getActiveLimit() && this._queued.length > 0) { - var req = this._queued.getFirst(); - this._active.push(req); - this._queued.remove(req); - req._begin(); - } + if (this._active.length < this.getActiveLimit() && this._queued.length > 0) { + var req = this._queued.getFirst(); + this._active.push(req); + this._queued.remove(req); + req._begin(); + } } proto.dispose = function() { - // Cowardly refuse to dispose a non-empty queue instance - if (0 == this._active.length && 0 == this._queued.length) { - delete this._active; - delete this._queued; - - return QxTarget.prototype.dispose.call(this); - } else { - return false; - } + // Cowardly refuse to dispose a non-empty queue instance + if (0 == this._active.length && 0 == this._queued.length) { + delete this._active; + delete this._queued; + + return QxTarget.prototype.dispose.call(this); + } else { + return false; + } } proto._remove = function(req) { - this._active.remove(req); - this._queued.remove(req); - this._pump(); + this._active.remove(req); + this._queued.remove(req); + this._pump(); } \ No newline at end of file Index: Http_Transport_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/Http_Transport_1.html,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- Http_Transport_1.html 8 Feb 2006 11:31:51 -0000 1.1.2.5 +++ Http_Transport_1.html 9 Feb 2006 08:35:14 -0000 1.1.2.6 @@ -17,116 +17,116 @@ <p>QxHttpTransport test - Ugly but functional</p> </div> <script type="text/javascript"> - window.application.main = function() { - var d = this.getClientWindow().getClientDocument(); - - var req = new QxHttpTransport(); - var queue = new QxHttpTransportQueue(1); - - req.setQueue(queue); - - var ta = new QxTextArea(); - var fs = new QxFieldSet("Response"); - var statLabel = new QxLabel("Status code:"); - var statCode = new QxTextField(); - - var sizeLabel = new QxLabel("Transfer:"); - var sizeText = new QxTextField(); - - function handleSendClick(e) { - sizeText.setValue("0"); - req.setTarget(targetBox.getValue()); - req.setPayload(payloadBox.getValue()); - req.send(); - } - - function inspect(obj) { - var s = new String(); - - for (var i in obj) { - s += i + ": " + obj[i] + "\n"; - } - return s; - } - - function handleReqDone(e) { - ta.setValue(this.getResponseText()); - statCode.setValue(this.getReadyState().toString()); - } - - function handleReqError(e) { - ta.setValue(inspect(e)); - statCode.setValue(this.getReadyState().toString); - } - - function handleReqProgress(e) { - sizeText.setValue(this.getFetchedLength().toString()); - } - - statLabel.setLocation(200, 48); - statCode.setLocation(280, 48); - statCode.setReadOnly(true); - - sizeLabel.setLocation(200, 78); - sizeText.setLocation(280, 78); - - fs.setLocation(20, 150); - fs.setWidth(600); - fs.setHeight(600); - fs.add(ta) - ta.setHeight("100%"); - ta.setWidth("100%"); - ta.setReadOnly(true); - - this.add(fs); - this.add(statLabel); - this.add(statCode); - - this.add(sizeLabel); - this.add(sizeText); - - req.addEventListener("error", handleReqError); - req.addEventListener("done", handleReqDone); - req.addEventListener("progress", handleReqProgress); - - var grid = new QxGridLayout(); - this.add(grid); - - with (grid) { - setLocation(20, 48); - setColumnCount(2); - setDimension("auto", "auto"); - setBorder(QxBorderObject.presets.outset); - setRowCount(3); - setVerticalSpacing(4); - setPadding(8); - - for (var i = 0; i < getRowCount(); i++) { - setRowHeight(i, 20); - } - - setColumnWidth(0, 45); - setColumnWidth(1, 100); - } - - var targetLabel = new QxLabel("Target"); - var targetBox = new QxTextField(); - - var payloadLabel = new QxLabel("Payload"); - var payloadBox = new QxTextField(); - - var button = new QxButton("Send"); - button.setHorizontalAlign("right"); - button.addEventListener("execute", handleSendClick); - - grid.add(targetLabel, 0, 0); - grid.add(targetBox, 1, 0); - grid.add(payloadLabel, 0, 1); - grid.add(payloadBox, 1, 1); - grid.add(button, 1, 2); - + window.application.main = function() { + var d = this.getClientWindow().getClientDocument(); + + var req = new QxHttpTransport(); + var queue = new QxHttpTransportQueue(1); + + req.setQueue(queue); + + var ta = new QxTextArea(); + var fs = new QxFieldSet("Response"); + var statLabel = new QxLabel("Status code:"); + var statCode = new QxTextField(); + + var sizeLabel = new QxLabel("Transfer:"); + var sizeText = new QxTextField(); + + function handleSendClick(e) { + sizeText.setValue("0"); + req.setTarget(targetBox.getValue()); + req.setPayload(payloadBox.getValue()); + req.send(); + } + + function inspect(obj) { + var s = new String(); + + for (var i in obj) { + s += i + ": " + obj[i] + "\n"; + } + return s; + } + + function handleReqDone(e) { + ta.setValue(this.getResponseText()); + statCode.setValue(this.getReadyState().toString()); + } + + function handleReqError(e) { + ta.setValue(inspect(e)); + statCode.setValue(this.getReadyState().toString); + } + + function handleReqProgress(e) { + sizeText.setValue(this.getFetchedLength().toString()); + } + + statLabel.setLocation(200, 48); + statCode.setLocation(280, 48); + statCode.setReadOnly(true); + + sizeLabel.setLocation(200, 78); + sizeText.setLocation(280, 78); + + fs.setLocation(20, 150); + fs.setWidth(600); + fs.setHeight(600); + fs.add(ta) + ta.setHeight("100%"); + ta.setWidth("100%"); + ta.setReadOnly(true); + + this.add(fs); + this.add(statLabel); + this.add(statCode); + + this.add(sizeLabel); + this.add(sizeText); + + req.addEventListener("error", handleReqError); + req.addEventListener("done", handleReqDone); + req.addEventListener("progress", handleReqProgress); + + var grid = new QxGridLayout(); + this.add(grid); + + with (grid) { + setLocation(20, 48); + setColumnCount(2); + setDimension("auto", "auto"); + setBorder(QxBorderObject.presets.outset); + setRowCount(3); + setVerticalSpacing(4); + setPadding(8); + + for (var i = 0; i < getRowCount(); i++) { + setRowHeight(i, 20); + } + + setColumnWidth(0, 45); + setColumnWidth(1, 100); + } + + var targetLabel = new QxLabel("Target"); + var targetBox = new QxTextField(); + + var payloadLabel = new QxLabel("Payload"); + var payloadBox = new QxTextField(); + + var button = new QxButton("Send"); + button.setHorizontalAlign("right"); + button.addEventListener("execute", handleSendClick); + + grid.add(targetLabel, 0, 0); + grid.add(targetBox, 1, 0); + grid.add(payloadLabel, 0, 1); + grid.add(payloadBox, 1, 1); + grid.add(button, 1, 2); + - } + } </script> </body> </html> \ No newline at end of file Index: QxHttpTransport.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/QxHttpTransport.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 --- QxHttpTransport.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 +++ QxHttpTransport.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -44,24 +44,24 @@ */ function QxHttpTransport() { - QxTarget.call(this); - - if (QxHttpTransport._requestCtor == QxHttpTransport._dummyRequest) { - throw new Error("Your current browser and/or configuration does not allow for XML HTTP requests to be issued."); - } else { - // Set up initial state - - var obj = this; - this.__handleStateChange = function() { - obj._handleStateChange(); - } - - with (this) { - _lastReadyState = 0; - _activeTimeouts = new Array(); - _pendingTimeouts = new Array(); - } - } + QxTarget.call(this); + + if (QxHttpTransport._requestCtor == QxHttpTransport._dummyRequest) { + throw new Error("Your current browser and/or configuration does not allow for XML HTTP requests to be issued."); + } else { + // Set up initial state + + var obj = this; + this.__handleStateChange = function() { + obj._handleStateChange(); + } + + with (this) { + _lastReadyState = 0; + _activeTimeouts = new Array(); + _pendingTimeouts = new Array(); + } + } } // Extend base class @@ -140,7 +140,7 @@ */ QxHttpTransport.getPoolSize = function() { - return QxHttpTransport._poolSize; + return QxHttpTransport._poolSize; } /*! @@ -148,7 +148,7 @@ */ QxHttpTransport.setPoolSize = function(size) { - QxHttpTransport._poolSize = size; + QxHttpTransport._poolSize = size; } /*! @@ -156,7 +156,7 @@ */ QxHttpTransport.alterPoolSize = function(difference) { - QxHttpTransport._poolSize += difference; + QxHttpTransport._poolSize += difference; } @@ -168,27 +168,27 @@ */ QxHttpTransport._getXMLHttpRequest = function() { - if (0 < QxHttpTransport._idlePool.length) { - var req = QxHttpTransport._idlePool.pop(); - QxHttpTransport._activePool.push(req); - return req; - } else if (QxHttpTransport._activePool.length < QxHttpTransport._poolSize) { - var req = QxHttpTransport._requestCtor(); - QxHttpTransport._activePool.push(req); - return req; - } + if (0 < QxHttpTransport._idlePool.length) { + var req = QxHttpTransport._idlePool.pop(); + QxHttpTransport._activePool.push(req); + return req; + } else if (QxHttpTransport._activePool.length < QxHttpTransport._poolSize) { + var req = QxHttpTransport._requestCtor(); + QxHttpTransport._activePool.push(req); + return req; + } } QxHttpTransport._releaseXMLHttpRequest = function(req) { - with (QxHttpTransport) { - if (_poolSize < _activePool.length + _idlePool.length) { - // Delete request - delete req; - } else { - _idlePool.push(req); - _activePool.remove(req); - } - } + with (QxHttpTransport) { + if (_poolSize < _activePool.length + _idlePool.length) { + // Delete request + delete req; + } else { + _idlePool.push(req); + _activePool.remove(req); + } + } } @@ -304,28 +304,28 @@ */ proto.addTimeout = function(timer, startState, endState) { - if (startState >= endState) { - throw new Error("Start state must be less than end state."); - } - - if (0 > startState || 3 < startState) { - throw new Error("Start state must be in the range 0 - 3."); - } - - if (1 > endState || 4 < endState) { - throw new Error("End state must be in the range 1 - 4."); - } - - // Add timer to pending list - - if (!this._pendingTimeouts[startState]) { - this._pendingTimeouts[startState] = new Array(); - } - - timer.addData("startstate", startState); - timer.addData("endstate", endState); - - this._pendingTimeouts[startState].push(timer); + if (startState >= endState) { + throw new Error("Start state must be less than end state."); + } + + if (0 > startState || 3 < startState) { + throw new Error("Start state must be in the range 0 - 3."); + } + + if (1 > endState || 4 < endState) { + throw new Error("End state must be in the range 1 - 4."); + } + + // Add timer to pending list + + if (!this._pendingTimeouts[startState]) { + this._pendingTimeouts[startState] = new Array(); + } + + timer.addData("startstate", startState); + timer.addData("endstate", endState); + + this._pendingTimeouts[startState].push(timer); } /*! @@ -333,9 +333,9 @@ */ proto.setQueue = function(queue) { - if (!this.requestInProgress()) { - this._queue = queue; - } + if (!this.requestInProgress()) { + this._queue = queue; + } } /*! @@ -343,7 +343,7 @@ */ proto.getQueue = function() { - return this.queue; + return this.queue; } /*! @@ -351,7 +351,7 @@ */ proto.requestInProgress = function() { - return this._inProgress; + return this._inProgress; } @@ -383,32 +383,32 @@ */ proto.send = function() { - if (true == this._inProgress) { - return; - } - - // Check that required properties are set + if (true == this._inProgress) { + return; + } + + // Check that required properties are set - if (this.getTarget() == null) { - throw new Error("Null target set for QxHttpRequest."); - } + if (this.getTarget() == null) { + throw new Error("Null target set for QxHttpRequest."); + } - - this._aborted = false; - this._req = null; - this._responseText = null; - this._responseXML = null; - this._responseHeaders = null; - this._status = -1; - this._statusText = null; - - // If we've gotten this far, add it to the queue if applicable - otherwise dispatch the request - - if (this._queue) { - this._queue._add(this); - } else { - this._begin(); - } + + this._aborted = false; + this._req = null; + this._responseText = null; + this._responseXML = null; + this._responseHeaders = null; + this._status = -1; + this._statusText = null; + + // If we've gotten this far, add it to the queue if applicable - otherwise dispatch the request + + if (this._queue) { + this._queue._add(this); + } else { + this._begin(); + } } /*! @@ -416,17 +416,17 @@ */ proto.abort = function() { - if (typeof(this._req.abort) != QxConst.TYPEOF_UNDEFINED) { - this._req.abort(); - } - if (this.queue) { - this._queue._remove(this); - QxHttpTransport._releaseXMLHttpRequest(this._req); - this._req = null; - } - this._aborted = true; - this._inProgress = false; - this._pumpTimeouts(); + if (typeof(this._req.abort) != QxConst.TYPEOF_UNDEFINED) { + this._req.abort(); + } + if (this.queue) { + this._queue._remove(this); + QxHttpTransport._releaseXMLHttpRequest(this._req); + this._req = null; + } + this._aborted = true; + this._inProgress = false; + this._pumpTimeouts(); } /*! @@ -434,13 +434,13 @@ */ proto.dispose = function() { - if (this._disposed) { - return; - } else if (this._req) { - this._req = null; - } - - return QxTarget.prototype.dispose.call(this); + if (this._disposed) { + return; + } else if (this._req) { + this._req = null; + } + + return QxTarget.prototype.dispose.call(this); } // Private / internal use methods @@ -451,83 +451,83 @@ */ proto._handleStateChange = function() { - var readyState = this._req.readyState; - if (3 == readyState) { - if (this.hasEventListeners("progress")) { - this.dispatchEvent(new QxEvent("progress")); - } - this._responseText = this._req.responseText; - this._responseXML = this._req.responseXML; - } - - if (!this.getMultipleReadyStateEvents() && this._lastReadyState == readyState) { - if (this.hasEventListeners(QxHttpTransport._readyStates[readyState])) { - this.dispatchEvent(new QxEvent(QxHttpTransport._readyStates[readyState])); - } - } else if (this._lastReadyState < readyState) { - this._lastReadyState = readyState; - switch (this._req.readyState) { - case 0: - // We should never get here - throw new Error("readyState 0 encountered inside QxHttpTransport"); - break; - case 1: - // Nothing to do here for the moment - break; - case 2: - if (QxHttpTransport._requestCtor != QxHttpTransport._activeXRequest) { - this._status = this._req.status; - this._statusText = this._req.statusText; - if (this._req.status != 200 && this._req.status != 0) { - this.abort(); - this._raiseError(); - } - } - break; - case 3: - // Attempt to get length - try { - var length = this.getResponseHeader("Content-Length"); - if (typeof(length) != QxConst.TYPEOF_NUMBER) { - length = -1; - } - } catch (ex) { - length = -1; - } - this.setResponseSize(length); - break; - case 4: - this._status = this._req.status; - this._statusText = this._req.statusText; - if (this._req.status != 200 && this._req.status != 0) { - this.abort(); - this._raiseError(); - } - - // Assume that readyState 4 only ever gets fired once - - this._inProgress = false; - this._lastReadyState = 0; - this._responseText = this._req.responseText; - this._responseXML = this._req.responseXML; - this._responseHeaders = this._req.getAllResponseHeaders(); - - if (this._queue) { - this._queue._remove(this); - QxHttpTransport._releaseXMLHttpRequest(this._req); - this._req = null; - } - - break; - default: - throw new Error("Out of range readyState encountered inside QxHttpTransport"); - break; - } - if (this.hasEventListeners(QxHttpTransport._readyStates[readyState])) { - this.dispatchEvent(new QxEvent(QxHttpTransport._readyStates[readyState])); - } - this._pumpTimeouts(readyState); - } + var readyState = this._req.readyState; + if (3 == readyState) { + if (this.hasEventListeners("progress")) { + this.dispatchEvent(new QxEvent("progress")); + } + this._responseText = this._req.responseText; + this._responseXML = this._req.responseXML; + } + + if (!this.getMultipleReadyStateEvents() && this._lastReadyState == readyState) { + if (this.hasEventListeners(QxHttpTransport._readyStates[readyState])) { + this.dispatchEvent(new QxEvent(QxHttpTransport._readyStates[readyState])); + } + } else if (this._lastReadyState < readyState) { + this._lastReadyState = readyState; + switch (this._req.readyState) { + case 0: + // We should never get here + throw new Error("readyState 0 encountered inside QxHttpTransport"); + break; + case 1: + // Nothing to do here for the moment + break; + case 2: + if (QxHttpTransport._requestCtor != QxHttpTransport._activeXRequest) { + this._status = this._req.status; + this._statusText = this._req.statusText; + if (this._req.status != 200 && this._req.status != 0) { + this.abort(); + this._raiseError(); + } + } + break; + case 3: + // Attempt to get length + try { + var length = this.getResponseHeader("Content-Length"); + if (typeof(length) != QxConst.TYPEOF_NUMBER) { + length = -1; + } + } catch (ex) { + length = -1; + } + this.setResponseSize(length); + break; + case 4: + this._status = this._req.status; + this._statusText = this._req.statusText; + if (this._req.status != 200 && this._req.status != 0) { + this.abort(); + this._raiseError(); + } + + // Assume that readyState 4 only ever gets fired once + + this._inProgress = false; + this._lastReadyState = 0; + this._responseText = this._req.responseText; + this._responseXML = this._req.responseXML; + this._responseHeaders = this._req.getAllResponseHeaders(); + + if (this._queue) { + this._queue._remove(this); + QxHttpTransport._releaseXMLHttpRequest(this._req); + this._req = null; + } + + break; + default: + throw new Error("Out of range readyState encountered inside QxHttpTransport"); + break; + } + if (this.hasEventListeners(QxHttpTransport._readyStates[readyState])) { + this.dispatchEvent(new QxEvent(QxHttpTransport._readyStates[readyState])); + } + this._pumpTimeouts(readyState); + } } /*! @@ -535,34 +535,34 @@ */ proto._begin = function() { - this._inProgress = true; - - if (null == this._queue) { - if (this._req) { - this._req.abort(); - } else { - this._req = QxHttpTransport._requestCtor(); - } - } else { - this._req = QxHttpTransport._getXMLHttpRequest(); - } - - this._req.onreadystatechange = this.__handleStateChange; - - for (i in this._requestHeaders) { - this._req.setRequestHeader(i, this._requestHeaders[i]); - } - if (null != this.getUsername()) { - if (null == this.getPassword()) { - this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync(), this.getUsername()); - } else { - this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync(), this.getUsername(), this.getPassword()); - } - } else { - this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync()); - } - this._req.send(this.getPayload()); - this._pumpTimeouts(0); + this._inProgress = true; + + if (null == this._queue) { + if (this._req) { + this._req.abort(); + } else { + this._req = QxHttpTransport._requestCtor(); + } + } else { + this._req = QxHttpTransport._getXMLHttpRequest(); + } + + this._req.onreadystatechange = this.__handleStateChange; + + for (i in this._requestHeaders) { + this._req.setRequestHeader(i, this._requestHeaders[i]); + } + if (null != this.getUsername()) { + if (null == this.getPassword()) { + this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync(), this.getUsername()); + } else { + this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync(), this.getUsername(), this.getPassword()); + } + } else { + this._req.open(this.getRequestMethod(), this.getTarget(), this.getAsync()); + } + this._req.send(this.getPayload()); + this._pumpTimeouts(0); } /*! @@ -570,10 +570,10 @@ */ proto._newRequest = function() { - if (null == this._queue) { - // Return new object as required - return this._requestCtor(); - } + if (null == this._queue) { + // Return new object as required + return this._requestCtor(); + } } /*! @@ -581,9 +581,9 @@ */ proto._raiseError = function() { - if (this.hasEventListeners("error")) { - this.dispatchEvent(new QxEvent("error")); - } + if (this.hasEventListeners("error")) { + this.dispatchEvent(new QxEvent("error")); + } } /*! @@ -591,42 +591,42 @@ */ proto._pumpTimeouts = function(rs) { - var i; - - if (-1 == rs || 4 == rs || this._aborted) { - // Put all timeouts back in the "pending queue" - for (var i = 0; i < this._activeTimeouts.length; i++) { - this._depopulateActiveTimeoutQueue(this._activeTimeouts[i]); - } - } else { - // Stop all current timers - if (this._activeTimeouts[rs]) { - this._depopulateActiveTimeoutQueue(this._activeTimeouts[rs]); - } - - // Start current timers - - if (this._pendingTimeouts[rs]) { - for (i in this._pendingTimeouts[rs]) { - var timeout = this._pendingTimeouts[rs][i]; - var endState = timeout.getData("endstate"); - - this._activeTimeouts[endState].push(timeout); - this._pendingTimeouts[rs].removeAt(i); - timeout.start(); - } - } - } + var i; + + if (-1 == rs || 4 == rs || this._aborted) { + // Put all timeouts back in the "pending queue" + for (var i = 0; i < this._activeTimeouts.length; i++) { + this._depopulateActiveTimeoutQueue(this._activeTimeouts[i]); + } + } else { + // Stop all current timers + if (this._activeTimeouts[rs]) { + this._depopulateActiveTimeoutQueue(this._activeTimeouts[rs]); + } + + // Start current timers + + if (this._pendingTimeouts[rs]) { + for (i in this._pendingTimeouts[rs]) { + var timeout = this._pendingTimeouts[rs][i]; + var endState = timeout.getData("endstate"); + + this._activeTimeouts[endState].push(timeout); + this._pendingTimeouts[rs].removeAt(i); + timeout.start(); + } + } + } } proto._depopulateActiveTimeoutQueue = function(queue) { - for (var i = 0; i < queue.length; i++) { - var timeout = queue[i]; - var startState = timeout.getData("startstate"); - - timeout.stop(); - this._pendingTimeouts[startState].push(timeout); - queue.removeAt(i); - } + for (var i = 0; i < queue.length; i++) { + var timeout = queue[i]; + var startState = timeout.getData("startstate"); + + timeout.stop(); + this._pendingTimeouts[startState].push(timeout); + queue.removeAt(i); + } } |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:35:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/source/script/core Modified Files: Tag: renderer QxBuilder.js Log Message: Corrected tab2spaces, dos2unix and file rights Index: QxBuilder.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxBuilder.js,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -u -d -r1.6.2.2 -r1.6.2.3 --- QxBuilder.js 24 Jan 2006 13:14:20 -0000 1.6.2.2 +++ QxBuilder.js 9 Feb 2006 08:35:14 -0000 1.6.2.3 @@ -2,29 +2,29 @@ A class to generate a widget hierarchy from XML QxBuilder is not thread safe by design - - state information is stored at the instance level - - only use it from a single thread + - state information is stored at the instance level + - only use it from a single thread */ function QxBuilder(flags) { QxTarget.call(this); - // map<className, map<propertyName, function>> - this._propertyEditors = {}; + // map<className, map<propertyName, function>> + this._propertyEditors = {}; - this._registerDefaultPropertyEditors(); + this._registerDefaultPropertyEditors(); - // keep track of where we are up to within the XML document - to assist in debugging messages - this._debugContext = []; + // keep track of where we are up to within the XML document - to assist in debugging messages + this._debugContext = []; - this._flags = flags || {}; + this._flags = flags || {}; - // ensure the default flags are setup - if (this._flags.strict == null) { - // strick mode throws exceptions when - // * widget setters don't exist - this._flags.strict = true; - }; + // ensure the default flags are setup + if (this._flags.strict == null) { + // strick mode throws exceptions when + // * widget setters don't exist + this._flags.strict = true; + }; }; @@ -37,216 +37,216 @@ */ /*! - Asynchronous method - fetches XML data from the URL then delegates to build to process the xml - Dispatches a QxEvent("done") after the hierarchy is built + Asynchronous method - fetches XML data from the URL then delegates to build to process the xml + Dispatches a QxEvent("done") after the hierarchy is built */ proto.buildFromUrl = function(parent, url) { - var loader = new QxXmlHttpLoader(); - var self = this; - loader.addEventListener("complete", function(e) { - self.build(parent, e.getNewValue()); - e.preventDefault(); - self.dispatchEvent(new QxEvent("done"), true); - }); - loader.load(url); + var loader = new QxXmlHttpLoader(); + var self = this; + loader.addEventListener("complete", function(e) { + self.build(parent, e.getNewValue()); + e.preventDefault(); + self.dispatchEvent(new QxEvent("done"), true); + }); + loader.load(url); }; /*! - parse the children of the xml and appending all widgets to the parent widget - @param parent can either be the application instance, or a widget to append the xml toplevel widgets to - @param node can be either a xml string, or a xml dom document or fragment + parse the children of the xml and appending all widgets to the parent widget + @param parent can either be the application instance, or a widget to append the xml toplevel widgets to + @param node can be either a xml string, or a xml dom document or fragment */ proto.build = function(parent, node) { - if (parent instanceof QxApplication) { - parent = parent.getClientWindow().getClientDocument(); - }; + if (parent instanceof QxApplication) { + parent = parent.getClientWindow().getClientDocument(); + }; - // support embedding of an XML string within a textarea - if (typeof node == "object" && node.nodeName == 'TEXTAREA') { - node = node.value; - }; + // support embedding of an XML string within a textarea + if (typeof node == "object" && node.nodeName == 'TEXTAREA') { + node = node.value; + }; - // parse strings in to XML DOM - if (typeof node == "string") { - var parser = new DOMParser(); - node = parser.parseFromString(node, "text/xml"); - // TODO handle parse errors - }; - this._buildNodes(parent, node.childNodes); + // parse strings in to XML DOM + if (typeof node == "string") { + var parser = new DOMParser(); + node = parser.parseFromString(node, "text/xml"); + // TODO handle parse errors + }; + this._buildNodes(parent, node.childNodes); }; proto._buildNodes = function(parent, nodes) { - var x = 0; - for (var i = 0; i < nodes.length; i++) { - var n = nodes[i]; - // 1 = ELEMENT_NODE - if (n.nodeType == 1) { - this._debugContext.push(n.nodeName+'['+(x++)+']'); - this._buildWidgetFromNode(parent, n); - this._debugContext.pop(); - }; - }; + var x = 0; + for (var i = 0; i < nodes.length; i++) { + var n = nodes[i]; + // 1 = ELEMENT_NODE + if (n.nodeType == 1) { + this._debugContext.push(n.nodeName+'['+(x++)+']'); + this._buildWidgetFromNode(parent, n); + this._debugContext.pop(); + }; + }; }; proto._buildEventListener = function(widget, args, text) { - if (QxUtil.isInvalidString(args.type)) { - throw this._newBuildError('eventListener requires a string type attribute'); - }; + if (QxUtil.isInvalidString(args.type)) { + throw this._newBuildError('eventListener requires a string type attribute'); + }; - var self = this; + var self = this; - // are we delegating ? - if (QxUtil.isValidString(args.delegate)) { + // are we delegating ? + if (QxUtil.isValidString(args.delegate)) { - // remember the build context to be able to display it after built time - var dc = this._formatDebugContext(); + // remember the build context to be able to display it after built time + var dc = this._formatDebugContext(); - if (args.delegate.indexOf('.') > -1) { - // delegation to a global method - var p = args.delegate.split('.'); - var o = p[0]; - var m = p[1]; - widget.addEventListener(args.type, function(e) { + if (args.delegate.indexOf('.') > -1) { + // delegation to a global method + var p = args.delegate.split('.'); + var o = p[0]; + var m = p[1]; + widget.addEventListener(args.type, function(e) { - if (!window[o]) { - throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); - }; + if (!window[o]) { + throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); + }; - if (!window[o][m]) { - throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); - }; + if (!window[o][m]) { + throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); + }; - window[o][m].apply(window[o], [e]); - }); - } - else { + window[o][m].apply(window[o], [e]); + }); + } + else { - // delegation to a global method - widget.addEventListener(args.type, function(e) { + // delegation to a global method + widget.addEventListener(args.type, function(e) { - if (!window[args.delegate]) { - throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); - }; + if (!window[args.delegate]) { + throw self._newError(dc, 'delegate not found', {delegate:args.delegate}); + }; - window[args.delegate].apply(null, [e]); - }); - }; - } - else { + window[args.delegate].apply(null, [e]); + }); + }; + } + else { - // build a function object using text as the function body - // - // the args attribute indicates the name of the event argument - // if not provided - use 'event' as the name - if (!args.args) { - args.args = "event"; - }; + // build a function object using text as the function body + // + // the args attribute indicates the name of the event argument + // if not provided - use 'event' as the name + if (!args.args) { + args.args = "event"; + }; - var f = new Function(args.args, text); - widget.addEventListener(args.type, f); - }; + var f = new Function(args.args, text); + widget.addEventListener(args.type, f); + }; }; /* - a node builder that will be used if no node builder is declared for a nodeName + a node builder that will be used if no node builder is declared for a nodeName */ proto._buildWidgetFromNode = function(parent, node) { - var className = this._extractClassName(node); + var className = this._extractClassName(node); - if (!className) { - throw this._newBuildError("unrecognised node", {nodeName:node.nodeName}); - }; + if (!className) { + throw this._newBuildError("unrecognised node", {nodeName:node.nodeName}); + }; - if (className == "QxWidgets") { - // generic container node to allow xml to contain multiple toplevel nodes - this._buildNodes(parent, node.childNodes); - return; - }; + if (className == "QxWidgets") { + // generic container node to allow xml to contain multiple toplevel nodes + this._buildNodes(parent, node.childNodes); + return; + }; - if (className == "QxScript") { - var e = document.createElement("script"); - var attribs = this._mapXmlAttribToObject(node); - if (attribs.type) { - e.type = attribs.type; - } - else { - e.type='text/javascript'; - }; - - // e.innerHTML = node.firstChild.nodeValue; - - // fix for Internet Explorer by Cristian Bica - if (QxClient.isMshtml()) - { - e.innerHTML = eval(node.firstChild.nodeValue); - } - else - { - e.innerHTML = node.firstChild.nodeValue; - }; - - document.body.appendChild(e); - return; - }; + if (className == "QxScript") { + var e = document.createElement("script"); + var attribs = this._mapXmlAttribToObject(node); + if (attribs.type) { + e.type = attribs.type; + } + else { + e.type='text/javascript'; + }; + + // e.innerHTML = node.firstChild.nodeValue; + + // fix for Internet Explorer by Cristian Bica + if (QxClient.isMshtml()) + { + e.innerHTML = eval(node.firstChild.nodeValue); + } + else + { + e.innerHTML = node.firstChild.nodeValue; + }; + + document.body.appendChild(e); + return; + }; - if (className == "QxEventListener") { - var attribs = this._mapXmlAttribToObject(node); - var text; - if (node.firstChild) { - text = node.firstChild.nodeValue; - }; - this._buildEventListener(parent, attribs, text); - return; - }; + if (className == "QxEventListener") { + var attribs = this._mapXmlAttribToObject(node); + var text; + if (node.firstChild) { + text = node.firstChild.nodeValue; + }; + this._buildEventListener(parent, attribs, text); + return; + }; - var classConstructor = window[className]; - if (!classConstructor) { - throw this._newBuildError("constructor not found", {className:className}); - }; + var classConstructor = window[className]; + if (!classConstructor) { + throw this._newBuildError("constructor not found", {className:className}); + }; - // construct the widget instance - using the default constructor - var widget = new classConstructor(); - var attribs = this._mapXmlAttribToObject(node, widget); - delete attribs['qxtype']; - - var dummyWidget = attribs.id && attribs.id.indexOf(QxConst.CORE_UNDERLINE) == 0; - - if (attribs.id) { - // register a global refrence for this widget - window[attribs.id] = widget; - delete attribs.id; - }; + // construct the widget instance - using the default constructor + var widget = new classConstructor(); + var attribs = this._mapXmlAttribToObject(node, widget); + delete attribs['qxtype']; + + var dummyWidget = attribs.id && attribs.id.indexOf(QxConst.CORE_UNDERLINE) == 0; + + if (attribs.id) { + // register a global refrence for this widget + window[attribs.id] = widget; + delete attribs.id; + }; - // convert any on?? attribs into event listeners - for (var a in attribs) { + // convert any on?? attribs into event listeners + for (var a in attribs) { - if (a.toLowerCase().indexOf('on') == 0 && a.length > 2) { + if (a.toLowerCase().indexOf('on') == 0 && a.length > 2) { - // there may be issues here for XHTML based attributes - due to their case - var type = a.substring(2); - type = type.charAt(0) + type.substring(1); + // there may be issues here for XHTML based attributes - due to their case + var type = a.substring(2); + type = type.charAt(0) + type.substring(1); - this._buildEventListener(widget, {type:type,args:'event'}, attribs[a]); + this._buildEventListener(widget, {type:type,args:'event'}, attribs[a]); - delete attribs[a]; - }; - }; + delete attribs[a]; + }; + }; - for (var n in attribs) { - this._debugContext.push("@" + n); - this._setWidgetProperty(widget, n, attribs[n]); - this._debugContext.pop(); - }; - + for (var n in attribs) { + this._debugContext.push("@" + n); + this._setWidgetProperty(widget, n, attribs[n]); + this._debugContext.pop(); + }; + if(!dummyWidget) { parent.add(widget); } - // recurse to all of the nodes children, using the newly created widget as the parent - this._buildNodes(widget, node.childNodes); + // recurse to all of the nodes children, using the newly created widget as the parent + this._buildNodes(widget, node.childNodes); }; /* @@ -257,163 +257,163 @@ /*! - Set a widget's property using a propertyEditor + Set a widget's property using a propertyEditor */ proto._setWidgetProperty = function(widget, name, value) { - var editor = this._findPropertyEditor(widget.classname, name); - if (!editor) { - editor = this._coercePropertyEditor; - }; - editor.set(widget, name, value); + var editor = this._findPropertyEditor(widget.classname, name); + if (!editor) { + editor = this._coercePropertyEditor; + }; + editor.set(widget, name, value); }; proto._findPropertyEditor = function(className, propertyName) { - // get all defined propertyEditors for this widget's prototype - var m = this._propertyEditors[className]; - // lookup the converter for this property name - if (m && m[propertyName]) { - return m[propertyName]; - }; + // get all defined propertyEditors for this widget's prototype + var m = this._propertyEditors[className]; + // lookup the converter for this property name + if (m && m[propertyName]) { + return m[propertyName]; + }; - // try the widget's superclass - var w = window[className]; - if (w && w.superclass && w.superclass.prototype.classname) { - return this._findPropertyEditor(w.superclass.prototype.classname, propertyName); - }; + // try the widget's superclass + var w = window[className]; + if (w && w.superclass && w.superclass.prototype.classname) { + return this._findPropertyEditor(w.superclass.prototype.classname, propertyName); + }; - return null; + return null; }; proto.registerPropertyEditor = function(className, propertyName, editor) { - if (!this._propertyEditors[className]) this._propertyEditors[className] = {}; - this._propertyEditors[className][propertyName] = editor; + if (!this._propertyEditors[className]) this._propertyEditors[className] = {}; + this._propertyEditors[className][propertyName] = editor; }; proto._registerDefaultPropertyEditors = function() { - var self = this; + var self = this; - // a property editor that splits the values on a comma and coerces each one into a suitable type - var commaDelimitedPropertyEditor = {}; - commaDelimitedPropertyEditor.set = function(widget, name, value) { - if (value == null || value == "") { - self._setProperty(widget, name, null); - return; - }; + // a property editor that splits the values on a comma and coerces each one into a suitable type + var commaDelimitedPropertyEditor = {}; + commaDelimitedPropertyEditor.set = function(widget, name, value) { + if (value == null || value == "") { + self._setProperty(widget, name, null); + return; + }; - var s = value.split(","); - var v = []; - for (var i = 0; i < s.length; i++) { - v[i] = self._coerce(s[i]); - }; + var s = value.split(","); + var v = []; + for (var i = 0; i < s.length; i++) { + v[i] = self._coerce(s[i]); + }; - self._setProperties(widget, name, v); - }; + self._setProperties(widget, name, v); + }; - var evalPropertyEditor = {}; - evalPropertyEditor.set = function(widget, name, value) { - if (value == null || value == "") { - self._setProperty(widget, name, null); - return; - }; + var evalPropertyEditor = {}; + evalPropertyEditor.set = function(widget, name, value) { + if (value == null || value == "") { + self._setProperty(widget, name, null); + return; + }; - self._setProperty(widget, name, eval(value)); - }; - - var referencePropertyEditor = {}; - referencePropertyEditor.set = function(widget, name, value) { - self._setProperty(widget, name, window[value]); - }; - - this.registerPropertyEditor('QxWidget', 'location', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'dimension', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'space', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'edge', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'padding', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'margin', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'heights', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'widths', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'align', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'stretch', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'clipLocation', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'clipDimension', commaDelimitedPropertyEditor); - this.registerPropertyEditor('QxWidget', 'clip', commaDelimitedPropertyEditor); - - this.registerPropertyEditor('QxWidget', 'backgroundColor', evalPropertyEditor); - this.registerPropertyEditor('QxWidget', 'color', evalPropertyEditor); - this.registerPropertyEditor('QxWidget', 'border', evalPropertyEditor); + self._setProperty(widget, name, eval(value)); + }; + + var referencePropertyEditor = {}; + referencePropertyEditor.set = function(widget, name, value) { + self._setProperty(widget, name, window[value]); + }; + + this.registerPropertyEditor('QxWidget', 'location', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'dimension', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'space', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'edge', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'padding', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'margin', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'heights', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'widths', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'align', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'stretch', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'clipLocation', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'clipDimension', commaDelimitedPropertyEditor); + this.registerPropertyEditor('QxWidget', 'clip', commaDelimitedPropertyEditor); + + this.registerPropertyEditor('QxWidget', 'backgroundColor', evalPropertyEditor); + this.registerPropertyEditor('QxWidget', 'color', evalPropertyEditor); + this.registerPropertyEditor('QxWidget', 'border', evalPropertyEditor); - - this.registerPropertyEditor('QxMenuButton', 'menu', referencePropertyEditor); - this.registerPropertyEditor('QxRadioButton', 'manager', referencePropertyEditor); - this.registerPropertyEditor('QxMenuRadioButton', 'group', referencePropertyEditor); + + this.registerPropertyEditor('QxMenuButton', 'menu', referencePropertyEditor); + this.registerPropertyEditor('QxRadioButton', 'manager', referencePropertyEditor); + this.registerPropertyEditor('QxMenuRadioButton', 'group', referencePropertyEditor); - // a property editor that just tries to coerce the string value into a suitable type - this._coercePropertyEditor = {}; - this._coercePropertyEditor.set = function(widget, name, value) { - self._setProperty(widget, name, self._coerce(value)); - }; + // a property editor that just tries to coerce the string value into a suitable type + this._coercePropertyEditor = {}; + this._coercePropertyEditor.set = function(widget, name, value) { + self._setProperty(widget, name, self._coerce(value)); + }; }; proto._coerce = function(value) { - // don't really care if its null - if (value == null) return value; + // don't really care if its null + if (value == null) return value; - // is it alreay a javascript type - if (typeof value == 'object') return value; - if (typeof value == 'function') return value; - if (typeof value == 'number') return value; - if (typeof value == 'boolean') return value; - if (typeof value == 'date') return value; - if (typeof value == 'array') return value; + // is it alreay a javascript type + if (typeof value == 'object') return value; + if (typeof value == 'function') return value; + if (typeof value == 'number') return value; + if (typeof value == 'boolean') return value; + if (typeof value == 'date') return value; + if (typeof value == 'array') return value; - // is it a number ? - var n = new Number(value); - if (!isNaN(n)) return n.valueOf(); + // is it a number ? + var n = new Number(value); + if (!isNaN(n)) return n.valueOf(); - // is it a boolean ? - if (value == "true") return true; - if (value == "false") return false; + // is it a boolean ? + if (value == "true") return true; + if (value == "false") return false; - // is it a date ? - var d = Date.parse(value); - if (d != null && !isNaN(d)) return d; + // is it a date ? + var d = Date.parse(value); + if (d != null && !isNaN(d)) return d; - // leave it as a string - if (typeof value == 'string') { - // convert empty string into null - if (value == "") return null; - }; + // leave it as a string + if (typeof value == 'string') { + // convert empty string into null + if (value == "") return null; + }; - return value; + return value; }; proto._setProperty = function(widget, name, value) { - this._setProperties(widget, name, [value]); + this._setProperties(widget, name, [value]); }; proto._setProperties = function(widget, name, value) { - // TODO : find a cheaper way to find the setter - // NOTE : the name is LOWERCASE - hence we iterate all properties of the widget - // to try and find a matching one - var n = "set" + name; - for (var a in widget) { - if (n == a.toLowerCase()) { - var setter = widget[a]; - break; - }; - }; - if (!setter && this._flags.strict) throw this._newBuildError('no setter defined on widget instance', {widget:widget, property:name}); - setter.apply(widget, value); + // TODO : find a cheaper way to find the setter + // NOTE : the name is LOWERCASE - hence we iterate all properties of the widget + // to try and find a matching one + var n = "set" + name; + for (var a in widget) { + if (n == a.toLowerCase()) { + var setter = widget[a]; + break; + }; + }; + if (!setter && this._flags.strict) throw this._newBuildError('no setter defined on widget instance', {widget:widget, property:name}); + setter.apply(widget, value); }; @@ -431,24 +431,24 @@ */ proto._extractClassName = function(node) { var n; - if (node.nodeName.toUpperCase() == "DIV") { - if (!node.attributes['qxtype']) - return null; - n = node.attributes['qxtype'].value; + if (node.nodeName.toUpperCase() == "DIV") { + if (!node.attributes['qxtype']) + return null; + n = node.attributes['qxtype'].value; } else { - n = node.nodeName; - var nameParts = n.split(":"); + n = node.nodeName; + var nameParts = n.split(":"); if (nameParts.length == 2) - return nameParts[0].toFirstUp() + nameParts[1].toFirstUp(); - } - return "Qx" + n.toFirstUp(); + return nameParts[0].toFirstUp() + nameParts[1].toFirstUp(); + } + return "Qx" + n.toFirstUp(); }; proto._mapXmlAttribToObject = function(node) { var r = {}; var c = node.attributes; for (var i=0; i<c.length; i++) { - r[c[i].name.toLowerCase()] = c[i].value; + r[c[i].name.toLowerCase()] = c[i].value; }; return r; }; @@ -460,35 +460,35 @@ */ /*! - the debugContext is only correct at build time + the debugContext is only correct at build time */ proto._newBuildError = function(message, data, exception) { - return this._newError(this._formatDebugContext(), message, data, exception); + return this._newError(this._formatDebugContext(), message, data, exception); }; proto._newError = function(debugContext, message, data, exception) { - var m = message; - var joiner = ""; - var d = ""; - if (data) { - for (var p in data) { - d += joiner + p + "=" + data[p] + ''; - joiner = " "; - }; - m += " " + d + " "; - }; - m += " context: " + debugContext + " "; - if (exception) { - m+= " error: " + exception + " "; - }; - return new Error(m); + var m = message; + var joiner = ""; + var d = ""; + if (data) { + for (var p in data) { + d += joiner + p + "=" + data[p] + ''; + joiner = " "; + }; + m += " " + d + " "; + }; + m += " context: " + debugContext + " "; + if (exception) { + m+= " error: " + exception + " "; + }; + return new Error(m); }; proto._formatDebugContext = function() { - var s = ""; - for (var i = 0; i < this._debugContext.length; i++) { - var v = this._debugContext[i]; - s += '/'+v; - }; - return s; + var s = ""; + for (var i = 0; i < this._debugContext.length; i++) { + var v = this._debugContext[i]; + s += '/'+v; + }; + return s; }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:35:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/themes/colors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/source/themes/colors Modified Files: Tag: renderer system.js windowsClassic.js windowsLunaBlue.js windowsLunaGreen.js windowsLunaSilver.js windowsRoyale.js Log Message: Corrected tab2spaces, dos2unix and file rights Index: windowsRoyale.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/windowsRoyale.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 --- windowsRoyale.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ windowsRoyale.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,62 +1,62 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("windowsRoyale", "Windows Royale", -{ - activeborder : [ 212,208,200 ], - activecaption : [ 51,94,168 ], - appworkspace : [ 128,128,128 ], - background : [ 0,0,64 ], - buttonface : [ 235,233,237 ], - buttonhighlight : [ 255,255,255 ], - buttonshadow : [ 167,166,170 ], - buttontext : [ 0,0,0 ], - captiontext : [ 255,255,255 ], - graytext : [ 167,166,170 ], - highlight : [ 51,94,168 ], - highlighttext : [ 255,255,255 ], - inactiveborder : [ 212,208,200 ], - inactivecaption : [ 111,161,217 ], - inactivecaptiontext : [ 255,255,255 ], - infobackground : [ 255,255,225 ], - infotext : [ 0,0,0 ], - menu : [ 255,255,255 ], - menutext : [ 0,0,0 ], - scrollbar : [ 212,208,200 ], - threeddarkshadow : [ 133,135,140 ], - threedface : [ 235,233,237 ], - threedhighlight : [ 255,255,255 ], - threedlightshadow : [ 220,223,228 ], - threedshadow : [ 167,166,170 ], - window : [ 255,255,255 ], - windowframe : [ 0,0,0 ], - windowtext : [ 0,0,0 ] -}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("windowsRoyale", "Windows Royale", +{ + activeborder : [ 212,208,200 ], + activecaption : [ 51,94,168 ], + appworkspace : [ 128,128,128 ], + background : [ 0,0,64 ], + buttonface : [ 235,233,237 ], + buttonhighlight : [ 255,255,255 ], + buttonshadow : [ 167,166,170 ], + buttontext : [ 0,0,0 ], + captiontext : [ 255,255,255 ], + graytext : [ 167,166,170 ], + highlight : [ 51,94,168 ], + highlighttext : [ 255,255,255 ], + inactiveborder : [ 212,208,200 ], + inactivecaption : [ 111,161,217 ], + inactivecaptiontext : [ 255,255,255 ], + infobackground : [ 255,255,225 ], + infotext : [ 0,0,0 ], + menu : [ 255,255,255 ], + menutext : [ 0,0,0 ], + scrollbar : [ 212,208,200 ], + threeddarkshadow : [ 133,135,140 ], + threedface : [ 235,233,237 ], + threedhighlight : [ 255,255,255 ], + threedlightshadow : [ 220,223,228 ], + threedshadow : [ 167,166,170 ], + window : [ 255,255,255 ], + windowframe : [ 0,0,0 ], + windowtext : [ 0,0,0 ] +}); Index: windowsLunaGreen.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/windowsLunaGreen.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 --- windowsLunaGreen.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ windowsLunaGreen.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,62 +1,62 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("windowsLunaGreen", "Windows Luna Green", -{ - activeborder : [ 212,208,200 ], - activecaption : [ 139,161,105 ], - appworkspace : [ 128,128,128 ], - background : [ 157,172,189 ], - buttonface : [ 236,233,216 ], - buttonhighlight : [ 255,255,255 ], - buttonshadow : [ 172,168,153 ], - buttontext : [ 0,0,0 ], - captiontext : [ 255,255,255 ], - graytext : [ 172,168,153 ], - highlight : [ 147,160,112 ], - highlighttext : [ 255,255,255 ], - inactiveborder : [ 212,208,200 ], - inactivecaption : [ 212,214,186 ], - inactivecaptiontext : [ 255,255,255 ], - infobackground : [ 255,255,225 ], - infotext : [ 0,0,0 ], - menu : [ 255,255,255 ], - menutext : [ 0,0,0 ], - scrollbar : [ 212,208,200 ], - threeddarkshadow : [ 113,111,100 ], - threedface : [ 236,233,216 ], - threedhighlight : [ 255,255,255 ], - threedlightshadow : [ 241,239,226 ], - threedshadow : [ 172,168,153 ], - window : [ 255,255,255 ], - windowframe : [ 0,0,0 ], - windowtext : [ 0,0,0 ] -}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("windowsLunaGreen", "Windows Luna Green", +{ + activeborder : [ 212,208,200 ], + activecaption : [ 139,161,105 ], + appworkspace : [ 128,128,128 ], + background : [ 157,172,189 ], + buttonface : [ 236,233,216 ], + buttonhighlight : [ 255,255,255 ], + buttonshadow : [ 172,168,153 ], + buttontext : [ 0,0,0 ], + captiontext : [ 255,255,255 ], + graytext : [ 172,168,153 ], + highlight : [ 147,160,112 ], + highlighttext : [ 255,255,255 ], + inactiveborder : [ 212,208,200 ], + inactivecaption : [ 212,214,186 ], + inactivecaptiontext : [ 255,255,255 ], + infobackground : [ 255,255,225 ], + infotext : [ 0,0,0 ], + menu : [ 255,255,255 ], + menutext : [ 0,0,0 ], + scrollbar : [ 212,208,200 ], + threeddarkshadow : [ 113,111,100 ], + threedface : [ 236,233,216 ], + threedhighlight : [ 255,255,255 ], + threedlightshadow : [ 241,239,226 ], + threedshadow : [ 172,168,153 ], + window : [ 255,255,255 ], + windowframe : [ 0,0,0 ], + windowtext : [ 0,0,0 ] +}); Index: windowsLunaBlue.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/windowsLunaBlue.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 --- windowsLunaBlue.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ windowsLunaBlue.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,62 +1,62 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("windowsLunaBlue", "Windows Luna Blue", -{ - activeborder : [ 212,208,200 ], - activecaption : [ 0,84,227 ], - appworkspace : [ 128,128,128 ], - background : [ 0,78,152 ], - buttonface : [ 236,233,216 ], - buttonhighlight : [ 255,255,255 ], - buttonshadow : [ 172,168,153 ], - buttontext : [ 0,0,0 ], - captiontext : [ 255,255,255 ], - graytext : [ 172,168,153 ], - highlight : [ 49,106,197 ], - highlighttext : [ 255,255,255 ], - inactiveborder : [ 212,208,200 ], - inactivecaption : [ 122,150,223 ], - inactivecaptiontext : [ 216,228,248 ], - infobackground : [ 255,255,225 ], - infotext : [ 0,0,0 ], - menu : [ 255,255,255 ], - menutext : [ 0,0,0 ], - scrollbar : [ 212,208,200 ], - threeddarkshadow : [ 113,111,100 ], - threedface : [ 236,233,216 ], - threedhighlight : [ 255,255,255 ], - threedlightshadow : [ 241,239,226 ], - threedshadow : [ 172,168,153 ], - window : [ 255,255,255 ], - windowframe : [ 0,0,0 ], - windowtext : [ 0,0,0 ] -}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("windowsLunaBlue", "Windows Luna Blue", +{ + activeborder : [ 212,208,200 ], + activecaption : [ 0,84,227 ], + appworkspace : [ 128,128,128 ], + background : [ 0,78,152 ], + buttonface : [ 236,233,216 ], + buttonhighlight : [ 255,255,255 ], + buttonshadow : [ 172,168,153 ], + buttontext : [ 0,0,0 ], + captiontext : [ 255,255,255 ], + graytext : [ 172,168,153 ], + highlight : [ 49,106,197 ], + highlighttext : [ 255,255,255 ], + inactiveborder : [ 212,208,200 ], + inactivecaption : [ 122,150,223 ], + inactivecaptiontext : [ 216,228,248 ], + infobackground : [ 255,255,225 ], + infotext : [ 0,0,0 ], + menu : [ 255,255,255 ], + menutext : [ 0,0,0 ], + scrollbar : [ 212,208,200 ], + threeddarkshadow : [ 113,111,100 ], + threedface : [ 236,233,216 ], + threedhighlight : [ 255,255,255 ], + threedlightshadow : [ 241,239,226 ], + threedshadow : [ 172,168,153 ], + window : [ 255,255,255 ], + windowframe : [ 0,0,0 ], + windowtext : [ 0,0,0 ] +}); Index: system.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/system.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 --- system.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ system.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,32 +1,32 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("operatingSystemDefault", "Operating System Default", {}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("operatingSystemDefault", "Operating System Default", {}); Index: windowsLunaSilver.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/windowsLunaSilver.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 --- windowsLunaSilver.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ windowsLunaSilver.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,62 +1,62 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("windowsLunaSilver", "Windows Luna Silver", -{ - activeborder : [ 212,208,200 ], - activecaption : [ 192,192,192 ], - appworkspace : [ 128,128,128 ], - background : [ 88,87,104 ], - buttonface : [ 224,223,227 ], - buttonhighlight : [ 255,255,255 ], - buttonshadow : [ 157,157,161 ], - buttontext : [ 0,0,0 ], - captiontext : [ 14,16,16 ], - graytext : [ 172,168,153 ], - highlight : [ 178,180,191 ], - highlighttext : [ 0,0,0 ], - inactiveborder : [ 212,208,200 ], - inactivecaption : [ 255,255,255 ], - inactivecaptiontext : [ 162,161,161 ], - infobackground : [ 255,255,225 ], - infotext : [ 0,0,0 ], - menu : [ 255,255,255 ], - menutext : [ 0,0,0 ], - scrollbar : [ 212,208,200 ], - threeddarkshadow : [ 113,111,100 ], - threedface : [ 224,223,227 ], - threedhighlight : [ 255,255,255 ], - threedlightshadow : [ 241,239,226 ], - threedshadow : [ 157,157,161 ], - window : [ 255,255,255 ], - windowframe : [ 0,0,0 ], - windowtext : [ 0,0,0 ] -}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("windowsLunaSilver", "Windows Luna Silver", +{ + activeborder : [ 212,208,200 ], + activecaption : [ 192,192,192 ], + appworkspace : [ 128,128,128 ], + background : [ 88,87,104 ], + buttonface : [ 224,223,227 ], + buttonhighlight : [ 255,255,255 ], + buttonshadow : [ 157,157,161 ], + buttontext : [ 0,0,0 ], + captiontext : [ 14,16,16 ], + graytext : [ 172,168,153 ], + highlight : [ 178,180,191 ], + highlighttext : [ 0,0,0 ], + inactiveborder : [ 212,208,200 ], + inactivecaption : [ 255,255,255 ], + inactivecaptiontext : [ 162,161,161 ], + infobackground : [ 255,255,225 ], + infotext : [ 0,0,0 ], + menu : [ 255,255,255 ], + menutext : [ 0,0,0 ], + scrollbar : [ 212,208,200 ], + threeddarkshadow : [ 113,111,100 ], + threedface : [ 224,223,227 ], + threedhighlight : [ 255,255,255 ], + threedlightshadow : [ 241,239,226 ], + threedshadow : [ 157,157,161 ], + window : [ 255,255,255 ], + windowframe : [ 0,0,0 ], + windowtext : [ 0,0,0 ] +}); Index: windowsClassic.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/themes/colors/Attic/windowsClassic.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 --- windowsClassic.js 3 Feb 2006 11:06:27 -0000 1.1.2.2 +++ windowsClassic.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -1,62 +1,62 @@ -/* ************************************************************************ - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Sebastian Werner (wpbasti) - <sebastian dot werner at 1und1 dot de> - * Andreas Ecker (aecker) - <andreas dot ecker at 1und1 dot de> - -************************************************************************ */ - -/* ************************************************************************ - -#package(colorthemes) - -************************************************************************ */ - -new QxColorTheme("windowsClassic", "Windows Classic", -{ - activeborder : [ 212,208,200 ], - activecaption : [ 10,36,106 ], - appworkspace : [ 128,128,128 ], - background : [ 58,110,165 ], - buttonface : [ 212,208,200 ], - buttonhighlight : [ 255,255,255 ], - buttonshadow : [ 128,128,128 ], - buttontext : [ 0,0,0 ], - captiontext : [ 255,255,255 ], - graytext : [ 128,128,128 ], - highlight : [ 10,36,106 ], - highlighttext : [ 255,255,255 ], - inactiveborder : [ 212,208,200 ], - inactivecaption : [ 128,128,128 ], - inactivecaptiontext : [ 212,208,200 ], - infobackground : [ 255,255,225 ], - infotext : [ 0,0,0 ], - menu : [ 212,208,200 ], - menutext : [ 0,0,0 ], - scrollbar : [ 212,208,200 ], - threeddarkshadow : [ 64,64,64 ], - threedface : [ 212,208,200 ], - threedhighlight : [ 255,255,255 ], - threedlightshadow : [ 212,208,200 ], - threedshadow : [ 128,128,128 ], - window : [ 255,255,255 ], - windowframe : [ 0,0,0 ], - windowtext : [ 0,0,0 ] -}); +/* ************************************************************************ + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2004-2005 by Schlund + Partner AG, Germany + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Sebastian Werner (wpbasti) + <sebastian dot werner at 1und1 dot de> + * Andreas Ecker (aecker) + <andreas dot ecker at 1und1 dot de> + +************************************************************************ */ + +/* ************************************************************************ + +#package(colorthemes) + +************************************************************************ */ + +new QxColorTheme("windowsClassic", "Windows Classic", +{ + activeborder : [ 212,208,200 ], + activecaption : [ 10,36,106 ], + appworkspace : [ 128,128,128 ], + background : [ 58,110,165 ], + buttonface : [ 212,208,200 ], + buttonhighlight : [ 255,255,255 ], + buttonshadow : [ 128,128,128 ], + buttontext : [ 0,0,0 ], + captiontext : [ 255,255,255 ], + graytext : [ 128,128,128 ], + highlight : [ 10,36,106 ], + highlighttext : [ 255,255,255 ], + inactiveborder : [ 212,208,200 ], + inactivecaption : [ 128,128,128 ], + inactivecaptiontext : [ 212,208,200 ], + infobackground : [ 255,255,225 ], + infotext : [ 0,0,0 ], + menu : [ 212,208,200 ], + menutext : [ 0,0,0 ], + scrollbar : [ 212,208,200 ], + threeddarkshadow : [ 64,64,64 ], + threedface : [ 212,208,200 ], + threedhighlight : [ 255,255,255 ], + threedlightshadow : [ 212,208,200 ], + threedshadow : [ 128,128,128 ], + window : [ 255,255,255 ], + windowframe : [ 0,0,0 ], + windowtext : [ 0,0,0 ] +}); |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:35:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22517/source/contributed/progressbar_vogel Modified Files: Tag: renderer QxProgressanim.js QxProgressbar.js Log Message: Corrected tab2spaces, dos2unix and file rights Index: QxProgressbar.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/QxProgressbar.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 --- QxProgressbar.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 +++ QxProgressbar.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -15,7 +15,7 @@ Internet: * http://qooxdoo.oss.schlund.de - Authors: //???Olli??? + Authors: //???Olli??? * Oliver Vogel <o dot vogel at muv dot com> @@ -124,7 +124,7 @@ ------------------------------------------------------------------------------------ */ proto._checkMin = function(newValue, propData){ - // min must be < max + // min must be < max if (newValue < this.getMax()) return newValue; return this.getMin(); }; Index: QxProgressanim.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/QxProgressanim.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 --- QxProgressanim.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 +++ QxProgressanim.js 9 Feb 2006 08:35:14 -0000 1.1.2.3 @@ -15,7 +15,7 @@ Internet: * http://qooxdoo.oss.schlund.de - Authors: //???Olli??? + Authors: //???Olli??? * Oliver Vogel <o dot vogel at muv dot com> @@ -120,7 +120,7 @@ // set position this._bar.setLeft(0); this._bar.setWidth((QxProgressanim.BAR_WIDTH - Math.abs(this._position)) + '%'); - QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly + QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly // ready return true; } @@ -129,7 +129,7 @@ // set position this._bar.setLeft(this._position + '%'); this._bar.setWidth((100 - this._position) + '%'); - QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly + QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly // ready return true; } |
|
From: Sebastian W. <wp...@us...> - 2006-02-09 08:06:21
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11281 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.61 retrieving revision 1.1.2.62 diff -u -d -r1.1.2.61 -r1.1.2.62 --- TODO 9 Feb 2006 06:06:08 -0000 1.1.2.61 +++ TODO 9 Feb 2006 08:06:10 -0000 1.1.2.62 @@ -21,6 +21,8 @@ h4. Layouter Rework +* Optimize unit detection and unit handling and storage for dimension and location properties. Try to remove all these boolean flags. +* Move all layout depending properties from widgets to the used layout implementation like in Qt or SWT. * Try to only have one queue for layouts and jobs * Omit caching on setting of the value. * Try to reduce caching stuff (sometimes the cache is probably slower than the (re-)calculation) @@ -28,15 +30,12 @@ * Reimplement cached properties so that the invaliation will not set the old value to null, but set a isInvalid flag which will define that the next get must re-evaluate the value first. * Add depth property to widgets. Sort job queue according to depth before flush. * Speed-up toggling (tree, tabView) without re-layouting of children +* Remove spacing and margins from inner width/height of each QxParent to calculate percents. (Mail: Stanislav Ievlev, 08.02.2006, 13:18 Uhr) h4. Later -* Optimize unit detection and unit handling and storage for dimension and location properties. Try to remove all these boolean flags. -* 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. +* 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. * Support image path updates also for background images in QxWidgets. This needs some registration mechanism like the ones in normal QxImages. @@ -53,6 +52,10 @@ * Add QxSlider * Add QxScrollBar * Add QxSplitPane +* Add QxDataPicker +* Add QxFontPicker + +* Reimplement QxColorSelector * QxFontTheme @@ -74,8 +77,6 @@ * Support horizontal scrolling in QxListView * After this: Support horizontal virtual scrolling in QxListView -* Move all layout depending properties from widgets to the used layout implementation like in Qt or SWT. - * Compiler (mass recreation of an complete initialized application) * Add Property Compiler (only compiles the property methods) * Complete new python script to compile source and create documentation @@ -83,8 +84,6 @@ * Add Encoders/Decoders section (md5, blowfish, ...) * Add Transformers (QxTextile, ...) section -* Remove "virtual qooxdoo mode" from QxNativeWindow -* Some rounded borners like nifty corners or these ones: - http://www.456bereastreet.com/archive/200505/transparent_custom_corners_and_borders/ +* Some rounded borners like nifty corners or these ones: http://www.456bereastreet.com/archive/200505/transparent_custom_corners_and_borders/ * Merge some ideas from "prototype" and "moo.fx" to qooxdoo |