dojo_src 1.4.102 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -3
- data/bin/dojofy +1 -1
- data/dojo/dijit/Calendar.js +62 -24
- data/dojo/dijit/CheckedMenuItem.js +1 -1
- data/dojo/dijit/ColorPalette.js +43 -288
- data/dojo/dijit/Dialog.js +25 -24
- data/dojo/dijit/DialogUnderlay.js +3 -1
- data/dojo/dijit/Editor.js +229 -68
- data/dojo/dijit/InlineEditBox.js +72 -35
- data/dojo/dijit/LICENSE +1 -1
- data/dojo/dijit/Menu.js +75 -76
- data/dojo/dijit/MenuBar.js +5 -10
- data/dojo/dijit/MenuItem.js +18 -11
- data/dojo/dijit/PopupMenuItem.js +1 -0
- data/dojo/dijit/ProgressBar.js +1 -1
- data/dojo/dijit/TitlePane.js +18 -38
- data/dojo/dijit/Toolbar.js +4 -1
- data/dojo/dijit/ToolbarSeparator.js +1 -1
- data/dojo/dijit/Tooltip.js +7 -14
- data/dojo/dijit/Tree.js +116 -64
- data/dojo/dijit/_Container.js +5 -11
- data/dojo/dijit/_CssStateMixin.js +252 -0
- data/dojo/dijit/_DialogMixin.js +3 -1
- data/dojo/dijit/_HasDropDown.js +48 -58
- data/dojo/dijit/_KeyNavContainer.js +4 -4
- data/dojo/dijit/_PaletteMixin.js +313 -0
- data/dojo/dijit/_Templated.js +2 -1
- data/dojo/dijit/_TimePicker.js +11 -6
- data/dojo/dijit/_Widget.js +125 -63
- data/dojo/dijit/_base/focus.js +15 -9
- data/dojo/dijit/_base/manager.js +210 -183
- data/dojo/dijit/_base/place.js +3 -52
- data/dojo/dijit/_base/popup.js +101 -89
- data/dojo/dijit/_base/scroll.js +4 -91
- data/dojo/dijit/_base/sniff.js +3 -66
- data/dojo/dijit/_base/typematic.js +31 -27
- data/dojo/dijit/_base/window.js +3 -23
- data/dojo/dijit/_editor/RichText.js +180 -74
- data/dojo/dijit/_editor/_Plugin.js +17 -16
- data/dojo/dijit/_editor/html.js +1 -1
- data/dojo/dijit/_editor/nls/FontChoice.js +2 -1
- data/dojo/dijit/_editor/nls/ar/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/ar/commands.js +12 -6
- data/dojo/dijit/_editor/nls/ca/LinkDialog.js +8 -3
- data/dojo/dijit/_editor/nls/ca/commands.js +4 -0
- data/dojo/dijit/_editor/nls/da/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/da/commands.js +6 -1
- data/dojo/dijit/_editor/nls/el/LinkDialog.js +8 -2
- data/dojo/dijit/_editor/nls/el/commands.js +7 -2
- data/dojo/dijit/_editor/nls/fi/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/fi/commands.js +7 -2
- data/dojo/dijit/_editor/nls/he/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/he/commands.js +9 -2
- data/dojo/dijit/_editor/nls/ja/commands.js +9 -10
- data/dojo/dijit/_editor/nls/nb/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/nb/commands.js +5 -0
- data/dojo/dijit/_editor/nls/nl/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/nl/commands.js +5 -0
- data/dojo/dijit/_editor/nls/pt-pt/LinkDialog.js +8 -2
- data/dojo/dijit/_editor/nls/pt-pt/commands.js +5 -0
- data/dojo/dijit/_editor/nls/ro/FontChoice.js +27 -0
- data/dojo/dijit/_editor/nls/ro/LinkDialog.js +13 -0
- data/dojo/dijit/_editor/nls/ro/commands.js +48 -0
- data/dojo/dijit/_editor/nls/sk/LinkDialog.js +9 -4
- data/dojo/dijit/_editor/nls/sk/commands.js +4 -0
- data/dojo/dijit/_editor/nls/sl/LinkDialog.js +6 -1
- data/dojo/dijit/_editor/nls/sl/commands.js +12 -8
- data/dojo/dijit/_editor/nls/sv/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/sv/commands.js +8 -2
- data/dojo/dijit/_editor/nls/th/LinkDialog.js +6 -1
- data/dojo/dijit/_editor/nls/th/commands.js +6 -2
- data/dojo/dijit/_editor/nls/tr/LinkDialog.js +7 -1
- data/dojo/dijit/_editor/nls/tr/commands.js +5 -0
- data/dojo/dijit/_editor/nls/zh-tw/LinkDialog.js +1 -1
- data/dojo/dijit/_editor/nls/zh/commands.js +3 -3
- data/dojo/dijit/_editor/plugins/AlwaysShowToolbar.js +2 -2
- data/dojo/dijit/_editor/plugins/EnterKeyHandling.js +85 -4
- data/dojo/dijit/_editor/plugins/FontChoice.js +194 -32
- data/dojo/dijit/_editor/plugins/FullScreen.js +76 -32
- data/dojo/dijit/_editor/plugins/LinkDialog.js +79 -22
- data/dojo/dijit/_editor/plugins/NewPage.js +7 -2
- data/dojo/dijit/_editor/plugins/Print.js +6 -3
- data/dojo/dijit/_editor/plugins/TabIndent.js +2 -2
- data/dojo/dijit/_editor/plugins/TextColor.js +75 -23
- data/dojo/dijit/_editor/plugins/ToggleDir.js +1 -1
- data/dojo/dijit/_editor/plugins/ViewSource.js +53 -28
- data/dojo/dijit/_editor/range.js +22 -19
- data/dojo/dijit/_editor/selection.js +56 -4
- data/dojo/dijit/dijit-all.js +5 -1
- data/dojo/dijit/form/Button.js +24 -58
- data/dojo/dijit/form/CheckBox.js +27 -19
- data/dojo/dijit/form/ComboBox.js +73 -54
- data/dojo/dijit/form/CurrencyTextBox.js +8 -5
- data/dojo/dijit/form/FilteringSelect.js +14 -6
- data/dojo/dijit/form/Form.js +26 -16
- data/dojo/dijit/form/HorizontalRuleLabels.js +2 -2
- data/dojo/dijit/form/HorizontalSlider.js +12 -1
- data/dojo/dijit/form/MultiSelect.js +3 -3
- data/dojo/dijit/form/NumberSpinner.js +4 -5
- data/dojo/dijit/form/NumberTextBox.js +25 -17
- data/dojo/dijit/form/Select.js +24 -18
- data/dojo/dijit/form/SimpleTextarea.js +2 -2
- data/dojo/dijit/form/TextBox.js +72 -12
- data/dojo/dijit/form/Textarea.js +8 -1
- data/dojo/dijit/form/TimeTextBox.js +3 -2
- data/dojo/dijit/form/ValidationTextBox.js +56 -42
- data/dojo/dijit/form/VerticalRuleLabels.js +4 -1
- data/dojo/dijit/form/VerticalSlider.js +0 -30
- data/dojo/dijit/form/_DateTimeTextBox.js +23 -17
- data/dojo/dijit/form/_FormMixin.js +23 -19
- data/dojo/dijit/form/_FormSelectWidget.js +3 -3
- data/dojo/dijit/form/_FormWidget.js +66 -164
- data/dojo/dijit/form/_Spinner.js +18 -37
- data/dojo/dijit/form/nls/ro/ComboBox.js +5 -0
- data/dojo/dijit/form/nls/ro/Textarea.js +8 -0
- data/dojo/dijit/form/nls/ro/validate.js +6 -0
- data/dojo/dijit/form/templates/Button.html +15 -16
- data/dojo/dijit/form/templates/CheckBox.html +3 -3
- data/dojo/dijit/form/templates/ComboBox.html +13 -14
- data/dojo/dijit/form/templates/ComboButton.html +13 -10
- data/dojo/dijit/form/templates/DropDownButton.html +18 -20
- data/dojo/dijit/form/templates/HorizontalSlider.html +7 -7
- data/dojo/dijit/form/templates/Select.html +7 -8
- data/dojo/dijit/form/templates/Spinner.html +23 -24
- data/dojo/dijit/form/templates/TextBox.html +6 -4
- data/dojo/dijit/form/templates/ValidationTextBox.html +8 -10
- data/dojo/dijit/form/templates/VerticalSlider.html +8 -9
- data/dojo/dijit/icons/commonIcons.css +164 -0
- data/dojo/dijit/icons/commonIcons_rtl.css +127 -0
- data/dojo/dijit/icons/editorIcons.css +78 -0
- data/dojo/dijit/icons/editorIcons_rtl.css +23 -0
- data/dojo/dijit/icons/images/commonIconsObjActDisabled.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActDisabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled8bit.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png +0 -0
- data/dojo/dijit/icons/images/commonIconsObjActEnabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/editorIconsDisabled.png +0 -0
- data/dojo/dijit/icons/images/editorIconsDisabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/editorIconsEnabled.png +0 -0
- data/dojo/dijit/icons/images/editorIconsEnabled_rtl.png +0 -0
- data/dojo/dijit/icons/images/loadingAnimation_rtl.gif +0 -0
- data/dojo/dijit/layout/AccordionContainer.js +214 -104
- data/dojo/dijit/layout/BorderContainer.js +50 -38
- data/dojo/dijit/layout/ContentPane.js +13 -11
- data/dojo/dijit/layout/ScrollingTabController.js +29 -28
- data/dojo/dijit/layout/SplitContainer.js +0 -1
- data/dojo/dijit/layout/StackContainer.js +15 -22
- data/dojo/dijit/layout/StackController.js +15 -18
- data/dojo/dijit/layout/TabContainer.js +2 -0
- data/dojo/dijit/layout/TabController.js +21 -17
- data/dojo/dijit/layout/_LayoutWidget.js +0 -1
- data/dojo/dijit/layout/templates/AccordionButton.html +5 -3
- data/dojo/dijit/layout/templates/ScrollingTabController.html +13 -8
- data/dojo/dijit/layout/templates/_ScrollingTabControllerButton.html +4 -5
- data/dojo/dijit/layout/templates/_TabButton.html +10 -9
- data/dojo/dijit/nls/ro/common.js +7 -0
- data/dojo/dijit/nls/ro/loading.js +5 -0
- data/dojo/dijit/robot.js +0 -97
- data/dojo/dijit/robotx.js +1 -1
- data/dojo/dijit/templates/Calendar.html +6 -6
- data/dojo/dijit/templates/CheckedMenuItem.html +3 -4
- data/dojo/dijit/templates/ColorPalette.html +4 -3
- data/dojo/dijit/templates/Dialog.html +1 -1
- data/dojo/dijit/templates/Menu.html +1 -1
- data/dojo/dijit/templates/MenuBarItem.html +1 -1
- data/dojo/dijit/templates/MenuItem.html +3 -3
- data/dojo/dijit/templates/MenuSeparator.html +6 -2
- data/dojo/dijit/templates/ProgressBar.html +1 -2
- data/dojo/dijit/templates/TimePicker.html +1 -1
- data/dojo/dijit/templates/TitlePane.html +8 -6
- data/dojo/dijit/templates/TreeNode.html +3 -3
- data/dojo/dijit/tests/Tree.html +16 -30
- data/dojo/dijit/tests/Tree_with_JRS.html +33 -27
- data/dojo/dijit/tests/Widget-placeAt.html +6 -6
- data/dojo/dijit/tests/_Container.html +1 -1
- data/dojo/dijit/tests/_Templated-widgetsInTemplate.html +2 -2
- data/dojo/dijit/tests/_Widget-attr.html +26 -7
- data/dojo/dijit/tests/_Widget-connect-performance.html +1 -1
- data/dojo/dijit/tests/_Widget-deferredConnect.html +1 -1
- data/dojo/dijit/tests/_Widget-lifecycle.html +1 -1
- data/dojo/dijit/tests/_Widget-ondijitclick.html +1 -1
- data/dojo/dijit/tests/_Widget-subscribe.html +1 -1
- data/dojo/dijit/tests/_altCalendar.html +12 -11
- data/dojo/dijit/tests/_base/module.js +5 -9
- data/dojo/dijit/tests/_base/place.html +2 -1
- data/dojo/dijit/tests/_base/robot/FocusManager.html +0 -2
- data/dojo/dijit/tests/_base/robot/focus_mouse.html +0 -1
- data/dojo/dijit/tests/_base/robot/popup.html +0 -1
- data/dojo/dijit/tests/_base/robot/typematic.html +72 -0
- data/dojo/dijit/tests/_base/tabindex.html +1 -1
- data/dojo/dijit/tests/_base/test_FocusManager.html +3 -2
- data/dojo/dijit/tests/_base/test_focusWidget.html +1 -1
- data/dojo/dijit/tests/_base/test_typematic.html +10 -3
- data/dojo/dijit/tests/_testCommon.js +28 -12
- data/dojo/dijit/tests/bidi.html +188 -0
- data/dojo/dijit/tests/editor/BackForwardState.html +2 -2
- data/dojo/dijit/tests/editor/EnterKeyHandling.html +31 -11
- data/dojo/dijit/tests/editor/_Editor.html +5 -4
- data/dojo/dijit/tests/editor/nls_8859-2.html +4 -4
- data/dojo/dijit/tests/editor/nls_sjis.html +5 -5
- data/dojo/dijit/tests/editor/nls_utf8.html +2 -2
- data/dojo/dijit/tests/editor/robot/BackForwardState.html +8 -9
- data/dojo/dijit/tests/editor/robot/Editor_FontChoice.html +282 -757
- data/dojo/dijit/tests/editor/robot/Editor_FullScreen.html +55 -55
- data/dojo/dijit/tests/editor/robot/Editor_LinkDialog.html +502 -123
- data/dojo/dijit/tests/editor/robot/Editor_NewPage.html +11 -11
- data/dojo/dijit/tests/editor/robot/Editor_ViewSource.html +56 -56
- data/dojo/dijit/tests/editor/robot/Editor_a11y.html +14 -14
- data/dojo/dijit/tests/editor/robot/Editor_misc.html +120 -4
- data/dojo/dijit/tests/editor/robot/Editor_mouse.html +4 -4
- data/dojo/dijit/tests/editor/robot/EnterKeyHandling.html +128 -16
- data/dojo/dijit/tests/editor/test_CustomPlugin.html +4 -4
- data/dojo/dijit/tests/editor/test_Editor.html +103 -70
- data/dojo/dijit/tests/editor/test_FontChoice.html +19 -5
- data/dojo/dijit/tests/editor/test_FullScreen.html +2 -2
- data/dojo/dijit/tests/editor/test_LinkDialog.html +2 -2
- data/dojo/dijit/tests/editor/test_NewPage.html +2 -2
- data/dojo/dijit/tests/editor/test_Print.html +2 -2
- data/dojo/dijit/tests/editor/test_TabIndent.html +2 -2
- data/dojo/dijit/tests/editor/test_ToggleDir.html +2 -2
- data/dojo/dijit/tests/editor/test_ToggleDir_rtl.html +2 -2
- data/dojo/dijit/tests/editor/test_ViewSource.html +2 -2
- data/dojo/dijit/tests/editor/test_resize.html +1 -1
- data/dojo/dijit/tests/form/Form.html +30 -16
- data/dojo/dijit/tests/form/FormInvalid.html +4 -4
- data/dojo/dijit/tests/form/TextBox_sizes.html +532 -0
- data/dojo/dijit/tests/form/TextBox_sizes.js +456 -0
- data/dojo/dijit/tests/form/_autoComplete.html +35 -15
- data/dojo/dijit/tests/form/module.js +25 -1
- data/dojo/dijit/tests/form/robot/Button_a11y.html +27 -14
- data/dojo/dijit/tests/form/robot/Button_mouse.html +429 -18
- data/dojo/dijit/tests/form/robot/DateTextBox.html +31 -34
- data/dojo/dijit/tests/form/robot/Form.html +3 -4
- data/dojo/dijit/tests/form/robot/Select.html +410 -0
- data/dojo/dijit/tests/form/robot/Slider_a11y.html +27 -28
- data/dojo/dijit/tests/form/robot/Slider_mouse.html +29 -29
- data/dojo/dijit/tests/form/robot/Spinner_a11y.html +88 -51
- data/dojo/dijit/tests/form/robot/Spinner_mouse.html +36 -37
- data/dojo/dijit/tests/form/robot/Textarea.html +178 -0
- data/dojo/dijit/tests/form/robot/TimeTextBox.html +81 -0
- data/dojo/dijit/tests/form/robot/_autoComplete_a11y.html +128 -47
- data/dojo/dijit/tests/form/robot/_autoComplete_mouse.html +171 -24
- data/dojo/dijit/tests/form/robot/test_validate.html +362 -102
- data/dojo/dijit/tests/form/robot/validationMessages.html +470 -0
- data/dojo/dijit/tests/form/runTests.html +9 -0
- data/dojo/dijit/tests/form/test_Button.html +56 -10
- data/dojo/dijit/tests/form/test_CheckBox.html +212 -61
- data/dojo/dijit/tests/form/test_ComboBox_destroy.html +2 -2
- data/dojo/dijit/tests/form/test_DateTextBox.html +17 -12
- data/dojo/dijit/tests/form/test_Form_onsubmit.html +2 -2
- data/dojo/dijit/tests/form/test_MultiSelect.html +7 -7
- data/dojo/dijit/tests/form/test_Select.html +180 -97
- data/dojo/dijit/tests/form/test_SimpleTextarea.html +16 -11
- data/dojo/dijit/tests/form/test_Slider.html +4 -4
- data/dojo/dijit/tests/form/test_Spinner.html +10 -11
- data/dojo/dijit/tests/form/test_Textarea.html +80 -76
- data/dojo/dijit/tests/form/test_TimeTextBox.html +2 -2
- data/dojo/dijit/tests/form/test_validStatePerformance.html +6 -6
- data/dojo/dijit/tests/form/test_validate.html +34 -23
- data/dojo/dijit/tests/form/test_validationState.html +8 -8
- data/dojo/dijit/tests/general-module.js +1 -0
- data/dojo/dijit/tests/helpers.js +2 -2
- data/dojo/dijit/tests/i18n/calendar.html +2 -2
- data/dojo/dijit/tests/i18n/currency.html +1 -1
- data/dojo/dijit/tests/i18n/date.html +1 -1
- data/dojo/dijit/tests/i18n/digit.html +1 -1
- data/dojo/dijit/tests/i18n/module.js +6 -6
- data/dojo/dijit/tests/i18n/number.html +1 -1
- data/dojo/dijit/tests/i18n/textbox.html +1 -1
- data/dojo/dijit/tests/i18n/time.html +1 -1
- data/dojo/dijit/tests/images/copy.gif +0 -0
- data/dojo/dijit/tests/images/cut.gif +0 -0
- data/dojo/dijit/tests/images/note.gif +0 -0
- data/dojo/dijit/tests/images/paste.gif +0 -0
- data/dojo/dijit/tests/infrastructure-module.js +7 -7
- data/dojo/dijit/tests/layout/AccordionContainer.html +81 -23
- data/dojo/dijit/tests/layout/ContentPane.html +40 -40
- data/dojo/dijit/tests/layout/ContentPaneLayout.html +6 -6
- data/dojo/dijit/tests/layout/TabContainer.html +20 -20
- data/dojo/dijit/tests/layout/getResponse.php +1 -1
- data/dojo/dijit/tests/layout/module.js +9 -2
- data/dojo/dijit/tests/layout/nestedStack.html +1 -1
- data/dojo/dijit/tests/layout/robot/AccordionContainer_a11y.html +68 -0
- data/dojo/dijit/tests/layout/robot/AccordionContainer_mouse.html +53 -0
- data/dojo/dijit/tests/layout/robot/BorderContainer.html +358 -0
- data/dojo/dijit/tests/layout/robot/TabContainer_a11y.html +29 -12
- data/dojo/dijit/tests/layout/robot/TabContainer_mouse.html +19 -13
- data/dojo/dijit/tests/layout/test_AccordionContainer.html +12 -8
- data/dojo/dijit/tests/layout/test_AccordionContainerDestroy.html +3 -3
- data/dojo/dijit/tests/layout/test_BorderContainer.html +21 -19
- data/dojo/dijit/tests/layout/test_BorderContainer_complex.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_experimental.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_full.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_nested.html +2 -2
- data/dojo/dijit/tests/layout/test_BorderContainer_prog.html +2 -2
- data/dojo/dijit/tests/layout/test_ContentPane.html +7 -7
- data/dojo/dijit/tests/layout/test_ContentPane_prog.html +4 -4
- data/dojo/dijit/tests/layout/test_Gui.html +2 -2
- data/dojo/dijit/tests/layout/test_LayoutContainer.html +2 -2
- data/dojo/dijit/tests/layout/test_SplitContainer.html +1 -1
- data/dojo/dijit/tests/layout/test_StackContainer.html +6 -6
- data/dojo/dijit/tests/layout/test_StackContainer_code.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer.html +10 -10
- data/dojo/dijit/tests/layout/test_TabContainerTitlePane.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_noLayout.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_prog.html +2 -2
- data/dojo/dijit/tests/layout/test_TabContainer_remote.html +2 -2
- data/dojo/dijit/tests/layout/test_refreshOnShow.html +2 -2
- data/dojo/dijit/tests/robot/Calendar_a11y.html +6 -7
- data/dojo/dijit/tests/robot/ColorPalette.html +38 -21
- data/dojo/dijit/tests/robot/Dialog_a11y.html +58 -17
- data/dojo/dijit/tests/robot/Dialog_mouse.html +0 -1
- data/dojo/dijit/tests/robot/InlineEditBox.html +135 -24
- data/dojo/dijit/tests/robot/Menu_a11y.html +7 -7
- data/dojo/dijit/tests/robot/Menu_mouse.html +2 -11
- data/dojo/dijit/tests/robot/TitlePane.html +20 -20
- data/dojo/dijit/tests/robot/Toolbar.html +3 -4
- data/dojo/dijit/tests/robot/TooltipDialog_a11y.html +233 -110
- data/dojo/dijit/tests/robot/TooltipDialog_mouse.html +121 -0
- data/dojo/dijit/tests/robot/Tooltip_a11y.html +15 -15
- data/dojo/dijit/tests/robot/Tooltip_mouse.html +0 -1
- data/dojo/dijit/tests/robot/Tree_a11y.html +74 -1
- data/dojo/dijit/tests/robot/Tree_dnd.html +5 -5
- data/dojo/dijit/tests/robot/Tree_dnd_multiParent.html +4 -4
- data/dojo/dijit/tests/robot/_Widget-deferredConnect.html +0 -1
- data/dojo/dijit/tests/robot/_Widget-ondijitclick_a11y.html +0 -1
- data/dojo/dijit/tests/robot/_Widget-ondijitclick_mouse.html +0 -1
- data/dojo/dijit/tests/test.html +1 -1
- data/dojo/dijit/tests/test_Calendar.html +4 -4
- data/dojo/dijit/tests/test_ColorPalette.html +3 -3
- data/dojo/dijit/tests/test_ColorPalette_quirks.html +5 -0
- data/dojo/dijit/tests/test_Declaration.html +2 -2
- data/dojo/dijit/tests/test_Dialog.html +65 -4
- data/dojo/dijit/tests/test_Dialog_focusDestroy.html +2 -2
- data/dojo/dijit/tests/test_InlineEditBox.html +14 -5
- data/dojo/dijit/tests/test_Menu.html +10 -8
- data/dojo/dijit/tests/test_Menu_iframe.html +1 -1
- data/dojo/dijit/tests/test_ProgressBar.html +2 -2
- data/dojo/dijit/tests/test_TitlePane.html +18 -18
- data/dojo/dijit/tests/test_Toolbar.html +2 -2
- data/dojo/dijit/tests/test_Tooltip.html +3 -3
- data/dojo/dijit/tests/test_TooltipDialog.html +20 -10
- data/dojo/dijit/tests/test_Tree.html +26 -20
- data/dojo/dijit/tests/test_Tree_Notification_API_Support.html +2 -2
- data/dojo/dijit/tests/test_bgIframe.html +2 -2
- data/dojo/dijit/tests/test_instantiate.html +2 -2
- data/dojo/dijit/tests/tree/module.js +2 -2
- data/dojo/dijit/tests/tree/test_CustomLabel.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_DnD.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_Programmatic.html +2 -2
- data/dojo/dijit/tests/tree/test_Tree_v1.html +3 -3
- data/dojo/dijit/themes/a11y/colors3x4-rtl.png +0 -0
- data/dojo/dijit/themes/a11y/colors3x4.png +0 -0
- data/dojo/dijit/themes/a11y/colors7x10-rtl.png +0 -0
- data/dojo/dijit/themes/a11y/colors7x10.png +0 -0
- data/dojo/dijit/themes/claro/Calendar.css +257 -0
- data/dojo/dijit/themes/claro/Calendar_rtl.css +19 -0
- data/dojo/dijit/themes/claro/ColorPalette.css +44 -0
- data/dojo/dijit/themes/claro/Common.css +79 -0
- data/dojo/dijit/themes/claro/Dialog.css +212 -0
- data/dojo/dijit/themes/claro/Dialog_rtl.css +10 -0
- data/dojo/dijit/themes/claro/Editor.css +56 -0
- data/dojo/dijit/themes/claro/Editor_rtl.css +7 -0
- data/dojo/dijit/themes/claro/InlineEditBox.css +23 -0
- data/dojo/dijit/themes/claro/Menu.css +182 -0
- data/dojo/dijit/themes/claro/Menu_rtl.css +9 -0
- data/dojo/dijit/themes/claro/ProgressBar.css +53 -0
- data/dojo/dijit/themes/claro/TimePicker.css +125 -0
- data/dojo/dijit/themes/claro/TimePicker_rtl.css +10 -0
- data/dojo/dijit/themes/claro/TitlePane.css +73 -0
- data/dojo/dijit/themes/claro/TitlePane_rtl.css +4 -0
- data/dojo/dijit/themes/claro/Toolbar.css +170 -0
- data/dojo/dijit/themes/claro/Tree.css +122 -0
- data/dojo/dijit/themes/claro/claro.css +29 -0
- data/dojo/dijit/themes/claro/claro_rtl.css +15 -0
- data/dojo/dijit/themes/claro/document.css +109 -0
- data/dojo/dijit/themes/claro/form/Button.css +168 -0
- data/dojo/dijit/themes/claro/form/Button_rtl.css +22 -0
- data/dojo/dijit/themes/claro/form/Checkbox.css +77 -0
- data/dojo/dijit/themes/claro/form/Common.css +176 -0
- data/dojo/dijit/themes/claro/form/Common_rtl.css +10 -0
- data/dojo/dijit/themes/claro/form/NumberSpinner.css +143 -0
- data/dojo/dijit/themes/claro/form/RadioButton.css +82 -0
- data/dojo/dijit/themes/claro/form/Select.css +124 -0
- data/dojo/dijit/themes/claro/form/Select_rtl.css +4 -0
- data/dojo/dijit/themes/claro/form/Slider.css +359 -0
- data/dojo/dijit/themes/claro/form/Slider_rtl.css +31 -0
- data/dojo/dijit/themes/claro/form/images/button.png +0 -0
- data/dojo/dijit/themes/claro/form/images/buttonArrows.png +0 -0
- data/dojo/dijit/themes/claro/form/images/button_grad_d.png +0 -0
- data/dojo/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png +0 -0
- data/dojo/dijit/themes/claro/form/images/checkboxRadioButtonStates.png +0 -0
- data/dojo/dijit/themes/claro/form/images/commonFormArrows.png +0 -0
- data/dojo/dijit/themes/claro/form/images/error.png +0 -0
- data/dojo/dijit/themes/claro/form/images/formHighlight.png +0 -0
- data/dojo/dijit/themes/claro/form/images/shadow.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderHorizontal.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderThumbs.png +0 -0
- data/dojo/dijit/themes/claro/form/images/sliderVertical.png +0 -0
- data/dojo/dijit/themes/claro/form/images/textBox_back.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarArrows.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarArrows8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/calendarContainerImages.png +0 -0
- data/dojo/dijit/themes/claro/images/checkmarkNoBorder.gif +0 -0
- data/dojo/dijit/themes/claro/images/checkmarkNoBorder.png +0 -0
- data/dojo/dijit/themes/claro/images/commonHighlight.png +0 -0
- data/dojo/dijit/themes/claro/images/dialogCloseIcon.png +0 -0
- data/dojo/dijit/themes/claro/images/dialogCloseIcon8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/dnd.png +0 -0
- data/dojo/dijit/themes/claro/images/loading.gif +0 -0
- data/dojo/dijit/themes/claro/images/loadingAnimation.gif +0 -0
- data/dojo/dijit/themes/claro/images/menuHighlight.png +0 -0
- data/dojo/dijit/themes/claro/images/progressBarAnim.gif +0 -0
- data/dojo/dijit/themes/claro/images/progressBarEmpty.png +0 -0
- data/dojo/dijit/themes/claro/images/progressBarFull.png +0 -0
- data/dojo/dijit/themes/claro/images/spriteArrows.png +0 -0
- data/dojo/dijit/themes/claro/images/titlebar.png +0 -0
- data/dojo/dijit/themes/claro/images/tooltip.png +0 -0
- data/dojo/dijit/themes/claro/images/tooltip8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpandImages.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpandImages8bit.png +0 -0
- data/dojo/dijit/themes/claro/images/treeExpand_loading.gif +0 -0
- data/dojo/dijit/themes/claro/layout/AccordionContainer.css +108 -0
- data/dojo/dijit/themes/claro/layout/BorderContainer.css +134 -0
- data/dojo/dijit/themes/claro/layout/ContentPane.css +40 -0
- data/dojo/dijit/themes/claro/layout/TabContainer.css +439 -0
- data/dojo/dijit/themes/claro/layout/TabContainer_rtl.css +77 -0
- data/dojo/dijit/themes/claro/layout/images/accordion.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/splitterHorizontalHover.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/splitterVerticalHover.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabBottom.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabClose.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabLeft.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabNested.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabRight.png +0 -0
- data/dojo/dijit/themes/claro/layout/images/tabTop.png +0 -0
- data/dojo/dijit/themes/dijit.css +633 -452
- data/dojo/dijit/themes/dijit_rtl.css +70 -59
- data/dojo/dijit/themes/nihilo/Calendar.css +0 -14
- data/dojo/dijit/themes/nihilo/Dialog.css +2 -5
- data/dojo/dijit/themes/nihilo/Editor.css +3 -58
- data/dojo/dijit/themes/nihilo/Editor_rtl.css +2 -6
- data/dojo/dijit/themes/nihilo/TimePicker.css +1 -11
- data/dojo/dijit/themes/nihilo/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/nihilo/TitlePane.css +3 -32
- data/dojo/dijit/themes/nihilo/Toolbar.css +2 -2
- data/dojo/dijit/themes/nihilo/Tree.css +2 -20
- data/dojo/dijit/themes/nihilo/Tree_rtl.css +10 -16
- data/dojo/dijit/themes/nihilo/form/Button.css +36 -20
- data/dojo/dijit/themes/nihilo/form/Common.css +11 -37
- data/dojo/dijit/themes/nihilo/form/Select.css +4 -11
- data/dojo/dijit/themes/nihilo/form/Slider.css +0 -8
- data/dojo/dijit/themes/nihilo/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/nihilo/layout/AccordionContainer_rtl.css +1 -1
- data/dojo/dijit/themes/nihilo/layout/TabContainer.css +12 -23
- data/dojo/dijit/themes/nihilo/nihilo.css +2 -1
- data/dojo/dijit/themes/nihilo/nihilo_rtl.css +3 -2
- data/dojo/dijit/themes/soria/Calendar.css +0 -14
- data/dojo/dijit/themes/soria/Dialog.css +2 -5
- data/dojo/dijit/themes/soria/Editor.css +3 -57
- data/dojo/dijit/themes/soria/Editor_rtl.css +2 -7
- data/dojo/dijit/themes/soria/TimePicker.css +0 -10
- data/dojo/dijit/themes/soria/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/soria/TitlePane.css +4 -30
- data/dojo/dijit/themes/soria/Toolbar.css +2 -2
- data/dojo/dijit/themes/soria/Tree.css +3 -20
- data/dojo/dijit/themes/soria/Tree_rtl.css +11 -12
- data/dojo/dijit/themes/soria/form/Button.css +38 -29
- data/dojo/dijit/themes/soria/form/Common.css +10 -36
- data/dojo/dijit/themes/soria/form/Select.css +4 -11
- data/dojo/dijit/themes/soria/form/Slider.css +0 -8
- data/dojo/dijit/themes/soria/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/soria/layout/AccordionContainer_rtl.css +1 -1
- data/dojo/dijit/themes/soria/layout/TabContainer.css +17 -34
- data/dojo/dijit/themes/soria/soria.css +2 -2
- data/dojo/dijit/themes/soria/soria_rtl.css +3 -2
- data/dojo/dijit/themes/themeTester.html +215 -100
- data/dojo/dijit/themes/tundra/Calendar.css +9 -20
- data/dojo/dijit/themes/tundra/Calendar_rtl.css +2 -2
- data/dojo/dijit/themes/tundra/Dialog.css +6 -25
- data/dojo/dijit/themes/tundra/Dialog_rtl.css +1 -1
- data/dojo/dijit/themes/tundra/Editor.css +5 -58
- data/dojo/dijit/themes/tundra/Editor_rtl.css +4 -9
- data/dojo/dijit/themes/tundra/Menu.css +2 -2
- data/dojo/dijit/themes/tundra/Menu_rtl.css +1 -6
- data/dojo/dijit/themes/tundra/TimePicker.css +0 -10
- data/dojo/dijit/themes/tundra/TimePicker_rtl.css +4 -0
- data/dojo/dijit/themes/tundra/TitlePane.css +4 -38
- data/dojo/dijit/themes/tundra/TitlePane_rtl.css +1 -1
- data/dojo/dijit/themes/tundra/Toolbar.css +12 -2
- data/dojo/dijit/themes/tundra/Tree.css +3 -22
- data/dojo/dijit/themes/tundra/Tree_rtl.css +9 -9
- data/dojo/dijit/themes/tundra/form/Button.css +35 -59
- data/dojo/dijit/themes/tundra/form/Common.css +12 -84
- data/dojo/dijit/themes/tundra/form/RadioButton.css +11 -13
- data/dojo/dijit/themes/tundra/form/Select.css +15 -22
- data/dojo/dijit/themes/tundra/form/Slider.css +0 -7
- data/dojo/dijit/themes/tundra/form/Slider_rtl.css +12 -12
- data/dojo/dijit/themes/tundra/layout/AccordionContainer.css +2 -4
- data/dojo/dijit/themes/tundra/layout/SplitContainer.css +0 -4
- data/dojo/dijit/themes/tundra/layout/TabContainer.css +19 -44
- data/dojo/dijit/themes/tundra/layout/TabContainer_rtl.css +21 -9
- data/dojo/dijit/themes/tundra/tundra.css +2 -1
- data/dojo/dijit/themes/tundra/tundra_rtl.css +2 -1
- data/dojo/dijit/tree/TreeStoreModel.js +13 -12
- data/dojo/dojo/DeferredList.js +66 -78
- data/dojo/dojo/LICENSE +1 -1
- data/dojo/dojo/NodeList-fx.js +92 -18
- data/dojo/dojo/Stateful.js +123 -0
- data/dojo/dojo/_base.js +1 -1
- data/dojo/dojo/_base/Deferred.js +211 -301
- data/dojo/dojo/_base/NodeList.js +28 -5
- data/dojo/dojo/_base/_loader/bootstrap.js +5 -16
- data/dojo/dojo/_base/_loader/hostenv_browser.js +42 -24
- data/dojo/dojo/_base/connect.js +13 -13
- data/dojo/dojo/_base/declare.js +81 -17
- data/dojo/dojo/_base/fx.js +75 -77
- data/dojo/dojo/_base/html.js +20 -10
- data/dojo/dojo/_base/json.js +2 -1
- data/dojo/dojo/back.js +7 -0
- data/dojo/dojo/cache.js +7 -8
- data/dojo/dojo/cldr/monetary.js +7 -4
- data/dojo/dojo/cldr/nls/ar/gregorian.js +7 -3
- data/dojo/dojo/cldr/nls/ar/hebrew.js +12 -16
- data/dojo/dojo/cldr/nls/ar/islamic-civil.js +124 -49
- data/dojo/dojo/cldr/nls/ar/islamic.js +61 -70
- data/dojo/dojo/cldr/nls/buddhist.js +236 -0
- data/dojo/dojo/cldr/nls/ca/gregorian.js +152 -148
- data/dojo/dojo/cldr/nls/cs/gregorian.js +110 -100
- data/dojo/dojo/cldr/nls/cs/number.js +1 -1
- data/dojo/dojo/cldr/nls/currency.js +0 -1
- data/dojo/dojo/cldr/nls/da/gregorian.js +144 -145
- data/dojo/dojo/cldr/nls/de/gregorian.js +22 -24
- data/dojo/dojo/cldr/nls/el/gregorian.js +15 -14
- data/dojo/dojo/cldr/nls/en-au/gregorian.js +3 -0
- data/dojo/dojo/cldr/nls/en-ca/gregorian.js +10 -0
- data/dojo/dojo/cldr/nls/en/gregorian.js +12 -10
- data/dojo/dojo/cldr/nls/es/gregorian.js +19 -20
- data/dojo/dojo/cldr/nls/fi/gregorian.js +15 -14
- data/dojo/dojo/cldr/nls/fr/gregorian.js +15 -17
- data/dojo/dojo/cldr/nls/gregorian.js +14 -8
- data/dojo/dojo/cldr/nls/he/gregorian.js +48 -49
- data/dojo/dojo/cldr/nls/he/hebrew.js +23 -56
- data/dojo/dojo/cldr/nls/he/islamic.js +17 -19
- data/dojo/dojo/cldr/nls/hebrew.js +133 -124
- data/dojo/dojo/cldr/nls/hu/gregorian.js +20 -17
- data/dojo/dojo/cldr/nls/islamic.js +132 -129
- data/dojo/dojo/cldr/nls/it/gregorian.js +143 -145
- data/dojo/dojo/cldr/nls/ja/gregorian.js +17 -17
- data/dojo/dojo/cldr/nls/ko/gregorian.js +19 -19
- data/dojo/dojo/cldr/nls/nb/gregorian.js +141 -143
- data/dojo/dojo/cldr/nls/nl/gregorian.js +12 -14
- data/dojo/dojo/cldr/nls/pl/gregorian.js +149 -143
- data/dojo/dojo/cldr/nls/pt-pt/gregorian.js +83 -39
- data/dojo/dojo/cldr/nls/pt/gregorian.js +14 -16
- data/dojo/dojo/cldr/nls/ru/gregorian.js +138 -146
- data/dojo/dojo/cldr/nls/sk/gregorian.js +15 -6
- data/dojo/dojo/cldr/nls/sl/gregorian.js +12 -11
- data/dojo/dojo/cldr/nls/sv/gregorian.js +23 -17
- data/dojo/dojo/cldr/nls/th/buddhist.js +10 -13
- data/dojo/dojo/cldr/nls/th/gregorian.js +140 -136
- data/dojo/dojo/cldr/nls/tr/gregorian.js +13 -13
- data/dojo/dojo/cldr/nls/zh-tw/gregorian.js +15 -2
- data/dojo/dojo/cldr/nls/zh/gregorian.js +17 -14
- data/dojo/dojo/cldr/supplemental.js +10 -10
- data/dojo/dojo/currency.js +27 -14
- data/dojo/dojo/data/ItemFileReadStore.js +22 -21
- data/dojo/dojo/date/locale.js +9 -9
- data/dojo/dojo/date/stamp.js +3 -5
- data/dojo/dojo/dnd/Container.js +3 -1
- data/dojo/dojo/dnd/Manager.js +1 -1
- data/dojo/dojo/dnd/Moveable.js +2 -2
- data/dojo/dojo/dnd/Mover.js +5 -5
- data/dojo/dojo/dnd/Source.js +9 -8
- data/dojo/dojo/dnd/common.js +1 -1
- data/dojo/dojo/dojo.js +6 -18
- data/dojo/dojo/hash.js +20 -15
- data/dojo/dojo/html.js +7 -6
- data/dojo/dojo/nls/ro/colors.js +155 -0
- data/dojo/dojo/number.js +67 -56
- data/dojo/dojo/parser.js +167 -47
- data/dojo/dojo/resources/dojo.css +5 -6
- data/dojo/dojo/robot.js +85 -11
- data/dojo/dojo/tests/NodeList-fx.html +58 -38
- data/dojo/dojo/tests/Stateful.js +36 -0
- data/dojo/dojo/tests/_base/Deferred.js +95 -0
- data/dojo/dojo/tests/_base/NodeList.html +9 -1
- data/dojo/dojo/tests/_base/declare.js +65 -3
- data/dojo/dojo/tests/_base/fx.html +55 -49
- data/dojo/dojo/tests/_base/html.html +7 -0
- data/dojo/dojo/tests/_base/html_rtl.html +1 -0
- data/dojo/dojo/tests/cache.js +7 -0
- data/dojo/dojo/tests/currency.js +3 -2
- data/dojo/dojo/tests/date/locale.js +7 -3
- data/dojo/dojo/tests/date/stamp.js +4 -0
- data/dojo/dojo/tests/dnd/robot/test_dnd.html +1 -1
- data/dojo/dojo/tests/hash.js +26 -1
- data/dojo/dojo/tests/module.js +3 -0
- data/dojo/dojo/tests/number.js +7 -0
- data/dojo/dojo/tests/parser.html +90 -10
- data/dojo/dojo/tests/uacss.js +10 -0
- data/dojo/{dijit/tests/_base → dojo/tests/uacss}/sniffQuirks.html +5 -4
- data/dojo/{dijit/tests/_base → dojo/tests/uacss}/sniffStandards.html +4 -4
- data/dojo/dojo/tests/window.js +11 -0
- data/dojo/{dijit/tests/_base → dojo/tests/window}/test_scroll.html +155 -229
- data/dojo/{dijit/tests/_base/test_scrollStrictDTD.html → dojo/tests/window/test_scrollNoDTD.html} +30 -35
- data/dojo/{dijit/tests/_base/test_scrollNoDTD.html → dojo/tests/window/test_scrollStrictDTD.html} +30 -31
- data/dojo/{dijit/tests/_base → dojo/tests/window}/viewport.html +8 -10
- data/dojo/dojo/tests/window/viewportQuirks.html +5 -0
- data/dojo/dojo/uacss.js +63 -0
- data/dojo/dojo/window.js +132 -0
- data/dojo/dojox/LICENSE +1 -1
- data/dojo/dojox/atom/io/model.js +1 -1
- data/dojo/dojox/atom/widget/nls/ro/FeedEntryEditor.js +7 -0
- data/dojo/dojox/atom/widget/nls/ro/FeedEntryViewer.js +12 -0
- data/dojo/dojox/atom/widget/nls/ro/FeedViewerEntry.js +4 -0
- data/dojo/dojox/atom/widget/nls/ro/PeopleEditor.js +6 -0
- data/dojo/dojox/av/FLAudio.js +62 -49
- data/dojo/dojox/av/resources/audio.swf +0 -0
- data/dojo/dojox/av/tests/test_FLAudio.html +15 -9
- data/dojo/dojox/charting/Chart2D.js +609 -51
- data/dojo/dojox/charting/DataChart.js +72 -63
- data/dojo/dojox/charting/DataSeries.js +183 -0
- data/dojo/dojox/charting/Element.js +201 -3
- data/dojo/dojox/charting/Series.js +47 -4
- data/dojo/dojox/charting/Theme.js +590 -189
- data/dojo/dojox/charting/action2d/Base.js +31 -5
- data/dojo/dojox/charting/action2d/Highlight.js +37 -12
- data/dojo/dojox/charting/action2d/Magnify.js +39 -13
- data/dojo/dojox/charting/action2d/MoveSlice.js +42 -13
- data/dojo/dojox/charting/action2d/Shake.js +36 -12
- data/dojo/dojox/charting/action2d/Tooltip.js +205 -7
- data/dojo/dojox/charting/axis2d/Base.js +46 -7
- data/dojo/dojox/charting/axis2d/Default.js +414 -238
- data/dojo/dojox/charting/axis2d/Invisible.js +290 -0
- data/dojo/dojox/charting/axis2d/common.js +53 -7
- data/dojo/dojox/charting/plot2d/Areas.js +2 -0
- data/dojo/dojox/charting/plot2d/Bars.js +94 -63
- data/dojo/dojox/charting/plot2d/Base.js +143 -53
- data/dojo/dojox/charting/plot2d/Bubble.js +139 -65
- data/dojo/dojox/charting/plot2d/Candlesticks.js +143 -80
- data/dojo/dojox/charting/plot2d/ClusteredBars.js +60 -58
- data/dojo/dojox/charting/plot2d/ClusteredColumns.js +59 -57
- data/dojo/dojox/charting/plot2d/Columns.js +78 -60
- data/dojo/dojox/charting/plot2d/Default.js +280 -121
- data/dojo/dojox/charting/plot2d/Grid.js +181 -19
- data/dojo/dojox/charting/plot2d/Lines.js +4 -0
- data/dojo/dojox/charting/plot2d/Markers.js +4 -0
- data/dojo/dojox/charting/plot2d/MarkersOnly.js +4 -0
- data/dojo/dojox/charting/plot2d/OHLC.js +127 -69
- data/dojo/dojox/charting/plot2d/Pie.js +200 -105
- data/dojo/dojox/charting/plot2d/Scatter.js +194 -8
- data/dojo/dojox/charting/plot2d/Stacked.js +71 -46
- data/dojo/dojox/charting/plot2d/StackedAreas.js +4 -0
- data/dojo/dojox/charting/plot2d/StackedBars.js +75 -64
- data/dojo/dojox/charting/plot2d/StackedColumns.js +75 -64
- data/dojo/dojox/charting/plot2d/StackedLines.js +4 -0
- data/dojo/dojox/charting/plot2d/_PlotEvents.js +123 -0
- data/dojo/dojox/charting/plot2d/common.js +44 -35
- data/dojo/dojox/charting/scaler/primitive.js +6 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars1.html +85 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars2.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars3.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars4.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bars5.html +82 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble1.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble2.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble3.html +66 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble4.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_bubble6.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns1.html +85 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns2.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns3.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns4.html +79 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_columns5.html +82 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie1.html +58 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie2.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie3.html +53 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie4.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie7.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie8.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pie9.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_pieA.html +52 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatter1.html +71 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatter2.html +65 -0
- data/dojo/dojox/charting/tests/gradients/test_grad_scatterB.html +54 -0
- data/dojo/dojox/charting/tests/stock.json +0 -1
- data/dojo/dojox/charting/tests/test_DataChart.html +3 -1
- data/dojo/dojox/charting/tests/test_DataSeries.html +216 -0
- data/dojo/dojox/charting/tests/test_anim2d.html +2 -0
- data/dojo/dojox/charting/tests/test_axes.html +81 -0
- data/dojo/dojox/charting/tests/test_axisZoomControl.html +91 -0
- data/dojo/dojox/charting/tests/test_bars.html +4 -2
- data/dojo/dojox/charting/tests/test_chart2d.html +14 -8
- data/dojo/dojox/charting/tests/test_chart2d_dynamics.html +4 -2
- data/dojo/dojox/charting/tests/test_chart2d_updating.html +2 -0
- data/dojo/dojox/charting/tests/test_cylinders.html +4 -2
- data/dojo/dojox/charting/tests/test_event2d.html +6 -3
- data/dojo/dojox/charting/tests/test_fireEvent.html +204 -0
- data/dojo/dojox/charting/tests/test_labels2d.html +57 -3
- data/dojo/dojox/charting/tests/test_nulls.html +89 -0
- data/dojo/dojox/charting/tests/test_pie2d.html +7 -4
- data/dojo/dojox/charting/tests/test_plot_order.html +96 -0
- data/dojo/dojox/charting/tests/test_rotatedLabels.html +85 -0
- data/dojo/dojox/charting/tests/test_scaler.html +4 -2
- data/dojo/dojox/charting/tests/test_series_order.html +88 -0
- data/dojo/dojox/charting/tests/test_sparklines.html +2 -0
- data/dojo/dojox/charting/tests/test_tension.html +55 -0
- data/dojo/dojox/charting/tests/test_themes.html +270 -115
- data/dojo/dojox/charting/tests/test_widget2d.html +3 -1
- data/dojo/dojox/charting/tests/test_win2d.html +6 -4
- data/dojo/dojox/charting/tests/theme_preview.html +69 -0
- data/dojo/dojox/charting/themes/Charged.js +91 -0
- data/dojo/dojox/charting/themes/Chris.js +77 -0
- data/dojo/dojox/charting/themes/Electric.js +92 -0
- data/dojo/dojox/charting/themes/Ireland.js +2 -2
- data/dojo/dojox/charting/themes/Julie.js +70 -0
- data/dojo/dojox/charting/themes/PlotKit/base.js +53 -0
- data/dojo/dojox/charting/themes/PlotKit/blue.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/cyan.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/green.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/orange.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/purple.js +6 -35
- data/dojo/dojox/charting/themes/PlotKit/red.js +6 -35
- data/dojo/dojox/charting/themes/PrimaryColors.js +14 -0
- data/dojo/dojox/charting/themes/Renkoo.js +85 -0
- data/dojo/dojox/charting/themes/ThreeD.js +49 -0
- data/dojo/dojox/charting/themes/Tom.js +87 -0
- data/dojo/dojox/charting/themes/Tufte.js +45 -50
- data/dojo/dojox/charting/themes/gradientGenerator.js +83 -0
- data/dojo/dojox/charting/widget/Chart2D.js +21 -1
- data/dojo/dojox/charting/widget/Legend.js +10 -1
- data/dojo/dojox/color/Palette.js +124 -17
- data/dojo/dojox/css3/fx.js +183 -0
- data/dojo/dojox/data/AndOrReadStore.js +4 -2
- data/dojo/dojox/data/ClientFilter.js +1 -1
- data/dojo/dojox/data/FlickrRestStore.js +86 -88
- data/dojo/dojox/data/HtmlStore.js +1 -1
- data/dojo/dojox/data/ItemExplorer.js +3 -3
- data/dojo/dojox/data/PersevereStore.js +1 -1
- data/dojo/dojox/data/QueryReadStore.js +6 -9
- data/dojo/dojox/data/ServiceStore.js +9 -2
- data/dojo/dojox/data/StoreExplorer.js +2 -2
- data/dojo/dojox/data/XmlStore.js +1 -1
- data/dojo/dojox/data/demos/stores/LazyLoadJSIStore.js +1 -1
- data/dojo/dojox/data/s3/proxy.example-php +73 -73
- data/dojo/dojox/data/tests/stores/FlickrRestStore.js +1 -1
- data/dojo/dojox/data/util/JsonQuery.js +0 -3
- data/dojo/dojox/date/README +7 -1
- data/dojo/dojox/date/buddhist/locale.js +5 -5
- data/dojo/dojox/date/hebrew/locale.js +41 -18
- data/dojo/dojox/date/hebrew/numerals.js +17 -13
- data/dojo/dojox/date/islamic.js +0 -1
- data/dojo/dojox/date/islamic/Date.js +17 -19
- data/dojo/dojox/date/islamic/locale.js +37 -16
- data/dojo/dojox/date/posix.js +1 -1
- data/dojo/dojox/date/tests/hebrew/Date.js +2 -2
- data/dojo/dojox/date/tests/islamic/Date.js +200 -17
- data/dojo/dojox/date/timezone.js +59 -62
- data/dojo/dojox/dnd/BoundingBoxController.js +130 -0
- data/dojo/dojox/dnd/README +22 -0
- data/dojo/dojox/dnd/Selector.js +159 -0
- data/dojo/dojox/dnd/tests/robot/test_selector.html +71 -0
- data/dojo/dojox/dnd/tests/test_selector.html +57 -0
- data/dojo/dojox/drawing/Drawing.js +24 -17
- data/dojo/dojox/drawing/_base.js +0 -1
- data/dojo/dojox/drawing/annotations/Angle.js +17 -10
- data/dojo/dojox/drawing/annotations/BoxShadow.js +92 -4
- data/dojo/dojox/drawing/annotations/Label.js +6 -6
- data/dojo/dojox/drawing/defaults.js +44 -27
- data/dojo/dojox/drawing/library/icons.js +7 -0
- data/dojo/dojox/drawing/manager/Anchors.js +22 -10
- data/dojo/dojox/drawing/manager/Canvas.js +6 -5
- data/dojo/dojox/drawing/manager/Mouse.js +45 -19
- data/dojo/dojox/drawing/manager/Stencil.js +29 -26
- data/dojo/dojox/drawing/manager/_registry.js +4 -1
- data/dojo/dojox/drawing/manager/keys.js +1 -1
- data/dojo/dojox/drawing/plugins/_Plugin.js +1 -1
- data/dojo/dojox/drawing/plugins/drawing/Grid.js +15 -4
- data/dojo/dojox/drawing/plugins/drawing/Silverlight.js +1 -1
- data/dojo/dojox/drawing/plugins/tools/Pan.js +29 -5
- data/dojo/dojox/drawing/plugins/tools/Zoom.js +4 -4
- data/dojo/dojox/drawing/stencil/Ellipse.js +1 -1
- data/dojo/dojox/drawing/stencil/Line.js +0 -17
- data/dojo/dojox/drawing/stencil/Path.js +17 -13
- data/dojo/dojox/drawing/stencil/Text.js +26 -7
- data/dojo/dojox/drawing/stencil/_Base.js +163 -159
- data/dojo/dojox/drawing/tests/drawing.html +34 -35
- data/dojo/dojox/drawing/tests/test_drawing.html +20 -21
- data/dojo/dojox/drawing/tests/test_shadows.html +18 -18
- data/dojo/dojox/drawing/tools/Ellipse.js +20 -6
- data/dojo/dojox/drawing/tools/Line.js +19 -9
- data/dojo/dojox/drawing/tools/Rect.js +21 -7
- data/dojo/dojox/drawing/tools/TextBlock.js +37 -29
- data/dojo/dojox/drawing/tools/custom/Axes.js +249 -97
- data/dojo/dojox/drawing/tools/custom/Vector.js +298 -6
- data/dojo/dojox/drawing/ui/Button.js +45 -20
- data/dojo/dojox/drawing/ui/Toolbar.js +94 -29
- data/dojo/dojox/drawing/ui/Tooltip.js +3 -3
- data/dojo/dojox/drawing/ui/dom/Pan.js +2 -2
- data/dojo/dojox/drawing/ui/dom/Toolbar.js +4 -4
- data/dojo/dojox/drawing/util/common.js +20 -14
- data/dojo/dojox/drawing/util/oo.js +1 -1
- data/dojo/dojox/dtl/Context.js +8 -7
- data/dojo/dojox/dtl/_DomTemplated.js +5 -1
- data/dojo/dojox/dtl/_Templated.js +38 -3
- data/dojo/dojox/dtl/_base.js +17 -8
- data/dojo/dojox/dtl/tests/context.js +11 -2
- data/dojo/dojox/editor/README +95 -2
- data/dojo/dojox/editor/plugins/Blockquote.js +506 -0
- data/dojo/dojox/editor/plugins/Breadcrumb.js +31 -25
- data/dojo/dojox/editor/plugins/CollapsibleToolbar.js +174 -0
- data/dojo/dojox/editor/plugins/EntityPalette.js +112 -290
- data/dojo/dojox/editor/plugins/FindReplace.js +490 -163
- data/dojo/dojox/editor/plugins/InsertAnchor.js +430 -0
- data/dojo/dojox/editor/plugins/NormalizeIndentOutdent.js +3 -51
- data/dojo/dojox/editor/plugins/NormalizeStyle.js +551 -0
- data/dojo/dojox/editor/plugins/PasteFromWord.js +206 -0
- data/dojo/dojox/editor/plugins/Preview.js +1 -1
- data/dojo/dojox/editor/plugins/Save.js +4 -4
- data/dojo/dojox/editor/plugins/ShowBlockNodes.js +1 -1
- data/dojo/dojox/editor/plugins/Smiley.js +48 -22
- data/dojo/dojox/editor/plugins/StatusBar.js +172 -0
- data/dojo/dojox/editor/plugins/TablePlugins.js +454 -394
- data/dojo/dojox/editor/plugins/TextColor.js +191 -0
- data/dojo/dojox/editor/plugins/ToolbarLineBreak.js +6 -1
- data/dojo/dojox/editor/plugins/_SmileyPalette.js +113 -333
- data/dojo/dojox/editor/plugins/nls/Blockquote.js +3 -0
- data/dojo/dojox/editor/plugins/nls/CollapsibleToolbar.js +4 -0
- data/dojo/dojox/editor/plugins/nls/FindReplace.js +15 -5
- data/dojo/dojox/editor/plugins/nls/InsertAnchor.js +8 -0
- data/dojo/dojox/editor/plugins/nls/PasteFromWord.js +6 -0
- data/dojo/dojox/editor/plugins/nls/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/TextColor.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ar/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ca/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/cs/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/da/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/de/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/el/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/es/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/fi/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/fr/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/he/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/hu/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/it/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ja/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ko/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/nb/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/nl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pt-pt/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/pt/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/ro/Blockquote.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Breadcrumb.js +10 -0
- data/dojo/dojox/editor/plugins/nls/ro/CollapsibleToolbar.js +5 -0
- data/dojo/dojox/editor/plugins/nls/ro/FindReplace.js +22 -0
- data/dojo/dojox/editor/plugins/nls/ro/InsertAnchor.js +9 -0
- data/dojo/dojox/editor/plugins/nls/ro/InsertEntity.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/PageBreak.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/PasteFromWord.js +7 -0
- data/dojo/dojox/editor/plugins/nls/ro/Preview.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Save.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/ShowBlockNodes.js +4 -0
- data/dojo/dojox/editor/plugins/nls/ro/Smiley.js +22 -0
- data/dojo/dojox/editor/plugins/nls/ro/TableDialog.js +30 -0
- data/dojo/dojox/editor/plugins/nls/ro/TextColor.js +5 -0
- data/dojo/dojox/editor/plugins/nls/ro/latinEntities.js +257 -0
- data/dojo/dojox/editor/plugins/nls/ru/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sk/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sl/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/sv/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/th/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/tr/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/zh-tw/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/nls/zh/FindReplace.js +14 -4
- data/dojo/dojox/editor/plugins/nls/zh/TableDialog.js +0 -1
- data/dojo/dojox/editor/plugins/resources/css/Blockquote.css +17 -0
- data/dojo/dojox/editor/plugins/resources/css/CollapsibleToolbar.css +173 -0
- data/dojo/dojox/editor/plugins/resources/css/FindReplace.css +56 -51
- data/dojo/dojox/editor/plugins/resources/css/InsertAnchor.css +17 -0
- data/dojo/dojox/editor/plugins/resources/css/InsertEntity.css +15 -37
- data/dojo/dojox/editor/plugins/resources/css/PasteFromWord.css +30 -0
- data/dojo/dojox/editor/plugins/resources/css/Smiley.css +20 -59
- data/dojo/dojox/editor/plugins/resources/css/StatusBar.css +75 -0
- data/dojo/dojox/editor/plugins/resources/css/TextColor.css +7 -0
- data/dojo/dojox/editor/plugins/resources/editorPlugins.css +1 -1
- data/dojo/dojox/editor/plugins/resources/icons/anchor.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/{findIconDisabled.gif → anchorDisabled.gif} +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/blockquote.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/blockquoteDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/{replaceIconDisabled.gif → claro/close.gif} +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/editorIconsFindReplaceDisabled.png +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/editorIconsFindReplaceEnabled.png +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/nihilo/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/pasteFromWord.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/pasteFromWordDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/smileyDisabled.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/soria/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/tundra/close.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/anchor.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/claro/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/claro/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/nihilo/sidebar.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/soria/sidebar.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/collapse.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/expand.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/images/tundra/sidebar.gif +0 -0
- data/dojo/dojox/editor/tests/editorBlockquote.html +118 -0
- data/dojo/dojox/editor/tests/editorCollapsibleToolbar.html +131 -0
- data/dojo/dojox/editor/tests/editorFindReplace.html +7 -3
- data/dojo/dojox/editor/tests/editorInsertAnchor.html +119 -0
- data/dojo/dojox/editor/tests/editorNormalizeStyle.html +163 -0
- data/dojo/dojox/editor/tests/editorPasteFromWord.html +98 -0
- data/dojo/dojox/editor/tests/editorSmileyPlugin.html +66 -8
- data/dojo/dojox/editor/tests/editorStatusBar.html +232 -0
- data/dojo/dojox/editor/tests/editorTablePlugs.html +80 -74
- data/dojo/dojox/editor/tests/editorTextColor.html +97 -0
- data/dojo/dojox/editor/tests/module.js +15 -0
- data/dojo/dojox/editor/tests/robot/Editor_Smiley.html +60 -0
- data/dojo/dojox/editor/tests/runTests.html +9 -0
- data/dojo/dojox/editor/tests/testPluginsAll.html +206 -0
- data/dojo/dojox/embed/Flash.js +94 -77
- data/dojo/dojox/flash/_base.js +3 -3
- data/dojo/dojox/form/BusyButton.js +2 -2
- data/dojo/dojox/form/CheckedMultiSelect.js +3 -16
- data/dojo/dojox/form/FileInput.js +4 -0
- data/dojo/dojox/form/FileInputAuto.js +12 -4
- data/dojo/dojox/form/FilePickerTextBox.js +5 -8
- data/dojo/dojox/form/FileUploader.js +1378 -1331
- data/dojo/dojox/form/ListInput.js +5 -5
- data/dojo/dojox/form/PasswordValidator.js +3 -3
- data/dojo/dojox/form/RangeSlider.js +3 -2
- data/dojo/dojox/form/Rating.js +0 -1
- data/dojo/dojox/form/TimeSpinner.js +1 -2
- data/dojo/dojox/form/manager/_Mixin.js +21 -11
- data/dojo/dojox/form/nls/ro/PasswordValidator.js +5 -0
- data/dojo/dojox/form/resources/CheckedMultiSelect.css +30 -0
- data/dojo/dojox/form/resources/CheckedMultiSelect.html +1 -1
- data/dojo/dojox/form/resources/FileInput.css +30 -0
- data/dojo/dojox/form/resources/FilePickerTextBox.html +2 -2
- data/dojo/dojox/form/resources/FileUploader.css +0 -24
- data/dojo/dojox/form/resources/HorizontalRangeSlider.html +38 -38
- data/dojo/dojox/form/resources/RangeSlider.css +9 -1
- data/dojo/dojox/form/resources/VerticalRangeSlider.html +49 -50
- data/dojo/dojox/form/resources/_CheckedMultiSelectItem.html +1 -1
- data/dojo/dojox/form/resources/uploader.swf +0 -0
- data/dojo/dojox/form/tests/UploadFile.php.disabled +25 -19
- data/dojo/dojox/form/tests/test_FileUploader.html +38 -38
- data/dojo/dojox/form/tests/test_FileUploaderDialog.html +0 -1
- data/dojo/dojox/form/tests/test_FileUploaderForm.html +5 -3
- data/dojo/dojox/form/tests/test_FileUploaderTabs.html +147 -0
- data/dojo/dojox/form/tests/test_MultiComboBox.html +1 -1
- data/dojo/dojox/form/tests/test_RangeSlider.html +1 -2
- data/dojo/dojox/form/tests/test_TimeSpinner.html +3 -30
- data/dojo/dojox/fx/Timeline.js +210 -0
- data/dojo/dojox/fx/ext-dojo/complex.js +169 -0
- data/dojo/dojox/fx/ext-dojo/reverse.js +98 -0
- data/dojo/dojox/fx/scroll.js +13 -6
- data/dojo/dojox/fx/tests/test_Timeline.html +173 -0
- data/dojo/dojox/fx/tests/test_complex.html +87 -0
- data/dojo/dojox/fx/tests/test_reverse.html +100 -0
- data/dojo/dojox/fx/tests/test_transform.html +210 -0
- data/dojo/dojox/fx/text.js +3 -3
- data/dojo/dojox/geo/README +37 -0
- data/dojo/dojox/geo/charting/Map.js +140 -0
- data/dojo/dojox/geo/charting/_Feature.js +169 -0
- data/dojo/dojox/geo/charting/_Marker.js +52 -0
- data/dojo/dojox/geo/charting/_base.js +53 -0
- data/dojo/dojox/geo/charting/resources/Map.css +30 -0
- data/dojo/dojox/geo/charting/resources/data/NOTICES +63 -0
- data/dojo/dojox/geo/charting/resources/data/USStates.json +261 -0
- data/dojo/dojox/geo/charting/resources/img/zoomin.gif +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomin.png +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomout.gif +0 -0
- data/dojo/dojox/geo/charting/resources/img/zoomout.png +0 -0
- data/dojo/dojox/geo/charting/resources/markers/USStates.json +1 -0
- data/dojo/dojox/geo/charting/tests/datastore/dataStore.json +1 -0
- data/dojo/dojox/geo/charting/tests/test_mapWithCharting.html +72 -0
- data/dojo/dojox/geo/charting/tests/test_mapWithLegend.html +63 -0
- data/dojo/dojox/geo/charting/tests/test_maps.html +37 -0
- data/dojo/dojox/geo/charting/widget/Legend.js +62 -0
- data/dojo/dojox/gfx/README +9 -2
- data/dojo/dojox/gfx/README-svgweb +98 -0
- data/dojo/dojox/gfx/VectorText.js +3 -3
- data/dojo/dojox/gfx/_base.js +2 -2
- data/dojo/dojox/gfx/arc.js +1 -1
- data/dojo/dojox/gfx/gradient.js +160 -0
- data/dojo/dojox/gfx/gradutils.js +91 -0
- data/dojo/dojox/gfx/path.js +89 -24
- data/dojo/dojox/gfx/resources/svg2gfx.xsl +53 -14
- data/dojo/dojox/gfx/shape.js +14 -7
- data/dojo/dojox/gfx/svg.js +135 -16
- data/dojo/dojox/gfx/tests/svgweb/README +15 -0
- data/dojo/dojox/gfx/tests/svgweb/sample.html +171 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/COPYING.txt +65 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.htc +1 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.js +1 -0
- data/dojo/dojox/gfx/tests/svgweb/svgweb/src/svg.swf +0 -0
- data/dojo/dojox/gfx/tests/svgweb/test.roundrect.html +39 -0
- data/dojo/dojox/gfx/tests/svgweb/test_arc.html +66 -0
- data/dojo/dojox/gfx/tests/svgweb/test_bezier.html +81 -0
- data/dojo/dojox/gfx/tests/svgweb/test_destroy.html +58 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fill.html +45 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fx.html +104 -0
- data/dojo/dojox/gfx/tests/svgweb/test_fx_shapes.html +123 -0
- data/dojo/dojox/gfx/tests/svgweb/test_gfx.html +565 -0
- data/dojo/dojox/gfx/tests/svgweb/test_gradient.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_group1.html +70 -0
- data/dojo/dojox/gfx/tests/svgweb/test_group2.html +54 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image1.html +80 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image2.html +52 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image3.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image4.html +58 -0
- data/dojo/dojox/gfx/tests/svgweb/test_image5.html +67 -0
- data/dojo/dojox/gfx/tests/svgweb/test_linearGradient.html +75 -0
- data/dojo/dojox/gfx/tests/svgweb/test_linestyle.html +43 -0
- data/dojo/dojox/gfx/tests/svgweb/test_pattern.html +43 -0
- data/dojo/dojox/gfx/tests/svgweb/test_poly.html +49 -0
- data/dojo/dojox/gfx/tests/svgweb/test_resize.html +57 -0
- data/dojo/dojox/gfx/tests/svgweb/test_setPath.html +86 -0
- data/dojo/dojox/gfx/tests/svgweb/test_tbbox.html +113 -0
- data/dojo/dojox/gfx/tests/svgweb/test_text.html +80 -0
- data/dojo/dojox/gfx/tests/svgweb/test_textpath.html +77 -0
- data/dojo/dojox/gfx/tests/svgweb/test_transform.html +99 -0
- data/dojo/dojox/gfx/tests/svgweb/test_utils.html +234 -0
- data/dojo/dojox/gfx/tests/svgweb/test_vectortext_draw.html +64 -0
- data/dojo/dojox/gfx/tests/svgweb/test_vectortext_load.html +97 -0
- data/dojo/dojox/gfx/tests/test_image1.html +1 -4
- data/dojo/dojox/gfx/tests/test_image2.html +5 -5
- data/dojo/dojox/gfx/tests/test_image3.html +2 -2
- data/dojo/dojox/gfx/tests/test_image4.html +2 -2
- data/dojo/dojox/gfx/tests/test_linearGradient.html +2 -1
- data/dojo/dojox/gfx/tests/test_pattern.html +4 -3
- data/dojo/dojox/gfx/tests/test_refproj.html +109 -0
- data/dojo/dojox/gfx/vml.js +52 -57
- data/dojo/dojox/grid/DataGrid.js +17 -6
- data/dojo/dojox/grid/EnhancedGrid.js +24 -6
- data/dojo/dojox/grid/README +57 -0
- data/dojo/dojox/grid/_Builder.js +18 -8
- data/dojo/dojox/grid/_Grid.js +10 -20
- data/dojo/dojox/grid/_View.js +5 -2
- data/dojo/dojox/grid/cells/dijit.js +11 -4
- data/dojo/dojox/grid/enhanced/_Events.js +16 -6
- data/dojo/dojox/grid/enhanced/_Plugin.js +15 -20
- data/dojo/dojox/grid/enhanced/dnd/_DndEvents.js +6 -0
- data/dojo/dojox/grid/enhanced/dnd/_DndMovingManager.js +3 -1
- data/dojo/dojox/grid/enhanced/nls/ar/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/ca/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/da/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/el/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/fi/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/he/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/nb/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/nl/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/pt-pt/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/ro/EnhancedGrid.js +9 -0
- data/dojo/dojox/grid/enhanced/nls/sk/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/sl/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/sv/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/th/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/nls/tr/EnhancedGrid.js +8 -0
- data/dojo/dojox/grid/enhanced/plugins/IndirectSelection.js +5 -5
- data/dojo/dojox/grid/enhanced/plugins/Menu.js +22 -6
- data/dojo/dojox/grid/enhanced/plugins/NestedSorting.js +26 -42
- data/dojo/dojox/grid/enhanced/resources/EnhancedGrid.css +31 -32
- data/dojo/dojox/grid/enhanced/resources/EnhancedGrid_rtl.css +16 -7
- data/dojo/dojox/grid/enhanced/resources/claroEnhancedGrid.css +104 -0
- data/dojo/dojox/grid/enhanced/resources/tundraEnhancedGrid.css +8 -17
- data/dojo/dojox/grid/resources/Grid.css +6 -0
- data/dojo/dojox/grid/resources/Grid_rtl.css +10 -2
- data/dojo/dojox/grid/resources/_Grid.html +1 -1
- data/dojo/dojox/grid/resources/claroGrid.css +216 -0
- data/dojo/dojox/grid/resources/images/header.png +0 -0
- data/dojo/dojox/grid/resources/images/header_shadow.png +0 -0
- data/dojo/dojox/grid/resources/images/row_back.png +0 -0
- data/dojo/dojox/grid/resources/images/td_button_down.png +0 -0
- data/dojo/dojox/grid/tests/enhanced/test_enhanced_grid_claro.html +70 -0
- data/dojo/dojox/grid/tests/robot/7815.html +0 -1
- data/dojo/dojox/grid/tests/robot/DataGrid_a11y.html +6 -1
- data/dojo/dojox/grid/tests/robot/DataGrid_mouse.html +50 -18
- data/dojo/dojox/grid/tests/robot/_DataGrid.html +0 -1
- data/dojo/dojox/grid/tests/robot/stores.js +3 -1
- data/dojo/dojox/grid/tests/test_grid_themes.html +27 -2
- data/dojo/dojox/grid/tests/test_treegrid_model.html +6 -6
- data/dojo/dojox/highlight/languages/_dynamic.js +2 -0
- data/dojo/dojox/highlight/languages/_static.js +1 -1
- data/dojo/dojox/highlight/languages/groovy.js +67 -0
- data/dojo/dojox/highlight/languages/java.js +58 -0
- data/dojo/dojox/highlight/languages/xquery.js +56 -0
- data/dojo/dojox/highlight/tests/test_highlight.html +147 -0
- data/dojo/dojox/html/entities.js +7 -7
- data/dojo/dojox/html/ext-dojo/style.js +460 -0
- data/dojo/dojox/html/format.js +5 -0
- data/dojo/dojox/html/metrics.js +31 -12
- data/dojo/dojox/html/tests/test_style-html.html +310 -0
- data/dojo/dojox/html/tests/test_themes.html +2 -2
- data/dojo/dojox/image/Lightbox.js +70 -28
- data/dojo/dojox/image/resources/Lightbox.css +11 -4
- data/dojo/dojox/image/resources/Lightbox.html +3 -3
- data/dojo/dojox/image/tests/Lightbox.html +2 -2
- data/dojo/dojox/image/tests/test_Lightbox.html +36 -2
- data/dojo/dojox/io/proxy/xip_client.html +1 -1
- data/dojo/dojox/io/proxy/xip_server.html +1 -1
- data/dojo/dojox/jq.js +1 -1
- data/dojo/dojox/json/query.js +7 -7
- data/dojo/dojox/json/ref.js +4 -2
- data/dojo/dojox/lang/README +13 -2
- data/dojo/dojox/lang/async.js +199 -0
- data/dojo/dojox/lang/async/event.js +41 -0
- data/dojo/dojox/lang/async/timeout.js +41 -0
- data/dojo/dojox/lang/async/topic.js +41 -0
- data/dojo/dojox/lang/oo/rearrange.js +1 -1
- data/dojo/dojox/lang/tests/async.js +216 -0
- data/dojo/dojox/lang/tests/docs.js +2 -2
- data/dojo/dojox/lang/tests/main.js +1 -1
- data/dojo/dojox/lang/tests/test_oo_decl.html +52 -3
- data/dojo/dojox/lang/utils.js +52 -9
- data/dojo/dojox/layout/ExpandoPane.js +71 -21
- data/dojo/dojox/layout/FloatingPane.js +7 -4
- data/dojo/dojox/layout/GridContainer.js +453 -920
- data/dojo/dojox/layout/GridContainerLite.js +811 -0
- data/dojo/dojox/layout/README +1 -1
- data/dojo/dojox/layout/ResizeHandle.js +6 -3
- data/dojo/dojox/layout/RotatorContainer.js +1 -1
- data/dojo/dojox/layout/TableContainer.js +7 -0
- data/dojo/dojox/layout/ToggleSplitter.js +2 -2
- data/dojo/dojox/layout/resources/ExpandoPane.css +52 -0
- data/dojo/dojox/layout/resources/ExpandoPane.html +2 -2
- data/dojo/dojox/layout/resources/GridContainer.css +49 -69
- data/dojo/dojox/layout/resources/GridContainer.html +9 -5
- data/dojo/dojox/layout/resources/ResizeHandle.css +18 -0
- data/dojo/dojox/layout/resources/icons/gridcontainer_grip.gif +0 -0
- data/dojo/dojox/layout/resources/icons/resizeRtl.png +0 -0
- data/dojo/dojox/layout/tests/resources/script_dnd.js +158 -0
- data/dojo/dojox/layout/tests/resources/set_complete_dnd.css +61 -0
- data/dojo/dojox/layout/tests/test_ExpandoPane.html +7 -1
- data/dojo/dojox/layout/tests/test_ExpandoPane_prog.html +1 -1
- data/dojo/dojox/layout/tests/test_GridContainer.html +24 -76
- data/dojo/dojox/layout/tests/test_GridContainerColWidths.html +31 -19
- data/dojo/dojox/layout/tests/test_GridContainerLite.html +122 -0
- data/dojo/dojox/layout/tests/test_GridContainerLite_doLayout.html +112 -0
- data/dojo/dojox/layout/tests/test_GridContainerLite_dragRestriction.html +148 -0
- data/dojo/dojox/layout/tests/test_GridContainer_ResizableCol.html +93 -0
- data/dojo/dojox/layout/tests/test_GridContainer_TitlePanes.html +85 -0
- data/dojo/dojox/layout/tests/test_GridContainer_complete_solution.html +103 -0
- data/dojo/dojox/layout/tests/test_GridContainer_dragHandle.html +107 -0
- data/dojo/dojox/layout/tests/{test_GridContainerBC.html → test_GridContainer_in_BorderContainer.html} +27 -61
- data/dojo/dojox/layout/tests/{test_GridContainerBC_prog.html → test_GridContainer_in_BorderContainer_prog.html} +142 -50
- data/dojo/dojox/layout/tests/test_TableContainer.html +2 -2
- data/dojo/dojox/math/BigInteger-ext.js +1 -3
- data/dojo/dojox/math/BigInteger.js +3 -3
- data/dojo/dojox/math/README +0 -3
- data/dojo/dojox/math/_base.js +48 -11
- data/dojo/dojox/math/tests/math.js +19 -1
- data/dojo/dojox/mdnd/AreaManager.js +707 -0
- data/dojo/dojox/mdnd/AutoScroll.js +195 -0
- data/dojo/dojox/mdnd/DropIndicator.js +86 -0
- data/dojo/dojox/mdnd/LazyManager.js +68 -0
- data/dojo/dojox/mdnd/Moveable.js +251 -0
- data/dojo/dojox/mdnd/PureSource.js +208 -0
- data/dojo/dojox/mdnd/README +94 -0
- data/dojo/dojox/mdnd/adapter/DndFromDojo.js +366 -0
- data/dojo/dojox/mdnd/adapter/DndToDojo.js +484 -0
- data/dojo/dojox/mdnd/dropMode/DefaultDropMode.js +333 -0
- data/dojo/dojox/mdnd/dropMode/OverDropMode.js +308 -0
- data/dojo/dojox/mdnd/dropMode/VerticalDropMode.js +343 -0
- data/dojo/dojox/mdnd/resources/dnd.css +93 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_acceptance.html +71 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_autoScroll.html +52 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_defaultDropMode.html +55 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndFromDojo.html +73 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndToDojo.html +93 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_dndToDojo_dndFromDojo.html +70 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_overDropMode.html +57 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_stress.html +83 -0
- data/dojo/dojox/mdnd/tests/functionalTests/test_dnd_verticalDropMode.html +55 -0
- data/dojo/dojox/mdnd/tests/module.js +16 -0
- data/dojo/dojox/mdnd/tests/resources/test_dnd.css +68 -0
- data/dojo/dojox/mdnd/tests/robot/module.js +16 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_acceptance.html +284 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_defaultDropMode.html +101 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_dndFromDojo.html +322 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_dndToDojo.html +198 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_overDropMode.html +272 -0
- data/dojo/dojox/mdnd/tests/robot/test_dnd_verticalDropMode.html +101 -0
- data/dojo/dojox/mdnd/tests/runTests.html +9 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerCoverPresence.html +110 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerManagingDragItems.html +149 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/AreaManagerRegistering.html +124 -0
- data/dojo/dojox/mdnd/tests/unitTests/areaManager/module.js +12 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropIndicator/DropIndicatorTest.html +187 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropIndicator/module.js +8 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/DefaultDropModeTest.html +241 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/FixtureLib.js +87 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/OverDropModeTest.html +195 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/VerticalDropModeTest.html +241 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/module.js +10 -0
- data/dojo/dojox/mdnd/tests/unitTests/dropMode/resources/domElement.html +130 -0
- data/dojo/dojox/mdnd/tests/unitTests/module.js +9 -0
- data/dojo/dojox/mobile.js +4 -0
- data/dojo/dojox/mobile/README +55 -0
- data/dojo/dojox/mobile/_base.js +1451 -0
- data/dojo/dojox/mobile/app.js +3 -0
- data/dojo/dojox/mobile/app/AlertDialog.js +182 -0
- data/dojo/dojox/mobile/app/ImageThumbView.js +254 -0
- data/dojo/dojox/mobile/app/ImageView.js +716 -0
- data/dojo/dojox/mobile/app/List.js +577 -0
- data/dojo/dojox/mobile/app/ListSelector.js +218 -0
- data/dojo/dojox/mobile/app/SceneAssistant.js +56 -0
- data/dojo/dojox/mobile/app/SceneController.js +157 -0
- data/dojo/dojox/mobile/app/StageController.js +137 -0
- data/dojo/dojox/mobile/app/TextBox.js +321 -0
- data/dojo/dojox/mobile/app/_FormWidget.js +294 -0
- data/dojo/dojox/mobile/app/_Widget.js +30 -0
- data/dojo/dojox/mobile/app/_base.js +226 -0
- data/dojo/dojox/mobile/app/_event.js +119 -0
- data/dojo/dojox/mobile/app/compat.js +109 -0
- data/dojo/dojox/mobile/build/build.bat +47 -0
- data/dojo/dojox/mobile/build/build.sh +50 -0
- data/dojo/dojox/mobile/build/profiles/mobile-all.profile.js +36 -0
- data/dojo/dojox/mobile/build/profiles/mobile.profile.js +40 -0
- data/dojo/dojox/mobile/compat.js +399 -0
- data/dojo/dojox/mobile/parser.js +80 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/assistants/main-assistant.js +123 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/main-scene.html +23 -0
- data/dojo/dojox/mobile/tests/complexListApp/app/views/main/rowTemplate.html +15 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/images/i-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/complexListApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/complexListApp/styles/style.css +38 -0
- data/dojo/dojox/mobile/tests/dialogApp/app/assistants/main-assistant.js +75 -0
- data/dojo/dojox/mobile/tests/dialogApp/app/views/main/main-scene.html +10 -0
- data/dojo/dojox/mobile/tests/dialogApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-image-thumb-view-assistant.js +198 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-image-view-assistant.js +170 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-group-assistant.js +123 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-selection-assistant.js +54 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/flickr-search-text-assistant.js +119 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/image-view-assistant.js +92 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/assistants/main-assistant.js +40 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-image-thumb-view/flickr-image-thumb-view-scene.html +17 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-image-view/flickr-image-view-scene.html +10 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/flickr-search-group-scene.html +19 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-group/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-selection/flickr-search-selection-scene.html +7 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-selection/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/emptyTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/flickr-search-group-scene.html +19 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/flickr-search-text/rowTemplate.html +15 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/image-view/image-view-scene.html +23 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/main/main-scene.html +6 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/app/views/main/rowTemplate.html +8 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/chris1_lg.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/chris2_lg.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/imageHoriz.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/imageVert.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/images/square.jpg +0 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/index.html +39 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/styles/styles.css +13 -0
- data/dojo/dojox/mobile/tests/imageControlsApp/view-resources.json +14 -0
- data/dojo/dojox/mobile/tests/images/a-icon-1-41x41.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-10.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-11.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-12.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-13.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-14.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-15.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-16.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-17.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-18.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-2-41x41.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/images/a-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-10.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-2.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-3.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-4.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-5.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-6.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-7.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-8.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-9.png +0 -0
- data/dojo/dojox/mobile/tests/images/i-icon-all.png +0 -0
- data/dojo/dojox/mobile/tests/images/icon-1.png +0 -0
- data/dojo/dojox/mobile/tests/images/not-images.png +0 -0
- data/dojo/dojox/mobile/tests/images/red-button-bg.png +0 -0
- data/dojo/dojox/mobile/tests/images/red-button-sel-bg.png +0 -0
- data/dojo/dojox/mobile/tests/images/widget-bg.png +0 -0
- data/dojo/dojox/mobile/tests/index.html +55 -0
- data/dojo/dojox/mobile/tests/inputApp/app/assistants/text-input-assistant.js +21 -0
- data/dojo/dojox/mobile/tests/inputApp/app/views/text-input/text-input-scene.html +50 -0
- data/dojo/dojox/mobile/tests/inputApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/main-assistant.js +41 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/second-assistant.js +32 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/assistants/third-assistant.js +33 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/main/main-scene.html +16 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/second/second-scene.html +12 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/app/views/third/third-scene.html +13 -0
- data/dojo/dojox/mobile/tests/multiSceneApp/index.html +37 -0
- data/dojo/dojox/mobile/tests/simpleApp/app/assistants/main-assistant.js +23 -0
- data/dojo/dojox/mobile/tests/simpleApp/app/views/main/main-scene.html +3 -0
- data/dojo/dojox/mobile/tests/simpleApp/index.html +36 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/assistants/main-assistant.js +66 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/views/main/main-scene.html +14 -0
- data/dojo/dojox/mobile/tests/simpleListApp/app/views/main/rowTemplate.html +3 -0
- data/dojo/dojox/mobile/tests/simpleListApp/index.html +36 -0
- data/dojo/dojox/mobile/tests/test_Android-ButtonList.html +68 -0
- data/dojo/dojox/mobile/tests/test_Android-EdgeToEdge.html +50 -0
- data/dojo/dojox/mobile/tests/test_Android-EdgeToEdgeCategory.html +46 -0
- data/dojo/dojox/mobile/tests/test_Android-Icon.html +58 -0
- data/dojo/dojox/mobile/tests/test_Android-RoundRectList.html +60 -0
- data/dojo/dojox/mobile/tests/test_Android-Settings.html +104 -0
- data/dojo/dojox/mobile/tests/test_Android-Switch.html +23 -0
- data/dojo/dojox/mobile/tests/test_Android-TabContainer.html +139 -0
- data/dojo/dojox/mobile/tests/test_Android-VariableHeightList.html +100 -0
- data/dojo/dojox/mobile/tests/test_ajax-html.html +34 -0
- data/dojo/dojox/mobile/tests/test_ajax-json.html +34 -0
- data/dojo/dojox/mobile/tests/test_anchor-label.html +74 -0
- data/dojo/dojox/mobile/tests/test_bookmarkable.html +112 -0
- data/dojo/dojox/mobile/tests/test_buttons.html +21 -0
- data/dojo/dojox/mobile/tests/test_dynamic-icons.html +53 -0
- data/dojo/dojox/mobile/tests/test_dynamic-items.html +98 -0
- data/dojo/dojox/mobile/tests/test_dynamic-view.html +58 -0
- data/dojo/dojox/mobile/tests/test_hash-parameter.html +71 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Animation.html +81 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Button.html +41 -0
- data/dojo/dojox/mobile/tests/test_iPhone-ButtonList.html +50 -0
- data/dojo/dojox/mobile/tests/test_iPhone-EdgeToEdge.html +47 -0
- data/dojo/dojox/mobile/tests/test_iPhone-EdgeToEdgeCategory.html +46 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Heading.html +24 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Icon.html +58 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconMulti.html +36 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconSingle.html +35 -0
- data/dojo/dojox/mobile/tests/test_iPhone-IconSingleBelow.html +35 -0
- data/dojo/dojox/mobile/tests/test_iPhone-ResultList.html +65 -0
- data/dojo/dojox/mobile/tests/test_iPhone-RoundRect.html +27 -0
- data/dojo/dojox/mobile/tests/test_iPhone-RoundRectList.html +54 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Settings.html +168 -0
- data/dojo/dojox/mobile/tests/test_iPhone-Switch.html +23 -0
- data/dojo/dojox/mobile/tests/test_iPhone-TabContainer.html +169 -0
- data/dojo/dojox/mobile/tests/test_iPhone-VariableHeightList.html +99 -0
- data/dojo/dojox/mobile/tests/test_progress-indicator.html +83 -0
- data/dojo/dojox/mobile/tests/view-sample.html +38 -0
- data/dojo/dojox/mobile/tests/view1.html +14 -0
- data/dojo/dojox/mobile/tests/view1.json +18 -0
- data/dojo/dojox/mobile/tests/view2.html +9 -0
- data/dojo/dojox/mobile/tests/view2.json +31 -0
- data/dojo/dojox/mobile/tests/view3.html +16 -0
- data/dojo/dojox/mobile/tests/view3.json +44 -0
- data/dojo/dojox/mobile/themes/android/android-compat.css +284 -0
- data/dojo/dojox/mobile/themes/android/android.css +738 -0
- data/dojo/dojox/mobile/themes/android/compat/arrow-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/arrow-button-head.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/blue-button-sel-bg.png +0 -0
- data/dojo/dojox/{editor/plugins/resources/icons/findReplaceDisabled.gif → mobile/themes/android/compat/gray-arrow.png} +0 -0
- data/dojo/dojox/mobile/themes/android/compat/icon-content-heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-blue-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-gray-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-green-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/switch-knob-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-orange-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/android/compat/tab-sel-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/buttons-compat.css +30 -0
- data/dojo/dojox/mobile/themes/buttons.css +191 -0
- data/dojo/dojox/mobile/themes/compat/check-off-button.png +0 -0
- data/dojo/dojox/mobile/themes/compat/check-on-button.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-darkblue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/compat/small-red-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/arrow-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/arrow-button-head.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/blue-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/blue-button-sel-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/edge-categ-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/gray-arrow.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/icon-content-heading-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-blue-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-gray-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/switch-knob-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/tab-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/tab-sel-button-bg.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/compat/white-arrow.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/images/thumb-overlay.png +0 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-app-compat.css +24 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-app.css +281 -0
- data/dojo/dojox/mobile/themes/iphone/iphone-compat.css +290 -0
- data/dojo/dojox/mobile/themes/iphone/iphone.css +751 -0
- data/dojo/dojox/rails.js +143 -0
- data/dojo/dojox/rails/README +41 -0
- data/dojo/dojox/rails/tests/module.js +7 -0
- data/dojo/dojox/rails/tests/plugd/trigger.js +187 -0
- data/dojo/dojox/rails/tests/runTests.html +9 -0
- data/dojo/dojox/rails/tests/success_response.html +1 -0
- data/dojo/dojox/rails/tests/test_rails.html +320 -0
- data/dojo/dojox/robot/recorder.js +3 -3
- data/dojo/dojox/rpc/SMDLibrary/wikipedia.smd +49 -49
- data/dojo/dojox/rpc/tests/resources/query +5 -5
- data/dojo/dojox/sketch/Figure.js +2 -2
- data/dojo/dojox/sketch/UndoStack.js +2 -2
- data/dojo/dojox/validate/creditCard.js +1 -1
- data/dojo/dojox/widget/Calendar.js +18 -18
- data/dojo/dojox/widget/CalendarViews.js +2 -2
- data/dojo/dojox/widget/ColorPicker.js +248 -73
- data/dojo/dojox/widget/ColorPicker/ColorPicker.css +32 -19
- data/dojo/dojox/widget/ColorPicker/ColorPicker.html +71 -30
- data/dojo/dojox/widget/ColorPicker/images/hueHandleA11y.png +0 -0
- data/dojo/dojox/widget/DataPresentation.js +126 -60
- data/dojo/dojox/widget/Dialog.js +2 -1
- data/dojo/dojox/widget/Dialog/Dialog.css +7 -0
- data/dojo/dojox/widget/DynamicTooltip.js +3 -3
- data/dojo/dojox/widget/FeedPortlet.js +9 -9
- data/dojo/dojox/widget/FilePicker.js +2 -2
- data/dojo/dojox/widget/Portlet.js +8 -0
- data/dojo/dojox/widget/Portlet/Portlet.css +2 -2
- data/dojo/dojox/widget/RollingList.js +11 -8
- data/dojo/dojox/widget/Rotator.js +7 -1
- data/dojo/dojox/widget/Standby.js +32 -5
- data/dojo/dojox/widget/Toaster.js +3 -1
- data/dojo/dojox/widget/UpgradeBar.js +20 -20
- data/dojo/dojox/widget/Wizard.js +2 -2
- data/dojo/dojox/widget/Wizard/Wizard.css +5 -0
- data/dojo/dojox/widget/gauge/_Gauge.js +2 -2
- data/dojo/dojox/widget/nls/ColorPicker.js +4 -2
- data/dojo/dojox/widget/nls/ar/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/ca/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/da/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/el/ColorPicker.js +10 -0
- data/dojo/dojox/widget/nls/fi/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/he/ColorPicker.js +10 -0
- data/dojo/dojox/widget/nls/ko/ColorPicker.js +7 -1
- data/dojo/dojox/widget/nls/nb/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/nl/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/pt-pt/ColorPicker.js +8 -0
- data/dojo/dojox/widget/nls/ro/ColorPicker.js +5 -0
- data/dojo/dojox/widget/nls/ro/FilePicker.js +6 -0
- data/dojo/dojox/widget/nls/ro/Wizard.js +6 -0
- data/dojo/dojox/widget/nls/sk/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/sl/ColorPicker.js +3 -0
- data/dojo/dojox/widget/nls/sv/ColorPicker.js +6 -0
- data/dojo/dojox/widget/nls/tr/ColorPicker.js +10 -0
- data/dojo/dojox/widget/rotator/ThumbnailController.js +96 -0
- data/dojo/dojox/widget/tests/test_ColorPicker.html +10 -1
- data/dojo/dojox/widget/tests/test_DataPresentation.html +7 -3
- data/dojo/dojox/widget/tests/test_PortletInGridContainer.html +27 -37
- data/dojo/dojox/widget/tests/test_PortletInGridContainer.js +2 -1
- data/dojo/dojox/widget/tests/test_PortletInGridContainerColumns.html +10 -8
- data/dojo/dojox/widget/tests/test_Rotator.html +2 -0
- data/dojo/dojox/widget/tests/test_Rotator_ThumbnailController.html +63 -0
- data/dojo/dojox/widget/tests/test_Standby.html +4 -4
- data/dojo/dojox/wire/Wire.js +32 -4
- data/dojo/dojox/wire/demos/markup/demo_ActionChaining.html +1 -1
- data/dojo/dojox/wire/demos/markup/demo_ConditionalActions.html +6 -6
- data/dojo/dojox/wire/demos/markup/demo_TopicWiring.html +1 -1
- data/dojo/dojox/xml/parser.js +2 -2
- data/dojo/util/LICENSE +1 -1
- data/dojo/util/buildscripts/build.bat +3 -3
- data/dojo/util/buildscripts/build.js +4 -2
- data/dojo/util/buildscripts/build_notice.txt +2 -4
- data/dojo/util/buildscripts/build_release.sh +6 -6
- data/dojo/util/buildscripts/cdnBuild.sh +39 -0
- data/dojo/util/buildscripts/cdnBuild.txt +13 -13
- data/dojo/util/buildscripts/cldr/README +1 -1
- data/dojo/util/buildscripts/cldr/build.xml +1 -1
- data/dojo/util/buildscripts/cldr/calendar.xsl +98 -74
- data/dojo/util/buildscripts/cldr/ldml/CatalogManager.properties +16 -16
- data/dojo/util/buildscripts/cldr/ldml/catalog +1 -1
- data/dojo/util/buildscripts/cldr/ldml/core.zip +0 -0
- data/dojo/util/buildscripts/copyright.txt +1 -1
- data/dojo/util/buildscripts/jslib/buildUtil.js +9 -0
- data/dojo/util/buildscripts/jslib/dojoGuardEnd.jsfrag +8 -7
- data/dojo/util/buildscripts/profiles/baseplus.profile.js +21 -0
- data/dojo/util/buildscripts/profiles/demos-all.profile.js +7 -0
- data/dojo/util/buildscripts/tests/conditionalTest.js +1 -1
- data/dojo/util/checkstyle/checkstyle.bat +3 -3
- data/dojo/util/checkstyle/checkstyleUtil.js +68 -4
- data/dojo/util/checkstyle/runCheckstyle.js +24 -2
- data/dojo/util/docscripts/LICENSE +1 -1
- data/dojo/util/docscripts/cheat/lib.js +1 -1
- data/dojo/util/docscripts/lib/parser2/JavaScriptArray.php +2 -2
- data/dojo/util/docscripts/makeCix.php +1 -1
- data/dojo/util/doh/_browserRunner.js +25 -4
- data/dojo/util/doh/_rhinoRunner.js +1 -0
- data/dojo/util/doh/robot/DOHRobot.jar +0 -0
- data/dojo/util/doh/robot/DOHRobot.java +32 -7
- data/dojo/util/doh/runner.html +2 -2
- data/dojo/util/doh/runner.js +14 -5
- data/dojo/util/jsdoc/LICENSE +1 -1
- data/dojo/util/migration/dijitCss14to15.sed +67 -0
- data/dojo/util/shrinksafe/shrinksafe.jar +0 -0
- data/dojo/util/shrinksafe/src/org/dojotoolkit/shrinksafe/resources/Messages.properties +1 -1
- data/dojo/util/shrinksafe/tests/escapeunicode.js +1 -0
- data/dojo/util/shrinksafe/tests/module.js +14 -5
- data/lib/dojo_src.rb +2 -5
- metadata +4940 -4373
- data/dojo/dijit/tests/_base/viewportQuirks.html +0 -5
- data/dojo/dijit/themes/nihilo/form/ComboBox.css +0 -12
- data/dojo/dijit/themes/nihilo/form/Common_rtl.css +0 -7
- data/dojo/dijit/themes/nihilo/images/editor.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/nihilo/images/editor_rtl.gif +0 -0
- data/dojo/dijit/themes/soria/form/ComboBox.css +0 -12
- data/dojo/dijit/themes/soria/form/Common_rtl.css +0 -7
- data/dojo/dijit/themes/soria/images/editor.gif +0 -0
- data/dojo/dijit/themes/soria/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/soria/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/soria/images/editor_rtl.gif +0 -0
- data/dojo/dijit/themes/templateThemeTest.html +0 -178
- data/dojo/dijit/themes/tundra/form/Common_rtl.css +0 -6
- data/dojo/dijit/themes/tundra/images/editor.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorDisabled.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorDisabled_rtl.gif +0 -0
- data/dojo/dijit/themes/tundra/images/editorMaster.png +0 -0
- data/dojo/dijit/themes/tundra/images/editor_rtl.gif +0 -0
- data/dojo/dojo/cldr/nls/de-de/number.js +0 -4
- data/dojo/dojo/cldr/nls/en-us/currency.js +0 -5
- data/dojo/dojo/cldr/nls/en-us/number.js +0 -4
- data/dojo/dojo/cldr/nls/es-es/gregorian.js +0 -7
- data/dojo/dojo/cldr/nls/es-es/number.js +0 -4
- data/dojo/dojo/cldr/nls/islamic-civil.js +0 -96
- data/dojo/dojo/cldr/nls/it-it/gregorian.js +0 -5
- data/dojo/dojo/cldr/nls/ja-jp/number.js +0 -4
- data/dojo/dojo/cldr/nls/ko-kr/gregorian.js +0 -6
- data/dojo/dojo/cldr/nls/ko-kr/number.js +0 -4
- data/dojo/dojo/cldr/nls/pt-br/gregorian.js +0 -18
- data/dojo/dojo/cldr/nls/zh-cn/gregorian.js +0 -12
- data/dojo/dojo/cldr/nls/zh-cn/number.js +0 -4
- data/dojo/dojo/cldr/nls/zh-tw/number.js +0 -6
- data/dojo/dojox/editor/plugins/resources/icons/findIcon.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/findReplace.gif +0 -0
- data/dojo/dojox/editor/plugins/resources/icons/replaceIcon.gif +0 -0
- data/dojo/dojox/math/LICENSE-BigInteger +0 -40
- data/dojo/util/buildscripts/cldr/ldml/ldml.dtd +0 -1166
- data/dojo/util/docscripts/api.json +0 -202488
- data/dojo/util/docscripts/api.xml +0 -54976
- data/dojo/util/resources/LICENSE +0 -195
- data/dojo/util/resources/api/api.xml +0 -0
- data/dojo/util/resources/api/dojo.cix +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/dojo-styles.css +0 -114
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/bg-content-left.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/bg-content-right.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/body.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/images/logo.png +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/mini-dtk.css +0 -34
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/mini-dtk.psd +0 -0
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/style.css +0 -1092
- data/dojo/util/resources/dojotoolkit.org/mini-dtk/template.html +0 -115
- data/dojo/util/resources/logo/negative/dijit.logo.neg.ai +15 -4118
- data/dojo/util/resources/logo/negative/dijit.logo.neg.eps +0 -5557
- data/dojo/util/resources/logo/negative/dijit.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dijit.logo.neg.svg +0 -987
- data/dojo/util/resources/logo/negative/dojo.logo.neg.ai +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.big.png +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.eps +0 -64
- data/dojo/util/resources/logo/negative/dojo.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dojo.logo.neg.svg +0 -36
- data/dojo/util/resources/logo/negative/dojox.logo.neg.ai +8 -4003
- data/dojo/util/resources/logo/negative/dojox.logo.neg.eps +0 -5357
- data/dojo/util/resources/logo/negative/dojox.logo.neg.png +0 -0
- data/dojo/util/resources/logo/negative/dojox.logo.neg.svg +0 -41
- data/dojo/util/resources/logo/positive/dijit.logo.ai +10 -4169
- data/dojo/util/resources/logo/positive/dijit.logo.eps +0 -5562
- data/dojo/util/resources/logo/positive/dijit.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dijit.logo.svg +0 -987
- data/dojo/util/resources/logo/positive/dojo.logo.ai +15 -3719
- data/dojo/util/resources/logo/positive/dojo.logo.big.png +0 -0
- data/dojo/util/resources/logo/positive/dojo.logo.eps +0 -64
- data/dojo/util/resources/logo/positive/dojo.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dojo.logo.svg +0 -36
- data/dojo/util/resources/logo/positive/dojox.logo.ai +13 -4068
- data/dojo/util/resources/logo/positive/dojox.logo.eps +0 -5362
- data/dojo/util/resources/logo/positive/dojox.logo.png +0 -0
- data/dojo/util/resources/logo/positive/dojox.logo.svg +0 -41
- data/dojo/util/resources/themes/nihilo/nihilo.psd +0 -0
- data/dojo/util/resources/themes/soria/soria.psd +0 -0
data/dojo/dojox/LICENSE
CHANGED
@@ -13,7 +13,7 @@ The text of the AFL and BSD licenses is reproduced below.
|
|
13
13
|
The "New" BSD License:
|
14
14
|
**********************
|
15
15
|
|
16
|
-
Copyright (c) 2005-
|
16
|
+
Copyright (c) 2005-2010, The Dojo Foundation
|
17
17
|
All rights reserved.
|
18
18
|
|
19
19
|
Redistribution and use in source and binary forms, with or without
|
data/dojo/dojox/atom/io/model.js
CHANGED
@@ -670,7 +670,7 @@ dojo.declare("dojox.atom.io.model.Content",dojox.atom.io.model.Node,{
|
|
670
670
|
//We need to unescape the HTML content here so that it can be displayed correctly when the value is fetched.
|
671
671
|
var lowerType = this.type.toLowerCase();
|
672
672
|
if(lowerType === "html" || lowerType === "text/html" || lowerType === "xhtml" || lowerType === "text/xhtml"){
|
673
|
-
this.value = dojox.atom.io.model.util.unEscapeHtml(this.value);
|
673
|
+
this.value = this.value?dojox.atom.io.model.util.unEscapeHtml(this.value):"";
|
674
674
|
}
|
675
675
|
|
676
676
|
if(this._postBuild){this._postBuild();}
|
data/dojo/dojox/av/FLAudio.js
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
dojo.provide("dojox.av.FLAudio");
|
2
2
|
dojo.experimental("dojox.av.FLAudio");
|
3
|
-
dojo.require("dijit._Widget");
|
4
3
|
dojo.require("dojox.embed.Flash");
|
5
|
-
dojo.require("dojox.av._Media");
|
6
4
|
dojo.require("dojox.timing.doLater");
|
7
5
|
|
8
6
|
|
9
7
|
dojo.declare("dojox.av.FLAudio", null, {
|
10
|
-
|
8
|
+
|
11
9
|
// summary:
|
12
10
|
// Play MP3 files through the Flash SWF built in the
|
13
11
|
// DEFT project.
|
@@ -87,15 +85,15 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
87
85
|
dojo.body().appendChild(this.domNode);
|
88
86
|
this.init();
|
89
87
|
},
|
90
|
-
|
88
|
+
|
91
89
|
init: function(){
|
92
90
|
// summary:
|
93
91
|
// Initialize the media.
|
94
92
|
//
|
95
93
|
//
|
96
94
|
this._subs = [];
|
97
|
-
this.initialVolume = this._normalizeVolume(this.initialVolume);
|
98
|
-
|
95
|
+
this.initialVolume = this._normalizeVolume(this.initialVolume);
|
96
|
+
|
99
97
|
var args = {
|
100
98
|
path:this._swfPath.uri,
|
101
99
|
width:"1px",
|
@@ -115,13 +113,14 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
115
113
|
isDebug:this.isDebug
|
116
114
|
}
|
117
115
|
};
|
118
|
-
|
116
|
+
|
119
117
|
this._sub("mediaError", "onError");
|
120
118
|
this._sub("filesProgress", "onLoadStatus");
|
121
119
|
this._sub("filesAllLoaded", "onAllLoaded");
|
122
120
|
this._sub("mediaPosition", "onPlayStatus");
|
121
|
+
this._sub("mediaEnd", "onComplete");
|
123
122
|
this._sub("mediaMeta", "onID3");
|
124
|
-
|
123
|
+
|
125
124
|
this._flashObject = new dojox.embed.Flash(args, this.domNode);
|
126
125
|
this._flashObject.onError = function(err){
|
127
126
|
console.warn("Flash Error:", err);
|
@@ -131,14 +130,14 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
131
130
|
this.flashMedia = mov;
|
132
131
|
this.isPlaying = this.autoPlay;
|
133
132
|
this.isStopped = !this.autoPlay;
|
134
|
-
this.onLoad(this.flashMedia);
|
133
|
+
this.onLoad(this.flashMedia);
|
135
134
|
});
|
136
135
|
},
|
137
|
-
|
136
|
+
|
138
137
|
// ============== //
|
139
138
|
// Loading Files //
|
140
139
|
// ============== //
|
141
|
-
|
140
|
+
|
142
141
|
load: function(/*Object*/options){
|
143
142
|
// summary:
|
144
143
|
// Adds a media object to the playlist
|
@@ -164,14 +163,14 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
164
163
|
options.url = this._normalizeUrl(options.url);
|
165
164
|
}
|
166
165
|
this.flashMedia.load(options);
|
167
|
-
|
166
|
+
|
168
167
|
return options.url; // String
|
169
168
|
},
|
170
|
-
|
169
|
+
|
171
170
|
// ============================= //
|
172
171
|
// Methods to control the sound //
|
173
172
|
// ============================= //
|
174
|
-
|
173
|
+
|
175
174
|
doPlay: function(/*Object*/options){
|
176
175
|
// summary:
|
177
176
|
// Tell media to play, based on
|
@@ -192,7 +191,7 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
192
191
|
// an IE error.
|
193
192
|
this.flashMedia.doPlay(options);
|
194
193
|
},
|
195
|
-
|
194
|
+
|
196
195
|
pause: function(/*Object*/options){
|
197
196
|
// summary:
|
198
197
|
// Tell media to pause, based on identifier in
|
@@ -200,21 +199,21 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
200
199
|
// options: Object
|
201
200
|
// index:Number OR id:String OR url:String
|
202
201
|
// See doPlay()
|
203
|
-
//
|
202
|
+
//
|
204
203
|
this.flashMedia.pause(options);
|
205
204
|
},
|
206
|
-
|
205
|
+
|
207
206
|
stop: function(/*Object*/options){
|
208
207
|
// summary:
|
209
208
|
// Tell media to stop, based on identifier in
|
210
209
|
// the options passed.
|
211
|
-
// options:
|
210
|
+
// options:
|
212
211
|
// index:Number OR id:String OR url:String
|
213
212
|
// See doPlay()
|
214
|
-
//
|
213
|
+
//
|
215
214
|
this.flashMedia.doStop(options);
|
216
215
|
},
|
217
|
-
|
216
|
+
|
218
217
|
setVolume: function(/*Object*/options){
|
219
218
|
// summary:
|
220
219
|
// Set media volume, based on identifier in
|
@@ -224,10 +223,10 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
224
223
|
// 0 to 1
|
225
224
|
// index:Number OR id:String OR url:String
|
226
225
|
// See doPlay()
|
227
|
-
//
|
226
|
+
//
|
228
227
|
this.flashMedia.setVolume(options);
|
229
228
|
},
|
230
|
-
|
229
|
+
|
231
230
|
setPan: function(/*Object*/options){
|
232
231
|
// summary:
|
233
232
|
// Set media pan, based on identifier in
|
@@ -237,10 +236,10 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
237
236
|
// -1 to 1
|
238
237
|
// index:Number OR id:String OR url:String
|
239
238
|
// See doPlay()
|
240
|
-
//
|
239
|
+
//
|
241
240
|
this.flashMedia.setPan(options);
|
242
241
|
},
|
243
|
-
|
242
|
+
|
244
243
|
getVolume: function(/*Object*/options){
|
245
244
|
// summary:
|
246
245
|
// Get media volume, based on identifier in
|
@@ -248,10 +247,10 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
248
247
|
// options:
|
249
248
|
// index:Number OR id:String OR url:String
|
250
249
|
// See doPlay()
|
251
|
-
//
|
250
|
+
//
|
252
251
|
return this.flashMedia.getVolume(options);
|
253
252
|
},
|
254
|
-
|
253
|
+
|
255
254
|
getPan: function(/*Object*/options){
|
256
255
|
// summary:
|
257
256
|
// Set media pan, based on identifier in
|
@@ -259,11 +258,20 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
259
258
|
// options:
|
260
259
|
// index:Number OR id:String OR url:String
|
261
260
|
// See doPlay()
|
262
|
-
//
|
261
|
+
//
|
263
262
|
return this.flashMedia.getPan(options);
|
264
263
|
},
|
265
|
-
|
266
|
-
|
264
|
+
|
265
|
+
getPosition: function(/*Object*/options){
|
266
|
+
// summary:
|
267
|
+
// Get the current time.
|
268
|
+
// options:
|
269
|
+
// index:Number OR id:String OR url:String
|
270
|
+
// See doPlay()
|
271
|
+
//
|
272
|
+
return this.flashMedia.getPosition(options);
|
273
|
+
},
|
274
|
+
|
267
275
|
// ============= //
|
268
276
|
// Sound Events //
|
269
277
|
// ============= //
|
@@ -272,20 +280,25 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
272
280
|
// stub fired when an error occurs
|
273
281
|
console.warn("SWF ERROR:", msg)
|
274
282
|
},
|
275
|
-
|
283
|
+
|
276
284
|
onLoadStatus: function(/*Array*/events){
|
277
285
|
// summary:
|
278
286
|
},
|
279
|
-
|
287
|
+
|
280
288
|
onAllLoaded: function(){
|
281
289
|
// summary:
|
282
290
|
// stub fired
|
283
291
|
},
|
284
|
-
|
292
|
+
|
285
293
|
onPlayStatus: function(/*Array*/events){
|
286
294
|
// summary:
|
287
295
|
},
|
288
|
-
|
296
|
+
|
297
|
+
onComplete: function(/*Array*/events){
|
298
|
+
// summary:
|
299
|
+
// Fired at the end of a media file.
|
300
|
+
},
|
301
|
+
|
289
302
|
onLoad: function(){
|
290
303
|
// summary:
|
291
304
|
// stub fired when SWF is ready
|
@@ -294,62 +307,62 @@ dojo.declare("dojox.av.FLAudio", null, {
|
|
294
307
|
// summary:
|
295
308
|
// Fired when the ID3 data is received.
|
296
309
|
},
|
297
|
-
|
298
|
-
|
299
|
-
|
310
|
+
|
311
|
+
|
312
|
+
|
300
313
|
destroy: function(){
|
301
314
|
// summary:
|
302
315
|
// destroys flash
|
303
316
|
if(!this.flashMedia){
|
304
|
-
this._cons.push(dojo.connect(this, "onLoad", this, "destroy"));
|
317
|
+
this._cons.push(dojo.connect(this, "onLoad", this, "destroy"));
|
305
318
|
return;
|
306
319
|
}
|
307
320
|
dojo.forEach(this._subs, function(s){
|
308
|
-
dojo.unsubscribe(s);
|
321
|
+
dojo.unsubscribe(s);
|
309
322
|
});
|
310
323
|
dojo.forEach(this._cons, function(c){
|
311
|
-
dojo.disconnect(c);
|
324
|
+
dojo.disconnect(c);
|
312
325
|
});
|
313
326
|
this._flashObject.destroy();
|
314
327
|
//dojo._destroyElement(this.flashDiv);
|
315
328
|
},
|
316
|
-
|
317
|
-
|
318
|
-
|
329
|
+
|
330
|
+
|
331
|
+
|
319
332
|
_sub: function(topic, method){
|
320
333
|
// summary:
|
321
334
|
// helper for subscribing to topics
|
322
335
|
dojo.subscribe(this.id+"/"+topic, this, method);
|
323
336
|
},
|
324
|
-
|
337
|
+
|
325
338
|
_normalizeVolume: function(vol){
|
326
339
|
// summary:
|
327
340
|
// Ensures volume is less than one
|
328
341
|
//
|
329
342
|
if(vol>1){
|
330
343
|
while(vol>1){
|
331
|
-
vol*=.1
|
344
|
+
vol*=.1
|
332
345
|
}
|
333
346
|
}
|
334
347
|
return vol;
|
335
348
|
},
|
336
|
-
|
349
|
+
|
337
350
|
_normalizeUrl: function(_url){
|
338
351
|
// summary:
|
339
352
|
// Checks that path is relative to HTML file or
|
340
|
-
// convertes it to an absolute path.
|
353
|
+
// convertes it to an absolute path.
|
341
354
|
//
|
342
355
|
if(_url && _url.toLowerCase().indexOf("http")<0){
|
343
356
|
//
|
344
|
-
// Appears to be a relative path. Attempt to convert it to absolute,
|
357
|
+
// Appears to be a relative path. Attempt to convert it to absolute,
|
345
358
|
// so it will better target the SWF.
|
346
359
|
var loc = window.location.href.split("/");
|
347
360
|
loc.pop();
|
348
361
|
loc = loc.join("/")+"/";
|
349
|
-
|
362
|
+
|
350
363
|
_url = loc+_url;
|
351
364
|
}
|
352
365
|
return _url;
|
353
366
|
}
|
354
|
-
|
367
|
+
|
355
368
|
});
|
Binary file
|
@@ -7,12 +7,12 @@
|
|
7
7
|
@import "../../../dojo/resources/dojo.css";
|
8
8
|
@import "../../../dijit/tests/css/dijitTests.css";
|
9
9
|
</style>
|
10
|
-
|
10
|
+
|
11
11
|
<script>
|
12
12
|
passthrough = function(msg){
|
13
13
|
//for catching messages from Flash
|
14
14
|
if(window.console){
|
15
|
-
console.log(msg);
|
15
|
+
console.log(msg);
|
16
16
|
}
|
17
17
|
}
|
18
18
|
var djConfig={isDebug:true, parseOnLoad: true, debugAtAllCosts:false};
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<script type="text/javascript">
|
22
22
|
dojo.require("dojox.av.FLAudio");
|
23
23
|
dojo.require("dojo.parser");
|
24
|
-
|
24
|
+
|
25
25
|
var mixer;
|
26
26
|
var cbust = "nocache_"+new Date().getTime();
|
27
27
|
dojo.addOnLoad(function(){
|
@@ -32,10 +32,11 @@
|
|
32
32
|
mixer.load({url:"../tests/audio/FuzzWah.mp3", id:"Wah"});
|
33
33
|
//mixer.load({url:"../tests/audio/BrassMonkey.mp3?cbust", id:"BM"});
|
34
34
|
//mixer.load({url:"../tests/audio/podcast.mp3?cbust", id:"Wah"});
|
35
|
-
|
35
|
+
|
36
36
|
var c = dojo.connect;
|
37
37
|
c(mixer, "onPlayStatus", function(obj){
|
38
|
-
console.info("media info
|
38
|
+
console.info("media info >> ", obj);
|
39
|
+
console.log("----------Test getPosition:", mixer.getPosition({id:"Ola"}))
|
39
40
|
var txt = "";
|
40
41
|
dojo.forEach(ar, function(obj){
|
41
42
|
txt += obj.status+" "+obj.id+" "+obj.time+"\n";
|
@@ -50,23 +51,28 @@
|
|
50
51
|
txt +="\n";
|
51
52
|
dojo.byId("ta").value += txt;
|
52
53
|
});
|
54
|
+
c(mixer, "onComplete", function(ar){
|
55
|
+
console.log("END!", ar)
|
56
|
+
});
|
53
57
|
c(mixer, "onID3", function(evt, foo){
|
54
58
|
console.info("ID3", evt, foo);
|
55
59
|
});
|
56
60
|
c(mixer, "onAllLoaded", function(){
|
57
61
|
console.info(" --->>> All Files Loaded");
|
58
62
|
});
|
59
|
-
|
63
|
+
|
64
|
+
|
65
|
+
|
60
66
|
});
|
61
|
-
|
62
|
-
|
67
|
+
|
68
|
+
|
63
69
|
|
64
70
|
</script>
|
65
71
|
<style>
|
66
72
|
html, body{
|
67
73
|
height:100%;
|
68
74
|
padding:0;
|
69
|
-
}
|
75
|
+
}
|
70
76
|
#aud{
|
71
77
|
width:320px;
|
72
78
|
margin:0px auto;
|
@@ -10,6 +10,7 @@ dojo.require("dojox.charting.Series");
|
|
10
10
|
|
11
11
|
// require all axes to support references by name
|
12
12
|
dojo.require("dojox.charting.axis2d.Default");
|
13
|
+
dojo.require("dojox.charting.axis2d.Invisible");
|
13
14
|
|
14
15
|
// require all plots to support references by name
|
15
16
|
dojo.require("dojox.charting.plot2d.Default");
|
@@ -33,21 +34,140 @@ dojo.require("dojox.charting.plot2d.Bubble");
|
|
33
34
|
dojo.require("dojox.charting.plot2d.Candlesticks");
|
34
35
|
dojo.require("dojox.charting.plot2d.OHLC");
|
35
36
|
|
37
|
+
/*=====
|
38
|
+
dojox.charting.__Chart2DCtorArgs = function(margins, stroke, fill, delayInMs){
|
39
|
+
// summary:
|
40
|
+
// The keyword arguments that can be passed in a Chart2D constructor.
|
41
|
+
//
|
42
|
+
// margins: Object?
|
43
|
+
// Optional margins for the chart, in the form of { l, t, r, b}.
|
44
|
+
// stroke: dojox.gfx.Stroke?
|
45
|
+
// An optional outline/stroke for the chart.
|
46
|
+
// fill: dojox.gfx.Fill?
|
47
|
+
// An optional fill for the chart.
|
48
|
+
// delayInMs: Number
|
49
|
+
// Delay in ms for delayedRender(). Default: 200.
|
50
|
+
this.margins = margins;
|
51
|
+
this.stroke = stroke;
|
52
|
+
this.fill = fill;
|
53
|
+
this.delayInMs = delayInMs;
|
54
|
+
}
|
55
|
+
=====*/
|
36
56
|
(function(){
|
37
57
|
var df = dojox.lang.functional, dc = dojox.charting,
|
38
58
|
clear = df.lambda("item.clear()"),
|
39
59
|
purge = df.lambda("item.purgeGroup()"),
|
40
60
|
destroy = df.lambda("item.destroy()"),
|
41
61
|
makeClean = df.lambda("item.dirty = false"),
|
42
|
-
makeDirty = df.lambda("item.dirty = true")
|
62
|
+
makeDirty = df.lambda("item.dirty = true"),
|
63
|
+
getName = df.lambda("item.name");
|
43
64
|
|
44
65
|
dojo.declare("dojox.charting.Chart2D", null, {
|
45
|
-
|
66
|
+
// summary:
|
67
|
+
// The main chart object in dojox.charting. This will create a two dimensional
|
68
|
+
// chart based on dojox.gfx.
|
69
|
+
//
|
70
|
+
// description:
|
71
|
+
// dojox.charting.Chart2D is the primary object used for any kind of charts. It
|
72
|
+
// is simple to create--just pass it a node reference, which is used as the
|
73
|
+
// container for the chart--and a set of optional keyword arguments and go.
|
74
|
+
//
|
75
|
+
// Note that like most of dojox.gfx, most of dojox.charting.Chart2D's methods are
|
76
|
+
// designed to return a reference to the chart itself, to allow for functional
|
77
|
+
// chaining. This makes defining everything on a Chart very easy to do.
|
78
|
+
//
|
79
|
+
// example:
|
80
|
+
// Create an area chart, with smoothing.
|
81
|
+
// | new dojox.charting.Chart2D(node))
|
82
|
+
// | .addPlot("default", { type: "Areas", tension: "X" })
|
83
|
+
// | .setTheme(dojox.charting.themes.Shrooms)
|
84
|
+
// | .addSeries("Series A", [1, 2, 0.5, 1.5, 1, 2.8, 0.4])
|
85
|
+
// | .addSeries("Series B", [2.6, 1.8, 2, 1, 1.4, 0.7, 2])
|
86
|
+
// | .addSeries("Series C", [6.3, 1.8, 3, 0.5, 4.4, 2.7, 2])
|
87
|
+
// | .render();
|
88
|
+
//
|
89
|
+
// example:
|
90
|
+
// The form of data in a data series can take a number of forms: a simple array,
|
91
|
+
// an array of objects {x,y}, or something custom (as determined by the plot).
|
92
|
+
// Here's an example of a Candlestick chart, which expects an object of
|
93
|
+
// { open, high, low, close }.
|
94
|
+
// | new dojox.charting.Chart2D(node))
|
95
|
+
// | .addPlot("default", {type: "Candlesticks", gap: 1})
|
96
|
+
// | .addAxis("x", {fixLower: "major", fixUpper: "major", includeZero: true})
|
97
|
+
// | .addAxis("y", {vertical: true, fixLower: "major", fixUpper: "major", natural: true})
|
98
|
+
// | .addSeries("Series A", [
|
99
|
+
// | { open: 20, close: 16, high: 22, low: 8 },
|
100
|
+
// | { open: 16, close: 22, high: 26, low: 6, mid: 18 },
|
101
|
+
// | { open: 22, close: 18, high: 22, low: 11, mid: 21 },
|
102
|
+
// | { open: 18, close: 29, high: 32, low: 14, mid: 27 },
|
103
|
+
// | { open: 29, close: 24, high: 29, low: 13, mid: 27 },
|
104
|
+
// | { open: 24, close: 8, high: 24, low: 5 },
|
105
|
+
// | { open: 8, close: 16, high: 22, low: 2 },
|
106
|
+
// | { open: 16, close: 12, high: 19, low: 7 },
|
107
|
+
// | { open: 12, close: 20, high: 22, low: 8 },
|
108
|
+
// | { open: 20, close: 16, high: 22, low: 8 },
|
109
|
+
// | { open: 16, close: 22, high: 26, low: 6, mid: 18 },
|
110
|
+
// | { open: 22, close: 18, high: 22, low: 11, mid: 21 },
|
111
|
+
// | { open: 18, close: 29, high: 32, low: 14, mid: 27 },
|
112
|
+
// | { open: 29, close: 24, high: 29, low: 13, mid: 27 },
|
113
|
+
// | { open: 24, close: 8, high: 24, low: 5 },
|
114
|
+
// | { open: 8, close: 16, high: 22, low: 2 },
|
115
|
+
// | { open: 16, close: 12, high: 19, low: 7 },
|
116
|
+
// | { open: 12, close: 20, high: 22, low: 8 },
|
117
|
+
// | { open: 20, close: 16, high: 22, low: 8 },
|
118
|
+
// | { open: 16, close: 22, high: 26, low: 6 },
|
119
|
+
// | { open: 22, close: 18, high: 22, low: 11 },
|
120
|
+
// | { open: 18, close: 29, high: 32, low: 14 },
|
121
|
+
// | { open: 29, close: 24, high: 29, low: 13 },
|
122
|
+
// | { open: 24, close: 8, high: 24, low: 5 },
|
123
|
+
// | { open: 8, close: 16, high: 22, low: 2 },
|
124
|
+
// | { open: 16, close: 12, high: 19, low: 7 },
|
125
|
+
// | { open: 12, close: 20, high: 22, low: 8 },
|
126
|
+
// | { open: 20, close: 16, high: 22, low: 8 }
|
127
|
+
// | ],
|
128
|
+
// | { stroke: { color: "green" }, fill: "lightgreen" }
|
129
|
+
// | )
|
130
|
+
// | .render();
|
131
|
+
//
|
132
|
+
// theme: dojox.charting.Theme?
|
133
|
+
// An optional theme to use for styling the chart.
|
134
|
+
// axes: dojox.charting.Axis{}?
|
135
|
+
// A map of axes for use in plotting a chart.
|
136
|
+
// stack: dojox.charting.plot2d.Base[]
|
137
|
+
// A stack of plotters.
|
138
|
+
// plots: dojox.charting.plot2d.Base{}
|
139
|
+
// A map of plotter indices
|
140
|
+
// series: dojox.charting.Series[]
|
141
|
+
// The stack of data runs used to create plots.
|
142
|
+
// runs: dojox.charting.Series{}
|
143
|
+
// A map of series indices
|
144
|
+
// margins: Object?
|
145
|
+
// The margins around the chart. Default is { l:10, t:10, r:10, b:10 }.
|
146
|
+
// stroke: dojox.gfx.Stroke?
|
147
|
+
// The outline of the chart (stroke in vector graphics terms).
|
148
|
+
// fill: dojox.gfx.Fill?
|
149
|
+
// The color for the chart.
|
150
|
+
// node: DOMNode
|
151
|
+
// The container node passed to the constructor.
|
152
|
+
// surface: dojox.gfx.Surface
|
153
|
+
// The main graphics surface upon which a chart is drawn.
|
154
|
+
// dirty: Boolean
|
155
|
+
// A boolean flag indicating whether or not the chart needs to be updated/re-rendered.
|
156
|
+
// coords: Object
|
157
|
+
// The coordinates on a page of the containing node, as returned from dojo.coords.
|
158
|
+
|
159
|
+
constructor: function(/* DOMNode */node, /* dojox.charting.__Chart2DCtorArgs? */kwArgs){
|
160
|
+
// summary:
|
161
|
+
// The constructor for a new Chart2D. Initializes all parameters used for a chart.
|
162
|
+
// returns: dojox.charting.Chart2D
|
163
|
+
// The newly created chart.
|
164
|
+
|
46
165
|
// initialize parameters
|
47
166
|
if(!kwArgs){ kwArgs = {}; }
|
48
|
-
this.margins
|
49
|
-
this.stroke
|
50
|
-
this.fill
|
167
|
+
this.margins = kwArgs.margins ? kwArgs.margins : {l: 10, t: 10, r: 10, b: 10};
|
168
|
+
this.stroke = kwArgs.stroke;
|
169
|
+
this.fill = kwArgs.fill;
|
170
|
+
this.delayInMs = kwArgs.delayInMs || 200;
|
51
171
|
|
52
172
|
// default initialization
|
53
173
|
this.theme = null;
|
@@ -62,26 +182,48 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
62
182
|
// create a surface
|
63
183
|
this.node = dojo.byId(node);
|
64
184
|
var box = dojo.marginBox(node);
|
65
|
-
this.surface = dojox.gfx.createSurface(this.node, box.w, box.h);
|
185
|
+
this.surface = dojox.gfx.createSurface(this.node, box.w || 400, box.h || 300);
|
66
186
|
},
|
67
187
|
destroy: function(){
|
188
|
+
// summary:
|
189
|
+
// Cleanup when a chart is to be destroyed.
|
190
|
+
// returns: void
|
68
191
|
dojo.forEach(this.series, destroy);
|
69
192
|
dojo.forEach(this.stack, destroy);
|
70
193
|
df.forIn(this.axes, destroy);
|
71
194
|
this.surface.destroy();
|
72
195
|
},
|
73
196
|
getCoords: function(){
|
197
|
+
// summary:
|
198
|
+
// Get the coordinates and dimensions of the containing DOMNode, as
|
199
|
+
// returned by dojo.coords.
|
200
|
+
// returns: Object
|
201
|
+
// The resulting coordinates of the chart. See dojo.coords for details.
|
74
202
|
if(!this.coords){
|
75
203
|
this.coords = dojo.coords(this.node, true);
|
76
204
|
}
|
77
|
-
return this.coords;
|
205
|
+
return this.coords; // Object
|
78
206
|
},
|
79
207
|
setTheme: function(theme){
|
80
|
-
|
208
|
+
// summary:
|
209
|
+
// Set a theme of the chart.
|
210
|
+
// theme: dojox.charting.Theme
|
211
|
+
// The theme to be used for visual rendering.
|
212
|
+
// returns: dojox.charting.Chart2D
|
213
|
+
// A reference to the current chart for functional chaining.
|
214
|
+
this.theme = theme.clone();
|
81
215
|
this.dirty = true;
|
82
|
-
return this;
|
216
|
+
return this; // dojox.charting.Chart2D
|
83
217
|
},
|
84
218
|
addAxis: function(name, kwArgs){
|
219
|
+
// summary:
|
220
|
+
// Add an axis to the chart, for rendering.
|
221
|
+
// name: String
|
222
|
+
// The name of the axis.
|
223
|
+
// kwArgs: dojox.charting.axis2d.__AxisCtorArgs?
|
224
|
+
// An optional keyword arguments object for use in defining details of an axis.
|
225
|
+
// returns: dojox.charting.Chart2D
|
226
|
+
// A reference to the current chart for functional chaining.
|
85
227
|
var axis;
|
86
228
|
if(!kwArgs || !("type" in kwArgs)){
|
87
229
|
axis = new dc.axis2d.Default(this, kwArgs);
|
@@ -97,12 +239,24 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
97
239
|
}
|
98
240
|
this.axes[name] = axis;
|
99
241
|
this.dirty = true;
|
100
|
-
return this;
|
242
|
+
return this; // dojox.charting.Chart2D
|
101
243
|
},
|
102
244
|
getAxis: function(name){
|
103
|
-
|
245
|
+
// summary:
|
246
|
+
// Get the given axis, by name.
|
247
|
+
// name: String
|
248
|
+
// The name the axis was defined by.
|
249
|
+
// returns: dojox.charting.axis2d.Default
|
250
|
+
// The axis as stored in the chart's axis map.
|
251
|
+
return this.axes[name]; // dojox.charting.axis2d.Default
|
104
252
|
},
|
105
253
|
removeAxis: function(name){
|
254
|
+
// summary:
|
255
|
+
// Remove the axis that was defined using name.
|
256
|
+
// name: String
|
257
|
+
// The axis name, as defined in addAxis.
|
258
|
+
// returns: dojox.charting.Chart2D
|
259
|
+
// A reference to the current chart for functional chaining.
|
106
260
|
if(name in this.axes){
|
107
261
|
// destroy the axis
|
108
262
|
this.axes[name].destroy();
|
@@ -110,9 +264,20 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
110
264
|
// mark the chart as dirty
|
111
265
|
this.dirty = true;
|
112
266
|
}
|
113
|
-
return this; //
|
267
|
+
return this; // dojox.charting.Chart2D
|
114
268
|
},
|
115
269
|
addPlot: function(name, kwArgs){
|
270
|
+
// summary:
|
271
|
+
// Add a new plot to the chart, defined by name and using the optional keyword arguments object.
|
272
|
+
// Note that dojox.charting assumes the main plot to be called "default"; if you do not have
|
273
|
+
// a plot called "default" and attempt to add data series to the chart without specifying the
|
274
|
+
// plot to be rendered on, you WILL get errors.
|
275
|
+
// name: String
|
276
|
+
// The name of the plot to be added to the chart. If you only plan on using one plot, call it "default".
|
277
|
+
// kwArgs: dojox.charting.plot2d.__PlotCtorArgs
|
278
|
+
// An object with optional parameters for the plot in question.
|
279
|
+
// returns: dojox.charting.Chart2D
|
280
|
+
// A reference to the current chart for functional chaining.
|
116
281
|
var plot;
|
117
282
|
if(!kwArgs || !("type" in kwArgs)){
|
118
283
|
plot = new dc.plot2d.Default(this, kwArgs);
|
@@ -131,9 +296,15 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
131
296
|
this.stack.push(plot);
|
132
297
|
}
|
133
298
|
this.dirty = true;
|
134
|
-
return this;
|
299
|
+
return this; // dojox.charting.Chart2D
|
135
300
|
},
|
136
301
|
removePlot: function(name){
|
302
|
+
// summary:
|
303
|
+
// Remove the plot defined using name from the chart's plot stack.
|
304
|
+
// name: String
|
305
|
+
// The name of the plot as defined using addPlot.
|
306
|
+
// returns: dojox.charting.Chart2D
|
307
|
+
// A reference to the current chart for functional chaining.
|
137
308
|
if(name in this.plots){
|
138
309
|
// get the index and remove the name
|
139
310
|
var index = this.plots[name];
|
@@ -151,10 +322,102 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
151
322
|
// mark the chart as dirty
|
152
323
|
this.dirty = true;
|
153
324
|
}
|
154
|
-
return this; //
|
325
|
+
return this; // dojox.charting.Chart2D
|
326
|
+
},
|
327
|
+
getPlotOrder: function(){
|
328
|
+
// summary:
|
329
|
+
// Returns an array of plot names in the current order
|
330
|
+
// (the top-most plot is the first).
|
331
|
+
// returns: Array
|
332
|
+
return df.map(this.stack, getName); // Array
|
333
|
+
},
|
334
|
+
setPlotOrder: function(newOrder){
|
335
|
+
// summary:
|
336
|
+
// Sets new order of plots. newOrder cannot add or remove
|
337
|
+
// plots. Wrong names, or dups are ignored.
|
338
|
+
// newOrder: Array:
|
339
|
+
// Array of plot names compatible with getPlotOrder().
|
340
|
+
// returns: dojox.charting.Chart2D
|
341
|
+
// A reference to the current chart for functional chaining.
|
342
|
+
var names = {},
|
343
|
+
order = df.filter(newOrder, function(name){
|
344
|
+
if(!(name in this.plots) || (name in names)){
|
345
|
+
return false;
|
346
|
+
}
|
347
|
+
names[name] = 1;
|
348
|
+
return true;
|
349
|
+
}, this);
|
350
|
+
if(order.length < this.stack.length){
|
351
|
+
df.forEach(this.stack, function(plot){
|
352
|
+
var name = plot.name;
|
353
|
+
if(!(name in names)){
|
354
|
+
order.push(name);
|
355
|
+
}
|
356
|
+
});
|
357
|
+
}
|
358
|
+
var newStack = df.map(order, function(name){
|
359
|
+
return this.stack[this.plots[name]];
|
360
|
+
}, this);
|
361
|
+
df.forEach(newStack, function(plot, i){
|
362
|
+
this.plots[plot.name] = i;
|
363
|
+
}, this);
|
364
|
+
this.stack = newStack;
|
365
|
+
this.dirty = true;
|
366
|
+
return this; // dojox.charting.Chart2D
|
367
|
+
},
|
368
|
+
movePlotToFront: function(name){
|
369
|
+
// summary:
|
370
|
+
// Moves a given plot to front.
|
371
|
+
// name: String:
|
372
|
+
// Plot's name to move.
|
373
|
+
// returns: dojox.charting.Chart2D
|
374
|
+
// A reference to the current chart for functional chaining.
|
375
|
+
if(name in this.plots){
|
376
|
+
var index = this.plots[name];
|
377
|
+
if(index){
|
378
|
+
var newOrder = this.getPlotOrder();
|
379
|
+
newOrder.splice(index, 1);
|
380
|
+
newOrder.unshift(name);
|
381
|
+
return this.setPlotOrder(newOrder); // dojox.charting.Chart2D
|
382
|
+
}
|
383
|
+
}
|
384
|
+
return this; // dojox.charting.Chart2D
|
385
|
+
},
|
386
|
+
movePlotToBack: function(name){
|
387
|
+
// summary:
|
388
|
+
// Moves a given plot to back.
|
389
|
+
// name: String:
|
390
|
+
// Plot's name to move.
|
391
|
+
// returns: dojox.charting.Chart2D
|
392
|
+
// A reference to the current chart for functional chaining.
|
393
|
+
if(name in this.plots){
|
394
|
+
var index = this.plots[name];
|
395
|
+
if(index < this.stack.length - 1){
|
396
|
+
var newOrder = this.getPlotOrder();
|
397
|
+
newOrder.splice(index, 1);
|
398
|
+
newOrder.push(name);
|
399
|
+
return this.setPlotOrder(newOrder); // dojox.charting.Chart2D
|
400
|
+
}
|
401
|
+
}
|
402
|
+
return this; // dojox.charting.Chart2D
|
155
403
|
},
|
156
404
|
addSeries: function(name, data, kwArgs){
|
405
|
+
// summary:
|
406
|
+
// Add a data series to the chart for rendering.
|
407
|
+
// name: String:
|
408
|
+
// The name of the data series to be plotted.
|
409
|
+
// data: Array|Object:
|
410
|
+
// The array of data points (either numbers or objects) that
|
411
|
+
// represents the data to be drawn. Or it can be an object. In
|
412
|
+
// the latter case, it should have a property "data" (an array),
|
413
|
+
// destroy(), and setSeriesObject().
|
414
|
+
// kwArgs: dojox.charting.__SeriesCtorArgs?:
|
415
|
+
// An optional keyword arguments object that will be mixed into
|
416
|
+
// the resultant series object.
|
417
|
+
// returns: dojox.charting.Chart2D:
|
418
|
+
// A reference to the current chart for functional chaining.
|
157
419
|
var run = new dc.Series(this, data, kwArgs);
|
420
|
+
run.name = name;
|
158
421
|
if(name in this.runs){
|
159
422
|
this.series[this.runs[name]].destroy();
|
160
423
|
this.series[this.runs[name]] = run;
|
@@ -162,14 +425,19 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
162
425
|
this.runs[name] = this.series.length;
|
163
426
|
this.series.push(run);
|
164
427
|
}
|
165
|
-
run.name = name;
|
166
428
|
this.dirty = true;
|
167
429
|
// fix min/max
|
168
430
|
if(!("ymin" in run) && "min" in run){ run.ymin = run.min; }
|
169
431
|
if(!("ymax" in run) && "max" in run){ run.ymax = run.max; }
|
170
|
-
return this;
|
432
|
+
return this; // dojox.charting.Chart2D
|
171
433
|
},
|
172
434
|
removeSeries: function(name){
|
435
|
+
// summary:
|
436
|
+
// Remove the series defined by name from the chart.
|
437
|
+
// name: String
|
438
|
+
// The name of the series as defined by addSeries.
|
439
|
+
// returns: dojox.charting.Chart2D
|
440
|
+
// A reference to the current chart for functional chaining.
|
173
441
|
if(name in this.runs){
|
174
442
|
// get the index and remove the name
|
175
443
|
var index = this.runs[name],
|
@@ -187,19 +455,127 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
187
455
|
});
|
188
456
|
this.dirty = true;
|
189
457
|
}
|
190
|
-
return this; //
|
458
|
+
return this; // dojox.charting.Chart2D
|
191
459
|
},
|
192
460
|
updateSeries: function(name, data){
|
461
|
+
// summary:
|
462
|
+
// Update the given series with a new set of data points.
|
463
|
+
// name: String
|
464
|
+
// The name of the series as defined in addSeries.
|
465
|
+
// data: Array|Object:
|
466
|
+
// The array of data points (either numbers or objects) that
|
467
|
+
// represents the data to be drawn. Or it can be an object. In
|
468
|
+
// the latter case, it should have a property "data" (an array),
|
469
|
+
// destroy(), and setSeriesObject().
|
470
|
+
// returns: dojox.charting.Chart2D
|
471
|
+
// A reference to the current chart for functional chaining.
|
193
472
|
if(name in this.runs){
|
194
473
|
var run = this.series[this.runs[name]];
|
195
|
-
run.data
|
196
|
-
run.dirty = true;
|
474
|
+
run.update(data);
|
197
475
|
this._invalidateDependentPlots(run.plot, false);
|
198
476
|
this._invalidateDependentPlots(run.plot, true);
|
199
477
|
}
|
200
|
-
return this;
|
478
|
+
return this; // dojox.charting.Chart2D
|
479
|
+
},
|
480
|
+
getSeriesOrder: function(plotName){
|
481
|
+
// summary:
|
482
|
+
// Returns an array of series names in the current order
|
483
|
+
// (the top-most series is the first) within a plot.
|
484
|
+
// plotName: String:
|
485
|
+
// Plot's name.
|
486
|
+
// returns: Array
|
487
|
+
return df.map(df.filter(this.series, function(run){
|
488
|
+
return run.plot == plotName;
|
489
|
+
}), getName);
|
490
|
+
},
|
491
|
+
setSeriesOrder: function(newOrder){
|
492
|
+
// summary:
|
493
|
+
// Sets new order of series within a plot. newOrder cannot add
|
494
|
+
// or remove series. Wrong names, or dups are ignored.
|
495
|
+
// newOrder: Array:
|
496
|
+
// Array of series names compatible with getPlotOrder(). All
|
497
|
+
// series should belong to the same plot.
|
498
|
+
// returns: dojox.charting.Chart2D
|
499
|
+
// A reference to the current chart for functional chaining.
|
500
|
+
var plotName, names = {},
|
501
|
+
order = df.filter(newOrder, function(name){
|
502
|
+
if(!(name in this.runs) || (name in names)){
|
503
|
+
return false;
|
504
|
+
}
|
505
|
+
var run = this.series[this.runs[name]];
|
506
|
+
if(plotName){
|
507
|
+
if(run.plot != plotName){
|
508
|
+
return false;
|
509
|
+
}
|
510
|
+
}else{
|
511
|
+
plotName = run.plot;
|
512
|
+
}
|
513
|
+
names[name] = 1;
|
514
|
+
return true;
|
515
|
+
}, this);
|
516
|
+
df.forEach(this.series, function(run){
|
517
|
+
var name = run.name;
|
518
|
+
if(!(name in names) && run.plot == plotName){
|
519
|
+
order.push(name);
|
520
|
+
}
|
521
|
+
});
|
522
|
+
var newSeries = df.map(order, function(name){
|
523
|
+
return this.series[this.runs[name]];
|
524
|
+
}, this);
|
525
|
+
this.series = newSeries.concat(df.filter(this.series, function(run){
|
526
|
+
return run.plot != plotName;
|
527
|
+
}));
|
528
|
+
df.forEach(this.series, function(run, i){
|
529
|
+
this.runs[run.name] = i;
|
530
|
+
}, this);
|
531
|
+
this.dirty = true;
|
532
|
+
return this; // dojox.charting.Chart2D
|
533
|
+
},
|
534
|
+
moveSeriesToFront: function(name){
|
535
|
+
// summary:
|
536
|
+
// Moves a given series to front of a plot.
|
537
|
+
// name: String:
|
538
|
+
// Series' name to move.
|
539
|
+
// returns: dojox.charting.Chart2D
|
540
|
+
// A reference to the current chart for functional chaining.
|
541
|
+
if(name in this.runs){
|
542
|
+
var index = this.runs[name],
|
543
|
+
newOrder = this.getSeriesOrder(this.series[index].plot);
|
544
|
+
if(name != newOrder[0]){
|
545
|
+
newOrder.splice(index, 1);
|
546
|
+
newOrder.unshift(name);
|
547
|
+
return this.setSeriesOrder(newOrder); // dojox.charting.Chart2D
|
548
|
+
}
|
549
|
+
}
|
550
|
+
return this; // dojox.charting.Chart2D
|
551
|
+
},
|
552
|
+
moveSeriesToBack: function(name){
|
553
|
+
// summary:
|
554
|
+
// Moves a given series to back of a plot.
|
555
|
+
// name: String:
|
556
|
+
// Series' name to move.
|
557
|
+
// returns: dojox.charting.Chart2D
|
558
|
+
// A reference to the current chart for functional chaining.
|
559
|
+
if(name in this.runs){
|
560
|
+
var index = this.runs[name],
|
561
|
+
newOrder = this.getSeriesOrder(this.series[index].plot);
|
562
|
+
if(name != newOrder[newOrder.length - 1]){
|
563
|
+
newOrder.splice(index, 1);
|
564
|
+
newOrder.push(name);
|
565
|
+
return this.setSeriesOrder(newOrder); // dojox.charting.Chart2D
|
566
|
+
}
|
567
|
+
}
|
568
|
+
return this; // dojox.charting.Chart2D
|
201
569
|
},
|
202
570
|
resize: function(width, height){
|
571
|
+
// summary:
|
572
|
+
// Resize the chart to the dimensions of width and height.
|
573
|
+
// width: Number
|
574
|
+
// The new width of the chart.
|
575
|
+
// height: Number
|
576
|
+
// The new height of the chart.
|
577
|
+
// returns: dojox.charting.Chart2D
|
578
|
+
// A reference to the current chart for functional chaining.
|
203
579
|
var box;
|
204
580
|
switch(arguments.length){
|
205
581
|
case 0:
|
@@ -216,9 +592,14 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
216
592
|
this.surface.setDimensions(box.w, box.h);
|
217
593
|
this.dirty = true;
|
218
594
|
this.coords = null;
|
219
|
-
return this.render();
|
595
|
+
return this.render(); // dojox.charting.Chart2D
|
220
596
|
},
|
221
597
|
getGeometry: function(){
|
598
|
+
// summary:
|
599
|
+
// Returns a map of information about all axes in a chart and what they represent
|
600
|
+
// in terms of scaling (see dojox.charting.axis2d.Default.getScaler).
|
601
|
+
// returns: Object
|
602
|
+
// An map of geometry objects, a one-to-one mapping of axes.
|
222
603
|
var ret = {};
|
223
604
|
df.forIn(this.axes, function(axis){
|
224
605
|
if(axis.initialized()){
|
@@ -230,16 +611,49 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
230
611
|
};
|
231
612
|
}
|
232
613
|
});
|
233
|
-
return ret;
|
614
|
+
return ret; // Object
|
234
615
|
},
|
235
|
-
setAxisWindow: function(name, scale, offset){
|
616
|
+
setAxisWindow: function(name, scale, offset, zoom){
|
617
|
+
// summary:
|
618
|
+
// Zooms an axis and all dependent plots. Can be used to zoom in 1D.
|
619
|
+
// name: String
|
620
|
+
// The name of the axis as defined by addAxis.
|
621
|
+
// scale: Number
|
622
|
+
// The scale on the target axis.
|
623
|
+
// offset: Number
|
624
|
+
// Any offest, as measured by axis tick
|
625
|
+
// zoom: Boolean|Object?
|
626
|
+
// The chart zooming animation trigger. This is null by default,
|
627
|
+
// e.g. {duration: 1200}, or just set true.
|
628
|
+
// returns: dojox.charting.Chart2D
|
629
|
+
// A reference to the current chart for functional chaining.
|
236
630
|
var axis = this.axes[name];
|
237
631
|
if(axis){
|
238
632
|
axis.setWindow(scale, offset);
|
633
|
+
dojo.forEach(this.stack,function(plot){
|
634
|
+
if(plot.hAxis == name || plot.vAxis == name){
|
635
|
+
plot.zoom = zoom;
|
636
|
+
}
|
637
|
+
})
|
239
638
|
}
|
240
|
-
return this;
|
639
|
+
return this; // dojox.charting.Chart2D
|
241
640
|
},
|
242
|
-
setWindow: function(sx, sy, dx, dy){
|
641
|
+
setWindow: function(sx, sy, dx, dy, zoom){
|
642
|
+
// summary:
|
643
|
+
// Zooms in or out any plots in two dimensions.
|
644
|
+
// sx: Number
|
645
|
+
// The scale for the x axis.
|
646
|
+
// sy: Number
|
647
|
+
// The scale for the y axis.
|
648
|
+
// dx: Number
|
649
|
+
// The pixel offset on the x axis.
|
650
|
+
// dy: Number
|
651
|
+
// The pixel offset on the y axis.
|
652
|
+
// zoom: Boolean|Object?
|
653
|
+
// The chart zooming animation trigger. This is null by default,
|
654
|
+
// e.g. {duration: 1200}, or just set true.
|
655
|
+
// returns: dojox.charting.Chart2D
|
656
|
+
// A reference to the current chart for functional chaining.
|
243
657
|
if(!("plotArea" in this)){
|
244
658
|
this.calculateGeometry();
|
245
659
|
}
|
@@ -255,26 +669,57 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
255
669
|
}
|
256
670
|
axis.setWindow(scale, offset);
|
257
671
|
});
|
258
|
-
|
672
|
+
dojo.forEach(this.stack, function(plot){ plot.zoom = zoom; });
|
673
|
+
return this; // dojox.charting.Chart2D
|
674
|
+
},
|
675
|
+
zoomIn: function(name, range){
|
676
|
+
// summary:
|
677
|
+
// Zoom the chart to a specific range on one axis. This calls render()
|
678
|
+
// directly as a convenience method.
|
679
|
+
// name: String
|
680
|
+
// The name of the axis as defined by addAxis.
|
681
|
+
// range: Array
|
682
|
+
// The end points of the zoom range, measured in axis ticks.
|
683
|
+
var axis = this.axes[name];
|
684
|
+
if(axis){
|
685
|
+
var scale, offset, bounds = axis.getScaler().bounds;
|
686
|
+
var lower = Math.min(range[0],range[1]);
|
687
|
+
var upper = Math.max(range[0],range[1]);
|
688
|
+
lower = range[0] < bounds.lower ? bounds.lower : lower;
|
689
|
+
upper = range[1] > bounds.upper ? bounds.upper : upper;
|
690
|
+
scale = (bounds.upper - bounds.lower) / (upper - lower);
|
691
|
+
offset = lower - bounds.lower;
|
692
|
+
this.setAxisWindow(name, scale, offset);
|
693
|
+
this.render();
|
694
|
+
}
|
259
695
|
},
|
260
696
|
calculateGeometry: function(){
|
697
|
+
// summary:
|
698
|
+
// Calculate the geometry of the chart based on the defined axes of
|
699
|
+
// a chart.
|
700
|
+
// returns: dojox.charting.Chart2D
|
701
|
+
// A reference to the current chart for functional chaining.
|
261
702
|
if(this.dirty){
|
262
703
|
return this.fullGeometry();
|
263
704
|
}
|
264
705
|
|
265
706
|
// calculate geometry
|
266
|
-
dojo.
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
)
|
271
|
-
|
272
|
-
}
|
273
|
-
}, this);
|
707
|
+
var dirty = dojo.filter(this.stack, function(plot){
|
708
|
+
return plot.dirty ||
|
709
|
+
(plot.hAxis && this.axes[plot.hAxis].dirty) ||
|
710
|
+
(plot.vAxis && this.axes[plot.vAxis].dirty);
|
711
|
+
}, this);
|
712
|
+
calculateAxes(dirty, this.plotArea);
|
274
713
|
|
275
|
-
return this;
|
714
|
+
return this; // dojox.charting.Chart2D
|
276
715
|
},
|
277
716
|
fullGeometry: function(){
|
717
|
+
// summary:
|
718
|
+
// Calculate the full geometry of the chart. This includes passing
|
719
|
+
// over all major elements of a chart (plots, axes, series, container)
|
720
|
+
// in order to ensure proper rendering.
|
721
|
+
// returns: dojox.charting.Chart2D
|
722
|
+
// A reference to the current chart for functional chaining.
|
278
723
|
this._makeDirty();
|
279
724
|
|
280
725
|
// clear old values
|
@@ -314,7 +759,7 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
314
759
|
dim.width = dojox.gfx.normalizedLength(dim.width);
|
315
760
|
dim.height = dojox.gfx.normalizedLength(dim.height);
|
316
761
|
df.forIn(this.axes, clear);
|
317
|
-
|
762
|
+
calculateAxes(this.stack, dim);
|
318
763
|
|
319
764
|
// assumption: we don't have stacked axes yet
|
320
765
|
var offsets = this.offsets = { l: 0, r: 0, t: 0, b: 0 };
|
@@ -330,11 +775,17 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
330
775
|
height: dim.height - offsets.t - offsets.b
|
331
776
|
};
|
332
777
|
df.forIn(this.axes, clear);
|
333
|
-
|
778
|
+
calculateAxes(this.stack, this.plotArea);
|
334
779
|
|
335
|
-
return this;
|
780
|
+
return this; // dojox.charting.Chart2D
|
336
781
|
},
|
337
782
|
render: function(){
|
783
|
+
// summary:
|
784
|
+
// Render the chart according to the current information defined. This should
|
785
|
+
// be the last call made when defining/creating a chart, or if data within the
|
786
|
+
// chart has been changed.
|
787
|
+
// returns: dojox.charting.Chart2D
|
788
|
+
// A reference to the current chart for functional chaining.
|
338
789
|
if(this.theme){
|
339
790
|
this.theme.clear();
|
340
791
|
}
|
@@ -357,16 +808,22 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
357
808
|
if(this.surface.render){ this.surface.render(); };
|
358
809
|
// END FOR HTML CANVAS
|
359
810
|
|
360
|
-
return this;
|
811
|
+
return this; // dojox.charting.Chart2D
|
361
812
|
},
|
362
813
|
fullRender: function(){
|
814
|
+
// summary:
|
815
|
+
// Force a full rendering of the chart, including full resets on the chart itself.
|
816
|
+
// You should not call this method directly unless absolutely necessary.
|
817
|
+
// returns: dojox.charting.Chart2D
|
818
|
+
// A reference to the current chart for functional chaining.
|
819
|
+
|
363
820
|
// calculate geometry
|
364
821
|
this.fullGeometry();
|
365
822
|
var offsets = this.offsets, dim = this.dim;
|
366
823
|
|
367
824
|
// get required colors
|
368
|
-
var requiredColors = df.foldl(this.stack, "z + plot.getRequiredColors()", 0);
|
369
|
-
this.theme.defineColors({num: requiredColors, cache: false});
|
825
|
+
//var requiredColors = df.foldl(this.stack, "z + plot.getRequiredColors()", 0);
|
826
|
+
//this.theme.defineColors({num: requiredColors, cache: false});
|
370
827
|
|
371
828
|
// clear old shapes
|
372
829
|
dojo.forEach(this.series, purge);
|
@@ -382,16 +839,16 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
382
839
|
stroke = t.plotarea && t.plotarea.stroke;
|
383
840
|
if(fill){
|
384
841
|
this.surface.createRect({
|
385
|
-
x: offsets.l, y: offsets.t,
|
386
|
-
width: dim.width - offsets.l - offsets.r,
|
387
|
-
height: dim.height - offsets.t - offsets.b
|
842
|
+
x: offsets.l - 1, y: offsets.t - 1,
|
843
|
+
width: dim.width - offsets.l - offsets.r + 2,
|
844
|
+
height: dim.height - offsets.t - offsets.b + 2
|
388
845
|
}).setFill(fill);
|
389
846
|
}
|
390
847
|
if(stroke){
|
391
848
|
this.surface.createRect({
|
392
849
|
x: offsets.l, y: offsets.t,
|
393
|
-
width: dim.width - offsets.l - offsets.r
|
394
|
-
height: dim.height - offsets.t - offsets.b
|
850
|
+
width: dim.width - offsets.l - offsets.r + 1,
|
851
|
+
height: dim.height - offsets.t - offsets.b + 1
|
395
852
|
}).setStroke(stroke);
|
396
853
|
}
|
397
854
|
|
@@ -399,8 +856,8 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
399
856
|
df.foldr(this.stack, function(z, plot){ return plot.render(dim, offsets), 0; }, 0);
|
400
857
|
|
401
858
|
// pseudo-clipping: matting
|
402
|
-
fill = this.fill ? this.fill : (t.chart && t.chart.fill);
|
403
|
-
stroke = this.stroke ? this.stroke : (t.chart && t.chart.stroke);
|
859
|
+
fill = this.fill !== undefined ? this.fill : (t.chart && t.chart.fill);
|
860
|
+
stroke = this.stroke !== undefined ? this.stroke : (t.chart && t.chart.stroke);
|
404
861
|
|
405
862
|
// TRT: support for "inherit" as a named value in a theme.
|
406
863
|
if(fill == "inherit"){
|
@@ -423,7 +880,7 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
423
880
|
this.surface.createRect({
|
424
881
|
x: dim.width - offsets.r,
|
425
882
|
width: offsets.r + 1,
|
426
|
-
height: dim.height +
|
883
|
+
height: dim.height + 2
|
427
884
|
}).setFill(fill);
|
428
885
|
}
|
429
886
|
if(offsets.t){ // top
|
@@ -456,10 +913,62 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
456
913
|
if(this.surface.render){ this.surface.render(); };
|
457
914
|
// END FOR HTML CANVAS
|
458
915
|
|
459
|
-
return this;
|
916
|
+
return this; // dojox.charting.Chart2D
|
917
|
+
},
|
918
|
+
delayedRender: function(){
|
919
|
+
// summary:
|
920
|
+
// Delayed render, which is used to collect multiple updates
|
921
|
+
// within a delayInMs time window.
|
922
|
+
// returns: dojox.charting.Chart2D
|
923
|
+
// A reference to the current chart for functional chaining.
|
924
|
+
|
925
|
+
if(!this._delayedRenderHandle){
|
926
|
+
this._delayedRenderHandle = setTimeout(
|
927
|
+
dojo.hitch(this, function(){
|
928
|
+
clearTimeout(this._delayedRenderHandle);
|
929
|
+
this._delayedRenderHandle = null;
|
930
|
+
this.render();
|
931
|
+
}),
|
932
|
+
this.delayInMs
|
933
|
+
);
|
934
|
+
}
|
935
|
+
|
936
|
+
return this; // dojox.charting.Chart2D
|
460
937
|
},
|
461
938
|
connectToPlot: function(name, object, method){
|
462
|
-
|
939
|
+
// summary:
|
940
|
+
// A convenience method to connect a function to a plot.
|
941
|
+
// name: String
|
942
|
+
// The name of the plot as defined by addPlot.
|
943
|
+
// object: Object
|
944
|
+
// The object to be connected.
|
945
|
+
// method: Function
|
946
|
+
// The function to be executed.
|
947
|
+
// returns: Array
|
948
|
+
// A handle to the connection, as defined by dojo.connect (see dojo.connect).
|
949
|
+
return name in this.plots ? this.stack[this.plots[name]].connect(object, method) : null; // Array
|
950
|
+
},
|
951
|
+
fireEvent: function(seriesName, eventName, index){
|
952
|
+
// summary:
|
953
|
+
// Fires a synthetic event for a series item.
|
954
|
+
// seriesName: String:
|
955
|
+
// Series name.
|
956
|
+
// eventName: String:
|
957
|
+
// Event name to simulate: onmouseover, onmouseout, onclick.
|
958
|
+
// index: Number:
|
959
|
+
// Valid data value index for the event.
|
960
|
+
// returns: dojox.charting.Chart2D
|
961
|
+
// A reference to the current chart for functional chaining.
|
962
|
+
if(seriesName in this.runs){
|
963
|
+
var plotName = this.series[this.runs[seriesName]].plot;
|
964
|
+
if(plotName in this.plots){
|
965
|
+
var plot = this.stack[this.plots[plotName]];
|
966
|
+
if(plot){
|
967
|
+
plot.fireEvent(seriesName, eventName, index);
|
968
|
+
}
|
969
|
+
}
|
970
|
+
}
|
971
|
+
return this; // dojox.charting.Chart2D
|
463
972
|
},
|
464
973
|
_makeClean: function(){
|
465
974
|
// reset dirty flags
|
@@ -496,4 +1005,53 @@ dojo.require("dojox.charting.plot2d.OHLC");
|
|
496
1005
|
}
|
497
1006
|
}
|
498
1007
|
});
|
1008
|
+
|
1009
|
+
function hSection(stats){
|
1010
|
+
return {min: stats.hmin, max: stats.hmax};
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
function vSection(stats){
|
1014
|
+
return {min: stats.vmin, max: stats.vmax};
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
function hReplace(stats, h){
|
1018
|
+
stats.hmin = h.min;
|
1019
|
+
stats.hmax = h.max;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
function vReplace(stats, v){
|
1023
|
+
stats.vmin = v.min;
|
1024
|
+
stats.vmax = v.max;
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
function combineStats(target, source){
|
1028
|
+
if(target && source){
|
1029
|
+
target.min = Math.min(target.min, source.min);
|
1030
|
+
target.max = Math.max(target.max, source.max);
|
1031
|
+
}
|
1032
|
+
return target || source;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
function calculateAxes(stack, plotArea){
|
1036
|
+
var plots = {}, axes = {};
|
1037
|
+
dojo.forEach(stack, function(plot){
|
1038
|
+
var stats = plots[plot.name] = plot.getSeriesStats();
|
1039
|
+
if(plot.hAxis){
|
1040
|
+
axes[plot.hAxis] = combineStats(axes[plot.hAxis], hSection(stats));
|
1041
|
+
}
|
1042
|
+
if(plot.vAxis){
|
1043
|
+
axes[plot.vAxis] = combineStats(axes[plot.vAxis], vSection(stats));
|
1044
|
+
}
|
1045
|
+
});
|
1046
|
+
dojo.forEach(stack, function(plot){
|
1047
|
+
var stats = plots[plot.name];
|
1048
|
+
if(plot.hAxis){
|
1049
|
+
hReplace(stats, axes[plot.hAxis]);
|
1050
|
+
}
|
1051
|
+
if(plot.vAxis){
|
1052
|
+
vReplace(stats, axes[plot.vAxis]);
|
1053
|
+
}
|
1054
|
+
plot.initializeScalers(plotArea, stats);
|
1055
|
+
});
|
1056
|
+
}
|
499
1057
|
})();
|