Commit Graph

529 Commits

Author SHA1 Message Date
Scott González
3206386bdf Slider: Removed empty tickets test file. 2011-03-28 12:38:32 -04:00
Scott González
78b17f9d76 Widget: Moved tests out of _tickets into _core. 2011-03-28 12:37:08 -04:00
Richard Worth
6a0cdaa495 Merge branch 'master' of github.com:jquery/jquery-ui 2011-03-28 11:20:21 -04:00
Scott González
ec0a9cc454 Removed empty ticket test files. 2011-03-28 11:20:03 -04:00
Scott González
ec4825535d Accordion: Removed empty ticket test file. 2011-03-28 11:15:29 -04:00
Richard Worth
b5e67861bb Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true 2011-03-28 11:13:53 -04:00
David Petersen
8b0c3618bd Tabs: Rename select event to beforeActivate. Fixes #7136 Tabs: Rename select event to beforeActivate 2011-03-27 17:02:58 -04:00
David Petersen
787efd307a Tabs: Rename show event to activate. Fixes #7137 Tabs: Rename show event to activate 2011-03-27 16:55:05 -04:00
David Petersen
9a00fd4c5e Tabs: Rename selected option to active. Fixes #7135 Tabs: Rename selected option to active 2011-03-27 16:42:30 -04:00
David Petersen
c363019590 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) Fixes #7139 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) 2011-03-27 16:42:19 -04:00
David Petersen
1e2d3145ff Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels 2011-03-27 14:56:20 -04:00
David Petersen
8b89febbbb Tabs: split up _tabify, create refresh method. Fixes #7140 Tabs: Add refresh method 2011-03-26 21:02:17 -04:00
David Petersen
03eb54b379 Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method 2011-03-26 21:02:17 -04:00
David Petersen
e378876918 Tabs: Deprecate add and remove methods Fixes #7141 Tabs: Deprecate add and remove methods 2011-03-26 21:02:13 -04:00
David Petersen
e5f081bc1c Tabs: Deprecate enable and disable events. Fixes #7142 Tabs: Deprecate enable and disable events 2011-03-26 21:00:45 -04:00
David Petersen
e7971c9077 Tabs: Deprecate spinner option. Fixes #7134 Tabs: Deprecate spinner option 2011-03-26 21:00:45 -04:00
David Petersen
aeaaf93ebb Tabs: Add beforeload event; deprecate ajaxOptions and cache options. Fixes #7131 Tabs: Add beforeload event; deprecate ajaxOptions and cache options 2011-03-26 21:00:34 -04:00
Scott González
6fc98deef0 Widget: Allow setting individual properties of deep options. Fixes #7035 - Widget: Extend .option() to set partial nested options. 2011-03-24 09:21:53 -04:00
Scott González
b85e11564a Accordion: Removed static test pages. Added unit tests for dl markup structure. 2011-03-23 10:07:09 -04:00
Scott González
aaa21ddb0c Accordion tests: Fixed indentation. 2011-03-23 09:51:42 -04:00
Scott González
f77224055a Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack. 2011-03-22 14:35:18 -04:00
Scott González
e7991e33f3 Autocomplete: Added response event. Fixes #6777 - Autocomplete callback when search is complete. 2011-03-22 14:07:49 -04:00
Scott González
de5a98e7bc Position: Split out tests for deprecated offset option. 2011-03-22 13:25:28 -04:00
Scott González
221dcd7027 Position: Coding standards. 2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
Scott González
923b5b67b9 Merge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui 2011-03-21 11:30:11 -04:00
David Petersen
710d7620e7 Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386 2011-03-21 09:18:19 -04:00
jzaefferer
93fd447493 Use QUnit.push instead of assertion method for custom assertions to get
correct filename and line number output
2011-03-20 15:56:48 +01:00
Richard Worth
9b3badea6c Autocomplete unit test: corrected name and argument order of equal() call in autoFocus test function 2011-03-15 12:55:16 -04:00
Richard Worth
c1a0f2bf6c Autocomplete: refactored unit tests for autoFocus option 2011-03-15 09:36:36 -04:00
Richard Worth
56b7ec134d Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 08:42:28 -04:00
Richard Worth
2f5eadeb8f Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true 2011-03-15 05:48:31 -04:00
Richard Worth
09215ef2cd Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result 2011-03-15 05:39:56 -04:00
Richard Worth
056cab82d8 Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected 2011-03-15 04:30:36 -04:00
ddstreet
0b30a1d450 Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases 2011-03-11 10:52:13 -05:00
Richard Worth
58480d81d3 Unit tests: removed no longer utilized tickets.js files for Menu and Tooltip 2011-03-08 14:22:48 -05:00
Jay Merrifield
f9996682b5 Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs. 2011-03-08 09:42:10 -05:00
Douglas Neiner
15c97e0b76 Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing 2011-03-03 09:37:16 -05:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
Scott González
ffb96bc972 Widget tests: Work around a bug in jQuery core in IE 9rc. 2011-02-26 13:31:45 +01:00
jzaefferer
48f060ac25 Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
that mousewheel scrolling actually works fine in IE6.
2011-02-26 12:10:52 +01:00
jzaefferer
9ac6bde8a9 Accordion: Improve unit test to get consistent results on mobile devices 2011-02-26 11:48:56 +01:00
jzaefferer
3d3b5dd1e7 Position: Test for window scrollTop support and run scrolled window test
only when support is there. Should exclude mobile devices, getting the
position testsuite to produce more useful results.
2011-02-26 11:25:41 +01:00
jzaefferer
baf28d2c9d Menu: Cleanup contextmenu demo and fix aria unit test to ignore empty
string values
2011-02-25 18:58:44 +01:00
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
Scott González
bed6def5c0 Autocomplete tests: Fixed various bugs in various versions of IE. 2011-02-24 22:55:24 +01:00
jzaefferer
b8f3e5b1c0 Menu: Fix testsuite, new option 2011-02-24 21:29:48 +01:00
jzaefferer
38cfcfffe9 Menu: Update autocomplete to use deactivate and check for focus class 2011-02-24 12:05:20 +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
3f353cc8fb Menu: Update unit test to use focus instead of activate method 2011-02-24 10:07:24 +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
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
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
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
90a5906af5 Renamed glob.js to jquery.global.js to match actual plugin filenames. 2011-01-17 19:25:14 +01: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