You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(24) |
Aug
(93) |
Sep
(261) |
Oct
(257) |
Nov
(218) |
Dec
(95) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(184) |
Feb
(87) |
Mar
(155) |
Apr
(398) |
May
(201) |
Jun
(35) |
Jul
(68) |
Aug
(92) |
Sep
(52) |
Oct
(111) |
Nov
(135) |
Dec
(116) |
2009 |
Jan
(225) |
Feb
(204) |
Mar
(113) |
Apr
(137) |
May
(220) |
Jun
(199) |
Jul
(196) |
Aug
(98) |
Sep
(100) |
Oct
(179) |
Nov
(164) |
Dec
(72) |
2010 |
Jan
(59) |
Feb
(61) |
Mar
(64) |
Apr
(159) |
May
(107) |
Jun
(252) |
Jul
(180) |
Aug
(96) |
Sep
(82) |
Oct
(58) |
Nov
(43) |
Dec
(53) |
2011 |
Jan
(39) |
Feb
(18) |
Mar
(33) |
Apr
(66) |
May
(48) |
Jun
(124) |
Jul
(112) |
Aug
(62) |
Sep
(45) |
Oct
(102) |
Nov
(47) |
Dec
(37) |
2012 |
Jan
(22) |
Feb
(18) |
Mar
(1) |
Apr
(5) |
May
(18) |
Jun
(13) |
Jul
(9) |
Aug
(38) |
Sep
(3) |
Oct
(7) |
Nov
(24) |
Dec
(6) |
2013 |
Jan
(1) |
Feb
(14) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(4) |
Jul
(9) |
Aug
(4) |
Sep
(7) |
Oct
|
Nov
(1) |
Dec
(4) |
2014 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <sc...@us...> - 2012-08-10 14:00:35
|
Revision: 21755 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21755&view=rev Author: scro34 Date: 2012-08-10 14:00:26 +0000 (Fri, 10 Aug 2012) Log Message: ----------- Menu shadow is now the same as window shadow Modified Paths: -------------- trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Appearance.js trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Decoration.js Modified: trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Appearance.js =================================================================== --- trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Appearance.js 2012-08-09 13:09:04 UTC (rev 21754) +++ trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Appearance.js 2012-08-10 14:00:26 UTC (rev 21755) @@ -31,54 +31,54 @@ style: function(states) { return { - padding: states.pressed || states.checked - || (states.checked && states.disabled) ? [4, 4, 0, 6] : [2, 6, 2, 4], + padding: states.pressed || states.checked + || (states.checked && states.disabled) ? [4, 4, 0, 6] : [2, 6, 2, 4], decorator: states.pressed || states.checked ? "button-checked" : states.hovered && !states.disabled ? "button-hovered" : "button", - textColor: "text-button", - center: true + textColor: "text-button", + center: true }; } - }, - - "button-red": + }, + + "button-red": { style: function(states) { return { - padding: states.pressed || states.checked - || (states.checked && states.disabled) ? [4, 4, 0, 6] : [2, 6, 2, 4], + padding: states.pressed || states.checked + || (states.checked && states.disabled) ? [4, 4, 0, 6] : [2, 6, 2, 4], decorator: states.pressed || states.checked ? "button-red-checked" : states.hovered && !states.disabled ? "button-red-hovered" : "button", - textColor: "text-button", - center: true + textColor: "text-button", + center: true }; } - }, - - "button-simple": + }, + + "button-simple": { alias: "atom", style: function(states) { return { - padding: states.pressed || states.checked - || (states.checked && states.disabled) ? [4, 2, 2, 4] : [3], + padding: states.pressed || states.checked + || (states.checked && states.disabled) ? [4, 2, 2, 4] : [3], decorator: states.pressed || states.checked ? "button-simple-checked" : states.hovered && !states.disabled ? "button-simple-hovered" : "button-simple", - textColor: "text-button" + textColor: "text-button" }; } - }, - - "button-frame" : + }, + + "button-frame" : { alias : "atom", @@ -134,8 +134,8 @@ } } }, - - "hover-button": + + "hover-button": { alias: "button", include: "button", @@ -155,46 +155,6 @@ --------------------------------------------------------------------------- */ - // "checkbox": - // { - // alias : "atom", - - // style : function(states) - // { - // "disabled" state is not handled here with purpose. The image widget - // does handle this already by replacing the current image with a - // disabled version (if available). If no disabled image is found the - // opacity style is used. - // var icon; - // if (states.checked && states.focused) { - // icon = "checkbox-checked-focused"; - // } else if (states.checked && states.disabled) { - // icon = "checkbox-checked-disabled"; - // } else if (states.checked && states.pressed) { - // icon = "checkbox-checked-pressed"; - // } else if (states.checked && states.hovered) { - // icon = "checkbox-checked-hovered"; - // } else if (states.checked) { - // icon = "checkbox-checked"; - // } else if (states.focused) { - // icon = "checkbox-focused"; - // } else if (states.pressed) { - // icon = "checkbox-pressed"; - // } else if (states.hovered) { - // icon = "checkbox-hovered"; - // } else { - // icon = "checkbox"; - // } - - // var invalid = states.invalid && !states.disabled ? "-invalid" : ""; - - // return { - // icon: "decoration/form/" + icon + invalid + ".png", - // gap: 6 - // }; - // } - // }, - "checkbox": { alias: "atom", @@ -203,7 +163,7 @@ { var icon; - // Checked + // Checked if (states.checked) { if (states.disabled) { icon = "checkbox-checked"; @@ -434,13 +394,13 @@ "colorselector/hue-saturation-handle" : "widget", "colorselector/brightness-pane": "widget", "colorselector/brightness-handle" : "widget", - - /* + + /* --------------------------------------------------------------------------- COMBOBOX --------------------------------------------------------------------------- */ - "combobox" : + "combobox" : { style : function(states) { @@ -468,7 +428,7 @@ } }, - "combobox/button": + "combobox/button": { include: "button-simple", alias: "button-simple", @@ -487,9 +447,9 @@ "combobox/list" : { alias : "list" }, - - "combobox/popup" : "popup", + "combobox/popup" : "popup", + "combobox/textfield" : { include : "textfield", @@ -579,7 +539,7 @@ "atom" : {}, "atom/label": - { + { style : function(states) { return { @@ -596,20 +556,20 @@ { return { decorator: "menu", - textColor: "white", - backgroundColor: "background-light", + textColor: "white", + backgroundColor: "background-light", shadow: "shadow-window" } } }, - - /* + + /* --------------------------------------------------------------------------- DATE CHOOSER --------------------------------------------------------------------------- */ - - "datechooser" : + + "datechooser" : { style : function(states) { @@ -638,8 +598,8 @@ }; } }, - - "datechooser/nav-button" : + + "datechooser/nav-button" : { include : "button-simple", alias : "button-simple", @@ -666,8 +626,8 @@ return result; } }, - - "datechooser/date-pane" : + + "datechooser/date-pane" : { style : function(states) { @@ -677,8 +637,8 @@ }; } }, - - "datechooser/day" : + + "datechooser/day" : { style : function(states) { @@ -691,8 +651,8 @@ }; } }, - - "datechooser/week" : + + "datechooser/week" : { style : function(states) { @@ -703,8 +663,8 @@ }; } }, - - "datechooser/weekday" : + + "datechooser/weekday" : { style : function(states) { @@ -754,8 +714,8 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- GROUPBOX --------------------------------------------------------------------------- @@ -771,7 +731,7 @@ } }, - "groupbox/frame" : + "groupbox/frame" : { style : function(states) { @@ -829,8 +789,8 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- HTMLAREA --------------------------------------------------------------------------- @@ -844,7 +804,7 @@ { return { backgroundColor : "white", - decorator: "input" + decorator: "input" } } }, @@ -864,14 +824,14 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- LIST --------------------------------------------------------------------------- */ - - "list" : + + "list" : { alias : "scrollarea", @@ -897,14 +857,14 @@ return { decorator: decorator, - textColor: "text-active" + textColor: "text-active" }; } }, - + "list/pane" : "widget", - "listitem" : + "listitem" : { style : function(states) { @@ -922,8 +882,8 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- MENU --------------------------------------------------------------------------- @@ -935,7 +895,7 @@ var result = { decorator : "menu", - shadow : "shadow-popup", + shadow : "shadow-window", spacingX : 6, spacingY : 1, iconColumnWidth : 16, @@ -1005,40 +965,15 @@ } }, - "menubar" : + "menu-button": { - style : function(states) - { - return { - decorator : "menubar", - shadow: "shadow-window" - } - } - }, - - "menubar-button" : - { alias : "atom", style : function(states) { return { - decorator : states.pressed || states.hovered ? "menubar-selected" : undefined, - textColor : states.pressed || states.hovered ? "text-selected" : "text-button", - padding : [ 3, 8 ] - } - } - }, - - "menu-button": - { - alias : "atom", - - style : function(states) - { - return { textColor: "text-button", - decorator: states.selected ? "menu-button-selected" : undefined, + decorator: states.selected ? "menu-button-selected" : undefined, padding : [ 3, 5 ] }; } @@ -1082,8 +1017,8 @@ }; } }, - - "menu-button/arrow" : + + "menu-button/arrow" : { include : "image", @@ -1095,8 +1030,8 @@ }; } }, - - "menu-checkbox": + + "menu-checkbox": { alias: "menu-button", include: "menu-button", @@ -1108,8 +1043,8 @@ } } }, - - "menu-radiobutton" : + + "menu-radiobutton" : { alias : "menu-button", include : "menu-button", @@ -1121,9 +1056,40 @@ } } }, - + /* --------------------------------------------------------------------------- + MENU BAR + --------------------------------------------------------------------------- + */ + "menubar" : + { + style : function(states) + { + return { + decorator : "menubar", + shadow: "shadow-window" + } + } + }, + + "menubar-button" : + { + alias : "atom", + + style : function(states) + { + return { + decorator : states.pressed || states.hovered ? "menubar-selected" : undefined, + textColor : states.pressed || states.hovered ? "text-selected" : "text-button", + padding : [ 3, 8 ] + } + } + }, + + + /* + --------------------------------------------------------------------------- RADIOBUTTON --------------------------------------------------------------------------- */ @@ -1215,8 +1181,8 @@ "scrollarea/pane" : "widget", "scrollarea/scrollbar-x" : "scrollbar", "scrollarea/scrollbar-y" : "scrollbar", - - /* + + /* --------------------------------------------------------------------------- SCROLLBAR --------------------------------------------------------------------------- @@ -1250,29 +1216,29 @@ } }, - "scrollbar/slider/knob" : + "scrollbar/slider/knob" : { include : "button-frame", style : function(states) { var decorator; - if (states.horizontal) - { - if (states.hovered) - { - decorator = "scrollbar-slider-horizontal-hovered"; - } else { - decorator = "scrollbar-slider-horizontal"; - } - } else { - if (states.hovered) - { + if (states.horizontal) + { + if (states.hovered) + { + decorator = "scrollbar-slider-horizontal-hovered"; + } else { + decorator = "scrollbar-slider-horizontal"; + } + } else { + if (states.hovered) + { decorator = "scrollbar-slider-vertical-hovered"; - } else { - decorator = "scrollbar-slider-vertical"; - } - } + } else { + decorator = "scrollbar-slider-vertical"; + } + } return { decorator : decorator, minHeight : states.horizontal ? undefined : 9, @@ -1280,37 +1246,37 @@ }; } }, - - "scrollbar/button" : + + "scrollbar/button" : { style : function(states) { var icon = "decoration/scrollbar/"; - var decorator; + var decorator; if (states.left) { icon += "left"; - decorator = "scrollbar-slider-horizontal"; + decorator = "scrollbar-slider-horizontal"; } else if (states.right) { icon += "right"; - decorator = "scrollbar-slider-horizontal"; + decorator = "scrollbar-slider-horizontal"; } else if (states.up) { icon += "up"; - decorator = "scrollbar-slider-vertical"; + decorator = "scrollbar-slider-vertical"; } else { icon += "down"; - decorator = "scrollbar-slider-vertical"; + decorator = "scrollbar-slider-vertical"; } - icon += "-invert.png"; - - if (states.hovered) - { - decorator += "-hovered"; - } + icon += "-invert.png"; + + if (states.hovered) + { + decorator += "-hovered"; + } if (states.left || states.right) { return { - decorator: decorator, + decorator: decorator, padding : [0, 0, 0, states.left ? 3 : 4], icon : icon, width: 15, @@ -1320,7 +1286,7 @@ else { return { - decorator: decorator, + decorator: decorator, padding : [0, 2, 0, 1], icon : icon, width: 14, @@ -1332,8 +1298,8 @@ "scrollbar/button-begin" : "scrollbar/button", "scrollbar/button-end" : "scrollbar/button", - - /*------------------------------------------------------------------------- + + /*------------------------------------------------------------------------- SELECTBOX --------------------------------------------------------------------------- */ @@ -1357,7 +1323,7 @@ alias : "list" }, - "selectbox/arrow" : + "selectbox/arrow" : { include : "image", @@ -1369,8 +1335,8 @@ }; } }, - - /*------------------------------------------------------------------------- + + /*------------------------------------------------------------------------- SLIDEBAR --------------------------------------------------------------------------- */ @@ -1412,13 +1378,13 @@ }; } }, - - /*------------------------------------------------------------------------- + + /*------------------------------------------------------------------------- SLIDER --------------------------------------------------------------------------- */ - - "slider" : + + "slider" : { style : function(states) { @@ -1431,13 +1397,13 @@ if (focused && invalid && !disabled) { decorator = "input-focused-invalid"; } else if (focused && !invalid && !disabled) { - decorator = "group-focused"; + decorator = "group-focused"; } else if (disabled) { decorator = "input-disabled"; } else if (!focused && invalid && !disabled) { decorator = "border-invalid"; } else { - decorator = "group"; + decorator = "group"; } return { @@ -1445,8 +1411,8 @@ } } }, - - "slider/knob" : + + "slider/knob" : { include : "button-simple", @@ -1454,14 +1420,14 @@ { return { decorator : states.disabled ? "scrollbar-slider-horizontal-disabled" : - states.pressed ? "button-simple-hovered" : "button-simple", + states.pressed ? "button-simple-hovered" : "button-simple", shadow: undefined, height : 14, width : 14 }; } }, - /* + /* --------------------------------------------------------------------------- SPINNER --------------------------------------------------------------------------- @@ -1494,7 +1460,7 @@ } }, - "spinner/upbutton" : + "spinner/upbutton" : { alias : "button-simple", include : "button-simple", @@ -1523,8 +1489,8 @@ }; } }, - - "spinner/textfield" : + + "spinner/textfield" : { style : function(states) { @@ -1535,34 +1501,34 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- SPLITBUTTON --------------------------------------------------------------------------- */ "splitbutton" : {}, - "splitbutton/button": + "splitbutton/button": { alias: "atom", style: function(states) { return { - padding: states.pressed || states.checked - || (states.checked && states.disabled) ? [4, 2, 2, 4] : [3], + padding: states.pressed || states.checked + || (states.checked && states.disabled) ? [4, 2, 2, 4] : [3], decorator: states.pressed || states.checked ? "splitbutton-checked" : states.hovered && !states.disabled ? "splitbutton-hovered" : "splitbutton", - textColor: "text-button", - center: true + textColor: "text-button", + center: true }; } - }, - - "splitbutton/arrow": + }, + + "splitbutton/arrow": { alias : "button", include : "button", @@ -1571,18 +1537,18 @@ { return { icon : "decoration/arrows/down-small-invert.png", - decorator: states.pressed || states.checked ? + decorator: states.pressed || states.checked ? "splitbutton-right-checked" : states.hovered && !states.disabled ? "splitbutton-right-hovered" : "splitbutton-right", // padding : 2, marginLeft : 1, - marginRight: 1 + marginRight: 1 }; } }, - - /* + + /* --------------------------------------------------------------------------- SPLITPANE --------------------------------------------------------------------------- @@ -1609,7 +1575,7 @@ } }, - "splitpane/splitter/knob" : + "splitpane/splitter/knob" : { style : function(states) { @@ -1630,14 +1596,14 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- TABLE --------------------------------------------------------------------------- */ - - "table": + + "table": { alias: "widget", @@ -1649,8 +1615,6 @@ } }, - "table-header": {}, - "table/statusbar" : { style : function(states) @@ -1661,8 +1625,8 @@ }; } }, - - "table/column-button" : + + "table/column-button" : { alias : "button-frame", @@ -1734,11 +1698,11 @@ }; } }, - - "table-header-cell" : + + "table-header-cell" : { alias : "atom", - + style : function(states) { return { @@ -1892,24 +1856,24 @@ marginTop: 4 } } - else if (states.barBottom) + else if (states.barBottom) { - return { + return { marginBottom: 4 } } - else if (states.barLeft) + else if (states.barLeft) { - return { + return { marginLeft: 4, - marginTop: 2 + marginTop: 2 } } else { return { marginRight: 4, - marginTop: 2 + marginTop: 2 } } } @@ -1928,24 +1892,24 @@ marginTop: 4 } } - else if (states.barBottom) + else if (states.barBottom) { - return { + return { marginBottom: 4 } } - else if (states.barLeft) + else if (states.barLeft) { - return { + return { marginLeft: 4, - marginBottom: 2 + marginBottom: 2 } } else { return { marginRight: 4, - marginBottom: 2 + marginBottom: 2 } } } @@ -1958,7 +1922,7 @@ style : function(states) { return { - decorator : "group", + decorator : "group", minHeight : 100, marginBottom : states.barBottom ? -1 : 0, marginTop : states.barTop ? -1 : 0, @@ -1981,102 +1945,102 @@ if (states.checked) { - padding = [ 4, 12 ]; + padding = [ 4, 12 ]; if (states.barTop) { - decorator = "tabview-button-top-hovered"; + decorator = "tabview-button-top-hovered"; marginLeft = states.firstTab ? 0 : -4; marginRight = states.lastTab ? 0 : -4; } else if (states.barBottom) { - decorator = "tabview-button-bottom-hovered"; + decorator = "tabview-button-bottom-hovered"; marginLeft = states.firstTab ? 0 : -4; marginRight = states.lastTab ? 0 : -4; } else if (states.barRight) { - decorator = "tabview-button-right-hovered"; + decorator = "tabview-button-right-hovered"; } else { - decorator = "tabview-button-left-hovered"; + decorator = "tabview-button-left-hovered"; } } - else + else { if (states.barTop) { - if (states.hovered) - { - decorator = "tabview-button-top-hovered"; - } + if (states.hovered) + { + decorator = "tabview-button-top-hovered"; + } else if (states.disabled) - { - decorator = "tabview-button-top-disabled"; - } - else - { - decorator = "tabview-button-top"; - } - padding = [ 2, 8 ]; + { + decorator = "tabview-button-top-disabled"; + } + else + { + decorator = "tabview-button-top"; + } + padding = [ 2, 8 ]; marginTop = 4; marginLeft = states.firstTab ? 4 : 0; } else if (states.barBottom) { - if (states.hovered) - { - decorator = "tabview-button-bottom-hovered"; - } + if (states.hovered) + { + decorator = "tabview-button-bottom-hovered"; + } else if (states.disabled) - { - decorator = "tabview-button-bottom-disabled"; - } - else - { - decorator = "tabview-button-bottom"; - } - padding = [ 2, 8 ]; + { + decorator = "tabview-button-bottom-disabled"; + } + else + { + decorator = "tabview-button-bottom"; + } + padding = [ 2, 8 ]; marginBottom = 4; marginLeft = states.firstTab ? 4 : 0; } else if (states.barRight) { - if (states.hovered) - { - decorator = "tabview-button-right-hovered"; - } - else if (states.disabled) - { - decorator = "tabview-button-right-disabled"; - } - else - { - decorator = "tabview-button-right"; - } - padding = [ 4, 12 ]; + if (states.hovered) + { + decorator = "tabview-button-right-hovered"; + } + else if (states.disabled) + { + decorator = "tabview-button-right-disabled"; + } + else + { + decorator = "tabview-button-right"; + } + padding = [ 4, 12 ]; marginRight = 5; } else { - if (states.hovered) - { - decorator = "tabview-button-left-hovered"; - } + if (states.hovered) + { + decorator = "tabview-button-left-hovered"; + } else if (states.disabled) - { - decorator = "tabview-button-left-disabled"; - } - else - { - decorator = "tabview-button-left"; - } - padding = [ 4, 12 ]; + { + decorator = "tabview-button-left-disabled"; + } + else + { + decorator = "tabview-button-left"; + } + padding = [ 4, 12 ]; marginLeft = 5; } } - + return { zIndex : states.checked ? 10 : 5, decorator : decorator, @@ -2085,7 +2049,7 @@ marginBottom : marginBottom, marginLeft : marginLeft, marginRight : marginRight, - textColor: states.disabled ? "text-inactive" : "text-label" + textColor: states.disabled ? "text-inactive" : "text-label" }; } }, @@ -2109,13 +2073,13 @@ alias: "atom", style: function(states) { - var icon; - if (states.hovered) - { - icon = "decoration/tabview/close-button-hovered.png"; - } else { - icon = "decoration/tabview/close-button.png"; - } + var icon; + if (states.hovered) + { + icon = "decoration/tabview/close-button-hovered.png"; + } else { + icon = "decoration/tabview/close-button.png"; + } return { icon: icon }; @@ -2138,13 +2102,13 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- TEXTFIELD --------------------------------------------------------------------------- */ - "textfield" : + "textfield" : { style : function(states) { @@ -2182,8 +2146,8 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- TOOLBAR --------------------------------------------------------------------------- @@ -2199,8 +2163,8 @@ } }, - "toolbar/part": "widget", - + "toolbar/part": "widget", + "toolbar/part/container" : { style : function(states) @@ -2212,7 +2176,7 @@ } }, - "toolbar/part/handle": + "toolbar/part/handle": { style: function(states) { @@ -2223,43 +2187,43 @@ }; } }, - - "toolbar-button": + + "toolbar-button": { alias: "atom", style: function(states) { return { - padding: states.pressed || states.checked ? [6, 4, 4, 6] : [6, 6, 6, 6], - margin: states.pressed || states.checked ? [0] : [0], + padding: states.pressed || states.checked ? [6, 4, 4, 6] : [6, 6, 6, 6], + margin: states.pressed || states.checked ? [0] : [0], decorator: states.pressed || states.checked ? "toolbar-button-checked" : states.hovered && !states.disabled ? "toolbar-button-hovered" : undefined, - textColor: "text-button" + textColor: "text-button" }; } }, - - "toolbar-button-light": + + "toolbar-button-light": { alias: "atom", style: function(states) { return { - padding: states.pressed || states.checked ? [6, 4, 4, 6] : [6, 6, 6, 6], - margin: states.pressed || states.checked ? [0] : [0], + padding: states.pressed || states.checked ? [6, 4, 4, 6] : [6, 6, 6, 6], + margin: states.pressed || states.checked ? [0] : [0], decorator: states.pressed || states.checked ? "toolbar-button-light-checked" : states.hovered && !states.disabled ? "toolbar-button-light-hovered" : undefined, - textColor: "text-button" + textColor: "text-button" }; } }, - + "toolbar-menubutton" : { alias : "toolbar-button", @@ -2273,7 +2237,7 @@ } }, - "toolbar-menubutton/arrow" : + "toolbar-menubutton/arrow" : { alias : "image", include : "image", @@ -2296,60 +2260,60 @@ }; } }, - - "toolbar-splitbutton/button" : + + "toolbar-splitbutton/button" : { style : function(states) { return { - padding: states.pressed || states.checked ? [6, 5, 4, 6] : [6, 6, 6, 6], - decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? + padding: states.pressed || states.checked ? [6, 5, 4, 6] : [6, 6, 6, 6], + decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? "toolbar-button-checked" : states.hovered && !states.disabled ? "toolbar-splitbutton-hovered" : undefined }; } }, - - "toolbar-splitbutton/arrow" : + + "toolbar-splitbutton/arrow" : { style : function(states) { return { icon : "decoration/arrows/down-invert.png", - padding: states.pressed || states.checked ? [6, 4, 4, 5] : - states.hovered && !states.disabled ? [6, 5, 6, 5] : [6, 5, 6, 7], - decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? + padding: states.pressed || states.checked ? [6, 4, 4, 5] : + states.hovered && !states.disabled ? [6, 5, 6, 5] : [6, 5, 6, 7], + decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? "toolbar-button-checked" : states.hovered && !states.disabled ? "toolbar-splitbutton-arrow-hovered" : undefined }; } }, - - "toolbar-splitbutton-light/button" : + + "toolbar-splitbutton-light/button" : { style : function(states) { return { - padding: states.pressed || states.checked ? [6, 5, 4, 6] : [6, 6, 6, 6], - decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? + padding: states.pressed || states.checked ? [6, 5, 4, 6] : [6, 6, 6, 6], + decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? "toolbar-button-light-checked" : states.hovered && !states.disabled ? "toolbar-splitbutton-light-hovered" : undefined }; } }, - - "toolbar-splitbutton-light/arrow" : + + "toolbar-splitbutton-light/arrow" : { style : function(states) { return { icon : "decoration/arrows/down-invert.png", - padding: states.pressed || states.checked ? [6, 4, 4, 5] : - states.hovered && !states.disabled ? [6, 5, 6, 5] : [6, 5, 6, 7], - decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? + padding: states.pressed || states.checked ? [6, 4, 4, 5] : + states.hovered && !states.disabled ? [6, 5, 6, 5] : [6, 5, 6, 7], + decorator: states.pressed || (states.checked && !states.hovered) || (states.checked && states.disabled) ? "toolbar-button-light-checked" : states.hovered && !states.disabled ? "toolbar-splitbutton-light-arrow-hovered" : undefined @@ -2367,8 +2331,8 @@ }; } }, - - /* + + /* --------------------------------------------------------------------------- TOOL TIP --------------------------------------------------------------------------- @@ -2382,13 +2346,13 @@ backgroundColor : "background-tip", padding : [ 1, 3, 2, 3 ], offset : [ 15, 5, 5, 5 ], - decorator: "tooltip", - textColor: "black" + decorator: "tooltip", + textColor: "black" }; } }, - - /* + + /* --------------------------------------------------------------------------- TREE --------------------------------------------------------------------------- @@ -2659,6 +2623,7 @@ }; } }, + "cell-image" : "cell", "cell-boolean" : { @@ -2702,14 +2667,14 @@ style: function(states) { return { - textColor: "text-window", + textColor: "text-window", decorator: "window", shadow: "shadow-window", - contentPadding : [5] + contentPadding : [5] }; } }, - + "window/pane": "widget", "window/captionbar": @@ -2734,7 +2699,7 @@ }; } }, - + "window/title" : { style : function(states) @@ -2742,13 +2707,13 @@ return { alignY: "top", textColor: "text-caption", - font: "bold", - paddingTop: 5, - paddingLeft: 8 + font: "bold", + paddingTop: 5, + paddingLeft: 8 }; } }, - + "window/close-button": { alias: "atom", @@ -2761,11 +2726,11 @@ case states.pressed: icon = "decoration/window/close-button-pressed.png"; break; - + case states.hovered: icon = "decoration/window/close-button-hovered.png"; break; - + default: icon = "decoration/window/close-button.png"; } @@ -2775,54 +2740,54 @@ }; } }, - + "window/maximize-button": { alias: "atom", style: function(states) { - var icon; - switch (true) - { - case states.pressed: - icon = "decoration/window/maximize-button-pressed.png"; - break; - - case states.hovered: - icon = "decoration/window/maximize-button-hovered.png"; - break; - - default: - icon = "decoration/window/maximize-button.png"; - } + var icon; + switch (true) + { + case states.pressed: + icon = "decoration/window/maximize-button-pressed.png"; + break; + + case states.hovered: + icon = "decoration/window/maximize-button-hovered.png"; + break; + + default: + icon = "decoration/window/maximize-button.png"; + } return { icon: icon, margin : [ 1, 3, 3, 1 ] }; } }, - + "window/minimize-button": { alias: "atom", style: function(states) { - var icon; - switch (true) - { - case states.pressed: - icon = "decoration/window/minimize-button-pressed.png"; - break; - - case states.hovered: - icon = "decoration/window/minimize-button-hovered.png"; - break; - - default: - icon = "decoration/window/minimize-button.png"; - } + var icon; + switch (true) + { + case states.pressed: + icon = "decoration/window/minimize-button-pressed.png"; + break; + + case states.hovered: + icon = "decoration/window/minimize-button-hovered.png"; + break; + + default: + icon = "decoration/window/minimize-button.png"; + } return { icon: icon, margin : [ 1, 3, 3, 1 ] @@ -2836,27 +2801,27 @@ style: function(states) { - var icon; - switch (true) - { - case states.pressed: - icon = "decoration/window/restore-button-pressed.png"; - break; - - case states.hovered: - icon = "decoration/window/restore-button-hovered.png"; - break; - - default: - icon = "decoration/window/restore-button.png"; - } + var icon; + switch (true) + { + case states.pressed: + icon = "decoration/window/restore-button-pressed.png"; + break; + + case states.hovered: + icon = "decoration/window/restore-button-hovered.png"; + break; + + default: + icon = "decoration/window/restore-button.png"; + } return { icon: icon, margin : [ 1, 3, 3, 1 ] }; } }, - + "window/statusbar" : { style : function(states) @@ -2870,6 +2835,6 @@ }, "window/statusbar-text": {} - + } }); \ No newline at end of file Modified: trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Decoration.js =================================================================== --- trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Decoration.js 2012-08-09 13:09:04 UTC (rev 21754) +++ trunk/qooxdoo-contrib/DarkTheme/trunk/source/class/darktheme/theme/Decoration.js 2012-08-10 14:00:26 UTC (rev 21755) @@ -51,8 +51,8 @@ backgroundColor: "background-selected" } }, - - "keyboard-focus" : + + "keyboard-focus" : { decorator : qx.ui.decoration.Single, @@ -70,237 +70,237 @@ --------------------------------------------------------------------------- */ "button": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button.png", - insets: [3, 3, 5, 3] - } - }, - - "button-checked": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-pressed.png", - insets: [3, 3, 5, 3] - } - }, - - "button-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-hovered.png", - insets: [3, 3, 5, 3] - } - }, - - "button-red-checked": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-red-pressed.png", - insets: [3, 3, 5, 3] - } - }, - - "button-red-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-red-hovered.png", - insets: [3, 3, 5, 3] - } - }, - - "button-simple": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-simple.png", - insets: [0, 1, 0, 1] - } - }, - - "button-simple-checked": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-simple-pressed.png", - insets: [1, 0, 0, 2] - } - }, - - "button-simple-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-simple-hovered.png", - insets: [0, 1, 0, 1] - } - }, - - "button-simple-disabled": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/button-simple-disabled.png", - insets: [0, 1, 0, 1] - } - }, - - "splitbutton": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button.png", - insets: [3, 3, 5, 3] - } - }, - - "splitbutton-checked": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button-pressed.png", - insets: [3, 3, 5, 3] - } - }, - - "splitbutton-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button-hovered.png", - insets: [3, 3, 5, 3] - } - }, - - "splitbutton-right": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button-right.png", - insets: [3, 3, 5, 3] - } - }, - - "splitbutton-right-checked": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button-right-pressed.png", - insets: [3, 3, 5, 3] - } - }, - - "splitbutton-right-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/split-button-right-hovered.png", - insets: [3, 3, 5, 3] - } - }, - - - /* + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button.png", + insets: [3, 3, 5, 3] + } + }, + + "button-checked": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-pressed.png", + insets: [3, 3, 5, 3] + } + }, + + "button-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-hovered.png", + insets: [3, 3, 5, 3] + } + }, + + "button-red-checked": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-red-pressed.png", + insets: [3, 3, 5, 3] + } + }, + + "button-red-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-red-hovered.png", + insets: [3, 3, 5, 3] + } + }, + + "button-simple": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-simple.png", + insets: [0, 1, 0, 1] + } + }, + + "button-simple-checked": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-simple-pressed.png", + insets: [1, 0, 0, 2] + } + }, + + "button-simple-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-simple-hovered.png", + insets: [0, 1, 0, 1] + } + }, + + "button-simple-disabled": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/button-simple-disabled.png", + insets: [0, 1, 0, 1] + } + }, + + "splitbutton": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button.png", + insets: [3, 3, 5, 3] + } + }, + + "splitbutton-checked": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button-pressed.png", + insets: [3, 3, 5, 3] + } + }, + + "splitbutton-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button-hovered.png", + insets: [3, 3, 5, 3] + } + }, + + "splitbutton-right": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button-right.png", + insets: [3, 3, 5, 3] + } + }, + + "splitbutton-right-checked": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button-right-pressed.png", + insets: [3, 3, 5, 3] + } + }, + + "splitbutton-right-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/split-button-right-hovered.png", + insets: [3, 3, 5, 3] + } + }, + + + /* --------------------------------------------------------------------------- GROUPBOX --------------------------------------------------------------------------- */ - "group": + "group": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/groupbox.png", - insets: [1, 0, 1, 0] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/groupbox.png", + insets: [1, 0, 1, 0] + } }, - - "group-focused": + + "group-focused": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/groupbox-focused.png", - insets: [1, 0, 1, 0] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/groupbox-focused.png", + insets: [1, 0, 1, 0] + } }, - - /* + + /* --------------------------------------------------------------------------- MENU --------------------------------------------------------------------------- */ - "menu" : + "menu" : { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/menu/menu-pane.png", - insets: [3, 3, 5, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/menu/menu-pane.png", + insets: [3, 3, 5, 3] + } }, - - "menu-button-selected" : + + "menu-button-selected" : { decorator: qx.ui.decoration.Background, style: { - backgroundImage: "decoration/menu/button-selected.png", - backgroundRepeat: "scale" + backgroundImage: "decoration/menu/button-selected.png", + backgroundRepeat: "scale" } }, - - "menu-button-red" : + + "menu-button-red" : { decorator: qx.ui.decoration.Background, style: { - backgroundImage: "decoration/menu/button-red.png", - backgroundRepeat: "scale" + backgroundImage: "decoration/menu/button-red.png", + backgroundRepeat: "scale" } }, - - "menu-separator" : + + "menu-separator" : { decorator : qx.ui.decoration.Single, @@ -313,8 +313,8 @@ colorBottom : "gray" } }, - - /* + + /* --------------------------------------------------------------------------- MENUBAR --------------------------------------------------------------------------- @@ -325,23 +325,23 @@ style: { - backgroundImage: "decoration/bar/background.png", - backgroundRepeat: "scale" + backgroundImage: "decoration/bar/background.png", + backgroundRepeat: "scale" } }, - - "menubar-selected": + + "menubar-selected": { decorator: qx.ui.decoration.Background, style: { - backgroundImage: "decoration/bar/background-selected.png", - backgroundRepeat: "scale" + backgroundImage: "decoration/bar/background-selected.png", + backgroundRepeat: "scale" } }, - - /* + + /* --------------------------------------------------------------------------- TEXT FIELD --------------------------------------------------------------------------- @@ -349,68 +349,68 @@ "input" : { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/display.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/display.png", + insets: [3, 3, 3, 3] + } }, - - "input-focused": + + "input-focused": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/display-blue.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/display-blue.png", + insets: [3, 3, 3, 3] + } }, - - "input-disabled": + + "input-disabled": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/display-gray.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/display-gray.png", + insets: [3, 3, 3, 3] + } }, - - "input-error": + + "input-error": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/input-error.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/input-error.png", + insets: [3, 3, 3, 3] + } }, - - "input-invalid": + + "input-invalid": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/input-invalid.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/input-invalid.png", + insets: [3, 3, 3, 3] + } }, - - "input-focused-invalid": + + "input-focused-invalid": { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/form/input-error.png", - insets: [3, 3, 3, 3] - } + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/form/input-error.png", + insets: [3, 3, 3, 3] + } }, /* @@ -428,21 +428,21 @@ insets : [0, 2, 3, 0] } }, - - /* + + /* --------------------------------------------------------------------------- POPUP --------------------------------------------------------------------------- */ - "popup" : + "popup" : { - decorator: qx.ui.decoration.Single, + decorator: qx.ui.decoration.Single, style: { - width: 1, - color: "black", - style: "solid" + width: 1, + color: "black", + style: "solid" } }, @@ -462,7 +462,7 @@ } }, - "shadow-popup" : + "shadow-popup" : { decorator : qx.ui.decoration.Grid, @@ -471,8 +471,8 @@ insets : [ 0, 3, 3, 0 ] } }, - - /* + + /* --------------------------------------------------------------------------- SCROLLBAR --------------------------------------------------------------------------- @@ -499,28 +499,28 @@ } }, - "scrollbar-slider-horizontal" : + "scrollbar-slider-horizontal" : { decorator : qx.ui.decoration.Beveled, style : { backgroundImage : "decoration/scrollbar/scrollbar-slider-horizontal.png", backgroundRepeat : "scale", - + outerColor : "#525252", innerColor : "#929292", innerOpacity : 0.5 } }, - - "scrollbar-slider-horizontal-hovered" : + + "scrollbar-slider-horizontal-hovered" : { decorator : qx.ui.decoration.Beveled, style : { backgroundImage : "decoration/scrollbar/scrollbar-slider-horizontal-hovered.png", backgroundRepeat : "scale", - + outerColor : "#525252", innerColor : "#929292", innerOpacity : 0.5 @@ -539,29 +539,29 @@ innerOpacity : 0.3 } }, - - "scrollbar-slider-vertical" : + + "scrollbar-slider-vertical" : { decorator : qx.ui.decoration.Beveled, style : { backgroundImage : "decoration/scrollbar/scrollbar-slider-vertical.png", backgroundRepeat : "scale", - + outerColor : "#525252", innerColor : "#929292", innerOpacity : 0.5 } }, - - "scrollbar-slider-vertical-hovered" : + + "scrollbar-slider-vertical-hovered" : { decorator : qx.ui.decoration.Beveled, style : { backgroundImage : "decoration/scrollbar/scrollbar-slider-vertical-hovered.png", backgroundRepeat : "scale", - + outerColor : "#525252", innerColor : "#929292", innerOpacity : 0.5 @@ -608,8 +608,8 @@ colorTop : "border-separator" } }, - - /* + + /* --------------------------------------------------------------------------- SPLITPANE --------------------------------------------------------------------------- @@ -628,8 +628,8 @@ style : "solid" } }, - - /* + + /* --------------------------------------------------------------------------- TABLE --------------------------------------------------------------------------- @@ -646,17 +646,17 @@ } }, - "table-header-cell": + "table-header-cell": { decorator: qx.ui.decoration.Single, style: { - backgroundImage: "decoration/bar/background.png", - backgroundRepeat: "scale", - - widthRight : 1, - colorRight: "#525252", + backgroundImage: "decoration/bar/background.png", + backgroundRepeat: "scale", + + widthRight : 1, + colorRight: "#525252", styleRight : "solid" } }, @@ -676,15 +676,15 @@ styleBottom : "solid" } }, - - "table-header-cell-selected": + + "table-header-cell-selected": { decorator: qx.ui.decoration.Background, style: { - backgroundImage: "decoration/bar/background-selected.png", - backgroundRepeat: "scale" + backgroundImage: "decoration/bar/background-selected.png", + backgroundRepeat: "scale" } }, @@ -702,15 +702,15 @@ style : "solid" } }, - - "table-scroller-header": + + "table-scroller-header": { decorator: qx.ui.decoration.Single, style: { backgroundImage: "decoration/bar/background.png", - backgroundRepeat: "scale" + backgroundRepeat: "scale" } }, @@ -725,226 +725,226 @@ style : "solid" } }, - - "table-statusbar": + + "table-statusbar": { decorator: qx.ui.decoration.Double, style: { - backgroundColor: "background-window", - + backgroundColor: "background-window", + widthTop: 1, colorTop: "#525252", style: "solid", - - innerWidthTop: 1, + + innerWidthTop: 1, innerColorTop: "silver" } }, - - /* + + /* --------------------------------------------------------------------------- TABVIEW --------------------------------------------------------------------------- */ - - "tabview": - { - decorator: qx.ui.decoration.Single, + + "tabview": + { + decorator: qx.ui.decoration.Single, style: { backgroundImage: "decoration/bar/background.png", - backgroundRepeat: "scale" + backgroundRepeat: "scale" } - }, - - "tabview-pane" : + }, + + "tabview-pane" : { decorator : qx.ui.decoration.Grid, style: - { - baseImage: "decoration/tabview/tabview-pane.png", - insets: [3, 3, 3, 3] - } + { + baseImage: "decoration/tabview/tabview-pane.png", + insets: [3, 3, 3, 3] + } }, - - "tabview-button-top": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-top.png" - } - }, - - "tabview-button-top-disabled": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-top-disabled.png" - } - }, - - "tabview-button-top-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-top-active.png" - } - }, - - "tabview-button-bottom": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-bottom.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-bottom-disabled": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-bottom-disabled.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-bottom-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-bottom-active.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-left": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-left.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-left-disabled": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-left-disabled.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-left-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-left-active.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-right": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-right.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-right-disabled": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-right-disabled.png", - insets: [0, 1, 0, 1] - } - }, - - "tabview-button-right-hovered": - { - decorator: qx.ui.decoration.Grid, - - style: - { - baseImage: "decoration/tabview/tabview-button-right-active.png", - insets: [0, 1, 0, 1] - } - }, - - /* + + "tabview-button-top": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-top.png" + } + }, + + "tabview-button-top-disabled": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-top-disabled.png" + } + }, + + "tabview-button-top-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-top-active.png" + } + }, + + "tabview-button-bottom": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-bottom.png", + insets: [0, 1, 0, 1] + } + }, + + "tabview-button-bottom-disabled": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-bottom-disabled.png", + insets: [0, 1, 0, 1] + } + }, + + "tabview-button-bottom-hovered": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-bottom-active.png", + insets: [0, 1, 0, 1] + } + }, + + "tabview-button-left": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-left.png", + insets: [0, 1, 0, 1] + } + }, + + "tabview-button-left-disabled": + { + decorator: qx.ui.decoration.Grid, + + style: + { + baseImage: "decoration/tabview/tabview-button-left-disabled.png", + insets: [0, 1, 0, 1] + } + }, + + "tabvi... [truncated message content] |
From: <hel...@us...> - 2012-08-09 13:09:10
|
Revision: 21754 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21754&view=rev Author: heldermagalhaes Date: 2012-08-09 13:09:04 +0000 (Thu, 09 Aug 2012) Log Message: ----------- Feature: Contribute Portuguese translation for version 2.0.x (according to the New Spelling Agreement of the Portuguese Language). Added Paths: ----------- trunk/qooxdoo-contrib/Translation/2.0/framework/pt.po trunk/qooxdoo-contrib/Translation/2.0/showcase/pt.po Added: trunk/qooxdoo-contrib/Translation/2.0/framework/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/2.0/framework/pt.po (rev 0) +++ trunk/qooxdoo-contrib/Translation/2.0/framework/pt.po 2012-08-09 13:09:04 UTC (rev 21754) @@ -0,0 +1,284 @@ +# Portuguese +# +msgid "" +msgstr "" +"Project-Id-Version: qooxdoo framework\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-08-08 09:59+0000\n" +"PO-Revision-Date: 2012-08-09 11:53-0000\n" +"Last-Translator: Helder Magalhães <hel...@gm...>\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "%1 does not fit %2." +msgstr "%1 não condiz com %2." + +msgid "%1 is not a color! %2" +msgstr "%1 não é uma cor! %2" + +msgid "%1 is not a number." +msgstr "%1 não é um número." + +msgid "%1 is not a string." +msgstr "%1 não é uma cadeia de carateres." + +msgid "%1 is not an url." +msgstr "%1 não é um endereço." + +msgid "%1 is not in %2" +msgstr "%1 não está em %2" + +msgid "%1 is not in the range from [%2, %3]." +msgstr "%1 não está no intervalo [%2, %3]." + +msgid "'%1' is not an email address." +msgstr "'%1' não é um endereço de correio eletrónico." + +msgid "Automatic" +msgstr "Automático" + +msgid "Cancel" +msgstr "Cancelar" + +msgid "Color Selector" +msgstr "Selector de Cor" + +msgid "Details" +msgstr "Detalhes" + +msgid "HSB" +msgstr "HSB" + +msgid "Hex" +msgstr "Hex" + +msgid "Last month" +msgstr "Mês anterior" + +msgid "Last year" +msgstr "Ano anterior" + +msgid "Next month" +msgstr "Próximo mês" + +msgid "Next year" +msgstr "Próximo ano" + +msgid "OK" +msgstr "OK" + +msgid "Open ColorSelector" +msgstr "Abrir Seletor de Cor" + +msgid "Presets" +msgstr "Predefinições" + +msgid "Preview (Old/New)" +msgstr "Pré-visualização (Anterior/Novo)" + +msgid "RGB" +msgstr "RGB" + +msgid "Reset column widths" +msgstr "Repor a largura das colunas" + +msgid "This field is required" +msgstr "Este campo é obrigatório" + +msgid "Visual" +msgstr "Visual" + +msgid "key_full_Alt" +msgstr "Alt" + +msgid "key_full_Apps" +msgstr "Tecla Apps" + +msgid "key_full_Backspace" +msgstr "Tecla de retrocesso" + +msgid "key_full_CapsLock" +msgstr "Caps Lock" + +msgid "key_full_Control" +msgstr "Ctrl" + +msgid "key_full_Control_Mac" +msgstr "" + +msgid "key_full_Delete" +msgstr "Eliminar" + +msgid "key_full_Down" +msgstr "Seta para baixo" + +msgid "key_full_End" +msgstr "Fim" + +msgid "key_full_Enter" +msgstr "Enter" + +msgid "key_full_Escape" +msgstr "Escape" + +msgid "key_full_Home" +msgstr "Início" + +msgid "key_full_Insert" +msgstr "Inserir" + +msgid "key_full_Left" +msgstr "Seta para esquerda" + +msgid "key_full_Meta" +msgstr "Tecla Meta" + +msgid "key_full_NumLock" +msgstr "Num Lock" + +msgid "key_full_PageDown" +msgstr "Página abaixo" + +msgid "key_full_PageUp" +msgstr "Página acima" + +msgid "key_full_Pause" +msgstr "Pause" + +msgid "key_full_PrintScreen" +msgstr "Print Screen" + +msgid "key_full_Right" +msgstr "Seta para direita" + +msgid "key_full_Scroll" +msgstr "Scroll Lock" + +msgid "key_full_Shift" +msgstr "Shift" + +msgid "key_full_Space" +msgstr "Barra de espaços" + +msgid "key_full_Tab" +msgstr "Tabulação" + +msgid "key_full_Up" +msgstr "Seta para cima" + +msgid "key_full_Win" +msgstr "Tecla do Windows" + +msgid "key_short_Alt" +msgstr "Alt" + +msgid "key_short_Apps" +msgstr "Apps" + +msgid "key_short_Backspace" +msgstr "Apagar" + +msgid "key_short_CapsLock" +msgstr "Caps Lock" + +msgid "key_short_Control" +msgstr "Ctrl" + +msgid "key_short_Control_Mac" +msgstr "" + +msgid "key_short_Delete" +msgstr "Del" + +msgid "key_short_Down" +msgstr "Baixo" + +msgid "key_short_End" +msgstr "End" + +msgid "key_short_Enter" +msgstr "Enter" + +msgid "key_short_Escape" +msgstr "Esc" + +msgid "key_short_Home" +msgstr "Home" + +msgid "key_short_Insert" +msgstr "Ins" + +msgid "key_short_Left" +msgstr "Esquerda" + +msgid "key_short_Meta" +msgstr "Meta" + +msgid "key_short_NumLock" +msgstr "Num Lock" + +msgid "key_short_PageDown" +msgstr "Page Dn" + +msgid "key_short_PageUp" +msgstr "Page Up" + +msgid "key_short_Pause" +msgstr "Pause" + +msgid "key_short_PrintScreen" +msgstr "Print Screen" + +msgid "key_short_Right" +msgstr "Direita" + +msgid "key_short_Scroll" +msgstr "Scroll Lock" + +msgid "key_short_Shift" +msgstr "Shift" + +msgid "key_short_Space" +msgstr "Espaço" + +msgid "key_short_Tab" +msgstr "Tab" + +msgid "key_short_Up" +msgstr "Cima" + +msgid "key_short_Win" +msgstr "Win" + +msgid "one of one row" +msgid_plural "%1 of %2 rows" +msgstr[0] "uma de uma linha" +msgstr[1] "%1 de %2 linhas" + +msgid "one row" +msgid_plural "%1 rows" +msgstr[0] "uma linha" +msgstr[1] "%1 linhas" + +msgid "test Hello %1!" +msgstr "" + +msgid "test Jonny" +msgstr "" + +msgid "test One car" +msgid_plural "test %1 cars" +msgstr[0] "" +msgstr[1] "" + +msgid "test affe" +msgstr "" + +msgid "test one" +msgstr "" + +msgid "test two" +msgstr "" Added: trunk/qooxdoo-contrib/Translation/2.0/showcase/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/2.0/showcase/pt.po (rev 0) +++ trunk/qooxdoo-contrib/Translation/2.0/showcase/pt.po 2012-08-09 13:09:04 UTC (rev 21754) @@ -0,0 +1,107 @@ +# Portuguese +# +msgid "" +msgstr "" +"Project-Id-Version: qooxdoo showcase\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-08-09 11:27+0000\n" +"PO-Revision-Date: 2012-08-09 12:13-0000\n" +"Last-Translator: Helder Magalhães <hel...@gm...>\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "A date:" +msgstr "Uma data:" + +msgid "Command Menu (keyboard shortcuts)" +msgstr "Menu de Contexto (atalhos de teclado)" + +msgid "Copy" +msgstr "Copiar" + +msgid "Cut" +msgstr "Cortar" + +msgid "Date format full:" +msgstr "Formato de data completo:" + +msgid "Date format long:" +msgstr "Formato de data longo:" + +msgid "Date format medium:" +msgstr "Formato de data médio:" + +msgid "Date format short:" +msgstr "Formato de data curto:" + +msgid "Date full:" +msgstr "Data completa:" + +msgid "Date long:" +msgstr "Data longa:" + +msgid "Date medium:" +msgstr "Data média:" + +msgid "Date short:" +msgstr "Data curta:" + +msgid "Delete" +msgstr "Apagar" + +msgid "Form Elements" +msgstr "Elementos de Formulário" + +msgid "Format of %1:" +msgstr "Formato de %1:" + +msgid "Locale Information" +msgstr "Informação do Idioma" + +msgid "Locale:" +msgstr "Idioma:" + +msgid "Localized ComboBox:" +msgstr "Caixa de Combinação Traduzida:" + +msgid "Paste" +msgstr "Colar" + +msgid "Redo" +msgstr "Repetir" + +msgid "Search" +msgstr "Procurar" + +msgid "Search Again" +msgstr "Procurar Outra Vez" + +msgid "Select All" +msgstr "Selecionar Tudo" + +msgid "Territory code:" +msgstr "Código do território:" + +msgid "Time format long:" +msgstr "Formato de tempo longo:" + +msgid "Time format short:" +msgstr "Formato de tempo curto:" + +msgid "Time long:" +msgstr "Tempo longo:" + +msgid "Time short:" +msgstr "Tempo curto:" + +msgid "Undo" +msgstr "Anular" + +msgid "Week start:" +msgstr "Início da semana:" + +msgid "qooxdoo" +msgstr "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hel...@us...> - 2012-08-09 13:07:29
|
Revision: 21753 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21753&view=rev Author: heldermagalhaes Date: 2012-08-09 13:07:23 +0000 (Thu, 09 Aug 2012) Log Message: ----------- General: Fix email address. Modified Paths: -------------- trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po Modified: trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po 2012-08-09 12:59:36 UTC (rev 21752) +++ trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po 2012-08-09 13:07:23 UTC (rev 21753) @@ -9,7 +9,7 @@ "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-12-05 16:46+0000\n" "PO-Revision-Date: 2012-08-09 12:09-0000\n" -"Last-Translator: Helder Magalhães <hel...@ef...>\n" +"Last-Translator: Helder Magalhães <hel...@gm...>\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hel...@us...> - 2012-08-09 12:59:42
|
Revision: 21752 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21752&view=rev Author: heldermagalhaes Date: 2012-08-09 12:59:36 +0000 (Thu, 09 Aug 2012) Log Message: ----------- General: Fix a couple typos. Rework to use the New Spelling Agreement. Modified Paths: -------------- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po Modified: trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po 2012-08-08 08:49:31 UTC (rev 21751) +++ trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po 2012-08-09 12:59:36 UTC (rev 21752) @@ -8,7 +8,7 @@ "Project-Id-Version: qooxdoo-legacy 0_7_x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-01-23 09:43+0000\n" -"PO-Revision-Date: 2008-12-04 20:00-0000\n" +"PO-Revision-Date: 2012-08-09 12:10-0000\n" "Last-Translator: Helder Magalhães <hel...@gm...>\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -237,11 +237,11 @@ #: class/qx/ui/component/ColorPopup.js:262 msgid "Open ColorSelector" -msgstr "Abrir selector de côr" +msgstr "Abrir Seletor de Cor" #: class/qx/ui/component/ColorPopup.js:283 msgid "Color Selector" -msgstr "Selector de côr" +msgstr "Seletor de Cor" #: class/qx/ui/component/ColorSelector.js:229 msgid "Cancel" @@ -289,7 +289,7 @@ #: class/qx/ui/component/DateChooserButton.js:115 msgid "Choose a date" -msgstr "Seleccione uma data" +msgstr "Selecione uma data" #: class/qx/ui/form/ComboBoxEx.js:270 msgid "Description" Modified: trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po 2012-08-08 08:49:31 UTC (rev 21751) +++ trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po 2012-08-09 12:59:36 UTC (rev 21752) @@ -8,8 +8,8 @@ "Project-Id-Version: qooxdoo-legacy 0_7_x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-12-05 16:46+0000\n" -"PO-Revision-Date: 2008-12-05 13:30-0000\n" -"Last-Translator: Helder Magalhães <hel...@gm...>\n" +"PO-Revision-Date: 2012-08-09 12:09-0000\n" +"Last-Translator: Helder Magalhães <hel...@ef...>\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -18,7 +18,7 @@ #: source/class/showcase/Application.js:1360 msgid "Choose a locale: " -msgstr "Seleccione um idioma:" +msgstr "Selecione um idioma:" #: source/class/showcase/Application.js:1393 #: source/class/showcase/Application.js:1447 @@ -57,7 +57,7 @@ #: source/class/showcase/Application.js:1451 msgid "Select All" -msgstr "Seleccionar Tudo" +msgstr "Selecionar Tudo" #: source/class/showcase/Application.js:1453 msgid "Search" @@ -73,7 +73,7 @@ #: source/class/showcase/Application.js:1482 msgid "Open Color Popup" -msgstr "Abrir janela de selecção de côr" +msgstr "Abrir Janela de Seleção de Cor" #: source/class/showcase/Application.js:1497 msgid "Basic Colors" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hel...@us...> - 2012-08-08 08:49:37
|
Revision: 21751 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21751&view=rev Author: heldermagalhaes Date: 2012-08-08 08:49:31 +0000 (Wed, 08 Aug 2012) Log Message: ----------- Feature: Contribute Portuguese translation for 0.7.x legacy branch showcase (better late than never). General: Minor fixes in the framework Portuguese translation. Modified Paths: -------------- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po Added Paths: ----------- trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po Modified: trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po 2012-08-07 22:31:56 UTC (rev 21750) +++ trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po 2012-08-08 08:49:31 UTC (rev 21751) @@ -1,17 +1,16 @@ # Portuguese translations for qooxdoo-legacy package. -# Copyright (C) 2008 THE qooxdoo-legacy'S COPYRIGHT HOLDER +# Copyright (C) 2008 Helder Magalhães # This file is distributed under the same license as the qooxdoo-legacy package. -# Automatically generated, 2008. +# Automatically generated, 2009. # msgid "" msgstr "" "Project-Id-Version: qooxdoo-legacy 0_7_x\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-10-06 14:48+0100\n" +"POT-Creation-Date: 2008-01-23 09:43+0000\n" "PO-Revision-Date: 2008-12-04 20:00-0000\n" "Last-Translator: Helder Magalhães <hel...@gm...>\n" "Language-Team: none\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -316,13 +315,13 @@ msgid "Search items in list" msgstr "Procurar itens na lista" -#: class/qx/ui/table/Table.js:1617 +#: class/qx/ui/table/Table.js:1615 msgid "one row" msgid_plural "%1 rows" msgstr[0] "uma linha" msgstr[1] "%1 linhas" -#: class/qx/ui/table/Table.js:1619 +#: class/qx/ui/table/Table.js:1617 msgid "one of one row" msgid_plural "%1 of %2 rows" msgstr[0] "uma de uma linha" Added: trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po (rev 0) +++ trunk/qooxdoo-contrib/Translation/0.7.4/showcase/pt.po 2012-08-08 08:49:31 UTC (rev 21751) @@ -0,0 +1,156 @@ +# Portuguese translations for qooxdoo-legacy package. +# Copyright (C) 2008 Helder Magalhães +# This file is distributed under the same license as the qooxdoo-legacy package. +# Automatically generated, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: qooxdoo-legacy 0_7_x\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-12-05 16:46+0000\n" +"PO-Revision-Date: 2008-12-05 13:30-0000\n" +"Last-Translator: Helder Magalhães <hel...@gm...>\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: source/class/showcase/Application.js:1360 +msgid "Choose a locale: " +msgstr "Seleccione um idioma:" + +#: source/class/showcase/Application.js:1393 +#: source/class/showcase/Application.js:1447 +msgid "Cut" +msgstr "Cortar" + +#: source/class/showcase/Application.js:1394 +#: source/class/showcase/Application.js:1449 +msgid "Paste" +msgstr "Colar" + +#: source/class/showcase/Application.js:1395 +#: source/class/showcase/Application.js:1448 +msgid "Copy" +msgstr "Copiar" + +#: source/class/showcase/Application.js:1397 +msgid "Localized ComboBox:" +msgstr "Caixa de combinação traduzida:" + +#: source/class/showcase/Application.js:1411 +msgid "A date: " +msgstr "Uma data:" + +#: source/class/showcase/Application.js:1444 +msgid "Undo" +msgstr "Anular" + +#: source/class/showcase/Application.js:1445 +msgid "Redo" +msgstr "Repetir" + +#: source/class/showcase/Application.js:1450 +msgid "Delete" +msgstr "Apagar" + +#: source/class/showcase/Application.js:1451 +msgid "Select All" +msgstr "Seleccionar Tudo" + +#: source/class/showcase/Application.js:1453 +msgid "Search" +msgstr "Procurar" + +#: source/class/showcase/Application.js:1454 +msgid "Search Again" +msgstr "Procurar Outra Vez" + +#: source/class/showcase/Application.js:1457 +msgid "Command Menu (keyboard shortcuts)" +msgstr "Menu de Contexto (atalhos de teclado)" + +#: source/class/showcase/Application.js:1482 +msgid "Open Color Popup" +msgstr "Abrir janela de selecção de côr" + +#: source/class/showcase/Application.js:1497 +msgid "Basic Colors" +msgstr "Cores Básicas" + +#: source/class/showcase/Application.js:1504 +msgid "Template Colors" +msgstr "Cores do Modelo" + +#: source/class/showcase/Application.js:1510 +msgid "Recent Colors" +msgstr "Cores Recentes" + +#: source/class/showcase/Application.js:1534 +msgid "Locale information" +msgstr "Informação do idioma" + +#: source/class/showcase/Application.js:1568 +msgid "Locale:" +msgstr "Idioma:" + +#: source/class/showcase/Application.js:1571 +msgid "Territory code:" +msgstr "Código do território:" + +#: source/class/showcase/Application.js:1574 +msgid "Date format short:" +msgstr "Formato de data curto:" + +#: source/class/showcase/Application.js:1576 +msgid "Date short:" +msgstr "Data curta:" + +#: source/class/showcase/Application.js:1579 +msgid "Date format medium:" +msgstr "Formato de data médio:" + +#: source/class/showcase/Application.js:1581 +msgid "Date medium:" +msgstr "Data média:" + +#: source/class/showcase/Application.js:1584 +msgid "Date format long:" +msgstr "Formato de data longo:" + +#: source/class/showcase/Application.js:1586 +msgid "Date long:" +msgstr "Data longa:" + +#: source/class/showcase/Application.js:1589 +msgid "Date format full:" +msgstr "Formato de data completo:" + +#: source/class/showcase/Application.js:1591 +msgid "Date full:" +msgstr "Data completa:" + +#: source/class/showcase/Application.js:1594 +msgid "Time format short:" +msgstr "Formato de tempo curto:" + +#: source/class/showcase/Application.js:1596 +msgid "Time short:" +msgstr "Tempo curto:" + +#: source/class/showcase/Application.js:1599 +msgid "Time format long:" +msgstr "Formato de tempo longo:" + +#: source/class/showcase/Application.js:1601 +msgid "Time long:" +msgstr "Tempo longo:" + +#: source/class/showcase/Application.js:1604 +msgid "Week start:" +msgstr "Início da semana:" + +#: source/class/showcase/Application.js:1607 +msgid "Format of %1:" +msgstr "Formato de %1:" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hel...@us...> - 2012-08-07 22:32:02
|
Revision: 21750 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21750&view=rev Author: heldermagalhaes Date: 2012-08-07 22:31:56 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Feature: Contribute Portuguese translation for 0.7.x legacy branch (better late than never). Added Paths: ----------- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po Added: trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po =================================================================== --- trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po (rev 0) +++ trunk/qooxdoo-contrib/Translation/0.7.4/framework/pt.po 2012-08-07 22:31:56 UTC (rev 21750) @@ -0,0 +1,333 @@ +# Portuguese translations for qooxdoo-legacy package. +# Copyright (C) 2008 THE qooxdoo-legacy'S COPYRIGHT HOLDER +# This file is distributed under the same license as the qooxdoo-legacy package. +# Automatically generated, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: qooxdoo-legacy 0_7_x\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-10-06 14:48+0100\n" +"PO-Revision-Date: 2008-12-04 20:00-0000\n" +"Last-Translator: Helder Magalhães <hel...@gm...>\n" +"Language-Team: none\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. TRANSLATION: short representation of key names +#: class/qx/locale/Key.js:77 +msgid "key_short_Backspace" +msgstr "Apagar" + +#: class/qx/locale/Key.js:78 +msgid "key_short_Tab" +msgstr "Tab" + +#: class/qx/locale/Key.js:79 +msgid "key_short_Space" +msgstr "Espaço" + +#: class/qx/locale/Key.js:80 +msgid "key_short_Enter" +msgstr "Enter" + +#: class/qx/locale/Key.js:81 +msgid "key_short_Shift" +msgstr "Shift" + +#: class/qx/locale/Key.js:82 +msgid "key_short_Control" +msgstr "Ctrl" + +#: class/qx/locale/Key.js:83 +msgid "key_short_Alt" +msgstr "Alt" + +#: class/qx/locale/Key.js:84 +msgid "key_short_CapsLock" +msgstr "Caps Lock" + +#: class/qx/locale/Key.js:85 +msgid "key_short_Meta" +msgstr "Meta" + +#: class/qx/locale/Key.js:86 +msgid "key_short_Escape" +msgstr "Esc" + +#: class/qx/locale/Key.js:87 +msgid "key_short_Left" +msgstr "Esquerda" + +#: class/qx/locale/Key.js:88 +msgid "key_short_Up" +msgstr "Cima" + +#: class/qx/locale/Key.js:89 +msgid "key_short_Right" +msgstr "Direita" + +#: class/qx/locale/Key.js:90 +msgid "key_short_Down" +msgstr "Baixo" + +#: class/qx/locale/Key.js:91 +msgid "key_short_PageUp" +msgstr "Page Up" + +#: class/qx/locale/Key.js:92 +msgid "key_short_PageDown" +msgstr "Page Dn" + +#: class/qx/locale/Key.js:93 +msgid "key_short_End" +msgstr "End" + +#: class/qx/locale/Key.js:94 +msgid "key_short_Home" +msgstr "Home" + +#: class/qx/locale/Key.js:95 +msgid "key_short_Insert" +msgstr "Ins" + +#: class/qx/locale/Key.js:96 +msgid "key_short_Delete" +msgstr "Del" + +#: class/qx/locale/Key.js:97 +msgid "key_short_NumLock" +msgstr "Num Lock" + +#: class/qx/locale/Key.js:98 +msgid "key_short_PrintScreen" +msgstr "Print Screen" + +#: class/qx/locale/Key.js:99 +msgid "key_short_Scroll" +msgstr "Scroll Lock" + +#: class/qx/locale/Key.js:100 +msgid "key_short_Pause" +msgstr "Pause" + +#: class/qx/locale/Key.js:101 +msgid "key_short_Win" +msgstr "Win" + +#: class/qx/locale/Key.js:102 +msgid "key_short_Apps" +msgstr "Apps" + +#. TRANSLATION: full/long representation of key names +#: class/qx/locale/Key.js:105 +msgid "key_full_Backspace" +msgstr "Tecla de retrocesso" + +#: class/qx/locale/Key.js:106 +msgid "key_full_Tab" +msgstr "Tabulação" + +#: class/qx/locale/Key.js:107 +msgid "key_full_Space" +msgstr "Barra de espaços" + +#: class/qx/locale/Key.js:108 +msgid "key_full_Enter" +msgstr "Enter" + +#: class/qx/locale/Key.js:109 +msgid "key_full_Shift" +msgstr "Shift" + +#: class/qx/locale/Key.js:110 +msgid "key_full_Control" +msgstr "Ctrl" + +#: class/qx/locale/Key.js:111 +msgid "key_full_Alt" +msgstr "Alt" + +#: class/qx/locale/Key.js:112 +msgid "key_full_CapsLock" +msgstr "Caps Lock" + +#: class/qx/locale/Key.js:113 +msgid "key_full_Meta" +msgstr "Tecla Meta" + +#: class/qx/locale/Key.js:114 +msgid "key_full_Escape" +msgstr "Escape" + +#: class/qx/locale/Key.js:115 +msgid "key_full_Left" +msgstr "Seta para esquerda" + +#: class/qx/locale/Key.js:116 +msgid "key_full_Up" +msgstr "Seta para cima" + +#: class/qx/locale/Key.js:117 +msgid "key_full_Right" +msgstr "Seta para direita" + +#: class/qx/locale/Key.js:118 +msgid "key_full_Down" +msgstr "Seta para baixo" + +#: class/qx/locale/Key.js:119 +msgid "key_full_PageUp" +msgstr "Página acima" + +#: class/qx/locale/Key.js:120 +msgid "key_full_PageDown" +msgstr "Página abaixo" + +#: class/qx/locale/Key.js:121 +msgid "key_full_End" +msgstr "Fim" + +#: class/qx/locale/Key.js:122 +msgid "key_full_Home" +msgstr "Início" + +#: class/qx/locale/Key.js:123 +msgid "key_full_Insert" +msgstr "Inserir" + +#: class/qx/locale/Key.js:124 +msgid "key_full_Delete" +msgstr "Eliminar" + +#: class/qx/locale/Key.js:125 +msgid "key_full_NumLock" +msgstr "Num Lock" + +#: class/qx/locale/Key.js:126 +msgid "key_full_PrintScreen" +msgstr "Print Screen" + +#: class/qx/locale/Key.js:127 +msgid "key_full_Scroll" +msgstr "Scroll Lock" + +#: class/qx/locale/Key.js:128 +msgid "key_full_Pause" +msgstr "Pause" + +#: class/qx/locale/Key.js:129 +msgid "key_full_Win" +msgstr "Tecla do Windows" + +#: class/qx/locale/Key.js:130 +msgid "key_full_Apps" +msgstr "Tecla Apps" + +#: class/qx/ui/component/ColorPopup.js:161 +msgid "Automatic" +msgstr "Automático" + +#: class/qx/ui/component/ColorPopup.js:229 +#: class/qx/ui/component/ColorSelector.js:413 +msgid "Preview (Old/New)" +msgstr "Pré-visualização (Anterior/Novo)" + +#: class/qx/ui/component/ColorPopup.js:262 +msgid "Open ColorSelector" +msgstr "Abrir selector de côr" + +#: class/qx/ui/component/ColorPopup.js:283 +msgid "Color Selector" +msgstr "Selector de côr" + +#: class/qx/ui/component/ColorSelector.js:229 +msgid "Cancel" +msgstr "Cancelar" + +#: class/qx/ui/component/ColorSelector.js:230 +msgid "OK" +msgstr "OK" + +#: class/qx/ui/component/ColorSelector.js:343 +msgid "Presets" +msgstr "Predefinições" + +#: class/qx/ui/component/ColorSelector.js:394 +msgid "Details" +msgstr "Detalhes" + +#: class/qx/ui/component/ColorSelector.js:448 +msgid "Hex" +msgstr "Hex" + +#: class/qx/ui/component/ColorSelector.js:477 +msgid "RGB" +msgstr "RGB" + +#: class/qx/ui/component/ColorSelector.js:512 +msgid "HSB" +msgstr "HSB" + +#: class/qx/ui/component/DateChooser.js:82 +msgid "Last year" +msgstr "Ano anterior" + +#: class/qx/ui/component/DateChooser.js:83 +msgid "Last month" +msgstr "Mês anterior" + +#: class/qx/ui/component/DateChooser.js:84 +msgid "Next month" +msgstr "Próximo mês" + +#: class/qx/ui/component/DateChooser.js:85 +msgid "Next year" +msgstr "Próximo ano" + +#: class/qx/ui/component/DateChooserButton.js:115 +msgid "Choose a date" +msgstr "Seleccione uma data" + +#: class/qx/ui/form/ComboBoxEx.js:270 +msgid "Description" +msgstr "Descrição" + +#: class/qx/ui/form/ComboBoxEx.js:270 +msgid "ID" +msgstr "Identificador" + +#: class/qx/ui/form/ComboBoxEx.js:956 +msgid "Search" +msgstr "Procurar" + +#: class/qx/ui/form/ComboBoxEx.js:1072 +msgid "Case sensitive" +msgstr "Sensível à capitalização" + +#: class/qx/ui/form/ComboBoxEx.js:1115 +msgid "Search next occurrence" +msgstr "Procurar próxima ocorrência" + +#: class/qx/ui/form/ComboBoxEx.js:1159 +msgid "Search items in list" +msgstr "Procurar itens na lista" + +#: class/qx/ui/table/Table.js:1617 +msgid "one row" +msgid_plural "%1 rows" +msgstr[0] "uma linha" +msgstr[1] "%1 linhas" + +#: class/qx/ui/table/Table.js:1619 +msgid "one of one row" +msgid_plural "%1 of %2 rows" +msgstr[0] "uma de uma linha" +msgstr[1] "%1 de %2 linhas" + +#: class/qx/ui/table/columnmodel/Resize.js:207 +msgid "Reset column widths" +msgstr "Repor a largura das colunas" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cbo...@us...> - 2012-08-04 12:18:20
|
Revision: 21749 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21749&view=rev Author: cboulanger Date: 2012-08-04 12:18:13 +0000 (Sat, 04 Aug 2012) Log Message: ----------- Moving trunk from SF to GitHub Modified Paths: -------------- trunk/qooxdoo-contrib/Dialog/trunk/readme.txt Removed Paths: ------------- trunk/qooxdoo-contrib/Dialog/trunk/Manifest.json trunk/qooxdoo-contrib/Dialog/trunk/config.json trunk/qooxdoo-contrib/Dialog/trunk/demo/ trunk/qooxdoo-contrib/Dialog/trunk/generate.py trunk/qooxdoo-contrib/Dialog/trunk/source/ Deleted: trunk/qooxdoo-contrib/Dialog/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/Dialog/trunk/Manifest.json 2012-07-18 07:16:30 UTC (rev 21748) +++ trunk/qooxdoo-contrib/Dialog/trunk/Manifest.json 2012-08-04 12:18:13 UTC (rev 21749) @@ -1,34 +0,0 @@ -{ - "info" : - { - "name" : "Dialog", - - "summary" : "Dialog Contribution", - "description" : "The dialog package provides many often-used widgets required in user interaction, such as alert, confirm, prompt, and others that simplify the web developer's daily work.", - - "homepage" : "http://contrib.qooxdoo.org/project/Dialog", - - "license" : "LGPL/EPL", - "authors" : - [ - { - "name" : "Christian Boulanger (cboulanger)", - "email" : "c.b...@qx..." - } - ], - - "version" : "trunk", - "qooxdoo-versions": ["1.0","1.1","1.2","1.3","1.4","1.5"] - }, - - "provides" : - { - "namespace" : "dialog", - "encoding" : "utf-8", - "class" : "source/class", - "resource" : "source/resource", - "translation" : "source/translation", - "type" : "contribution" - } -} - Deleted: trunk/qooxdoo-contrib/Dialog/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/Dialog/trunk/config.json 2012-07-18 07:16:30 UTC (rev 21748) +++ trunk/qooxdoo-contrib/Dialog/trunk/config.json 2012-08-04 12:18:13 UTC (rev 21749) @@ -1,78 +0,0 @@ -{ - "name" : "Dialog", - - "include" : - [ - { - "path" : "${QOOXDOO_PATH}/tool/data/config/application.json" - } - ], - - "export" : - [ - "api", - "build", - "clean", - "distclean", - "fix", - "inspector", - "lint", - "migration", - "pretty", - "profiling", - "source", - "source-all", - "test", - "test-source", - "translation" - ], - - "let" : - { - "APPLICATION" : "dialog", - "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.5", - //"QXTHEME" : "dialog.theme.modern.Theme", - "QXTHEME" : "qx.theme.Modern", - "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.demo.*", "${APPLICATION}.theme.*"], - "LOCALES" : [ "en","de","fr" ], - "CACHE" : "${TMPDIR}/cache", - "ROOT" : "." - } - - // You only need to edit the remainder of this file, if you want to customize - // specific jobs, or add own job definitions. - - /* - "jobs" : - { - // Uncomment the following entry to add a contrib or library to your - // project; make sure to adapt the path to the Manifest.json; if you are - // using a contrib: library, it will be downloaded into the path specified - // by the 'cache/downloads' config key - "libraries" : - { - "library" : - [ - { - "manifest" : "contrib://SkeletonApplication/trunk/Manifest.json" - } - ] - }, - - // If you want to tweak a job setting, see the following sample where - // the "format" feature of the "build-script" job is overridden. - // To see a list of available jobs, invoke 'generate.py x'. - "build-script" : - { - "compile-dist" : - { - "code" : - { - "format" : false - } - } - } - } - */ -} Deleted: trunk/qooxdoo-contrib/Dialog/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/Dialog/trunk/generate.py 2012-07-18 07:16:30 UTC (rev 21748) +++ trunk/qooxdoo-contrib/Dialog/trunk/generate.py 2012-08-04 12:18:13 UTC (rev 21749) @@ -1,72 +0,0 @@ -#!/usr/bin/env python -################################################################################ -# -# qooxdoo - the new era of web development -# -# http://qooxdoo.org -# -# Copyright: -# 2008 1&1 Internet AG, Germany, http://www.1und1.de -# -# License: -# LGPL: http://www.gnu.org/licenses/lgpl.html -# EPL: http://www.eclipse.org/org/documents/epl-v10.php -# See the LICENSE file in the project's top-level directory for details. -# -# Authors: -# * Thomas Herchenroeder (thron7) -# -################################################################################ - -## -# This is a stub proxy for the real generator.py -## - -import sys, os, re, subprocess - -CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/0.9-pre' - -def getQxPath(): - path = QOOXDOO_PATH - # try updating from config file - if os.path.exists('config.json'): - # "using QOOXDOO_PATH from config.json" - qpathr=re.compile(r'"QOOXDOO_PATH"\s*:\s*"([^"]*)"\s*,?') - conffile = open('config.json') - aconffile = conffile.readlines() - for line in aconffile: - mo = qpathr.search(line) - if mo: - path = mo.group(1) - break # assume first occurrence is ok - path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), path)) - - return path - -os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) # switch to skeleton dir -qxpath = getQxPath() -REAL_GENERATOR = os.path.join(qxpath, 'tool', 'bin', 'generator.py') - -if not os.path.exists(REAL_GENERATOR): - print "Cannot find real generator script under: \"%s\"; aborting" % REAL_GENERATOR - sys.exit(1) - -argList = [] -argList.append(CMD_PYTHON) -argList.append(REAL_GENERATOR) -argList.extend(sys.argv[1:]) -if sys.platform == "win32": - argList1=[] - for arg in argList: - if arg.find(' ')>-1: - argList1.append('"%s"' % arg) - else: - argList1.append(arg) - argList = argList1 -else: - argList = ['"%s"' % x for x in argList] # quote argv elements - -cmd = " ".join(argList) -retval = subprocess.call(cmd, shell=True) -sys.exit(retval) Modified: trunk/qooxdoo-contrib/Dialog/trunk/readme.txt =================================================================== --- trunk/qooxdoo-contrib/Dialog/trunk/readme.txt 2012-07-18 07:16:30 UTC (rev 21748) +++ trunk/qooxdoo-contrib/Dialog/trunk/readme.txt 2012-08-04 12:18:13 UTC (rev 21749) @@ -1,6 +1,6 @@ Dialog contrib ============== -The Dialog project provides many often-used widgets required in user -interaction, such as alert, confirm, prompt, and others that simplify -the web developer's daily work. \ No newline at end of file +The contrib's repository is now on github: + +https://github.com/cboulanger/qx-contrib-Dialog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-18 07:16:37
|
Revision: 21748 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21748&view=rev Author: d_wagner Date: 2012-07-18 07:16:30 +0000 (Wed, 18 Jul 2012) Log Message: ----------- minor Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_website.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_website.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_website.js 2012-07-17 07:38:40 UTC (rev 21747) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/feedreader/test_feedreader_website.js 2012-07-18 07:16:30 UTC (rev 21748) @@ -31,8 +31,8 @@ this.log("Article found.", "info"); } else { - this.log("ERROR: No Article found.", "error"); - } + this.log("ERROR: No Article found.", "error"); + } }; @@ -51,7 +51,7 @@ simulation.Simulation.prototype.checkFeeds = function(titles) { var firstArticleTitle = null; - + // Ignore IEBlog since it frequently contains enclosed elements like video // that cause older browsers to bug out. var feedTitles = []; @@ -60,7 +60,7 @@ feedTitles.push(titles[i]); } } - + for (var i=0,l=feedTitles.length; i<l; i++) { try { this.__sel.click('//div[contains(text(),"' + feedTitles[i] + '")]'); @@ -98,7 +98,7 @@ var index = Math.floor(Math.random() * (titles.length)); var title = titles[index].replace(/([^a-z0-9\ -'"])/gi, ""); var labelLoc = "//label[text() = '" + titles[index] + "']"; - + try { this.__sel.click(labelLoc); } @@ -107,7 +107,7 @@ return; } Packages.java.lang.Thread.sleep(1500); - + var visible = this.__sel.isVisible(labelLoc + "/following-sibling::div[@class='article-content']"); if (!visible) { this.log("Content of article '" + title + "' is not displayed!", "error"); @@ -120,8 +120,8 @@ mySim.runTest = function() { - this.feedLoadTimeout = 30000; - + this.feedLoadTimeout = 30000; + this.waitForElementPresent("//div[contains(text(), 'User Feeds')]"); var titles = this.getFeedTitles(); this.checkFeeds(titles); @@ -129,16 +129,16 @@ // - Main -------------------------------------------------------------------- -(function() { +(function() { mySim.testFailed = false; var sessionStarted = mySim.startSession(); - + if (!sessionStarted) { return; } - var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, + var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, "Waiting for qooxdoo application"); if (!isAppReady) { @@ -150,11 +150,11 @@ try { mySim.setupApplicationLogging(); mySim.addGlobalErrorHandler(); - mySim.runTest(); + mySim.runTest(); } catch(ex) { mySim.testFailed = true; - var msg = "Unexpected error while running test!"; + var msg = "Unexpected error while running test: " + ex.message; if (mySim.getConfigSetting("debug")) { print(msg + "\n" + ex); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-17 07:38:46
|
Revision: 21747 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21747&view=rev Author: d_wagner Date: 2012-07-17 07:38:40 +0000 (Tue, 17 Jul 2012) Log Message: ----------- Fixed ToDo test for IE Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-17 06:17:37 UTC (rev 21746) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-17 07:38:40 UTC (rev 21747) @@ -1250,6 +1250,20 @@ }; /** + * Returns the value of an environment key from a qx.Website application. + * + * @param key {String} Environment key name + * @param win {window?} Optional browser window. Default: The AUT's window + * @return {var} The environment value for the given key + */ +simulation.Simulation.prototype.getWebsiteEnvironment = function(key, win) +{ + var targetWin = win || "selenium.qxStoredVars['autWindow']"; + var getter = targetWin + '.q.env.get("' + key + '")'; + return this.getEval(getter); +}; + +/** * Returns the type of the qooxdoo application under test. * * @return {String|null} One of "website", "desktop", "mobile", "native", "basic" Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-07-17 06:17:37 UTC (rev 21746) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-07-17 07:38:40 UTC (rev 21747) @@ -45,7 +45,22 @@ this.assertElementPresent(labelLocator); //Synthetic click events on the label will not trigger checkbox selection //changes in Opera, so we need to click the checkbox itself - this.__sel.qxClick(labelLocator + "/preceding-sibling::input"); + // "qxClick" will have no effect in IE + if (this.getWebsiteEnvironment("browser.name") == "ie" + && this.getWebsiteEnvironment("browser.documentmode") < 9) + { + try { + this.__sel.click(labelLocator + "/preceding-sibling::input"); + } catch(ex) { + if (ex.message.indexOf("Unbekannter Fehler") == -1) { + this.log(ex.message, "warn"); + } + } + } + else { + this.__sel.qxClick(labelLocator + "/preceding-sibling::input"); + } + //Packages.java.lang.Thread.sleep(999999); this.__sel.click("clear"); this.assertNotElementPresent(labelLocator); }; @@ -54,7 +69,7 @@ { this.__sel.answerOnNextPrompt(itemLabel); this.__sel.click("add"); - + var labelLocator = '//label[contains(text(), "' + itemLabel + '")]'; this.assertElementPresent(labelLocator); }; @@ -69,7 +84,7 @@ { var customItemLabel = "Pass the Test"; this.waitForElementPresent("add"); - + this.log("Adding custom item " + customItemLabel, "info"); try { this.testAddItem(customItemLabel); @@ -79,10 +94,10 @@ this.log("Could not create custom item: " + ex.message, "error"); return; } - + this.log("Reloading application", "info"); this.reload(); - + this.log("Clearing custom item " + customItemLabel, "info"); try { this.testClearItem(customItemLabel); @@ -95,7 +110,7 @@ // - Main -------------------------------------------------------------------- -(function() { +(function() { mySim.testFailed = false; var sessionStarted = mySim.startSession(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2012-07-17 06:17:43
|
Revision: 21746 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21746&view=rev Author: martinwittemann Date: 2012-07-17 06:17:37 +0000 (Tue, 17 Jul 2012) Log Message: ----------- Prevent error popup during linting. Modified Paths: -------------- trunk/qooxdoo-contrib/TextMate/trunk/qooxdoo.tmbundle/Support/lint.py Modified: trunk/qooxdoo-contrib/TextMate/trunk/qooxdoo.tmbundle/Support/lint.py =================================================================== --- trunk/qooxdoo-contrib/TextMate/trunk/qooxdoo.tmbundle/Support/lint.py 2012-07-13 15:09:28 UTC (rev 21745) +++ trunk/qooxdoo-contrib/TextMate/trunk/qooxdoo.tmbundle/Support/lint.py 2012-07-17 06:17:37 UTC (rev 21746) @@ -45,14 +45,17 @@ def main(argv=None): if argv is None: - argv = sys.argv + argv = sys.argv if len(argv) == 3: popup = argv[2] == "popup" else: popup = False - lint(argv[1], popup) + try: + lint(argv[1], popup) + except: + pass if __name__ == "__main__": sys.exit(main()) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-13 15:09:35
|
Revision: 21745 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21745&view=rev Author: d_wagner Date: 2012-07-13 15:09:28 +0000 (Fri, 13 Jul 2012) Log Message: ----------- updated Website test Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/skeleton/test_skeleton.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/skeleton/test_skeleton.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/skeleton/test_skeleton.js 2012-07-13 15:08:59 UTC (rev 21744) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/skeleton/test_skeleton.js 2012-07-13 15:09:28 UTC (rev 21745) @@ -9,6 +9,7 @@ 'autHost' : 'http://localhost', 'autPath' : '/~dwagner/workspace/qooxdoo.trunk/framework/api/index.html', 'simulatorSvn' : '/home/dwagner/workspace/qooxdoo.contrib/Simulator', + 'applicationLog' : false, 'debug' : true }; @@ -27,15 +28,37 @@ var selWin = 'selenium.qxStoredVars["autWindow"]'; var qxAppInst = simulation.Simulation.QXAPPINSTANCE; -simulation.Simulation.prototype.bomTest = function(nativeApp) +simulation.Simulation.prototype.websiteTest = function() { + var collectionMethods = ["animate", "getAttribute", "setStyle", "emit", "insertAfter", "getChildren"]; + var statics = ["env.get", "array.remove", "string.hyphenate", "type.get"]; + var snippet = "typeof " + simulation.Simulation.SELENIUMWINDOW + ".q."; + + var typeCheck; + this.log("Checking Collection methods", "info"); + for (var i=0, l=collectionMethods.length; i<l; i++) { + typeCheck = snippet + "prototype." + collectionMethods[i] + " == 'function'"; + if (String(this.getEval(typeCheck)) != "true") { + this.log("Collection method " + collectionMethods[i] + " is not a function!", "error"); + } + } + + this.log("Checking static methods", "info"); + for (i=0, l=statics.length; i<l; i++) { + typeCheck = snippet + statics[i] + " == 'function'"; + if (String(this.getEval(typeCheck)) != "true") { + this.log("Collection method " + statics[i] + " is not a function!", "error"); + } + } +}; + +simulation.Simulation.prototype.nativeTest = function() +{ var eventDivLocator = '//html/body/div[@id="logger"]'; var eventDivElem = '.document.getElementById("logger")'; - if (nativeApp) { - eventDivLocator = '//html/body/div'; - eventDivElem = '.document.getElementsByTagName("div")[0]'; - } - + eventDivLocator = '//html/body/div'; + eventDivElem = '.document.getElementsByTagName("div")[0]'; + this.__sel.focus(eventDivLocator); this.__sel.typeKeys(eventDivLocator, 'A'); var divContent = this.getEval(selWin + eventDivElem + '.innerHTML', "Getting logger div content."); @@ -47,55 +70,52 @@ } }; -simulation.Simulation.prototype.inlineTest = function() +simulation.Simulation.prototype.guiTest = function() { this.log("Clicking qooxdoo button - should open an alert box", "info"); this.qxClick("qxh=qx.ui.form.Button"); - this.killBoxes(); + this.killBoxes(); }; simulation.Simulation.prototype.runTest = function() -{ - if (this.getConfigSetting("autPath").indexOf("/bomapplication") >= 0) { - this.bomTest(); - } - else if (this.getConfigSetting("autPath").indexOf("/nativeapplication") >= 0) { - this.bomTest("native"); - } - else if (this.getConfigSetting("autPath").indexOf("/inlineapplication") >= 0) { - this.inlineTest(); - } - else if (this.getConfigSetting("autPath").indexOf("/guiapplication") >= 0) { - //this.guiTest(); - this.inlineTest(); - } +{ + var appType = this.getApplicationType(); + switch(appType) { + case "website": + this.websiteTest(); + break; + case "native": + this.nativeTest(); + break; + case "inline": + case "standalone": + this.guiTest(); + break; + default: + this.log("No test case for application type " + appType, "warn"); + }; }; // - Main -------------------------------------------------------------------- -(function() { +(function() { mySim.testFailed = false; var sessionStarted = mySim.startSession(); - + if (!sessionStarted) { return; } - if (mySim.getConfigSetting("autPath").indexOf("/bomapplication") < 0 - && mySim.getConfigSetting("autPath").indexOf("/nativeapplication") < 0) { + if (mySim.getConfigSetting("autPath").indexOf("websiteapplication") == -1) { var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, "Waiting for qooxdoo application"); - if (!isAppReady) { mySim.testFailed = true; mySim.stop(); return; } } - - //Packages.java.lang.Thread.sleep(4000); try { - mySim.setupApplicationLogging(); mySim.runTest(); } catch(ex) { @@ -111,4 +131,4 @@ mySim.stop(); -})(); \ No newline at end of file +})(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-13 15:09:06
|
Revision: 21744 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21744&view=rev Author: d_wagner Date: 2012-07-13 15:08:59 +0000 (Fri, 13 Jul 2012) Log Message: ----------- added a getter for the application type of the AUT Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-09 09:39:17 UTC (rev 21743) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-13 15:08:59 UTC (rev 21744) @@ -21,23 +21,23 @@ var simulation = simulation || {}; /** - * This class represents automated interaction tests ("Simulations") of - * qooxdoo-based applications. It contains generic functionality such as + * This class represents automated interaction tests ("Simulations") of + * qooxdoo-based applications. It contains generic functionality such as * logging and error handling that is reused across multiple Simulations. * * Actual Simulations should extend this class with their own methods containing - * code specific to the application to be tested, such as simulated user + * code specific to the application to be tested, such as simulated user * interaction using qooxdoo locators[1]. - * + * * This code is intended to be run through Mozilla Rhino as described in the * Simulator manual[2]. - * + * * [1] http://qooxdoo.org/contrib/project/simulator/selenium-user-extension * [2] http://qooxdoo.org/contrib/project/simulator#javascript - * + * * @constructor * @param baseConf {Map} basic configuration settings for this Simulation - * @param args {String} optional Rhino command line arguments + * @param args {String} optional Rhino command line arguments */ simulation.Simulation = function(baseConf, args) { @@ -46,13 +46,13 @@ importClass(Packages.com.thoughtworks.selenium.QxSelenium); } catch(ex) { - throw new Error("Couldn't import QxSelenium class! Make sure the qooxdoo " + throw new Error("Couldn't import QxSelenium class! Make sure the qooxdoo " + "Selenium user extensions are installed in your Selenium client.\n" + ex); } - + // Required configuration settings. Can't run a test without these. var required = ['selServer', 'selPort', 'testBrowser', 'autHost', 'autPath']; - + // Some default settings. var defaults = { debug : false, @@ -64,51 +64,51 @@ disposerDebug : false, applicationLog : true }; - + /* - * Frequently used Javascript code snippets meant to be run in the tested - * application's context through the getEval() method. + * Frequently used Javascript code snippets meant to be run in the tested + * application's context through the getEval() method. */ simulation.Simulation.SELENIUMWINDOW = 'selenium.qxStoredVars["autWindow"]'; simulation.Simulation.QXAPPINSTANCE = 'qx.core.Init.getApplication()'; - simulation.Simulation.ISQXAPPREADY = 'var qxReady = false; try { if (' - + simulation.Simulation.SELENIUMWINDOW + '.' - + simulation.Simulation.QXAPPINSTANCE + simulation.Simulation.ISQXAPPREADY = 'var qxReady = false; try { if (' + + simulation.Simulation.SELENIUMWINDOW + '.' + + simulation.Simulation.QXAPPINSTANCE + ') { qxReady = true; } } catch(e) {} qxReady;'; var __totalErrorsLogged = 0; var __totalWarningsLogged = 0; - + this.testFailed = false; - + /** * Sets the total number of errors logged. - * + * * @private * @param errors {Integer} The new error count * @return {void} */ - setTotalErrorsLogged = function(errors) + setTotalErrorsLogged = function(errors) { __totalErrorsLogged = errors; }; - + /** * Sets the total number of warnings logged. - * + * * @private * @param warnings {Integer} The new warning count * @return {void} */ - setTotalWarningsLogged = function(warnings) + setTotalWarningsLogged = function(warnings) { __totalWarningsLogged = warnings; }; /** * Returns the total number of errors logged by the {@link #log} method. - * + * * @return {Integer} Number of errors logged so far in the current Simulation */ this.getTotalErrorsLogged = function() @@ -119,7 +119,7 @@ /** * Returns the total number of warnings logged by the {@link #log} method. - * + * * @return {Integer} Number of warnings logged so far in the current Simulation */ this.getTotalWarningsLogged = function() @@ -128,25 +128,25 @@ }; /** - * Initalizes the configuration, sets defaults if necessary and validates the + * Initalizes the configuration, sets defaults if necessary and validates the * configuration. - * + * * @private * @param baseConf {Map} a map of configuration settings * @param args {String} optional space-delimited string of 'key=value' pairs * @return {Map} the configuration for this Simulation instance * @throws an exception if a required setting is missing - */ + */ function initConfig(baseConf, args) { - /* + /* * If the script was called with any external arguments (e.g. on the Rhino - * command line), add those settings to the config map, overriding any - * properties already defined in baseConf. + * command line), add those settings to the config map, overriding any + * properties already defined in baseConf. */ - + var conf = baseConf || {}; - if (args) { + if (args) { var argConf = getConfigFromArgs(args); for (var prop in argConf) { conf[prop] = argConf[prop]; @@ -159,7 +159,7 @@ conf[key] = defaults[key]; } } - + // Check if all required keys are set. for (var i=0,l=required.length; i<l; i++) { if (!(required[i] in conf)) { @@ -169,20 +169,20 @@ return conf; } - + var __config = initConfig(baseConf || false, args || false); - + /** - * Split an array of 'key=value' strings (e.g. Rhino's arguments property) and + * Split an array of 'key=value' strings (e.g. Rhino's arguments property) and * store them in a map. - * + * * @private * @param args {String} a space-delimited string of 'key=value' pairs * @return {Map} a map of key-value pairs */ function getConfigFromArgs(args) - { - var conf = {}; + { + var conf = {}; for (var i in args) { if (args[i].indexOf("=") >0) { var tempArr = args[i].split("="); @@ -193,16 +193,16 @@ conf[tempArr[0]] = false; } else { - conf[tempArr[0]] = tempArr[1]; + conf[tempArr[0]] = tempArr[1]; } } } return conf; } - + /** * Public getter for configuration settings. - * + * * @param prop {String} the name of a configuration key * @param defaultValue {String} Optional value to be returned if the key isn't * defined in the configuration @@ -215,20 +215,20 @@ if (!prop) { throw new Error("No configuration key specified!"); } - + if (!(prop in __config)) { if (defaultValue || typeof(defaultValue) == "boolean") { return defaultValue; } else { - throw new Error("Key " + prop + " not in configuration!"); - } + throw new Error("Key " + prop + " not in configuration!"); + } } else { return __config[prop]; - } + } }; - + function addZero(val) { if (val < 10) { @@ -238,59 +238,59 @@ } this.startDate = new Date(); - + this.startDateString = this.startDate.getFullYear() + "-"; - - var month = this.startDate.getMonth() + 1; + + var month = this.startDate.getMonth() + 1; this.startDateString += addZero(month) + "-"; - - var day = this.startDate.getDate(); + + var day = this.startDate.getDate(); this.startDateString += addZero(day) + " "; - - var hours = this.startDate.getHours(); + + var hours = this.startDate.getHours(); this.startDateString += addZero(hours) + ":"; - + var minutes = this.startDate.getMinutes(); this.startDateString += addZero(minutes) + ":"; - + var seconds = this.startDate.getSeconds(); this.startDateString += addZero(seconds); - + // Determine the name for the log file. if (!("logFile" in __config)) { var fname = __config.autName + "_" + this.startDate.getTime() + ".log"; - __config.logFile = fname; - } + __config.logFile = fname; + } }; /** * Increments the number of total errors logged by one - * + * * @return {void} */ simulation.Simulation.prototype.incrementTotalErrorsLogged = function() { var oldCount = this.getTotalErrorsLogged(); var newCount = oldCount + 1; - setTotalErrorsLogged(newCount); + setTotalErrorsLogged(newCount); }; /** * Increments the number of total warnings logged by one - * + * * @return {void} */ simulation.Simulation.prototype.incrementTotalWarningsLogged = function() { var oldCount = this.getTotalWarningsLogged(); var newCount = oldCount + 1; - setTotalWarningsLogged(newCount); + setTotalWarningsLogged(newCount); }; /** * Start the Selenium session and set some basic options. - * + * * @return {Boolean} true if the Selenium session started without errors */ simulation.Simulation.prototype.startSession = function() @@ -298,7 +298,7 @@ if (this.getConfigSetting("debug")) { print("Starting " + this.getConfigSetting("autName") + " session with browser " + this.getConfigSetting("testBrowser")); } - + // Create QxSelenium instance. try { this.__sel = new QxSelenium(this.getConfigSetting("selServer"),this.getConfigSetting("selPort"), @@ -338,8 +338,8 @@ simulation.Simulation.prototype.setupEnvironment = function() { try { - /* - * Store the AUT window object to avoid calling + /* + * Store the AUT window object to avoid calling * selenium.browserbot.getCurrentWindow() repeatedly. */ this.__sel.getEval('selenium.qxStoredVars = {}'); @@ -358,7 +358,7 @@ /** * Open a URI containing a qooxdoo application and prepare it for testing. If no * URI is given, the current AUT is reloaded. - * + * * @param {String} uri Optional URI of the qooxdoo application to be loaded. */ simulation.Simulation.prototype.qxOpen = function(uri) @@ -370,10 +370,10 @@ /** * Attaches a "Simulation" namespace object to the specified window's qx object. - * This will be used to store custom methods added by addOwnFunction. If no + * This will be used to store custom methods added by addOwnFunction. If no * window is specified, the AUT's window is used. - * - * @param win {String} The name of the target window. Must evaluate to a + * + * @param win {String} The name of the target window. Must evaluate to a * JavaScript Window object. * @return {void} */ @@ -384,7 +384,7 @@ if (qx == "null" || ns == "undefined") { this.getEval(targetWin + '.qx = {};', 'Creating qx namespace'); } - + var ns = String(this.getEval(targetWin + '.qx.Simulation', 'Checking for qx.Simulation namespace')); if (ns == "null" || ns == "undefined") { this.getEval(targetWin + '.qx.Simulation = {};', 'Creating qx.Simulation namespace'); @@ -392,12 +392,12 @@ }; /** - * Wrapper around Selenium's <code>getEval</code> that catches and logs any exceptions so + * Wrapper around Selenium's <code>getEval</code> that catches and logs any exceptions so * they won't cause the entire test to fail. - * + * * @param code {String} JavaScript code to be evaluated * @param description {String} optional description that will be logged if there - * was an exception during evaluation + * was an exception during evaluation * @throw an exception if no code was specified * @return the results of the evaluation */ @@ -406,7 +406,7 @@ if (!code) { throw new Error("No code specified for getEval()"); } - + if (this.getConfigSetting("debug") && description) { print(description); } @@ -426,9 +426,9 @@ }; /** - * Wrapper around Selenium's <code>runScript</code> that catches and logs any exceptions so + * Wrapper around Selenium's <code>runScript</code> that catches and logs any exceptions so * they won't cause the entire test to fail. - * + * * @param code {String} JavaScript code to be evaluated * @param description {String} optional description that will be logged if there * was an exception during evaluation @@ -459,10 +459,10 @@ }; /** - * Wrapper around QxSelenium's qxClick method that catches and logs any + * Wrapper around QxSelenium's qxClick method that catches and logs any * exceptions so they won't cause the Simulation to fail. - * - * @param locator {String} Selenium locator identifying the element that should + * + * @param locator {String} Selenium locator identifying the element that should * receive the click event * @param description {String} optional description that will be logged if there * was an exception during evaluation @@ -493,11 +493,11 @@ }; /** - * Wrapper around QxSelenium's qxType() that catches and logs any exceptions so + * Wrapper around QxSelenium's qxType() that catches and logs any exceptions so * they won't cause the entire test to fail. - * + * * @param locator {String} Selenium locator identifying the element that should - * receive the keydown/keyup/keypress events + * receive the keydown/keyup/keypress events * @param text {String} the text to be typed * @param keys {Boolean} use Selenium's "typeKeys" instead of "type" if true * @throw an exception if no locator or text were specified @@ -508,7 +508,7 @@ if (!locator) { throw new Error("No locator specified for type()"); } - + if (typeof(text) != "string") { throw new Error("No text specified for type()"); } @@ -516,9 +516,9 @@ if (this.getConfigSetting("debug")) { print("Typing: " + text); } - - var qxSelCmd = keys ? "qxTypeKeys" : "qxType"; + var qxSelCmd = keys ? "qxTypeKeys" : "qxType"; + try { this.__sel[qxSelCmd](locator, text); } @@ -528,11 +528,11 @@ }; /** - * Wrapper around QxSelenium's qxTypeKeys() that catches and logs any exceptions + * Wrapper around QxSelenium's qxTypeKeys() that catches and logs any exceptions * so they won't cause the entire test to fail. - * + * * @param locator {String} Selenium locator identifying the element that should - * receive the keydown/keyup/keypress events + * receive the keydown/keyup/keypress events * @param text {String} the text to be typed * @throw an exception if no locator or text were specified * @return {void} @@ -543,11 +543,11 @@ }; /** - * Wrapper around QxSelenium's qxTableClick() that catches and logs any + * Wrapper around QxSelenium's qxTableClick() that catches and logs any * exceptions so they won't cause the entire test to fail. - * + * * @param locator {String} Selenium locator identifying a qooxdoo table object - * @param options {String} Options for the command, e.g + * @param options {String} Options for the command, e.g * "row=4,column=3,button=right" * @throw an exception if no locator was specified * @return {void} @@ -557,7 +557,7 @@ if (!locator) { throw new Error("No locator specified for qxTableClick()"); } - + try { this.__sel.qxTableClick(locator, options); } @@ -568,9 +568,9 @@ }; /** - * Wrapper around QxSelenium's qxDragAndDropToObject() that catches and logs any + * Wrapper around QxSelenium's qxDragAndDropToObject() that catches and logs any * exceptions so they won't cause the entire test to fail. - * + * * @param dragLocator {String} Selenium locator identifying the drag target * @param dropLocator {String} Selenium locator identifying the drop target * @throw an exception if no locators were specified @@ -584,19 +584,19 @@ if (!dropLocator) { throw new Error("No drop target locator specified for qxDragAndDropToObject()"); } - + try { this.__sel.qxDragAndDropToObject(dragLocator, dropLocator); } catch(ex) { this.log("ERROR: qxDragAndDropToObject " + ex, "error"); print("ERROR: qxDragAndDropToObject "); - } + } }; /** * Opens a log file and returns the file object. - * + * * @return {Object} the log file object (java.io.BufferedWriter instance) */ simulation.Simulation.prototype.getLogFile = function() @@ -607,13 +607,13 @@ }; /** - * Formats a message according to the error level, then writes it to the local + * Formats a message according to the error level, then writes it to the local * log file and optionally to the Selenium server's browser-side log. - * + * * @param text {String} the message to be logged - * @param level {String?"debug"} The message's error level. One of "debug", + * @param level {String?"debug"} The message's error level. One of "debug", * "info", "warn", "error", "none". "none" means no formatting is applied. - * @param browserLog {String?"browser"} "browser" also logs to the server's + * @param browserLog {String?"browser"} "browser" also logs to the server's * browser-side log, anything else logs only to the local log file * @return {void} */ @@ -626,31 +626,31 @@ if (lvl == "error") { this.incrementTotalErrorsLogged(); } - + if (lvl == "warn") { this.incrementTotalWarningsLogged(); } - + msg = this.sanitize(msg); if (this.getConfigSetting("debug")) { print("Logging message: " + msg); } - + // Clean up/format non-HTML messages if (msg.substr(0,1) !== "<") { msg = "<p>" + msg + "</p>"; if (lvl != "none") { msg = '<div class="qxappender"><div class="level-' + lvl + '">' + msg + "</div></div>"; - } - } + } + } var prefix = 'qxSimulator_' + this.startDate.getTime(); var logFile = this.getLogFile(); logFile.write(prefix + ': ' + msg); logFile.newLine(); logFile.close(); - + if (browser == "browser") { var message = 'LOG.error("' + prefix + ': " + \'' + msg + '\');'; this.getEval(message, "Logging message to browser"); @@ -660,7 +660,7 @@ /** * Removes special and formatting characters from strings so they can be logged. - * + * * @param text {String} The string to be sanitized * @return {String} The sanitized string */ @@ -685,7 +685,7 @@ /** * Logs information about the test environment. * - * @param logTo {String} How to log the information. "browser" writes to + * @param logTo {String} How to log the information. "browser" writes to * Selenium's browser side log and the test log file, anything else writes only * to the test log file. * @return {void} @@ -700,7 +700,7 @@ /** * Logs the test browser's user agent string. - * + * * @return {void} */ simulation.Simulation.prototype.logUserAgent = function(){ @@ -711,7 +711,7 @@ /** * Wrapper around Selenium's waitForCondition() function. Logs any exceptions * (e.g. because the timeout was reached) along with an optional description. - * + * * @param condition {String} a JavaScript expression that will be evaluated * @param timeout {Integer} timeout in milliseconds * @param description {String} optional description that will be logged if there @@ -721,23 +721,23 @@ * @throw an exception if no condition or timeout were specified * @return {Boolean} true if the condition was met before the timeout */ -simulation.Simulation.prototype.waitForCondition = function(condition, timeout, +simulation.Simulation.prototype.waitForCondition = function(condition, timeout, description, loglevel) { if (!condition) { throw new Error("No condition to wait for specified."); } - + if (!timeout) { throw new Error("No timeout specified for waitForCondition()"); } - var desc = description ? description : "Waiting for condition"; + var desc = description ? description : "Waiting for condition"; if (this.getConfigSetting("debug")) { print(desc); } - + var level = loglevel || "error"; try { @@ -776,7 +776,7 @@ "titles.push(coll[i].innerHTML)" + "}" + "selenium.browserbot.getCurrentWindow().qx.lang.Json.stringify(titles);"; - + try { var stringResult = "var temp=" + String(this.__sel.getEval(getter)); } @@ -790,17 +790,17 @@ /** * Logs the amount of time passed since the given start date. - * + * * @param sDate {Date} the start date * @param desc {String} optional description - * + * * @return {void} */ simulation.Simulation.prototype.logTestDuration = function(sDate, desc) { var startDate = sDate ? sDate : this.startDate; var description = desc ? desc : "Test run"; - + var stopDate = new Date(); var elapsed = stopDate.getTime() - startDate.getTime(); elapsed = (elapsed / 1000); @@ -820,10 +820,10 @@ /** * Evaluates a JavaScript snippet and stores the result in the global selenium * object's qxStoredVars property. Stored variables can be retrieved through - * getEval: <code>getEval('selenium.qxStoredVars["varName"]')</code> + * getEval: <code>getEval('selenium.qxStoredVars["varName"]')</code> * * @param code {String} JavaScript snippet to be evaluated - * @param varName {String} The name for the property the eval result will be + * @param varName {String} The name for the property the eval result will be * stored in * @return {void} */ @@ -837,40 +837,40 @@ }; /** - * Adds a function to the "qx.Simulation" namespace of the application under - * test. This function can then be called using + * Adds a function to the "qx.Simulation" namespace of the application under + * test. This function can then be called using * <code>Simulation.getEval("selenium.browserbot.getCurrentWindow().qx.Simulation.funcName();")</code> - * + * * @param funcName {String} name of the function to be added * @param func {Function} the function to be added * @return {void} */ simulation.Simulation.prototype.addOwnFunction = function(funcName, func) -{ +{ if (!funcName) { throw new Error("Please choose a name for the function to be added."); } - + if (!func) { throw new Error("No function specified."); } - + if (typeof func != "string") { - func = func.toString(); + func = func.toString(); } func = func.replace(/\n/,''); func = func.replace(/\r/,''); //func = func.replace(/'/, '\''); - + this.getEval('selenium.browserbot.getCurrentWindow().qx.Simulation.' + funcName + ' = ' + func, 'Adding function ' + funcName); }; /** - * Dismisses any alert or dialog boxes currently open in the application under + * Dismisses any alert or dialog boxes currently open in the application under * test. - * - * @return {Map|false} a map containing the text content of any closed boxes in the + * + * @return {Map|false} a map containing the text content of any closed boxes in the * 'alert' and 'confirmation' keys or false if no boxes were dismissed */ simulation.Simulation.prototype.killBoxes = function() @@ -905,7 +905,7 @@ } if (retVal.alert || retVal.confirmation) { - return retVal; + return retVal; } else { @@ -915,18 +915,18 @@ }; /** - * Adds a function <code>qx.Simulation.getObjectByClassname</code> to the AUT's - * window. This function takes two arguments: A parent object and a qooxdoo + * Adds a function <code>qx.Simulation.getObjectByClassname</code> to the AUT's + * window. This function takes two arguments: A parent object and a qooxdoo * class name string. * It will search all properties of the parent object until it finds one with * a classname property matching the class name string; this object is then * returned. - * + * * The function should be executed through getEval like this: * <code>this.getEval('selenium.browserbot.getCurrentWindow().qx.Simulation.getObjectByClassname(selenium.browserbot.getCurrentWindow().qx.core.Init.getApplication(), "qx.ui.tree.Tree")';</code> - * + * * TODO: Return an array of *all* objects that are instances of the wanted class - * + * * @return {void} */ simulation.Simulation.prototype.addObjectGetter = function() @@ -940,28 +940,28 @@ if (typeof property == "object") { if (property.classname == searchterm) { obj = property; - } + } } } catch(ex) {} } return obj; }; - + this.addOwnFunction("getObjectByClassname", getObjectByClassname); - + }; /** - * Adds a function <code>qx.Simulation.getChildrenByClassname</code> to the AUT's - * window. This function takes two arguments: A parent object and a qooxdoo + * Adds a function <code>qx.Simulation.getChildrenByClassname</code> to the AUT's + * window. This function takes two arguments: A parent object and a qooxdoo * class name string. - * It will return an array containing any children of the parent object with a + * It will return an array containing any children of the parent object with a * classname property matching the class name string. - * + * * The function should be executed through getEval like this: * <code>this.getEval('selenium.browserbot.getCurrentWindow().qx.Simulation.getChildrenByClassname(selenium.browserbot.getCurrentWindow().qx.core.Init.getApplication(), "qx.ui.tree.Tree")';</code> - * + * * @return {void} */ simulation.Simulation.prototype.addChildrenGetter = function() @@ -970,28 +970,28 @@ { var foundKids = []; var kids = parent.getChildren(); - for (var i=0,l=kids.length;i<l; i++) { + for (var i=0,l=kids.length;i<l; i++) { if (kids[i].classname == searchterm) { foundKids.push(kids[i]); } } return foundKids; }; - + this.addOwnFunction("getChildrenByClassname", getChildrenByClassname); - + }; /** - * Adds a function <code>qx.Simulation.sanitize</code> to the AUT's - * window, which will strip most special characters from a given string. + * Adds a function <code>qx.Simulation.sanitize</code> to the AUT's + * window, which will strip most special characters from a given string. * It's more reliable to do this in this in the browser since some * characters will be fubared on the way from the browser to the test * script. - * + * * The function should be executed through getEval like this: * <code>this.getEval('selenium.browserbot.getCurrentWindow().qx.Simulation.sanitize(string)';</code> - * + * * @return {void} */ simulation.Simulation.prototype.addSanitizer = function() @@ -999,22 +999,22 @@ var sanitize = function(text) { text = text.replace(/'/g, '"'); - text = text.replace(/[^\w\d\-_:;\.,\"\!\?\(\)\[\]#$%&= \/\<\> ]?/gi, ''); + text = text.replace(/[^\w\d\-_:;\.,\"\!\?\(\)\[\]#$%&= \/\<\> ]?/gi, ''); return text; }; - + this.addOwnFunction("sanitize", sanitize); - + }; /** - * Call Selenium's stop method, which *should* also close the browser. This + * Call Selenium's stop method, which *should* also close the browser. This * won't work in older versions of Firefox (<=2.0.0). - * + * * @return {void} */ simulation.Simulation.prototype.stop = function() -{ +{ this.__sel.stop(); if (this.getConfigSetting("debug")) { print("Simulation finished."); @@ -1022,10 +1022,10 @@ }; /** - * Default simulation result logging: Logs any disposer debug messages, the - * total number of issues (= warnings + errors) that occurred during the - * simulation and the elapsed time. - * + * Default simulation result logging: Logs any disposer debug messages, the + * total number of issues (= warnings + errors) that occurred during the + * simulation and the elapsed time. + * * @return {void} */ simulation.Simulation.prototype.logResults = function() @@ -1033,26 +1033,26 @@ if (this.getConfigSetting("disposerDebug")) { var getDisposerDebugLevel = "selenium.qxStoredVars['autWindow'].qx.core.Setting.get('qx.disposerDebugLevel')"; var disposerDebugLevel = this.getEval(getDisposerDebugLevel, "Getting qx.disposerDebugLevel"); - + if (parseInt(disposerDebugLevel, 10) > 0 ) { //this.logDisposerDebug(); this.qxShutdown(); } } - + if (this.getConfigSetting("applicationLog")) { this.logRingBufferEntries(); } - + if (!this.testFailed) { if (this.getConfigSetting("debug")) { print("Test run finished successfully."); } - + var totalIssues = this.getTotalErrorsLogged() + this.getTotalWarningsLogged(); this.log(this.getConfigSetting("autName") + " ended with warnings or errors: " + totalIssues, "info"); } - + this.logTestDuration(); }; @@ -1066,22 +1066,22 @@ }; /** - * Creates a new qx.log.appender.RingBuffer in the AUT and registers it. - * + * Creates a new qx.log.appender.RingBuffer in the AUT and registers it. + * * @return {void} */ simulation.Simulation.prototype.addRingBuffer = function() { var rb = "new selenium.qxStoredVars['autWindow'].qx.log.appender.RingBuffer()"; - this.storeEval(rb, "ringBuffer"); + this.storeEval(rb, "ringBuffer"); this.getEval("selenium.qxStoredVars['autWindow'].qx.log.Logger.register(selenium.qxStoredVars['ringBuffer'])", "Registering log appender"); //this.getEval("selenium.qxStoredVars['ringBuffer'].clearHistory()", "Clearing log history"); }; /** - * Adds a function to the AUT that retrieves all messages from the logger + * Adds a function to the AUT that retrieves all messages from the logger * created by addRingBuffer. - * + * * @return {void} */ simulation.Simulation.prototype.addRingBufferGetter = function() @@ -1091,7 +1091,7 @@ var entryArray = []; for (var i=0,l=entries.length; i<l; i++) { try { - var entry = entries[i].level + ":" + var entry = entries[i].level + ":" + selenium.qxStoredVars['autWindow'].qx.log.appender.Util.toText(entries[i]); entryArray.push(entry); } catch(ex) { @@ -1104,14 +1104,14 @@ } return entryArray.join("|"); }; - - this.addOwnFunction("getRingBufferEntries", getRingBufferEntries); + + this.addOwnFunction("getRingBufferEntries", getRingBufferEntries); }; /** - * Retrieves all messages from the logger created by addRingBuffer and writes + * Retrieves all messages from the logger created by addRingBuffer and writes * them to the simulation log. - * + * * @return {void} */ simulation.Simulation.prototype.logRingBufferEntries = function() @@ -1119,7 +1119,7 @@ var debugLog = this.getEval("selenium.qxStoredVars['autWindow'].qx.Simulation.getRingBufferEntries()", "Retrieving log messages"); debugLog = String(debugLog); var debugLogArray = debugLog.split("|"); - + for (var i=0,l=debugLogArray.length; i<l; i++) { var entry = debugLogArray[i].split(":"); var level = entry.shift(); @@ -1130,7 +1130,7 @@ /** * "Manually" shuts down the qooxdoo application. Can be used for disposer debug * logging. - * + * * @return {void} */ simulation.Simulation.prototype.qxShutdown = function() @@ -1139,13 +1139,13 @@ }; /** - * Creates a global error handler that stores JavaScript exceptions that are - * thrown in the specified window. Global Error Handling must be enabled in the + * Creates a global error handler that stores JavaScript exceptions that are + * thrown in the specified window. Global Error Handling must be enabled in the * AUT. * Also adds a simple getter function that returns the contents of the exception * store as a string separated by pipe characters ("|"); * - * @param win {String} The target window. Must evaluate to a JavaScript Window + * @param win {String} The target window. Must evaluate to a JavaScript Window * object. Default: The AUT's window. * @return {void} */ @@ -1154,10 +1154,10 @@ var qxWin = win || "selenium.qxStoredVars['autWindow']"; this.prepareNameSpace(qxWin); this.getEval(qxWin + ".qx.Simulation.errorStore = [];", "Adding errorStore"); - + var addHandler = function(autWin) { - var targetWin = autWin || selenium.qxStoredVars['autWindow']; + var targetWin = autWin || selenium.qxStoredVars['autWindow']; targetWin.qx.event.GlobalError.setErrorHandler(function(ex) { var exString = ""; if (ex instanceof targetWin.qx.core.GlobalError) { @@ -1185,25 +1185,25 @@ targetWin.qx.Simulation.errorStore.push(sanitizedEx); }); }; - + this.addOwnFunction("addGlobalErrorHandler", addHandler); this.getEval("selenium.qxStoredVars['autWindow'].qx.Simulation.addGlobalErrorHandler(" + qxWin + ");", "Adding error handler"); - + var globalErr = function(win) { var targetWin = win || selenium.qxStoredVars['autWindow']; var exceptions = targetWin.qx.Simulation.errorStore; var exString = exceptions.join("|"); - return exString; + return exString; }; this.addOwnFunction("getGlobalErrors", globalErr); - + }; /** * Logs the contents of the given window's global exception store. * - * @param win {String} The target window. Must evaluate to a JavaScript Window + * @param win {String} The target window. Must evaluate to a JavaScript Window * object. Default: The AUT's window. * @return {Integer} The number of global errors. */ @@ -1225,7 +1225,7 @@ /** * Empties the given window's global exception store. * - * @param win {String} The target window. Must evaluate to a JavaScript Window + * @param win {String} The target window. Must evaluate to a JavaScript Window * object. Default: The AUT's window. * @return {void} */ @@ -1237,7 +1237,7 @@ /** * Returns the value of an environment key from a qooxdoo application. - * + * * @param key {String} Environment key name * @param win {window?} Optional browser window. Default: The AUT's window * @return {var} The environment value for the given key @@ -1247,4 +1247,60 @@ var targetWin = win || "selenium.qxStoredVars['autWindow']"; var getter = targetWin + '.qx.core.Environment.get("' + key + '")'; return this.getEval(getter); -}; \ No newline at end of file +}; + +/** + * Returns the type of the qooxdoo application under test. + * + * @return {String|null} One of "website", "desktop", "mobile", "native", "basic" + * or <code>null</code> if the type could not be determined + */ +simulation.Simulation.prototype.getApplicationType = function() +{ + if (this.__appType) { + return this.__appType; + } + + var snippet = simulation.Simulation.SELENIUMWINDOW + + ".qx.core.Init.getApplication() instanceof " + + simulation.Simulation.SELENIUMWINDOW + "."; + + try { + if (String(this.__sel.getEval(snippet + "qx.application.Standalone")) == "true") { + return this.__appType = "standalone"; + } + } catch(ex) {} + + try { + if (String(this.__sel.getEval(snippet + "qx.application.Inline")) == "true") { + return this.__appType = "inline"; + } + } catch(ex) {} + + try { + if (String(this.__sel.getEval(snippet + "qx.application.Mobile")) == "true") { + return this.__appType = "mobile"; + } + } catch(ex) {} + + try { + if (String(this.__sel.getEval(snippet + "qx.application.Native")) == "true") { + return this.__appType = "native"; + } + } catch(ex) {} + + try { + if (String(this.__sel.getEval(snippet + "qx.application.Basic")) == "true") { + return this.__appType = "basic"; + } + } catch(ex) {} + + try { + var q = this.__sel.getEval(simulation.Simulation.SELENIUMWINDOW + ".q"); + if (String(q) == "[Class q]") { + return this.__appType = "website"; + } + } catch(ex) {} + + return null; +}; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-09 09:39:23
|
Revision: 21743 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21743&view=rev Author: d_wagner Date: 2012-07-09 09:39:17 +0000 (Mon, 09 Jul 2012) Log Message: ----------- minor fix Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js 2012-07-09 09:31:01 UTC (rev 21742) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js 2012-07-09 09:39:17 UTC (rev 21743) @@ -1,5 +1,5 @@ var baseConf = { - autName : 'ToDo', + autName : 'WebsiteAPIViewer', globalTimeout : 300000, stepSpeed : '250', debug : true, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-09 09:31:12
|
Revision: 21742 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21742&view=rev Author: d_wagner Date: 2012-07-09 09:31:01 +0000 (Mon, 09 Jul 2012) Log Message: ----------- Test for qx.Website API Viewer Added Paths: ----------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js Added: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js (rev 0) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js 2012-07-09 09:31:01 UTC (rev 21742) @@ -0,0 +1,107 @@ +var baseConf = { + autName : 'ToDo', + globalTimeout : 300000, + stepSpeed : '250', + debug : true, + applicationLog : false, + disposerDebug : false +}; + +var args = arguments ? arguments : ""; +var simSvn = baseConf.simulatorSvn; +for (var i=0; i<args.length; i++) { + if (args[i].indexOf('simulatorSvn') >= 0) { + simSvn = args[i].substr(args[i].indexOf('simulatorSvn=') + 13); + } +} + +load([simSvn + "/trunk/tool/selenium/simulation/Simulation.js"]); + +var mySim = new simulation.Simulation(baseConf,args); + +simulation.Simulation.prototype.runTest = function() +{ + // build warning + var warning = this.__sel.isVisible("warning"); + if (warning) { + var warningContent = String(this.getEval(simulation.Simulation.SELENIUMWINDOW + '.document.getElementById("warning").innerHTML')); + this.log(warningContent, "error"); + return; + } + + // missing function(s) + if (this.__sel.isElementPresent("//b[starts-with(text(), '!!')]")) { + this.log("At least one documented method is missing!", "error"); + } + + // content scrolls when clicking a list entry + var q = simulation.Simulation.SELENIUMWINDOW + ".q"; + this.__sel.click("//a[@href = '#Css']"); + var scrollTop = parseInt(String(this.getEval(q + '("#content").getScrollTop()'))); + if (scrollTop < 6500) { + this.log("Expected content scrollTop to be > 6800 after clicking 'Css' but found " + scrollTop, "error"); + } + + // syntax highlighting + if (!this.__sel.isElementPresent("//pre[@class = 'javascript']/span[@class = 'string']")) { + this.log("Syntax highlighting is not active!", "error"); + } + + // toggle plugin API + this.__sel.click("plugintoggle"); + if (!this.__sel.isVisible("//div[@id = 'plugintoggle']/span[text() = 'hide']")) { + this.log("Plugin toggle text did not change after click!", "error"); + } + if (!this.__sel.isVisible("q.$attach")) { + this.log("q.$attach documentation is not displayed!", "error"); + } + + // MDN link + if (!this.__sel.isElementPresent('//a[@href = "https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean"]')) { + this.log("MDN links not displayed!", "error"); + } + + // Internal link + var extendsLink = "//div[contains(@class, 'return-desc')]/p/a[@href = '#Script']"; + if (!this.__sel.isElementPresent(extendsLink)) { + this.log("'Extends' link to Script module not found!", "error"); + } + else { + var scrollTopBefore = parseInt(String(this.getEval(q + '("#content").getScrollTop()'))); + this.__sel.click(extendsLink); + var scrollTopAfter = parseInt(String(this.getEval(q + '("#content").getScrollTop()'))); + + if (scrollTopBefore == scrollTopAfter) { + this.log("Clicking 'Extends' link did not change content scroll position!", "error"); + } + } + +}; + +// - Main -------------------------------------------------------------------- + +(function() { + mySim.testFailed = false; + + var sessionStarted = mySim.startSession(); + if (!sessionStarted) { + return; + } + + try { + mySim.runTest(); + } + catch(ex) { + mySim.testFailed = true; + var msg = "Unexpected error while running test!"; + if (mySim.getConfigSetting("debug")) { + print(msg + "\n" + ex); + } + mySim.log(msg, "error"); + } + + mySim.logResults(); + + mySim.stop(); + +})(); \ No newline at end of file Property changes on: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/apiviewer/test_apiviewer_website.js ___________________________________________________________________ Added: svn:mime-type + text/plain This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-06 09:40:46
|
Revision: 21741 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21741&view=rev Author: d_wagner Date: 2012-07-06 09:40:40 +0000 (Fri, 06 Jul 2012) Log Message: ----------- Create global qx object in AUT context if necessary, e.g. when testing a qx.Website application Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-03 15:21:43 UTC (rev 21740) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-07-06 09:40:40 UTC (rev 21741) @@ -380,6 +380,11 @@ simulation.Simulation.prototype.prepareNameSpace = function(win) { var targetWin = win || 'selenium.qxStoredVars["autWindow"]'; + var qx = String(this.getEval(targetWin + '.qx', 'Checking for qx namespace')); + if (qx == "null" || ns == "undefined") { + this.getEval(targetWin + '.qx = {};', 'Creating qx namespace'); + } + var ns = String(this.getEval(targetWin + '.qx.Simulation', 'Checking for qx.Simulation namespace')); if (ns == "null" || ns == "undefined") { this.getEval(targetWin + '.qx.Simulation = {};', 'Creating qx.Simulation namespace'); Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-07-03 15:21:43 UTC (rev 21740) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-07-06 09:40:40 UTC (rev 21741) @@ -93,50 +93,12 @@ } }; -simulation.Simulation.prototype.startSession = function() -{ - if (this.getConfigSetting("debug")) { - print("Starting " + this.getConfigSetting("autName") + " session with browser " + this.getConfigSetting("testBrowser")); - } - - // Create QxSelenium instance. - try { - this.__sel = new QxSelenium(this.getConfigSetting("selServer"),this.getConfigSetting("selPort"), - this.getConfigSetting("testBrowser"),this.getConfigSetting("autHost")); - } - catch(ex) { - throw new Error("Unable to create QxSelenium instance: " + ex); - } - - try { - this.__sel.start(); - if (this.getConfigSetting("windowMaximize", false)) { - this.__sel.windowMaximize(); - } - this.__sel.setTimeout(this.getConfigSetting("globalTimeout")); - this.__sel.open(this.getConfigSetting("autHost") + "" + this.getConfigSetting("autPath")); - this.__sel.setSpeed(this.getConfigSetting("stepSpeed")); - this.logEnvironment(); - this.logUserAgent(); - } - catch (ex) { - this.logEnvironment("file"); - this.log("User agent: " + this.getConfigSetting("browserId"), "none", "file"); - var msg = "ERROR: Unable to start test session: " + ex; - print(msg); - this.log(msg, "error", "file"); - return false; - } - return true; -}; - // - Main -------------------------------------------------------------------- (function() { mySim.testFailed = false; var sessionStarted = mySim.startSession(); - if (!sessionStarted) { return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-07-03 15:21:53
|
Revision: 21740 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21740&view=rev Author: d_wagner Date: 2012-07-03 15:21:43 +0000 (Tue, 03 Jul 2012) Log Message: ----------- Switched theme to Indigo Modified Paths: -------------- trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Appearance.js trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Color.js trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Decoration.js trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Font.js Modified: trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Appearance.js =================================================================== --- trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Appearance.js 2012-06-29 15:27:19 UTC (rev 21739) +++ trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Appearance.js 2012-07-03 15:21:43 UTC (rev 21740) @@ -10,7 +10,7 @@ qx.Theme.define("contribdemobrowser.theme.Appearance", { - extend : qx.theme.modern.Appearance, + extend : qx.theme.indigo.Appearance, include : demobrowser.Appearance, Modified: trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Color.js =================================================================== --- trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Color.js 2012-06-29 15:27:19 UTC (rev 21739) +++ trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Color.js 2012-07-03 15:21:43 UTC (rev 21740) @@ -10,7 +10,7 @@ qx.Theme.define("contribdemobrowser.theme.Color", { - extend : qx.theme.modern.Color, + extend : qx.theme.indigo.Color, colors : { Modified: trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Decoration.js =================================================================== --- trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Decoration.js 2012-06-29 15:27:19 UTC (rev 21739) +++ trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Decoration.js 2012-07-03 15:21:43 UTC (rev 21740) @@ -10,7 +10,7 @@ qx.Theme.define("contribdemobrowser.theme.Decoration", { - extend : qx.theme.modern.Decoration, + extend : qx.theme.indigo.Decoration, decorations : { Modified: trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Font.js =================================================================== --- trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Font.js 2012-06-29 15:27:19 UTC (rev 21739) +++ trunk/qooxdoo-contrib/qooxdoo/contribDemobrowser/source/class/contribdemobrowser/theme/Font.js 2012-07-03 15:21:43 UTC (rev 21740) @@ -10,7 +10,7 @@ qx.Theme.define("contribdemobrowser.theme.Font", { - extend : qx.theme.modern.Font, + extend : qx.theme.indigo.Font, fonts : { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-06-29 15:27:25
|
Revision: 21739 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21739&view=rev Author: spackers Date: 2012-06-29 15:27:19 +0000 (Fri, 29 Jun 2012) Log Message: ----------- fixed QOOXDOO_PATH Modified Paths: -------------- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-28 12:14:30 UTC (rev 21738) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-29 15:27:19 UTC (rev 21739) @@ -37,8 +37,7 @@ "let" : { "APPLICATION" : "uploadmgr.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.6", - "///QOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", + "QOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", "QXTHEME" : "uploadmgr.demo.theme.Theme", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"], "LOCALES" : [ "en" ], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-06-28 12:14:39
|
Revision: 21738 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21738&view=rev Author: spackers Date: 2012-06-28 12:14:30 +0000 (Thu, 28 Jun 2012) Log Message: ----------- Restored default qooxdoo paths Modified Paths: -------------- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-28 12:14:15 UTC (rev 21737) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-28 12:14:30 UTC (rev 21738) @@ -37,8 +37,8 @@ "let" : { "APPLICATION" : "uploadmgr.demo", - "XXXQOOXDOO_PATH" : "../../../../qooxdoo/1.6", - "QOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", + "QOOXDOO_PATH" : "../../../../qooxdoo/1.6", + "///QOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", "QXTHEME" : "uploadmgr.demo.theme.Theme", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"], "LOCALES" : [ "en" ], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-06-28 12:14:26
|
Revision: 21737 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21737&view=rev Author: d_wagner Date: 2012-06-28 12:14:15 +0000 (Thu, 28 Jun 2012) Log Message: ----------- disabled reload test for Safari Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js 2012-06-28 12:13:35 UTC (rev 21736) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/testrunner/test_testrunner.js 2012-06-28 12:14:15 UTC (rev 21737) @@ -78,10 +78,13 @@ var tests = [ this.testRunTests, - this.testToggleStackTrace, - this.testReload + this.testToggleStackTrace ]; + if (this.getEnvironment("browser.name") != "safari") { + tests.push(this.testReload); + } + for (var i=0, l=tests.length; i<l; i++) { try { tests[i].call(this); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <spa...@us...> - 2012-06-28 12:13:46
|
Revision: 21736 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21736&view=rev Author: spackers Date: 2012-06-28 12:13:35 +0000 (Thu, 28 Jun 2012) Log Message: ----------- Mark as 2.0 and 1.6.1 compatible Modified Paths: -------------- trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/source/class/uploadmgr/demo/Application.js Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json 2012-06-28 12:03:26 UTC (rev 21735) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/Manifest.json 2012-06-28 12:13:35 UTC (rev 21736) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": [ "1.5", "1.6", "1.6-pre" ] + "qooxdoo-versions": [ "1.5", "1.6", "1.6.1", "2.0" ] }, "provides" : Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/Manifest.json 2012-06-28 12:03:26 UTC (rev 21735) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/Manifest.json 2012-06-28 12:13:35 UTC (rev 21736) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.6"] + "qooxdoo-versions": ["1.6", "1.6.1", "2.0" ] }, "provides" : Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-28 12:03:26 UTC (rev 21735) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/config.json 2012-06-28 12:13:35 UTC (rev 21736) @@ -37,8 +37,8 @@ "let" : { "APPLICATION" : "uploadmgr.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.6", - "XXXQOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", + "XXXQOOXDOO_PATH" : "../../../../qooxdoo/1.6", + "QOOXDOO_PATH" : "../../../../../../../../Local/WebContent/public/grasshopper/qooxdoo-trunk", "QXTHEME" : "uploadmgr.demo.theme.Theme", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/source/class/uploadmgr/demo/Application.js =================================================================== --- trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/source/class/uploadmgr/demo/Application.js 2012-06-28 12:03:26 UTC (rev 21735) +++ trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/source/class/uploadmgr/demo/Application.js 2012-06-28 12:13:35 UTC (rev 21736) @@ -214,6 +214,11 @@ alert("Do Nothing 2 pressed"); }); part.add(btn); + + // Create an atom + var atom = new qx.ui.basic.Atom("<span style='cursor: pointer'>qx.ui.basic.Atom upload button</span>").set({ rich: true }); + doc.add(atom, { left: 100, top: 575 }); + uploader.addWidget(atom); } } }); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-06-28 12:03:35
|
Revision: 21735 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21735&view=rev Author: d_wagner Date: 2012-06-28 12:03:26 +0000 (Thu, 28 Jun 2012) Log Message: ----------- workaround for Inspector test in Safari Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-06-27 15:58:05 UTC (rev 21734) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/Simulation.js 2012-06-28 12:03:26 UTC (rev 21735) @@ -1228,4 +1228,18 @@ { var targetWin = win || "selenium.qxStoredVars['autWindow']"; this.getEval(targetWin + ".qx.Simulation.errorStore = [];", "Clearing errorStore"); +}; + +/** + * Returns the value of an environment key from a qooxdoo application. + * + * @param key {String} Environment key name + * @param win {window?} Optional browser window. Default: The AUT's window + * @return {var} The environment value for the given key + */ +simulation.Simulation.prototype.getEnvironment = function(key, win) +{ + var targetWin = win || "selenium.qxStoredVars['autWindow']"; + var getter = targetWin + '.qx.core.Environment.get("' + key + '")'; + return this.getEval(getter); }; \ No newline at end of file Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js 2012-06-27 15:58:05 UTC (rev 21734) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/inspector/test_inspector.js 2012-06-28 12:03:26 UTC (rev 21735) @@ -297,6 +297,11 @@ this.log("Loading application " + inspectedAppPath + " in Inspector", "debug"); } this.qxType("xpath=//input", inspectedAppPath); + + if (this.getEnvironment("browser.name") == "safari") { + this.qxClick("//div[contains(@style, 'view-refresh')]"); + } + Packages.java.lang.Thread.sleep(10000); var inspectedAppLoaded = "selenium.qxStoredVars['autWindow'].qx.core.Init.getApplication()._loadedWindow.qx.core.Init.getApplication()"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-06-27 15:58:11
|
Revision: 21734 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21734&view=rev Author: d_wagner Date: 2012-06-27 15:58:05 +0000 (Wed, 27 Jun 2012) Log Message: ----------- updated some test cases Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js Modified: trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-06-27 12:16:09 UTC (rev 21733) +++ trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-06-27 15:58:05 UTC (rev 21734) @@ -20,6 +20,11 @@ //var selWin = simulation.Simulation.SELENIUMWINDOW; //var qxAppInst = simulation.Simulation.QXAPPINSTANCE; +var buttonToTitle = { + "Form Elements" : "Form", + "Tab Bar" : "Tabs" +}; + simulation.Simulation.prototype.addListItemLabelGetter = function() { var titleGetter = function() { @@ -46,17 +51,12 @@ simulation.Simulation.prototype.selectItem = function(itemName) { this.qxClick("//div[text() = '" + itemName + "']"); - this.waitForElementPresent("//div[@class='navigationbar-backbutton']"); + itemName = buttonToTitle[itemName] || itemName; + this.waitForElementPresent("//h1[text() = '" + itemName + "']"); }; -simulation.Simulation.prototype.goBack = function(parentPageTitle) { - this.qxClick("//div[@class='navigationbar-backbutton']"); - if (parentPageTitle) { - this.waitForElementPresent("//h1[text() = '" + parentPageTitle + "']"); - } -}; - -simulation.Simulation.prototype.testPageTransitions = function() +//TODO: Update +simulation.Simulation.prototype.testPageTransitionsOLD = function() { this.log("Testing Animations", "info"); this.waitForElementPresent("//h1[text() = 'Animation']"); @@ -68,7 +68,7 @@ this.selectItem(listItems[i]); Packages.java.lang.Thread.sleep(1500); this.waitForElementPresent("//strong[contains(text(), 'reverse animation')]"); - this.goBack("Animation"); + this.selectItem("Animation"); } }; @@ -77,14 +77,8 @@ this.log("Testing List", "info"); this.waitForElementPresent("//h1[text() = 'List']"); this.qxClick("//div[text() = 'Selectable Item2']"); - if (!this.__sel.isAlertPresent()) { - throw new Error("Clicking Selectable Item2 did not open an alert box!"); - } - var expectedText = "Item Selected #2"; - var foundText = String(this.__sel.getAlert()); - if (foundText !== expectedText) { - throw new Error("Expected alert box text " + expectedText + " but found " + foundText); - } + this.waitForElementPresent("//div[contains(text(), 'You selected Item')]"); + this.qxClick("//div[text() = 'OK']"); }; simulation.Simulation.prototype.testEvents = function() @@ -103,7 +97,7 @@ //click search button this.qxClick("//div[contains(@class, 'toolbar-button')]/descendant::div[text() = 'Search']"); - var searchDialogButtonLocator = "//div[contains(@class, 'dialog')]/descendant::div[contains(@class, 'button')]"; + var searchDialogButtonLocator = "//div[text() = 'Search']/ancestor::div[@class= 'button']"; this.waitForElementPresent(searchDialogButtonLocator); this.qxClick(searchDialogButtonLocator); Packages.java.lang.Thread.sleep(500); @@ -133,7 +127,8 @@ } }; -simulation.Simulation.prototype.testTabBar = function() +//TODO: Update for new demo +simulation.Simulation.prototype.testTabBarOLD = function() { for (var i=1; i<5; i++) { this.qxClick("//div[text() = 'Tab " + i + "']/ancestor::div[contains(@class, 'tabButton')]"); @@ -160,8 +155,6 @@ this.log("Error while testing " + listItems[i] + ": " + ex.message, "error"); } } - this.log("Going back " + i, "info"); - this.goBack("Overview"); } }; Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-06-27 12:16:09 UTC (rev 21733) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/mobileshowcase/test_mobileshowcase.js 2012-06-27 15:58:05 UTC (rev 21734) @@ -20,6 +20,11 @@ //var selWin = simulation.Simulation.SELENIUMWINDOW; //var qxAppInst = simulation.Simulation.QXAPPINSTANCE; +var buttonToTitle = { + "Form Elements" : "Form", + "Tab Bar" : "Tabs" +}; + simulation.Simulation.prototype.addListItemLabelGetter = function() { var titleGetter = function() { @@ -46,17 +51,12 @@ simulation.Simulation.prototype.selectItem = function(itemName) { this.qxClick("//div[text() = '" + itemName + "']"); - this.waitForElementPresent("//div[@class='navigationbar-backbutton']"); + itemName = buttonToTitle[itemName] || itemName; + this.waitForElementPresent("//h1[text() = '" + itemName + "']"); }; -simulation.Simulation.prototype.goBack = function(parentPageTitle) { - this.qxClick("//div[@class='navigationbar-backbutton']"); - if (parentPageTitle) { - this.waitForElementPresent("//h1[text() = '" + parentPageTitle + "']"); - } -}; - -simulation.Simulation.prototype.testPageTransitions = function() +//TODO: Update +simulation.Simulation.prototype.testPageTransitionsOLD = function() { this.log("Testing Animations", "info"); this.waitForElementPresent("//h1[text() = 'Animation']"); @@ -68,7 +68,7 @@ this.selectItem(listItems[i]); Packages.java.lang.Thread.sleep(1500); this.waitForElementPresent("//strong[contains(text(), 'reverse animation')]"); - this.goBack("Animation"); + this.selectItem("Animation"); } }; @@ -77,14 +77,8 @@ this.log("Testing List", "info"); this.waitForElementPresent("//h1[text() = 'List']"); this.qxClick("//div[text() = 'Selectable Item2']"); - if (!this.__sel.isAlertPresent()) { - throw new Error("Clicking Selectable Item2 did not open an alert box!"); - } - var expectedText = "Item Selected #2"; - var foundText = String(this.__sel.getAlert()); - if (foundText !== expectedText) { - throw new Error("Expected alert box text " + expectedText + " but found " + foundText); - } + this.waitForElementPresent("//div[contains(text(), 'You selected Item')]"); + this.qxClick("//div[text() = 'OK']"); }; simulation.Simulation.prototype.testEvents = function() @@ -103,7 +97,7 @@ //click search button this.qxClick("//div[contains(@class, 'toolbar-button')]/descendant::div[text() = 'Search']"); - var searchDialogButtonLocator = "//div[contains(@class, 'dialog')]/descendant::div[contains(@class, 'button')]"; + var searchDialogButtonLocator = "//div[text() = 'Search']/ancestor::div[@class= 'button']"; this.waitForElementPresent(searchDialogButtonLocator); this.qxClick(searchDialogButtonLocator); Packages.java.lang.Thread.sleep(500); @@ -133,7 +127,8 @@ } }; -simulation.Simulation.prototype.testTabBar = function() +//TODO: Update for new demo +simulation.Simulation.prototype.testTabBarOLD = function() { for (var i=1; i<5; i++) { this.qxClick("//div[text() = 'Tab " + i + "']/ancestor::div[contains(@class, 'tabButton')]"); @@ -160,8 +155,6 @@ this.log("Error while testing " + listItems[i] + ": " + ex.message, "error"); } } - this.log("Going back " + i, "info"); - this.goBack("Overview"); } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-06-27 12:16:20
|
Revision: 21733 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21733&view=rev Author: d_wagner Date: 2012-06-27 12:16:09 +0000 (Wed, 27 Jun 2012) Log Message: ----------- Updated test since Todo is now a qx.Website application Modified Paths: -------------- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js Modified: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-06-26 12:15:35 UTC (rev 21732) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/simulation/todo/test_todo.js 2012-06-27 12:16:09 UTC (rev 21733) @@ -2,7 +2,9 @@ autName : 'ToDo', globalTimeout : 300000, stepSpeed : '250', - debug : true + debug : true, + applicationLog : false, + disposerDebug : false }; var args = arguments ? arguments : ""; @@ -59,20 +61,8 @@ simulation.Simulation.prototype.reload = function() { - this.qxOpen(); - var isAppReady = this.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, - "Waiting for qooxdoo application"); - - if (!isAppReady) { - this.testFailed = true; - this.log("Application was not reloaded correctly!", "error"); - return false; - } - - this.addGlobalErrorHandler(); - this.setupApplicationLogging(); - - return true; + var openUri = this.getConfigSetting("autHost") + "" + this.getConfigSetting("autPath"); + this.__sel.open(openUri); }; mySim.runTest = function() @@ -91,9 +81,7 @@ } this.log("Reloading application", "info"); - if (!this.reload()) { - return; - } + this.reload(); this.log("Clearing custom item " + customItemLabel, "info"); try { @@ -105,6 +93,43 @@ } }; +simulation.Simulation.prototype.startSession = function() +{ + if (this.getConfigSetting("debug")) { + print("Starting " + this.getConfigSetting("autName") + " session with browser " + this.getConfigSetting("testBrowser")); + } + + // Create QxSelenium instance. + try { + this.__sel = new QxSelenium(this.getConfigSetting("selServer"),this.getConfigSetting("selPort"), + this.getConfigSetting("testBrowser"),this.getConfigSetting("autHost")); + } + catch(ex) { + throw new Error("Unable to create QxSelenium instance: " + ex); + } + + try { + this.__sel.start(); + if (this.getConfigSetting("windowMaximize", false)) { + this.__sel.windowMaximize(); + } + this.__sel.setTimeout(this.getConfigSetting("globalTimeout")); + this.__sel.open(this.getConfigSetting("autHost") + "" + this.getConfigSetting("autPath")); + this.__sel.setSpeed(this.getConfigSetting("stepSpeed")); + this.logEnvironment(); + this.logUserAgent(); + } + catch (ex) { + this.logEnvironment("file"); + this.log("User agent: " + this.getConfigSetting("browserId"), "none", "file"); + var msg = "ERROR: Unable to start test session: " + ex; + print(msg); + this.log(msg, "error", "file"); + return false; + } + return true; +}; + // - Main -------------------------------------------------------------------- (function() { @@ -116,18 +141,7 @@ return; } - var isAppReady = mySim.waitForCondition(simulation.Simulation.ISQXAPPREADY, 60000, - "Waiting for qooxdoo application"); - - if (!isAppReady) { - mySim.testFailed = true; - mySim.stop(); - return; - } - try { - mySim.setupApplicationLogging(); - mySim.addGlobalErrorHandler(); mySim.runTest(); } catch(ex) { @@ -139,7 +153,6 @@ mySim.log(msg, "error"); } - mySim.logGlobalErrors(); mySim.logResults(); mySim.stop(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <oe...@us...> - 2012-06-26 12:15:42
|
Revision: 21732 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21732&view=rev Author: oetiker Date: 2012-06-26 12:15:35 +0000 (Tue, 26 Jun 2012) Log Message: ----------- these work with qooxdoo 2.0 too Modified Paths: -------------- trunk/qooxdoo-contrib/CanvasCell/trunk/Manifest.json trunk/qooxdoo-contrib/CanvasCell/trunk/config.json trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/config.json trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/generate.py trunk/qooxdoo-contrib/CanvasCell/trunk/generate.py trunk/qooxdoo-contrib/Cropper/README.txt trunk/qooxdoo-contrib/Cropper/trunk/Manifest.json trunk/qooxdoo-contrib/Cropper/trunk/config.json trunk/qooxdoo-contrib/Cropper/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/Cropper/trunk/demo/default/config.json trunk/qooxdoo-contrib/Cropper/trunk/demo/default/generate.py trunk/qooxdoo-contrib/Cropper/trunk/demo/default/source/class/cropper/demo/Application.js trunk/qooxdoo-contrib/Cropper/trunk/generate.py trunk/qooxdoo-contrib/QxDyGraphs/trunk/Manifest.json trunk/qooxdoo-contrib/QxDyGraphs/trunk/config.json trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/config.json trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/generate.py trunk/qooxdoo-contrib/QxDyGraphs/trunk/generate.py trunk/qooxdoo-contrib/QxJqPlot/trunk/Manifest.json trunk/qooxdoo-contrib/QxJqPlot/trunk/config.json trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/config.json trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/generate.py trunk/qooxdoo-contrib/QxJqPlot/trunk/generate.py trunk/qooxdoo-contrib/UploadWidget/trunk/Manifest.json trunk/qooxdoo-contrib/UploadWidget/trunk/config.json trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/Manifest.json trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/config.json trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/generate.py trunk/qooxdoo-contrib/UploadWidget/trunk/generate.py Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.2","1.3","1.4","1.5"] + "qooxdoo-versions": ["1.2","1.3","1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -29,7 +29,7 @@ { "APPLICATION" : "canvascell", "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../qooxdoo/2.0", //"QXTHEME" : "canvascell.theme.modern.Theme", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.*", "canvascell.demo.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.4","1.5"] + "qooxdoo-versions": ["1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -32,7 +32,7 @@ "let" : { "APPLICATION" : "canvascell.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../../../qooxdoo/2.0", "QXTHEME" : "canvascell.demo.theme.Theme", "API_EXCLUDE" : ["qx.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/generate.py =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/demo/default/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../../../qooxdoo/1.5' +QOOXDOO_PATH = '../../../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/CanvasCell/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/CanvasCell/trunk/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/CanvasCell/trunk/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/Cropper/README.txt =================================================================== --- trunk/qooxdoo-contrib/Cropper/README.txt 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/README.txt 2012-06-26 12:15:35 UTC (rev 21732) @@ -1,6 +1,7 @@ -The cropper.Cropper object -========================== +<b>The cropper.Cropper object</b> The Cropper lets your users select an area within a widget (normaly a picture). Upon completion of the selection, the Cropper generates a data event telling about the selection made. + +Tobi Oetiker, OETIKER+PARTNER AG, <a href="http://it.oetiker.ch">it.oetiker.ch</a> Modified: trunk/qooxdoo-contrib/Cropper/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.2","1.3","1.4"] + "qooxdoo-versions": ["1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/Cropper/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -31,7 +31,7 @@ { "APPLICATION" : "cropper", "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.4", + "QOOXDOO_PATH" : "../../qooxdoo/2.0", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.*", "cropper.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/Cropper/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/demo/default/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/demo/default/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.2","1.3","1.4"] + "qooxdoo-versions": ["1.2","1.3","1.4","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/Cropper/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/demo/default/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/demo/default/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -30,7 +30,7 @@ "let" : { "APPLICATION" : "cropper.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.4", + "QOOXDOO_PATH" : "../../../../qooxdoo/2.0", "API_EXCLUDE" : ["qx.legacy.*","qx.test.*"], "LOCALES" : [ "en" ], "CACHE" : "${TMPDIR}/cache", Modified: trunk/qooxdoo-contrib/Cropper/trunk/demo/default/generate.py =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/demo/default/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/demo/default/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/trunk' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/Cropper/trunk/demo/default/source/class/cropper/demo/Application.js =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/demo/default/source/class/cropper/demo/Application.js 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/demo/default/source/class/cropper/demo/Application.js 2012-06-26 12:15:35 UTC (rev 21732) @@ -31,7 +31,7 @@ this.base(arguments); // Enable logging in debug variant - if (qx.core.Variant.isSet("qx.debug", "on")) { + if ((qx.core.Environment.get("qx.debug"))) { // support native logging capabilities, e.g. Firebug for Firefox qx.log.appender.Native; Modified: trunk/qooxdoo-contrib/Cropper/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/Cropper/trunk/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/Cropper/trunk/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/trunk' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.5"] + "qooxdoo-versions": ["1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -29,7 +29,7 @@ { "APPLICATION" : "qxdygraphs", "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../qooxdoo/2.0", //"QXTHEME" : "qxdygraphs.theme.modern.Theme", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.test.*", "qxdygraphs.demo.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.5"] + "qooxdoo-versions": ["1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -32,7 +32,7 @@ "let" : { "APPLICATION" : "qxdygraphs.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../../../qooxdoo/2.0", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/generate.py =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/demo/default/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/QxDyGraphs/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/QxDyGraphs/trunk/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxDyGraphs/trunk/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.4","1.5"] + "qooxdoo-versions": ["1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -28,7 +28,7 @@ { "APPLICATION" : "qxjqplot", "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../qooxdoo/2.0", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.test.*", "qxjqplot.demo.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.4","1.5"] + "qooxdoo-versions": ["1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -31,7 +31,7 @@ "let" : { "APPLICATION" : "qxjqplot.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../../../qooxdoo/2.0", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], "CACHE" : "${TMPDIR}/qooxoo-cache", Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/generate.py =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/demo/default/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/QxJqPlot/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/QxJqPlot/trunk/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/QxJqPlot/trunk/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.4' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -30,7 +30,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.4","1.5"] + "qooxdoo-versions": ["1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -28,7 +28,7 @@ { "APPLICATION" : "uploadwidget", "APPLICATION_MAIN_CLASS" : "${APPLICATION}.demo.Demo", - "QOOXDOO_PATH" : "../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../qooxdoo/2.0", "QXTHEME" : "qx.theme.Modern", "API_EXCLUDE" : ["qx.test.*", "qxjqplot.demo.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/Manifest.json =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/Manifest.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/Manifest.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -18,7 +18,7 @@ ], "version" : "trunk", - "qooxdoo-versions": ["1.4","1.5"] + "qooxdoo-versions": ["1.4","1.5","1.6","2.0"] }, "provides" : Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/config.json =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/config.json 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/config.json 2012-06-26 12:15:35 UTC (rev 21732) @@ -31,7 +31,7 @@ "let" : { "APPLICATION" : "uploadwidget.demo", - "QOOXDOO_PATH" : "../../../../qooxdoo/1.5", + "QOOXDOO_PATH" : "../../../../qooxdoo/2.0", "API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*"], "LOCALES" : [ "en" ], "CACHE" : "${TMPDIR}/qooxoo-cache", Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/generate.py =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/demo/default/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH Modified: trunk/qooxdoo-contrib/UploadWidget/trunk/generate.py =================================================================== --- trunk/qooxdoo-contrib/UploadWidget/trunk/generate.py 2012-06-22 14:22:13 UTC (rev 21731) +++ trunk/qooxdoo-contrib/UploadWidget/trunk/generate.py 2012-06-26 12:15:35 UTC (rev 21732) @@ -25,7 +25,7 @@ import sys, os, re, subprocess CMD_PYTHON = 'python' -QOOXDOO_PATH = '../../qooxdoo/1.5' +QOOXDOO_PATH = '../../qooxdoo/2.0' def getQxPath(): path = QOOXDOO_PATH This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <d_w...@us...> - 2012-06-22 14:22:24
|
Revision: 21731 http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21731&view=rev Author: d_wagner Date: 2012-06-22 14:22:13 +0000 (Fri, 22 Jun 2012) Log Message: ----------- readme file with the new location of the user extensions Added Paths: ----------- trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/user-extensions/ trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/user-extensions/README trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/user-extensions/ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/user-extensions/README Added: trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/user-extensions/README =================================================================== --- trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/user-extensions/README (rev 0) +++ trunk/qooxdoo-contrib/Simulator/2.0/tool/selenium/user-extensions/README 2012-06-22 14:22:13 UTC (rev 21731) @@ -0,0 +1,2 @@ +The qooxdoo user extensions for Selenium have been moved into the qooxdoo Git repository: +https://github.com/qooxdoo/qooxdoo/blob/release_2_0/component/simulator/tool/user-extensions/user-extensions.js \ No newline at end of file Added: trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/user-extensions/README =================================================================== --- trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/user-extensions/README (rev 0) +++ trunk/qooxdoo-contrib/Simulator/trunk/tool/selenium/user-extensions/README 2012-06-22 14:22:13 UTC (rev 21731) @@ -0,0 +1,2 @@ +The qooxdoo user extensions for Selenium have been moved into the qooxdoo Git repository: +https://github.com/qooxdoo/qooxdoo/blob/master/component/simulator/tool/user-extensions/user-extensions.js \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |