Commit Graph

147 Commits

Author SHA1 Message Date
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
a638acb583 Upgrade jQuery to 1.8.2. 2012-09-20 21:41:47 -04:00
Scott González
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
b042f8ebd6 Tests: Moved loadResources to TestHelpers. 2012-04-23 10:43:01 -04:00
Jörn Zaefferer
ce3c7fab93 Update to official qunit composite addon 2012-04-21 17:49:11 +02:00
Scott González
e9d5079b04 Tests: Move commonWidgetTests() to TestHelpers. 2012-04-19 13:03:21 -04:00
Scott González
266cc84013 Tests: Lint. 2012-04-19 11:17:35 -04:00
Scott González
a709943a8b Datepicker tests: Use $.ui.keyCode instead of $.simulate.VK_*. 2012-03-27 14:46:13 -04:00
Scott González
89ff5c5232 Upgrade jQuery to 1.7.2. 2012-03-22 09:45:22 -04:00
Jörn Zaefferer
72023dd045 Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal. 2012-02-29 18:36:40 +01:00
Jörn Zaefferer
e6b7486abf Datepicker: Fix a bad assertion - actual result is valid. 2012-02-29 18:36:39 +01:00
Scott González
54fb1441fe Upgrade jQuery to 1.7.1. 2011-11-22 08:43:09 -05:00
Scott González
50dab05784 Upgrade jQuery to 1.7. 2011-11-09 10:18:33 -05:00
Scott González
dcac8c1f29 Tests: Added ability to run tests against minified files via ?min=1 2011-10-28 15:58:33 -04:00
Scott González
efe964d86e Upgraded jQuery to 1.6.4. 2011-10-18 09:38:27 -04:00
Karl Kirch
d146297356 Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. 2011-08-09 09:55:50 -04:00
Scott González
e827a0e280 Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
This reverts commit effdd5d19c.
2011-08-09 08:26:33 -04:00
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
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
96de2aa04a Merge remote branch 'pgraham/master' 2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31 Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called 2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1 Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed 2011-06-28 10:49:47 -05:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09: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
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
jzaefferer
b107181bbb Fix datepicker tests to pass in Chrome and run faster by letting QUnit
handle the staggered proessing (renders at least once per second, faster
then rendering after each test). Disabled broken manual-entry tests
after confirming its only an issue in the test, not the impl.
2011-02-18 16:08:17 +01:00
Dan Heberden
5c3dc7d48a Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object 2011-02-15 10:15:46 -08:00
Ivan Peters
67b070f97a Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872: parseDate does not default shortYearCutoff correctly. 2011-01-18 16:25:58 +13:00
pheiberg
d69f2ecb12 Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument 2010-11-22 08:29:29 -05:00
pheiberg
a2e0eb920a Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly. 2010-11-18 16:13:28 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
4226faed09 Datpicker: Fixed some failing tests. 2010-11-05 10:44:55 -04:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -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
jzaefferer
baa3678477 Unit tests: Disable stale widget tests on testswarm 2010-04-14 20:19:20 +02:00
Jörn Zaefferer
d7b1044d6c debug comment 2010-03-20 14:38:12 +00:00
Jörn Zaefferer
edcd6823e2 Fixed broken encoding of Préc 2010-03-20 14:37:55 +00: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
828bcdd2f0 fixed #5163 - themes: css files need to be renamed to be consistent with js file renames in 1.8a1 2010-02-16 01:38:23 +00:00
Keith Wood
f214b70889 Datepicker: Fixed conflict between beforeShowDay and getDate
http://forum.jquery.com/topic/several-breaking-changes-in-jquery-ui-1-8rc1
2010-01-29 08:09:03 +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
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Keith Wood
0c35c1135f Datepicker: Corrected tests for changes in r3494 2009-12-26 08:35:40 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00
Keith Wood
d33c2de502 Datepicker - Fixed #4870 - yearRange doesn't work as expected 2009-12-01 01:27:25 +00:00
Keith Wood
fe217c4745 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-12-01 01:24:00 +00:00
Jörn Zaefferer
751d7c521b update to latest QUnit 2009-09-29 07:48:14 +00:00
Jörn Zaefferer
c59c0421ba datepicker: removing odd ticket test, has no assertions 2009-09-19 13:36:49 +00:00
Jörn Zaefferer
b19f2fe478 datepicker: renabling tests, with timeouts inbetween each test, hopefully avoids to kill testswarm clients with slow-script warnings 2009-09-19 13:36:34 +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
6ebe744e86 datepicker tests keep crashing testswarm client, disabled tests until that issue is resolved 2009-09-15 21:40:15 +00:00
Jörn Zaefferer
9d5f8f18c6 datepicker tests keep crashing testswarm client, disabled tests until that issue is resolved 2009-09-15 21:38:50 +00:00
Jörn Zaefferer
06702d8b30 updated to latest QUnit 2009-09-15 21:12:05 +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
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
Keith Wood
ef4000d9df Datepicker: Fixed #3891 Autosize input field 2009-07-22 08:37:28 +00:00
Keith Wood
61e15b1f76 Datepicker: Fixed #4647 setDate cannot be called multiple times 2009-07-22 08:28:01 +00:00
Keith Wood
3b5c91fdc6 Datepicker. Fixed #3657 showOtherMonths should allow the selection of days from other months 2009-06-21 07:28:51 +00:00
Keith Wood
f07a17bbf0 Datepicker: default, min, and max dates can be specified as date strings in the current format 2009-06-16 08:44:56 +00:00
Jörn Zaefferer
32c342a282 replaced svn:externals with versioned files within trunk/externals 2009-05-27 17:50:56 +00:00
Keith Wood
8f503d8d31 Datepicker: Fixed #3861 Manually entered date does not update altField 2009-04-16 10:42:04 +00:00
Keith Wood
4ae29ba06b Datepicker: Apply min/max settings on setDate 2009-04-10 08:22:47 +00:00
Keith Wood
fc75c3e3ad Datepicker: added Windows ticks format 2009-04-01 10:56:58 +00:00
Keith Wood
a6c705420b Datepicker: Corrected unit tests for structural changes and end of month 2009-04-01 10:15:29 +00:00
Keith Wood
4d5f8d4ae0 Datepicker: fixed #4301 - option dateFormat getter does not return same value as setter 2009-04-01 10:11:35 +00:00
Richard Worth
352b081a39 Switched to jQuery 1.3.2 2009-02-20 11:40:25 +00:00
Scott González
95c5d5e3fd Datepicker: Added test for #4055 - onclick events contain references to "jQuery". 2009-02-13 04:12:28 +00:00
Richard Worth
b18da5cd64 datepicker unit tests: split tests into individual files 2009-02-04 04:27:14 +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
19a1468fc3 switched to jQuery 1.3.1 2009-01-22 09:13:28 +00:00
Keith Wood
10de3f0be2 Remove tests that no longer apply 2009-01-19 10:43:08 +00:00
Keith Wood
56b1f93434 Fixed #3859 - Datepicker can't pick years before 1999 2009-01-19 10:33:45 +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
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