Commit Graph

37 Commits

Author SHA1 Message Date
Felix Nagel
510ba08cff Calendar: Add calendar widget
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
2015-01-29 17:52:46 -05:00
Felix Nagel
35b52a0dfc Datepicker: Introduce value option
Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
2015-01-29 17:48:26 -05:00
Felix Nagel
cfea8df90a Datepicker: Fix code style issues 2015-01-29 17:48:19 -05:00
TJ VanToll
fd215f1863 Datepicker: Update the picker as the user types valid dates 2015-01-29 17:47:50 -05:00
TJ VanToll
104f3e6be0 Datepicker: Re-adding mouse tests 2015-01-29 17:47:49 -05:00
TJ VanToll
605387d6fc Datepicker: Update key handling implementation and tests 2015-01-29 17:47:49 -05:00
Rafael Xavier de Souza
ffc8ab2710 Datepicker: Use Globalize 1.0.0 2015-01-29 17:47:48 -05:00
TJ VanToll
ff4bfd643d Datepicker: Fix key handling implementation and tests 2015-01-29 17:47:48 -05:00
TJ VanToll
cc5a4bc5c8 Datepicker: Support destroying inline datepickers 2015-01-29 17:47:48 -05:00
TJ VanToll
bfd8f26bb4 Datepicker: Add test to ensure the <input>'s value is preselected 2015-01-29 17:47:48 -05:00
TJ VanToll
8983fee991 Datepicker: Clean up tests 2015-01-29 17:47:47 -05:00
TJ VanToll
e50d6d3bd2 Datepicker: Update tests and demos for new structure 2015-01-29 17:47:46 -05:00
Scott González
72f29a111a Datepicker test: Attempt to work around an intermittent issue in IE when run through TestSwarm. 2013-12-03 11:38:17 -05:00
Mike Sherov
71a332e8b8 Datepicker Tests: Fix hanging IE tests resulting from asynchronous blur 2013-04-14 18:47:29 -04:00
Mike Sherov
b75e4f7d27 Datepicker Tests: fix failing oldIE tests by creating new inputs to focus when necessary for focus tests. 2013-04-14 17:07:24 -04:00
Mike Sherov
0d4022bceb Tests: Convert single quotes to double quotes. 2012-12-26 08:08:48 -05:00
Scott González
28fcef5e9e Datepicker tests: Handle async focus in IE. 2012-12-11 10:06:13 -05:00
Scott González
20a29dfd61 Datepicker: Run JSHint test in unit tests. 2012-12-06 11:56:56 -05:00
Roman Salnikov
7ffcaa2e3b Datepicker: reinitialize datepicker if mainDiv isn't on the page. Fixed #5679 - Datepicker should reinitialize if dpDiv is removed 2012-11-19 09:15:10 -05:00
Scott González
ff055a0c35 Datepicker tests: Fixed setting of option. 2012-11-13 10:34:31 -05:00
Mike Sherov
3df9ea29e6 Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-03 16:17:16 -04:00
Scott González
5bd19650a3 Datepicker: Removed iframe cover for IE6. 2012-10-26 15:59:29 -04:00
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
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
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -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
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
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
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
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
fe217c4745 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-12-01 01:24:00 +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
Keith Wood
a6c705420b Datepicker: Corrected unit tests for structural changes and end of month 2009-04-01 10:15:29 +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