Commit Graph

741 Commits

Author SHA1 Message Date
kborchers
1d69181746 Menu: Added the new trigger option to the defaults unit test 2011-10-19 10:18:33 -05:00
Scott González
efe964d86e Upgraded jQuery to 1.6.4. 2011-10-18 09:38:27 -04:00
Corey Frang
d4d8d74b10 Scale: We can't detect this reliably currently, so assume all elements are positioned with left and top 2011-10-14 10:24:01 -05:00
Dave Methvin
9b3ada43d3 Autocomplete tests: Fix #7788, incorrect selector in autoFocus test.
jQuery 1.7 fixed a bug with positional selectors that exposed the incorrect use of `.children()` here.
2011-10-13 13:18:30 -04:00
Scott González
56bcf885c6 Tooltip tests: Adjust test to deal with blurring being async in IE. 2011-10-12 10:26:51 -04:00
Scott González
fa26847f91 Tabs: Force ajax tabs to resolve asynchronously to avoid a bug caused by cached XHRs resolving immediately in IE. 2011-10-10 15:34:47 -04:00
Scott González
8961508128 Spinner: Simulate keyup at the end of incremental tests to stop the repeat timer. 2011-10-10 14:01:12 -04:00
Scott González
c2f036277c Spinner: Added culture option. 2011-09-28 18:30:58 -04:00
Scott González
39b452e1be Effects tests: Ignore leading/trailing whitespace when comparing style properties. 2011-09-28 10:00:25 -04:00
Scott González
04e5b103ca Tooltip: Fixed defaults in tests. 2011-09-28 09:32:11 -04:00
Corey Frang
34a0479d1c Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers 2011-09-22 15:30:46 -05:00
Jörn Zaefferer
6d430e4fd3 Merge remote branch 'kborchers/menu_notJustUL' 2011-09-19 10:18:04 +02:00
kborchers
9e617bbad1 Menu: Add support for structures other than UL/LI plus visual and unit tests 2011-09-14 10:29:36 -05:00
Scott González
42337dd959 Spinner: Fix step mismatches whenever stepping, paging or using the value setter.
Thanks Nate Ferrero
2011-09-14 08:55:22 -04:00
Jörn Zaefferer
ae0c4e44ff Merge remote branch 'kborchers/menu_autoCollapse' 2011-09-12 23:54:19 +02:00
Jörn Zaefferer
3a0340f4ee Widget: return timer value from _delay 2011-09-12 23:47:09 +02:00
Jörn Zaefferer
2a6ca3fb39 Widget: Add a _delay method. Will be used in various places to replace setTimeout with custom binding (mostly getting rid of var self/that) 2011-09-12 23:37:14 +02:00
Jörn Zaefferer
d12180d1a5 Widget: Tests code cleanup 2011-09-12 23:23:54 +02:00
kborchers
94317d7aa4 Menu: Added autoCollapse as the default and added a unit test 2011-09-12 08:43:49 -05:00
Scott González
7216c08b2f Spinner: Added ability to specify custom incremental function. 2011-09-09 20:08:51 -04:00
Scott González
4387d19030 Spinner: Default min and max options to null. 2011-09-09 19:24:10 -04:00
Scott González
c5ba0535cf Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas. 2011-08-30 20:45:48 -04:00
Corey Frang
dfe75e1b55 Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would everywhere, switching back to keydown. 2011-08-20 18:05:39 -05:00
kborchers
96c2c8e639 Position: Added the missing div required for the fraction tests that were added to fix the broken test 2011-08-19 20:19:38 -05:00
Corey Frang
96e5c241e1 Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog 2011-08-19 06:03:59 -05:00
Jörn Zaefferer
25f2113cc1 Merge remote branch 'kborchers/position_flipfit2' 2011-08-15 11:32:49 +02:00
Scott González
1aea0ff4b8 Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur. 2011-08-13 19:05:04 -04:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit! 2011-08-12 22:19:52 -05:00
Scott González
257021b1af Spinner: Fixed precision when stepping.
Thanks hughlomas
2011-08-12 23:11:35 -04:00
Scott González
4587f2de68 Widget: Use this.widget() for event delegation. 2011-08-12 22:10:31 -04:00
Scott González
1729e3a32e Core: Added tests for :focusable and :tabbable form elements. 2011-08-12 09:37:48 -04:00
Scott González
18a3b53988 Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected. 2011-08-11 16:48:58 -04:00
Scott González
de7fd4c130 Spinner: Fixed integration with globalize. 2011-08-10 09:15:47 -04:00
Karl Kirch
d146297356 Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. 2011-08-09 09:55:50 -04:00
Scott González
e827a0e280 Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
This reverts commit effdd5d19c.
2011-08-09 08:26:33 -04:00
Scott González
2a8a77a9b2 Spinner: More tests. Don't trigger spin when programmatically stepping or paging. 2011-08-07 19:11:49 -04:00
Scott González
c6c957224f Spinner: Added more tests. 2011-08-07 18:34:03 -04:00
Scott González
b8976207f3 Spinner tests: Removed IE 6 hack in destroy test. 2011-08-07 13:05:04 -04:00
Scott González
051b9e07d9 Spinner: Use _getCreateOptions() for value. 2011-08-07 08:20:14 -04:00
Scott González
8799ba0822 Spinner tests: Fixed line endings. 2011-08-07 08:10:49 -04:00
Scott González
380c2e6fbd Spinner tests: Cleanup. 2011-08-07 08:10:11 -04:00
Scott González
e9cdd576f4 Merge branch 'spinner-getCreateOptions'
Conflicts:
	ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
b10c4cdab5 Spinner: Define defaults for callbacks. 2011-08-06 17:08:50 -04:00
Scott González
160a301d96 Spinner tests: Cleanup. 2011-08-06 17:07:12 -04:00
Scott González
2b22bbdd6a Spinner: Only trigger change when the field has blurred and the value has changed. 2011-08-06 15:32:19 -04:00
Scott González
e4c0f202c8 Spinner: Use _getCreateOptions() instead of custom _markupOptions(). 2011-08-06 12:58:37 -04:00
Scott González
7134033365 Accordion tests: Cleanup. 2011-08-06 11:45:12 -04:00
Corey Frang
065aef537b Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":" 2011-08-03 22:16:34 -05:00
Scott González
6fb68568be Tests: Cleanup. 2011-08-03 21:43:52 -04:00
Scott González
cff6b56fd4 Menu tests: Cleanup. 2011-08-03 21:15:38 -04:00
Scott González
4adb9026ea Tests: Cleanup. 2011-08-03 17:12:44 -04:00
Scott González
6867e0b551 Autocomplete tests: Fixed handling of cached ajax requests in IE. 2011-08-03 16:13:03 -04:00
Scott González
4415e992c5 Accordion tests: cleanup. 2011-08-03 13:52:36 -04:00
Scott González
bea74f2ae7 Tests: Added test suites to run individual widget tests against all supported jQuery versions. 2011-08-02 20:41:50 -04:00
Corey Frang
8108ec82db Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy 2011-08-02 16:54:24 -05:00
Wesley Walser
8fe87e2885 Tests: Modified testsuites.js into a subsuiteRunner extension for QUnit. 2011-08-02 12:30:29 -04:00
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