qooxdoo-commit Mailing List for qooxdoo (Page 1423)
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-01-26 10:33:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11199/source/script/widgets Modified Files: Tag: renderer QxInline.js Log Message: Fixed QxInline Index: QxInline.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxInline.js,v retrieving revision 1.2.2.19 retrieving revision 1.2.2.20 diff -u -d -r1.2.2.19 -r1.2.2.20 --- QxInline.js 24 Jan 2006 16:48:55 -0000 1.2.2.19 +++ QxInline.js 26 Jan 2006 10:32:52 -0000 1.2.2.20 @@ -33,7 +33,7 @@ { QxCanvasLayout.call(this); - this.setStyleProperty(QxConst.PROPERTY_POSITION, QxConst.CORE_INLINE); + this.setStyleProperty(QxConst.PROPERTY_POSITION, QxConst.CORE_RELATIVE); if (QxUtil.isValidString(vId)) { this.setInlineNodeId(vId); |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 10:32:34
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11150/source/style Modified Files: Tag: renderer demolayout.css Log Message: Cleaned up styles Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- demolayout.css 26 Jan 2006 09:33:24 -0000 1.1.2.6 +++ demolayout.css 26 Jan 2006 10:32:26 -0000 1.1.2.7 @@ -1,15 +1,3 @@ -*{ - box-sizing: border-box; - -moz-box-sizing: border-box; - -khtml-box-sizing: border-box; -} - -img{ - box-sizing: content-box; - -moz-box-sizing: content-box; - -khtml-box-sizing: content-box; -} - body{ font-size: 11px; font-family: Arial, "Bitstream Vera Sans", Verdana, sans-serif; @@ -18,15 +6,6 @@ } #testHead, -#testFoot, -#testFrame, -#testDescription -{ - box-sizing: border-box; - -moz-box-sizing: border-box; -} - -#testHead, #testFoot{ position: absolute; left: 0px; @@ -89,7 +68,7 @@ z-index: 2; overflow: auto; border-bottom: 10px solid #335EA8; - padding: 4px 6px; + padding: 0px 6px 4px; } #testDebug{ |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 10:32:13
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10987/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Added CSS features, improved style usage Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.72 retrieving revision 1.7.2.73 diff -u -d -r1.7.2.72 -r1.7.2.73 --- QxClientDocument.js 25 Jan 2006 17:50:25 -0000 1.7.2.72 +++ QxClientDocument.js 26 Jan 2006 10:32:03 -0000 1.7.2.73 @@ -35,6 +35,7 @@ { this._window = vClientWindow; this._document = this._window.getElement().document; + this._docstyle = this.createStyleElement("html,body{margin:0;border:0;padding:0;} *{box-sizing: border-box; -moz-box-sizing: border-box;} img{box-sizing: content-box; -moz-box-sizing: content-box;}"); // Init element this.setElement(this._document.body); @@ -92,6 +93,10 @@ + + + + /* --------------------------------------------------------------------------- OVERWRITE WIDGET FUNCTIONS/PROPERTIES @@ -122,8 +127,6 @@ var bs = document.body.style; var hs = document.documentElement.style; - bs.padding = hs.padding = bs.margin = hs.margin = QxConst.CORE_0PIXEL; - switch(propValue) { case "application": @@ -161,6 +164,9 @@ + + + /* --------------------------------------------------------------------------- BLOCKER AND DIALOG SUPPORT @@ -244,6 +250,83 @@ /* --------------------------------------------------------------------------- + CSS API +--------------------------------------------------------------------------- +*/ + +if (QxClient.isMshtml()) +{ + proto.createStyleElement = function(vCssText) + { + var vSheet = document.createStyleSheet(); + + if (vCssText) { + vSheet.cssText = vCssText; + }; + + return vSheet; + }; + + proto.addCssRule = function(vSheet, vSelector, vStyle) { + vSheet.addRule(vSelector, vStyle); + }; + + proto.removeCssRule = function(vSheet, vSelector) + { + vRules = vSheet.rules; + vLength = vRules.length; + + for (i=vLength-1; i>=0; i--) + { + if (vRules[i].selectorText == vSelector) { + vSheet.removeRule(i); + }; + }; + }; +} +else +{ + proto.createStyleElement = function(vCssText) + { + vElement = document.createElement("STYLE"); + vElement.type = "text/css"; + + if (vCssText) { + vElement.appendChild(document.createTextNode(vCssText)); + }; + + document.getElementsByTagName("HEAD")[0].appendChild(vElement); + + return vElement.sheet; + }; + + proto.addCssRule = function(vSheet, vSelector, vStyle) { + vSheet.insertRule(vSelector + "{" + vStyle + "}", vSheet.cssRules.length); + }; + + proto.removeCssRule = function(vSheet, vSelector) + { + vRules = vSheet.cssRules; + vLength = rules.length; + + for (i=vLength-1; i>=0; i--) + { + if (vRules[i].selectorText == vSelector) { + vSheet.deleteRule(i); + }; + }; + }; +}; + + + + + + + + +/* +--------------------------------------------------------------------------- GLOBAL CURSOR SUPPORT REF: http://www.xml.com/pub/a/2000/06/07/xmlterm/ |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 10:32:13
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10987/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Added CSS features, improved style usage Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.56 retrieving revision 1.1.2.57 diff -u -d -r1.1.2.56 -r1.1.2.57 --- QxWidget.js 25 Jan 2006 17:57:46 -0000 1.1.2.56 +++ QxWidget.js 26 Jan 2006 10:32:02 -0000 1.1.2.57 @@ -1079,8 +1079,14 @@ /*! Create widget with empty element (of specified tagname). */ -proto._createElementImpl = function() { - return this.setElement(this.getTopLevelWidget().getDocumentElement().createElement(this.getTagName())); +proto._createElementImpl = function() +{ + var el = this.getTopLevelWidget().getDocumentElement().createElement(this.getTagName()); + + el.style.boxSizing = "border-box"; + el.style.MozBoxSizing = "border-box"; + + return this.setElement(el); }; proto._modifyElement = function(propValue, propOldValue, propData) |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 09:36:38
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26062/source/test/user Modified Files: Tag: renderer Flow_Layout_1.html Log Message: Minor fix Index: Flow_Layout_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Flow_Layout_1.html,v retrieving revision 1.1.2.29 retrieving revision 1.1.2.30 diff -u -d -r1.1.2.29 -r1.1.2.30 --- Flow_Layout_1.html 13 Jan 2006 10:50:27 -0000 1.1.2.29 +++ Flow_Layout_1.html 26 Jan 2006 09:36:29 -0000 1.1.2.30 @@ -272,6 +272,7 @@ hc1.add(cr0, br0, br1, br2, br3); hc1.setVerticalChildrenAlign("middle"); + hc1.setHeight("auto"); controlBox.add(hc1); |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 09:33:33
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25187/source/style Modified Files: Tag: renderer demolayout.css Log Message: Improved demo layout Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- demolayout.css 25 Jan 2006 17:57:47 -0000 1.1.2.5 +++ demolayout.css 26 Jan 2006 09:33:24 -0000 1.1.2.6 @@ -32,8 +32,9 @@ left: 0px; right: 0px; width: 100%; - background: #2C55B1; - padding: 4px 8px; + background: #335EA8; + padding: 3px 8px; + height: 20px; color: white; font-weight: bold; } @@ -56,89 +57,68 @@ #testFrame{ position: absolute; - top: 36px; - bottom: 36px; - right: 15px; + top: 20px; + bottom: 20px; + right: 0; + width: 280px; background: #fff; - width: 295px; - z-index: 1; - background: #2C55B1; + border-left: 10px solid #335EA8; } * html #testFrame{ - height: expression(document.body.offsetHeight - 72); + height: expression(document.body.offsetHeight - 40); } -#testDescription{ - position: absolute; - top: 41px; - height: 80px; - overflow: auto; - right: 20px; - background: #fff; - width: 285px; +#testFiles{ font-size: 11px; - padding: 4px; - z-index: 2; -} - -#testDescription ol, -#testDescription ul{ - margin-left: 20px; -} + font-family: Tahoma, Verdana, sans-serif; -#testDescription ol li{ - list-style: decimal; + position: absolute; + top: 20px; + right: 0px; + width: 270px; + z-index: 2; } -#testDescription ul li{ - list-style: square; +#testDescription{ + position: absolute; + top: 40px; + height : 120px; + width: 270px; + right: 0; + z-index: 2; + overflow: auto; + border-bottom: 10px solid #335EA8; + padding: 4px 6px; } #testDebug{ position: absolute; - top: 202px; - bottom: 41px; - background: #fff; - width: 285px; - right: 20px; + top: 160px; + bottom: 20px; + right: 0; + width: 270px; font-size: 10px; font-family: "Bitstream Vera Sans Mono", "Courier New", "Courier", monospace; z-index: 2; - overflow: hidden; } * html #testDebug{ - top: 190px; - height: expression(document.body.offsetHeight - 232); -} - -#testDebug .head{ - visibility: visible; - padding: 6px 2px; -} - -#testDebug .head button{ - border: 1px solid #2C55B1; - margin: 0 2px; - font-size: 11px; - font-family: Tahoma, Verdana, sans-serif; + height: expression(document.body.offsetHeight - 180); } #testDebug .log{ - padding: 4px; - overflow: auto; - + overflow: -moz-scrollbars-vertical; + overflow-y: scroll; position: absolute; - top: 26px; - bottom: 0; - left: 0; - right: 0; + top: 30px; + bottom: 0px; + width: 270px; + padding: 4px; } * html #testDebug .log{ - height: expression(document.body.offsetHeight - 260); - width: 100%; + height: expression(document.body.offsetHeight - 210); } #testDebug .message{ @@ -168,37 +148,15 @@ text-decoration: underline; } -#testFiles{ - font-size: 11px; - font-family: Tahoma, Verdana, sans-serif; - - position: absolute; - top: 127px; - right: 20px; - width: 285px; - height: 70px; - - z-index: 2; -} - -#testFiles option{ - padding: 2px 4px; -} - -a{ - color: #2C55B1; - font-weight: bold; -} - -p{ - margin: 4px 0; -} - -hr{ - border: 0 none; - border-bottom: 1px solid #2C55B1; +#testDebug .head{ + visibility: visible; + padding: 6px 2px; } -ol, ul, li{ - list-style: none; +#testDebug .head button{ + border: 1px solid #335EA8; + margin: 0 2px; + font-size: 11px; + background: #EBE9ED; + font-family: Tahoma, Verdana, sans-serif; } |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 09:33:32
|
Update of /cvsroot/qooxdoo/qooxdoo/tools/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25187/tools/script Modified Files: Tag: renderer demolayout.js.in Log Message: Improved demo layout Index: demolayout.js.in =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/script/Attic/demolayout.js.in,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- demolayout.js.in 13 Dec 2005 10:04:00 -0000 1.1.2.1 +++ demolayout.js.in 26 Jan 2006 09:33:25 -0000 1.1.2.2 @@ -57,7 +57,7 @@ var arr = str.split(" "); var p = window.location.pathname.replace(/\\/g, "/"); - document.writeln('<select id="testFiles" size="5" onchange="window.location.href=this.options[this.selectedIndex].value">'); + document.writeln('<select id="testFiles" onchange="window.location.href=this.options[this.selectedIndex].value">'); for( var i=1; i<arr.length; i++ ) { document.write('<option value="' + arr[i] + '"'); if(p.search(new RegExp( "\/" + arr[i]) )+1) { |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 09:31:53
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24725/source/test/user Modified Files: Tag: renderer List_1.html Log Message: Minor improvement Index: List_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/List_1.html,v retrieving revision 1.3.2.15 retrieving revision 1.3.2.16 diff -u -d -r1.3.2.15 -r1.3.2.16 --- List_1.html 20 Dec 2005 08:17:06 -0000 1.3.2.15 +++ List_1.html 26 Jan 2006 09:31:44 -0000 1.3.2.16 @@ -124,10 +124,10 @@ // Icon Themes - QxImageManager.createThemeList(d, 20, 348); + QxImageManager.createThemeList(d, 20, 400); // Color Themes - QxColorManager.createThemeList(d, 200, 348); + QxColorManager.createThemeList(d, 200, 400); }; </script> </body> |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 08:54:54
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11479/source/script/widgets Modified Files: Tag: renderer QxTextArea.js QxTextField.js Log Message: Improved grid layout and depending widgets, changed usage of alowStretchX and allowStretchY inside the grid layout, modified appearance to fix some bugs through the new behaviour Index: QxTextField.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTextField.js,v retrieving revision 1.5.2.41 retrieving revision 1.5.2.42 diff -u -d -r1.5.2.41 -r1.5.2.42 --- QxTextField.js 24 Jan 2006 16:48:55 -0000 1.5.2.41 +++ QxTextField.js 26 Jan 2006 08:54:44 -0000 1.5.2.42 @@ -204,7 +204,7 @@ }; proto._computePreferredInnerHeight = function() { - return 14; + return 15; }; Index: QxTextArea.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTextArea.js,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -d -r1.1.2.17 -r1.1.2.18 --- QxTextArea.js 16 Jan 2006 16:11:57 -0000 1.1.2.17 +++ QxTextArea.js 26 Jan 2006 08:54:44 -0000 1.1.2.18 @@ -29,10 +29,10 @@ ************************************************************************ */ -function QxTextArea(sText) +function QxTextArea(vValue) { - QxTextField.call(this, sText); - + QxTextField.call(this, vValue); + this.setTagName("textarea"); this.removeHtmlProperty("type"); }; @@ -55,3 +55,7 @@ return this.setHtmlProperty("wrap", propValue ? "soft" : "off"); }; }; + +proto._computePreferredInnerHeight = function() { + return 60; +}; |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 08:54:53
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/layouts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11479/source/script/layouts Modified Files: Tag: renderer QxGridLayoutImpl.js Log Message: Improved grid layout and depending widgets, changed usage of alowStretchX and allowStretchY inside the grid layout, modified appearance to fix some bugs through the new behaviour Index: QxGridLayoutImpl.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/layouts/Attic/QxGridLayoutImpl.js,v retrieving revision 1.1.2.15 retrieving revision 1.1.2.16 diff -u -d -r1.1.2.15 -r1.1.2.16 --- QxGridLayoutImpl.js 16 Jan 2006 16:11:56 -0000 1.1.2.15 +++ QxGridLayoutImpl.js 26 Jan 2006 08:54:44 -0000 1.1.2.16 @@ -77,7 +77,6 @@ { var vWidget = this.getWidget(); var vColWidth = vWidget.getColumnInnerWidth(vChild._col, vChild._row); - var vSetupWidth = vChild.getWidthValue(); // extend colwidth to spanned area if (vWidget.isSpanStart(vChild._col, vChild._row)) @@ -99,11 +98,7 @@ }; }; - if (vSetupWidth == null && vChild.getAllowStretchX()) { - return vColWidth; - }; - - return Math.min(vSetupWidth, vColWidth); + return vChild.getAllowStretchX() ? vColWidth : Math.min(vChild.getWidthValue(), vColWidth); }; /*! @@ -113,7 +108,6 @@ { var vWidget = this.getWidget(); var vRowHeight = vWidget.getRowInnerHeight(vChild._col, vChild._row); - var vSetupHeight = vChild.getHeightValue(); // extend colwidth to spanned area if (vWidget.isSpanStart(vChild._col, vChild._row)) @@ -135,11 +129,7 @@ }; }; - if (vSetupHeight == null && vChild.getAllowStretchY()) { - return vRowHeight; - }; - - return Math.min(vSetupHeight, vRowHeight); + return vChild.getAllowStretchY() ? vRowHeight : Math.min(vChild.getHeightValue(), vRowHeight); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 08:54:51
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11479/source/script/appearance Modified Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Improved grid layout and depending widgets, changed usage of alowStretchX and allowStretchY inside the grid layout, modified appearance to fix some bugs through the new behaviour Index: QxAppearanceTheme-Default.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.js,v retrieving revision 1.1.2.13 retrieving revision 1.1.2.14 diff -u -d -r1.1.2.13 -r1.1.2.14 --- QxAppearanceTheme-Default.js 25 Jan 2006 11:22:08 -0000 1.1.2.13 +++ QxAppearanceTheme-Default.js 26 Jan 2006 08:54:43 -0000 1.1.2.14 @@ -97,7 +97,9 @@ height : QxConst.CORE_AUTO, horizontalChildrenAlign : QxConst.ALIGN_CENTER, verticalChildrenAlign : QxConst.ALIGN_MIDDLE, - stretchChildrenOrthogonalAxis : false + stretchChildrenOrthogonalAxis : false, + allowStretchY : false, + allowStretchX : false }; } }); @@ -1097,12 +1099,15 @@ return { hideFocus : true, border : QxBorderObject.presets.thinInset, - paddingTop : 2, - paddingRight : 4, - paddingBottom : 2, - paddingLeft : 4, + paddingTop : 1, + paddingRight : 3, + paddingBottom : 1, + paddingLeft : 3, allowStretchY : false, - font : this.font + allowStretchX : true, + font : this.font, + width : QxConst.CORE_AUTO, + height : QxConst.CORE_AUTO }; }, @@ -1115,11 +1120,13 @@ { initial : function(vWidget, vTheme) { - return QxUtil.mergeObjectWith(vTheme.initialFrom(vWidget, "text-field"), - { - height : 50, + return QxUtil.mergeObjectWith(vTheme.initialFrom(vWidget, "text-field"), { overflow : QxConst.CORE_AUTO }); + }, + + state : function(vWidget, vTheme) { + return vTheme.stateFrom(vWidget, "text-field"); } }); @@ -1152,7 +1159,8 @@ width : 120, height : QxConst.CORE_AUTO, border : QxBorderObject.presets.inset, - backgroundColor : this.bgcolor + backgroundColor : this.bgcolor, + allowStretchY : false }; } }); @@ -1210,7 +1218,8 @@ paddingTop : 0, paddingRight : 3, paddingBottom : 0, - paddingLeft : 2 + paddingLeft : 2, + allowStretchY : true }); }, |
|
From: Sebastian W. <wp...@us...> - 2006-01-26 08:53:34
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11082/source/test/user Modified Files: Tag: renderer Grid_Layout_10.html Grid_Layout_11.html Grid_Layout_5.html Grid_Layout_6.html Log Message: Improved examples, fixed for latest changes in grid layout implementation Index: Grid_Layout_5.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Grid_Layout_5.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 --- Grid_Layout_5.html 13 Dec 2005 10:04:00 -0000 1.1.2.4 +++ Grid_Layout_5.html 26 Jan 2006 08:53:26 -0000 1.1.2.5 @@ -71,7 +71,6 @@ var input7 = new QxButton("Submit", "icons/16/apply.png"); input7.setHorizontalAlign("right"); - input6.setDimension(null, null); gl.add(label1, 0, 0); gl.add(input1, 1, 0); Index: Grid_Layout_6.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Grid_Layout_6.html,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- Grid_Layout_6.html 13 Dec 2005 10:04:00 -0000 1.1.2.2 +++ Grid_Layout_6.html 26 Jan 2006 08:53:26 -0000 1.1.2.3 @@ -82,14 +82,19 @@ var input1 = new QxTextField; var input2 = new QxTextField; - var input3 = new QxTextField; + var input3 = new QxComboBox; var input4 = new QxTextField; var input5 = new QxTextField; var input6 = new QxTextArea; var input7 = new QxButton("Submit", "icons/16/apply.png"); + input3.add(new QxListItem("New York")); + input3.add(new QxListItem("Paris")); + input3.add(new QxListItem("Sydney")); + input3.add(new QxListItem("Berlin")); + input3.add(new QxListItem("Washington")); + input7.setHorizontalAlign("right"); - input6.setDimension(null, null); gl.add(label1, 0, 0); gl.add(input1, 1, 0); Index: Grid_Layout_10.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Grid_Layout_10.html,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- Grid_Layout_10.html 13 Dec 2005 10:04:00 -0000 1.1.2.2 +++ Grid_Layout_10.html 26 Jan 2006 08:53:26 -0000 1.1.2.3 @@ -73,15 +73,15 @@ gl.add(t1, 0, 1); var b1 = new QxButton("OK"); - b1.setWidth(null); + b1.setAllowStretchX(true); gl.add(b1, 2, 3); var b2 = new QxButton("Cancel"); - b2.setWidth(null); + b2.setAllowStretchX(true); gl.add(b2, 3, 3); var b3 = new QxButton("Browse..."); - b3.setWidth(null); + b3.setAllowStretchX(true); b3.getLabelObject().setMnemonic("B"); gl.add(b3, 4, 3); Index: Grid_Layout_11.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Grid_Layout_11.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 --- Grid_Layout_11.html 13 Dec 2005 10:04:00 -0000 1.1.2.3 +++ Grid_Layout_11.html 26 Jan 2006 08:53:26 -0000 1.1.2.4 @@ -73,15 +73,15 @@ gl.add(t1, 0, 1); var b1 = new QxButton("OK"); - b1.setWidth(null); + b1.setAllowStretchX(true); gl.add(b1, 2, 3); var b2 = new QxButton("Cancel"); - b2.setWidth(null); + b2.setAllowStretchX(true); gl.add(b2, 3, 3); var b3 = new QxButton("Browse..."); - b3.setWidth(null); + b3.setAllowStretchX(true); b3.getLabelObject().setMnemonic("B"); gl.add(b3, 4, 3); |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:57:55
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26496/source/style Modified Files: Tag: renderer demolayout.css Log Message: Moved box-sizing to demo-layout (ugly, but working for opera) Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -d -r1.1.2.4 -r1.1.2.5 --- demolayout.css 25 Jan 2006 17:47:59 -0000 1.1.2.4 +++ demolayout.css 25 Jan 2006 17:57:47 -0000 1.1.2.5 @@ -1,3 +1,15 @@ +*{ + box-sizing: border-box; + -moz-box-sizing: border-box; + -khtml-box-sizing: border-box; +} + +img{ + box-sizing: content-box; + -moz-box-sizing: content-box; + -khtml-box-sizing: content-box; +} + body{ font-size: 11px; font-family: Arial, "Bitstream Vera Sans", Verdana, sans-serif; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:57:54
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26496/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Moved box-sizing to demo-layout (ugly, but working for opera) Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.55 retrieving revision 1.1.2.56 diff -u -d -r1.1.2.55 -r1.1.2.56 --- QxWidget.js 25 Jan 2006 11:19:00 -0000 1.1.2.55 +++ QxWidget.js 25 Jan 2006 17:57:46 -0000 1.1.2.56 @@ -60,8 +60,6 @@ this._htmlAttributes = { qxhashcode : this._hashCode }; */ this._styleProperties = { position : QxConst.CORE_ABSOLUTE }; - - this.setStyleProperty(QxWidget.BOX_SIZING_PROPERTY, QxWidget.BOX_SIZING_VALUE); // ************************************************************************ @@ -91,20 +89,6 @@ QxWidget.CORE_CLASS = "QxWidgetCore"; QxWidget.OMIT_CLASS = "QxWidget"; -QxWidget.BOX_SIZING_VALUE = "border-box"; - -if (QxClient.isGecko()) -{ - QxWidget.BOX_SIZING_PROPERTY = "MozBoxSizing"; -} -else if (QxClient.isKhtml()) -{ - QxWidget.BOX_SIZING_PROPERTY = "khtmlBoxSizing"; -} -else -{ - QxWidget.BOX_SIZING_PROPERTY = "boxSizing"; -}; /*! Will be calculated later |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:50:33
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24328/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Minor style improvement Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.71 retrieving revision 1.7.2.72 diff -u -d -r1.7.2.71 -r1.7.2.72 --- QxClientDocument.js 25 Jan 2006 12:26:44 -0000 1.7.2.71 +++ QxClientDocument.js 25 Jan 2006 17:50:25 -0000 1.7.2.72 @@ -129,10 +129,12 @@ case "application": bs.width = bs.height = hs.width = hs.height = QxConst.CORE_HUNDREDPERCENT; bs.overflow = QxConst.OVERFLOW_VALUE_HIDDEN; + hs.border = QxConst.CORE_0PIXEL; break; case "page": bs.width = bs.height = hs.width = hs.height = bs.overflow = QxConst.CORE_EMPTY; + hs.border = QxConst.CORE_0PIXEL; break; }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:48:13
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23584/source/script/core Modified Files: Tag: renderer QxApplication.js QxMain.js Log Message: Reworked application startup, optimized layout of test examples Index: QxApplication.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxApplication.js,v retrieving revision 1.2.2.58 retrieving revision 1.2.2.59 diff -u -d -r1.2.2.58 -r1.2.2.59 --- QxApplication.js 24 Jan 2006 16:48:54 -0000 1.2.2.58 +++ QxApplication.js 25 Jan 2006 17:47:59 -0000 1.2.2.59 @@ -48,215 +48,254 @@ { QxTarget.call(this, false); - /* - Try alternative initialisation - - http://dean.edwards.name/my/readyState.html - http://www.quirksmode.org/blog/archives/2005/06/you_shouldve_be_1.html - - Probably the most interesting one: - http://www.themaninblue.com/writing/perspective/2004/09/29/ - - The problem is that the dom is available then, but the dom isn't... mhh - */ - - /* - switch(QxClient.getEngine()) - { - case "gecko_": - window.addEventListener("DOMContentLoaded", function() { window.application.init(); }, false); - break; - - case "opera": - case "mshtml": - window.onreadystatechange = function() { if (document.readyState == "interactive") window.application.init(); }; - break; - - case "mshtml-alternative": - window.ondocumentready = function() { window.application.init(); }; - break; - - default: - window.onload = function() { window.application.init(); }; + function init() { + window.application.init(); }; - */ - window.onload = function() { window.application.init(); }; + if (QxClient.isGecko()) { + QxDom.addEventListener(window, "DOMContentLoaded", init); + } else { + QxDom.addEventListener(window, "load", init); + }; }; QxApplication.extend(QxTarget, "QxApplication"); -QxApplication.MSG_INSTANCES = "Created Instances: "; -QxApplication.MSG_CLASSES = "Available Classes: "; -QxApplication.MSG_PROPERTIES = "Property Count: "; -QxApplication.MSG_CLIENTINFO = "Client Detection: "; -QxApplication.MSG_STRICTMODE = "Document is not in Quirksmode! This is needed in Internet Explorer <= 6 to let qooxdoo render correctly."; + /* --------------------------------------------------------------------------- - APPLICATION INIT + USER APPLICATION METHODS --------------------------------------------------------------------------- */ -proto._ready = false; - -// user defineable methods of an qooxdoo initialization proto.pre = QxUtil.returnTrue; proto.main = QxUtil.returnTrue; proto.post = QxUtil.returnTrue; + + + + + +/* +--------------------------------------------------------------------------- + MAIN INITIALISATION ROUTINE +--------------------------------------------------------------------------- +*/ + /*! Global application init routine */ proto.init = function() { - this._printRuntimeInfo(this._initLoad, "Loading Data", window._htmlstart); - this._printRuntimeInfo(this._initApplication, "Initialize Application"); - this._printRuntimeInfo(this._initMain, "Executing User Application"); - this._printRuntimeInfo(this._initPreload, "Preloading Images"); + if (this._initDone) { + return; + }; + + this._initDone = true; + + this._initApplication(); + this._initMain(); + this._initPreload(); + + // initPostload will be executed from the first queue flush }; -proto._initLoad = QxUtil.returnTrue; -proto._initApplication = function() -{ - // Output the number of available classes - this._printClassInfo(); - // Output the number existing properties - this._printPropertyInfo(); - - // Print short client detection info - this._printClientInfo(); - // Execute user define 'pre' method - this.pre(); - // Fire global 'pre' event - this.createDispatchEvent(QxConst.EVENT_TYPE_PRE); - // Create client window instance (and client-document, event- and focus-manager, ...) - this._clientWindow = new QxClientWindow(window); +/* +--------------------------------------------------------------------------- + SEPERATE INITIALISATION ROUTINES +--------------------------------------------------------------------------- +*/ - // Build virtual methods for easy additions of childrens and so on - this._remappingChildTable = QxParent.prototype._remappingChildTable; - QxParent.prototype.remapChildrenHandlingTo.call(this, this._clientWindow.getClientDocument()); +proto._initApplication = function() +{ + var s = (new Date).valueOf(); - // Early initial flush - QxWidget.flushGlobalQueues(); + this.debug("Pre phase..."); + + try + { + // Output the number of available classes + this._printClassInfo(); + + // Output the number existing properties + this._printPropertyInfo(); + + // Print short client detection info + this._printClientInfo(); + + // Execute user define 'pre' method + this.debug(" - executing application pre"); + this.pre(); + + // Fire global 'pre' event + this.createDispatchEvent(QxConst.EVENT_TYPE_PRE); + + // Create client window instance (and client-document, event- and focus-manager, ...) + this._clientWindow = new QxClientWindow(window); + + // Build virtual methods for easy additions of childrens and so on + this._remappingChildTable = QxParent.prototype._remappingChildTable; + QxParent.prototype.remapChildrenHandlingTo.call(this, this._clientWindow.getClientDocument()); + + // Output the number of currently instanciated objects + this._printInstanceInfo(); + } + catch(ex) + { + return this.error("...failed: " + ex); + }; + + this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); + this.debug("\n"); }; proto._initMain = function() { - // Output the number of currently instanciated objects - this._printInstanceInfo(); - - // Execute user define 'main' method - this.main(); - - // Fire global 'main' event - this.createDispatchEvent(QxConst.EVENT_TYPE_MAIN); - - this._ready = true; + var s = (new Date).valueOf(); + this.debug("Main phase..."); + + try + { + // Execute user define 'main' method + this.debug(" - executing application main"); + this.main(); + + // Fire global 'main' event + this.createDispatchEvent(QxConst.EVENT_TYPE_MAIN); + + // Output the number of currently instanciated objects + this._printInstanceInfo(); + } + catch(ex) + { + return this.error("...failed: " + ex); + }; + + this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); + this.debug("\n"); }; proto._initPreload = function() { - // Preloading images which should be currently visible - var vPreloadList = QxImageManager._preloadList; - - for (var vImageUri in vPreloadList) { - new QxImagePreloader(QxImageManager.buildURI(vImageUri)); + var s = (new Date).valueOf(); + this.debug("Preloading phase..."); + + try + { + // Preloading images which should be currently visible + var vPreloadList = QxImageManager._preloadList; + + for (var vImageUri in vPreloadList) { + new QxImagePreloader(QxImageManager.buildURI(vImageUri)); + }; + + // Fire global 'cache' event + this.createDispatchEvent(QxConst.EVENT_TYPE_CACHE); + + // Finally flushing the queues with a timeout of 100ms + window.setTimeout(function() + { + var s = (new Date).valueOf(); + window.application.debug("Widget phase"); + window.application.debug(" - updating widgets"); + + window.application._ready = true; + QxWidget.flushGlobalQueues(true); + + window.application.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); + window.application.debug("\n"); + window.application._initPostload(); + }, 100); + } + catch(ex) + { + return this.error("...failed: " + ex); }; - - // Fire global 'cache' event - this.createDispatchEvent(QxConst.EVENT_TYPE_CACHE); - - // Calculating real start of interface rendering - this._interfaceStart = (new Date).valueOf() + QxWidget.FLUSH_TIMEOUT; - - // Finally flushing the queues with a timeout of QxWidget.FLUSH_TIMEOUT - QxWidget.flushGlobalQueuesTimeout(); + + this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); + this.debug("\n"); }; proto._initPostload = function() { - // Execute user define 'post' method - this.post(); - - // Post load images which could be visible later - var vPreloadList = QxImageManager._preloadList; - var vImageList = QxImageManager._imageList; - - for (var vImageUri in vImageList) + var s = (new Date).valueOf(); + this.debug("Post phase..."); + + try { - if (!vPreloadList[vImageUri]) { - new QxImagePreloader(QxImageManager.buildURI(vImageUri)); + // Output the number of currently instanciated objects + this._printInstanceInfo(); + + // Execute user define 'post' method + this.debug(" - executing application post"); + this.post(); + + // Post load images which could be visible later + var vPreloadList = QxImageManager._preloadList; + var vImageList = QxImageManager._imageList; + + for (var vImageUri in vImageList) + { + if (!vPreloadList[vImageUri]) { + new QxImagePreloader(QxImageManager.buildURI(vImageUri)); + }; }; + + // Fire global 'post' event + this.createDispatchEvent(QxConst.EVENT_TYPE_POST); + } + catch(ex) + { + return this.error("...failed: " + ex); }; - - // Fire global 'post' event - this.createDispatchEvent(QxConst.EVENT_TYPE_POST); + + this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); }; -/*! - Will be executed from the QxWidget queue flush -*/ -proto._postmain = function(vTime) -{ - // Output the number of currently instanciated objects - this._printInstanceInfo(); - // Inform the user about the progress made - this.debug("Initialize Interface" + QxConst.CORE_COLON + QxConst.CORE_SPACE + vTime + QxConst.CORE_MILLISECONDS); - // Timeout execution of post processing - QxTimer.once(this._postMainHelper, this, 500); -}; -proto._postMainHelper = function() { - this._printRuntimeInfo(this._initPostload, "Postloading Images"); -}; + + +/* +--------------------------------------------------------------------------- + ADDITIONAL INFORMATIONAL OUTPUT +--------------------------------------------------------------------------- +*/ proto._printInstanceInfo = function() { - this.info(QxApplication.MSG_INSTANCES + QxObjectDataBase.length); + this.debug(" - number of instances: " + QxObjectDataBase.length); }; proto._printClassInfo = function() { - this.info(QxApplication.MSG_CLASSES + QxUtil.getObjectLength(QxClasses)); + this.debug(" - number of classes: " + QxUtil.getObjectLength(QxClasses)); }; proto._printPropertyInfo = function() { - this.info(QxApplication.MSG_PROPERTIES + QxPropertyCounter); + this.debug(" - number of properties: " + QxPropertyCounter); }; proto._printClientInfo = function() { - this.info(QxApplication.MSG_CLIENTINFO + QxClient.getEngine() + QxConst.CORE_SPACE + QxClient.getVersion() + (QxUtil.isValidString(QxClient.getEmulation()) ? QxConst.CORE_SPACE + QxClient.getEmulation() : QxConst.CORE_EMPTY)); + this.debug(" - client detection: " + QxClient.getEngine() + QxConst.CORE_SPACE + QxClient.getVersion() + (QxUtil.isValidString(QxClient.getEmulation()) ? QxConst.CORE_SPACE + QxClient.getEmulation() : QxConst.CORE_EMPTY)); if (!QxClient.isInQuirksMode() && QxClient.isMshtml()) { - this.warn(QxApplication.MSG_STRICTMODE); + this.warn("Document is not in Quirksmode! This is needed in Internet Explorer <= 6 to let qooxdoo render correctly."); }; }; -proto._printRuntimeInfo = function(vFunc, vJob, vStart) -{ - vStart = vStart ? vStart : (new Date).valueOf(); - try - { - vFunc.call(this); - } - catch(ex) - { - this.error("Failed to execute init function: " + vJob + ": " + ex); - }; - this.debug(vJob + QxConst.CORE_COLON + QxConst.CORE_SPACE + ((new Date).valueOf() - vStart) + QxConst.CORE_MILLISECONDS); -}; @@ -269,6 +308,8 @@ --------------------------------------------------------------------------- */ +proto._ready = false; + proto.isReady = function() { return this._ready; }; @@ -282,11 +323,11 @@ }; proto.getEventManager = function() { - return this._clientWindow.getEventManager(); + return this.getClientWindow().getEventManager(); }; proto.getClientDocument = function() { - return this._clientWindow.getClientDocument(); + return this.getClientWindow().getClientDocument(); }; Index: QxMain.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxMain.js,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -d -r1.1.2.8 -r1.1.2.9 --- QxMain.js 16 Jan 2006 16:11:55 -0000 1.1.2.8 +++ QxMain.js 25 Jan 2006 17:47:59 -0000 1.1.2.9 @@ -29,7 +29,7 @@ ************************************************************************ */ -var QxVersion = "0.2_beta-4"; +var QxVersion = "0.2_rc1"; var QxPropertyCounter = 0; var QxClasses = {}; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:48:10
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23584/source/test/user Modified Files: Tag: renderer Window_1.html Log Message: Reworked application startup, optimized layout of test examples Index: Window_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Window_1.html,v retrieving revision 1.14.2.22 retrieving revision 1.14.2.23 diff -u -d -r1.14.2.22 -r1.14.2.23 --- Window_1.html 20 Dec 2005 08:17:06 -0000 1.14.2.22 +++ Window_1.html 25 Jan 2006 17:48:00 -0000 1.14.2.23 @@ -10,7 +10,7 @@ <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> - <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> + <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> @@ -18,10 +18,6 @@ <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> - <div id="testDescription"> - <p>This is the QxWindow widget. These should emulate the default look and behaviour of the application windows running under Microsoft Windows(TM).</p> - </div> - <script type="text/javascript"> window.application.main = function() { @@ -310,6 +306,12 @@ w2.open(); w3.open(); }; + + //window.application.init(); </script> + + <div id="testDescription"> + <p>This is the QxWindow widget. These should emulate the default look and behaviour of the application windows running under Microsoft Windows(TM).</p> + </div> </body> </html> \ No newline at end of file |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:48:10
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23584/source/style Modified Files: Tag: renderer demolayout.css Log Message: Reworked application startup, optimized layout of test examples Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- demolayout.css 24 Jan 2006 16:48:55 -0000 1.1.2.3 +++ demolayout.css 25 Jan 2006 17:47:59 -0000 1.1.2.4 @@ -1,6 +1,8 @@ body{ font-size: 11px; font-family: Arial, "Bitstream Vera Sans", Verdana, sans-serif; + margin: 0; + padding: 0; } #testHead, @@ -58,7 +60,7 @@ #testDescription{ position: absolute; top: 41px; - height: 200px; + height: 80px; overflow: auto; right: 20px; background: #fff; @@ -83,7 +85,7 @@ #testDebug{ position: absolute; - top: 357px; + top: 202px; bottom: 41px; background: #fff; width: 285px; @@ -95,7 +97,8 @@ } * html #testDebug{ - height: expression(document.body.offsetHeight - 400); + top: 190px; + height: expression(document.body.offsetHeight - 232); } #testDebug .head{ @@ -122,7 +125,7 @@ } * html #testDebug .log{ - height: expression(document.body.offsetHeight - 428); + height: expression(document.body.offsetHeight - 260); width: 100%; } @@ -158,10 +161,10 @@ font-family: Tahoma, Verdana, sans-serif; position: absolute; - top: 250px; + top: 127px; right: 20px; width: 285px; - height: 100px; + height: 70px; z-index: 2; } |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 17:48:10
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23584/source/script/gui Modified Files: Tag: renderer QxWidgetCore.js Log Message: Reworked application startup, optimized layout of test examples Index: QxWidgetCore.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidgetCore.js,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -d -r1.1.2.12 -r1.1.2.13 --- QxWidgetCore.js 16 Jan 2006 16:11:55 -0000 1.1.2.12 +++ QxWidgetCore.js 25 Jan 2006 17:47:59 -0000 1.1.2.13 @@ -79,7 +79,7 @@ // Also used for inline event handling to seperate 'real' events QxWidget._inFlushGlobalQueues = true; - var tt = QxWidget.enableDebug || !window.application._postmainDone ? QxWidget.timeTracker : QxWidget.executor; + var tt = QxWidget.enableDebug ? QxWidget.timeTracker : QxWidget.executor; var do1 = QxWidget._globalWidgetQueue.length; var ti1 = do1 ? tt(QxWidget.flushGlobalWidgetQueue, do1, QxWidget.TRACKID_WIDGET) : 0; @@ -103,12 +103,6 @@ window.status = "Global-Queue-Runtime: (Widget=" + ti1 + "|Elem=" + ti2 + "|State=" + ti3 + "|Jobs=" + ti4 + "|Layout=" + ti5 + "|Display=" + ti6 + ") = " + (ti1+ti2+ti3+ti4+ti5+ti6) + " [" + ((new Date).valueOf()-window._htmlstart) + "]"; }; - if (!window.application._postmainDone) - { - window.application._postmain(ti1+ti2+ti3+ti4+ti5+ti6); - window.application._postmainDone = true; - }; - delete QxWidget._inFlushGlobalQueues; }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 14:14:15
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13544/source/script/widgets Modified Files: Tag: renderer QxGallery.js QxGalleryList.js Log Message: Some fixes Index: QxGalleryList.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGalleryList.js,v retrieving revision 1.7.2.8 retrieving revision 1.7.2.9 diff -u -d -r1.7.2.8 -r1.7.2.9 --- QxGalleryList.js 23 Jan 2006 15:17:13 -0000 1.7.2.8 +++ QxGalleryList.js 25 Jan 2006 14:14:07 -0000 1.7.2.9 @@ -40,6 +40,8 @@ this._processedImages = 0; this.setOverflow("auto"); + + this.setHtmlProperty("className", "QxGalleryList"); this._manager = new QxDomSelectionManager(this); @@ -147,11 +149,11 @@ }; proto.scrollItemIntoViewX = function(vItem) { - QxDOM.scrollIntoViewX(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewX(vItem, vItem.parentNode.parentNode); }; proto.scrollItemIntoViewY = function(vItem) { - QxDOM.scrollIntoViewY(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewY(vItem, vItem.parentNode.parentNode); }; proto.getItems = function() { Index: QxGallery.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGallery.js,v retrieving revision 1.21.2.9 retrieving revision 1.21.2.10 diff -u -d -r1.21.2.9 -r1.21.2.10 --- QxGallery.js 23 Jan 2006 15:17:13 -0000 1.21.2.9 +++ QxGallery.js 25 Jan 2006 14:14:07 -0000 1.21.2.10 @@ -40,6 +40,8 @@ this._processedImages = 0; this.setOverflow("auto"); + + this.setHtmlProperty("className", "QxGallery"); this._manager = new QxDomSelectionManager(this); @@ -359,11 +361,11 @@ }; proto.scrollItemIntoViewX = function(vItem) { - QxDOM.scrollIntoViewX(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewX(vItem, vItem.parentNode.parentNode); }; proto.scrollItemIntoViewY = function(vItem) { - QxDOM.scrollIntoViewY(vItem, vItem.parentNode.parentNode); + QxDom.scrollIntoViewY(vItem, vItem.parentNode.parentNode); }; @@ -522,4 +524,4 @@ frame.appendChild(comment); }; -}; \ No newline at end of file +}; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 12:27:03
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7223/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Completly cleaned up style Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.70 retrieving revision 1.7.2.71 diff -u -d -r1.7.2.70 -r1.7.2.71 --- QxClientDocument.js 25 Jan 2006 11:20:40 -0000 1.7.2.70 +++ QxClientDocument.js 25 Jan 2006 12:26:44 -0000 1.7.2.71 @@ -38,7 +38,10 @@ // Init element this.setElement(this._document.body); - + + // Layout Mode + this.setLayoutMode("application"); + // Needed hard-coded because otherwise the client document // would not be added initially to the state queue this._addToGlobalStateQueue(); @@ -83,7 +86,7 @@ QxClientDocument.addProperty({ name : "globalCursor", type : QxConst.TYPEOF_STRING }); -QxClientDocument.addProperty({ name : "layoutMode", type : QxConst.TYPEOF_STRING, possibleValues : [ "application", "website" ], defaultValue : "application" }); +QxClientDocument.addProperty({ name : "layoutMode", type : QxConst.TYPEOF_STRING, possibleValues : [ "application", "page" ] }); QxClientDocument.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "client-document" }); @@ -114,6 +117,28 @@ return true; }; +proto._modifyLayoutMode = function(propValue, propOldValue, propData) +{ + var bs = document.body.style; + var hs = document.documentElement.style; + + bs.padding = hs.padding = bs.margin = hs.margin = QxConst.CORE_0PIXEL; + + switch(propValue) + { + case "application": + bs.width = bs.height = hs.width = hs.height = QxConst.CORE_HUNDREDPERCENT; + bs.overflow = QxConst.OVERFLOW_VALUE_HIDDEN; + break; + + case "page": + bs.width = bs.height = hs.width = hs.height = bs.overflow = QxConst.CORE_EMPTY; + break; + }; + + return true; +}; + proto.getWindow = function() { return this._window; }; proto.getTopLevelWidget = QxUtil.returnThis; proto.getDocumentElement = function() { return this._document; }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 12:27:03
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7223/source/style Modified Files: Tag: renderer qooxdoo.css Log Message: Completly cleaned up style Index: qooxdoo.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/qooxdoo.css,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- qooxdoo.css 25 Jan 2006 08:58:55 -0000 1.1.2.5 +++ qooxdoo.css 25 Jan 2006 12:26:44 -0000 1.1.2.6 @@ -1,8 +0,0 @@ -html, body { - overflow: hidden; - width: 100%; - height: 100%; - border: 0 none; - padding: 0; - margin : 0; -} |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 12:27:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7109/source/script/managers Modified Files: Tag: renderer QxEventManager.js Log Message: Route events which have the target htmlElement to the document body Index: QxEventManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxEventManager.js,v retrieving revision 1.14.2.63 retrieving revision 1.14.2.64 diff -u -d -r1.14.2.63 -r1.14.2.64 --- QxEventManager.js 25 Jan 2006 09:00:23 -0000 1.14.2.63 +++ QxEventManager.js 25 Jan 2006 12:26:30 -0000 1.14.2.64 @@ -338,6 +338,13 @@ QxEventManager.getOriginalTargetObject = function(vNode) { + // Events on the HTML element, when using absolute locations which + // are outside the HTML element. Opera does not seem to fire events + // on the HTML element. + if (vNode == document.documentElement) { + vNode = document.body; + }; + // Walk up the tree and search for an QxWidget while(vNode != null && vNode._QxWidget == null) { |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 11:22:17
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18721/source/script/widgets Modified Files: Tag: renderer QxHtml.js QxText.js Log Message: Enhanced text and html objects Index: QxText.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxText.js,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- QxText.js 16 Jan 2006 16:11:57 -0000 1.1.2.6 +++ QxText.js 25 Jan 2006 11:22:08 -0000 1.1.2.7 @@ -54,6 +54,10 @@ */ 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 }); @@ -73,6 +77,16 @@ return true; }; +proto._modifyFont = function(propValue, propOldValue, propData) +{ + if (propValue) { + propValue.applyWidget(this); + } else if (propOldValue) { + propOldValue.resetWidget(this); + }; + + return true; +}; Index: QxHtml.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxHtml.js,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- QxHtml.js 16 Jan 2006 16:11:57 -0000 1.1.2.5 +++ QxHtml.js 25 Jan 2006 11:22:08 -0000 1.1.2.6 @@ -54,6 +54,10 @@ */ 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 }); @@ -73,6 +77,16 @@ return true; }; +proto._modifyFont = function(propValue, propOldValue, propData) +{ + if (propValue) { + propValue.applyWidget(this); + } else if (propOldValue) { + propOldValue.resetWidget(this); + }; + + return true; +}; |
|
From: Sebastian W. <wp...@us...> - 2006-01-25 11:22:17
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18721/source/script/appearance Modified Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Enhanced text and html objects Index: QxAppearanceTheme-Default.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.js,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -d -r1.1.2.12 -r1.1.2.13 --- QxAppearanceTheme-Default.js 25 Jan 2006 09:19:16 -0000 1.1.2.12 +++ QxAppearanceTheme-Default.js 25 Jan 2006 11:22:08 -0000 1.1.2.13 @@ -125,6 +125,17 @@ } }); +theme.registerAppearance("htmlcontainer", +{ + initial : function(vWidget, vTheme) { + return vTheme.initialFrom(vWidget, "label"); + }, + + state : function(vWidget, vTheme, vStates) { + return vTheme.stateFrom(vWidget, "label"); + } +}); + theme.registerAppearance("popup", { initial : function(vWidget, vTheme) @@ -1258,7 +1269,7 @@ initial : function(vWidget, vTheme) { - return { + return QxUtil.mergeObjectWith(vTheme.initialFrom(vWidget, "label"), { cursor : QxConst.CORE_DEFAULT, marginLeft : 3, height : 15, @@ -1267,15 +1278,15 @@ paddingBottom : 2, paddingLeft : 2, allowStretchY : false - }; + }); }, state : function(vWidget, vTheme, vStates) { - return { + return QxUtil.mergeObjectWith(vTheme.stateFrom(vWidget, "label"), { backgroundColor : vStates.selected ? this.bgcolor_selected : null, color : vStates.selected ? this.color_selected : null - }; + }); } }); @@ -1533,15 +1544,15 @@ vWidget.setStyleProperty(QxConst.PROPERTY_WHITESPACE, "nowrap"); vWidget.setStyleProperty(QxConst.PROPERTY_OVERFLOW_TEXT, QxConst.OVERFLOW_VALUE_ELLIPSIS); - return { + return QxUtil.mergeObjectWith(vTheme.initialFrom(vWidget, "htmlcontainer"), { overflow: QxConst.OVERFLOW_VALUE_HIDDEN, paddingLeft : 6, paddingRight : 6 - }; + }); }, state : function(vWidget, vTheme, vStates) { - return vTheme.stateFrom(vWidget, "list-view-content-cell"); + return QxUtil.mergeObjectWith(vTheme.stateFrom(vWidget, "htmlcontainer"), vTheme.stateFrom(vWidget, "list-view-content-cell")); } }); |