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
@@ -7,34 +7,31 @@ dojo.requireLocalization("dojox.editor.plugins", "TableDialog");
|
|
7
7
|
|
8
8
|
dojo.experimental("dojox.editor.plugins.TablePlugins");
|
9
9
|
|
10
|
-
//
|
10
|
+
// summary:
|
11
11
|
// A series of plugins that give the Editor the ability to create and edit
|
12
12
|
// HTML tables. See the end of this document for all avaiable plugins
|
13
|
-
//
|
13
|
+
// and dojox/editorPlugins/tests/editorTablePlugs.html for an example
|
14
14
|
//
|
15
|
-
//
|
15
|
+
// example:
|
16
16
|
// | <div dojoType="dijit.Editor" plugins="[
|
17
17
|
// | 'bold','italic','|',
|
18
18
|
// | {name: 'dojox.editor.plugins.TablePlugins', command: 'insertTable'},
|
19
19
|
// | {name: 'dojox.editor.plugins.TablePlugins', command: 'modifyTable'}
|
20
20
|
// | ]">
|
21
|
-
//
|
21
|
+
// | Editor text is here
|
22
22
|
// | </div>
|
23
23
|
//
|
24
|
-
//
|
24
|
+
// TODO:
|
25
25
|
// Currently not supporting merging or splitting cells
|
26
26
|
//
|
27
|
-
//
|
27
|
+
// FIXME: Undo is very buggy, and therefore unimeplented in all browsers
|
28
28
|
// except IE - which itself has only been lightly tested.
|
29
29
|
//
|
30
|
-
//
|
30
|
+
// FIXME: Selecting multiple table cells in Firefox looks to be impossible.
|
31
31
|
// This affect the 'colorTableCell' plugin. Cells can still be
|
32
32
|
// colored individually or in rows.
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
34
|
+
dojo.declare("dojox.editor.plugins._TableHandler", dijit._editor._Plugin,{
|
38
35
|
// summary:
|
39
36
|
// A global object that handles common tasks for all the plugins. Since
|
40
37
|
// there are several plugins that are all calling common methods, it's preferable
|
@@ -49,7 +46,8 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
49
46
|
tableData: null,
|
50
47
|
shiftKeyDown:false,
|
51
48
|
editorDomNode: null,
|
52
|
-
undoEnabled:
|
49
|
+
undoEnabled: true, //Using custom undo for all browsers.
|
50
|
+
refCount: 0,
|
53
51
|
|
54
52
|
doMixins: function(){
|
55
53
|
|
@@ -58,7 +56,6 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
58
56
|
return dojo.withGlobal(this.window, "getAncestorElement",dijit._editor.selection, [tagName]);
|
59
57
|
},
|
60
58
|
hasAncestorElement: function(tagName){
|
61
|
-
return true
|
62
59
|
return dojo.withGlobal(this.window, "hasAncestorElement",dijit._editor.selection, [tagName]);
|
63
60
|
},
|
64
61
|
selectElement: function(elem){
|
@@ -80,11 +77,20 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
80
77
|
// Initialize the global handler upon a plugin's first instance of setEditor
|
81
78
|
//
|
82
79
|
|
83
|
-
//
|
80
|
+
// All plugins will attempt initialization. We only need to do so once.
|
81
|
+
// But keep track so that it is cleaned up when all usage of it for an editor has
|
82
|
+
// been removed.
|
83
|
+
this.refCount++;
|
84
|
+
|
85
|
+
// Turn on custom undo for all.
|
86
|
+
editor.customUndo = true;
|
87
|
+
|
84
88
|
if(this.initialized){ return; }
|
85
89
|
|
86
90
|
this.initialized = true;
|
87
91
|
this.editor = editor;
|
92
|
+
|
93
|
+
this.editor._tablePluginHandler = this;
|
88
94
|
|
89
95
|
//Editor loads async, can't assume doc is ready yet. So, use the deferred of the
|
90
96
|
//editor to init at the right time.
|
@@ -93,25 +99,25 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
93
99
|
|
94
100
|
// RichText should have a mouseup connection to recognize drag-selections
|
95
101
|
// Example would be selecting multiple table cells
|
96
|
-
|
97
|
-
|
98
|
-
dojo.connect(this.editor, "onDisplayChanged", this, "checkAvailable");
|
99
|
-
|
102
|
+
this._myListeners = [];
|
103
|
+
this._myListeners.push(dojo.connect(this.editorDomNode , "mouseup", this.editor, "onClick"));
|
104
|
+
this._myListeners.push(dojo.connect(this.editor, "onDisplayChanged", this, "checkAvailable"));
|
105
|
+
this._myListeners.push(dojo.connect(this.editor, "onBlur", this, "checkAvailable"));
|
100
106
|
this.doMixins();
|
101
107
|
this.connectDraggable();
|
102
108
|
}));
|
103
109
|
},
|
104
110
|
|
105
111
|
getTableInfo: function(forceNewData){
|
106
|
-
// summary
|
107
|
-
//
|
108
|
-
//
|
112
|
+
// summary:
|
113
|
+
// Gets the table in focus
|
114
|
+
// Collects info on the table - see return params
|
109
115
|
//
|
110
116
|
if(forceNewData){ this._tempStoreTableData(false); }
|
111
117
|
if(this.tableData){
|
112
118
|
// tableData is set for a short amount of time, so that all
|
113
119
|
// plugins get the same return without doing the method over
|
114
|
-
console.log("returning current tableData:", this.tableData);
|
120
|
+
//console.log("returning current tableData:", this.tableData);
|
115
121
|
return this.tableData;
|
116
122
|
}
|
117
123
|
var tr, trs, td, tds, tbl, cols, tdIndex, trIndex;
|
@@ -124,11 +130,11 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
124
130
|
|
125
131
|
tds = dojo.query("td", tbl);
|
126
132
|
tds.forEach(function(d, i){
|
127
|
-
if(td==d){tdIndex = i}
|
133
|
+
if(td==d){tdIndex = i;}
|
128
134
|
});
|
129
135
|
trs = dojo.query("tr", tbl);
|
130
136
|
trs.forEach(function(r, i){
|
131
|
-
if(tr==r){trIndex = i}
|
137
|
+
if(tr==r){trIndex = i;}
|
132
138
|
});
|
133
139
|
cols = tds.length/trs.length;
|
134
140
|
var o = {
|
@@ -143,21 +149,21 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
143
149
|
trIndex:trIndex, // index of focused row
|
144
150
|
colIndex:tdIndex%cols
|
145
151
|
};
|
146
|
-
|
152
|
+
//console.log("NEW tableData:",o);
|
147
153
|
this.tableData = o;
|
148
154
|
this._tempStoreTableData(500);
|
149
155
|
return this.tableData;
|
150
156
|
},
|
151
157
|
|
152
158
|
connectDraggable: function(){
|
153
|
-
// summary
|
154
|
-
//
|
155
|
-
//
|
156
|
-
//
|
159
|
+
// summary:
|
160
|
+
// Detects drag-n-drop in the editor (could probably be moved to there)
|
161
|
+
// Currently only checks if item dragged was a TABLE, and removes its align attr
|
162
|
+
// DOES NOT WORK IN FF - it could - but FF's drag detection is a monster
|
157
163
|
//
|
158
164
|
if(!dojo.isIE){
|
159
165
|
//console.warn("Drag and Drop is currently only detectable in IE.");
|
160
|
-
return
|
166
|
+
return;
|
161
167
|
}
|
162
168
|
|
163
169
|
// IE ONLY
|
@@ -180,15 +186,12 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
180
186
|
dojo.withGlobal(this.editor.window, "selectElement",dijit._editor.selection, [tbl]);
|
181
187
|
|
182
188
|
tbl.ondragstart = function(){
|
183
|
-
console.log
|
189
|
+
//console.log("ondragstart");
|
184
190
|
};
|
185
191
|
tbl.ondrag = function(){
|
186
192
|
alert("drag")
|
187
|
-
//console.log
|
188
|
-
|
189
|
-
*/
|
190
|
-
|
191
|
-
|
193
|
+
//console.log("ondrag");
|
194
|
+
*/
|
192
195
|
},
|
193
196
|
onDragStart: function(){
|
194
197
|
var e = window.event;
|
@@ -198,21 +201,21 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
198
201
|
//console.log("onDragStart", e.srcElement.id);
|
199
202
|
},
|
200
203
|
onDragEnd: function(){
|
201
|
-
// summary
|
202
|
-
//
|
203
|
-
//
|
204
|
-
//
|
205
|
-
//
|
206
|
-
//
|
207
|
-
//
|
208
|
-
//
|
209
|
-
//
|
204
|
+
// summary:
|
205
|
+
// Detects that an object has been dragged into place
|
206
|
+
// Currently, this code is only used for when a table is dragged
|
207
|
+
// and clears the "align" attribute, so that the table will look
|
208
|
+
// to be more in the place that the user expected.
|
209
|
+
// TODO: This code can be used for other things, most
|
210
|
+
// notably UNDO, which currently is not quite usable.
|
211
|
+
// This code could also find itself in the Editor code when it is
|
212
|
+
// complete.
|
210
213
|
|
211
214
|
//console.log("onDragEnd");
|
212
|
-
var e = window.event
|
215
|
+
var e = window.event;
|
213
216
|
var node = e.srcElement;
|
214
217
|
var id = node.id;
|
215
|
-
var win = this.editor.window
|
218
|
+
var win = this.editor.window;
|
216
219
|
//console.log("NODE:", node.tagName, node.id, dojo.attr(node, "align"));
|
217
220
|
|
218
221
|
// clearing a table's align attr
|
@@ -227,10 +230,10 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
227
230
|
}
|
228
231
|
},
|
229
232
|
checkAvailable: function(){
|
230
|
-
// summary
|
231
|
-
//
|
232
|
-
//
|
233
|
-
//
|
233
|
+
// summary:
|
234
|
+
// For table plugs
|
235
|
+
// Checking if a table or part of a table has focus so that
|
236
|
+
// Plugs can change their status
|
234
237
|
//
|
235
238
|
if(this.availableCurrentlySet){
|
236
239
|
// availableCurrentlySet is set for a short amount of time, so that all
|
@@ -249,7 +252,8 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
249
252
|
return true;
|
250
253
|
}
|
251
254
|
|
252
|
-
|
255
|
+
// Only return avalable if the editor is focused.
|
256
|
+
this.currentlyAvailable = this.editor._focused ? this.editor.hasAncestorElement("table") : false;
|
253
257
|
|
254
258
|
if(this.currentlyAvailable){
|
255
259
|
this.connectTableKeys();
|
@@ -258,17 +262,16 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
258
262
|
}
|
259
263
|
|
260
264
|
this._tempAvailability(500);
|
261
|
-
|
262
|
-
dojo.publish("available", [ this.currentlyAvailable ]);
|
265
|
+
dojo.publish(this.editor.id + "_tablePlugins", [ this.currentlyAvailable ]);
|
263
266
|
return this.currentlyAvailable;
|
264
267
|
},
|
265
268
|
|
266
269
|
_prepareTable: function(tbl){
|
267
|
-
//
|
270
|
+
// For IE's sake, we are adding IDs to the TDs if none is there
|
268
271
|
// We go ahead and use it for other code for convenience
|
269
272
|
//
|
270
273
|
var tds = this.editor.query("td", tbl);
|
271
|
-
console.log("prep:", tds, tbl)
|
274
|
+
console.log("prep:", tds, tbl);
|
272
275
|
if(!tds[0].id){
|
273
276
|
tds.forEach(function(td, i){
|
274
277
|
if(!td.id){
|
@@ -292,7 +295,7 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
292
295
|
// clear object
|
293
296
|
this.tableData = null;
|
294
297
|
}else if(type===undefined){
|
295
|
-
console.warn("_tempStoreTableData must be passed an argument")
|
298
|
+
console.warn("_tempStoreTableData must be passed an argument");
|
296
299
|
}else{
|
297
300
|
// type is a number/ms
|
298
301
|
setTimeout(dojo.hitch(this, function(){
|
@@ -310,7 +313,7 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
310
313
|
// clear object
|
311
314
|
this.availableCurrentlySet = false;
|
312
315
|
}else if(type===undefined){
|
313
|
-
console.warn("_tempAvailability must be passed an argument")
|
316
|
+
console.warn("_tempAvailability must be passed an argument");
|
314
317
|
}else{
|
315
318
|
// type is a number/ms
|
316
319
|
this.availableCurrentlySet = true;
|
@@ -322,19 +325,19 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
322
325
|
},
|
323
326
|
|
324
327
|
connectTableKeys: function(){
|
325
|
-
// summary
|
326
|
-
//
|
327
|
-
//
|
328
|
-
//
|
329
|
-
//
|
328
|
+
// summary:
|
329
|
+
// When a table is in focus, start detecting keys
|
330
|
+
// Mainly checking for the TAB key so user can tab
|
331
|
+
// through a table (blocking the browser's desire to
|
332
|
+
// tab away from teh editor completely)
|
330
333
|
if(this.tablesConnected){ return; }
|
331
334
|
this.tablesConnected = true;
|
332
335
|
var node = (this.editor.iframe) ? this.editor.document : this.editor.editNode;
|
333
336
|
this.cnKeyDn = dojo.connect(node, "onkeydown", this, "onKeyDown");
|
334
337
|
this.cnKeyUp = dojo.connect(node, "onkeyup", this, "onKeyUp");
|
335
|
-
|
336
|
-
|
338
|
+
this._myListeners.push(dojo.connect(node, "onkeypress", this, "onKeyUp"));
|
337
339
|
},
|
340
|
+
|
338
341
|
disconnectTableKeys: function(){
|
339
342
|
//console.log("disconnect")
|
340
343
|
dojo.disconnect(this.cnKeyDn);
|
@@ -343,11 +346,10 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
343
346
|
},
|
344
347
|
|
345
348
|
onKeyDown: function(evt){
|
346
|
-
|
347
349
|
var key = evt.keyCode;
|
348
350
|
//console.log(" -> DOWN:", key);
|
349
|
-
if(key == 16) this.shiftKeyDown = true;
|
350
|
-
if(key == 9) {
|
351
|
+
if(key == 16){ this.shiftKeyDown = true;}
|
352
|
+
if(key == 9) {
|
351
353
|
var o = this.getTableInfo();
|
352
354
|
//console.log("TAB ", o.tdIndex, o);
|
353
355
|
// modifying the o.tdIndex in the tableData directly, because we may save it
|
@@ -373,38 +375,64 @@ dojo.declare("dojox.editor.plugins.GlobalTableHandler", dijit._editor._Plugin,{
|
|
373
375
|
dojo.stopEvent(evt);
|
374
376
|
}
|
375
377
|
}
|
376
|
-
|
377
378
|
},
|
379
|
+
|
378
380
|
onKeyUp: function(evt){
|
379
381
|
var key = evt.keyCode;
|
380
382
|
//console.log(" -> UP:", key)
|
381
|
-
if(key == 16) this.shiftKeyDown = false;
|
383
|
+
if(key == 16){ this.shiftKeyDown = false;}
|
382
384
|
if(key == 37 || key == 38 || key == 39 || key == 40 ){
|
383
385
|
// user can arrow or tab out of table - need to recheck
|
384
386
|
this.onDisplayChanged();
|
385
387
|
}
|
386
|
-
if(key == 9 && this.stopEvent) dojo.stopEvent(evt);
|
388
|
+
if(key == 9 && this.stopEvent){ dojo.stopEvent(evt);}
|
387
389
|
},
|
390
|
+
|
388
391
|
onDisplayChanged: function(){
|
389
392
|
//console.log("onDisplayChanged")
|
390
393
|
this.currentlyAvailable = false;
|
391
394
|
this._tempStoreTableData(false);
|
392
395
|
this._tempAvailability(false);
|
393
396
|
this.checkAvailable();
|
397
|
+
},
|
398
|
+
|
399
|
+
uninitialize: function(editor){
|
400
|
+
// summary:
|
401
|
+
// Function to handle cleaning up of connects
|
402
|
+
// and such. It only finally destroys everything once
|
403
|
+
// all 'references' to it have gone. As in all plugins
|
404
|
+
// that called init on it destroyed their refs in their
|
405
|
+
// cleanup calls.
|
406
|
+
// editor:
|
407
|
+
// The editor to detach from.
|
408
|
+
if(this.editor == editor){
|
409
|
+
this.refCount--;
|
410
|
+
if(!this.refCount && this.initialized){
|
411
|
+
if(this.tablesConnected){
|
412
|
+
this.disconnectTableKeys();
|
413
|
+
}
|
414
|
+
this.initialized = false;
|
415
|
+
dojo.forEach(this._myListeners, function(l){
|
416
|
+
dojo.disconnect(l);
|
417
|
+
});
|
418
|
+
delete this._myListeners;
|
419
|
+
delete this.editor._tablePluginHandler;
|
420
|
+
delete this.editor;
|
421
|
+
}
|
422
|
+
this.inherited(arguments);
|
423
|
+
}
|
394
424
|
}
|
395
425
|
});
|
396
|
-
// global:
|
397
|
-
tablePluginHandler = new dojox.editor.plugins.GlobalTableHandler(); //FIXME: no globals.
|
398
426
|
|
399
427
|
dojo.declare("dojox.editor.plugins.TablePlugins",
|
400
428
|
dijit._editor._Plugin,
|
401
429
|
{
|
402
430
|
//summary:
|
403
|
-
//
|
404
|
-
//
|
405
|
-
//
|
431
|
+
// A collection of Plugins for inserting and modifying tables in the Editor
|
432
|
+
// See end of this document for all avaiable plugs
|
433
|
+
// and dojox/editorPlugins/tests/editorTablePlugs.html for an example
|
406
434
|
//
|
407
|
-
//
|
435
|
+
// NOT IMPLEMENTED: Not handling cell merge, span or split
|
408
436
|
//
|
409
437
|
|
410
438
|
iconClassPrefix: "editorIcon",
|
@@ -413,184 +441,43 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
413
441
|
commandName:"",
|
414
442
|
label:"",
|
415
443
|
alwaysAvailable:false,
|
416
|
-
undoEnabled:
|
444
|
+
undoEnabled:true,
|
417
445
|
|
418
|
-
constructor: function(){
|
419
|
-
// summary
|
420
|
-
// Initialize certain plugins
|
421
|
-
//
|
422
|
-
switch(this.commandName){
|
423
|
-
|
424
|
-
case "colorTableCell":
|
425
|
-
this.buttonClass = dijit.form.DropDownButton;
|
426
|
-
this.dropDown = new dijit.ColorPalette();
|
427
|
-
this.connect(this.dropDown, "onChange", function(color){
|
428
|
-
this.modTable(null, color);
|
429
|
-
});
|
430
|
-
break;
|
431
|
-
|
432
|
-
case "modifyTable":
|
433
|
-
this.buttonClass = dijit.form.Button;
|
434
|
-
this.modTable = this.launchModifyDialog;
|
435
|
-
break;
|
436
|
-
|
437
|
-
case "insertTable":
|
438
|
-
this.alwaysAvailable = true;
|
439
|
-
this.buttonClass = dijit.form.Button;
|
440
|
-
this.modTable = this.launchInsertDialog;
|
441
|
-
break;
|
442
|
-
|
443
|
-
case "tableContextMenu":
|
444
|
-
this.connect(this, "setEditor", function(editor){
|
445
|
-
editor.onLoadDeferred.addCallback(dojo.hitch(this, function() {
|
446
|
-
this._createContextMenu();
|
447
|
-
}));
|
448
|
-
this.button.domNode.style.display = "none";
|
449
|
-
});
|
450
|
-
break;
|
451
|
-
}
|
452
|
-
|
453
|
-
dojo.subscribe("available", this, "onDisplayChanged");
|
454
|
-
|
455
|
-
},
|
456
446
|
onDisplayChanged: function(withinTable){
|
457
447
|
// subscribed to from the global object's publish method
|
458
448
|
//
|
459
449
|
//console.log("onDisplayChanged", this.commandName);
|
460
450
|
if(!this.alwaysAvailable){
|
461
451
|
this.available = withinTable;
|
462
|
-
this.button.
|
452
|
+
this.button.set('disabled', !this.available);
|
463
453
|
}
|
464
454
|
},
|
465
455
|
|
466
|
-
setEditor: function(){
|
456
|
+
setEditor: function(editor){
|
457
|
+
this.editor = editor;
|
458
|
+
this.editor.customUndo = true;
|
467
459
|
this.inherited(arguments);
|
460
|
+
this._availableTopic = dojo.subscribe(this.editor.id + "_tablePlugins", this, "onDisplayChanged");
|
468
461
|
this.onEditorLoaded();
|
469
462
|
},
|
470
463
|
onEditorLoaded: function(){
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
//
|
480
|
-
var node = dojo.isMoz ? this.editor.editNode : this.editorDomNode;
|
481
|
-
|
482
|
-
var pMenu = new dijit.Menu({targetNodeIds:[node], id:"progMenu", contextMenuForWindow:dojo.isIE});
|
483
|
-
var _M = dijit.MenuItem;
|
484
|
-
var messages = dojo.i18n.getLocalization("dojox.editor.plugins", "TableDialog", this.lang);
|
485
|
-
pMenu.addChild(new _M({label: messages.selectTableLabel, onClick: dojo.hitch(this, "selectTable")}));
|
486
|
-
pMenu.addChild(new dijit.MenuSeparator());
|
487
|
-
|
488
|
-
pMenu.addChild(new _M({label: messages.insertTableRowBeforeLabel, onClick: dojo.hitch(this, "modTable", "insertTableRowBefore" )}));
|
489
|
-
pMenu.addChild(new _M({label: messages.insertTableRowAfterLabel, onClick: dojo.hitch(this, "modTable", "insertTableRowAfter" )}));
|
490
|
-
pMenu.addChild(new _M({label: messages.insertTableColumnBeforeLabel, onClick: dojo.hitch(this, "modTable", "insertTableColumnBefore" )}));
|
491
|
-
pMenu.addChild(new _M({label: messages.insertTableColumnAfterLabel, onClick: dojo.hitch(this, "modTable", "insertTableColumnAfter" )}));
|
492
|
-
pMenu.addChild(new dijit.MenuSeparator());
|
493
|
-
pMenu.addChild(new _M({label: messages.deleteTableRowLabel, onClick: dojo.hitch(this, "modTable", "deleteTableRow" )}));
|
494
|
-
pMenu.addChild(new _M({label: messages.deleteTableColumnLabel, onClick: dojo.hitch(this, "modTable", "deleteTableColumn" )}));
|
495
|
-
|
496
|
-
// overwriting this method, as the menu's coordinates
|
497
|
-
// are not accurate in the editor's iframe
|
498
|
-
// FIXME: Works well in IE - all others, sometimes inaccurate.
|
499
|
-
pMenu._openMyself = function(e){
|
500
|
-
|
501
|
-
if(!tablePluginHandler.checkAvailable()){ return; }
|
502
|
-
|
503
|
-
if(this.leftClickToOpen && e.button>0){
|
504
|
-
return;
|
505
|
-
}
|
506
|
-
dojo.stopEvent(e);
|
507
|
-
|
508
|
-
var x,y;
|
509
|
-
if(dojo.isIE){
|
510
|
-
x = e.x;
|
511
|
-
y = e.y;
|
512
|
-
}else{
|
513
|
-
x = e.screenX;
|
514
|
-
y = e.screenY + 25;
|
515
|
-
}
|
516
|
-
var self=this;
|
517
|
-
var savedFocus = dijit.getFocus(this);
|
518
|
-
function closeAndRestoreFocus(){
|
519
|
-
// user has clicked on a menu or popup
|
520
|
-
dijit.focus(savedFocus);
|
521
|
-
dijit.popup.close(self);
|
522
|
-
}
|
523
|
-
var res = dijit.popup.open({
|
524
|
-
popup: this,
|
525
|
-
x: x,
|
526
|
-
y: y,
|
527
|
-
onExecute: closeAndRestoreFocus,
|
528
|
-
onCancel: closeAndRestoreFocus,
|
529
|
-
orient: this.isLeftToRight() ? 'L' : 'R'
|
530
|
-
});
|
531
|
-
var v = dijit.getViewport();
|
532
|
-
if(res.y+res.h>v.h){
|
533
|
-
if(e.screenY-res.h>=0){
|
534
|
-
y = e.screenY - res.h;
|
535
|
-
}else{
|
536
|
-
y = 0;
|
537
|
-
}
|
538
|
-
dijit.popup.close(this);
|
539
|
-
// FIXME: Not very DRY here.
|
540
|
-
// Reopening popup if the location was not good.
|
541
|
-
res = dijit.popup.open({
|
542
|
-
popup: this,
|
543
|
-
x: x,
|
544
|
-
y: y,
|
545
|
-
onExecute: closeAndRestoreFocus,
|
546
|
-
onCancel: closeAndRestoreFocus,
|
547
|
-
orient: this.isLeftToRight() ? 'L' : 'R'
|
548
|
-
});
|
549
|
-
}
|
550
|
-
console.log(dijit.getViewport());
|
551
|
-
this.focus();
|
552
|
-
|
553
|
-
this._onBlur = function(){
|
554
|
-
this.inherited('_onBlur', arguments);
|
555
|
-
dijit.popup.close(this);
|
556
|
-
}
|
464
|
+
if(!this.editor._tablePluginHandler){
|
465
|
+
// Create it and init it off the editor. This
|
466
|
+
// will create the _tablePluginHandler reference on
|
467
|
+
// the dijit.Editor instance. This avoids a global.
|
468
|
+
var tablePluginHandler = new dojox.editor.plugins._TableHandler();
|
469
|
+
tablePluginHandler.initialize(this.editor);
|
470
|
+
}else{
|
471
|
+
this.editor._tablePluginHandler.initialize(this.editor);
|
557
472
|
}
|
558
|
-
this.menu = pMenu;
|
559
473
|
},
|
560
474
|
|
561
|
-
|
562
475
|
selectTable: function(){
|
563
476
|
// selects table that is in focus
|
564
477
|
var o = this.getTableInfo();
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
var w = new dojox.editor.plugins.EditorTableDialog({});
|
569
|
-
w.show();
|
570
|
-
var c = dojo.connect(w, "onBuildTable", this, function(obj){
|
571
|
-
dojo.disconnect(c);
|
572
|
-
|
573
|
-
var res = this.editor.execCommand('inserthtml', obj.htmlText);
|
574
|
-
|
575
|
-
// commenting this line, due to msg below
|
576
|
-
//var td = this.editor.query("td", this.editor.byId(obj.id));
|
577
|
-
|
578
|
-
//HMMMM.... This throws a security error now. didn't used to.
|
579
|
-
//this.editor.selectElement(td);
|
580
|
-
});
|
581
|
-
},
|
582
|
-
|
583
|
-
launchModifyDialog: function(){
|
584
|
-
var o = this.getTableInfo();
|
585
|
-
console.log("LAUNCH DIALOG")
|
586
|
-
var w = new dojox.editor.plugins.EditorModifyTableDialog({table:o.tbl});
|
587
|
-
w.show();
|
588
|
-
this.connect(w, "onSetTable", function(color){
|
589
|
-
// uhm... not sure whats going on here...
|
590
|
-
var o = this.getTableInfo();
|
591
|
-
console.log("set color:", color)
|
592
|
-
dojo.attr(o.td, "bgcolor", color);
|
593
|
-
});
|
478
|
+
if(o && o.tbl){
|
479
|
+
dojo.withGlobal(this.editor.window, "selectElement",dijit._editor.selection, [o.tbl]);
|
480
|
+
}
|
594
481
|
},
|
595
482
|
|
596
483
|
_initButton: function(){
|
@@ -600,19 +487,18 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
600
487
|
this.inherited(arguments);
|
601
488
|
delete this.command;
|
602
489
|
|
603
|
-
|
604
|
-
if(this.commandName=="tableContextMenu") this.button.domNode.display = "none";
|
490
|
+
this.connect(this.button, "onClick", "modTable");
|
605
491
|
|
606
492
|
this.onDisplayChanged(false);
|
607
493
|
},
|
608
494
|
|
609
495
|
modTable: function(cmd, args){
|
610
|
-
// summary
|
611
|
-
//
|
612
|
-
//
|
613
|
-
//
|
614
|
-
//
|
615
|
-
//
|
496
|
+
// summary:
|
497
|
+
// Where each plugin performs its action
|
498
|
+
// Note: not using execCommand. In spite of their presence in the
|
499
|
+
// Editor as query-able plugins, I was not able to find any evidence
|
500
|
+
// that they are supported (especially in NOT IE). If they are
|
501
|
+
// supported in other browsers, it may help with the undo problem.
|
616
502
|
//
|
617
503
|
this.begEdit();
|
618
504
|
var o = this.getTableInfo();
|
@@ -620,7 +506,12 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
620
506
|
var r, c, i;
|
621
507
|
var adjustColWidth = false;
|
622
508
|
//console.log("modTable:", sw)
|
623
|
-
|
509
|
+
|
510
|
+
if(dojo.isIE){
|
511
|
+
// IE can lose selections on focus changes, so focus back
|
512
|
+
// in order to restore it.
|
513
|
+
this.editor.focus();
|
514
|
+
}
|
624
515
|
switch(sw){
|
625
516
|
case "insertTableRowBefore":
|
626
517
|
r = o.tbl.insertRow(o.trIndex);
|
@@ -652,7 +543,7 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
652
543
|
break;
|
653
544
|
case "deleteTableRow":
|
654
545
|
o.tbl.deleteRow(o.trIndex);
|
655
|
-
console.log("TableInfo:", this.getTableInfo())
|
546
|
+
console.log("TableInfo:", this.getTableInfo());
|
656
547
|
break;
|
657
548
|
case "deleteTableColumn":
|
658
549
|
o.trs.forEach(function(tr){
|
@@ -660,19 +551,11 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
660
551
|
});
|
661
552
|
adjustColWidth = true;
|
662
553
|
break;
|
663
|
-
|
664
|
-
// The one plugin that really needs use of the very verbose
|
665
|
-
// getSelectedCells()
|
666
|
-
var tds = this.getSelectedCells(o.tbl);
|
667
|
-
dojo.forEach(tds, function(td){
|
668
|
-
dojo.style(td, "backgroundColor", args);
|
669
|
-
});
|
670
|
-
|
671
|
-
break;
|
554
|
+
|
672
555
|
case "modifyTable":
|
673
556
|
break;
|
674
557
|
case "insertTable":
|
675
|
-
break
|
558
|
+
break;
|
676
559
|
|
677
560
|
}
|
678
561
|
if(adjustColWidth){
|
@@ -681,22 +564,20 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
681
564
|
this.endEdit();
|
682
565
|
},
|
683
566
|
|
684
|
-
// UNDO HANDLERS
|
685
|
-
// Only works in IE
|
686
567
|
begEdit: function(){
|
687
|
-
if(
|
688
|
-
console.log("UNDO:", this.editor.customUndo)
|
568
|
+
if(this.editor._tablePluginHandler.undoEnabled){
|
569
|
+
//console.log("UNDO:", this.editor.customUndo);
|
689
570
|
if(this.editor.customUndo){
|
690
571
|
this.editor.beginEditing();
|
691
572
|
}else{
|
692
573
|
this.valBeforeUndo = this.editor.getValue();
|
693
|
-
console.log("VAL:", this.valBeforeUndo)
|
574
|
+
//console.log("VAL:", this.valBeforeUndo);
|
694
575
|
|
695
576
|
}
|
696
577
|
}
|
697
578
|
},
|
698
579
|
endEdit: function(){
|
699
|
-
if(
|
580
|
+
if(this.editor._tablePluginHandler.undoEnabled){
|
700
581
|
if(this.editor.customUndo){
|
701
582
|
this.editor.endEditing();
|
702
583
|
}else{
|
@@ -714,9 +595,9 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
714
595
|
},
|
715
596
|
|
716
597
|
makeColumnsEven: function(){
|
717
|
-
//summary
|
718
|
-
//
|
719
|
-
//
|
598
|
+
//summary:
|
599
|
+
// After changing column amount, change widths to
|
600
|
+
// keep columns even
|
720
601
|
//
|
721
602
|
// the timeout helps prevent an occasional snafu
|
722
603
|
setTimeout(dojo.hitch(this, function(){
|
@@ -729,21 +610,21 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
729
610
|
},
|
730
611
|
|
731
612
|
getTableInfo: function(forceNewData){
|
732
|
-
// summary
|
733
|
-
//
|
734
|
-
//
|
613
|
+
// summary:
|
614
|
+
// Gets the table in focus
|
615
|
+
// Collects info on the table - see return params
|
735
616
|
//
|
736
|
-
return
|
617
|
+
return this.editor._tablePluginHandler.getTableInfo(forceNewData);
|
737
618
|
},
|
738
619
|
_makeTitle: function(str){
|
739
620
|
// Parses the commandName into a Title
|
740
621
|
// based on camelCase
|
741
|
-
var
|
622
|
+
var ns = [];
|
742
623
|
dojo.forEach(str, function(c, i){
|
743
624
|
if(c.charCodeAt(0)<91 && i>0 && ns[i-1].charCodeAt(0)!=32){
|
744
625
|
ns.push(" ");
|
745
626
|
}
|
746
|
-
if(i
|
627
|
+
if(i===0){ c = c.toUpperCase();}
|
747
628
|
ns.push(c);
|
748
629
|
});
|
749
630
|
return ns.join("");
|
@@ -752,98 +633,193 @@ dojo.declare("dojox.editor.plugins.TablePlugins",
|
|
752
633
|
|
753
634
|
|
754
635
|
getSelectedCells: function(){
|
755
|
-
// summary
|
756
|
-
//
|
757
|
-
//
|
758
|
-
//
|
759
|
-
|
636
|
+
// summary:
|
637
|
+
// Gets the selected cells from the passed table
|
638
|
+
// Returns: array of TDs or empty array
|
760
639
|
var cells = [];
|
761
640
|
var tbl = this.getTableInfo().tbl;
|
762
|
-
|
641
|
+
this.editor._tablePluginHandler._prepareTable(tbl);
|
763
642
|
var e = this.editor;
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
var
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
}else if(foundFirst && !foundLast){
|
793
|
-
rows.push(tr);
|
794
|
-
if(tr == r.anchorNode || tr == r.focusNode){
|
795
|
-
foundLast = true;
|
796
|
-
}
|
797
|
-
}
|
798
|
-
});
|
799
|
-
dojo.forEach(rows, function(tr){
|
800
|
-
cells = cells.concat(dojo.query("td", tr));
|
801
|
-
}, this);
|
802
|
-
}else{
|
803
|
-
// Safari
|
804
|
-
// Yay! It works like expected
|
805
|
-
// Getting the cells from anchorNode to focusNode
|
806
|
-
//
|
807
|
-
tds.forEach(function(td, i){
|
808
|
-
if(!foundFirst && (td.id == r.anchorNode.parentNode.id || td.id == r.focusNode.parentNode.id)){
|
809
|
-
cells.push(td);
|
810
|
-
foundFirst = true;
|
811
|
-
if(r.anchorNode.parentNode.id == r.focusNode.parentNode.id){
|
812
|
-
foundLast = true;
|
813
|
-
}
|
814
|
-
}else if(foundFirst && !foundLast){
|
815
|
-
cells.push(td)
|
816
|
-
if(td.id == r.focusNode.parentNode.id || td.id == r.anchorNode.parentNode.id){
|
817
|
-
foundLast = true;
|
643
|
+
|
644
|
+
// Lets do this the way IE originally was (Looking up ids). Walking the selection
|
645
|
+
// is inconsistent in the browsers (and painful), so going by ids is simpler.
|
646
|
+
var text = dojo.withGlobal(e.window, "getSelectedHtml",dijit._editor.selection, [null]);
|
647
|
+
var str = text.match(/id="*\w*"*/g);
|
648
|
+
dojo.forEach(str, function(a){
|
649
|
+
var id = a.substring(3, a.length);
|
650
|
+
if(id.charAt(0) == "\"" && id.charAt(id.length - 1) == "\""){
|
651
|
+
id = id.substring(1, id.length - 1);
|
652
|
+
}
|
653
|
+
var node = e.byId(id);
|
654
|
+
if(node && node.tagName.toLowerCase() == "td"){
|
655
|
+
cells.push(node);
|
656
|
+
}
|
657
|
+
}, this);
|
658
|
+
|
659
|
+
if(!cells.length){
|
660
|
+
//May just be in a cell (cursor point, or selection in a cell), so look upwards.
|
661
|
+
//for a cell container.
|
662
|
+
var sel = dijit.range.getSelection(e.window);
|
663
|
+
if(sel.rangeCount){
|
664
|
+
var r = sel.getRangeAt(0);
|
665
|
+
var node = r.startContainer;
|
666
|
+
while(node && node != e.editNode && node != e.document){
|
667
|
+
if(node.nodeType === 1){
|
668
|
+
var tg = node.tagName ? node.tagName.toLowerCase() : "";
|
669
|
+
if(tg === "td"){
|
670
|
+
return [node];
|
818
671
|
}
|
819
672
|
}
|
820
|
-
|
821
|
-
|
673
|
+
node = node.parentNode;
|
674
|
+
}
|
822
675
|
}
|
823
|
-
|
824
|
-
}
|
825
|
-
|
826
|
-
if(dojo.isIE){
|
827
|
-
// IE
|
828
|
-
// Although the code is tight - there's some funkiness here
|
829
|
-
// Can only get the htmlText, so we add IDs to the cells (above)
|
830
|
-
// And pull them from the htmlText, then search for those cells
|
831
|
-
//
|
832
|
-
r = document.selection.createRange()
|
833
|
-
|
834
|
-
var str = r.htmlText.match(/id=\w*/g);
|
835
|
-
dojo.forEach(str, function(a){
|
836
|
-
var id = a.substring(3, a.length);
|
837
|
-
cells.push(e.byId(id));
|
838
|
-
}, this)
|
839
|
-
|
840
676
|
}
|
841
677
|
return cells;
|
678
|
+
},
|
679
|
+
|
680
|
+
destroy: function(){
|
681
|
+
// summary:
|
682
|
+
// Over-ridden destroy to do some cleanup.
|
683
|
+
this.inherited(arguments);
|
684
|
+
dojo.unsubscribe(this._availableTopic);
|
685
|
+
|
686
|
+
// Disconnect the editor from the handler
|
687
|
+
// to clean up refs. Moved to using a per-editor
|
688
|
+
// 'handler' to avoid collisions on the old global.
|
689
|
+
this.editor._tablePluginHandler.uninitialize(this.editor);
|
842
690
|
}
|
843
691
|
|
844
692
|
}
|
845
693
|
);
|
846
694
|
|
695
|
+
dojo.declare("dojox.editor.plugins.TableContextMenu",
|
696
|
+
dojox.editor.plugins.TablePlugins,
|
697
|
+
{
|
698
|
+
constructor: function(){
|
699
|
+
// summary:
|
700
|
+
// Initialize certain plugins
|
701
|
+
//
|
702
|
+
this.connect(this, "setEditor", function(editor){
|
703
|
+
editor.onLoadDeferred.addCallback(dojo.hitch(this, function() {
|
704
|
+
this._createContextMenu();
|
705
|
+
}));
|
706
|
+
this.button.domNode.style.display = "none";
|
707
|
+
});
|
708
|
+
},
|
709
|
+
|
710
|
+
_initButton: function(){
|
711
|
+
this.inherited(arguments);
|
712
|
+
if(this.commandName=="tableContextMenu"){ this.button.domNode.display = "none";}
|
713
|
+
},
|
714
|
+
|
715
|
+
_createContextMenu: function(){
|
716
|
+
// summary
|
717
|
+
// Building context menu for right-click shortcuts within a table
|
718
|
+
//
|
719
|
+
|
720
|
+
var pMenu = new dijit.Menu({targetNodeIds:[this.editor.iframe]});
|
721
|
+
var messages = dojo.i18n.getLocalization("dojox.editor.plugins", "TableDialog", this.lang);
|
722
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.selectTableLabel, onClick: dojo.hitch(this, "selectTable")}));
|
723
|
+
pMenu.addChild(new dijit.MenuSeparator());
|
724
|
+
|
725
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.insertTableRowBeforeLabel, onClick: dojo.hitch(this, "modTable", "insertTableRowBefore" )}));
|
726
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.insertTableRowAfterLabel, onClick: dojo.hitch(this, "modTable", "insertTableRowAfter" )}));
|
727
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.insertTableColumnBeforeLabel, onClick: dojo.hitch(this, "modTable", "insertTableColumnBefore" )}));
|
728
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.insertTableColumnAfterLabel, onClick: dojo.hitch(this, "modTable", "insertTableColumnAfter" )}));
|
729
|
+
pMenu.addChild(new dijit.MenuSeparator());
|
730
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.deleteTableRowLabel, onClick: dojo.hitch(this, "modTable", "deleteTableRow" )}));
|
731
|
+
pMenu.addChild(new dijit.MenuItem({label: messages.deleteTableColumnLabel, onClick: dojo.hitch(this, "modTable", "deleteTableColumn" )}));
|
732
|
+
|
733
|
+
this.menu = pMenu;
|
734
|
+
}
|
735
|
+
});
|
736
|
+
|
737
|
+
dojo.declare("dojox.editor.plugins.InsertTable",
|
738
|
+
dojox.editor.plugins.TablePlugins,
|
739
|
+
{
|
740
|
+
alwaysAvailable: true,
|
741
|
+
|
742
|
+
modTable: function(){
|
743
|
+
var w = new dojox.editor.plugins.EditorTableDialog({});
|
744
|
+
w.show();
|
745
|
+
var c = dojo.connect(w, "onBuildTable", this, function(obj){
|
746
|
+
dojo.disconnect(c);
|
747
|
+
|
748
|
+
var res = this.editor.execCommand('inserthtml', obj.htmlText);
|
749
|
+
|
750
|
+
// commenting this line, due to msg below
|
751
|
+
//var td = this.editor.query("td", this.editor.byId(obj.id));
|
752
|
+
|
753
|
+
//HMMMM.... This throws a security error now. didn't used to.
|
754
|
+
//this.editor.selectElement(td);
|
755
|
+
});
|
756
|
+
}
|
757
|
+
});
|
758
|
+
|
759
|
+
dojo.declare("dojox.editor.plugins.ModifyTable",
|
760
|
+
dojox.editor.plugins.TablePlugins,
|
761
|
+
{
|
762
|
+
modTable: function(){
|
763
|
+
if (!this.editor._tablePluginHandler.checkAvailable()) {return;}
|
764
|
+
var o = this.getTableInfo();
|
765
|
+
//console.log("LAUNCH DIALOG");
|
766
|
+
var w = new dojox.editor.plugins.EditorModifyTableDialog({table:o.tbl});
|
767
|
+
w.show();
|
768
|
+
this.connect(w, "onSetTable", function(color){
|
769
|
+
// uhm... not sure whats going on here...
|
770
|
+
var o = this.getTableInfo();
|
771
|
+
//console.log("set color:", color);
|
772
|
+
dojo.attr(o.td, "bgcolor", color);
|
773
|
+
});
|
774
|
+
}
|
775
|
+
});
|
776
|
+
|
777
|
+
dojo.declare("dojox.editor.plugins.ColorTableCell",
|
778
|
+
dojox.editor.plugins.TablePlugins,
|
779
|
+
{
|
780
|
+
|
781
|
+
constructor: function(){
|
782
|
+
// summary:
|
783
|
+
// Initialize certain plugins
|
784
|
+
//
|
785
|
+
this.buttonClass = dijit.form.DropDownButton;
|
786
|
+
this.dropDown = new dijit.ColorPalette();
|
787
|
+
this.connect(this.dropDown, "onChange", function(color){
|
788
|
+
this.modTable(null, color);
|
789
|
+
});
|
790
|
+
},
|
791
|
+
|
792
|
+
_initButton: function(){
|
793
|
+
this.command = this.commandName;
|
794
|
+
|
795
|
+
this.label = this.editor.commands[this.command] = this._makeTitle(this.command);
|
796
|
+
this.inherited(arguments);
|
797
|
+
delete this.command;
|
798
|
+
|
799
|
+
this.onDisplayChanged(false);
|
800
|
+
},
|
801
|
+
|
802
|
+
modTable: function(cmd, args){
|
803
|
+
// summary
|
804
|
+
// Where each plugin performs its action
|
805
|
+
// Note: not using execCommand. In spite of their presence in the
|
806
|
+
// Editor as query-able plugins, I was not able to find any evidence
|
807
|
+
// that they are supported (especially in NOT IE). If they are
|
808
|
+
// supported in other browsers, it may help with the undo problem.
|
809
|
+
//
|
810
|
+
this.begEdit();
|
811
|
+
var o = this.getTableInfo();
|
812
|
+
// The one plugin that really needs use of the very verbose
|
813
|
+
// getSelectedCells()
|
814
|
+
var tds = this.getSelectedCells(o.tbl);
|
815
|
+
//console.debug("SELECTED CELLS ", tds , " FOR ", o);
|
816
|
+
dojo.forEach(tds, function(td){
|
817
|
+
dojo.style(td, "backgroundColor", args);
|
818
|
+
});
|
819
|
+
this.endEdit();
|
820
|
+
}
|
821
|
+
});
|
822
|
+
|
847
823
|
dojo.provide("dojox.editor.plugins.EditorTableDialog");
|
848
824
|
dojo.require("dijit.Dialog");
|
849
825
|
dojo.require("dijit.form.TextBox");
|
@@ -851,8 +827,8 @@ dojo.require("dijit.form.FilteringSelect");
|
|
851
827
|
dojo.require("dijit.form.Button");
|
852
828
|
|
853
829
|
dojo.declare("dojox.editor.plugins.EditorTableDialog", [dijit.Dialog], {
|
854
|
-
// summary
|
855
|
-
//
|
830
|
+
// summary:
|
831
|
+
// Dialog box with options for table creation
|
856
832
|
//
|
857
833
|
baseClass:"EditorTableDialog",
|
858
834
|
|
@@ -873,13 +849,13 @@ dojo.declare("dojox.editor.plugins.EditorTableDialog", [dijit.Dialog], {
|
|
873
849
|
onInsert: function(){
|
874
850
|
console.log("insert");
|
875
851
|
|
876
|
-
var rows =
|
877
|
-
cols =
|
878
|
-
width =
|
879
|
-
widthType = this.selectWidthType.
|
880
|
-
border =
|
881
|
-
pad =
|
882
|
-
space =
|
852
|
+
var rows = this.selectRow.get("value") || 1,
|
853
|
+
cols = this.selectCol.get("value") || 1,
|
854
|
+
width = this.selectWidth.get("value"),
|
855
|
+
widthType = this.selectWidthType.get("value"),
|
856
|
+
border = this.selectBorder.get("value"),
|
857
|
+
pad = this.selectPad.get("value"),
|
858
|
+
space = this.selectSpace.get("value"),
|
883
859
|
_id = "tbl_"+(new Date().getTime()),
|
884
860
|
t = '<table id="'+_id+'"width="'+width+((widthType=="percent")?'%':'')+'" border="'+border+'" cellspacing="'+space+'" cellpadding="'+pad+'">\n';
|
885
861
|
|
@@ -894,8 +870,29 @@ dojo.declare("dojox.editor.plugins.EditorTableDialog", [dijit.Dialog], {
|
|
894
870
|
|
895
871
|
//console.log(t);
|
896
872
|
this.onBuildTable({htmlText:t, id:_id});
|
873
|
+
var cl = dojo.connect(this, "onHide", function(){
|
874
|
+
dojo.disconnect(cl);
|
875
|
+
var self = this;
|
876
|
+
setTimeout(function(){
|
877
|
+
self.destroyRecursive();
|
878
|
+
}, 10);
|
879
|
+
});
|
897
880
|
this.hide();
|
898
881
|
},
|
882
|
+
|
883
|
+
onCancel: function(){
|
884
|
+
// summary:
|
885
|
+
// Function to clean up memory so that the dialog is destroyed
|
886
|
+
// when closed.
|
887
|
+
var c = dojo.connect(this, "onHide", function(){
|
888
|
+
dojo.disconnect(c);
|
889
|
+
var self = this;
|
890
|
+
setTimeout(function(){
|
891
|
+
self.destroyRecursive();
|
892
|
+
}, 10);
|
893
|
+
});
|
894
|
+
},
|
895
|
+
|
899
896
|
onBuildTable: function(tableText){
|
900
897
|
//stub
|
901
898
|
}
|
@@ -907,8 +904,8 @@ dojo.require("dijit.ColorPalette");
|
|
907
904
|
|
908
905
|
dojo.declare("dojox.editor.plugins.EditorModifyTableDialog", [dijit.Dialog], {
|
909
906
|
|
910
|
-
// summary
|
911
|
-
//
|
907
|
+
// summary:
|
908
|
+
// Dialog box with options for editing a table
|
912
909
|
//
|
913
910
|
|
914
911
|
baseClass:"EditorTableDialog",
|
@@ -927,42 +924,58 @@ dojo.declare("dojox.editor.plugins.EditorModifyTableDialog", [dijit.Dialog], {
|
|
927
924
|
postCreate: function(){
|
928
925
|
dojo.addClass(this.domNode, this.baseClass); //FIXME - why isn't Dialog accepting the baseClass?
|
929
926
|
this.inherited(arguments);
|
930
|
-
|
927
|
+
this._cleanupWidgets = [];
|
928
|
+
var w1 = new dijit.ColorPalette({});
|
929
|
+
this.connect(w1, "onChange", function(color){
|
930
|
+
dijit.popup.close(w1);
|
931
|
+
this.setBrdColor(color);
|
932
|
+
});
|
933
|
+
this.connect(w1, "onBlur", function(){
|
934
|
+
dijit.popup.close(w1);
|
935
|
+
});
|
931
936
|
this.connect(this.borderCol, "click", function(){
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
937
|
+
dijit.popup.open({popup:w1, around:this.borderCol});
|
938
|
+
w1.focus();
|
939
|
+
});
|
940
|
+
var w2 = new dijit.ColorPalette({});
|
941
|
+
this.connect(w2, "onChange", function(color){
|
942
|
+
dijit.popup.close(w2);
|
943
|
+
this.setBkColor(color);
|
944
|
+
});
|
945
|
+
this.connect(w2, "onBlur", function(){
|
946
|
+
dijit.popup.close(w2);
|
939
947
|
});
|
940
948
|
this.connect(this.backgroundCol, "click", function(){
|
941
|
-
|
942
|
-
|
943
|
-
dijit.popup.open({popup:w, around:this.backgroundCol});
|
944
|
-
this.connect(w, "onChange", function(color){
|
945
|
-
dijit.popup.close(w);
|
946
|
-
this.setBkColor(color);
|
947
|
-
});
|
949
|
+
dijit.popup.open({popup:w2, around:this.backgroundCol});
|
950
|
+
w2.focus();
|
948
951
|
});
|
952
|
+
this._cleanupWidgets.push(w1);
|
953
|
+
this._cleanupWidgets.push(w2);
|
949
954
|
|
950
955
|
this.setBrdColor(dojo.attr(this.table, "bordercolor"));
|
951
956
|
this.setBkColor(dojo.attr(this.table, "bgcolor"));
|
952
957
|
var w = dojo.attr(this.table, "width");
|
958
|
+
if(!w){
|
959
|
+
w = this.table.style.width;
|
960
|
+
}
|
953
961
|
var p = "pixels";
|
954
|
-
if(w.indexOf("%")>-1){
|
955
|
-
p = "percent"
|
962
|
+
if(dojo.isString(w) && w.indexOf("%")>-1){
|
963
|
+
p = "percent";
|
956
964
|
w = w.replace(/%/, "");
|
957
965
|
}
|
958
966
|
|
959
|
-
|
960
|
-
|
967
|
+
if(w){
|
968
|
+
this.selectWidth.set("value", w);
|
969
|
+
this.selectWidthType.set("value", p);
|
970
|
+
}else{
|
971
|
+
this.selectWidth.set("value", "");
|
972
|
+
this.selectWidthType.set("value", "percent");
|
973
|
+
}
|
961
974
|
|
962
|
-
this.selectBorder.
|
963
|
-
this.selectPad.
|
964
|
-
this.selectSpace.
|
965
|
-
this.selectAlign.
|
975
|
+
this.selectBorder.set("value", dojo.attr(this.table, "border"));
|
976
|
+
this.selectPad.set("value", dojo.attr(this.table, "cellPadding"));
|
977
|
+
this.selectSpace.set("value", dojo.attr(this.table, "cellSpacing"));
|
978
|
+
this.selectAlign.set("value", dojo.attr(this.table, "align"));
|
966
979
|
},
|
967
980
|
|
968
981
|
setBrdColor: function(color){
|
@@ -975,18 +988,54 @@ dojo.declare("dojox.editor.plugins.EditorModifyTableDialog", [dijit.Dialog], {
|
|
975
988
|
dojo.style(this.backgroundCol, "backgroundColor", color);
|
976
989
|
},
|
977
990
|
onSet: function(){
|
978
|
-
dojo.attr(this.table, "
|
979
|
-
dojo.attr(this.table, "
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
991
|
+
dojo.attr(this.table, "borderColor", this.brdColor);
|
992
|
+
dojo.attr(this.table, "bgColor", this.bkColor);
|
993
|
+
if(this.selectWidth.get("value")){
|
994
|
+
// Just in case, remove it from style since we're setting it as a table attribute.
|
995
|
+
dojo.style(this.table, "width", "");
|
996
|
+
dojo.attr(this.table, "width", (this.selectWidth.get("value") + ((this.selectWidthType.get("value")=="pixels")?"":"%") ));
|
997
|
+
}
|
998
|
+
dojo.attr(this.table, "border", this.selectBorder.get("value"));
|
999
|
+
dojo.attr(this.table, "cellPadding", this.selectPad.get("value"));
|
1000
|
+
dojo.attr(this.table, "cellSpacing", this.selectSpace.get("value"));
|
1001
|
+
dojo.attr(this.table, "align", this.selectAlign.get("value"));
|
1002
|
+
var c = dojo.connect(this, "onHide", function(){
|
1003
|
+
dojo.disconnect(c);
|
1004
|
+
var self = this;
|
1005
|
+
setTimeout(function(){
|
1006
|
+
self.destroyRecursive();
|
1007
|
+
}, 10);
|
1008
|
+
});
|
986
1009
|
this.hide();
|
987
1010
|
},
|
1011
|
+
|
1012
|
+
onCancel: function(){
|
1013
|
+
// summary:
|
1014
|
+
// Function to clean up memory so that the dialog is destroyed
|
1015
|
+
// when closed.
|
1016
|
+
var c = dojo.connect(this, "onHide", function(){
|
1017
|
+
dojo.disconnect(c);
|
1018
|
+
var self = this;
|
1019
|
+
setTimeout(function(){
|
1020
|
+
self.destroyRecursive();
|
1021
|
+
}, 10);
|
1022
|
+
});
|
1023
|
+
},
|
1024
|
+
|
988
1025
|
onSetTable: function(tableText){
|
989
1026
|
//stub
|
1027
|
+
},
|
1028
|
+
|
1029
|
+
destroy: function(){
|
1030
|
+
// summary:
|
1031
|
+
// Cleanup function.
|
1032
|
+
this.inherited(arguments);
|
1033
|
+
dojo.forEach(this._cleanupWidgets, function(w){
|
1034
|
+
if(w && w.destroy){
|
1035
|
+
w.destroy();
|
1036
|
+
}
|
1037
|
+
});
|
1038
|
+
delete this._cleanupWidgets;
|
990
1039
|
}
|
991
1040
|
});
|
992
1041
|
|
@@ -995,7 +1044,7 @@ dojo.declare("dojox.editor.plugins.EditorModifyTableDialog", [dijit.Dialog], {
|
|
995
1044
|
|
996
1045
|
dojo.subscribe(dijit._scopeName + ".Editor.getPlugin",null,function(o){
|
997
1046
|
if(o.plugin){ return; }
|
998
|
-
// make first
|
1047
|
+
// make first character lower case
|
999
1048
|
if(o.args && o.args.command){
|
1000
1049
|
var cmd = o.args.command.charAt(0).toLowerCase()+o.args.command.substring(1,o.args.command.length);
|
1001
1050
|
|
@@ -1006,12 +1055,23 @@ dojo.subscribe(dijit._scopeName + ".Editor.getPlugin",null,function(o){
|
|
1006
1055
|
case "insertTableColumnAfter":
|
1007
1056
|
case "deleteTableRow":
|
1008
1057
|
case "deleteTableColumn":
|
1058
|
+
o.plugin = new dojox.editor.plugins.TablePlugins({commandName: cmd});
|
1059
|
+
break;
|
1060
|
+
|
1009
1061
|
case "colorTableCell":
|
1062
|
+
o.plugin = new dojox.editor.plugins.ColorTableCell({commandName: cmd});
|
1063
|
+
break;
|
1064
|
+
|
1010
1065
|
case "modifyTable":
|
1066
|
+
o.plugin = new dojox.editor.plugins.ModifyTable({commandName: cmd});
|
1067
|
+
break;
|
1068
|
+
|
1011
1069
|
case "insertTable":
|
1070
|
+
o.plugin = new dojox.editor.plugins.InsertTable({commandName: cmd});
|
1071
|
+
break;
|
1072
|
+
|
1012
1073
|
case "tableContextMenu":
|
1013
|
-
|
1014
|
-
o.plugin = new dojox.editor.plugins.TablePlugins({commandName: cmd});
|
1074
|
+
o.plugin = new dojox.editor.plugins.TableContextMenu({commandName: cmd});
|
1015
1075
|
break;
|
1016
1076
|
}
|
1017
1077
|
}
|