qooxdoo-commit Mailing List for qooxdoo (Page 1420)
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-28 18:19:37
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6586/source/script/managers Modified Files: Tag: renderer QxRangeManager.js QxSelectionManager.js Log Message: Fixed many memory leaks, optimized some disposers, added missing dispose call for some events Index: QxRangeManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxRangeManager.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 --- QxRangeManager.js 16 Jan 2006 16:11:56 -0000 1.1.2.13 +++ QxRangeManager.js 28 Jan 2006 18:19:24 -0000 1.1.2.14 @@ -53,8 +53,9 @@ proto._modifyValue = function(propValue, propOldValue, propData) { if (this.hasEventListeners(QxRangeManager.CHANGE_EVENTTYPE)) { - this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE)); + this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE), true); }; + return true; }; @@ -67,7 +68,7 @@ this.setValue(Math.min(this.getValue(), propValue)); if (this.hasEventListeners(QxRangeManager.CHANGE_EVENTTYPE)) { - this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE)); + this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE), true); }; return true; @@ -82,7 +83,7 @@ this.setValue(Math.max(this.getValue(), propValue)); if (this.hasEventListeners(QxRangeManager.CHANGE_EVENTTYPE)) { - this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE)); + this.dispatchEvent(new QxEvent(QxRangeManager.CHANGE_EVENTTYPE), true); }; return true; Index: QxSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxSelectionManager.js,v retrieving revision 1.3.2.33 retrieving revision 1.3.2.34 diff -u -d -r1.3.2.33 -r1.3.2.34 --- QxSelectionManager.js 23 Jan 2006 15:17:13 -0000 1.3.2.33 +++ QxSelectionManager.js 28 Jan 2006 18:19:24 -0000 1.3.2.34 @@ -177,14 +177,14 @@ while(vItem) { vItem = this.getNextSibling(vItem); - + if (!vItem) { break; }; - + if (this.getItemEnabled(vItem)) { return vItem; - }; + }; }; return null; @@ -195,15 +195,15 @@ while(vItem) { vItem = this.getPreviousSibling(vItem); - + if (!vItem) { break; }; - + if (this.getItemEnabled(vItem)) { return vItem; - }; - }; + }; + }; return null; }; @@ -459,7 +459,7 @@ if (!vItem) { return; }; - + if (!this.getItemEnabled(vItem)) { return; }; @@ -472,7 +472,7 @@ // Deselect all currently selected items this._deselectAll(); - + // Add item to selection this._selectedItems.add(vItem); @@ -637,7 +637,7 @@ proto._selectItemRange = function(vItem1, vItem2, vDeselect) { // this.debug("SELECT_RANGE: " + vItem1.toText() + "<->" + vItem2.toText()); - // this.debug("SELECT_RANGE: " + vItem1.pos + "<->" + vItem2.pos); + // this.debug("SELECT_RANGE: " + vItem1.pos + "<->" + vItem2.pos); // Pre-Check a revert call if vItem2 is before vItem1 if (this.isBefore(vItem2, vItem1)) { @@ -1024,7 +1024,7 @@ { // Update lead item to this new last selected item this.setLeadItem(itemToSelect); - + // Scroll new item into view this.scrollItemIntoView(itemToSelect); @@ -1155,7 +1155,9 @@ return; }; - this.dispatchEvent(new QxDataEvent("changeSelection", this.getSelectedItems())); + if (this.hasEventListeners("changeSelection")) { + this.dispatchEvent(new QxDataEvent("changeSelection", this.getSelectedItems()), true); + }; }; proto._hasChanged = function(sOldValue) { @@ -1185,21 +1187,21 @@ return this.getLast(); }; -proto.getDown = function(vItem) +proto.getDown = function(vItem) { if (!vItem) { return this.getFirst(); }; - + return this.getMultiColumnSupport() ? (this.getUnder(vItem) || this.getLast()) : this.getNext(vItem); }; -proto.getUp = function(vItem) +proto.getUp = function(vItem) { if (!vItem) { return this.getLast(); }; - + return this.getMultiColumnSupport() ? (this.getAbove(vItem) || this.getFirst()) : this.getPrevious(vItem); }; @@ -1208,7 +1210,7 @@ if (!this.getMultiColumnSupport()) { return null; }; - + return !vItem ? this.getLast() : this.getPrevious(vItem); }; @@ -1217,7 +1219,7 @@ if (!this.getMultiColumnSupport()) { return null; }; - + return !vItem ? this.getFirst() : this.getNext(vItem); }; @@ -1269,7 +1271,7 @@ while (nextItem && (this.getItemTop(nextItem) - this.getItemHeight(nextItem) >= vParentScrollTop)) { nextItem = this.getUp(nextItem); }; - + // This should never occour after the fix above if (nextItem == null) { break; @@ -1278,13 +1280,13 @@ // If the nextItem is not anymore the leadItem // Means: There has occured a change. // We break here. This is normally the second step. - if (nextItem != this.getLeadItem()) + if (nextItem != this.getLeadItem()) { // be sure that the top is reached this.scrollItemIntoView(nextItem, true); break; }; - + // Update scrolling (this is normally the first step) // this.debug("Scroll-Up: " + (vParentScrollTop + vParentClientHeight - 2 * this.getItemHeight(nextItem))); vBoundedWidget.setScrollTop(vParentScrollTop - vParentClientHeight - this.getItemHeight(nextItem)); @@ -1309,9 +1311,9 @@ var vBoundedWidget = this.getBoundedWidget(); var vParentScrollTop = vBoundedWidget.getScrollTop(); var vParentClientHeight = vBoundedWidget.getClientHeight(); - + // this.debug("Bound: " + (vBoundedWidget._getTargetNode() != vBoundedWidget.getElement())); - + // this.debug("ClientHeight-1: " + vBoundedWidget._getTargetNode().clientHeight); // this.debug("ClientHeight-2: " + vBoundedWidget.getElement().clientHeight); @@ -1321,7 +1323,7 @@ if (!nextItem) { nextItem = this.getFirst(); }; - + // Normally we should reach the status "lead" for the // nextItem after two iterations. var tryLoops = 0; @@ -1330,7 +1332,7 @@ // this.debug("Loop: " + tryLoops); // this.debug("Info: " + nextItem + " :: " + (this.getItemTop(nextItem) + (2 * this.getItemHeight(nextItem))) + " <> " + (vParentScrollTop + vParentClientHeight)); // this.debug("Detail: " + vParentScrollTop + ", " + vParentClientHeight); - + // Find next while (nextItem && ((this.getItemTop(nextItem) + (2 * this.getItemHeight(nextItem))) <= (vParentScrollTop + vParentClientHeight))) { nextItem = this.getDown(nextItem); @@ -1340,7 +1342,7 @@ if (nextItem == null) { break; }; - + // If the nextItem is not anymore the leadItem // Means: There has occured a change. // We break here. This is normally the second step. @@ -1358,7 +1360,7 @@ // Increment counter tryLoops++; }; - + //this.debug("Select: " + nextItem._labelObject.getHtml()); return nextItem; @@ -1385,7 +1387,7 @@ return; }; - if (this._selectedItems) + if (this._selectedItems) { this._selectedItems.dispose(); this._selectedItems = null; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 17:49:55
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27119/tools Added Files: Tag: renderer disposecheck.sh Log Message: New test tool --- NEW FILE: disposecheck.sh --- #!/bin/bash for file in `find source/script/ -name "*.js"`; do grep "proto\.dispose" $file > /dev/null if [ $? == 0 ]; then grep "dispose\.call" $file > /dev/null if [ $? != 0 ]; then echo "Potential Errornous: $file" fi fi done |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 17:38:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23702/source/script/widgets Modified Files: Tag: renderer QxClientDocument.js Log Message: Updated/Fixed disposer Index: QxClientDocument.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxClientDocument.js,v retrieving revision 1.7.2.73 retrieving revision 1.7.2.74 diff -u -d -r1.7.2.73 -r1.7.2.74 --- QxClientDocument.js 26 Jan 2006 10:32:03 -0000 1.7.2.73 +++ QxClientDocument.js 28 Jan 2006 17:37:58 -0000 1.7.2.74 @@ -39,16 +39,16 @@ // 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(); QxCanvasLayout.call(this); - + // Don't use widget styles this._styleProperties = {}; @@ -126,7 +126,7 @@ { var bs = document.body.style; var hs = document.documentElement.style; - + switch(propValue) { case "application": @@ -134,13 +134,13 @@ 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; }; - + return true; }; @@ -192,7 +192,7 @@ proto.block = function(vActiveChild) { // this.debug("BLOCK: " + vActiveChild.toHashCode()); - + this._blocker.show(); if (typeof QxWindow == QxConst.TYPEOF_FUNCTION && vActiveChild instanceof QxWindow) @@ -213,7 +213,7 @@ proto.release = function(vActiveChild) { // this.debug("RELEASE: " + vActiveChild.toHashCode()); - + if (vActiveChild) { if (vActiveChild instanceof QxNativeWindow) @@ -256,22 +256,22 @@ if (QxClient.isMshtml()) { - proto.createStyleElement = function(vCssText) + 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); + vSheet.addRule(vSelector, vStyle); }; - - proto.removeCssRule = function(vSheet, vSelector) + + proto.removeCssRule = function(vSheet, vSelector) { vRules = vSheet.rules; vLength = vRules.length; @@ -281,7 +281,7 @@ if (vRules[i].selectorText == vSelector) { vSheet.removeRule(i); }; - }; + }; }; } else @@ -290,21 +290,21 @@ { 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) + + proto.removeCssRule = function(vSheet, vSelector) { vRules = vSheet.cssRules; vLength = rules.length; @@ -314,7 +314,7 @@ if (vRules[i].selectorText == vSelector) { vSheet.deleteRule(i); }; - }; + }; }; }; @@ -457,7 +457,7 @@ return; }; - this._window = this._document = null; + this._window = this._document = this._docstyle = null; delete this._modalWidgets; if (this.getFocusManager()) @@ -466,6 +466,18 @@ this.setFocusManager(null); }; + this._modalWidgets = null; + this._modalNativeWindow = null; + + if (this._blocker) + { + this._blocker.removeEventListener(QxConst.EVENT_TYPE_MOUSEDOWN, this.blockHelper, this); + this._blocker.removeEventListener(QxConst.EVENT_TYPE_MOUSEUP, this.blockHelper, this); + + this._blocker.dispose(); + this._blocker = null; + }; + /* if (this._resizeHelper) { |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 17:36:26
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23134/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Minor addition Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.59 retrieving revision 1.1.2.60 diff -u -d -r1.1.2.59 -r1.1.2.60 --- QxWidget.js 28 Jan 2006 12:28:35 -0000 1.1.2.59 +++ QxWidget.js 28 Jan 2006 17:36:12 -0000 1.1.2.60 @@ -4896,6 +4896,7 @@ this.getElement()._QxWidget = null; this.forceElement(null); + this._element = null; this._style = null; this._borderElement = null; this._borderStyle = null; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 17:34:18
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/events In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22640/source/script/events Modified Files: Tag: renderer QxDomEvent.js Log Message: Minor cleanup Index: QxDomEvent.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/events/Attic/QxDomEvent.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 --- QxDomEvent.js 16 Jan 2006 16:11:55 -0000 1.1.2.5 +++ QxDomEvent.js 28 Jan 2006 17:34:09 -0000 1.1.2.6 @@ -29,13 +29,13 @@ ************************************************************************ */ -function QxDomEvent(vType, vDomEvent, vDomTarget, vTarget, vOriginalTarget) +function QxDomEvent(vType, vDomEvent, vDomTarget, vTarget, vOriginalTarget) { QxEvent.call(this, vType); - + this.setDomEvent(vDomEvent); this.setDomTarget(vDomTarget); - + this.setTarget(vTarget); this.setOriginalTarget(vOriginalTarget); }; @@ -59,16 +59,16 @@ --------------------------------------------------------------------------- */ -proto.getCtrlKey = function() { - return this.getDomEvent().ctrlKey; +proto.getCtrlKey = function() { + return this.getDomEvent().ctrlKey; }; -proto.getShiftKey = function() { - return this.getDomEvent().shiftKey; +proto.getShiftKey = function() { + return this.getDomEvent().shiftKey; }; -proto.getAltKey = function() { - return this.getDomEvent().altKey; +proto.getAltKey = function() { + return this.getDomEvent().altKey; }; @@ -90,9 +90,9 @@ if (!vValue) { return this.error("It is not possible to set preventDefault to false if it was true before!", "setDefaultPrevented"); }; - - this.getDomEvent().returnValue = false; - + + this.getDomEvent().returnValue = false; + QxEvent.prototype.setDefaultPrevented.call(this, vValue); }; } @@ -103,10 +103,10 @@ if (!vValue) { return this.error("It is not possible to set preventDefault to false if it was true before!", "setDefaultPrevented"); }; - + this.getDomEvent().preventDefault(); - this.getDomEvent().returnValue = false; - + this.getDomEvent().returnValue = false; + QxEvent.prototype.setDefaultPrevented.call(this, vValue); }; }; @@ -128,10 +128,9 @@ if (this.getDisposed()) { return; }; - + this._valueDomEvent = null; this._valueDomEventTarget = null; - this._valueDomEventOriginalTarget = null; - + return QxEvent.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 15:24:43
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12745/source/script/gui Modified Files: Tag: renderer QxParent.js Log Message: Minor fix Index: QxParent.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxParent.js,v retrieving revision 1.1.2.22 retrieving revision 1.1.2.23 diff -u -d -r1.1.2.22 -r1.1.2.23 --- QxParent.js 28 Jan 2006 12:28:35 -0000 1.1.2.22 +++ QxParent.js 28 Jan 2006 15:24:35 -0000 1.1.2.23 @@ -1164,7 +1164,7 @@ if (this._children) { - var chl = ch.length; + var chl = this._children.length; for (var i=chl-1; i>=0; i--) { @@ -1180,6 +1180,8 @@ { this.removeEventListener(QxConst.EVENT_TYPE_KEYDOWN, this._onfocuskeyevent); this.removeEventListener(QxConst.EVENT_TYPE_KEYPRESS, this._onfocuskeyevent); + + this.forceFocusManager(null); }; return QxWidget.prototype.dispose.call(this); |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 12:28:45
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23878/source/script/widgets Modified Files: Tag: renderer QxImage.js Log Message: Minor improvements and fixes Index: QxImage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxImage.js,v retrieving revision 1.8.2.84 retrieving revision 1.8.2.85 diff -u -d -r1.8.2.84 -r1.8.2.85 --- QxImage.js 24 Jan 2006 16:48:55 -0000 1.8.2.84 +++ QxImage.js 28 Jan 2006 12:28:35 -0000 1.8.2.85 @@ -49,7 +49,7 @@ // Dimensions this.setWidth(QxUtil.isValid(vWidth) ? vWidth : QxConst.CORE_AUTO); this.setHeight(QxUtil.isValid(vHeight) ? vHeight : QxConst.CORE_AUTO); - + // Prohibit selection this.setSelectable(false); }; @@ -247,7 +247,7 @@ // this costs much performance, move setup to blank gif to error handling // is this SSL save? // this._image.src = QxImageManager.getBlank(); - + this._image.style.border = QxImage.BORDER_NONE; this._image.style.verticalAlign = QxImage.RESET_VALIGN; @@ -555,6 +555,18 @@ return true; }; + var vPreloader = this.getPreloader(); + if (vPreloader) + { + // remove event connection + vPreloader.removeEventListener(QxConst.EVENT_TYPE_LOAD, this._onload, this); + vPreloader.removeEventListener(QxConst.EVENT_TYPE_ERROR, this._onerror, this); + + this.forcePreloader(null); + }; + + this._image = null; + QxImageManager.remove(this); return QxTerminator.prototype.dispose.call(this); |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 12:28:45
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23878/source/script/core Modified Files: Tag: renderer QxApplication.js Log Message: Minor improvements and fixes Index: QxApplication.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxApplication.js,v retrieving revision 1.2.2.61 retrieving revision 1.2.2.62 diff -u -d -r1.2.2.61 -r1.2.2.62 --- QxApplication.js 27 Jan 2006 15:32:02 -0000 1.2.2.61 +++ QxApplication.js 28 Jan 2006 12:28:34 -0000 1.2.2.62 @@ -42,6 +42,12 @@ window.application.init(); }; +function QxApplicationUnload() +{ + window.application.dispose(); + window.application = null; +}; + /*! This contains the main qooxdoo application. @@ -58,6 +64,8 @@ } else { QxDom.addEventListener(window, "load", QxApplicationInit); }; + + QxDom.addEventListener(window, QxConst.EVENT_TYPE_UNLOAD, QxApplicationUnload); }; QxApplication.extend(QxTarget, "QxApplication"); @@ -96,13 +104,13 @@ if (this._initDone) { return; }; - + this._initDone = true; - + this._initApplication(); this._initMain(); this._initPreload(); - + // initPostload will be executed from the first queue flush }; @@ -120,34 +128,34 @@ proto._initApplication = function() { var s = (new Date).valueOf(); - + this.info("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); - + this._clientWindow = new QxClientWindow(); + // 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(); } @@ -155,7 +163,7 @@ { return this.error("...failed: " + ex); }; - + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; @@ -163,24 +171,24 @@ { var s = (new Date).valueOf(); this.info("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(); + this._printInstanceInfo(); } catch(ex) { return this.error("...failed: " + ex); }; - + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; @@ -188,31 +196,31 @@ { var s = (new Date).valueOf(); this.info("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(); var a = window.application; - + a.info("Widget phase"); - a.debug("Rendering widgets"); - + a.debug("Rendering widgets"); + a._ready = true; QxWidget.flushGlobalQueues(true); - + a.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); a._initPostload(); }, 100); @@ -221,7 +229,7 @@ { return this.error("...failed: " + ex); }; - + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; @@ -229,27 +237,27 @@ { var s = (new Date).valueOf(); this.info("Post phase"); - + try { // Output the number of currently instanciated objects - this._printInstanceInfo(); - + 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); } @@ -257,7 +265,7 @@ { return this.error("...failed: " + ex); }; - + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; @@ -346,19 +354,19 @@ return; }; + QxDom.removeEventListener(window, QxConst.EVENT_TYPE_UNLOAD, QxApplicationUnload); + if (QxClient.isGecko()) { QxDom.removeEventListener(window, "DOMContentLoaded", QxApplicationInit); } else { QxDom.removeEventListener(window, "load", QxApplicationInit); }; - + this._clientWindow = null; QxTarget.prototype.dispose.call(this); - + QxObject.dispose(); - - window.application = null; }; window.application = new QxApplication; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 12:28:45
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23878/source/script/managers Modified Files: Tag: renderer QxImageManager.js Log Message: Minor improvements and fixes Index: QxImageManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxImageManager.js,v retrieving revision 1.3.2.25 retrieving revision 1.3.2.26 diff -u -d -r1.3.2.25 -r1.3.2.26 --- QxImageManager.js 23 Jan 2006 12:04:34 -0000 1.3.2.25 +++ QxImageManager.js 28 Jan 2006 12:28:35 -0000 1.3.2.26 @@ -56,7 +56,7 @@ Preload images */ this._preloadList = {}; - + /*! Image URIs */ @@ -114,12 +114,12 @@ proto.buildURI = function(vPath) { var vUri = this._uris[vPath]; - + if (typeof vUri == QxConst.TYPEOF_UNDEFINED) { vUri = this._uris[vPath] = this._buildURI(vPath); }; - - return vUri; + + return vUri; }; proto._buildURI = function(vPath, vForce) @@ -158,7 +158,7 @@ { var o; - // reset cache + // reset cache this._uris = {}; for (var i in this._objects) @@ -374,8 +374,9 @@ this._iconThemes = null; this._widgetThemes = null; - this._imageList = null; this._preloadList = null; + this._uris = null; + this._imageList = null; return QxManager.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 12:28:45
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23878/source/script/gui Modified Files: Tag: renderer QxClientWindow.js QxParent.js QxWidget.js Log Message: Minor improvements and fixes Index: QxClientWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxClientWindow.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 --- QxClientWindow.js 16 Jan 2006 16:11:55 -0000 1.1.2.8 +++ QxClientWindow.js 28 Jan 2006 12:28:35 -0000 1.1.2.9 @@ -37,17 +37,14 @@ Mainly a reference for the window object of the browser */ -function QxClientWindow(windowElement) +function QxClientWindow() { QxTarget.call(this); // Establish connection between Object and Node - this._element = windowElement; + this._element = window; this._element._QxClientWindow = this; - // Add Unload Event - this._addUnloadEvent(windowElement); - // Create Client Document this._clientDocument = new QxClientDocument(this); @@ -81,41 +78,6 @@ /* --------------------------------------------------------------------------- - UNLOAD SUPPORT ---------------------------------------------------------------------------- -*/ - -proto._addUnloadEvent = function(el) -{ - if (el == window) - { - QxDom.addEventListener(el, QxConst.EVENT_TYPE_UNLOAD, function(e) - { - window.application.dispose(); - window.application = null; - }); - } - else - { - // Support for QxNativeWindow - QxDom.addEventListener(el, QxConst.EVENT_TYPE_UNLOAD, function(e) - { - if (el._QxClientWindow) - { - el._QxClientWindow.dispose(); - el._QxClientWindow = null; - }; - }, false); - }; -}; - - - - - - -/* ---------------------------------------------------------------------------- DISPOSER --------------------------------------------------------------------------- */ Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.58 retrieving revision 1.1.2.59 diff -u -d -r1.1.2.58 -r1.1.2.59 --- QxWidget.js 26 Jan 2006 12:31:05 -0000 1.1.2.58 +++ QxWidget.js 28 Jan 2006 12:28:35 -0000 1.1.2.59 @@ -3308,7 +3308,7 @@ if (!this._htmlProperties) { this._htmlProperties = {}; }; - + this._htmlProperties[propName] = propValue; if (this._isCreated) { @@ -3325,7 +3325,7 @@ if (!this._htmlProperties) { return; }; - + delete this._htmlProperties[propName]; if (this._isCreated) { @@ -3355,25 +3355,25 @@ }; }; -proto.getHtmlProperty = function(propName) +proto.getHtmlProperty = function(propName) { if (!this._htmlProperties) { return QxConst.CORE_EMPTY; }; - + return this._htmlProperties[propName] || QxConst.CORE_EMPTY; }; proto._applyHtmlProperties = function(vElement) { var vProperties = this._htmlProperties; - + if (vProperties) { // this.debug("HTML-Properties: " + QxUtil.getObjectLength(vProperties)); - + var propName; - + for (propName in vProperties) { vElement[propName] = vProperties[propName]; }; @@ -3394,9 +3394,9 @@ proto.setHtmlAttribute = function(propName, propValue) { if (!this._htmlAttributes) { - this._htmlAttributes = {}; + this._htmlAttributes = {}; }; - + this._htmlAttributes[propName] = propValue; if (this._isCreated) { @@ -3411,7 +3411,7 @@ if (!this._htmlAttributes) { return; }; - + delete this._htmlAttributes[propName]; if (this._isCreated) { @@ -3421,7 +3421,7 @@ return true; }; -proto.getHtmlAttribute = function(propName) +proto.getHtmlAttribute = function(propName) { if (!this._htmlAttributes) { return QxConst.CORE_EMPTY; @@ -3433,13 +3433,13 @@ proto._applyHtmlAttributes = function(vElement) { var vAttributes = this._htmlAttributes; - + if (vAttributes) { // this.debug("HTML-Attributes: " + QxUtil.getObjectLength(vAttributes)); - + var propName; - + for (propName in vAttributes) { vElement.setAttribute(propName, vAttributes[i]); }; @@ -4889,12 +4889,16 @@ return; }; - this._style = this._borderElement = this._borderStyle = null; - if (this._isCreated) { + this._isCreated = false; + this.getElement()._QxWidget = null; - this._isCreated = null; + this.forceElement(null); + + this._style = null; + this._borderElement = null; + this._borderStyle = null; }; QxTarget.prototype.dispose.call(this); Index: QxParent.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxParent.js,v retrieving revision 1.1.2.21 retrieving revision 1.1.2.22 diff -u -d -r1.1.2.21 -r1.1.2.22 --- QxParent.js 23 Jan 2006 15:17:13 -0000 1.1.2.21 +++ QxParent.js 28 Jan 2006 12:28:35 -0000 1.1.2.22 @@ -1162,24 +1162,25 @@ delete this._childrenQueue; - var ch = this._children; - - if (QxUtil.isValid(ch)) + if (this._children) { var chl = ch.length; for (var i=chl-1; i>=0; i--) { this._children[i].dispose(); - delete this._children[i]; + this._children[i] = null; }; - delete this._children; + this._children = null; }; // Remove Key Handler - this.removeEventListener(QxConst.EVENT_TYPE_KEYDOWN, this._onfocuskeyevent); - this.removeEventListener(QxConst.EVENT_TYPE_KEYPRESS, this._onfocuskeyevent); + if (this.getFocusManager()) + { + this.removeEventListener(QxConst.EVENT_TYPE_KEYDOWN, this._onfocuskeyevent); + this.removeEventListener(QxConst.EVENT_TYPE_KEYPRESS, this._onfocuskeyevent); + }; return QxWidget.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-28 12:25:48
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23041/source/html/test Added Files: Tag: renderer Leak_1.html Log Message: Added new mem leak test --- NEW FILE: Leak_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Leak-Test</p> </div> <script type="text/javascript"> window.application.main = function() { // Does not leak // ***** /* var i1 = new QxImagePreloader("icons/48/hardwareinfo.png"); */ // Leaks +1-2MB // ***** /* var i1 = new QxImage("icons/48/hardwareinfo.png"); with(i1) { setTop(48); setLeft(20); }; this.add(i1); */ // Leaks +0.5MB // ***** /* var w1 = new QxTerminator or QxCanvasLayout; this.add(w1); */ //var t1 = new QxTarget; }; </script> </body> </html> |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 20:53:28
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29339/source/script/appearance Modified Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Minor fix Index: QxAppearanceTheme-Default.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.js,v retrieving revision 1.1.2.16 retrieving revision 1.1.2.17 diff -u -d -r1.1.2.16 -r1.1.2.17 --- QxAppearanceTheme-Default.js 27 Jan 2006 15:10:46 -0000 1.1.2.16 +++ QxAppearanceTheme-Default.js 27 Jan 2006 20:53:20 -0000 1.1.2.17 @@ -1056,7 +1056,7 @@ paddingRight : 5, paddingBottom : 3, paddingLeft : 5, - minWidth : auto + minWidth : QxConst.CORE_AUTO }; }, |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 20:22:51
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18907/source/style Modified Files: Tag: renderer demolayout.css Log Message: Minor improvement Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -u -d -r1.1.2.9 -r1.1.2.10 --- demolayout.css 27 Jan 2006 10:46:50 -0000 1.1.2.9 +++ demolayout.css 27 Jan 2006 20:22:40 -0000 1.1.2.10 @@ -107,7 +107,7 @@ #testDebug .log{ overflow: -moz-scrollbars-vertical; - overflow-y: scroll; + overflow-y: auto; position: absolute; top: 30px; bottom: 0px; @@ -147,7 +147,6 @@ } #testDebug .head{ - visibility: visible; padding: 8px 2px 4px; } @@ -160,6 +159,10 @@ font-family: Tahoma, Verdana, sans-serif; } +#testDebug .head button{ + visibility: visible; +} + #testJump button{ width: 16px; -moz-appearance: none !important; |
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9898/source/script/core Modified Files: Tag: renderer QxApplication.js QxConst.js QxExtend.js QxNative.js QxObject.js QxObjectCore.js Log Message: Improved dependency informations Index: QxObject.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxObject.js,v retrieving revision 1.2.2.35 retrieving revision 1.2.2.36 diff -u -d -r1.2.2.35 -r1.2.2.36 --- QxObject.js 23 Jan 2006 12:43:46 -0000 1.2.2.35 +++ QxObject.js 27 Jan 2006 15:32:02 -0000 1.2.2.36 @@ -26,9 +26,11 @@ /* ************************************************************************ #package(core) +#require(QxMain) #require(QxExtend) #require(QxConst) #require(QxUtil) +#post(QxClient) #post(QxObjectCore) ************************************************************************ */ Index: QxConst.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxConst.js,v retrieving revision 1.1.2.27 retrieving revision 1.1.2.28 diff -u -d -r1.1.2.27 -r1.1.2.28 --- QxConst.js 26 Jan 2006 10:32:52 -0000 1.1.2.27 +++ QxConst.js 27 Jan 2006 15:32:02 -0000 1.1.2.28 @@ -26,7 +26,6 @@ /* ************************************************************************ #package(core) -#require(QxMain) ************************************************************************ */ Index: QxApplication.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxApplication.js,v retrieving revision 1.2.2.60 retrieving revision 1.2.2.61 diff -u -d -r1.2.2.60 -r1.2.2.61 --- QxApplication.js 27 Jan 2006 11:05:10 -0000 1.2.2.60 +++ QxApplication.js 27 Jan 2006 15:32:02 -0000 1.2.2.61 @@ -26,7 +26,8 @@ /* ************************************************************************ #package(core) -#post(QxClient) +#require(QxClient) +#require(QxDom) #post(QxClientWindow) #post(QxImageManager) #post(QxImagePreloader) @@ -37,6 +38,10 @@ ************************************************************************ */ +function QxApplicationInit() { + window.application.init(); +}; + /*! This contains the main qooxdoo application. @@ -48,14 +53,10 @@ { QxTarget.call(this, false); - function init() { - window.application.init(); - }; - if (QxClient.isGecko()) { - QxDom.addEventListener(window, "DOMContentLoaded", init); + QxDom.addEventListener(window, "DOMContentLoaded", QxApplicationInit); } else { - QxDom.addEventListener(window, "load", init); + QxDom.addEventListener(window, "load", QxApplicationInit); }; }; @@ -345,14 +346,19 @@ return; }; - if (this._clientWindow) - { - this._clientWindow.dispose(); - this._clientWindow = null; + if (QxClient.isGecko()) { + QxDom.removeEventListener(window, "DOMContentLoaded", QxApplicationInit); + } else { + QxDom.removeEventListener(window, "load", QxApplicationInit); }; + + this._clientWindow = null; QxTarget.prototype.dispose.call(this); + QxObject.dispose(); + + window.application = null; }; window.application = new QxApplication; Index: QxExtend.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxExtend.js,v retrieving revision 1.7.2.107 retrieving revision 1.7.2.108 diff -u -d -r1.7.2.107 -r1.7.2.108 --- QxExtend.js 23 Jan 2006 16:10:07 -0000 1.7.2.107 +++ QxExtend.js 27 Jan 2006 15:32:02 -0000 1.7.2.108 @@ -26,8 +26,7 @@ /* ************************************************************************ #package(core) -#require(QxConst) -#require(QxUtil) +#require(QxNative) ************************************************************************ */ Index: QxObjectCore.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxObjectCore.js,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- QxObjectCore.js 23 Jan 2006 17:02:19 -0000 1.1.2.3 +++ QxObjectCore.js 27 Jan 2006 15:32:02 -0000 1.1.2.4 @@ -44,23 +44,24 @@ QxObject.dispose = function() { + // QxDebug("QxObject", "Disposing Application"); + + var vStart = (new Date).valueOf(); + var vObject; + for (var i=QxObjectDataBase.length-1; i>=0; i--) { - if (typeof QxObjectDataBase[i] != QxConst.TYPEOF_UNDEFINED) + vObject = QxObjectDataBase[i]; + + if (vObject != null) { - try { - QxObjectDataBase[i].dispose(); - } catch(ex) {}; - - if (typeof QxObjectDataBase == QxConst.TYPEOF_UNDEFINED) { - break; - }; - - delete QxObjectDataBase[i]; + // QxDebug("QxObject", "Disposing: " + vObject); + vObject.dispose(); + QxObjectDataBase[i] = null; }; }; - - delete QxObjectDataBase; + + // QxDebug("QxObject", "Done in: " + ((new Date).valueOf() - vStart) + "ms"); }; QxObject.addProperty({ name : "enabled", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true, getAlias : "isEnabled" }); Index: QxNative.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxNative.js,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -u -d -r1.1.2.9 -r1.1.2.10 --- QxNative.js 23 Jan 2006 11:14:09 -0000 1.1.2.9 +++ QxNative.js 27 Jan 2006 15:32:02 -0000 1.1.2.10 @@ -26,9 +26,6 @@ /* ************************************************************************ #package(core) -#require(QxClient) -#require(QxUtil) -#require(QxConst) ************************************************************************ */ @@ -439,65 +436,6 @@ }; -/* ******************************************************************** - Element from point for gecko - - Program: document.elementFromPoint(int clientX, int clientY) - in Gecko - Author: Jason Karl Davis (www.jasonkarldavis.com) - Date: 15 June 2003 - Purpose: Emulate Internet Explorer's document.elementFromPoint - method as described here: - http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/elementfrompoint.asp - Requirements: A browser built off of the 1.4 branch of Mozilla - (or better) - Distribution: You may freely distribute and use this script as long - as these comments remain intact - Modified by: Sebastian Werner for usage in qooxdoo - 10 February 2005 -******************************************************************** */ - -// Must be Mozilla 1.4 branch or higher -if (QxClient.isGecko()) -{ - Document.prototype.elementFromPoint = function(x, y) - { - this.addEventListener(QxConst.EVENT_TYPE_MOUSEMOVE, this.elementFromPointHandler, false); - - var event = this.createEvent("MouseEvents"); - var box = this.getBoxObjectFor(this.documentElement); - - event.initMouseEvent(QxConst.EVENT_TYPE_MOUSEMOVE, true, false, this.defaultView, 0, x + box.screenX, y + box.screenY, x, y, false, false, false, false, 0, null); - - this.dispatchEvent(event); - this.removeEventListener(QxConst.EVENT_TYPE_MOUSEMOVE, this.elementFromPointHandler, false); - - return this.elementFromPointTarget; - }; - - Document.prototype.elementFromPointHandler = function(event) - { - // http://www.xulplanet.com/references/xpcomref/ifaces/nsIDOMNSEvent.html - this.elementFromPointTarget = event.explicitOriginalTarget; - - // reparent target if it is a text node to emulate IE's behavior - if (this.elementFromPointTarget.nodeType == Node.TEXT_NODE) { - this.elementFromPointTarget = this.elementFromPointTarget.parentNode; - }; - - // change an HTML target to a BODY target to emulate IE's behavior - // (if we are in an HTML document) - if (this.elementFromPointTarget.nodeName.toUpperCase() == "HTML" && this.documentElement.nodeName.toUpperCase() == "HTML") { - this.elementFromPointTarget = this.getElementsByTagName("BODY").item(0); - }; - - event.preventDefault(); - event.stopPropagation(); - }; - - Document.prototype.elementFromPointTarget = null; -}; - /* ******************************************************************** Error Extender |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 15:28:52
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8805/source/script/widgets Modified Files: Tag: renderer QxLabel.js Log Message: Minor fix Index: QxLabel.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxLabel.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 --- QxLabel.js 24 Jan 2006 16:48:55 -0000 1.1.2.8 +++ QxLabel.js 27 Jan 2006 15:28:44 -0000 1.1.2.9 @@ -197,7 +197,7 @@ proto._modifyWrap = function(propValue, propOldValue, propData) { - this.setStyleProperty(PROPERTY_WHITESPACE, propValue ? "normal" : "nowrap"); + this.setStyleProperty(QxConst.PROPERTY_WHITESPACE, propValue ? "normal" : "nowrap"); return true; }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 15:10:55
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2649/source/script/appearance Modified Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Improved labels and list-items in list which have an overflow: scroll Index: QxAppearanceTheme-Default.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/appearance/Attic/QxAppearanceTheme-Default.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 --- QxAppearanceTheme-Default.js 26 Jan 2006 12:27:15 -0000 1.1.2.15 +++ QxAppearanceTheme-Default.js 27 Jan 2006 15:10:46 -0000 1.1.2.16 @@ -115,7 +115,8 @@ initial : function(vWidget, vTheme) { return { - font: this.font + font: this.font, + wrap : false }; }, @@ -1054,7 +1055,8 @@ paddingTop : 3, paddingRight : 5, paddingBottom : 3, - paddingLeft : 5 + paddingLeft : 5, + minWidth : auto }; }, |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 13:58:33
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8004 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.44 retrieving revision 1.1.2.45 diff -u -d -r1.1.2.44 -r1.1.2.45 --- CHANGELOG 27 Jan 2006 13:08:19 -0000 1.1.2.44 +++ CHANGELOG 27 Jan 2006 13:58:22 -0000 1.1.2.45 @@ -1,3 +1,11 @@ +2006-01-27 14:49 wpbasti + + * tools/script/demolayout.js.in: Removed release branch link + +2006-01-27 14:08 caugusti + + * CHANGELOG: Updated + 2006-01-27 12:10 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 13:49:56
|
Update of /cvsroot/qooxdoo/qooxdoo/tools/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5159/tools/script Modified Files: Tag: renderer demolayout.js.in Log Message: Removed release branch link Index: demolayout.js.in =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/script/Attic/demolayout.js.in,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.js.in 27 Jan 2006 10:46:51 -0000 1.1.2.5 +++ demolayout.js.in 27 Jan 2006 13:49:48 -0000 1.1.2.6 @@ -48,10 +48,6 @@ }; }; -if (window.location.href.indexOf("dev/") != -1) { - document.write('[<a href="' + window.location.href.replace("dev", "release") + '">Switch to: Release Branch</a>]  '); -}; - document.write('</div>'); document.write('<div id="testDebug"></div>'); document.write('<div id="testFrame"> </div>'); |
|
From: Claus A. <cau...@us...> - 2006-01-27 13:08:29
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20778 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.43 retrieving revision 1.1.2.44 diff -u -d -r1.1.2.43 -r1.1.2.44 --- CHANGELOG 27 Jan 2006 11:10:25 -0000 1.1.2.43 +++ CHANGELOG 27 Jan 2006 13:08:19 -0000 1.1.2.44 @@ -1,3 +1,7 @@ +2006-01-27 12:10 wpbasti + + * CHANGELOG: Updated + 2006-01-27 12:05 wpbasti * source/script/core/QxApplication.js: Improved application startup |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 11:10:34
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14667 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.42 retrieving revision 1.1.2.43 diff -u -d -r1.1.2.42 -r1.1.2.43 --- CHANGELOG 27 Jan 2006 10:52:21 -0000 1.1.2.42 +++ CHANGELOG 27 Jan 2006 11:10:25 -0000 1.1.2.43 @@ -1,3 +1,12 @@ +2006-01-27 12:05 wpbasti + + * source/script/core/QxApplication.js: Improved application startup + output + +2006-01-27 11:52 wpbasti + + * CHANGELOG: Updated + 2006-01-27 11:46 wpbasti * source/style/demolayout.css, tools/makebuilds.sh, |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 11:05:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13009/source/script/core Modified Files: Tag: renderer QxApplication.js Log Message: Improved application startup output Index: QxApplication.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxApplication.js,v retrieving revision 1.2.2.59 retrieving revision 1.2.2.60 diff -u -d -r1.2.2.59 -r1.2.2.60 --- QxApplication.js 25 Jan 2006 17:47:59 -0000 1.2.2.59 +++ QxApplication.js 27 Jan 2006 11:05:10 -0000 1.2.2.60 @@ -120,7 +120,7 @@ { var s = (new Date).valueOf(); - this.debug("Pre phase..."); + this.info("Pre phase"); try { @@ -134,7 +134,7 @@ this._printClientInfo(); // Execute user define 'pre' method - this.debug(" - executing application pre"); + this.debug("Executing application pre"); this.pre(); // Fire global 'pre' event @@ -155,19 +155,18 @@ return this.error("...failed: " + ex); }; - this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); - this.debug("\n"); + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; proto._initMain = function() { var s = (new Date).valueOf(); - this.debug("Main phase..."); + this.info("Main phase"); try { // Execute user define 'main' method - this.debug(" - executing application main"); + this.debug("Executing application main"); this.main(); // Fire global 'main' event @@ -181,14 +180,13 @@ return this.error("...failed: " + ex); }; - this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); - this.debug("\n"); + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; proto._initPreload = function() { var s = (new Date).valueOf(); - this.debug("Preloading phase..."); + this.info("Preloading phase"); try { @@ -206,15 +204,16 @@ window.setTimeout(function() { var s = (new Date).valueOf(); - window.application.debug("Widget phase"); - window.application.debug(" - updating widgets"); + var a = window.application; - window.application._ready = true; + a.info("Widget phase"); + a.debug("Rendering widgets"); + + a._ready = true; QxWidget.flushGlobalQueues(true); - window.application.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); - window.application.debug("\n"); - window.application._initPostload(); + a.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); + a._initPostload(); }, 100); } catch(ex) @@ -222,14 +221,13 @@ return this.error("...failed: " + ex); }; - this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); - this.debug("\n"); + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; proto._initPostload = function() { var s = (new Date).valueOf(); - this.debug("Post phase..."); + this.info("Post phase"); try { @@ -237,7 +235,7 @@ this._printInstanceInfo(); // Execute user define 'post' method - this.debug(" - executing application post"); + this.debug("Executing application post"); this.post(); // Post load images which could be visible later @@ -259,7 +257,7 @@ return this.error("...failed: " + ex); }; - this.debug(" - done in: " + ((new Date).valueOf() - s) + "ms"); + this.debug("Done in: " + ((new Date).valueOf() - s) + "ms"); }; @@ -274,20 +272,20 @@ */ proto._printInstanceInfo = function() { - this.debug(" - number of instances: " + QxObjectDataBase.length); + this.debug("Number of instances: " + QxObjectDataBase.length); }; proto._printClassInfo = function() { - this.debug(" - number of classes: " + QxUtil.getObjectLength(QxClasses)); + this.debug("Number of classes: " + QxUtil.getObjectLength(QxClasses)); }; proto._printPropertyInfo = function() { - this.debug(" - number of properties: " + QxPropertyCounter); + this.debug("Number of properties: " + QxPropertyCounter); }; proto._printClientInfo = function() { - this.debug(" - client detection: " + QxClient.getEngine() + QxConst.CORE_SPACE + QxClient.getVersion() + (QxUtil.isValidString(QxClient.getEmulation()) ? QxConst.CORE_SPACE + QxClient.getEmulation() : QxConst.CORE_EMPTY)); + this.debug("Client: " + 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("Document is not in Quirksmode! This is needed in Internet Explorer <= 6 to let qooxdoo render correctly."); |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 10:52:31
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9271 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.41 retrieving revision 1.1.2.42 diff -u -d -r1.1.2.41 -r1.1.2.42 --- CHANGELOG 27 Jan 2006 10:22:31 -0000 1.1.2.41 +++ CHANGELOG 27 Jan 2006 10:52:21 -0000 1.1.2.42 @@ -1,3 +1,33 @@ +2006-01-27 11:46 wpbasti + + * source/style/demolayout.css, tools/makebuilds.sh, + tools/script/demolayout.js.in: Optimized some parts + +2006-01-27 11:46 wpbasti + + * source/html/test/List_4.html: Added appearance showcase + +2006-01-27 11:39 wpbasti + + * source/html/example/: data/items/1.xml, data/items/2.xml, + data/loadByName/Anita.xml, data/loadByName/Harald.xml, + data/loadByName/Lisbeth.xml, data/loadByName/Paul.xml, + images/fo_tester.fla, images/fo_tester.swf, + images/flashs/file1.swf, images/flashs/file10.swf, + images/flashs/file2.swf, images/flashs/file3.swf, + images/flashs/file4.swf, images/flashs/file5.swf, + images/flashs/file6.swf, images/flashs/file7.swf, + images/flashs/file8.swf, images/flashs/file9.swf: Added missing + files + +2006-01-27 11:26 wpbasti + + * tools/script/layout.js.in: Updated for latest changes in RENDERER + +2006-01-27 11:22 wpbasti + + * CHANGELOG: Updated + 2006-01-27 10:38 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 10:47:00
|
Update of /cvsroot/qooxdoo/qooxdoo/tools/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7634/tools/script Modified Files: Tag: renderer demolayout.js.in Log Message: Optimized some parts Index: demolayout.js.in =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/script/Attic/demolayout.js.in,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.js.in 26 Jan 2006 18:44:50 -0000 1.1.2.4 +++ demolayout.js.in 27 Jan 2006 10:46:51 -0000 1.1.2.5 @@ -24,24 +24,28 @@ document.write('<div id="testHead">qooxdoo: <span>The new era of web interface development</span> | DEVELOPMENT BRANCH</div>'); document.write('<div id="testFoot">'); -if(window.location.href.indexOf("sourceforge.net") == -1 && window.location.href.indexOf("oss.schlund.de") == -1 && window.location.href.indexOf("sf.net") == -1) +if( /\/showcase\//.test(window.location.href) ) { + document.write('Selected: Showcase | '); + document.write('[<a href="../example/Index.html">Go to: Example</a>]  '); + document.write('[<a href="../test/Index.html">Go to: Test</a>]  '); +} else if( /\/example\//.test(window.location.href) ) { + document.write('Selected: Example | '); + document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  '); + document.write('[<a href="../test/Index.html">Go to: Test</a>]  '); +} else { + document.write('Selected: Test | '); + document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  '); + document.write('[<a href="../example/Index.html">Go to: Example</a>]  '); +}; + +if(window.location.href.indexOf("oss.schlund.de") == -1) { + document.write("     -       "); if( /\/source\//.test(window.location.href) ) { document.write('[<a href="javascript:void(window.location.href=window.location.href.replace(/\\/source\\//, \'\\/public\\/\'))">Go to: Public</a>]  '); } else { document.write('[<a href="javascript:void(window.location.href=window.location.href.replace(/\\/public\\//, \'\\/source\\/\'))">Go to: Source</a>]  '); }; - - if( /\/showcase\//.test(window.location.href) ) { - document.write('[<a href="../example/Index.html">Go to: Example</a>]  '); - document.write('[<a href="../test/Index.html">Go to: Test</a>]  '); - } else if( /\/example\//.test(window.location.href) ) { - document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  '); - document.write('[<a href="../test/Index.html">Go to: Test</a>]  '); - } else { - document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  '); - document.write('[<a href="../example/Index.html">Go to: Example</a>]  '); - }; }; if (window.location.href.indexOf("dev/") != -1) { @@ -97,7 +101,7 @@ document.title = location.href.substring(location.href.lastIndexOf("/")+1).replace(".html", "").replace(/_/g, " ") + " @ qooxdoo :: demo [development]"; -if(location.href.indexOf("qooxdoo.sourceforge.net") != -1 || location.href.indexOf("qooxdoo.oss.schlund.de") != -1) +if(location.href.indexOf("qooxdoo.oss.schlund.de") != -1) { var cstatus="active", visible="0", page_title="", url_of_counter_file="http://qooxdoo.oss.schlund.de/counter/counter.php", page_url=unescape(location.href), referrer=(document.referrer) ? document.referrer : "", page_title=(page_title.length == 0) ? document.title : page_title; |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 10:46:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7634/source/style Modified Files: Tag: renderer demolayout.css Log Message: Optimized some parts Index: demolayout.css =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/style/Attic/demolayout.css,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -d -r1.1.2.8 -r1.1.2.9 --- demolayout.css 26 Jan 2006 18:44:50 -0000 1.1.2.8 +++ demolayout.css 27 Jan 2006 10:46:50 -0000 1.1.2.9 @@ -1,3 +1,5 @@ +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;} + body{ font-size: 11px; font-family: Arial, "Bitstream Vera Sans", Verdana, sans-serif; |
|
From: Sebastian W. <wp...@us...> - 2006-01-27 10:46:59
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7634/tools Modified Files: Tag: renderer makebuilds.sh Log Message: Optimized some parts Index: makebuilds.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/makebuilds.sh,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -d -r1.4.2.2 -r1.4.2.3 --- makebuilds.sh 19 Nov 2005 19:44:49 -0000 1.4.2.2 +++ makebuilds.sh 27 Jan 2006 10:46:50 -0000 1.4.2.3 @@ -16,7 +16,7 @@ rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/images build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/script build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/style build/distribution/public -rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/test build/distribution/public +rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db public/html build/distribution/public rsync -a --exclude=CVS --exclude=.* --exclude=*.in --exclude=Thumbs.db --exclude=*.pl --exclude=*.py* --exclude=*.sh --exclude=*.xsl tools build/distribution echo "[B-1/4] >>> Building ALL-WITH-DOCS Snapshot" @@ -24,63 +24,11 @@ rsync -a build/distribution/public build/snapshots/allwithdocs/ rsync -a build/distribution/tools build/snapshots/allwithdocs/ -if [ "$1" != "noarch" ]; then - echo "[B-2/4] >>> Building ALL Snapshot" - mkdir -p build/snapshots/all - rsync -a build/distribution/public/images build/snapshots/all/public/ - rsync -a build/distribution/public/script build/snapshots/all/public/ - rsync -a build/distribution/public/style build/snapshots/all/public/ - rsync -a build/distribution/public/test build/snapshots/all/public/ - rsync -a build/distribution/tools build/snapshots/all/ - - echo "[B-3/4] >>> Building DEVELOPER Snapshot" - mkdir -p build/snapshots/developer - rsync -a build/distribution/public/images build/snapshots/developer/public/ - rsync -a build/distribution/public/script/qooxdoo.js* build/snapshots/developer/public/script/ - rsync -a build/distribution/public/style build/snapshots/developer/public/ - rsync -a build/distribution/public/test/developer build/snapshots/developer/public/test/ - rsync -a build/distribution/tools build/snapshots/developer/ - - echo "[B-4/4] >>> Building USER Snapshot" - mkdir -p build/snapshots/user - rsync -a build/distribution/public/images build/snapshots/user/public/ - rsync -a build/distribution/public/script/qooxdoo.js* build/snapshots/user/public/script/ - rsync -a build/distribution/public/style build/snapshots/user/public/ - rsync -a build/distribution/public/test/user build/snapshots/user/public/test/ - rsync -a build/distribution/tools build/snapshots/user/ - - - mkdir -p build/archives - - echo "[C-1/4] >>> Building ALL-WITH-DOCS Archives" - cd build/snapshots/allwithdocs - which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-allwithdocs.zip public tools - which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-allwithdocs.tar.bz2 public tools - which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-allwithdocs.tar.gz public tools - which 7za > /dev/null 2> /dev/null && 7za a -bd ../../archives/qooxdoo-allwithdocs.7z public tools 2> /dev/null - cd ../../../ - - echo "[C-2/4] >>> Building ALL Archives" - cd build/snapshots/all - which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-all.zip public tools - which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-all.tar.bz2 public tools - which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-all.tar.gz public tools - which 7za > /dev/null 2> /dev/null && 7za a -bd ../../archives/qooxdoo-all.7z public tools 2> /dev/null - cd ../../../ - - echo "[C-3/4] >>> Building DEVELOPER Archives" - cd build/snapshots/developer - which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-developer.zip public tools - which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-developer.tar.bz2 public tools - which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-developer.tar.gz public tools - which 7za > /dev/null 2> /dev/null && 7za a -bd ../../archives/qooxdoo-developer.7z public tools 2> /dev/null - cd ../../../ +mkdir -p build/archives - echo "[C-4/4] >>> Building USER Archives" - cd build/snapshots/user - which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-user.zip public tools - which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-user.tar.bz2 public tools - which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-user.tar.gz public tools - which 7za > /dev/null 2> /dev/null && 7za a -bd ../../archives/qooxdoo-user.7z public tools 2> /dev/null - cd ../../../ -fi +echo "[C-1/4] >>> Building ALL-WITH-DOCS Archives" +cd build/snapshots/allwithdocs +which zip > /dev/null 2> /dev/null && zip -qr9 ../../archives/qooxdoo-allwithdocs.zip public tools +which tar > /dev/null 2> /dev/null && tar cfj ../../archives/qooxdoo-allwithdocs.tar.bz2 public tools +which tar > /dev/null 2> /dev/null && tar cfz ../../archives/qooxdoo-allwithdocs.tar.gz public tools +cd ../../../ |