Scott González
4adb9026ea
Tests: Cleanup.
2011-08-03 17:12:44 -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
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
daadc343be
Upgrade jQuery to 1.6.2.
2011-07-25 11:46:45 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00
Scott González
325ee6e871
Widget: define a null default for the create callback.
2011-04-25 14:04:30 -04:00
Jay Merrifield
f9996682b5
Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs.
2011-03-08 09:42:10 -05:00
Douglas Neiner
15c97e0b76
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing
2011-03-03 09:37:16 -05:00
Richard Worth
593799d6e3
Switched to latest stable jQuery 1.5.1
2011-03-02 20:49:20 -05:00
jzaefferer
c37637ee99
Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use
2011-02-23 12:46:13 +01:00
jzaefferer
1c7ab042fa
Disable dialog tests on TestSwarm until we can get some running in IE6
...
without freezing the browser.
2011-02-21 22:26:38 +01:00
jzaefferer
a1ebed70e3
Unit tests: Add QUnit toolbar for hiding passed tests
2011-02-21 20:39:35 +01:00
Scott González
b42125af43
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
2010-12-10 14:31:36 -05:00
Scott González
0e15f573d6
Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
...
This reverts commit 22671ad4f8
.
2010-12-10 13:42:29 -05:00
Scott González
22671ad4f8
Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
...
This should be reverted in jQuery UI 1.9.
2010-12-08 12:36:19 -05:00
Scott González
22cf318e40
Dialog position tests: Use Math.round() instead of Math.floor().
2010-12-03 09:14:27 -05:00
Scott González
fce1f97f76
Upgraded jQuery to 1.4.4.
2010-11-12 09:19:26 -05:00
Jay Merrifield
dfb3544297
Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code.
2010-11-12 08:16:41 -05:00
Scott González
19f9c3a559
Upgraded jQuery to 1.4.3.
2010-10-21 22:29:28 -04:00
Scott González
7d9d2b551f
External: Updated bgiframe to 2.1.2. Fixes #6190 - Dialog demos don't work in IE9 because of bgiframe.
2010-10-19 23:05:13 -04:00
John Firebaugh
e66cdfcf59
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:18:46 -04:00
Scott González
c090802cc1
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
...
This reverts commit 67b1db14c9
.
Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:15:40 -04:00
Scott González
0c82f7ec2c
Dialog tests: Enabling in TestSwarm.
2010-09-07 12:28:36 -04:00
Scott González
0050f234a8
Dialog: Fixed test for default title. Some browsers were returning an actual non-breaking space and some were returning the string " ".
2010-09-07 09:49:58 -04:00
Scott González
d80e2236f6
Dialog: Reduced size of dialogs in height/width tests.
2010-09-07 08:58:20 -04:00
Scott González
2365d03cef
Dialog: Fixed a broken maxHeight test.
...
The size tests are fragile because they require the browser window to be large enough to contain the dialog.
2010-09-02 08:41:28 -04:00
Scott González
de02aa34a8
Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event.
2010-09-02 08:35:40 -04:00
Scott González
95a34593f9
Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option.
2010-08-31 10:17:53 -04:00
jzaefferer
d8bee228b3
Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions
2010-08-29 17:21:39 +02:00
Scott González
79ee6f0d7b
Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated.
2010-08-27 18:02:11 -04:00
Scott González
1e28040cf3
Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-08-27 14:48:17 -04:00
Ziling Zhao
c5770c0e84
Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width should be at least minWidth on creation.
2010-07-30 15:14:48 -04:00
Scott González
58ae7ce2fd
Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
...
This reverts commit ea58cd5ac0
.
2010-07-30 12:38:18 -04:00
jzaefferer
ea58cd5ac0
Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack
2010-07-30 14:26:58 +02:00
Scott González
61e0aeac7e
Dialog: Wrap buttons in a div so we can float the div instead of the individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab.
2010-07-29 20:56:28 -04:00
Scott González
2366a81740
Dialog: Fixed tests for position option.
2010-07-16 08:55:03 -04:00
jzaefferer
56aecac811
Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference
2010-07-15 09:31:36 +02:00
Scott González
96e78a2cb7
Dialog: Updated test for default position option. QUnit still fails the test though.
2010-07-14 16:40:43 -04:00
Ben Hollis
6de9a5368c
Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API
2010-07-14 16:29:28 -04:00
Scott González
2c7a9e9ff3
Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title"
moved to title area.
2010-07-14 15:28:01 -04:00
jzaefferer
baa3678477
Unit tests: Disable stale widget tests on testswarm
2010-04-14 20:19:20 +02:00
Richard Worth
bfc180b1ba
html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase
2010-03-12 03:18:34 +00:00
Richard Worth
7898303437
dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291
2010-03-11 20:48:21 +00:00
Richard Worth
9483dcdbe6
Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
...
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Richard Worth
0798b10717
Fixed #5182 - Update to jQuery 1.4.2
2010-02-16 02:39:57 +00:00
Scott González
c9f30818af
Dialog: Update the internal flag for whether or not the dialog is open before triggering the close event.
...
Fixes #5184 - isOpen in dialogclose event is true.
2010-02-16 02:13:38 +00:00
Richard Worth
79bd955054
switched to jQuery 1.4.1
2010-01-27 12:29:43 +00:00
Richard Worth
3eaf9daaca
Deprecated beforeclose option instead of removing it for now, fixes reopened #4669 - Dialog: beforeclose option should be beforeClose.
2010-01-27 10:31:17 +00:00
Richard Worth
a1e069759d
switched to jQuery 1.4
2010-01-20 13:52:38 +00:00
Scott González
010385b2fa
Dialog, position: Removed bgiframe option; always use bgiframe when available.
...
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
1c31a26b56
Replaced stackfix with bgiframe.
...
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
90fb45dffa
Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests).
2010-01-07 03:19:50 +00:00
Scott González
752c191a71
Added jquery.ui.mouse.js to non-interaction demos/tests that use interaction plugins.
2009-12-23 03:29:33 +00:00
Jörn Zaefferer
b6d17b24d4
extracting widget factory into jquery.ui.widget.js
2009-12-16 22:20:18 +00:00
Scott González
b3a095d3ef
Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests.
2009-11-09 01:50:23 +00:00
Jörn Zaefferer
751d7c521b
update to latest QUnit
2009-09-29 07:48:14 +00:00
Jörn Zaefferer
122a6cdd5f
dialog: fixed _position regression; wrote a test for the default positon, which still needs some tuning
2009-09-19 14:03:53 +00:00
Richard Worth
5c87e2e448
dialog unit tests: options closeOnEscape, draggable
2009-09-19 10:16:08 +00:00
Richard Worth
79916907b5
dialog unit tests: methods close, moveToTop, open
2009-09-19 09:49:00 +00:00
Richard Worth
af178c00f1
dialog: fixed enable and disable methods
2009-09-19 09:35:53 +00:00
Richard Worth
e2d873e6f0
renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935
2009-09-17 10:39:12 +00:00
Jörn Zaefferer
06702d8b30
updated to latest QUnit
2009-09-15 21:12:05 +00:00
Ca-Phun Ung
f6b3e0c6e9
dialog: added unit test for ticket #4826
2009-09-15 16:14:15 +00:00
Jörn Zaefferer
b9f59aa4cf
dialog: methods test cleanup
2009-09-15 15:42:41 +00:00
Jörn Zaefferer
219c81a208
dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF)
2009-09-14 14:54:15 +00:00
Jörn Zaefferer
4908a27b14
change script ordering to load testswarm agent after QUnit
2009-09-11 18:30:23 +00:00
Jörn Zaefferer
7f54a1bad9
update to lastest QUnit
2009-08-30 10:46:20 +00:00
Richard Worth
1a6e100031
dialog unit tests: added position and stackfix
2009-08-12 08:20:57 +00:00
Richard Worth
57e3595115
Removed jquery.simulate from external/ as it's being removed from jqueryjs.googlecode.com/svn/trunk/plugins
2009-08-10 09:38:14 +00:00
Scott González
d3bd7ae09f
Dialog tests: Switch bgiframe to stackfix.
2009-07-27 23:53:58 +00:00
Scott González
a716261ab6
Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose.
2009-07-11 00:36:36 +00:00
Scott González
1a03453654
Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase.
2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7
Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered.
2009-07-10 20:00:06 +00:00
Scott González
44ec979713
Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650 : ui hash not always provided in events/callbacks.
2009-07-04 03:39:19 +00:00
Jörn Zaefferer
32c342a282
replaced svn:externals with versioned files within trunk/externals
2009-05-27 17:50:56 +00:00
Scott González
1195854aaa
Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters.
2009-04-15 02:33:28 +00:00
Scott González
2b8109e119
Fixed dialog tests to use same instead of equals for hashes.
2009-03-28 00:37:16 +00:00
Richard Worth
352b081a39
Switched to jQuery 1.3.2
2009-02-20 11:40:25 +00:00
Richard Worth
176b2d21cd
dialog: added some missing defaults
2009-02-09 11:15:23 +00:00
Scott González
dd3636c97a
Dialog: Removed shadow option due to introducing too many bugs. ( Reopens #3681 ).
2009-02-05 14:30:59 +00:00
Richard Worth
52005f42dd
dialog unit tests: split tests into individual files
2009-02-04 04:35:18 +00:00
Richard Worth
43ab3a04e5
unit tests: created separate file for each module: core, common widget, events, methods, options, tickets
2009-02-02 14:36:08 +00:00
Richard Worth
b900ea855c
unit tests: fixed missing tests to hide with new qunit checkbox
2009-02-01 01:57:28 +00:00
Richard Worth
9f382c5814
dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next.
2009-01-31 05:47:58 +00:00
Richard Worth
1fc03acdde
dialog unit tests: no more overlay option
2009-01-30 03:08:20 +00:00
Richard Worth
3268e41300
dialog unit tests: no more overlay option
2009-01-30 03:07:40 +00:00
Richard Worth
19a1468fc3
switched to jQuery 1.3.1
2009-01-22 09:13:28 +00:00
Richard Worth
2b728dc730
Happy Birthday jQuery (switched to jQuery 1.3)
2009-01-14 23:26:15 +00:00
Richard Worth
877f03b853
switched to jQuery 1.3rc2
2009-01-13 00:49:10 +00:00
Richard Worth
3bec130f7b
set eol-style to native
2009-01-09 11:47:42 +00:00
Richard Worth
9c3105200e
reverted r1544 (it was temporary)
2009-01-08 05:44:34 +00:00
Richard Worth
c3d9d6261c
temporarily switched back to 1.2.6
2009-01-08 05:39:38 +00:00
Richard Worth
b792bd46ec
restructured unit tests folder
2009-01-07 03:31:15 +00:00