Commit Graph

258 Commits

Author SHA1 Message Date
Richard Worth
5dde75c3e2 simulate - round(floor) the center x and y values 2008-06-06 03:59:57 +00:00
Richard Worth
473de51ff0 made draggable tests more robust by removing hardcoded expect values 2008-06-06 03:58:15 +00:00
Eduardo Lundgren
a18f98e547 2008-06-06 03:30:06 +00:00
Eduardo Lundgren
ebb04981a6 Fix ui.core to create the $(this).data('component') instance on the "ui-wrapper" element, that is the current "this" inside a $.ui.plugin.add. 2008-06-06 03:27:56 +00:00
Richard Worth
9ce9243b83 fixed failing test 11 in IE6 2008-06-06 01:44:32 +00:00
Richard Worth
84a0a116ce fixed failing test 14 in Opera 2008-06-06 01:41:39 +00:00
Richard Worth
4fc409193e fixed failing test 7 in IE 2008-06-06 01:39:23 +00:00
Richard Worth
7e181d93ca reverted back to minimal drag. The other may have depended on some things that got reverted recently, as I wasn't able to make it work. Also, mousemove's should happen on document, not target. 2008-06-05 13:05:28 +00:00
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