Felix Nagel
8bd4030443
Datepicker: Re-introduce formatDate option, simplify Globalize usage
2015-07-29 00:06:30 +02:00
Felix Nagel
8238c25980
Merge branch 'datepicker' into datepicker-globalize-1.x
2015-07-29 00:06:29 +02:00
Felix Nagel
8732ff7a8c
Datepicker: Use Globalize 1.0.0
...
- Fix merge conflict in value method
- Fix common unit tests
- Fix calendar localization tests
- Fix rebase regression: labels update on refresh
- Add new pass through options
- lint fixes
2015-07-29 00:04:22 +02:00
Felix Nagel
e0acb2da48
Datepicker: Use Globalize 1.0.0
...
- Make unit tests work
2015-07-29 00:04:08 +02:00
Rafael Xavier de Souza
d0a5a7a0e6
Datepicker: Use Globalize 1.0.0
...
- Update Globalize to 1.0.0-alpha.6
2015-07-29 00:03:35 +02:00
Scott González
71d8f16ad4
Merge branch 'master' into datepicker
2015-07-15 09:40:38 -04:00
Alexander Schmitz
183422bd9f
Datepicker: Remove core event/alias and deprecated module dependencies
2015-05-20 14:27:55 -04:00
Scott González
6231b161b9
Tests: Fix AMD loading in IE8
...
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
bde431bb44
Tests: Rename files
...
Ref gh-1528
2015-04-09 09:27:00 -04:00
Scott González
dc4b015a8b
Tests: Widget test helpers extend the main helper
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:58 -04:00
Scott González
7d168ce630
Datepicker: Convert tests to new infrastructure
...
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
500f6b4992
Tests: Switch to the new qunit-composite module
...
This module was created from our existing implementation.
Closes gh-1532
2015-04-07 09:03:36 -04:00
Felix Nagel
11c1735275
Calendar: Use button instead of link elements for day items
...
Ref gh-1432
2015-02-26 09:27:41 -05:00
Felix Nagel
cc91adf4b6
Calendar: Use document.activeElement for retrieving focused element
...
Fixes unit tests in phantom.
2015-01-29 18:01:30 -05:00
Felix Nagel
32891588f4
Datepicker: Add missing handling for disabled option
2015-01-29 18:01:30 -05:00
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