qooxdoo-commit Mailing List for qooxdoo (Page 1432)
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-18 09:43:52
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/layouts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24924/source/script/layouts Modified Files: Tag: renderer QxHorizontalBoxLayoutImpl.js QxVerticalBoxLayoutImpl.js Log Message: Minor changes to update children on flex layout changes, hopefully without ugly side-effects to other areas Index: QxVerticalBoxLayoutImpl.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/layouts/Attic/QxVerticalBoxLayoutImpl.js,v retrieving revision 1.1.2.81 retrieving revision 1.1.2.82 diff -C2 -d -r1.1.2.81 -r1.1.2.82 *** QxVerticalBoxLayoutImpl.js 16 Jan 2006 16:11:56 -0000 1.1.2.81 --- QxVerticalBoxLayoutImpl.js 18 Jan 2006 09:43:44 -0000 1.1.2.82 *************** *** 604,609 **** if (chc._recomputeBoxHeight()) { ! chc._invalidateOuterHeight(); ! chc._invalidateInnerHeight(); }; --- 604,609 ---- if (chc._recomputeBoxHeight()) { ! chc._recomputeOuterHeight(); ! chc._recomputeInnerHeight(); }; Index: QxHorizontalBoxLayoutImpl.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/layouts/Attic/QxHorizontalBoxLayoutImpl.js,v retrieving revision 1.1.2.79 retrieving revision 1.1.2.80 diff -C2 -d -r1.1.2.79 -r1.1.2.80 *** QxHorizontalBoxLayoutImpl.js 16 Jan 2006 16:11:56 -0000 1.1.2.79 --- QxHorizontalBoxLayoutImpl.js 18 Jan 2006 09:43:44 -0000 1.1.2.80 *************** *** 602,607 **** if (chc._recomputeBoxWidth()) { ! chc._invalidateOuterWidth(); ! chc._invalidateInnerWidth(); }; --- 602,607 ---- if (chc._recomputeBoxWidth()) { ! chc._recomputeOuterWidth(); ! chc._recomputeInnerWidth(); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-18 08:42:27
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2897/source/script/core Added Files: Tag: renderer QxXmlExtras.js Log Message: Moved to core --- NEW FILE: QxXmlExtras.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxXmlExtras.js,v 1.1.2.3 2006/01/18 08:42:18 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(ajax) ************************************************************************ */ /* Based on: IE7, version 0.9 (alpha) (2005-08-19) Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/) License: http://creativecommons.org/licenses/LGPL/2.1/ Modelled after: http://www.mozilla.org/xmlextras/ */ if (QxClient.isMshtml()) { // IE6 has a better version var XMLHTTPObject = (/MSIE 5/.test(navigator.userAgent) ? "Microsoft" : "Msxml2") + ".XMLHTTP"; function XMLHttpRequest() { return new ActiveXObject(XMLHTTPObject); }; function DOMParser() { /* empty constructor */ }; DOMParser.prototype = { toString: function() { return "[object DOMParser]" }, parseFromString: function($str, $contentType) { var $xmlDocument = new ActiveXObject("Microsoft.XMLDOM"); $xmlDocument.loadXML($str); return $xmlDocument; }, // not supported parseFromStream: new Function, baseURI: "" }; function XMLSerializer() { /* empty constructor */ }; XMLSerializer.prototype = { toString: function() { return "[object XMLSerializer]" }, serializeToString: function($root) { return $root.xml || $root.outerHTML; }, // not supported serializeToStream: new Function }; }; // Create a new Namespace QxXmlExtras = {}; // Create a XML dom node QxXmlExtras.createXmlDom = function() { // The Mozilla style if (document.implementation && document.implementation.createDocument) { return document.implementation.createDocument("", "", null); }; // The Microsoft style if (window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLDOM"); }; throw new Error("This browser does not support xml dom creation."); }; // Implementation of selectNodes() and selectSingleNode() // for Gecko/Mozilla browsers if (window.XPathEvaluator) { var xpe = new XPathEvaluator(); if (!Element.prototype.selectSingleNode) { Element.prototype.selectSingleNode = function (xpath) { return xpe.evaluate(xpath, this, xpe.createNSResolver(this), XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; }; }; if (!Element.prototype.selectNodes) { Element.prototype.selectNodes = function (xpath) { var result = xpe.evaluate(xpath, this, xpe.createNSResolver(this), XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); var nodes = []; for (var i=0; i<result.snapshotLength; i++) { nodes[i] = result.snapshotItem(i); }; return nodes; }; }; if (!Document.prototype.selectSingleNode) { Document.prototype.selectSingleNode = function (xpath) { return xpe.evaluate(xpath, this, xpe.createNSResolver(this), XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; }; }; if (!Document.prototype.selectNodes) { Document.prototype.selectNodes = function (xpath) { var result = xpe.evaluate(xpath, this, xpe.createNSResolver(this), XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); var nodes = []; for (var i=0; i<result.snapshotLength; i++) { nodes[i] = result.snapshotItem(i); }; return nodes; }; }; Element.prototype.__defineGetter__('text', function() { var text = ""; for (var i=0; i<this.childNodes.length; i++) { text += this.childNodes[i].text != null ? this.childNodes[i].text : ""; }; return text; } ); Element.prototype.__lookupGetter__('text'); Attr.prototype.__defineGetter__('text', function(){ return this.nodeValue }); Attr.prototype.__lookupGetter__('text'); Text.prototype.__defineGetter__('text', function(){ return this.nodeValue }); Text.prototype.__lookupGetter__('text'); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-18 08:42:26
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/binding In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2897/source/script/binding Removed Files: Tag: renderer QxXmlExtras.js Log Message: Moved to core --- QxXmlExtras.js DELETED --- |
|
From: Andreas E. <ec...@us...> - 2006-01-17 16:16:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28490/source/script/core Modified Files: Tag: renderer QxDebug.js Log Message: Minor change Index: QxDebug.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxDebug.js,v retrieving revision 1.1.2.22 retrieving revision 1.1.2.23 diff -C2 -d -r1.1.2.22 -r1.1.2.23 *** QxDebug.js 16 Jan 2006 16:11:55 -0000 1.1.2.22 --- QxDebug.js 17 Jan 2006 16:15:52 -0000 1.1.2.23 *************** *** 163,167 **** QxDebug.lastgroup = null; QxDebug.defaultClass = QxConst.CORE_DEFAULT; ! QxDebug.fill = "0"; QxDebug.divider = ": "; QxDebug.groupClass = "group"; --- 163,167 ---- QxDebug.lastgroup = null; QxDebug.defaultClass = QxConst.CORE_DEFAULT; ! QxDebug.fill = QxConst.CORE_ZERO; QxDebug.divider = ": "; QxDebug.groupClass = "group"; *************** *** 179,187 **** if (m<10) { ! m = "0" + m; }; if (d<10) { ! d = "0" + d; }; --- 179,187 ---- if (m<10) { ! m = QxConst.CORE_ZERO + m; }; if (d<10) { ! d = QxConst.CORE_ZERO + d; }; |
|
From: Andreas E. <ec...@us...> - 2006-01-17 16:15:06
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28227/source/script/gui Modified Files: Tag: renderer QxNativeWindow.js Log Message: Added internal property for default URI (SSL!) Index: QxNativeWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxNativeWindow.js,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -C2 -d -r1.1.2.11 -r1.1.2.12 *** QxNativeWindow.js 16 Jan 2006 16:11:55 -0000 1.1.2.11 --- QxNativeWindow.js 17 Jan 2006 16:14:58 -0000 1.1.2.12 *************** *** 154,157 **** --- 154,158 ---- + proto._defaultURI = "about:blank"; /* *************** *** 436,440 **** }; ! this._window = window.open("about:blank", this.getName(), conf); if (!this._window) --- 437,441 ---- }; ! this._window = window.open(this._defaultURI, this.getName(), conf); if (!this._window) |
|
From: Andreas E. <ec...@us...> - 2006-01-17 16:12:14
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27645/source/script/widgets Modified Files: Tag: renderer QxSpinner.js Log Message: Minor change Index: QxSpinner.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxSpinner.js,v retrieving revision 1.9.2.26 retrieving revision 1.9.2.27 diff -C2 -d -r1.9.2.26 -r1.9.2.27 *** QxSpinner.js 16 Jan 2006 16:11:57 -0000 1.9.2.26 --- QxSpinner.js 17 Jan 2006 16:12:06 -0000 1.9.2.27 *************** *** 540,544 **** if (val.length > 1) { ! while(val.charAt(0) == "0") { val = val.substr(1, val.length); }; --- 540,544 ---- if (val.length > 1) { ! while(val.charAt(0) == QxConst.CORE_ZERO) { val = val.substr(1, val.length); }; |
|
From: Andreas E. <ec...@us...> - 2006-01-17 16:11:32
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27501/source/script/core Modified Files: Tag: renderer QxConst.js Log Message: Minor addition Index: QxConst.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxConst.js,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -C2 -d -r1.1.2.18 -r1.1.2.19 *** QxConst.js 16 Jan 2006 16:11:55 -0000 1.1.2.18 --- QxConst.js 17 Jan 2006 16:11:22 -0000 1.1.2.19 *************** *** 41,44 **** --- 41,45 ---- CORE_SLASH : "/", CORE_DOT : ".", + CORE_ZERO : "0", CORE_AUTO : "auto", CORE_FLEX : "1*", |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:47:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513/source/script/gui Modified Files: Tag: renderer QxParent.js QxWidget.js Log Message: Reworked zIndex stuff to fix some ugly bugs. Hopefully this completly reworked version does it better Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.47 retrieving revision 1.1.2.48 diff -C2 -d -r1.1.2.47 -r1.1.2.48 *** QxWidget.js 16 Jan 2006 18:45:56 -0000 1.1.2.47 --- QxWidget.js 17 Jan 2006 13:47:13 -0000 1.1.2.48 *************** *** 183,187 **** this might give unrespected results. */ ! QxWidget.addProperty({ name : "zIndex", type : QxConst.TYPEOF_NUMBER, impl : "styleProperty" }); /*! --- 183,187 ---- this might give unrespected results. */ ! QxWidget.addProperty({ name : "zIndex", type : QxConst.TYPEOF_NUMBER }); /*! *************** *** 3414,3421 **** */ - proto._modifyStyleProperty = function(propValue, propOldValue, propData) { - return this.setStyleProperty(propData.name, propValue); - }; - proto.getStyleProperty = function(propName) { return this._styleProperties[propName] || QxConst.CORE_EMPTY; --- 3414,3417 ---- *************** *** 3646,3649 **** --- 3642,3660 ---- + /* + --------------------------------------------------------------------------- + ZINDEX + --------------------------------------------------------------------------- + */ + + proto._modifyZIndex = function(propValue, propOldValue, propData) { + return this.setStyleProperty(propData.name, propValue); + }; + + + + + + /* Index: QxParent.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxParent.js,v retrieving revision 1.1.2.19 retrieving revision 1.1.2.20 diff -C2 -d -r1.1.2.19 -r1.1.2.20 *** QxParent.js 16 Jan 2006 16:11:55 -0000 1.1.2.19 --- QxParent.js 17 Jan 2006 13:47:11 -0000 1.1.2.20 *************** *** 892,896 **** var vChanges = vChild._layoutChanges; ! // this.debug("Layouting " + vChild + ": " + QxUtil.convertObjectToString(vChanges)); try --- 892,896 ---- var vChanges = vChild._layoutChanges; ! // this.debug("Layouting " + vChild + ": " + QxUtil.convertObjectKeysToString(vChanges)); try |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:47:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513/source/script/widgets Modified Files: Tag: renderer QxMenu.js QxPopup.js QxToolTip.js QxWindow.js Log Message: Reworked zIndex stuff to fix some ugly bugs. Hopefully this completly reworked version does it better Index: QxMenu.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxMenu.js,v retrieving revision 1.17.2.35 retrieving revision 1.17.2.36 diff -C2 -d -r1.17.2.35 -r1.17.2.36 *** QxMenu.js 16 Jan 2006 16:11:57 -0000 1.17.2.35 --- QxMenu.js 17 Jan 2006 13:47:13 -0000 1.17.2.36 *************** *** 150,156 **** QxCanvasLayout.prototype._beforeDisappear.call(this); - // zIndex handling - this.sendToBack(); - // deregister as opened from QxMenuManager QxMenuManager.remove(this); --- 150,153 ---- Index: QxToolTip.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolTip.js,v retrieving revision 1.2.2.21 retrieving revision 1.2.2.22 diff -C2 -d -r1.2.2.21 -r1.2.2.22 *** QxToolTip.js 16 Jan 2006 16:11:57 -0000 1.2.2.21 --- QxToolTip.js 17 Jan 2006 13:47:13 -0000 1.2.2.22 *************** *** 37,41 **** QxPopupAtom.call(this, vLabel, vIcon); ! // ************************************************************************ --- 37,41 ---- QxPopupAtom.call(this, vLabel, vIcon); ! // ************************************************************************ *************** *** 59,63 **** QxToolTip.extend(QxPopupAtom, "QxToolTip"); ! --- 59,63 ---- QxToolTip.extend(QxPopupAtom, "QxToolTip"); ! proto._minZIndex = 1e7; *************** *** 80,84 **** QxToolTip.addProperty({ name : "boundToWidget" }); ! proto._minZindex = 1e7; --- 80,84 ---- QxToolTip.addProperty({ name : "boundToWidget" }); ! *************** *** 132,145 **** proto._beforeAppear = function() { - QxPopupAtom.prototype._beforeAppear.call(this); - this._stopShowTimer(); this._startHideTimer(); }; ! proto._beforeDisappear = function() ! { ! QxPopupAtom.prototype._beforeDisappear.call(this); ! this._stopHideTimer(); }; --- 132,140 ---- proto._beforeAppear = function() { this._stopShowTimer(); this._startHideTimer(); }; ! proto._beforeDisappear = function() { this._stopHideTimer(); }; Index: QxPopup.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxPopup.js,v retrieving revision 1.3.2.29 retrieving revision 1.3.2.30 diff -C2 -d -r1.3.2.29 -r1.3.2.30 *** QxPopup.js 16 Jan 2006 16:11:57 -0000 1.3.2.29 --- QxPopup.js 17 Jan 2006 13:47:13 -0000 1.3.2.30 *************** *** 34,38 **** QxCanvasLayout.call(this); ! this.setZIndex(this._minZindex); }; --- 34,38 ---- QxCanvasLayout.call(this); ! this.setZIndex(this._minZIndex); }; *************** *** 54,58 **** QxPopup.changeProperty({ name : "display", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); ! proto._minZindex = 1e6; proto._showTimeStamp = new Date(0); --- 54,58 ---- QxPopup.changeProperty({ name : "display", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); ! proto._minZIndex = 1e6; proto._showTimeStamp = new Date(0); *************** *** 86,91 **** QxCanvasLayout.prototype._beforeDisappear.call(this); - this.sendToBack(); - QxPopupManager.remove(this); --- 86,89 ---- *************** *** 137,283 **** /* --------------------------------------------------------------------------- ! Z-Index positioning --------------------------------------------------------------------------- */ ! if(QxClient.isMshtml()) { ! /*! ! Makes so that the current popup is displayed behind all other shown popups ! */ ! proto.sendToBack = function() ! { ! if(!this._isCreated || !this._hasParent) { ! return; ! }; ! ! var vMin = Infinity; ! var vDocumentElement = this.getTopLevelWidget().getDocumentElement(); ! var vChildren = vDocumentElement.body.children; ! var vChildrenLength = vChildren.length; ! var vZIndex; ! ! for (var i=0; i<vChildrenLength; i++) ! { ! if(vChildren[i].nodeType == 1) ! { ! vZIndex = vChildren[i].currentStyle.zIndex; ! ! if (vZIndex > this._minZindex) { ! vMin = Math.min(vMin, vZIndex); ! }; ! }; ! }; ! ! this.setZIndex(vMin - 1); ! }; ! ! /*! ! Makes so that the popup is displayed on top of all other shown popups. ! */ ! proto.bringToFront = function() ! { ! if(!this._isCreated || !this._hasParent) { ! return; ! }; ! ! var vMax = -Infinity; ! var vDocumentElement = this.getTopLevelWidget().getDocumentElement(); ! ! var vChildren = vDocumentElement.body.children; ! var vChildrenLength = vChildren.length; ! ! for (var i=0; i<vChildrenLength; i++) ! { ! if(vChildren[i].nodeType == 1) ! { ! vMax = Math.max(vMax, vChildren[i].currentStyle.zIndex); ! }; ! }; ! this.setZIndex(vMax + 1); ! }; ! } ! else { ! /*! ! Makes so that the current popup is displayed behind all other shown popups ! */ ! proto.sendToBack = function() ! { ! if(!this._isCreated || !this._hasParent) { ! return; ! }; ! ! var vMin = Infinity; ! var vDocumentElement = this.getTopLevelWidget().getDocumentElement(); ! var vChildren = vDocumentElement.body.childNodes; ! var vChildrenLength = vChildren.length; ! var vView = vDocumentElement.defaultView; ! var vZIndex; ! ! for (var i=0; i<vChildrenLength; i++) ! { ! if(vChildren[i].nodeType == 1) ! { ! vZIndex = vChildren[i].style.zIndex; ! ! if(vZIndex == QxConst.CORE_EMPTY || isNaN(vZIndex)) ! { ! vZIndex = vView.getComputedStyle(vChildren[i], QxConst.CORE_EMPTY).zIndex; ! ! if(vZIndex == QxConst.CORE_EMPTY || isNaN(vZIndex)) { ! vZIndex = 0; ! }; ! }; ! ! if (vZIndex > this._minZindex) { ! vMin = Math.min(vMin, vZIndex); ! }; ! }; ! }; ! this.setZIndex(vMin - 1); }; - /*! - Makes so that the popup is displayed on top of all other shown popups. - */ - proto.bringToFront = function() - { - if(!this._isCreated || !this._hasParent) { - return; - }; - - var vMax = -Infinity; - var vDocumentElement = this.getTopLevelWidget().getDocumentElement(); - var vChildren = vDocumentElement.body.childNodes; - var vChildrenLength = vChildren.length; - var vView = vDocumentElement.defaultView; - var vZIndex; - - for (var i=0; i<vChildrenLength; i++) - { - if(vChildren[i].nodeType == 1) - { - vZIndex = vChildren[i].style.zIndex; - if(vZIndex == QxConst.CORE_EMPTY || isNaN(vZIndex)) - { - vZIndex = vView.getComputedStyle(vChildren[i], QxConst.CORE_EMPTY).zIndex; - if(vZIndex == QxConst.CORE_EMPTY || isNaN(vZIndex)) { - vZIndex = 0; - }; - }; - vMax = Math.max(vMax, vZIndex); - }; - }; - this.setZIndex(vMax + 1); - }; - }; proto.getShowTimeStamp = function() { return this._showTimeStamp; --- 135,179 ---- /* --------------------------------------------------------------------------- ! ZIndex Positioning --------------------------------------------------------------------------- */ ! proto.bringToFront = function() { ! this.forceZIndex(Infinity); ! this._sendTo(); ! }; ! proto.sendToBack = function() { ! this.forceZIndex(-Infinity); ! this._sendTo(); ! }; ! proto._sendTo = function() ! { ! var vPopups = QxUtil.convertObjectValuesToArray(QxPopupManager.getAll()); ! var vWindows = QxUtil.convertObjectValuesToArray(QxWindowManager.getAll()); ! var vMenus = QxUtil.convertObjectValuesToArray(QxMenuManager.getAll()); ! ! var vAll = vPopups.concat(vWindows, vMenus).sort(QxCompare.byZIndex); ! var vLength = vAll.length; ! var vIndex = this._minZIndex; ! ! for (var i=0; i<vLength; i++) { ! vAll[i].setZIndex(vIndex++); }; + }; + /* + --------------------------------------------------------------------------- + TIMESTAMP HANDLING + --------------------------------------------------------------------------- + */ proto.getShowTimeStamp = function() { return this._showTimeStamp; Index: QxWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxWindow.js,v retrieving revision 1.25.2.62 retrieving revision 1.25.2.63 diff -C2 -d -r1.25.2.62 -r1.25.2.63 *** QxWindow.js 16 Jan 2006 16:11:57 -0000 1.25.2.62 --- QxWindow.js 17 Jan 2006 13:47:13 -0000 1.25.2.63 *************** *** 501,507 **** QxWindowManager.setActiveWindow(this); this.setActiveState(QxConst.STATE_ACTIVE); this._captionBar.setActiveState(QxConst.STATE_ACTIVE); - }; --- 501,508 ---- QxWindowManager.setActiveWindow(this); + this.bringToFront(); + this.setActiveState(QxConst.STATE_ACTIVE); this._captionBar.setActiveState(QxConst.STATE_ACTIVE); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:47:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513/source/script/core Modified Files: Tag: renderer QxCompare.js QxUtil.js Log Message: Reworked zIndex stuff to fix some ugly bugs. Hopefully this completly reworked version does it better Index: QxUtil.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxUtil.js,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -C2 -d -r1.1.2.12 -r1.1.2.13 *** QxUtil.js 16 Jan 2006 16:11:55 -0000 1.1.2.12 --- QxUtil.js 17 Jan 2006 13:47:11 -0000 1.1.2.13 *************** *** 109,121 **** }; ! QxUtil.convertObjectToString = function(h) { return QxUtil.convertObjectToArray(h).join(", "); }; ! QxUtil.convertObjectToArray = function(h) { var r = []; for (var s in h) { ! r.push(s); }; --- 109,131 ---- }; ! QxUtil.convertObjectKeysToArray = function(h) ! { ! var r = []; ! for (var s in h) { ! r.push(s); ! }; ! ! return r; ! }; ! ! QxUtil.convertObjectKeysToString = function(h) { return QxUtil.convertObjectToArray(h).join(", "); }; ! QxUtil.convertObjectValuesToArray = function(h) { var r = []; for (var s in h) { ! r.push(h[s]); }; *************** *** 191,194 **** --- 201,215 ---- }; + QxUtil.mergeObjects = function(vObjectA) + { + var vLength = arguments.length; + + for (var i=1; i<vLength; i++) { + QxUtil.mergeObjectWith(vObjectA, arguments[i]); + }; + + return vObjectA; + }; + Index: QxCompare.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxCompare.js,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** QxCompare.js 16 Jan 2006 16:11:55 -0000 1.1.2.4 --- QxCompare.js 17 Jan 2006 13:47:11 -0000 1.1.2.5 *************** *** 89,90 **** --- 89,94 ---- return parseInt(ipa[3]) - parseInt(ipb[3]); }; + + QxCompare.byZIndex = function(a, b) { + return a.getZIndex() - b.getZIndex(); + }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:47:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513/source/script/managers Modified Files: Tag: renderer QxWindowManager.js Log Message: Reworked zIndex stuff to fix some ugly bugs. Hopefully this completly reworked version does it better Index: QxWindowManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxWindowManager.js,v retrieving revision 1.3.2.18 retrieving revision 1.3.2.19 diff -C2 -d -r1.3.2.18 -r1.3.2.19 *** QxWindowManager.js 16 Jan 2006 16:11:56 -0000 1.3.2.18 --- QxWindowManager.js 17 Jan 2006 13:47:13 -0000 1.3.2.19 *************** *** 65,72 **** }; - this.sort(); - - // this.debug("ACTIVE WINDOW: " + propOldValue + " => " + propValue); - if (propOldValue && propOldValue.getModal()) { propOldValue.getTopLevelWidget().release(propOldValue); --- 65,68 ---- *************** *** 108,111 **** --- 104,117 ---- }; + + + + + /* + --------------------------------------------------------------------------- + MANAGER INTERFACE + --------------------------------------------------------------------------- + */ + proto.compareWindows = function(w1, w2) { *************** *** 122,152 **** }; - proto.sort = function(vWindow) - { - var a = []; - for (var i in this._objects) { - a.push(this._objects[i]); - }; - - a.sort(this.compareWindows); - - var minz = QxWindow.prototype._minZindex; - - for (var l=a.length, i=0; i<l; i++) { - a[i].setZIndex(minz+i); - }; - }; - - - - - - - /* - --------------------------------------------------------------------------- - MANAGER INTERFACE - --------------------------------------------------------------------------- - */ - proto.add = function(vWindow) { --- 128,131 ---- *************** *** 193,199 **** - - - /* --------------------------------------------------------------------------- --- 172,175 ---- |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:47:39
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513/source/test/user Modified Files: Tag: renderer Window_6.html Log Message: Reworked zIndex stuff to fix some ugly bugs. Hopefully this completly reworked version does it better Index: Window_6.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Window_6.html,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Window_6.html 16 Jan 2006 10:22:13 -0000 1.1.2.2 --- Window_6.html 17 Jan 2006 13:47:13 -0000 1.1.2.3 *************** *** 20,24 **** <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> --- 20,24 ---- <div id="testDescription"> ! <p>Some tests for zIndex handling for different widgets.</p> </div> *************** *** 27,30 **** --- 27,61 ---- { var d = this.getClientWindow().getClientDocument(); + + + var btnaler = new QxButton("Open Alert", "icons/16/error.png"); + btnaler.setLocation(450, 50); + this.add(btnaler); + + + var aler = new QxPopupAtom("Attention", "icons/128/error.png"); + aler.setLocation(40, 70); + aler.setBackgroundColor("yellow"); + aler.setOpacity(0.5); + this.add(aler); + + btnaler.addEventListener("execute", function(e) + { + aler.show(); + }); + + + + var bar = new QxTerminator; + bar.setLocation(0, 0); + bar.setWidth(50); + bar.setBottom(0); + bar.setBackgroundColor("black"); + bar.setOpacity(0.5); + bar.setZIndex(1e7); + this.add(bar); + + + var w1 = new QxWindow("Application Window"); *************** *** 108,112 **** var c1 = new QxComboBox; ! c1.setLocation(0, 40); c1.getList().add(new QxListItem("Item 1")); --- 139,143 ---- var c1 = new QxComboBox; ! c1.setLocation(0, 35); c1.getList().add(new QxListItem("Item 1")); *************** *** 122,127 **** --- 153,211 ---- + var square = new QxTerminator; + square.setDimension(50, 50); + square.setLocation(0, 70); + square.setBackgroundColor("blue"); + w1.add(square); + var p1 = new QxPopupAtom("Hello World"); + p1.setBorder(4, "solid", "red"); + p1.setBackgroundColor("yellow"); + p1.setLocation(0, 70); + p1.setAutoHide(false); + w1.add(p1); + + var p2 = new QxPopupAtom("Hello World"); + p2.setBorder(4, "solid", "yellow"); + p2.setBackgroundColor("red"); + p2.setLocation(30, 70); + p2.setAutoHide(false); + w1.add(p2); + + + var btn1 = new QxButton("Show1"); + btn1.setLocation(140, 70); + w1.add(btn1); + + var btn2 = new QxButton("Hide1"); + btn2.setLocation(190, 70); + w1.add(btn2); + + btn1.addEventListener("execute", function(e) { + p1.show(); + }); + + btn2.addEventListener("execute", function(e) { + p1.hide(); + }); + + + + var btn3 = new QxButton("Show2"); + btn3.setLocation(250, 70); + w1.add(btn3); + + var btn4 = new QxButton("Hide2"); + btn4.setLocation(300, 70); + w1.add(btn4); + + btn3.addEventListener("execute", function(e) { + p2.show(); + }); + + btn4.addEventListener("execute", function(e) { + p2.hide(); + }); *************** *** 130,133 **** --- 214,226 ---- + + + + var w2 = new QxWindow("Test 2"); + w2.setDimension(400, 200); + w2.setLocation(200, 200); + this.add(w2); + w2.show(); + }; </script> |
|
From: Sebastian W. <wp...@us...> - 2006-01-17 13:46:25
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26215/source/script/widgets Modified Files: Tag: renderer QxListViewContentCellIconHtml.js Log Message: Minor fix Index: QxListViewContentCellIconHtml.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewContentCellIconHtml.js,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** QxListViewContentCellIconHtml.js 16 Jan 2006 16:11:57 -0000 1.1.2.4 --- QxListViewContentCellIconHtml.js 17 Jan 2006 13:46:16 -0000 1.1.2.5 *************** *** 44,47 **** { icon : QxConst.CORE_EMPTY, ! html : QxConst.CORE_HASH }; --- 44,47 ---- { icon : QxConst.CORE_EMPTY, ! html : QxConst.CORE_EMPTY }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 21:16:55
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9683/tools Modified Files: Tag: renderer compileng_compress.xsl Log Message: Improved if handling again Index: compileng_compress.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng_compress.xsl,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** compileng_compress.xsl 16 Jan 2006 21:06:05 -0000 1.1.2.5 --- compileng_compress.xsl 16 Jan 2006 21:16:45 -0000 1.1.2.6 *************** *** 17,21 **** <xsl:apply-templates/> ! <xsl:if test="parent::casecontent or count(following-sibling::*) > 0"> <xsl:value-of select="$blockdivider"/> </xsl:if> --- 17,21 ---- <xsl:apply-templates/> ! <xsl:if test="parent::casecontent or parent::if or count(following-sibling::*) > 0"> <xsl:value-of select="$blockdivider"/> </xsl:if> *************** *** 36,44 **** <xsl:apply-templates/> - - <!-- for ifs without brackets --> - <xsl:if test="block and not(following-sibling::*[position() = 1 and name() = 'protected' and @detail = 'else'])"> - <xsl:value-of select="$blockdivider"/> - </xsl:if> </xsl:template> --- 36,39 ---- |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 21:06:14
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7239/tools Modified Files: Tag: renderer compileng.py compileng_compress.xsl Log Message: Added enhanced handling for if commands Index: compileng_compress.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng_compress.xsl,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** compileng_compress.xsl 16 Jan 2006 18:58:10 -0000 1.1.2.4 --- compileng_compress.xsl 16 Jan 2006 21:06:05 -0000 1.1.2.5 *************** *** 32,35 **** --- 32,46 ---- </xsl:template> + <xsl:template match="if"> + <xsl:text>if</xsl:text> + + <xsl:apply-templates/> + + <!-- for ifs without brackets --> + <xsl:if test="block and not(following-sibling::*[position() = 1 and name() = 'protected' and @detail = 'else'])"> + <xsl:value-of select="$blockdivider"/> + </xsl:if> + </xsl:template> + <xsl:template match="commandgroup"> <xsl:text>{</xsl:text> *************** *** 53,57 **** <xsl:choose> ! <xsl:when test="preceding-sibling::*[position()=1 and name() = 'protected' and (@detail = 'WHILE' or @detail = 'IF')]"> </xsl:when> --- 64,68 ---- <xsl:choose> ! <xsl:when test="preceding-sibling::*[position()=1 and (name() = 'if' or (name() = 'protected' and @detail = 'WHILE'))]"> </xsl:when> *************** *** 100,107 **** <xsl:choose> ! <xsl:when test="@detail = 'ELSE' and following-sibling::*[position()=1 and name() = 'protected' and @detail = 'IF']"> <xsl:text> </xsl:text> </xsl:when> ! <xsl:when test="@detail != 'ELSE' and following-sibling::*[position()=1 and name() = 'protected' and (@detail = 'IF' or @detail = 'RETURN')]"> <xsl:value-of select="$blockdivider"/> </xsl:when> --- 111,118 ---- <xsl:choose> ! <xsl:when test="@detail = 'ELSE' and following-sibling::*[position()=1 and name() = 'if']"> <xsl:text> </xsl:text> </xsl:when> ! <xsl:when test="@detail != 'ELSE' and following-sibling::*[position()=1 and (name() = 'if' or (name() = 'protected' and @detail = 'RETURN'))]"> <xsl:value-of select="$blockdivider"/> </xsl:when> *************** *** 131,135 **** </xsl:when> ! <xsl:when test="following-sibling::*[position()=1 and name() = 'protected' and (@detail = 'IF' or @detail = 'WHILE' or @detail = 'DO' or @detail = 'DELETE')]"> <xsl:value-of select="$blockdivider"/> </xsl:when> --- 142,146 ---- </xsl:when> ! <xsl:when test="following-sibling::*[position()=1 and (name() = 'if' or (name() = 'protected' and (@detail = 'WHILE' or @detail = 'DO' or @detail = 'DELETE')))]"> <xsl:value-of select="$blockdivider"/> </xsl:when> Index: compileng.py =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng.py,v retrieving revision 1.1.2.68 retrieving revision 1.1.2.69 diff -C2 -d -r1.1.2.68 -r1.1.2.69 *** compileng.py 16 Jan 2006 18:58:10 -0000 1.1.2.68 --- compileng.py 16 Jan 2006 21:06:05 -0000 1.1.2.69 *************** *** 410,413 **** --- 410,447 ---- + def treecloser(need=False): + global xmlindent + global treecontext + global sourceline + + if treecontext[-1] == "namegroup": + tagstop("namegroup") + + if treecontext[-1] == "block": + tagstop("block") + + elif need: + print " Warning: Used semicolon outside a block! (line: %s)" % sourceline + + + if treecontext[-1] == "if": + tagstop("if") + + + + + def treeblockstart(): + global xmlindent + global treecontext + global sourceline + + if treecontext[-1] == "if": + print " Warning: Missing brackets for if command! (line: %s)" % sourceline + + tagstart("block") + + + + def treebuilder_content(data, item): global xmlindent *************** *** 432,458 **** pass - - elif typ == "eof": ! if treecontext[-1] == "namegroup": ! tagstop("namegroup") ! ! if treecontext[-1] == "block": ! tagstop("block") ! ! elif typ == "eol": pass - elif typ == "token" and det == "SEMICOLON": ! if treecontext[-1] == "namegroup": ! tagstop("namegroup") ! ! if treecontext[-1] == "block": ! tagstop("block") ! else: ! print " Warning: Used semicolon outside a block! (line: %s)" % lin --- 466,477 ---- pass elif typ == "eof": ! treecloser() elif typ == "eol": pass elif typ == "token" and det == "SEMICOLON": ! treecloser(True) *************** *** 473,492 **** tagstop("block") - if treecontext[-1] != "commandgroup": - print "Warning: Wrong context: %s. Requires commandgroup close here!" % treecontext[-1] - tagstop("commandgroup") ! if treecontext[-1] == "function": tagstop("function") elif det == "LB": tagstart("accessgroup") elif det == "RB": ! if treecontext[-1] == "block": ! tagstop("block") ! tagstop("accessgroup") --- 492,510 ---- tagstop("block") tagstop("commandgroup") ! if treecontext[-1] == "if": ! tagstop("if") ! ! elif treecontext[-1] == "function": tagstop("function") + elif det == "LB": tagstart("accessgroup") elif det == "RB": ! treecloser() tagstop("accessgroup") *************** *** 497,503 **** elif det == "RP": ! if treecontext[-1] == "block": ! tagstop("block") ! tagstop("argumentgroup") --- 515,519 ---- elif det == "RP": ! treecloser() tagstop("argumentgroup") *************** *** 510,514 **** else: if treecontext[-1] != "namegroup" and treecontext[-1] != "block": ! tagstart("block") tagsource(typ, det, src) --- 526,530 ---- else: if treecontext[-1] != "namegroup" and treecontext[-1] != "block": ! treeblockstart() tagsource(typ, det, src) *************** *** 519,523 **** else: if treecontext[-1] != "namegroup" and treecontext[-1] != "block" and treecontext[-1] != "function": ! tagstart("block") --- 535,540 ---- else: if treecontext[-1] != "namegroup" and treecontext[-1] != "block" and treecontext[-1] != "function": ! treeblockstart() ! *************** *** 532,539 **** tagstop("namegroup") - if det == "FUNCTION": tagstart("function") else: tagsource(typ, det, src) --- 549,558 ---- tagstop("namegroup") if det == "FUNCTION": tagstart("function") + elif det == "IF": + tagstart("if") + else: tagsource(typ, det, src) *************** *** 601,605 **** while treecontext[-1] != tag: ! print "Want to close: %s, but in wrong tree context: %s" % (tag, treecontext[-1]) xmlindent -= 1; --- 620,624 ---- while treecontext[-1] != tag: ! print "Line %s: Want to close: %s, but in wrong tree context: %s" % (sourceline, tag, treecontext[-1]) xmlindent -= 1; |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 18:58:18
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9376/tools Modified Files: Tag: renderer compileng.py compileng_compress.xsl Log Message: Improved string handling Index: compileng_compress.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng_compress.xsl,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** compileng_compress.xsl 15 Jan 2006 19:46:56 -0000 1.1.2.3 --- compileng_compress.xsl 16 Jan 2006 18:58:10 -0000 1.1.2.4 *************** *** 137,141 **** </xsl:template> ! <xsl:template match="number|regexp|boolean|name|string|builtin"> <xsl:value-of select="text()"/> --- 137,141 ---- </xsl:template> ! <xsl:template match="number|regexp|boolean|name|builtin"> <xsl:value-of select="text()"/> *************** *** 144,146 **** --- 144,162 ---- </xsl:if> </xsl:template> + + <xsl:template match="string"> + <xsl:variable name="quote"> + <xsl:choose> + <xsl:when test="@detail = 'doublequotes'">"</xsl:when> + <xsl:when test="@detail = 'singlequotes'">'</xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="concat($quote, text(), $quote)"/> + + <xsl:if test="count(following-sibling::*) > 0 and following-sibling::*[position()=1 and ((name() = 'protected' and not(@detail = 'ELSE')) or name() = 'namegroup' or name() = 'builtin')]"> + <xsl:value-of select="$blockdivider"/> + </xsl:if> + </xsl:template> + </xsl:stylesheet> \ No newline at end of file Index: compileng.py =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng.py,v retrieving revision 1.1.2.67 retrieving revision 1.1.2.68 diff -C2 -d -r1.1.2.67 -r1.1.2.68 *** compileng.py 16 Jan 2006 16:43:32 -0000 1.1.2.67 --- compileng.py 16 Jan 2006 18:58:10 -0000 1.1.2.68 *************** *** 199,203 **** source = protector.pop(0) data.append({ "type" : "comment", "detail" : "multi", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) ! # add length of comment tokenizerLine += len(source.split("\n")) - 1 --- 199,203 ---- source = protector.pop(0) data.append({ "type" : "comment", "detail" : "multi", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) ! # add length of comment tokenizerLine += len(source.split("\n")) - 1 *************** *** 209,213 **** elif part == "__$STRINGA$__": source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "a", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) # add length of string --- 209,213 ---- elif part == "__$STRINGA$__": source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "singlequotes", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) # add length of string *************** *** 216,220 **** elif part == "__$STRINGB$__": source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "b", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) # add length of string --- 216,220 ---- elif part == "__$STRINGB$__": source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "doublequotes", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) # add length of string *************** *** 287,296 **** # print "Type:StringA: %s" % fragment indata = indata.replace(fragment, "__$STRINGA$__", 1) ! protector.append(recoverEscape(fragment)) elif R_STRING_B.match(fragment): # print "Type:StringB: %s" % fragment indata = indata.replace(fragment, "__$STRINGB$__", 1) ! protector.append(recoverEscape(fragment)) else: --- 287,296 ---- # print "Type:StringA: %s" % fragment indata = indata.replace(fragment, "__$STRINGA$__", 1) ! protector.append(recoverEscape(fragment)[1:-1]) elif R_STRING_B.match(fragment): # print "Type:StringB: %s" % fragment indata = indata.replace(fragment, "__$STRINGB$__", 1) ! protector.append(recoverEscape(fragment)[1:-1]) else: |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 18:46:04
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6417/source/script/gui Modified Files: Tag: renderer QxFontCache.js QxWidget.js Log Message: Removed duplicated semicolons Index: QxFontCache.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxFontCache.js,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** QxFontCache.js 16 Jan 2006 16:11:55 -0000 1.1.2.4 --- QxFontCache.js 16 Jan 2006 18:45:56 -0000 1.1.2.5 *************** *** 58,62 **** if (typeof propValue.join == QxConst.TYPEOF_FUNCTION) { ! propKey = propValue.join(QxConst.CORE_SPACE).toLowerCase();; break; }; --- 58,62 ---- if (typeof propValue.join == QxConst.TYPEOF_FUNCTION) { ! propKey = propValue.join(QxConst.CORE_SPACE).toLowerCase(); break; }; Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.46 retrieving revision 1.1.2.47 diff -C2 -d -r1.1.2.46 -r1.1.2.47 *** QxWidget.js 16 Jan 2006 16:11:55 -0000 1.1.2.46 --- QxWidget.js 16 Jan 2006 18:45:56 -0000 1.1.2.47 *************** *** 79,84 **** this._states[QxWidget.states[vCat][0]] = true; }; ! ! this._applyInitialAppearance(); }; --- 79,84 ---- this._states[QxWidget.states[vCat][0]] = true; }; ! ! this._applyInitialAppearance(); }; *************** *** 2653,2657 **** case QxConst.PROPERTY_BOTTOM: this._invalidateHasPercentY(); ! break;; }; }; --- 2653,2657 ---- case QxConst.PROPERTY_BOTTOM: this._invalidateHasPercentY(); ! break; }; }; *************** *** 3031,3035 **** "anchor" : [ "notanchor", "anchor" ], "lead" : [ "notlead", "lead" ], ! "window" : [ "restored", "maximized" ] }; --- 3031,3035 ---- "anchor" : [ "notanchor", "anchor" ], "lead" : [ "notlead", "lead" ], ! "window" : [ "restored", "maximized" ] }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 17:04:29
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11066/tools Modified Files: Tag: renderer compileng_structure.xsl Log Message: Improved Index: compileng_structure.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng_structure.xsl,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** compileng_structure.xsl 16 Jan 2006 16:55:10 -0000 1.1.2.1 --- compileng_structure.xsl 16 Jan 2006 17:04:18 -0000 1.1.2.2 *************** *** 6,9 **** --- 6,12 ---- <xsl:template match="/"> <result> + <properties> + <xsl:apply-templates select="//name[text()='addProperty']"/> + </properties> <functions> <xsl:apply-templates select="//function"/> *************** *** 32,35 **** --- 35,48 ---- </xsl:template> + <xsl:template match="name[text()='addProperty']"> + <property> + <xsl:for-each select="../following-sibling::argumentgroup/commandgroup/block/namegroup[following-sibling::token[position()=1 and @detail='COLON']]"> + <xsl:attribute name="{name/text()}"> + <xsl:value-of select="following-sibling::*[position()=2]/text()"/> + </xsl:attribute> + </xsl:for-each> + </property> + </xsl:template> + <xsl:template match="function"> <function> |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:55:21
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8947/tools Added Files: Tag: renderer compileng_structure.xsl Removed Files: Tag: renderer compileng_methods.xsl Log Message: Removed methods xsl, added structure xsl --- NEW FILE: compileng_structure.xsl --- <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"> <xsl:output method="xml" indent="yes" version="1.0" encoding="iso-8859-1"/> <xsl:template match="/"> <result> <functions> <xsl:apply-templates select="//function"/> </functions> </result> </xsl:template> <xsl:template match="text()"/> <xsl:template name="tolower"> <xsl:param name="in"/> <xsl:value-of select="translate($in, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/> </xsl:template> <xsl:template name="firsttolower"> <xsl:param name="in"/> <xsl:call-template name="tolower"> <xsl:with-param name="in"> <xsl:value-of select="substring($in, 1, 1)"/> </xsl:with-param> </xsl:call-template> <xsl:value-of select="substring($in, 2)"/> </xsl:template> <xsl:template match="function"> <function> <xsl:attribute name="modifier">false</xsl:attribute> <xsl:attribute name="private">false</xsl:attribute> <xsl:variable name="name"> <xsl:choose> <xsl:when test="namegroup"> <xsl:attribute name="anonymous">false</xsl:attribute> <xsl:for-each select="namegroup/*[position()=last()]"> <xsl:value-of select="text()"/> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:attribute name="anonymous">true</xsl:attribute> <xsl:for-each select="preceding-sibling::namegroup/*[position()=last()]"> <xsl:value-of select="text()"/> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:attribute name="name"> <xsl:value-of select="$name"/> </xsl:attribute> <xsl:if test="starts-with($name, '_')"> <xsl:attribute name="private">true</xsl:attribute> <xsl:if test="starts-with($name, '_modify')"> <xsl:attribute name="modifier">true</xsl:attribute> <xsl:attribute name="property"> <xsl:call-template name="firsttolower"> <xsl:with-param name="in" select="substring($name, 8)"/> </xsl:call-template> </xsl:attribute> </xsl:if> </xsl:if> </function> </xsl:template> </xsl:stylesheet> --- compileng_methods.xsl DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:43:39
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6484/tools Modified Files: Tag: renderer compileng.py Log Message: Minor changes Index: compileng.py =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng.py,v retrieving revision 1.1.2.66 retrieving revision 1.1.2.67 diff -C2 -d -r1.1.2.66 -r1.1.2.67 *** compileng.py 16 Jan 2006 16:36:19 -0000 1.1.2.66 --- compileng.py 16 Jan 2006 16:43:32 -0000 1.1.2.67 *************** *** 240,247 **** global tokenizerLine - # print "*** COMMENT BLOCK START" - # print part - # print "*** COMMENT BLOCK STOP" - return { "type" : "comment", "source" : part, "detail" : "", "line" : tokenizerLine, "file" : tokenizerFile } --- 240,243 ---- |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:36:29
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4627/tools Modified Files: Tag: renderer compileng.py Log Message: Handle comments and strings in line calculation Index: compileng.py =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng.py,v retrieving revision 1.1.2.65 retrieving revision 1.1.2.66 diff -C2 -d -r1.1.2.65 -r1.1.2.66 *** compileng.py 15 Jan 2006 19:46:55 -0000 1.1.2.65 --- compileng.py 16 Jan 2006 16:36:19 -0000 1.1.2.66 *************** *** 197,210 **** elif part == "__$MULTICOMMENT$__": ! data.append({ "type" : "comment", "detail" : "multi", "source" : protector.pop(0), "line" : tokenizerLine, "file" : tokenizerFile }) elif part == "__$SINGLECOMMENT$__": ! data.append({ "type" : "comment", "detail" : "single", "source" : protector.pop(0), "line" : tokenizerLine, "file" : tokenizerFile }) elif part == "__$STRINGA$__": ! data.append({ "type" : "string", "detail" : "a", "source" : protector.pop(0), "line" : tokenizerLine, "file" : tokenizerFile }) elif part == "__$STRINGB$__": ! data.append({ "type" : "string", "detail" : "b", "source" : protector.pop(0), "line" : tokenizerLine, "file" : tokenizerFile }) elif part == "__$REGEXP$__": --- 197,223 ---- elif part == "__$MULTICOMMENT$__": ! source = protector.pop(0) ! data.append({ "type" : "comment", "detail" : "multi", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) ! ! # add length of comment ! tokenizerLine += len(source.split("\n")) - 1 elif part == "__$SINGLECOMMENT$__": ! source = protector.pop(0) ! data.append({ "type" : "comment", "detail" : "single", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) elif part == "__$STRINGA$__": ! source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "a", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) ! ! # add length of string ! tokenizerLine += len(source.split("\n")) - 1 elif part == "__$STRINGB$__": ! source = protector.pop(0) ! data.append({ "type" : "string", "detail" : "b", "source" : source, "line" : tokenizerLine, "file" : tokenizerFile }) ! ! # add length of string ! tokenizerLine += len(source.split("\n")) - 1 elif part == "__$REGEXP$__": |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:23:21
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1532 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.41 retrieving revision 1.1.2.42 diff -C2 -d -r1.1.2.41 -r1.1.2.42 *** TODO 16 Jan 2006 13:58:23 -0000 1.1.2.41 --- TODO 16 Jan 2006 16:23:10 -0000 1.1.2.42 *************** *** 1,6 **** h4. For next release - * Use Appearance for QxFieldSet and QxSpinner - * UTF-8 coding for files to fix "umlauts" in parts of the current code. Or change the examples to include the qooxdoo.js with the charset="iso-8859-15" attribute? --- 1,4 ---- *************** *** 11,15 **** * Reduce buildURI calls from Image handling stuff. - * Optimize application load time * Optimize addProperty, use multiple functions for setters which themselves only call submethods and send the "p" variable to the handlers. Build setters which only do the stuff, which is needed for this property. Try to remove these "hasXXX" stuff. * Optimize unit detection and unit handling and storage for dimension and location properties. Try to remove all these boolean flags. --- 9,12 ---- |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:12:40
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/binding In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31057/source/script/binding Modified Files: Tag: renderer QxXmlExtras.js Log Message: Modified comment blocks to end at col 76 Index: QxXmlExtras.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/binding/Attic/QxXmlExtras.js,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -C2 -d -r1.1.2.7 -r1.1.2.8 *** QxXmlExtras.js 19 Dec 2005 15:23:05 -0000 1.1.2.7 --- QxXmlExtras.js 16 Jan 2006 16:11:55 -0000 1.1.2.8 *************** *** 1,3 **** ! /* **************************************************************************** qooxdoo - the new era of web interface development --- 1,3 ---- ! /* ************************************************************************ qooxdoo - the new era of web interface development *************** *** 22,32 **** <andreas dot ecker at 1und1 dot de> ! **************************************************************************** */ ! /* **************************************************************************** #package(ajax) ! **************************************************************************** */ /* --- 22,32 ---- <andreas dot ecker at 1und1 dot de> ! ************************************************************************ */ ! /* ************************************************************************ #package(ajax) ! ************************************************************************ */ /* |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:12:40
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/deprecated In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31057/source/script/deprecated Modified Files: Tag: renderer QxData.js QxXmlHttpLoader.js Log Message: Modified comment blocks to end at col 76 Index: QxXmlHttpLoader.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/deprecated/Attic/QxXmlHttpLoader.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** QxXmlHttpLoader.js 16 Jan 2006 10:49:44 -0000 1.1.2.1 --- QxXmlHttpLoader.js 16 Jan 2006 16:11:55 -0000 1.1.2.2 *************** *** 1,3 **** ! /* **************************************************************************** qooxdoo - the new era of web interface development --- 1,3 ---- ! /* ************************************************************************ qooxdoo - the new era of web interface development *************** *** 22,32 **** <andreas dot ecker at 1und1 dot de> ! **************************************************************************** */ ! /* **************************************************************************** #package(ajax) ! **************************************************************************** */ function QxXmlHttpLoader() --- 22,32 ---- <andreas dot ecker at 1und1 dot de> ! ************************************************************************ */ ! /* ************************************************************************ #package(ajax) ! ************************************************************************ */ function QxXmlHttpLoader() Index: QxData.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/deprecated/Attic/QxData.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** QxData.js 16 Jan 2006 10:49:44 -0000 1.1.2.1 --- QxData.js 16 Jan 2006 16:11:55 -0000 1.1.2.2 *************** *** 1,3 **** ! /* **************************************************************************** qooxdoo - the new era of web interface development --- 1,3 ---- ! /* ************************************************************************ qooxdoo - the new era of web interface development *************** *** 22,33 **** <andreas dot ecker at 1und1 dot de> ! **************************************************************************** */ ! /* **************************************************************************** #package(ajax) #require(QxTimer) ! **************************************************************************** */ /*! --- 22,33 ---- <andreas dot ecker at 1und1 dot de> ! ************************************************************************ */ ! /* ************************************************************************ #package(ajax) #require(QxTimer) ! ************************************************************************ */ /*! |
|
From: Sebastian W. <wp...@us...> - 2006-01-16 16:12:40
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31057/source/script/appearance Modified Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Modified comment blocks to end at col 76 Index: QxAppearanceTheme-Default.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.js,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** QxAppearanceTheme-Default.js 16 Jan 2006 15:17:01 -0000 1.1.2.5 --- QxAppearanceTheme-Default.js 16 Jan 2006 16:11:54 -0000 1.1.2.6 *************** *** 1,3 **** ! /* **************************************************************************** qooxdoo - the new era of web interface development --- 1,3 ---- ! /* ************************************************************************ qooxdoo - the new era of web interface development *************** *** 22,33 **** <andreas dot ecker at 1und1 dot de> ! **************************************************************************** */ ! /* **************************************************************************** #package(appearancethemes) #require(QxAppearanceTheme) ! **************************************************************************** */ theme = new QxAppearanceTheme("default"); --- 22,33 ---- <andreas dot ecker at 1und1 dot de> ! ************************************************************************ */ ! /* ************************************************************************ #package(appearancethemes) #require(QxAppearanceTheme) ! ************************************************************************ */ theme = new QxAppearanceTheme("default"); *************** *** 38,44 **** /* ! ------------------------------------------------------------------------------------ CORE ! ------------------------------------------------------------------------------------ */ --- 38,44 ---- /* ! --------------------------------------------------------------------------- CORE ! --------------------------------------------------------------------------- */ *************** *** 155,161 **** /* ! ------------------------------------------------------------------------------------ BUTTON ! ------------------------------------------------------------------------------------ */ --- 155,161 ---- /* ! --------------------------------------------------------------------------- BUTTON ! --------------------------------------------------------------------------- */ *************** *** 199,205 **** /* ! ------------------------------------------------------------------------------------ TOOLBAR ! ------------------------------------------------------------------------------------ */ --- 199,205 ---- /* ! --------------------------------------------------------------------------- TOOLBAR ! --------------------------------------------------------------------------- */ *************** *** 358,364 **** /* ! ------------------------------------------------------------------------------------ BAR VIEW ! ------------------------------------------------------------------------------------ */ --- 358,364 ---- /* ! --------------------------------------------------------------------------- BAR VIEW ! --------------------------------------------------------------------------- */ *************** *** 613,619 **** /* ! ------------------------------------------------------------------------------------ WINDOW ! ------------------------------------------------------------------------------------ */ --- 613,619 ---- /* ! --------------------------------------------------------------------------- WINDOW ! --------------------------------------------------------------------------- */ *************** *** 808,814 **** /* ! ------------------------------------------------------------------------------------ MENU ! ------------------------------------------------------------------------------------ */ --- 808,814 ---- /* ! --------------------------------------------------------------------------- MENU ! --------------------------------------------------------------------------- */ *************** *** 969,975 **** /* ! ------------------------------------------------------------------------------------ LIST ! ------------------------------------------------------------------------------------ */ --- 969,975 ---- /* ! --------------------------------------------------------------------------- LIST ! --------------------------------------------------------------------------- */ *************** *** 1042,1048 **** /* ! ------------------------------------------------------------------------------------ FIELDS ! ------------------------------------------------------------------------------------ */ --- 1042,1048 ---- /* ! --------------------------------------------------------------------------- FIELDS ! --------------------------------------------------------------------------- */ *************** *** 1088,1094 **** /* ! ------------------------------------------------------------------------------------ COMBOBOX ! ------------------------------------------------------------------------------------ */ --- 1088,1094 ---- /* ! --------------------------------------------------------------------------- COMBOBOX ! --------------------------------------------------------------------------- */ *************** *** 1181,1187 **** /* ! ------------------------------------------------------------------------------------ TREE ! ------------------------------------------------------------------------------------ */ --- 1181,1187 ---- /* ! --------------------------------------------------------------------------- TREE ! --------------------------------------------------------------------------- */ *************** *** 1345,1351 **** /* ! ------------------------------------------------------------------------------------ LISTVIEW ! ------------------------------------------------------------------------------------ */ --- 1345,1351 ---- /* ! --------------------------------------------------------------------------- LISTVIEW ! --------------------------------------------------------------------------- */ *************** *** 1551,1557 **** /* ! ------------------------------------------------------------------------------------ TABVIEW ! ------------------------------------------------------------------------------------ */ --- 1551,1557 ---- /* ! --------------------------------------------------------------------------- TABVIEW ! --------------------------------------------------------------------------- */ *************** *** 1717,1723 **** /* ! ------------------------------------------------------------------------------------ FIELDSET ! ------------------------------------------------------------------------------------ */ --- 1717,1723 ---- /* ! --------------------------------------------------------------------------- FIELDSET ! --------------------------------------------------------------------------- */ *************** *** 1806,1812 **** /* ! ------------------------------------------------------------------------------------ SPINNER ! ------------------------------------------------------------------------------------ */ --- 1806,1812 ---- /* ! --------------------------------------------------------------------------- SPINNER ! --------------------------------------------------------------------------- */ |