jzaefferer
540b78d920
Adding a domEqual assertion to our testsuite for more sane DOM
...
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00
jzaefferer
b65583a029
Menu: Cleanup unit test page
2011-02-25 11:16:16 +01:00
jzaefferer
643e20ca3d
Menu: Optimize menu positioning in menubar
2011-02-24 23:03:58 +01:00
jzaefferer
105ef8b851
Menu: Add ui-state-active to active menu bar button
2011-02-24 22:57:44 +01:00
Scott González
bed6def5c0
Autocomplete tests: Fixed various bugs in various versions of IE.
2011-02-24 22:55:24 +01:00
maggiewachs
c2f9677252
Merge branch 'master' of github.com:jquery/jquery-ui
2011-02-24 16:00:56 -05:00
maggiewachs
63a72814be
Added two options to set the button style and add down arrow icons
2011-02-24 16:00:32 -05:00
maggiewachs
75afd3319b
Added a second example to show a menubar with buttons and icons and one without (default)
2011-02-24 16:00:01 -05:00
jzaefferer
b8f3e5b1c0
Menu: Fix testsuite, new option
2011-02-24 21:29:48 +01:00
maggiewachs
9e7820a258
Added another nested list for testing
2011-02-24 11:35:34 -05:00
maggiewachs
af0db70ae4
Line 58: document click function was missing event parameter
2011-02-24 11:16:15 -05:00
maggiewachs
b50fa469a4
Added menubar styles and removed ui-widget-header class from markup
2011-02-24 11:06:47 -05:00
maggiewachs
9340da37b7
Added ui-* classes to widget container
2011-02-24 11:06:12 -05:00
maggiewachs
7b3a4e71d3
Added menubar styles
2011-02-24 11:05:24 -05:00
jzaefferer
84d59ded92
Menu: Update menubar to use menu instead of removed flyoutmenu.
2011-02-24 16:39:08 +01:00
jzaefferer
0ddf677e40
Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
...
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00
jzaefferer
38cfcfffe9
Menu: Update autocomplete to use deactivate and check for focus class
2011-02-24 12:05:20 +01:00
jzaefferer
5c687be331
Menu: Refactoring flyout menu in prepartion for merging into menu
2011-02-24 11:14:20 +01:00
jzaefferer
6bd95efe5e
Menu: Fix filter matching to work with flyout menu
2011-02-24 11:14:19 +01:00
jzaefferer
5d3f91bcbe
Menu: Move item matching code into menu
2011-02-24 11:14:19 +01:00
Scott González
50958718c2
Autocomplete: Added support for contenteditable elements. Fixes #6914 - Autocomplete: Support contenteditable.
2011-02-24 10:24:32 +01:00
jzaefferer
ee34b0dabb
Menu: Get rid of .css(top:0,left:0) workaround, not necessary anymore
2011-02-24 10:22:50 +01:00
jzaefferer
3f353cc8fb
Menu: Update unit test to use focus instead of activate method
2011-02-24 10:07:24 +01:00
jzaefferer
0d659d44c3
Menu: Rename activate to focus and deactivate to blur method
2011-02-24 10:06:08 +01:00
jzaefferer
d7682daaa8
Menu: Add some testing for ensure that id-attributes aren't overwritten.
2011-02-23 17:01:19 +01:00
jzaefferer
c37637ee99
Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use
2011-02-23 12:46:13 +01:00
jzaefferer
6597d3eafb
Drop unused tests/unit/defaults.html. If any, we need to composite suite
...
that runs everything, not just defaults.
2011-02-23 12:39:25 +01:00
jzaefferer
98fef9cde5
Menu: Test page for table-based menu (hackity hack)
2011-02-23 12:26:43 +01:00
jzaefferer
ddfd5e632c
Menu: Introducing position option into flyout menu
2011-02-23 12:12:29 +01:00
jzaefferer
faa4b970a7
Menu: Rename nested.html to flyoutmenu.html, updated headers
2011-02-22 16:15:11 +01:00
jzaefferer
f8091f761c
Menu: Overhauled menubar, again starting with Michael Lang's fork. Added
...
working keyboard navigation, including nested menus. Still need to
properly style the menu buttons, e.g. highlight the button of the
currently open menu.
2011-02-22 15:14:12 +01:00
jzaefferer
68c13cd6a6
Menu: Escape characters for RegExp matching for keyboard item matching.
2011-02-22 12:09:03 +01:00
jzaefferer
355705878a
Menu: Overhauled nested menu via flyoutmenu.js backported from Michael
...
Lang's fork. Changed key input handling by setting focus to menu,
getting rid of input option.
2011-02-22 11:51:08 +01:00
jzaefferer
1c7ab042fa
Disable dialog tests on TestSwarm until we can get some running in IE6
...
without freezing the browser.
2011-02-21 22:26:38 +01:00
jzaefferer
a1ebed70e3
Unit tests: Add QUnit toolbar for hiding passed tests
2011-02-21 20:39:35 +01:00
Scott González
f70f01af9e
Accordion: Handle changing the event option. Fixes #6740 - Dynamically changing accordion's event handler doesn't actually change the behaviour.
2011-02-21 16:07:59 +01:00
jzaefferer
84a4a4442d
Merge branch 'master' of github.com:jquery/jquery-ui
2011-02-21 14:45:54 +01:00
jzaefferer
5082e3e971
Menu: Fix visual test to use select event (was selected)
2011-02-21 10:38:30 +01:00
jzaefferer
b107181bbb
Fix datepicker tests to pass in Chrome and run faster by letting QUnit
...
handle the staggered proessing (renders at least once per second, faster
then rendering after each test). Disabled broken manual-entry tests
after confirming its only an issue in the test, not the impl.
2011-02-18 16:08:17 +01:00
William Kevin Manire
c94ec23b26
Widget: modified widget to throw exception on attempt to call private methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object
2011-02-16 00:28:32 -08:00
Dan Heberden
5c3dc7d48a
Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object
2011-02-15 10:15:46 -08:00
David Petersen
8ef8d2d877
Tabs: Pass original event for show and select events. Fixes #5043 - Tabs: pass original event.
2011-02-15 08:56:19 -05:00
jzaefferer
c4a7f45dbc
Tooltip: Added missing items test
2011-02-11 16:01:23 +01:00
jzaefferer
cfa4833fe9
Merge branch 'master' of github.com:jquery/jquery-ui
2011-02-11 15:44:56 +01:00
jzaefferer
e69839ae6a
Menu: Fix unit tests and set the right menu1-activedescendant attribute
2011-02-11 15:42:44 +01:00
Richard Worth
c8063f9252
Added swarminject.js for menu, spinner, and tooltip test pages. Fixes unit tests to run correctly on swarm.jquery.org
2011-02-11 09:40:10 -05:00
Scott González
6096aed0a3
Widget: Fixed super methods with deep inheritance chains.
2011-02-10 21:25:50 -05:00
awgy
cf0649ed6a
Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko
2011-02-05 07:45:37 -06:00
Scott González
ee88a56243
Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - Widget: Allow redefining a widget to create extensions.
2011-02-03 16:37:17 -05:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
a4da197a91
Accordion: Added tests for custom header option.
2011-02-03 10:11:00 -05:00
Scott González
2e17770e54
Accordion: Update active option when programmatically collapsing the accordion.
2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2
Accordion: Handle negative values for active option on init.
2011-02-03 09:59:05 -05:00
Scott González
714a77f202
Accordion: Properly handle collapsible: false and active: false by changing active to 0.
2011-02-03 09:54:11 -05:00
Michael DellaNoce
b3fcf17471
Widget: Modified _trigger to invoke callbacks with apply so that handlers are invoked the same way .trigger() invokes them. Fixes #6795 - Widget: _trigger passes array arguments to handlers inconsistently.
2011-02-01 06:57:48 -05:00
Scott González
cb8f5b7f26
Merge branch 'master' into widget-events
...
Conflicts:
ui/jquery.ui.widget.js
2011-01-31 22:04:09 -05:00
Scott González
17004b9cac
Widget: Use focusin/focusout for ._focusable().
2011-01-31 21:55:22 -05:00
jzaefferer
effbb2c0ec
Update wigdet test for previous change. No stored intance via data for
...
element == instance.
2011-01-31 16:37:50 +01:00
Scott González
7a6dd71f8c
Accordion: Allow canceling the beforeActivate event. Fixes #6896 - Accordion: Allow canceling the beforeActivate event.
2011-01-25 00:52:42 -05:00
Scott González
088ef05142
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
2011-01-25 00:05:55 -05:00
Scott González
06d61f5f23
Accordion: More tests.
2011-01-24 22:40:03 -05:00
Scott González
63c72aba0d
Tests: Fixed erroneous refernece to accordion.
2011-01-24 22:37:57 -05:00
Scott González
0ef4b4f28a
Widget: Added tests for ._hoverable() and ._focusable().
2011-01-24 21:54:50 -05:00
Scott González
4a384c63ff
Widget tests: Remove workaround for old QUnit bug.
2011-01-24 21:31:12 -05:00
Scott González
8034cc3803
Widget tests: Cleanup.
2011-01-24 21:22:40 -05:00
Scott González
2e214f984d
Accordion test: Fixed an icon test.
2011-01-24 21:00:39 -05:00
Scott González
25f420eb9a
Accordion tests: Cleaned up deprecated tests.
2011-01-24 20:35:58 -05:00
Scott González
5ed1046a4a
Accordion tests: Cleanup.
2011-01-24 19:20:09 -05:00
Scott González
ecc0ef53de
Accordion tests: Getting really ghetto in an attempt to get deprecated tests to run in TestSwarm.
2011-01-24 16:00:34 -05:00
Scott González
140d90a9a4
Accordion: Test cleanup.
2011-01-24 15:45:29 -05:00
Scott González
c96c249780
Accordion: First pass at splitting out tests for deprecated functionality.
2011-01-24 14:38:23 -05:00
Scott González
cc90b44060
Widget: Allow this.element to be the widget instance instead of a DOM element. Fixes #6895 - Widget: Allow non-DOM based widget.
2011-01-24 13:33:24 -05:00
Scott González
bc71499a50
Widget: Added tests for defaultElement and element normalization between jQuery objects, elements and selectors.
2011-01-23 19:58:31 -05:00
Scott González
6072703cd1
Widget: Added "dynamic" bindings via ._bind() to allow for proxying.
2011-01-18 01:53:20 -05:00
Scott González
659db70caa
Widget: Added ._bind() for easily binding events with correct context and disabled checking. Pretty much a direct copy from the previous bind branch.
2011-01-18 01:46:26 -05:00
Ivan Peters
67b070f97a
Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872 : parseDate does not default shortYearCutoff correctly.
2011-01-18 16:25:58 +13:00
jzaefferer
ff62bdf61a
Merge branch 'master' of github.com:jquery/jquery-ui
2011-01-17 19:28:49 +01:00
jzaefferer
90a5906af5
Renamed glob.js to jquery.global.js to match actual plugin filenames.
2011-01-17 19:25:14 +01:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
1dc4d64dd4
Spinner: Moved ARIA to input and fixed tests.
2011-01-15 08:28:13 -05:00
Scott González
68d905dd45
Autocompete tests: Added missing menu dependency.
2011-01-14 16:51:31 -05:00
Scott González
25dae411bc
Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add _super() and _superApply() for easy access to parent methods.
2011-01-14 15:52:03 -05:00
Scott González
1b2f6ce095
Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh.
2011-01-14 12:18:33 -05:00
Scott González
468c35877a
Accordion: Moved handling for programmatically collapsing the accordion out of the event handler. Modified event handler to not change the active option until after it determines that the event is valid.
2011-01-13 14:42:35 -05:00
Scott González
8b23483c0b
Accordion: First pass at deprecating the activate method. Renamed _clickHandler to _eventHandler and removed extraneous parameter. Updated all tests to use the option methods instead of the activate method.
2011-01-11 20:53:31 -05:00
Alex Dovenmuehle
b6ed9328ef
Accordion: Deprecated icons.headerSelected in favor of icons.activeHeader. Fixes #6834 - Accordion: Change icons.headerSelected to icons.activeHeader.
2011-01-11 15:38:47 -05:00
Scott González
da1517eda7
Compound visual test: Added missing reference to autocomplete.
2011-01-10 22:07:03 -05:00
Scott González
392d79f2fe
Fixed broken reference to theme file.
2011-01-10 21:40:03 -05:00
Scott González
16692ed5f0
Fixed references to jQuery.
2011-01-10 21:38:58 -05:00
jzaefferer
e724f585bf
Fixed bad references to jQuery-1.4.4.js
2010-12-22 18:59:29 +01:00
jzaefferer
0479ab6af6
Merge remote branch 'origin/tooltip'
...
Conflicts:
demos/autocomplete/combobox.html
demos/index.html
tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19
Merge remote branch 'origin/menu'
...
Conflicts:
demos/autocomplete/categories.html
demos/autocomplete/combobox.html
demos/autocomplete/custom-data.html
demos/autocomplete/default.html
demos/autocomplete/folding.html
demos/autocomplete/multiple-remote.html
demos/autocomplete/multiple.html
demos/autocomplete/remote-jsonp.html
demos/autocomplete/remote-with-cache.html
demos/autocomplete/remote.html
demos/autocomplete/xml.html
demos/button/splitbutton.html
demos/index.html
tests/visual/menu/nested.html
themes/base/jquery.ui.autocomplete.css
ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
jzaefferer
2c89e9587e
Merge remote branch 'origin/spinner'
2010-12-22 17:36:41 +01:00
Scott González
d6edba5a89
Accordion: Move code for deprecated height options into an extension at the bottom of the plugin.
2010-12-19 16:38:15 -05:00
Scott González
f908281bc3
Accordion: Added test for heightStyle: fill with absolutely positioned sibling.
2010-12-19 16:26:03 -05:00
Scott González
e0ae1929a0
Merge remote branch 'Adovenmuehle/master' into accordion-height
2010-12-19 16:14:13 -05:00
Alex Dovenmuehle
94a1786d56
Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings()
2010-12-17 21:38:29 -05:00
Scott González
c4701388e4
addClass: Added visual test page for animation queueing.
2010-12-17 11:35:47 -05:00
Alex Dovenmuehle
490792be6a
Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle
2010-12-16 22:55:59 -05:00
Scott González
162364fae4
Tabs: Removed rotate method. Fixes #5939 - Tabs: Remove rotation.
2010-12-10 15:06:22 -05:00
Alex Dovenmuehle
f54747b302
Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class.
2010-12-10 14:54:50 -05:00
Scott González
b42125af43
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
2010-12-10 14:31:36 -05:00
Scott González
9ad2a4b1cc
Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-12-10 14:11:20 -05:00
Scott González
0e15f573d6
Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
...
This reverts commit 22671ad4f8
.
2010-12-10 13:42:29 -05:00
Scott González
22671ad4f8
Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
...
This should be reverted in jQuery UI 1.9.
2010-12-08 12:36:19 -05:00
saks
63ec1152d8
Tabs: Added context to global selectors. Fixed #6710 - tabs module uses global selectors instead of local to "this.element" element.
2010-12-07 16:27:56 -05:00
Scott González
22cf318e40
Dialog position tests: Use Math.round() instead of Math.floor().
2010-12-03 09:14:27 -05:00
jzaefferer
13f9310783
Spinner: Added Themeswitcher to visual testpage
2010-12-01 22:56:58 +01:00
jzaefferer
aa59bdf700
Spinner: Add spinner to visual tests index page
2010-12-01 22:56:38 +01:00
Marian Rudzynski
d23fe49ae8
Progressbar: Added max option. Fixes #6681 - Progressbar: add max option.
2010-11-22 08:49:47 -05:00
pheiberg
d69f2ecb12
Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument
2010-11-22 08:29:29 -05:00
Phillip Barnes
ff4154bb5d
Lossless compression of all non-theme images using ImageOptim
2010-11-19 14:27:18 -05:00
pheiberg
a2e0eb920a
Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly.
2010-11-18 16:13:28 -05:00
Scott González
5dad57e3c2
Buttonset: Added items option and removed visible filter for adding rounded corners. Fixes #6262 - buttonset not applying ui-corner to invisible elements.
2010-11-12 10:28:55 -05:00
Scott González
fce1f97f76
Upgraded jQuery to 1.4.4.
2010-11-12 09:19:26 -05:00
Jay Merrifield
dfb3544297
Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code.
2010-11-12 08:16:41 -05:00
awgy
e2a693ba78
Mouse: tie the preventClickEvent property to the event target, not the container. Fixes #4752 - link event firing on sortable with connect list
2010-11-09 09:52:24 -05:00
Scott González
4226faed09
Datpicker: Fixed some failing tests.
2010-11-05 10:44:55 -04:00
jzaefferer
c55977d2ef
Menu: Refactored next/previousPage logic and activate-scrolling, improved much!
2010-10-28 19:15:27 +02:00
jzaefferer
23157be9c3
Spinner: Refactored reading htlm5 attributes option init
2010-10-28 17:32:01 +02:00
jzaefferer
9fa6edcbec
Spinner: Visual test page for events
2010-10-27 17:47:49 +02:00
jzaefferer
48a5977d33
Tooltip: Implementing event delegation support.
2010-10-26 17:07:22 +02:00
jzaefferer
bdd815e8dc
Tooltip: Demo and tests update
2010-10-26 15:36:43 +02:00
Scott González
f4d8ec9159
Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden.
2010-10-26 09:05:38 -04:00
jzaefferer
8b4245ac7e
Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead
2010-10-26 14:32:03 +02:00
jzaefferer
61b4b3e445
Tooltip: Unit tests cleanup
2010-10-26 14:26:53 +02:00
jzaefferer
f667bb3c8d
Slider: Some more refactoring and cleanup
2010-10-26 12:44:32 +02:00
jzaefferer
134205840b
Slider: Some more test suite improvements
2010-10-26 12:21:54 +02:00
jzaefferer
2df094527e
Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite.
2010-10-26 12:14:45 +02:00
jzaefferer
0a1da016ff
Slider: Update to latest mousewheel plugin
2010-10-26 10:53:03 +02:00
jzaefferer
299d5c88b8
Spinner: Fix value option initalization
2010-10-25 17:32:08 +02:00
jzaefferer
1be2a79076
Spinner: More cleanup
2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6
Spinner: Some code and test cleanup
2010-10-24 15:52:26 +02:00
jzaefferer
af8ca4ed0e
Importing spinner unit tests
2010-10-22 06:23:52 +02:00
Scott González
19f9c3a559
Upgraded jQuery to 1.4.3.
2010-10-21 22:29:28 -04:00
Scott González
789e7f753e
Autocomplete tests: Removed reference to non-existent menu plugin.
2010-10-21 22:16:27 -04:00
jzaefferer
732a485676
Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton.
2010-10-21 21:03:48 +02:00
Scott González
7d9d2b551f
External: Updated bgiframe to 2.1.2. Fixes #6190 - Dialog demos don't work in IE9 because of bgiframe.
2010-10-19 23:05:13 -04:00
Scott González
512825d358
Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init.
2010-10-06 15:11:49 -04:00
jenters
c3145b691b
Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs
2010-10-04 10:40:27 -04:00
John Firebaugh
e66cdfcf59
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:18:46 -04:00
Scott González
c090802cc1
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
...
This reverts commit 67b1db14c9
.
Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:15:40 -04:00
Scott González
a2ddfd5107
Widget: Added create event. Fixes #6126 - Widget: Add create event.
2010-09-29 17:36:45 -07:00
Scott González
9d88b565d6
Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method.
2010-09-27 11:21:09 -04:00
Scott González
0b6710aed7
Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end.
2010-09-27 10:44:04 -04:00
Scott González
adcafce7a2
Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
...
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
Scott González
0c82f7ec2c
Dialog tests: Enabling in TestSwarm.
2010-09-07 12:28:36 -04:00
Scott González
0050f234a8
Dialog: Fixed test for default title. Some browsers were returning an actual non-breaking space and some were returning the string " ".
2010-09-07 09:49:58 -04:00
Scott González
d80e2236f6
Dialog: Reduced size of dialogs in height/width tests.
2010-09-07 08:58:20 -04:00