qooxdoo-commit Mailing List for qooxdoo (Page 1417)
Brought to you by:
ecker,
martinwittemann
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(453) |
Feb
(800) |
Mar
(247) |
Apr
(324) |
May
(172) |
Jun
(145) |
Jul
(265) |
Aug
(447) |
Sep
(271) |
Oct
(312) |
Nov
(327) |
Dec
(472) |
| 2007 |
Jan
(493) |
Feb
(631) |
Mar
(565) |
Apr
(469) |
May
(757) |
Jun
(460) |
Jul
(440) |
Aug
(411) |
Sep
(813) |
Oct
(339) |
Nov
(112) |
Dec
(215) |
| 2008 |
Jan
(423) |
Feb
(671) |
Mar
(578) |
Apr
(566) |
May
(498) |
Jun
(411) |
Jul
(845) |
Aug
(1208) |
Sep
(176) |
Oct
(144) |
Nov
(216) |
Dec
(353) |
| 2009 |
Jan
(363) |
Feb
(700) |
Mar
(416) |
Apr
(362) |
May
(292) |
Jun
(238) |
Jul
(243) |
Aug
(216) |
Sep
(287) |
Oct
(304) |
Nov
(300) |
Dec
(416) |
| 2010 |
Jan
(200) |
Feb
(200) |
Mar
(183) |
Apr
(259) |
May
(217) |
Jun
(241) |
Jul
(320) |
Aug
(330) |
Sep
(209) |
Oct
(217) |
Nov
(460) |
Dec
(392) |
| 2011 |
Jan
(338) |
Feb
(465) |
Mar
(1257) |
Apr
(433) |
May
(505) |
Jun
(417) |
Jul
(438) |
Aug
(241) |
Sep
(258) |
Oct
(223) |
Nov
(224) |
Dec
(172) |
| 2012 |
Jan
(151) |
Feb
(119) |
Mar
(220) |
Apr
(182) |
May
(236) |
Jun
(264) |
Jul
(188) |
Aug
(145) |
Sep
(186) |
Oct
(183) |
Nov
(243) |
Dec
(126) |
| 2013 |
Jan
(133) |
Feb
(165) |
Mar
(122) |
Apr
(116) |
May
(177) |
Jun
(177) |
Jul
(290) |
Aug
(150) |
Sep
(165) |
Oct
(168) |
Nov
(252) |
Dec
(152) |
| 2014 |
Jan
(109) |
Feb
(150) |
Mar
(135) |
Apr
(186) |
May
(235) |
Jun
(181) |
Jul
(193) |
Aug
(117) |
Sep
(118) |
Oct
(194) |
Nov
(207) |
Dec
(261) |
| 2015 |
Jan
(138) |
Feb
(218) |
Mar
(180) |
Apr
(141) |
May
(114) |
Jun
(24) |
Jul
(22) |
Aug
(14) |
Sep
(22) |
Oct
(11) |
Nov
(7) |
Dec
(10) |
| 2016 |
Jan
(1) |
Feb
(31) |
Mar
(13) |
Apr
(30) |
May
(34) |
Jun
(25) |
Jul
(16) |
Aug
(14) |
Sep
(21) |
Oct
(20) |
Nov
(6) |
Dec
|
|
From: Sebastian W. <wp...@us...> - 2006-02-02 16:51:21
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23080 Modified Files: Tag: renderer TODO Log Message: Reimplemented state handling, fixed some issues with blank images Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.52 retrieving revision 1.1.2.53 diff -u -d -r1.1.2.52 -r1.1.2.53 --- TODO 2 Feb 2006 09:11:31 -0000 1.1.2.52 +++ TODO 2 Feb 2006 16:51:03 -0000 1.1.2.53 @@ -10,8 +10,6 @@ * Change button appearance to move the button content one pixel down and right on press/hold. -* Optimize state handling (remove all the none-real states: blurred, enabled, out, ...) - h4. AJAX Layer # Implement QxRequestQueue |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 16:51:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23080/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Reimplemented state handling, fixed some issues with blank images Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.65 retrieving revision 1.1.2.66 diff -u -d -r1.1.2.65 -r1.1.2.66 --- QxWidget.js 2 Feb 2006 14:10:24 -0000 1.1.2.65 +++ QxWidget.js 2 Feb 2006 16:51:03 -0000 1.1.2.66 @@ -52,7 +52,6 @@ // ************************************************************************ // HTML MAPPING DATA STRUCTURES // ************************************************************************ - // Allows the user to setup styles and attributes without a // need to have the target element created already. /* @@ -63,25 +62,15 @@ // ************************************************************************ - // QUEUE + // LAYOUT CHANGES // ************************************************************************ - - // Holds current layout changes this._layoutChanges = {}; // ************************************************************************ - // STATE MANAGMENT + // APPEARANCE // ************************************************************************ - - // Contains the currently active states this._states = {}; - - for (var vCat in QxWidget.states) { - this._states[QxWidget.states[vCat][0]] = true; - }; - - this._applyInitialAppearance(); }; @@ -872,8 +861,9 @@ // this.debug("_beforeDisappear"); // Remove any hover/pressed styles - this.setMouseState(QxConst.STATE_OUT); - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_OVER); + this.removeState(QxConst.STATE_PRESSED); + this.removeState(QxConst.STATE_LEFT); // this.debug("_beforeDisappear"); this.createDispatchEvent(QxConst.EVENT_TYPE_BEFORERDISAPPEAR); @@ -2999,7 +2989,7 @@ proto._modifyEnabled = function(propValue, propOldValue, propData) { - this.setEnabledState(propValue ? QxConst.STATE_ENABLED : QxConst.STATE_DISABLED); + propValue ? this.removeState(QxConst.STATE_DISABLED) : this.addState(QxConst.STATE_DISABLED); return true; }; @@ -3009,119 +2999,30 @@ /* --------------------------------------------------------------------------- - STYLES & BEHAVIOR + STATE HANDLING --------------------------------------------------------------------------- */ -QxWidget.STATE_GROUP_MOUSE = "mouse"; -QxWidget.STATE_GROUP_FOCUS = "focus"; -QxWidget.STATE_GROUP_ENABLED = "enabled"; -QxWidget.STATE_GROUP_ACTIVE = "active"; - -QxWidget.STATE_GROUP_CHECKED = "checked"; -QxWidget.STATE_GROUP_BUTTON = "button"; - -QxWidget.STATE_GROUP_SELECTED = "selected"; -QxWidget.STATE_GROUP_ANCHOR = "anchor"; -QxWidget.STATE_GROUP_LEAD = "lead"; - -QxWidget.STATE_GROUP_WINDOW = "window"; - -QxWidget.states = -{ - "mouse" : [ "out", "over" ], - "focus" : [ "blurred", "focused" ], - "enabled" : [ "enabled", "disabled" ], - "active" : [ "inactive", "active" ], - - "checked" : [ "unchecked", "checked" ], - "button" : [ "notpressed", "pressed", "left" ], - - "selected" : [ "notselected", "selected" ], - "anchor" : [ "notanchor", "anchor" ], - "lead" : [ "notlead", "lead" ], - - "window" : [ "restored", "maximized" ] -}; - -proto.getAllStates = function() { - return this._states; -}; - proto.hasState = function(vState) { return this._states[vState] ? true : false; }; - - - - -proto.setMouseState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_MOUSE); -}; - -proto.setFocusState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_FOCUS); -}; - -proto.setEnabledState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_ENABLED); -}; - -proto.setActiveState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_ACTIVE); -}; - -proto.setCheckedState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_CHECKED); -}; - -proto.setButtonState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_BUTTON); -}; - -proto.setSelectedState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_SELECTED); -}; - -proto.setAnchorState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_ANCHOR); -}; - -proto.setLeadState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_LEAD); -}; - -proto.setWindowState = function(vState) { - return this._setState(vState, QxWidget.STATE_GROUP_WINDOW); +proto.addState = function(vState) +{ + this._states[vState] = true; + + if (this._hasParent) { + QxWidget.addToGlobalStateQueue(this); + }; }; - - -proto._setState = function(vState, vCat) +proto.removeState = function(vState) { - var vSetStates = this._states; - - if (vSetStates[vState]) { - return; - }; - - var vCatStates = QxWidget.states[vCat]; - - for (var i=0, l=vCatStates.length, vCatState; i<l; i++) - { - vCatState = vCatStates[i]; - - if (vCatState != vState) { - delete vSetStates[vCatState]; - }; - }; - - vSetStates[vState] = true; + delete this._states[vState]; if (this._hasParent) { QxWidget.addToGlobalStateQueue(this); - }; + }; }; @@ -3130,7 +3031,11 @@ - +/* +--------------------------------------------------------------------------- + APPEARANCE +--------------------------------------------------------------------------- +*/ proto._applyInitialAppearance = function() { @@ -3183,12 +3088,6 @@ }; }; - - - - - - if (QxClient.isMshtml()) { /* @@ -3641,7 +3540,7 @@ } catch(ex) {}; }; - this.setFocusState(QxConst.STATE_BLURRED); + this.removeState(QxConst.STATE_FOCUSED); return true; }; @@ -3654,7 +3553,7 @@ } catch(ex) {}; }; - this.setFocusState(QxConst.STATE_FOCUSED); + this.addState(QxConst.STATE_FOCUSED); return true; }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 16:51:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23080/source/script/core Modified Files: Tag: renderer QxConst.js Log Message: Reimplemented state handling, fixed some issues with blank images Index: QxConst.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxConst.js,v retrieving revision 1.1.2.29 retrieving revision 1.1.2.30 diff -u -d -r1.1.2.29 -r1.1.2.30 --- QxConst.js 31 Jan 2006 15:38:31 -0000 1.1.2.29 +++ QxConst.js 2 Feb 2006 16:51:03 -0000 1.1.2.30 @@ -316,34 +316,15 @@ KEY_CONTROL : "control", STATE_OVER : "over", - STATE_OUT : "out", - STATE_FOCUSED : "focused", - STATE_BLURRED : "blurred", - - STATE_ENABLED : "enabled", STATE_DISABLED : "disabled", - STATE_ACTIVE : "active", - STATE_INACTIVE : "inactive", - STATE_CHECKED : "checked", - STATE_UNCHECKED : "unchecked", - - STATE_NOTPRESSED : "notpressed", STATE_PRESSED : "pressed", STATE_LEFT : "left", - STATE_SELECTED : "selected", - STATE_NOTSELECTED : "notselected", - STATE_ANCHOR : "anchor", - STATE_NOTANCHOR : "notanchor", - STATE_LEAD : "lead", - STATE_NOTLEAD : "notlead", - - STATE_RESTORED : "restored", STATE_MAXIMIZED : "maximized", OVERFLOW_VALUE_AUTO : "auto", |
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23080/source/script/widgets Modified Files: Tag: renderer QxButton.js QxComboBox.js QxCommonViewButton.js QxGallery.js QxGalleryList.js QxIconHtml.js QxImage.js QxListViewContentCellImage.js QxListViewHeader.js QxListViewHeaderCell.js QxListViewPane.js QxMenu.js QxMenuCheckBox.js QxRepeatButton.js QxSpinner.js QxToolBarCheckBox.js QxToolBarMenuButton.js QxToolBarRadioButton.js QxTree.js QxTreeElement.js QxWindow.js Log Message: Reimplemented state handling, fixed some issues with blank images Index: QxListViewHeader.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewHeader.js,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -d -r1.1.2.17 -r1.1.2.18 --- QxListViewHeader.js 18 Jan 2006 10:00:12 -0000 1.1.2.17 +++ QxListViewHeader.js 2 Feb 2006 16:51:04 -0000 1.1.2.18 @@ -243,7 +243,7 @@ this.getTopLevelWidget().setGlobalCursor(null); // Remove hover effect - this._resizeTarget.setMouseState(QxConst.STATE_OUT); + this._resizeTarget.removeState(QxConst.STATE_OVER); // Hide resize line this.getParent().getResizeLine().setStyleProperty(QxConst.PROPERTY_VISIBILITY, QxConst.CORE_HIDDEN); Index: QxButton.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxButton.js,v retrieving revision 1.4.2.34 retrieving revision 1.4.2.35 diff -u -d -r1.4.2.34 -r1.4.2.35 --- QxButton.js 24 Jan 2006 16:48:55 -0000 1.4.2.34 +++ QxButton.js 2 Feb 2006 16:51:04 -0000 1.4.2.35 @@ -77,11 +77,13 @@ return; }; - if (this.hasState(QxConst.STATE_LEFT)) { - this.setButtonState(QxConst.STATE_PRESSED); + if (this.hasState(QxConst.STATE_LEFT)) + { + this.removeState(QxConst.STATE_LEFT); + this.addState(QxConst.STATE_PRESSED); }; - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); }; proto._onmouseout = function(e) @@ -90,7 +92,7 @@ return; }; - this.setMouseState(QxConst.STATE_OUT); + this.removeState(QxConst.STATE_OVER); if (this.hasState(QxConst.STATE_PRESSED)) { @@ -98,7 +100,8 @@ // the button is pressed. this.setCapture(true); - this.setButtonState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); + this.addState(QxConst.STATE_LEFT); }; }; @@ -108,7 +111,8 @@ return; }; - this.setButtonState(QxConst.STATE_PRESSED); + this.removeState(QxConst.STATE_LEFT); + this.addState(QxConst.STATE_PRESSED); }; proto._onmouseup = function(e) @@ -117,14 +121,15 @@ if (!this.hasState(QxConst.STATE_LEFT)) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); if (this.hasState(QxConst.STATE_PRESSED)) { this.execute(); }; }; - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); }; proto._onkeydown = function(e) @@ -133,7 +138,8 @@ { case QxKeyEvent.keys.enter: case QxKeyEvent.keys.space: - this.setButtonState(QxConst.STATE_PRESSED); + this.removeState(QxConst.STATE_LEFT); + this.addState(QxConst.STATE_PRESSED); }; }; @@ -145,7 +151,8 @@ case QxKeyEvent.keys.space: if (this.hasState(QxConst.STATE_PRESSED)) { - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); this.execute(); }; }; Index: QxListViewPane.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewPane.js,v retrieving revision 1.1.2.34 retrieving revision 1.1.2.35 diff -u -d -r1.1.2.34 -r1.1.2.35 --- QxListViewPane.js 16 Jan 2006 16:11:57 -0000 1.1.2.34 +++ QxListViewPane.js 2 Feb 2006 16:51:04 -0000 1.1.2.35 @@ -227,7 +227,7 @@ if (vChild) { - vChild.setSelectedState(vEntry && vEntry._selected ? QxConst.STATE_SELECTED : QxConst.STATE_NOTSELECTED); + vEntry && vEntry._selected ? vChild.addState(QxConst.STATE_SELECTED) : vChild.removeState(QxConst.STATE_SELECTED); vChild.set(vEntry ? vEntry[vCol] : vColumns[vCol].empty || vColumns[vCol].contentClass.empty); }; }; Index: QxSpinner.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxSpinner.js,v retrieving revision 1.9.2.29 retrieving revision 1.9.2.30 diff -u -d -r1.9.2.29 -r1.9.2.30 --- QxSpinner.js 28 Jan 2006 18:19:24 -0000 1.9.2.29 +++ QxSpinner.js 2 Feb 2006 16:51:04 -0000 1.9.2.30 @@ -330,7 +330,7 @@ var vButton = e.getCurrentTarget(); - vButton.setButtonState(QxConst.STATE_PRESSED); + vButton.addState(QxConst.STATE_PRESSED); vButton.addEventListener(QxConst.EVENT_TYPE_MOUSEUP, this._onmouseup, this); vButton.addEventListener(QxConst.EVENT_TYPE_MOUSEOUT, this._onmouseup, this); @@ -349,7 +349,7 @@ { var vButton = e.getCurrentTarget(); - vButton.setButtonState(QxConst.STATE_NOTPRESSED); + vButton.removeState(QxConst.STATE_PRESSED); vButton.removeEventListener(QxConst.EVENT_TYPE_MOUSEUP, this._onmouseup, this); vButton.removeEventListener(QxConst.EVENT_TYPE_MOUSEOUT, this._onmouseup, this); @@ -388,7 +388,7 @@ if (vValue == this.getMin()) { - this._downbutton.setButtonState(QxConst.STATE_NOTPRESSED); + this._downbutton.removeState(QxConst.STATE_PRESSED); this._downbutton.setEnabled(false); this._timer.stop(); } @@ -399,7 +399,7 @@ if (vValue == this.getMax()) { - this._upbutton.setButtonState(QxConst.STATE_NOTPRESSED); + this._upbutton.removeState(QxConst.STATE_PRESSED); this._upbutton.setEnabled(false); this._timer.stop(); } Index: QxTree.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTree.js,v retrieving revision 1.2.2.34 retrieving revision 1.2.2.35 diff -u -d -r1.2.2.34 -r1.2.2.35 --- QxTree.js 16 Jan 2006 16:11:57 -0000 1.2.2.34 +++ QxTree.js 2 Feb 2006 16:51:04 -0000 1.2.2.35 @@ -323,7 +323,7 @@ var vOldItem = this._oldItem; var vNewItem = this.getManager().getSelectedItem(); - vNewItem.getIconObject().setSelectedState(QxConst.STATE_SELECTED); + vNewItem.getIconObject().addState(QxConst.STATE_SELECTED); delete this._fastUpdate; delete this._oldItem; Index: QxRepeatButton.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxRepeatButton.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 --- QxRepeatButton.js 16 Jan 2006 16:11:57 -0000 1.1.2.8 +++ QxRepeatButton.js 2 Feb 2006 16:51:04 -0000 1.1.2.9 @@ -71,7 +71,8 @@ this._timer.setInterval(this.getFirstInterval()); this._timer.start(); - this.setButtonState(QxConst.STATE_PRESSED); + this.removeState(QxConst.STATE_LEFT); + this.addState(QxConst.STATE_PRESSED); }; proto._onmouseup = function(e) @@ -80,7 +81,7 @@ if (!this.hasState(QxConst.STATE_LEFT)) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); if (this.hasState(QxConst.STATE_PRESSED) && !this._executed) { this.execute(); @@ -89,7 +90,8 @@ this._timer.stop(); - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); }; proto._oninterval = function(e) Index: QxGallery.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGallery.js,v retrieving revision 1.21.2.11 retrieving revision 1.21.2.12 diff -u -d -r1.21.2.11 -r1.21.2.12 --- QxGallery.js 28 Jan 2006 18:19:24 -0000 1.21.2.11 +++ QxGallery.js 2 Feb 2006 16:51:04 -0000 1.21.2.12 @@ -34,7 +34,7 @@ { QxTerminator.call(this); - this._blank = QxImageManager.getBlank(); + this._blank = QxImageManager.buildURI(QxImageManager.getBlank()); this._list = vGalleryList; this._listSize = vGalleryList.length; this._processedImages = 0; Index: QxTreeElement.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTreeElement.js,v retrieving revision 1.3.2.47 retrieving revision 1.3.2.48 diff -u -d -r1.3.2.47 -r1.3.2.48 --- QxTreeElement.js 18 Jan 2006 22:10:15 -0000 1.3.2.47 +++ QxTreeElement.js 2 Feb 2006 16:51:04 -0000 1.3.2.48 @@ -122,17 +122,14 @@ proto._modifySelected = function(propValue, propOldValue, propData) { - var vState = propValue ? QxConst.STATE_SELECTED : QxConst.STATE_NOTSELECTED; - - this.setSelectedState(vState); - + propValue ? this.addState(QxConst.STATE_SELECTED) : this.removeState(QxConst.STATE_SELECTED); + propValue ? this._labelObject.addState(QxConst.STATE_SELECTED) : this._labelObject.removeState(QxConst.STATE_SELECTED); + var vTree = this.getTree(); if (!vTree._fastUpdate || (propOldValue && vTree._oldItem == this)) { - this._iconObject.setSelectedState(vState); + propValue ? this._iconObject.addState(QxConst.STATE_SELECTED) : this._iconObject.removeState(QxConst.STATE_SELECTED); }; - this._labelObject.setSelectedState(vState); - var vManager = this.getTree().getManager(); if (propOldValue && vManager.getSelectedItem() == this) Index: QxWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxWindow.js,v retrieving revision 1.25.2.64 retrieving revision 1.25.2.65 diff -u -d -r1.25.2.64 -r1.25.2.65 --- QxWindow.js 19 Jan 2006 12:31:34 -0000 1.25.2.64 +++ QxWindow.js 2 Feb 2006 16:51:04 -0000 1.25.2.65 @@ -515,8 +515,8 @@ QxWindowManager.setActiveWindow(null); }; - this.setActiveState(QxConst.STATE_INACTIVE); - this._captionBar.setActiveState(QxConst.STATE_INACTIVE); + this.removeState(QxConst.STATE_ACTIVE); + this._captionBar.removeState(QxConst.STATE_ACTIVE); } else { @@ -530,8 +530,8 @@ QxWindowManager.setActiveWindow(this); this.bringToFront(); - this.setActiveState(QxConst.STATE_ACTIVE); - this._captionBar.setActiveState(QxConst.STATE_ACTIVE); + this.addState(QxConst.STATE_ACTIVE); + this._captionBar.addState(QxConst.STATE_ACTIVE); }; return true; @@ -764,7 +764,7 @@ this.setBottom(this._previousBottom ? this._previousBottom : null); // update state - this.setWindowState(QxConst.STATE_RESTORED); + this.removeState(QxConst.STATE_MAXIMIZED); // toggle button if (this.getShowMaximize()) @@ -805,7 +805,7 @@ this.setBottom(0); // update state - this.setWindowState(QxConst.STATE_MAXIMIZED); + this.addState(QxConst.STATE_MAXIMIZED); // toggle button if (this.getShowMaximize()) @@ -1131,8 +1131,9 @@ // we need to be sure that the button gets the right states after clicking // because the button will move and does not get the mouseup event anymore - this._minimizeButton.setButtonState(QxConst.STATE_NOTPRESSED); - this._minimizeButton.setMouseState(QxConst.STATE_OUT); + this._minimizeButton.removeState(QxConst.STATE_PRESSED); + this._minimizeButton.removeState(QxConst.STATE_LEFT); + this._minimizeButton.removeState(QxConst.STATE_OVER); e.stopPropagation(); }; @@ -1143,8 +1144,9 @@ // we need to be sure that the button gets the right states after clicking // because the button will move and does not get the mouseup event anymore - this._restoreButton.setButtonState(QxConst.STATE_NOTPRESSED); - this._restoreButton.setMouseState(QxConst.STATE_OUT); + this._restoreButton.removeState(QxConst.STATE_PRESSED); + this._restoreButton.removeState(QxConst.STATE_LEFT); + this._restoreButton.removeState(QxConst.STATE_OVER); e.stopPropagation(); }; @@ -1155,9 +1157,10 @@ // we need to be sure that the button gets the right states after clicking // because the button will move and does not get the mouseup event anymore - this._maximizeButton.setButtonState(QxConst.STATE_NOTPRESSED); - this._maximizeButton.setMouseState(QxConst.STATE_OUT); - + this._maximizeButton.removeState(QxConst.STATE_PRESSED); + this._maximizeButton.removeState(QxConst.STATE_LEFT); + this._maximizeButton.removeState(QxConst.STATE_OVER); + e.stopPropagation(); }; @@ -1167,8 +1170,9 @@ // we need to be sure that the button gets the right states after clicking // because the button will move and does not get the mouseup event anymore - this._closeButton.setButtonState(QxConst.STATE_NOTPRESSED); - this._closeButton.setMouseState(QxConst.STATE_OUT); + this._closeButton.removeState(QxConst.STATE_PRESSED); + this._closeButton.removeState(QxConst.STATE_LEFT); + this._closeButton.removeState(QxConst.STATE_OVER); e.stopPropagation(); }; Index: QxListViewContentCellImage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewContentCellImage.js,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -u -d -r1.1.2.11 -r1.1.2.12 --- QxListViewContentCellImage.js 30 Jan 2006 11:33:33 -0000 1.1.2.11 +++ QxListViewContentCellImage.js 2 Feb 2006 16:51:04 -0000 1.1.2.12 @@ -53,7 +53,7 @@ { if (this._initialLayoutDone) { - return this._updateContent(vSource == QxConst.CORE_EMPTY ? QxImageManager.getBlank() : QxImageManager.buildURI(vSource)); + return this._updateContent(QxImageManager.buildURI(vSource == QxConst.CORE_EMPTY ? QxImageManager.getBlank() : vSource)); } else { Index: QxCommonViewButton.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxCommonViewButton.js,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -d -r1.1.2.7 -r1.1.2.8 --- QxCommonViewButton.js 23 Jan 2006 15:17:13 -0000 1.1.2.7 +++ QxCommonViewButton.js 2 Feb 2006 16:51:04 -0000 1.1.2.8 @@ -158,7 +158,7 @@ }; }; - this.setCheckedState(propValue ? QxConst.STATE_CHECKED : QxConst.STATE_UNCHECKED); + propValue ? this.addState(QxConst.STATE_CHECKED) : this.removeState(QxConst.STATE_CHECKED); var vPage = this.getPage(); if (vPage) { @@ -194,11 +194,11 @@ }; proto._onmouseover = function(e) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); }; proto._onmouseout = function(e) { - this.setMouseState(QxConst.STATE_OUT); + this.removeState(QxConst.STATE_OVER); }; proto._onkeydown = function(e) {}; Index: QxIconHtml.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxIconHtml.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 --- QxIconHtml.js 16 Jan 2006 16:11:57 -0000 1.1.2.5 +++ QxIconHtml.js 2 Feb 2006 16:51:04 -0000 1.1.2.6 @@ -106,7 +106,7 @@ var vHtml = []; vHtml.push(QxIconHtml.START_IMAGE); - vHtml.push(this._mshtml ? QxImageManager.getBlank() : QxImageManager.buildURI(this.getIcon())); + vHtml.push(QxImageManager.buildURI(this._mshtml ? QxImageManager.getBlank() : this.getIcon())); vHtml.push(QxIconHtml.START_STYLE); if (QxUtil.isValidNumber(this.getSpacing())) Index: QxMenuCheckBox.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxMenuCheckBox.js,v retrieving revision 1.7.2.18 retrieving revision 1.7.2.19 diff -u -d -r1.7.2.18 -r1.7.2.19 --- QxMenuCheckBox.js 16 Jan 2006 16:11:57 -0000 1.7.2.18 +++ QxMenuCheckBox.js 2 Feb 2006 16:51:04 -0000 1.7.2.19 @@ -70,10 +70,16 @@ proto._modifyChecked = function(propValue, propOldValue, propData) { - var vState = propValue ? QxConst.STATE_CHECKED : QxConst.STATE_UNCHECKED; - - this.setCheckedState(vState); - this.getIconObject().setCheckedState(vState); + if (propValue) + { + this.addState(QxConst.STATE_CHECKED); + this.getIconObject().addState(QxConst.STATE_CHECKED); + } + else + { + this.removeState(QxConst.STATE_CHECKED); + this.getIconObject().removeState(QxConst.STATE_CHECKED); + }; return true; }; Index: QxToolBarRadioButton.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarRadioButton.js,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -u -d -r1.1.2.18 -r1.1.2.19 --- QxToolBarRadioButton.js 23 Jan 2006 15:17:13 -0000 1.1.2.18 +++ QxToolBarRadioButton.js 2 Feb 2006 16:51:04 -0000 1.1.2.19 @@ -113,12 +113,13 @@ if (!this.hasState(QxConst.STATE_LEFT)) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); this.setChecked(this.getDisableUncheck() || !this.getChecked()); this.execute(); }; - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); e.stopPropagation(); }; Index: QxComboBox.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxComboBox.js,v retrieving revision 1.9.2.40 retrieving revision 1.9.2.41 diff -u -d -r1.9.2.40 -r1.9.2.41 --- QxComboBox.js 31 Jan 2006 16:37:35 -0000 1.9.2.40 +++ QxComboBox.js 2 Feb 2006 16:51:04 -0000 1.9.2.41 @@ -308,7 +308,7 @@ // no break here case this._button: - this._button.setButtonState(QxConst.STATE_PRESSED); + this._button.addState(QxConst.STATE_PRESSED); this._togglePopup(); break; @@ -344,7 +344,7 @@ // no break here case this._button: - this._button.setButtonState(QxConst.STATE_NOTPRESSED); + this._button.removeState(QxConst.STATE_NOTPRESSED); break; }; }; Index: QxToolBarMenuButton.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarMenuButton.js,v retrieving revision 1.2.2.25 retrieving revision 1.2.2.26 diff -u -d -r1.2.2.25 -r1.2.2.26 --- QxToolBarMenuButton.js 16 Jan 2006 16:11:57 -0000 1.2.2.25 +++ QxToolBarMenuButton.js 2 Feb 2006 16:51:04 -0000 1.2.2.26 @@ -84,7 +84,7 @@ if (vMenu) { - this.setButtonState(QxConst.STATE_PRESSED); + this.addState(QxConst.STATE_PRESSED); var el = this.getElement(); @@ -169,7 +169,7 @@ return; }; - this.setMouseState(QxConst.STATE_OUT); + this.removeState(QxConst.STATE_OVER); }; proto._onmouseover = function(e) Index: QxImage.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxImage.js,v retrieving revision 1.8.2.86 retrieving revision 1.8.2.87 diff -u -d -r1.8.2.86 -r1.8.2.87 --- QxImage.js 30 Jan 2006 13:36:27 -0000 1.8.2.86 +++ QxImage.js 2 Feb 2006 16:51:04 -0000 1.8.2.87 @@ -246,7 +246,7 @@ // this costs much performance, move setup to blank gif to error handling // is this SSL save? - // this._image.src = QxImageManager.getBlank(); + // this._image.src = QxImageManager.buildURI(QxImageManager.getBlank()); this._image.style.border = QxImage.BORDER_NONE; this._image.style.verticalAlign = QxImage.RESET_VALIGN; @@ -316,7 +316,7 @@ if (pl.getIsPng() && this.getEnabled()) { - i.src = QxImageManager.getBlank(); + i.src = QxImageManager.buildURI(QxImageManager.getBlank()); i.style.filter = QxImage.IMGLOADER_START + (vSource || pl.getSource()) + QxImage.IMGLOADER_STOP; } else @@ -330,7 +330,7 @@ { var i = this._image; - i.src = QxImageManager.getBlank(); + i.src = QxImageManager.buildURI(QxImageManager.getBlank()); i.style.filter = QxConst.CORE_EMPTY; }; @@ -353,7 +353,7 @@ }; proto._resetContent = function() { - this._image.src = QxImageManager.getBlank(); + this._image.src = QxImageManager.buildURI(QxImageManager.getBlank()); }; proto._applyEnabled = function() Index: QxMenu.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxMenu.js,v retrieving revision 1.17.2.36 retrieving revision 1.17.2.37 diff -u -d -r1.17.2.36 -r1.17.2.37 --- QxMenu.js 17 Jan 2006 13:47:13 -0000 1.17.2.36 +++ QxMenu.js 2 Feb 2006 16:51:04 -0000 1.17.2.37 @@ -162,7 +162,7 @@ // be sure that the opener button gets the correct state var vOpener = this.getOpener(); if (vOpener) { - vOpener.setButtonState(QxConst.STATE_NOTPRESSED); + vOpener.removeState(QxConst.STATE_PRESSED); }; }; @@ -180,11 +180,11 @@ proto._modifyHoverItem = function(propValue, propOldValue, propData) { if (propOldValue) { - propOldValue.setMouseState(QxConst.STATE_OUT); + propOldValue.removeState(QxConst.STATE_OVER); }; if (propValue) { - propValue.setMouseState(QxConst.STATE_OVER); + propValue.addState(QxConst.STATE_OVER); }; return true; Index: QxGalleryList.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxGalleryList.js,v retrieving revision 1.7.2.9 retrieving revision 1.7.2.10 diff -u -d -r1.7.2.9 -r1.7.2.10 --- QxGalleryList.js 25 Jan 2006 14:14:07 -0000 1.7.2.9 +++ QxGalleryList.js 2 Feb 2006 16:51:04 -0000 1.7.2.10 @@ -34,7 +34,7 @@ { QxTerminator.call(this); - this._blank = QxImageManager.getBlank(); + this._blank = QxImageManager.buildURI(QxImageManager.getBlank()); this._list = galleryList; this._listSize = galleryList.length; this._processedImages = 0; Index: QxToolBarCheckBox.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarCheckBox.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 --- QxToolBarCheckBox.js 16 Jan 2006 16:11:57 -0000 1.1.2.15 +++ QxToolBarCheckBox.js 2 Feb 2006 16:51:04 -0000 1.1.2.16 @@ -62,7 +62,7 @@ proto._modifyChecked = function(propValue, propOldValue, propData) { - this.setCheckedState(propValue ? QxConst.STATE_CHECKED : QxConst.STATE_UNCHECKED); + propValue ? this.addState(QxConst.STATE_CHECKED) : this.removeState(QxConst.STATE_CHECKED); return true; }; @@ -82,12 +82,13 @@ if (!this.hasState(QxConst.STATE_LEFT)) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); this.setChecked(!this.getChecked()); this.execute(); }; - this.setButtonState(QxConst.STATE_NOTPRESSED); + this.removeState(QxConst.STATE_LEFT); + this.removeState(QxConst.STATE_PRESSED); e.stopPropagation(); }; Index: QxListViewHeaderCell.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewHeaderCell.js,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -d -r1.1.2.17 -r1.1.2.18 --- QxListViewHeaderCell.js 16 Jan 2006 16:11:57 -0000 1.1.2.17 +++ QxListViewHeaderCell.js 2 Feb 2006 16:51:04 -0000 1.1.2.18 @@ -198,11 +198,11 @@ */ proto._onmouseover = function(e) { - this.setMouseState(QxConst.STATE_OVER); + this.addState(QxConst.STATE_OVER); }; proto._onmouseout = function(e) { - this.setMouseState(QxConst.STATE_OUT); + this.removeState(QxConst.STATE_OVER); }; proto._onmouseup = function(e) |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 16:51:20
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23080/source/script/managers Modified Files: Tag: renderer QxImageManager.js QxSelectionManager.js Log Message: Reimplemented state handling, fixed some issues with blank images Index: QxImageManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxImageManager.js,v retrieving revision 1.3.2.26 retrieving revision 1.3.2.27 diff -u -d -r1.3.2.26 -r1.3.2.27 --- QxImageManager.js 28 Jan 2006 12:28:35 -0000 1.3.2.26 +++ QxImageManager.js 2 Feb 2006 16:51:04 -0000 1.3.2.27 @@ -100,7 +100,7 @@ */ proto.getBlank = function() { - return this.getPath() + this.BLANK; + return this.BLANK; }; proto.getImageList = function() { Index: QxSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxSelectionManager.js,v retrieving revision 1.3.2.35 retrieving revision 1.3.2.36 diff -u -d -r1.3.2.35 -r1.3.2.36 --- QxSelectionManager.js 1 Feb 2006 09:06:41 -0000 1.3.2.35 +++ QxSelectionManager.js 2 Feb 2006 16:51:04 -0000 1.3.2.36 @@ -276,15 +276,15 @@ */ proto.renderItemSelectionState = function(vItem, vIsSelected) { - vItem.setSelectedState(vIsSelected ? QxConst.STATE_SELECTED : QxConst.STATE_NOTSELECTED); + vIsSelected ? vItem.addState(QxConst.STATE_SELECTED) : vItem.removeState(QxConst.STATE_SELECTED); }; proto.renderItemAnchorState = function(vItem, vIsAnchor) { - vItem.setAnchorState(vIsAnchor ? QxConst.STATE_ANCHOR : QxConst.STATE_NOTANCHOR); + vIsAnchor ? vItem.addState(QxConst.STATE_ANCHOR) : vItem.removeState(QxConst.STATE_ANCHOR); }; proto.renderItemLeadState = function(vItem, vIsLead) { - vItem.setLeadState(vIsLead ? QxConst.STATE_LEAD : QxConst.STATE_NOTLEAD); + vIsLead ? vItem.addState(QxConst.STATE_LEAD) : vItem.removeState(QxConst.STATE_LEAD); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 14:17:09
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29017 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.57 retrieving revision 1.1.2.58 diff -u -d -r1.1.2.57 -r1.1.2.58 --- CHANGELOG 2 Feb 2006 12:21:18 -0000 1.1.2.57 +++ CHANGELOG 2 Feb 2006 14:16:46 -0000 1.1.2.58 @@ -1,3 +1,16 @@ +2006-02-02 15:10 wpbasti + + * source/script/core/QxMain.js: Version bump + +2006-02-02 15:10 wpbasti + + * source/script/gui/: QxWidget.js, QxWidgetCore.js: Move + _beforeAppear to _handleDisplay stuff + +2006-02-02 13:21 wpbasti + + * CHANGELOG: Updated + 2006-02-02 10:11 wpbasti * TODO: Updated @@ -7,6 +20,11 @@ * source/: html/test/Window_6.html, script/gui/QxWidget.js: Added blur/focus methods to all QxWidgets and new test for these +2006-02-02 10:11 wpbasti + + * source/: html/test/Window_6.html, script/gui/QxWidget.js: Added + blur/focus methods to all QxWidgets and new test for these + 2006-02-02 09:32 wpbasti * source/script/transport/QxXmlHttpTransport.js: Improved mshtml |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 14:10:45
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26932/source/script/core Modified Files: Tag: renderer QxMain.js Log Message: Version bump Index: QxMain.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/Attic/QxMain.js,v retrieving revision 1.1.2.10 retrieving revision 1.1.2.11 diff -u -d -r1.1.2.10 -r1.1.2.11 --- QxMain.js 31 Jan 2006 12:27:11 -0000 1.1.2.10 +++ QxMain.js 2 Feb 2006 14:10:35 -0000 1.1.2.11 @@ -29,7 +29,7 @@ ************************************************************************ */ -var QxVersion = "0.2_rc1"; +var QxVersion = "0.2_rc2"; var QxPropertyCounter = 0; var QxClasses = {}; |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 14:10:33
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26876/source/script/gui Modified Files: Tag: renderer QxWidget.js QxWidgetCore.js Log Message: Move _beforeAppear to _handleDisplay stuff Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.64 retrieving revision 1.1.2.65 diff -u -d -r1.1.2.64 -r1.1.2.65 --- QxWidget.js 2 Feb 2006 09:11:21 -0000 1.1.2.64 +++ QxWidget.js 2 Feb 2006 14:10:24 -0000 1.1.2.65 @@ -765,6 +765,13 @@ + // Handle beforeAppear signals + if (this.getVisibility()) { + this._beforeAppear(); + }; + + + /* -------------------------------- Add to global Queues -------------------------------- */ @@ -862,6 +869,8 @@ proto._beforeDisappear = function() { + // this.debug("_beforeDisappear"); + // Remove any hover/pressed styles this.setMouseState(QxConst.STATE_OUT); this.setButtonState(QxConst.STATE_NOTPRESSED); Index: QxWidgetCore.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidgetCore.js,v retrieving revision 1.1.2.14 retrieving revision 1.1.2.15 diff -u -d -r1.1.2.14 -r1.1.2.15 --- QxWidgetCore.js 30 Jan 2006 13:36:26 -0000 1.1.2.14 +++ QxWidgetCore.js 2 Feb 2006 14:10:25 -0000 1.1.2.15 @@ -423,29 +423,6 @@ - /* ----------------------------------------------- - Before appear signals - ----------------------------------------------- */ - - // Only need to do this with the lazy queues - // because through the recursion from QxParent - // all others get also informed. - for (vKey in vLazyQueues) - { - vLazyQueue = vLazyQueues[vKey]; - - for (var i=0, l=vLazyQueue.length; i<l; i++) - { - vWidget = vLazyQueue[i]; - - if (vWidget.getVisibility()) { - vWidget._beforeAppear(); - }; - }; - }; - - - /* ----------------------------------------------- Flush display queues |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 12:21:28
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14852 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.56 retrieving revision 1.1.2.57 diff -u -d -r1.1.2.56 -r1.1.2.57 --- CHANGELOG 1 Feb 2006 13:10:33 -0000 1.1.2.56 +++ CHANGELOG 2 Feb 2006 12:21:18 -0000 1.1.2.57 @@ -1,3 +1,26 @@ +2006-02-02 10:11 wpbasti + + * TODO: Updated + +2006-02-02 10:11 wpbasti + + * source/: html/test/Window_6.html, script/gui/QxWidget.js: Added + blur/focus methods to all QxWidgets and new test for these + +2006-02-02 09:32 wpbasti + + * source/script/transport/QxXmlHttpTransport.js: Improved mshtml + activexobject versions + +2006-02-01 14:20 wpbasti + + * tools/: makechangelog.sh, makedocs.sh: Removed css doc + generation, moved js generation one level up + +2006-02-01 14:10 wpbasti + + * CHANGELOG: Updated + 2006-02-01 13:59 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 09:11:38
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11810 Modified Files: Tag: renderer TODO Log Message: Updated Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.51 retrieving revision 1.1.2.52 diff -u -d -r1.1.2.51 -r1.1.2.52 --- TODO 31 Jan 2006 12:52:40 -0000 1.1.2.51 +++ TODO 2 Feb 2006 09:11:31 -0000 1.1.2.52 @@ -7,10 +7,11 @@ * Additional Namespace for QxSetter, QxGetter, QxResetter? * Optimize unit detection and unit handling and storage for dimension and location properties. Try to remove all these boolean flags. -* Rework and cleanup disposer code - do we really need to dispose all this stuff? * Change button appearance to move the button content one pixel down and right on press/hold. +* Optimize state handling (remove all the none-real states: blurred, enabled, out, ...) + h4. AJAX Layer # Implement QxRequestQueue |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 09:11:28
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11755/source/script/gui Modified Files: Tag: renderer QxWidget.js Log Message: Added blur/focus methods to all QxWidgets and new test for these Index: QxWidget.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v retrieving revision 1.1.2.63 retrieving revision 1.1.2.64 diff -u -d -r1.1.2.63 -r1.1.2.64 --- QxWidget.js 31 Jan 2006 15:23:48 -0000 1.1.2.63 +++ QxWidget.js 2 Feb 2006 09:11:21 -0000 1.1.2.64 @@ -3649,7 +3649,17 @@ return true; }; +proto.focus = function() +{ + delete QxFocusManager.mouseFocus; + this.setFocused(true); +}; +proto.blur = function() +{ + delete QxFocusManager.mouseFocus; + this.setFocused(false); +}; |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 09:11:28
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11755/source/html/test Added Files: Tag: renderer Window_6.html Log Message: Added blur/focus methods to all QxWidgets and new test for these --- NEW FILE: Window_6.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>Dialog with QxForm and QxTextArea</p> <p>Testing initial focus handling.</p> </div> <script type="text/javascript" language="JavaScript"> window.application.main = function() { var d = this.getClientWindow().getClientDocument(); var txtfld; var dialogEditFrage = new QxWindow("Edit", "icons/16/editor.png"); with(dialogEditFrage) { setSpace(300, 400, 100, 300); setShowClose(false); var qx = new QxAtom('Question'); with(qx) { setHorizontalChildrenAlign('right'); set({top:10,left:10,width:'20%'}); }; add(qx); qx = txtfld = new QxTextArea(); with (qx) { set({top:10,right:10,width:'70%'}) } add(qx); txtfld.addEventListener("appear", function(e) { this.focus(); }); qx = new QxAtom('Type'); with(qx) { setHorizontalChildrenAlign('right'); set({top:70,left:10,width:'20%'}); }; add(qx); qx = new QxTextField(); with (qx) { set({top:70,right:10,width:'70%'}) } add(qx); var btnOK = new QxButton("OK", "icons/16/buttonok.png"); var btnCancel = new QxButton("Cancel", "icons/16/buttoncancel.png"); var btnSetFocus = new QxButton("Set Focus To First Field", "icons/16/reload.png"); btnOK.set({ bottom : 10, right : 10 }); btnCancel.set({ bottom : 10, left : 10 }); btnSetFocus.set({ bottom : 10, left : 100 }); btnCancel.addEventListener("execute", function(e) { dialogEditFrage.close(); }); btnOK.addEventListener("execute", function(e) { dialogEditFrage.close(); }); btnSetFocus.addEventListener("execute", function(e) { txtfld.focus(); }); add(btnOK, btnCancel, btnSetFocus); } var btnOpen = new QxButton("Open the dialog"); btnOpen.set({ top : 50, left : 20 }); btnOpen.addEventListener("click", function(e) { dialogEditFrage.open(); }); var btnRestore = new QxButton("Restore the dialog"); btnRestore.set({ top : 80, left : 20 }); btnRestore.addEventListener("click", function(e) { dialogEditFrage.restore(); }); d.add(btnOpen,btnRestore,dialogEditFrage); } </script> </body> </html> |
|
From: Sebastian W. <wp...@us...> - 2006-02-02 08:32:37
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/transport In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28544/source/script/transport Modified Files: Tag: renderer QxXmlHttpTransport.js Log Message: Improved mshtml activexobject versions Index: QxXmlHttpTransport.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/transport/Attic/QxXmlHttpTransport.js,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -u -d -r1.1.2.18 -r1.1.2.19 --- QxXmlHttpTransport.js 24 Jan 2006 09:40:59 -0000 1.1.2.18 +++ QxXmlHttpTransport.js 2 Feb 2006 08:32:29 -0000 1.1.2.19 @@ -76,7 +76,7 @@ if (window.ActiveXObject) { - var vServers = [ "MSXML4.XMLHTTP", "MSXML3.XMLHTTP", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP" ]; + var vServers = [ "MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP.2.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP" ]; var vObject; var vServer; |
|
From: Sebastian W. <wp...@us...> - 2006-02-01 13:21:08
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12707/tools Modified Files: Tag: renderer makechangelog.sh makedocs.sh Log Message: Removed css doc generation, moved js generation one level up Index: makedocs.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/makedocs.sh,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- makedocs.sh 3 Oct 2005 19:09:27 -0000 1.1.2.1 +++ makedocs.sh 1 Feb 2006 13:20:58 -0000 1.1.2.2 @@ -5,12 +5,7 @@ mkdir -p public/script mkdir -p .cache/script -python tools/compile.py --sourcepath source/script --publicpath public/script --cachepath ".cache/script" --docpath public/docs/script --prefix docs --job doc - -mkdir -p public/style -mkdir -p .cache/style - -python tools/compile.py --sourcepath source/style --publicpath public/style --cachepath ".cache/style" --docpath public/docs/style --prefix docs --job doc +python tools/compile.py --sourcepath source/script --publicpath public/script --cachepath ".cache/script" --docpath public/docs --prefix docs --job doc tools/combine.sh tools/patchtest.sh Index: makechangelog.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/makechangelog.sh,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -d -r1.1.2.7 -r1.1.2.8 --- makechangelog.sh 31 Jan 2006 18:53:06 -0000 1.1.2.7 +++ makechangelog.sh 1 Feb 2006 13:20:57 -0000 1.1.2.8 @@ -7,7 +7,7 @@ if [ -r CHANGELOG ]; then cp -f CHANGELOG CHANGELOG.old - tools/cvs2cl.pl --accum + tools/cvs2cl.pl --accum -f CHANGELOG else tools/cvs2cl.pl fi |
|
From: Sebastian W. <wp...@us...> - 2006-02-01 13:10:44
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7481 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.55 retrieving revision 1.1.2.56 diff -u -d -r1.1.2.55 -r1.1.2.56 --- CHANGELOG 1 Feb 2006 12:59:03 -0000 1.1.2.55 +++ CHANGELOG 1 Feb 2006 13:10:33 -0000 1.1.2.56 @@ -1,3 +1,7 @@ +2006-02-01 13:59 wpbasti + + * CHANGELOG: Updated + 2006-02-01 10:06 wpbasti * source/script/managers/QxSelectionManager.js: Fixed space input |
|
From: Sebastian W. <wp...@us...> - 2006-02-01 12:59:12
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1624 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.54 retrieving revision 1.1.2.55 diff -u -d -r1.1.2.54 -r1.1.2.55 --- CHANGELOG 31 Jan 2006 18:40:05 -0000 1.1.2.54 +++ CHANGELOG 1 Feb 2006 12:59:03 -0000 1.1.2.55 @@ -1,3 +1,20 @@ +2006-02-01 10:06 wpbasti + + * source/script/managers/QxSelectionManager.js: Fixed space input + for editable QxComboboxes + +2006-01-31 20:04 wpbasti + + * tools/fullsize.sh: Added new tool + +2006-01-31 19:53 wpbasti + + * tools/: makebuilds.sh, makechangelog.sh: Minor improvements + +2006-01-31 19:40 wpbasti + + * CHANGELOG: Updated + 2006-01-31 19:26 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-02-01 09:06:50
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5866/source/script/managers Modified Files: Tag: renderer QxSelectionManager.js Log Message: Fixed space input for editable QxComboboxes Index: QxSelectionManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxSelectionManager.js,v retrieving revision 1.3.2.34 retrieving revision 1.3.2.35 diff -u -d -r1.3.2.34 -r1.3.2.35 --- QxSelectionManager.js 28 Jan 2006 18:19:24 -0000 1.3.2.34 +++ QxSelectionManager.js 1 Feb 2006 09:06:41 -0000 1.3.2.35 @@ -1134,7 +1134,9 @@ case QxKeyEvent.keys.space: - return this.getLeadItem(); + if (vKeyboardEvent.getCtrlKey()) { + return this.getLeadItem(); + }; }; return null; |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 19:04:56
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29597/tools Added Files: Tag: renderer fullsize.sh Log Message: Added new tool --- NEW FILE: fullsize.sh --- #!/bin/bash cd `dirname $0`/.. kbytes=`LANG="C" du -c source/script/*/Qx*.js --apparent-size -k | grep total | cut -f1` bytes=`LANG="C" du -c source/script/*/Qx*.js --apparent-size -b | grep total | cut -f1` echo ">>> qooxdoo source full size" echo ">>> ${kbytes}kb ($bytes)" |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 18:53:13
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23921/tools Modified Files: Tag: renderer makebuilds.sh makechangelog.sh Log Message: Minor improvements Index: makebuilds.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/makebuilds.sh,v retrieving revision 1.4.2.4 retrieving revision 1.4.2.5 diff -u -d -r1.4.2.4 -r1.4.2.5 --- makebuilds.sh 31 Jan 2006 08:36:45 -0000 1.4.2.4 +++ makebuilds.sh 31 Jan 2006 18:53:06 -0000 1.4.2.5 @@ -6,6 +6,7 @@ tools/makesource.sh tools/makedocs.sh tools/makechangelog.sh +tools/makechangelog.sh xml rm -rf build/* mkdir -p build/distribution/public Index: makechangelog.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/makechangelog.sh,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- makechangelog.sh 15 Dec 2005 15:51:08 -0000 1.1.2.6 +++ makechangelog.sh 31 Jan 2006 18:53:06 -0000 1.1.2.7 @@ -2,21 +2,29 @@ cd `dirname $0`/.. -echo ">>> Generating Changelog..." +if [ "$1" != "xml" ]; then + echo ">>> Generating Changelog..." -rm -f CHANGELOG -tools/cvs2cl.pl -f CHANGELOG -cvs ci -m "Updated" CHANGELOG + if [ -r CHANGELOG ]; then + cp -f CHANGELOG CHANGELOG.old + tools/cvs2cl.pl --accum + else + tools/cvs2cl.pl + fi + cvs ci -m "Updated" CHANGELOG +fi -echo ">>> Generating XML Changelog" +if [ "$1" = "xml" ]; then + echo ">>> Generating XML Changelog" -mkdir -p public/docs/changelog -tools/cvs2cl.pl --xml -f public/docs/changelog/changelog.xml + mkdir -p public/docs/changelog + tools/cvs2cl.pl --xml -f public/docs/changelog/changelog.xml -echo ">>> Generating HTML Changelog" -xsltproc -o public/docs/changelog/changelog.html tools/changelog_html.xsl public/docs/changelog/changelog.xml + echo ">>> Generating HTML Changelog" + xsltproc -o public/docs/changelog/changelog.html tools/changelog_html.xsl public/docs/changelog/changelog.xml -echo ">>> Generating RSS Changelog" -xsltproc -o public/docs/changelog/changelog.rss tools/changelog_rss.xsl public/docs/changelog/changelog.xml + echo ">>> Generating RSS Changelog" + xsltproc -o public/docs/changelog/changelog.rss tools/changelog_rss.xsl public/docs/changelog/changelog.xml +fi echo ">>> Done" |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 18:40:16
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18392 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.53 retrieving revision 1.1.2.54 diff -u -d -r1.1.2.53 -r1.1.2.54 --- CHANGELOG 31 Jan 2006 18:26:20 -0000 1.1.2.53 +++ CHANGELOG 31 Jan 2006 18:40:05 -0000 1.1.2.54 @@ -1,3 +1,7 @@ +2006-01-31 19:26 wpbasti + + * CHANGELOG: Updated + 2006-01-31 17:44 wpbasti * CHANGELOG: Updated |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 18:26:28
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12851 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.52 retrieving revision 1.1.2.53 diff -u -d -r1.1.2.52 -r1.1.2.53 --- CHANGELOG 31 Jan 2006 16:44:35 -0000 1.1.2.52 +++ CHANGELOG 31 Jan 2006 18:26:20 -0000 1.1.2.53 @@ -1,3 +1,7 @@ +2006-01-31 17:44 wpbasti + + * CHANGELOG: Updated + 2006-01-31 17:37 wpbasti * source/script/: managers/QxEventManager.js, |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 16:44:43
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv351 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.51 retrieving revision 1.1.2.52 diff -u -d -r1.1.2.51 -r1.1.2.52 --- CHANGELOG 31 Jan 2006 15:47:21 -0000 1.1.2.51 +++ CHANGELOG 31 Jan 2006 16:44:35 -0000 1.1.2.52 @@ -1,3 +1,12 @@ +2006-01-31 17:37 wpbasti + + * source/script/: managers/QxEventManager.js, + widgets/QxComboBox.js: Fixed editing for open editable comboboxes + +2006-01-31 16:47 wpbasti + + * CHANGELOG: Updated + 2006-01-31 16:38 wpbasti * source/script/: core/QxConst.js, managers/QxEventManager.js: Some |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 16:37:50
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30525/source/script/managers Modified Files: Tag: renderer QxEventManager.js Log Message: Fixed editing for open editable comboboxes Index: QxEventManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/QxEventManager.js,v retrieving revision 1.14.2.69 retrieving revision 1.14.2.70 diff -u -d -r1.14.2.69 -r1.14.2.70 --- QxEventManager.js 31 Jan 2006 15:38:31 -0000 1.14.2.69 +++ QxEventManager.js 31 Jan 2006 16:37:35 -0000 1.14.2.70 @@ -100,9 +100,6 @@ --------------------------------------------------------------------------- */ -proto._attachedClientWindow = null; - -proto._lastFocused = null; proto._lastMouseEventType = null; proto._lastMouseDown = false; proto._lastMouseEventDate = 0; |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 16:37:46
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30525/source/script/widgets Modified Files: Tag: renderer QxComboBox.js Log Message: Fixed editing for open editable comboboxes Index: QxComboBox.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxComboBox.js,v retrieving revision 1.9.2.39 retrieving revision 1.9.2.40 diff -u -d -r1.9.2.39 -r1.9.2.40 --- QxComboBox.js 19 Jan 2006 12:54:22 -0000 1.9.2.39 +++ QxComboBox.js 31 Jan 2006 16:37:35 -0000 1.9.2.40 @@ -407,7 +407,7 @@ var vKeyCode = e.getKeyCode(); var vKeys = QxKeyEvent.keys; var vVisible = this._popup.isSeeable(); - + switch(vKeyCode) { // Handle <ENTER> @@ -534,7 +534,7 @@ proto._onkeypress = function(e) { - if (!this.isEditable() || this._popup.isSeeable()) { + if (!this.isEditable()) { this._list._onkeypress(e); }; }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-31 15:47:30
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10722 Modified Files: Tag: renderer CHANGELOG Log Message: Updated Index: CHANGELOG =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/Attic/CHANGELOG,v retrieving revision 1.1.2.50 retrieving revision 1.1.2.51 diff -u -d -r1.1.2.50 -r1.1.2.51 --- CHANGELOG 31 Jan 2006 14:18:33 -0000 1.1.2.50 +++ CHANGELOG 31 Jan 2006 15:47:21 -0000 1.1.2.51 @@ -1,3 +1,29 @@ +2006-01-31 16:38 wpbasti + + * source/script/: core/QxConst.js, managers/QxEventManager.js: Some + more cleanups + +2006-01-31 16:35 wpbasti + + * source/script/managers/QxEventManager.js: Minor cleanup + +2006-01-31 16:24 wpbasti + + * source/script/managers/QxEventManager.js: Removed special active + event from mshtml logic + +2006-01-31 16:24 wpbasti + + * source/script/widgets/QxList.js: Minor cleanup + +2006-01-31 16:23 wpbasti + + * source/script/gui/QxWidget.js: Added some debug output code + +2006-01-31 15:18 wpbasti + + * CHANGELOG: Updated + 2006-01-31 14:58 wpbasti * CHANGELOG: Updated |