Commit Graph

3542 Commits

Author SHA1 Message Date
Richard Worth
ecb6ffb426 reverted [150] - tests should be not be changed to match broken results:
* 100 + 50 = 150; 100 + 50 != 149
 * aspectRatio: 'preserve' should not allow 150x130 if original dimensions were 100x100
2008-06-05 12:43:09 +00:00
Scott González
1ddfaa0ab0 Dialog: Removed unneeded parens. 2008-06-05 12:29:38 +00:00
Richard Worth
1d7197f719 removed x, y as they are not browser event options. Use clientX and clientY 2008-06-05 12:16:42 +00:00
Scott González
c8207f4b30 Removed leading semicolons. 2008-06-05 12:14:12 +00:00
Richard Worth
667666fbc6 set a more reasonable default for relatedTarget: undefined for IE, HEMLHtmlElement for other browsers 2008-06-05 12:11:30 +00:00
Richard Worth
b0a72dc575 reverted [158] - IE's default for relatedTarget is undefined, not document 2008-06-05 12:09:18 +00:00
Richard Worth
2dc488c550 reverted [157] there is no IE bug. pageX != clientX, pageY != clientY 2008-06-05 12:08:19 +00:00
Richard Worth
e1c8b08736 removed setting toElement/fromEelement as this is handled by the browser 2008-06-05 11:59:32 +00:00
Richard Worth
c97a452cca Removed case insensitive checks: no method or event names are case insensitive 2008-06-05 11:56:20 +00:00
Paul Bakaus
c43d214ec3 datepicker: changed all forgotten camel cased classes to dash seperated 2008-06-05 07:32:28 +00:00
Paul Bakaus
7a64afb4e3 sortable: fixed issue with dropOnEmpty not working, tolerance "guess" wasn't checked in the intersectsWith container method. 2008-06-05 06:35:16 +00:00
Eduardo Lundgren
a91370e4f5 jquery.simulate - IE won't allow assignment to toElement or fromElement 2008-06-05 00:35:05 +00:00
Eduardo Lundgren
ecca74b11f jquery.simulate fix for 2 pixels IE bug from mousecords 2008-06-05 00:32:40 +00:00
Eduardo Lundgren
6b36d59900 2008-06-05 00:28:22 +00:00
Eduardo Lundgren
cf96164d54 Removed mousemove before synchronous drag loop 2008-06-05 00:23:48 +00:00
Eduardo Lundgren
d039818cc5 2008-06-05 00:14:41 +00:00
Eduardo Lundgren
df312d2d1a Added a TODO comment on triggerAsync() 2008-06-05 00:13:08 +00:00
Eduardo Lundgren
0584aaba8c Updated jquery.simulate to do syncrhonous drag for each pixel - Needed for some tests 2008-06-05 00:03:24 +00:00
Eduardo Lundgren
cc60a11da6 Update Draggable test case for jquery.simulate 2008-06-04 23:59:47 +00:00
Eduardo Lundgren
1b5470af38 Update Resize test case for jquery.simulate 2008-06-04 23:58:41 +00:00
Scott González
6de42c648d Core: fixed broken UTF-8 characters. 2008-06-04 22:07:56 +00:00
Scott González
2b1bd34cef Widget factory: fixed #2981: Graceful handling of method calls on uninitialized plugins. 2008-06-04 22:03:17 +00:00
Paul Bakaus
126d7d925b slider: fixed mouse refactoring issue that caused clicking somewhere on the slider not to fire any callbacks 2008-06-04 21:26:33 +00:00
Scott González
0d01cc3691 Slider: fixed #2552: Disabled should be an option, not a property on the instance. 2008-06-04 19:59:38 +00:00
Scott González
98f42fc802 Core: Exposed the base widget prototype; Adding/removing disabled classes automatically.
Draggable, Droppable, Resizable, Selectable, Sortable: Removed unneeded enable/disable methods.
Dialog: Delegating standard functionality for setData to the widget prototype.
2008-06-04 19:51:59 +00:00
Scott González
f17737b2d4 Mouse: invoke drag immediately on start if the start occurs during mousemove.. 2008-06-04 19:32:33 +00:00
Scott González
2f80c18734 Mouse: trigger start on mouse down if distance 0 and delay 0; changed default distance to 1. 2008-06-04 19:13:18 +00:00
Scott González
b6858b447c Dialog: Fixed modal dialogs so they are always on top of other dialogs when they open. 2008-06-04 17:31:58 +00:00
Richard Worth
0b2be30492 Added simulate "drag" method. Fixed some issues in resizable tests. 2008-06-04 08:47:26 +00:00
Richard Worth
0646f774ad Added jquery.simulate.js as possible refactor of (low-level) parts of userAction and testmouse 2008-06-04 03:41:17 +00:00
Eduardo Lundgren
9047a63049 Modified resizable grid test for #2939 2008-06-04 02:47:06 +00:00
Richard Worth
26c16a7e6f Set svn:eol-style to native 2008-06-04 02:34:33 +00:00
Scott González
9caa12ad65 Dialog: added ability to set the resize handles. 2008-06-04 00:42:17 +00:00
Scott González
b80fb723c5 Dialog: restructured init method. 2008-06-03 23:45:25 +00:00
Eduardo Lundgren
b294b05043 Resizable grid bug on IE - fixed #2939 2008-06-03 20:00:50 +00:00
Eduardo Lundgren
ef18dbbd76 Resizable grid option automated test added 2008-06-03 19:59:41 +00:00
Scott González
29b7b4882f Dialog: added stack option. 2008-06-03 13:03:53 +00:00
Eduardo Lundgren
3237f8e164 Updating version.txt for 1.5rc1 2008-06-02 04:02:41 +00:00
Eduardo Lundgren
08fef24f56 Calculating the correct time on resizable automated test 2008-06-02 03:06:09 +00:00
Eduardo Lundgren
be2b41f706 Removing extra blank line at the end - it break the yui compressor 2008-06-02 03:05:09 +00:00
Scott González
13685f50ee unindentation 2008-06-01 23:36:34 +00:00
Marc Grabanski
6b518a257f datepicker: getDate function now gets date whether or not datepicker is opened (fixes #2832) 2008-06-01 20:30:55 +00:00
Eduardo Lundgren
6f2849fd38 alsoResize IE bug fixes 2008-06-01 20:06:21 +00:00
Marc Grabanski
dce035cc65 datepicker: changed yearRange to be relative to current year instead of selected year (fixes #2627) 2008-06-01 20:04:19 +00:00
Eduardo Lundgren
0a2cc194d5 Image-cropper real-world demo css fixed 2008-06-01 19:44:10 +00:00
Eduardo Lundgren
814e9d6ca0 Updating labels on resizable testcase 2008-06-01 19:24:46 +00:00
Eduardo Lundgren
f9e28552c4 Fix 2 pixels error on mouse coords in IE 2008-06-01 19:19:41 +00:00
Marc Grabanski
169662dc7f Added debug file to recreate any issues. 2008-06-01 18:48:16 +00:00
Marc Grabanski
1c6b62b192 Updated demo files. 2008-06-01 18:28:01 +00:00
Marc Grabanski
1392c6903e Fixed alternate stylesheet. 2008-06-01 18:07:15 +00:00
Marc Grabanski
66263d54f8 Fixed demo bug. 2008-06-01 18:00:02 +00:00
Marc Grabanski
3dfb02bc03 Changed datepicker header and demo paths. 2008-06-01 17:53:28 +00:00
Marc Grabanski
f4f8ba867f Initial commit of datepicker functional demo. 2008-06-01 17:48:33 +00:00
Paul Bakaus
1c2d48f130 sortable: fixed issue when no placeholder is defined, and a issue with the element shown without positioning at drag start 2008-06-01 15:56:49 +00:00
Paul Bakaus
75fdffacb0 resizable: resizable doesn't expose ui.instance anymore 2008-06-01 14:22:24 +00:00
Eduardo Lundgren
985a82c660 userAction fix for top when not defined 2008-06-01 13:52:50 +00:00
Paul Bakaus
737ff7309d 2008-06-01 13:45:06 +00:00
Paul Bakaus
60ae201d2f 2008-06-01 13:24:37 +00:00
Eduardo Lundgren
29e742f4b6 2008-05-31 17:57:50 +00:00
Eduardo Lundgren
85eda5f837 resizable test clean up log div 2008-05-31 17:50:44 +00:00
Eduardo Lundgren
b88e3d7978 2008-05-31 17:48:10 +00:00
Eduardo Lundgren
c2a0d25d80 userAction Performance issues 2008-05-31 17:32:20 +00:00
Aaron Eisenberger
6bd34788b2 fix object linking in options for puff and scale 2008-05-31 17:18:24 +00:00
Eduardo Lundgren
01be5dfefd fix on #main hidden class 2008-05-31 17:08:21 +00:00
Eduardo Lundgren
b1048f4cbd Remove console.log 2008-05-31 16:59:50 +00:00
Eduardo Lundgren
8a1cba91d8 Resize tests respecting ratio resize with dimensions limits 2008-05-31 16:56:09 +00:00
Paul Bakaus
d32917596e effects: modified save mthod so it now only aves css atributes stored in the actual style attribute, fixes highlight 2008-05-31 16:49:00 +00:00
Eduardo Lundgren
c068874890 Make #main test div output hidden 2008-05-31 16:33:26 +00:00
Eduardo Lundgren
8c6334af97 Resizable limit min/max dimensions tests 2008-05-31 16:26:43 +00:00
Eduardo Lundgren
2e7ad670ea Removing class ui-fake-cursor 2008-05-31 15:59:54 +00:00
Eduardo Lundgren
106d24a3a4 Resizable basic tests using userAction 2008-05-31 15:54:53 +00:00
Paul Bakaus
320e7a560d slider: implemented option "noKeyboard" to disable keyboard controls. 2008-05-31 14:34:44 +00:00
Eduardo Lundgren
956656bc2a Starting alpha tests using userAction syncrhonous drag 2008-05-30 23:36:54 +00:00
Eduardo Lundgren
e175417d95 Drag synchronously added option - Let the automated tests being done. 2008-05-30 23:34:46 +00:00
Eduardo Lundgren
10afdcedde More fixes for userAction 2008-05-30 19:18:20 +00:00
Scott González
3d16364e61 Dialog: added dialogClass option (not officially supported right now). 2008-05-30 18:08:39 +00:00
Scott González
c76f3194a1 Resizable: Flipped order of a conditional for performance benefit. 2008-05-30 15:34:21 +00:00
Paul Bakaus
feb96d88fc draggable: more intersect calculation improvements when connected to sortables 2008-05-30 11:48:11 +00:00
Paul Bakaus
5f24485abe draggable: another connectToSortable improvement: the activate/deactivate callbacks are now fired when the draggable starts dragging 2008-05-30 11:30:58 +00:00
Paul Bakaus
5b19d8e723 draggable: fixed issue with connectToSortable, where the helper property was not properly restored later on 2008-05-30 10:07:49 +00:00
Eduardo Lundgren
3c2a4f57af Start simulating tests with userAction combined with Richard's animated cursor 2008-05-30 04:35:54 +00:00
Eduardo Lundgren
c8297ce04b userAction drag method implemented 2008-05-30 04:34:52 +00:00
Scott González
42b94bf173 Tabs: Fixed #2867: Performing a global replace on templates. 2008-05-30 00:14:50 +00:00
Paul Bakaus
cd2adeb725 core: fixed mouse plugin event binding - now binds events with the namespace this.widgetName 2008-05-29 16:43:04 +00:00
Marc Grabanski
8c1d775315 Added range interface real world demo. 2008-05-29 15:23:44 +00:00
Paul Bakaus
092513f35a datepicker: added localization back to /source/i18n 2008-05-29 15:19:49 +00:00
Paul Bakaus
2d6b7469cb sortable: connecting draggables to a sortable and dropping them on the sortable now also triggers a "receive" event, where the sender will be the original draggable. Moving out of the sortable while dragging a connected draggable will not trigger the stop/update events anymore. 2008-05-29 12:37:32 +00:00
Paul Bakaus
aba9f32531 sortable: options.item can now be a function that returns a jQuery collection 2008-05-29 12:12:12 +00:00
Paul Bakaus
dea9af8b4e sortable: implemented advanced placeholder functionality - the placeholder option can now accept a object with two callbacks "element" and "update", where element has to return a valid element (like helper option) and update is called after every update, so recalculating the offset and width/height should happen there. 2008-05-29 11:51:44 +00:00
Scott González
5917978bfd accordion tests: Fixed JavaScript warnings. 2008-05-28 20:04:52 +00:00
Scott González
46cfa2f147 accordion tests: Fixed autoHeight tests. 2008-05-28 19:35:09 +00:00
Paul Bakaus
3fd0d70dee effects: removed effect 'fade' (honestly not needed)
demos: added effects demo page
effects: fixed many callback issues and other small issues
2008-05-28 18:23:55 +00:00
Scott González
dd096c1e95 mouse: cleanup 2008-05-28 14:02:56 +00:00
Paul Bakaus
1f360d7d40 datepicker: datepicker now follows the theming convention of UI (fixes #2650) 2008-05-28 12:00:00 +00:00
Paul Bakaus
ece0c9eb79 slider: fixed translateRange - axis parameter was missing (closes #2862) 2008-05-27 11:19:23 +00:00
Paul Bakaus
57c3bc5c1e slider: fixed slider, now uses subclassing of the mouse plugin 2008-05-27 11:11:49 +00:00
Richard Worth
8f117475b8 autodrag - Added beginning of selectables tests 2008-05-27 02:35:36 +00:00
Eduardo Lundgren
9a671aef8f Testing relatedTarget onmouseover 2008-05-27 02:29:55 +00:00
Eduardo Lundgren
18ed665ae6 console.log handy function fixed 2008-05-27 02:23:57 +00:00
Eduardo Lundgren
55176967d0 Avoid reattach events 2008-05-27 02:20:19 +00:00
Eduardo Lundgren
4545852eb1 userAction keyBoards events fixed for Opera 2008-05-27 02:17:50 +00:00
Richard Worth
4a577e5ba2 corrected misspelled variable name 2008-05-27 00:47:55 +00:00
Eduardo Lundgren
a68d347da2 $('div.target').userAction("click", x, y); UserAction Plugin - Simulate mouse/keys real events. 2008-05-26 21:18:03 +00:00
Eduardo Lundgren
76525dc99d $('div.target').userAction("click", x, y); UserAvtion Plugin - Simulate mouse/keys real events. 2008-05-26 21:15:21 +00:00
Richard Worth
c28d263667 draggable - ui-draggable and ui-draggable-disabled classes were not being added 2008-05-26 20:30:27 +00:00
Richard Worth
661f111abb auto tests - now runs multiple tests with status 2008-05-26 20:29:22 +00:00
Richard Worth
48009db7e8 autodrag - Added simple test queue 2008-05-26 14:30:37 +00:00
Richard Worth
d685f520ee reverted rev50 - broke Opera for some reason 2008-05-26 13:58:29 +00:00
Richard Worth
02155d1457 2008-05-26 13:53:31 +00:00
Richard Worth
b6d16accb5 Created ui.testMouse. Fixed none.png to work in Safari (needs at least one pixel with 1% opacity) 2008-05-26 12:41:59 +00:00
Paul Bakaus
097fc4edae 2008-05-26 12:05:22 +00:00
Paul Bakaus
e65ce14284 sortable: implemented tolerance: "guess", which is also the default tolerance mode now, resolves issues with using tolerance "pointer" (closes #2837) 2008-05-26 12:02:02 +00:00
Paul Bakaus
7b538f65e0 draggable: fixed #2791 2008-05-26 11:39:25 +00:00
Paul Bakaus
062d02ae5c sortable: fixed containment option 2008-05-26 11:29:02 +00:00
Paul Bakaus
356ea57634 sortable: refactored big parts of sortable with new parts of draggable - scrolling problems should be fixed now, as well as many others. 2008-05-26 11:24:50 +00:00
Richard Worth
f65500a161 2008-05-26 10:19:46 +00:00
Richard Worth
a1ca614a88 Added platform cursors 2008-05-26 10:18:11 +00:00
Paul Bakaus
18296272ad sortable: option dropOnEmpty wasn't working correctly - in fact, you could always drop on empty containers. Now it checks again for the option, but it's default is true. 2008-05-26 09:10:48 +00:00
Paul Bakaus
e7a179ef42 draggable: removed helpr animation from connectToSortable in favor of callbacks 2008-05-25 18:29:53 +00:00
Paul Bakaus
d0d8ee752d sortable,draggable: made connectToSortable work again, now works with multiple sortables (closes #2785) 2008-05-25 18:24:02 +00:00
Paul Bakaus
57266e1ba4 draggable, droppable: added a class do the active draggable helper, that will be ignored by droppables as droppable target (fixes #2886) 2008-05-25 16:50:18 +00:00
Paul Bakaus
0f9bb627ee core: reverted change that caused all plugins to malfunction - will later be introduced when the tests are ready. 2008-05-25 16:41:01 +00:00
Paul Bakaus
70702aee59 draggable: fixed absolute positioned element's scroll positions 2008-05-25 16:06:24 +00:00
Paul Bakaus
b391290844 effects.core: fixed parsing of IE left/top values in createWrapper (closes #2915) 2008-05-25 15:50:29 +00:00
Paul Bakaus
074bd8d1ab draggable: fixed #2919 2008-05-25 15:39:24 +00:00
Paul Bakaus
620ed33295 resizable,selectable,slider: changed this.disabled to this.options.disabled (fixes #2552) 2008-05-25 14:24:02 +00:00
Richard Worth
c0f0e4d2cc merged experimental mouse branch 2008-05-25 04:04:57 +00:00
Richard Worth
0f2369e8d8 Move license files to root. Added version file. 2008-05-25 03:34:18 +00:00
Richard Worth
363d702c77 Switched from jQuery 1.2.5 to 1.2.6 2008-05-24 22:30:03 +00:00
Richard Worth
e219f8cf80 2008-05-24 20:53:02 +00:00
Richard Worth
9449c3f2b1 tests automated draggable - improved to work in IE6, FF2, Safari, Opera 2008-05-24 20:52:04 +00:00
Richard Worth
813472aa8f tests automated draggable - some refactoring 2008-05-24 18:49:23 +00:00
Eduardo Lundgren
26b2908040 Resizable automated tests - Resize fixed 2008-05-24 14:55:02 +00:00
Richard Worth
058fcb6d5b Added draggable automated test - wip 2008-05-24 14:09:23 +00:00
Eduardo Lundgren
b5bc8683ef Resizable automated tests prototype started 2008-05-24 07:07:20 +00:00
Paul Bakaus
63091e2c98 2008-05-23 13:32:32 +00:00
Paul Bakaus
67f393fd7c 2008-05-23 12:24:41 +00:00
Paul Bakaus
b0e979eefd 2008-05-23 11:14:15 +00:00
Paul Bakaus
606cd83577 2008-05-23 09:29:26 +00:00
Paul Bakaus
ab281b36d7 2008-05-23 09:26:18 +00:00
Paul Bakaus
489160abd8 2008-05-23 09:23:30 +00:00
Paul Bakaus
7ed79d0be5 2008-05-23 09:14:39 +00:00