Commit Graph

107 Commits

Author SHA1 Message Date
Jörn Zaefferer
5a45f483d7 Merge branch 'master' into widget-delegation 2011-07-28 15:16:20 +02:00
Scott González
719db7f9b1 Widget tests: Fixed fragile tests. 2011-07-28 08:26:59 -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
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
daadc343be Upgrade jQuery to 1.6.2. 2011-07-25 11:46:45 -04:00
Jörn Zaefferer
8b14b35dc7 Widget delegation: Fix impl and add basisc test 2011-06-19 14:59:18 +02:00
Jörn Zaefferer
aa7f8195f8 Merge branch 'master' into widget-delegation 2011-06-19 14:45:20 +02:00
Jörn Zaefferer
391282a9ae Whitespace 2011-06-19 14:42:15 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -04:00
Scott González
325ee6e871 Widget: define a null default for the create callback. 2011-04-25 14:04:30 -04:00
Scott González
78b17f9d76 Widget: Moved tests out of _tickets into _core. 2011-03-28 12:37:08 -04:00
Scott González
6fc98deef0 Widget: Allow setting individual properties of deep options. Fixes #7035 - Widget: Extend .option() to set partial nested options. 2011-03-24 09:21:53 -04:00
Scott González
f77224055a Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack. 2011-03-22 14:35:18 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
Scott González
ffb96bc972 Widget tests: Work around a bug in jQuery core in IE 9rc. 2011-02-26 13:31:45 +01:00
jzaefferer
c37637ee99 Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use 2011-02-23 12:46:13 +01:00
jzaefferer
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
William Kevin Manire
c94ec23b26 Widget: modified widget to throw exception on attempt to call private methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object 2011-02-16 00:28:32 -08:00
Scott González
6096aed0a3 Widget: Fixed super methods with deep inheritance chains. 2011-02-10 21:25:50 -05:00
Scott González
ee88a56243 Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - Widget: Allow redefining a widget to create extensions. 2011-02-03 16:37:17 -05:00
Michael DellaNoce
b3fcf17471 Widget: Modified _trigger to invoke callbacks with apply so that handlers are invoked the same way .trigger() invokes them. Fixes #6795 - Widget: _trigger passes array arguments to handlers inconsistently. 2011-02-01 06:57:48 -05:00
Scott González
cb8f5b7f26 Merge branch 'master' into widget-events
Conflicts:
	ui/jquery.ui.widget.js
2011-01-31 22:04:09 -05:00
Scott González
17004b9cac Widget: Use focusin/focusout for ._focusable(). 2011-01-31 21:55:22 -05:00
jzaefferer
effbb2c0ec Update wigdet test for previous change. No stored intance via data for
element == instance.
2011-01-31 16:37:50 +01:00
Scott González
0ef4b4f28a Widget: Added tests for ._hoverable() and ._focusable(). 2011-01-24 21:54:50 -05:00
Scott González
4a384c63ff Widget tests: Remove workaround for old QUnit bug. 2011-01-24 21:31:12 -05:00
Scott González
8034cc3803 Widget tests: Cleanup. 2011-01-24 21:22:40 -05:00
Scott González
cc90b44060 Widget: Allow this.element to be the widget instance instead of a DOM element. Fixes #6895 - Widget: Allow non-DOM based widget. 2011-01-24 13:33:24 -05:00
Scott González
bc71499a50 Widget: Added tests for defaultElement and element normalization between jQuery objects, elements and selectors. 2011-01-23 19:58:31 -05:00
Scott González
6072703cd1 Widget: Added "dynamic" bindings via ._bind() to allow for proxying. 2011-01-18 01:53:20 -05:00
Scott González
659db70caa Widget: Added ._bind() for easily binding events with correct context and disabled checking. Pretty much a direct copy from the previous bind branch. 2011-01-18 01:46:26 -05:00
Scott González
25dae411bc Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add _super() and _superApply() for easy access to parent methods. 2011-01-14 15:52:03 -05:00
Scott González
9ad2a4b1cc Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-12-10 14:11:20 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
512825d358 Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init. 2010-10-06 15:11:49 -04:00
Scott González
a2ddfd5107 Widget: Added create event. Fixes #6126 - Widget: Add create event. 2010-09-29 17:36:45 -07:00
Scott González
9d88b565d6 Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method. 2010-09-27 11:21:09 -04:00
Scott González
0a0a39f896 Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4. 2010-09-03 09:49:29 -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
dd035d1123 Widget tests: Coding standards. 2010-08-26 12:05:40 -04:00
Scott González
306764ca0f Widget: Added more unit tests. 2010-08-26 11:49:07 -04:00
Scott González
edfc8631d1 Widget Tests: Coding standards. 2010-08-26 10:59:51 -04:00
Scott González
001b4b08f0 Widget: Added more unit tests. 2010-08-26 10:50:26 -04:00
Scott González
df786f80eb Widget: Added tests for re-initialization. 2010-08-23 15:35:28 -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
f24bc0fb1f Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options. 2010-07-15 10:27:21 -04: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
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
Richard Worth
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +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