Commit Graph

169 Commits

Author SHA1 Message Date
Felix Nagel
95fd20fbf6 Datepicker tests: Remove pass-through options unit tests
Add Test if these options are set on the underlying calendar instance
2015-01-29 18:01:30 -05:00
Felix Nagel
9461f6680b Calendar: Add buttons option 2015-01-29 18:01:29 -05:00
Felix Nagel
398ce1bd82 Datepicker tests: Rewrite event unit tests 2015-01-29 18:01:29 -05:00
Felix Nagel
6dfcd937f9 Datepicker tests: Add open and close unit tests 2015-01-29 18:01:28 -05:00
Felix Nagel
f88a06352a Calendar: Add min and max option.
Improve render day cell mechanism.
2015-01-29 17:52:50 -05:00
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
feedc57486 Datepicker: Handle invalid values in value() and valueAsDate() 2015-01-29 17:47:50 -05:00
TJ VanToll
b4fe65a134 Datepicker: Add an isValid() method 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
e87a5d8c05 Datepicker: Add value() and valueAsDate() methods 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
ab94999105 Datepicker: Allow dateFormat to be changed after init 2015-01-29 17:47:48 -05:00
TJ VanToll
13cd6c2fe5 Datepicker: Support changing eachDay after initialization 2015-01-29 17:47:47 -05:00
TJ VanToll
1a83120fff Datepicker: Support position option changes after init 2015-01-29 17:47:47 -05:00
TJ VanToll
5fbe668d86 Datepicker: Various changes for the showWeek option
* Re-add `ui-datepicker-week-col` class name currently used.
* Add test suite.
* Support changing option after initialization.
2015-01-29 17:47:47 -05:00
TJ VanToll
b5893906df Datepicker: Support changing the appendTo option after init 2015-01-29 17:47:47 -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
Jörn Zaefferer
2aabd427eb Tests: Fix style issues with missing or multiple line breaks
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Luke Page
0566e99457 DatePicker: increase date range so that tests still pass through 2015 2015-01-10 21:11:14 +00:00
Luke Page
c21700742b DatePicker: Fix tests to have unique names 2015-01-10 21:09:18 +00:00
Scott González
d85016abf0 Datepicker: Fix test for French locale
Ref #10651
2014-10-07 11:21:04 -04:00
Mike Sherov
aa425ab95d Build: Pull in jquery.simulate.js from Bower
Fixes #10563
2014-08-22 17:01:50 -04:00
Scott González
c017628e11 Tests: Fix composite tests 2014-08-01 12:25:14 -04:00
Rodrigo Menezes
5730374238 Datepicker: reject dates with two year digits when expecting 'yy'
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
a40647f0e5 All: Rename jquery.js to exclude version in filename 2014-03-05 10:19:11 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Scott González
5494bc9b2e Datepicker test: Ignore flaky test in IE in TestSwarm. 2013-12-03 11:52:11 -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
Scott González
acd2e1391f Datepicker test: Attempt to work around an issue in IE9 in TestSwarm. 2013-12-03 11:27:41 -05:00
Jörn Zaefferer
6d7a61478f Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call 2013-11-25 16:25:39 +01:00
Pere Orga
441b7fc8c1 Demos/tests: Losslessly recompress PNG/GIF images. 2013-08-26 10:18:15 -04:00
Bruno M. Custódio
0d5eaab9bb Updating jQuery to 1.10.2.
Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the
tests directory.
2013-07-05 08:42:37 -04:00
Steven Luscher
fcd1cafac8 Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable 2013-06-19 18:07:38 -04:00
Jörn Zaefferer
aaf75767fa Datepicker: Replicate fr-locale changes to the demo copy. Adjust unit tests to match the new lowercase names. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish 2013-05-31 10:35:44 +02: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
7c939aadf8 Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari. 2013-04-14 12:58:42 -04:00
Mike Sherov
530d1b7c8c Datepicker Tests: ensure Focus tests work all the way back to jQuery 1.6 in all browsers without having to rely on timeouts. 2013-04-11 20:48:05 -04:00
Mike Sherov
ab84e037ed Datepicker Tests: use simulated events for focus and blur. 2013-04-07 15:15:04 -04:00
Mike Sherov
2f7a4c669d Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it. 2013-04-07 14:40:26 -04:00