Commit Graph

127 Commits

Author SHA1 Message Date
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
Eduardo Lundgren
65289463de Sortables: using isOverAxis. 2008-11-21 18:41:57 +00:00
Eduardo Lundgren
89793957e5 Sortables: Fixed tolerance guess. Changed name _intersectsWithEdges to _intersectsWithPointer. 2008-11-21 15:30:15 +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
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
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
7ea535fa1d fixed #3578 - ALL CODE: e, ui should be changed to event, ui 2008-11-14 03:00:16 +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
Eduardo Lundgren
2ab2f3c7e1 Change name of intersect methods to isOverHeight/isOverWidth/isOver. 2008-11-10 06:39:52 +00:00
Eduardo Lundgren
acf15c4f08 Sortable: Using the new core intersectHeight/intersectWidth methods. 2008-11-10 05:17:12 +00:00
Paul Bakaus
2619fc8073 sortable: returning false in any callback will now call this.cancenl() to cancel the ongoing action 2008-11-06 11:24:34 +00:00
Paul Bakaus
e4d0e3e2e3 sortable: removed support for ui.cancel(), must now be called via the sortable() function as method (sortable('cancel')). Now works even if the drag is still ongoing, i.e. the mouse button is still pressed. 2008-11-04 13:34:04 +00:00
Paul Bakaus
5e5116b3d4 sortable: implemented ui.cancel(), a function that can be called to completely cancel the sortable attempt, and revert to the original state (implements #3283, #3402) 2008-11-03 21:41:59 +00:00
Paul Bakaus
1045a83f49 sortable: checked inputs are not unchecked anymore after drag start (fixes #3466) 2008-11-03 14:58:21 +00:00
Paul Bakaus
0e16fcf1e8 sortable: all events of the inner nodes of the sortable item were unbound after the sort (this is related to remove() in jQuery, bugfix is not to use remove()), fixes #3488 2008-11-03 13:23:15 +00:00
Eduardo Lundgren
be7db1369d Sortable - accurate option added, If you prefer better accuracy and low performance set accurate: true. 2008-10-30 06:57:32 +00:00
Eduardo Lundgren
95980d34da Sortable - delta direction improved 2008-10-28 18:05:02 +00:00
Eduardo Lundgren
fe12e22f47 Sortable - Float elements tolerance fixed 2008-10-28 14:44:27 +00:00
Eduardo Lundgren
cd01814a85 Sortable - Prevent mouseCapture while help is reverting 2008-10-28 06:41:11 +00:00
Eduardo Lundgren
f69197bcec Sortable - Checking if helper exists 2008-10-28 06:35:01 +00:00
Eduardo Lundgren
429a36fee9 Sortable - Tolerance accuracy sortable improved 2008-10-28 05:44:17 +00:00
Paul Bakaus
25ad531eb4 sortable: fixed issue with first time append of the placeholder, now also the original classes are appended to the placeholder, with usually should give it the right size 2008-10-17 08:13:14 +00:00
Paul Bakaus
77f717d830 sortable: fixed toArray method
coverflow: renamed init to _init
2008-10-14 10:00:52 +00:00
Jörn Zaefferer
923d1ec3bb adding version property to all ui components 2008-10-05 16:29:21 +00:00
Richard Worth
a522291a7b whitespace: Removed trailing whitespace from non-blank lines 2008-09-20 03:23:42 +00:00
Richard Worth
0bae0870d9 whitespace 2008-09-20 02:43:18 +00:00
Eduardo Lundgren
eb689bb86c Sortables - Avoid inline script execution on every sort 2008-09-19 15:38:50 +00:00
Eduardo Lundgren
5bdcacd1f6 Fixed #3454 - Sortable .createHelper() bug 2008-09-19 15:20:34 +00:00
Scott González
7c2e7965e9 Reverted r695. 2008-09-19 14:20:14 +00:00
Eduardo Lundgren
8d04c3594c Remove Trailing Spaces 2008-09-19 14:08:41 +00:00
Paul Bakaus
73d70bcb67 sortable: default value for forcePlaceholderSize 2008-09-16 13:38:42 +00:00
Paul Bakaus
dd8c1188e9 sortable: Refactored a bunch of stuff, moved over some fixes from draggable 2008-09-16 13:19:30 +00:00
Paul Bakaus
9d8e83845c draggable, resizable, sortable: proper usage of _mouseCapture, fixes interaction issues when many plugins are used on the same element (Fixes #3164) 2008-09-16 13:02:21 +00:00
Paul Bakaus
cef66ee99f sortable: Fixed the floating functional demo, implemented forcePlaceholderSize 2008-09-16 12:40:48 +00:00
Richard Worth
f6008ca694 Fixed #3284 - Put version numbers inside of individual files. 2008-09-04 22:03:30 +00:00
Paul Bakaus
b95772ef09 sortable: fixed toArray method 2008-09-02 14:30:11 +00:00
Chi Cheng
fa14a0a83c Sortable: fix wrong patameter in toArray 2008-08-26 12:29:55 +00:00
Paul Bakaus
fd1f2e08ed sortable: moved serialize brackets after every key to default value, so configuring it as well using the key option is possible 2008-08-19 09:04:07 +00:00
Chi Cheng
d5bbbd2a07 internal methods: mouse* 2008-08-17 08:15:49 +00:00
Chi Cheng
6e8832d440 Sortable: prevent exposure of internal methods, fixes #3209 2008-08-17 02:19:14 +00:00
Chi Cheng
dd6a17b434 Internal methods: fixes #3195, #3196, #3200, #3201, #3209 2008-08-17 02:15:55 +00:00
Paul Bakaus
23167f8a38 sortable: beforeStop should work properly in all cases now 2008-08-15 09:11:21 +00:00
Paul Bakaus
736a4f6074 -removed unneeded comment block in sortables
-added changes proposed by Filament group to colorpicker
2008-08-11 08:56:23 +00:00
Paul Bakaus
357a3c38b9 sortable: the outer container is not set to relative anymore, preventing some weird IE bugs 2008-07-29 01:58:21 +00:00
Paul Bakaus
841751a0d5 1.8: initial version of tree component, dependant upon sortables and droppables
1.6: droppables can now operate in a seperate scope, droppables and sortables in the current dragged item are filtered out at start, preventing node hierarchy issues
2008-07-28 18:34:01 +00:00
Paul Bakaus
3ddb7477e2 sortable: fixed a items issue caused the items of the container itself to be doubled if the connected query also match on it. Implemented the option connected (bool), for function serialize to also serialize connected lists. 2008-07-19 15:05:37 +00:00
Eduardo Lundgren
45bb23e02b Sortable updateOriginalPosition added 2008-07-10 17:09:41 +00:00
Eduardo Lundgren
717630f6e0 Sortable math accuracy for tolerance pointer - checking the direction before rearrange 2008-07-10 00:56:29 +00:00
Eduardo Lundgren
d1eaa41e7f Sortable minor intersectWidth maths accuracy 2008-07-09 19:34:11 +00:00
Paul Bakaus
4e06fa6304 - removed 1.6 branch
- changed version in tags/1.5.2 to 1.5.2
- merged trunk with 1.6
2008-07-09 11:09:40 +00:00
Paul Bakaus
cf48fc7ee4 sortable: added forcePointerForContainers option (to have another intersection mode for items, but allow only one container to be activated at the same time), added custom object in options, that holds custom (defined) functions that are called instead of original pieces. Only for advanced developers, currently only supported function: refreshContainers. 2008-07-09 09:03:24 +00:00
Paul Bakaus
c4a99f521b prevent overriding/changing the actual $.ui.mouse object by extending it - this was evil (i.e. caused draggables to have the mouseCapture method of sortables, and therefore failing to work) 2008-07-07 07:39:12 +00:00
Paul Bakaus
1b8cc84978 sortable: important restructuring in the sort function - callback and droppables/intersection now receive proper position information (also fixes #3022) 2008-06-30 14:08:06 +00:00
Eduardo Lundgren
75b29b66df Sortables performance increased massively - using offsetWidth/offsetHeight to refreshPostions instead of outerWidth/outerHeight 2008-06-30 13:43:09 +00:00
Eduardo Lundgren
e73d019dff Sortable - fixed #3048 2008-06-29 14:34:14 +00:00
Paul Bakaus
e8b545382e sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 12:43:45 +00:00
Richard Worth
e42b0f6b8b resizable, selectable, sortable: changed cancel default to ':input' instead of (redundant) ':input,button' 2008-06-26 10:23:38 +00:00
Paul Bakaus
505d88ec28 sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 10:22:11 +00:00
Paul Bakaus
980fbbea51 sortable: fixed serialize issue when a key was specified as option, but no custom expression 2008-06-26 10:00:32 +00:00
Paul Bakaus
858627cf4f sortable: extreme performance increase by using setTimeout delegation and local vs. inner scope check in it, tested in FF3, IE6 and IE7, but still experimental 2008-06-25 13:30:22 +00:00
Paul Bakaus
4f33a5b3b2 sortable: connected lists items are not refreshed until you actually move into the connected list - this improves performance for connected lists 2008-06-24 15:28:12 +00:00
Paul Bakaus
c73ccd5c71 sortable: changed default distance to 1 2008-06-24 14:29:29 +00:00
Paul Bakaus
090dbb314b sortable:
- recalculating the offset of the offsetParent on refreshPositions as well (fixes #2951, #2976)
- fixed hierarchal sortable issues because of sortable-item expando not checking the sortable container (also fixes #2976)
2008-06-24 12:51:15 +00:00
Paul Bakaus
a002680ba9 sortable:fixed #3019, stop being fird too early 2008-06-24 11:47:42 +00:00
Paul Bakaus
430a0da9f6 sortable: the options.items callback now receives null as first argument, a limited ui object as the second. 2008-06-19 08:00:38 +00:00
Paul Bakaus
54adcb9502 sortable; moved the cursorAt and containment blocks after the start callback, allowing the helper to be resized in the start callback (fixes #3000) 2008-06-16 12:19:31 +00:00
Paul Bakaus
abdda174f2 tests: initial version of sortable tests/
sortable: added default value for helper ("clone")
2008-06-13 12:42:44 +00:00
Scott González
9aeec7f04a Dropped blank line at end of header comments. 2008-06-11 01:36:35 +00:00
Richard Worth
ee4bd1a9e8 Removed old rev ids from jQuery svn 2008-06-09 06:26:23 +00:00
Paul Bakaus
4b186675af ui-core: added mouseCapture, replacing the condition feature before. Allows text to be selected in sortables on non-handles. 2008-06-09 01:54:28 +00:00
Paul Bakaus
593cb1ffef core: cancel checks for type string before it's used
draggable-test: changed cancel: true test: this should cancel on all elements, but simply do nothing, since true is a unsupported value.
2008-06-08 11:00:47 +00:00
Paul Bakaus
7539a095f6 draggable,sortable: fixed containment "document", added containment: "window" (fixes #2936,#2171) 2008-06-07 23:38:03 +00:00
Paul Bakaus
68d37568e0 draggable, sortable: fixed issue when handle wasn't working with elements nested in the handle (fixes #2937) 2008-06-07 23:25:47 +00:00
Richard Worth
a635d0a7c9 renamed source -> ui 2008-06-07 17:37:43 +00:00