Commit Graph

828 Commits

Author SHA1 Message Date
Scott González
b1e7e786ff Core: Cleaned up warnings. 2009-01-03 04:45:12 +00:00
Scott González
ab5bc79168 Core: Changed $.ui.contains to use the same logic as jQuery's internal contains function. 2009-01-03 04:42:23 +00:00
Scott González
ed1b6ded97 Widget factory: Updated ._trigger to use new event system in jQuery 1.3. 2009-01-03 04:38:20 +00:00
Ca-Phun Ung
a166e9b977 datepicker: added a span wrapper to disabled dates for better styling of unselectable days when setting min/max values. 2009-01-02 16:45:35 +00:00
Richard Worth
ee76058e01 Reverted r1461 2009-01-02 13:06:30 +00:00
Scott González
d76df156ce Widget Factory: Fixed #3720: Removed use of extra function in jQuery.trigger. 2009-01-01 16:12:18 +00:00
Richard Worth
bd58675f47 Re-fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor
This time it works in IE
2009-01-01 12:42:10 +00:00
Richard Worth
1443bea8b9 reverted r1414 as it doesn't work in IE 2009-01-01 12:38:08 +00:00
Scott González
fe7f1af38c Core: Cleaned up whitespace. 2009-01-01 03:10:43 +00:00
Scott González
d9a5b09b00 Core: Changed parameter names for selectors. 2009-01-01 03:07:52 +00:00
Scott González
59de964ad5 Slider: Fixed #3717: Correct event types for callbacks. 2008-12-31 21:27:56 +00:00
Richard Worth
3bffcdffa3 Fixed #3716 - slider: range handles should not be able to cross 2008-12-31 19:55:16 +00:00
Richard Worth
0b9227475c Fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor 2008-12-31 17:23:10 +00:00
Richard Worth
043fe4f79d Fixed #3712 - Month and year dropdown mis-alignment in datepicker 2008-12-31 17:15:47 +00:00
Scott González
ffbf789d2f Core: Whitespace only. 2008-12-31 16:10:38 +00:00
Scott González
30e4470a2c Widget Factory: Check the target in getData and setData events (jQuery 1.3 supports bubbling for custom events). 2008-12-31 14:28:56 +00:00
Eduardo Lundgren
dbcf65fce9 Remove trailing spaces 2008-12-31 08:22:11 +00:00
Scott González
fff23b36bf Tabs: Added missing semicolon. 2008-12-31 04:58:44 +00:00
Richard Worth
1907c374cf slider: added ui.values in the slide callback for a range 2008-12-31 04:48:12 +00:00
Scott González
19fd2705f9 Core: Fixed data selector so it returns true/false (makes it work with Sizzle). 2008-12-31 04:08:49 +00:00
Scott González
2789fca8af Dialog: Fixed #3713: Set default height to auto and default minHeight to 150. Now applying minHeight to the content div instead of only using it for resizing. 2008-12-31 01:12:43 +00:00
Eduardo Lundgren
5a375537c4 Resizable containment acurrate - Fixed #3714 2008-12-31 00:11:03 +00:00
Paul Bakaus
3b09c17bc7 draggable: made connectToSortable work fine with helper: 'original' (by removing top/left properties at sort end) 2008-12-30 16:34:23 +00:00
Paul Bakaus
76cea24b76 sortable: merged draggable fixes into sortables (r1325,1313) 2008-12-30 15:05:09 +00:00
Paul Bakaus
8bd784a6f3 draggable: containment doesn't respect margins anymore (logical, and fixes 3538) 2008-12-30 15:01:19 +00:00
Paul Bakaus
ee26c404d1 draggable: changed default for scroll option to true 2008-12-30 14:50:53 +00:00
Paul Bakaus
1acc62f942 droppable: missing default for option 'accept' (set to "*" = everything) 2008-12-30 13:14:29 +00:00
Ca-Phun Ung
cd20e99fc8 datepicker: IE6 css fixes for default theme. 2008-12-30 12:14:15 +00:00
Paul Bakaus
c4b7f1f9f0 demos: added opacity, revert and scroll demos
draggable: fixed positioning issue with relative positioned elements relative to the body during scroll
2008-12-30 10:05:51 +00:00
Richard Worth
cc237b31cd Fixed #3708 - Resizable: all classes added should have 'ui-' prefix, 'proxy' should be 'ui-resizable-helper' 2008-12-30 05:38:56 +00:00
Scott González
7596969687 Resizable: Fixed order of default values. 2008-12-29 02:56:18 +00:00
Jörn Zaefferer
7a58030579 accordion: Fixed #3682, setting overflow:auto for fillSpace:true accordions; added demo 2008-12-26 10:18:38 +00:00
Ca-Phun Ung
d1620877db Datepicker - fixes #3695 [multi-datepicker layout issue in IE]: added a better fix - needs refactoring. 2008-12-24 10:06:00 +00:00
Ca-Phun Ung
56e8aad838 Datepicker - fixes #3695 [multi-datepicker layout issue in IE]: IE doesn't seem to like dynamic widths so had no other choice but to hard code some width values (this needs a better fix). 2008-12-23 19:39:28 +00:00
Richard Worth
cca491dc4f slider: removed hover and focus from range as it's not draggable (yet) 2008-12-23 16:06:38 +00:00
Scott González
22ca3849f7 Resizable: Partial fix for supporting jQuery objects in alsoResize.
Dialog: Fixed bug with content resizing.
2008-12-23 14:55:41 +00:00
Paul Bakaus
3283a205c1 fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 ) 2008-12-23 14:28:47 +00:00
Paul Bakaus
8b956e5389 fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 ) 2008-12-23 14:24:34 +00:00
Richard Worth
2b21245cd0 progressbar: changed value to have 'ui-widget-header' instead of 'ui-state-default' 2008-12-23 13:27:57 +00:00
Richard Worth
22f25cbb0c merged dev/slider branch (revs 1152-1229) back to trunk 2008-12-23 10:38:12 +00:00
Richard Worth
723782d80c Tabs: Added tab hover and focus support. For #3651 Update markup to new UI CSS Framework specs 2008-12-23 08:00:59 +00:00
Scott González
ba704e3b71 Dialog: Removed unnecessary call to moveToTop in drag start. 2008-12-23 04:40:06 +00:00
Scott González
9dc9f22201 Dialog: Move to top on mousedown instead of mouseup. 2008-12-23 04:38:50 +00:00
Scott González
5e936731bd Dialog: Passing in a DOMElement instead of a jQuery object for alsoResize to avoid resizable bug. 2008-12-23 04:32:44 +00:00
Scott González
62bf1dd3bd Dialog: Setting the correct element for alsoResize. 2008-12-23 04:23:19 +00:00
Ca-Phun Ung
0339770320 Datepicker #3647: Added RTL support to the datepicker theme and reverted markup changes for RTL in r1196 for better semantics. 2008-12-22 20:24:27 +00:00
Ca-Phun Ung
80feca9864 Datepicker #3647: fixed disabled state for inline datepicker so it looks disabled visually and removed the erroneous cover div. 2008-12-22 19:18:15 +00:00
Ca-Phun Ung
3522a23b50 Datepicker #3647: added enable, disable, destroy buttons to visual test. Fixed failing localisation tests. Fixed RTL support and selected day highlighting for keyboard navigation. 2008-12-22 15:47:35 +00:00
Jörn Zaefferer
bc5df7412c accordion: update content div classes to move theme classes to wrapper with seperate content-wrap and content classes 2008-12-22 15:35:03 +00:00
Jörn Zaefferer
02e8e4d298 accordion: fix for #3626, refactoring resize code into its own public method 2008-12-22 14:50:59 +00:00
Jörn Zaefferer
47938b305e accordion: updated to icons: { header, headerSelected } 2008-12-22 14:34:32 +00:00
Klaus Hartl
0fd2e8c91d adopted proposed markup for 1.6, fixes #3651 2008-12-22 11:44:30 +00:00
Scott González
c688dab963 Dialog: Added hover and focus states to all buttons. 2008-12-21 18:00:42 +00:00
Ca-Phun Ung
77d17fc769 Datepicker #3647: Removed date range features, removed related tests, and fixed disabled states for prev, next and day. 2008-12-21 17:20:54 +00:00
Scott González
8fc17c78f7 Dialog: Fixed #3145: Added support for height: 'auto'. 2008-12-21 16:54:27 +00:00
Ca-Phun Ung
0a716a008e Datepicker #3647: fixed RTL support for new UI markup. 2008-12-20 20:20:33 +00:00
Ca-Phun Ung
dcead10e80 Datepicker #3647: removed clickable weekdays. 2008-12-20 17:34:31 +00:00
Ca-Phun Ung
831dcf6f36 Datepicker #3647: Slimed down datepicker by removing all code related to prompt, status and week highlighting. 2008-12-20 17:14:43 +00:00
Ca-Phun Ung
7b1183d307 Datepicker: Fixes #3647: added correct class name to highlight selected day 2008-12-20 16:09:04 +00:00
Ca-Phun Ung
5459f6a5d9 Datepicker: Fixed #3647: Update markup to new UI CSS framework specs 2008-12-19 22:41:31 +00:00
Scott González
5a302934af Dialog: Fixed #3221: User outerWidth/Height for positioning. 2008-12-19 20:34:54 +00:00
Scott González
d83bb9028c Dialog: Fixed #3564: Proper positioning in Opera. 2008-12-19 20:23:57 +00:00
Scott González
03f07556bd Dialog: Fixed #3648: Use new CSS framework.
- Removed .ui-dialog-container div.
- Removed autoResize option.
2008-12-19 03:05:01 +00:00
Scott González
3af7184f03 Dialog: Partial fix for #3648: Added resizable grip. 2008-12-19 02:12:10 +00:00
Scott González
cc22cc0de3 Dialog: Partial fix for #3648: Setting proper class on hover of close button. 2008-12-18 21:59:20 +00:00
Paul Bakaus
b81c873338 sortable: removed default tolerance "guess" for the simplier (and better working) default mode, and the plain "pointer" intersection 2008-12-17 19:35:13 +00:00
Eduardo Lundgren
6b2b98cb3d Sortable accurateIntersection using outerWidth/outerHeight 2008-12-17 19:24:06 +00:00
Jörn Zaefferer
187268ef79 accordion: #3646 update - expose icons as headerIcon and headerIconSelected options 2008-12-14 11:45:24 +00:00
Richard Worth
ff64790b18 Fixed #3655 - $.keyCode should be $.ui.keyCode 2008-12-14 06:11:37 +00:00
Scott González
0c3bd6aff5 Dialog: Fixed #3664: Dialog fails to init on removed elements. 2008-12-13 15:12:34 +00:00
Richard Worth
24f2b7794c corrected some invalid html <div/> to <div></div> 2008-12-13 11:51:33 +00:00
Richard Worth
b731dc5e97 Slider: started on #3650 - Slider: Update markup to new UI CSS Framework specs 2008-12-13 11:49:39 +00:00
Jörn Zaefferer
3244cbff8e Accordion: #3646 - fixed icons 2008-12-12 19:25:34 +00:00
Jörn Zaefferer
28c5c53a09 Accordion: #3646 - add hover classes and unbind on destroy 2008-12-12 19:23:28 +00:00
Jörn Zaefferer
1d357cf4b4 Accordion: Fixed jumpy behaviour (#3646) by wrapping content elements in an additional div 2008-12-12 13:58:41 +00:00
Jörn Zaefferer
ef27211d2d Accordion: Fixed #3646 - Update markup to new UI CSS Framework specs; Added visual test and updated tests to markup changes 2008-12-12 13:20:34 +00:00
Paul Bakaus
a7dae90eff sortable: fixed connectToSortable option, wasn't working with Arrays as described in the documentation 2008-12-11 15:02:21 +00:00
Paul Bakaus
68e700b30b sortable,draggable: fixed issues with _convertPositionTo, missed from latest re-factor, miscalculated the absolute position including scroll 2008-12-11 13:39:15 +00:00
Paul Bakaus
315017ade9 sortable: fixed containment issue (with 'parent', height was miscalculated due to wrong append order) 2008-12-11 11:18:28 +00:00
Scott González
efdc61bd5b Dialog: Remove ui-widget-content class on destroy. 2008-12-11 03:05:02 +00:00
Scott González
a9912abb2a Progressbar: Fixed #3645: Use new CSS framework. 2008-12-11 03:03:13 +00:00
Scott González
f0051caec4 Dialog: Fixed variable re-declaration. 2008-12-11 02:48:20 +00:00
Scott González
713761c876 Dialog: Partial fix for #3648: Use new CSS framework. 2008-12-11 02:45:42 +00:00
Scott González
9eda8e4cb9 Dialog: Fixed #3638: Added closeText option (default 'close'). 2008-12-11 02:25:51 +00:00
Richard Worth
925fbb3df4 effects.core.js: Fixed character encoding so Notepad will stop adding UTF-8 BOM 2008-12-10 13:31:00 +00:00
Richard Worth
3d627f0ea9 Removed names from ui.core.js as all contribution credit is given in AUTHORS.txt and http://ui.jquery.com/about 2008-12-10 13:27:05 +00:00
Richard Worth
3db93ce80f Removed UTF-8 BOM again. Turns out it was added by Notepad. 2008-12-10 13:20:06 +00:00
Richard Worth
c95e3b27a4 progressbar: Removed all progressbar options except value. Added visual test for disabled progressbar. 2008-12-10 05:12:08 +00:00
Richard Worth
38e2135472 core widget: added ui-state-disabled and aria-disabled to widget plugin's disable/enable/destroy 2008-12-10 05:10:37 +00:00
Keith Wood
58871808ac Fixed 3642. firstDay displays day names incorrectly. 2008-12-08 10:27:39 +00:00
Keith Wood
4d43d674f8 Escape text to prevent date info substitution 2008-12-08 10:16:15 +00:00
Keith Wood
b870c1c63f Fixed 3598. Datepicker Japanese translation replacement 2008-12-08 10:12:12 +00:00
Keith Wood
9c3c3489f4 Fixed 3610. Error in French l18n file. 2008-12-08 10:11:26 +00:00
Richard Worth
1d7176aa08 Removed some UTF-8 BOMs causing problems in the download builder versions of files. 2008-12-06 20:51:28 +00:00
Scott González
6e7e808d69 Dialog: Fixed #3637: Added role of button to close link. 2008-12-06 14:58:52 +00:00
Richard Worth
31a11f073d progressbar: a little clean up and some more visual tests 2008-12-05 15:42:46 +00:00
Richard Worth
d55c733e41 progressbar refactor 2008-12-05 13:35:11 +00:00
Paul Bakaus
6c93b4e2f0 sortable: fixed regression that caused wrong offset calculation if the helper option has been set to "original" 2008-12-02 12:47:53 +00:00
Keith Wood
152531d370 Updated Dutch localisation 2008-12-01 10:56:21 +00:00
Eduardo Lundgren
95c6c6dd62 Source formatting 2008-11-28 15:43:32 +00:00
Paul Bakaus
91232f6ed5 sortable:
- merged back all position and scroll fixed from draggables
- renamed accurate to accurateIntersection and set it to true by default
- refactored intersection code (no change in logic)
- added forceHelperSize option (default: false), a forced helper size is also triggered when the generated helper doesn't have any styles set for width/height, so this option won't be needed in most cases
2008-11-25 09:57:41 +00:00
Paul Bakaus
2b92a02170 slider: fixed regression caused by a recent change in the mouse core - since the mouse core doesn't stop mousedown propagation by default now, the mousedown event was triggered twice - once by the bound handle, and once by the actual element. 2008-11-24 17:02:26 +00:00
Paul Bakaus
19a7d6bc5b sortable: Another regex for the innerHTML copying in the placeholder, removes the expando attribute in IE (fixes #3541) 2008-11-24 13:48:50 +00:00
Paul Bakaus
42da86279e core (mouse): preventDefault in most cases instead of returning false, that blocks all bubbling events (fixed #3552) 2008-11-23 18:00:29 +00:00
Paul Bakaus
a42894b1d7 core: improved logic of $.fn.scrollParent, taking positioning in account
draggable: fixed and updated tests, rewrote positioning core, now passes the test suite completely in FF, IE6, IE7
2008-11-23 17:42:24 +00:00
Eduardo Lundgren
78dfd2607f Resizable: disableSelection using jquery plugin. 2008-11-22 05:49:06 +00:00
Paul Bakaus
0036aaf4b6 draggable: added missing default for zIndex and cursorAt, added missing scroll tests (unfortunately showing big regressions that need to be fixed prior to 1.6) 2008-11-21 19:40:45 +00:00
Eduardo Lundgren
65289463de Sortables: using isOverAxis. 2008-11-21 18:41:57 +00:00
Eduardo Lundgren
6a621b6d0e Core: isOverAxis avoid duplicated method logic. 2008-11-21 18:41:19 +00:00
Eduardo Lundgren
89793957e5 Sortables: Fixed tolerance guess. Changed name _intersectsWithEdges to _intersectsWithPointer. 2008-11-21 15:30:15 +00:00
Paul Bakaus
4b2a73e2b2 draggable: the snap events 'release' and 'snap' now both have valid mousemove events attached. 2008-11-21 14:01:44 +00:00
Richard Worth
03d6a64695 accordion: formatting changes - moved some things around for consistency.
_init and destroy at the top. Sorted defaults alphabetically.
2008-11-21 04:58:53 +00:00
Richard Worth
1c97a20d01 tabs: formatting changes - moved some things around for consistency.
_init and destroy at the top. ui last. Sorted defaults alphabetically.
2008-11-21 04:48:06 +00:00
Richard Worth
e98934200f slider: formatting changes - moved some things around for consistency.
_init and destroy at the top, then _mouse methods. plugins, ui last. Sorted defaults alphabetically.
2008-11-21 04:40:23 +00:00
Richard Worth
8ab19f209a dialog: formatting changes 2008-11-21 04:17:19 +00:00
Richard Worth
89a113ba19 progressbar: formatting changes 2008-11-21 04:12:18 +00:00
Richard Worth
64f6baeaf4 selectable: removed toggle method as widget factory provides enable/disable methods. 2008-11-21 04:05:27 +00:00
Richard Worth
47f8e9042f droppable: removed disabled default as it's provided by widget factory 2008-11-21 04:04:36 +00:00
Richard Worth
fb94a4e34e draggable, droppable, resizable, selectable, sortable: formatting changes - moved some things around for consistency.
_init and destroy at the top, then _mouse methods. plugins, ui last. Sorted defaults and plugins alphabetically.
2008-11-21 04:01:33 +00:00
Richard Worth
2192c024e2 New file: AUTHORS.txt instead of having a single contributor's name in each file header. See http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/ca0b1cc9580141b 2008-11-21 02:14:03 +00:00
Eduardo Lundgren
491e5b2f18 Added a build.xml file to help us removing trailing spaces when needed. 2008-11-20 05:51:19 +00:00
Eduardo Lundgren
1a6848de17 Added a build.xml file to help us removing trailing spaces when needed. 2008-11-20 05:18:26 +00:00
Eduardo Lundgren
558218f2aa Source formatting: Removing trailing spaces 2008-11-20 04:10:34 +00:00
Paul Bakaus
352287b7ef core: this fixes the Safari issue that select options can't be selected if the mouse widget is used, since the mousedown returns false which calls preventDefault. Returning true causes text to be selectable in FF/Opera though, so this needs to be Safari only for now. 2008-11-19 15:20:36 +00:00
Paul Bakaus
c3df1b6df6 sortable: removing ui.options caused plugins not to work anymore - fixed all regressions 2008-11-19 15:08:02 +00:00
Paul Bakaus
fbde8766ba resizable: Fixed preserveCursor, if the cursor is overriden in the stylesheet for the axes, it's maintained (fixes #3480) 2008-11-19 14:49:55 +00:00
Paul Bakaus
06e7783c93 slider: defered all parseInt / Math.round calls for values to this._round, implemented option 'round' (bool), that is enabled on default (old behaviour), can be disabled to return floating values (fixes 3489) 2008-11-19 14:38:48 +00:00
Paul Bakaus
2a6a356109 sortable: removed ui.element and ui.options from the UI object, corrected the callback for the items option, now includes event if applicable 2008-11-19 09:54:53 +00:00
Richard Worth
8306e62887 set svn:eol-style to native 2008-11-19 06:09:48 +00:00
Richard Worth
027e4d57b7 Removed spinner from trunk. See /branches/dev/spinner 2008-11-19 02:34:05 +00:00
Richard Worth
29f7dc9a2c Removed all trailing whitespace from .js and .html files 2008-11-18 02:55:25 +00:00
Scott González
ce69e7ced4 Progressbar: Removed text method. 2008-11-18 02:22:30 +00:00
Scott González
291202dabe Various: Fixed #3596: Removed references to jQuery for .noConflict() compatibility. 2008-11-18 01:54:45 +00:00
Scott González
e0dec0bd84 Progressbar: Removed identifier, element, textElement from the ui object in callbacks. 2008-11-17 13:58:53 +00:00
Scott González
d342e1c0ce Progressbar: Removed textClass option. 2008-11-17 13:56:28 +00:00
Scott González
45721d461e Progressbar: Removed references to jQuery for compatibility with .noConflict(). 2008-11-17 01:16:34 +00:00
Scott González
11a81ac980 Progressbar:
Refactored creation of elements on init.
Removed propagate method; using trigger instead.
Fixed appending background text element.
Added $.ui.progressbar.uuid; used for identifier instead of timestamp + random number.
Fixed updating of text to also update the background text.
Removed default for unused addClass option.
2008-11-17 00:21:36 +00:00
Scott González
6fb3ffad36 Core: Fixed #3562: Modify .removeAttr() to work on ARIA properties in FF2. 2008-11-15 04:29:08 +00:00
Keith Wood
94936d813c Fixed 3395, 3512, 3537, 3560, 3566. Problems with daylight saving cutover.
Moved prompt to below controls.
Corrected month/year spacing for multiple months.
2008-11-14 13:28:58 +00:00
Richard Worth
7ea535fa1d fixed #3578 - ALL CODE: e, ui should be changed to event, ui 2008-11-14 03:00:16 +00:00
David Bolter
ed4f58c6d3 refactored keyboard handling to a switch statement for clarity. 2008-11-13 16:24:44 +00:00
David Bolter
976b9b57bb Added accordion keyboard and ARIA support, and tests. Mozilla needs this for website. (partial review: Scott González, fix for 3553) 2008-11-13 15:51:09 +00:00
Eduardo Lundgren
ba34bfdf36 Sortable: remove console.log 2008-11-12 14:50:15 +00:00
Eduardo Lundgren
71ae568116 Sortable: More accuracy improvements. 2008-11-12 04:34:34 +00:00
Eduardo Lundgren
d7707b1fb1 Core and Sortable: $.ui.contains method moved into the core. This method could be util for another components. 2008-11-12 03:57:23 +00:00
Richard Worth
657d31adaa datepicker: added $.ui.datepicker.version 2008-11-12 03:21:37 +00:00
Richard Worth
e1fab2ce61 Fixed failing .slider("destroy") on empty element. "$(this).data("mouse") is undefined" 2008-11-12 02:57:04 +00:00
Richard Worth
79b6eaf13c Moved colorpicker to experimental branch 2008-11-12 01:01:05 +00:00
Eduardo Lundgren
e39dd9595e Core: Change arguments name for isOver* methods. 2008-11-10 16:41:54 +00:00
Paul Bakaus
ffa5f16169 implemented $.fn.scrollParent (candidate for jQuery core, see ticket #3589 in Jquery's trac) 2008-11-10 14:32:25 +00:00