Commit Graph

735 Commits

Author SHA1 Message Date
Jörn Zaefferer
982b752c35 Merge branch 'widget-delegation' 2011-07-29 14:00:00 +02:00
Scott González
61caba7803 Tests: Fixed param parsing for compound test suites. 2011-07-28 14:50:06 -04:00
Jörn Zaefferer
02aad7b0ae Widget delegation: Update menu to use _bind with delegation. Clean up test. 2011-07-28 15:47:59 +02:00
Jörn Zaefferer
5a45f483d7 Merge branch 'master' into widget-delegation 2011-07-28 15:16:20 +02:00
Scott González
cec60ab3c3 Slider tests: Commented out incomplete tests and fixed defaults. 2011-07-28 08:29:29 -04:00
Scott González
719db7f9b1 Widget tests: Fixed fragile tests. 2011-07-28 08:26:59 -04:00
Scott González
d92b61e865 Tests: Added ability to run tests suites against different versions of jQuery core. 2011-07-28 07:34:31 -04:00
Scott González
3c65bc3923 Menu tests: Removed console.log() call. 2011-07-26 14:38:18 -04:00
Scott González
da0714e0dc Accordion tests: Fixed location of expect() call. 2011-07-26 14:36:18 -04:00
Scott González
02903259e1 Tests: Created a composite test suite. 2011-07-26 12:15:02 -04:00
Jörn Zaefferer
f89091105f Merge remote branch 'kborchers/menu_home_end' 2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
daadc343be Upgrade jQuery to 1.6.2. 2011-07-25 11:46:45 -04:00
Scott González
510bb40cab Tests: Fixed trailing commas. 2011-07-25 11:08:03 -04:00
kborchers
23340f1162 Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav 2011-07-25 09:13:13 -05:00
kborchers
8224c675e1 Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit 2011-07-19 16:15:59 -05:00
Scott González
0080f2d581 Use .attr() for boolean ARIA attributes. 2011-07-12 11:36:34 -04:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
Jörn Zaefferer
96de2aa04a Merge remote branch 'pgraham/master' 2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31 Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called 2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1 Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed 2011-06-28 10:49:47 -05:00
Corey Frang
5c34cea06f Unit Tests: Fixing a typo in the new test for hide/show on hidden/shown 2011-06-23 07:24:48 -05:00
Corey Frang
d18cd7ed0f Effects.core: Check Visibility vs 'hide' and 'show' modes, finish immediately if neccessary - Fixes #6715 - Hide and Show try to affect hidden and showing elements 2011-06-23 07:22:34 -05:00
Corey Frang
a89ff4098a Unit Tests: Adding a unit test to make sure .stop( true, true ) clears the inline styles when using animateClass - Fixed #3928 - Class-Animation: Please add a clearInlineStyle-Option 2011-06-23 05:29:09 -05:00
Jörn Zaefferer
8b14b35dc7 Widget delegation: Fix impl and add basisc test 2011-06-19 14:59:18 +02:00
Jörn Zaefferer
aa7f8195f8 Merge branch 'master' into widget-delegation 2011-06-19 14:45:20 +02:00
Jörn Zaefferer
391282a9ae Whitespace 2011-06-19 14:42:15 +02:00
gnarf
db96e2a51f Tests: Adding visual/unit tests for scale effect. 2011-06-14 15:11:43 -05:00
Scott González
e549e18fc2 Accordion tests: Cleanup. 2011-06-13 14:51:13 -04:00
Scott González
2bc6627991 Autocomplete tests: Cleanup. 2011-06-13 14:09:44 -04:00
Scott González
ba9bd20c0d Accordion tests: Don't use deprecated assertion methods. 2011-06-13 10:54:47 -04:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
Jörn Zaefferer
433ed6eecf Merge remote branch 'davidmurdoch/ticket-5645' 2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Scott González
ab703d75f6 Tooltip: Added tests for ui object in open and close events. 2011-05-30 18:51:29 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
666b53a90c Tooltip tests: Refactored and added some tests. 2011-05-28 16:20:46 -04:00
Scott González
302ad626bf Tooltip: Added some tests. 2011-05-28 15:43:22 -04:00
Scott González
e77fcaa6eb Tests: Updated version check. 2011-05-28 15:42:55 -04:00
Scott González
73c6f349fc Tooltip tests: Coding standards. 2011-05-28 13:30:00 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
gnarf
5fb2468f9f Unit Tests: Cleaning up some code in effects unit tests, removing magic numbers used for animation durations 2011-05-16 21:41:50 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
Scott González
a88d55e60e Tabs: Enable test suites for TestSwarm. 2011-05-16 14:42:31 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
gnarf
c08cf8ec6c Unit Tests: adding unit test for #7356 2011-05-12 21:09:37 -04:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
Scott González
7e2a704a07 Merge pull request #260 from gnarf37/effects-unit
Unit Tests: effects: adding some animateClass tests
2011-05-12 17:41:02 -07:00
David Murdoch
e31d707d93 The qunit-fixture were preventing the results from being clicked. Make the results appear on top of the qunit-fixture 2011-05-12 21:07:09 +00:00
David Murdoch
c9c6908434 Another whitespace fix 2011-05-12 20:51:49 +00:00
David Murdoch
dc66f02601 Add tests for position's within 2011-05-12 20:50:16 +00:00
David Murdoch
17be87f34c Whitespace fix 2011-05-12 20:48:01 +00:00
David Murdoch
7bca8c1004 Fix typos in original tests 2011-05-12 20:44:24 +00:00
gnarf
e4204b129d Unit Tests: effects: adding some animateClass tests 2011-05-12 10:22:49 -05:00
Doug Neiner
50a4186ef9 Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl 2011-05-12 01:51:05 -04:00
Scott González
8b8f5bff76 Merge pull request #242 from gnarf37/effects-unit
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Jörn Zaefferer
83424c6c33 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -04:00
Jörn Zaefferer
c17f245d98 Autocomplete: Revert fix for #7024, broke regular menu selection.
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
gnarf
27a7deebf2 Merge branch 'master' into effects-unit
Conflicts:
	ui/jquery.effects.pulsate.js
2011-05-10 16:16:34 -05:00
Scott González
85ac420a1e Tabs: Fixed select event. 2011-05-10 14:04:50 -04:00
Scott González
7fddb1c5b5 Tabs: Fixed show event. 2011-05-10 13:56:59 -04:00
kborchers
a63d23c314 Autocomplete: Added unit test to check for preventing value change when an unintended mouseover event (Firefox) is fired before blur. Proposed fix is in pull request 236 2011-05-10 09:54:13 -05:00
Scott González
ce6209b4e4 Tabs: Remvoed spinner image from tests. 2011-05-10 09:16:16 -04:00
Scott González
36fccdda14 Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option. 2011-05-10 09:15:08 -04:00
Scott González
a205c2c8b8 Tabs: Moved tests out of tickets file. 2011-05-10 08:47:00 -04:00
Scott González
bd6672d257 Tabs: Updated tests for destroy method. 2011-05-09 17:41:43 -04:00
Scott González
0f7075e281 Tabs: Added tests for beforeload event on init. 2011-05-09 17:38:34 -04:00
Scott González
6a9b789bc7 Tabs: Updated tests for disabled option. 2011-05-09 17:10:36 -04:00
Scott González
ea01e7fc50 Tabs: Added tests for event option. 2011-05-09 17:01:11 -04:00
Scott González
f53d117853 Tabs: Added test for abort method. Fixes #7133 - Tabs: Deprecate abort method. 2011-05-09 16:55:31 -04:00
Scott González
9ea6db634f Tabs: Only trigger tabsload on success. 2011-05-09 16:55:31 -04:00
David Petersen
0adeb9b0e1 Tabs: Add tabsload event tests. 2011-05-09 16:55:31 -04:00
Scott González
7157af2550 Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-05-09 15:04:01 -04:00
Scott González
9549686cb3 Tabs: Added test for ajaxOptions. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
Thanks gnarf for the unit test idea.
2011-05-09 14:45:57 -04:00
Scott González
5ae44f8a3b Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option. 2011-05-09 12:52:00 -04:00
Scott González
0546cd57bb Tabs: Added tests for idPrefix, tabTemplate, panelTemplate. Fixes #7139 - Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options). 2011-05-09 11:31:01 -04:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09:00
gnarf
4dcfeee8d5 Added some better queue order testing 2011-05-04 01:54:47 -05:00
gnarf
d61e0656c5 Merge branch 'master' into effects-unit 2011-05-04 01:38:41 -05:00
Scott González
cbce3585bc Tabs: Added tests for deprecated select method. Fixes #7138 - Tabs: Deprecate select method. 2011-05-03 07:48:08 -04:00
Scott González
75f7a786ae Tabs: Clean up some tests. 2011-05-03 07:14:33 -04:00
Scott González
92bcb2504f Tabs: Fixed back-compat for selected option. Fixes #7135 - Tabs: Rename selected option to active. 2011-05-03 07:14:19 -04:00
Scott González
45c727d75e Tabs: Fixed enabled and disabled methods. Fixes #7142 - Tabs: Deprecate enable and disable events. 2011-05-03 06:31:12 -04:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Jörn Zaefferer
b2b7d9a8b0 Tooltip: Fix (most) of the unit tests. Not all issues resolved, but
enough for testswarm results to be useful.
2011-05-02 21:04:56 +02:00
Jörn Zaefferer
9ea5b5d4e5 Fix menu unit tests (regression fron Hans' branch) 2011-05-02 20:35:58 +02:00
Jörn Zaefferer
5c47098829 Add simple error handling for domEqual method (was failing for menu, output not helpful). 2011-05-02 20:35:49 +02:00
gnarf
ec5aeb1b15 Unit Tests: Adding some basic unit tests for effects.* modules 2011-05-01 06:23:19 -05:00
gnarf
4a4d7e4b73 Merge branch 'master' into effects-unit 2011-05-01 05:12:17 -05:00
Scott González
468e66ae62 Tabs: Added tests for add and remove events. 2011-04-28 22:12:59 -04:00
Scott González
1bacdec6be Tabs: Cleaned up add and remove methods. 2011-04-28 21:35:04 -04:00
Scott González
09faa7c9fa Tabs: Added more tests for refresh method and changed the implementation a bit. 2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd Tabs: Fix issues with refresh method, add refresh method tests 2011-04-28 13:13:42 -04:00
Scott González
d819cdd3a9 Tabs: Fixed disable method and cleaned up tests for enable and disable methods. 2011-04-28 12:04:08 -04:00
David Petersen
0e7769c669 Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called 2011-04-28 09:37:56 -04:00
Scott González
325ee6e871 Widget: define a null default for the create callback. 2011-04-25 14:04:30 -04:00
Scott González
c4c36e557e Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults. 2011-04-25 08:11:52 -04:00
Scott González
4547da1ba5 Accordion tests: Coding standards. 2011-04-15 11:29:26 -04:00
Scott González
ae8963f054 Tabs: Rewrote some ticket tests and moved to approriate file. 2011-04-15 11:04:49 -04:00
Scott González
d3e10de6bc Tabs: Better tests for tab state. 2011-04-15 08:53:05 -04:00
Scott González
bc65675330 Tabs: Fixed issues with collapsible and active options. 2011-04-11 13:49:22 -04:00
Scott González
ccac8cd492 Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active. 2011-04-11 10:08:32 -04:00
Richard Worth
7272f3bdef Progressbar: Added unit test for #7231 - valueDiv should be hidden when value is at 0% 2011-04-09 14:53:15 -04:00
Scott González
d573a92beb Tabs: Added tests for aria-controls attribute being assigned on init. 2011-04-07 13:53:20 -04:00
Scott González
bc6a28ee03 Tabs: Cleaned up _tabId() implementation. 2011-04-05 21:39:02 -04:00
Scott González
168ab6656d Tabs: Updated test for deprecated length method. 2011-04-05 20:07:27 -04:00
Scott González
7aad37bfd5 Tabs: Better handling of active option and various cleanup. 2011-04-05 16:53:52 -04:00
Scott González
ff84d58444 Tabs: Pass appropriate data for beforeLoad event. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-04-05 11:28:05 -04:00
Scott González
995518c10f Tabs: cleanup. 2011-04-04 17:06:13 -04:00
Scott González
1fc91f90d0 Tabs: Pass appropriate data for activate event. Fixes #7137 - Tabs: Rename show event to activate. 2011-04-04 15:28:33 -04:00
Scott González
316d0af8fb Accordion: Added test to ensure activate event is not triggered if beforeActive is prevented. 2011-04-04 15:26:32 -04:00
Scott González
e19d8261c1 Tabs: Properly handle switching from active: false. 2011-04-04 14:27:38 -04:00
Scott González
9a1d8891b7 Accordion: Removed unnecessary test. 2011-04-04 12:00:04 -04:00
Scott González
80b6de1b78 Accordion: Pass original event in beforeActivate event. 2011-04-04 11:53:19 -04:00
Scott González
01b92ff1a0 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:43:58 -04:00
Scott González
af04a89df7 Accordion tests: Only use single words inside headers to avoid breaking onto multiple lines. 2011-04-04 11:33:09 -04:00
Scott González
632e6c7618 Tabs: Pass appropriate data for beforeActivate event. Fixes #7136 - Tabs: Rename select event to beforeActivate. 2011-04-04 11:22:32 -04:00
Scott González
fdedf1616d Tabs: Test cleanup. 2011-04-04 10:11:19 -04:00
Scott González
fd1fd618cc Tests: Renamed files for deprecated tests now that TestSwarm is setup to properly handle them. 2011-04-04 09:19:20 -04:00
Scott González
275897e731 Accordion tests: lowercase doctype. 2011-04-04 09:12:08 -04:00
Scott González
255a8dbba5 Tests: Allow overriding enable and disable methods to add custom logic. 2011-03-29 20:38:58 -04:00
gnarf
d6379d11e3 unit tests: updating unit test boilerplate for effects 2011-03-29 15:57:42 -05:00
gnarf
0c009730ce unit tests: adding an empty effects unit test page 2011-03-29 15:32:48 -05:00
Scott González
fa13c4a602 Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui into petersendidit-tabs 2011-03-29 15:40:28 -04:00
David Petersen
e9ae04a394 Tabs: CSS Consistency Updates. Fixes #7146 Tabs: CSS Consistency Updates 2011-03-29 07:44:01 -04:00
David Petersen
cb0588f2dd Tabs: Deprecate cookie option. Fixes #7144 Tabs: Deprecate cookie option 2011-03-28 22:46:31 -04:00
David Petersen
c6a6ef5ee6 Tabs: Deprecate select method. Fixes #7138 Tabs: Deprecate select method 2011-03-28 22:28:59 -04:00