Zhe Sun
4523d31e6d
Update Chrome version, snapshots and fix tests (#11684)
4 anos atrás
Zhe Sun
7bda912a77
Separates a rpc for handling the client event order in DateTimeField (#11574)
* Using @Delayed annotation for DateField Rpc
* Separate a rpc for handling the time change in DateTimeField
* Add test case for wrong event order
5 anos atrás
Sun Zhe
dd0b0f44c4
Correct the logic for validation used in DateField (#11307)
Fixes #11276
Refactor the code and correct the logic for validation
Rename an internal variable, as it contains more than one type of messages
5 anos atrás
Anastasia Smirnova
78b1dc1439
Force re-updating the resolutions of DateField (#11159)
Fixes #11099
5 anos atrás
Ilia Motornyi
16335d3aba
Fix formatting of some files (#10972)
6 anos atrás
Alexander Nittka
76230f8b16
Remove parse error when changing from invalid to empty date text (#10771)
Fixes #10673 .
6 anos atrás
Anastasia Smirnova
4dec38e73d
Handle UnparsableDateString correctly (#10803)
Resolves #10681
6 anos atrás
Teemu Suo-Anttila
78daf54cbf
Update release notes and since tags for 8.4 (#10760)
6 anos atrás
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 anos atrás
Ilia Motornyi
ec314ee921
Fix date ranges for date and datetime fields (#10685)
Fixes #9765
6 anos atrás
Adam Wagner
75b98bee62
Add ARIA label support to DateField (#10538)
Fixes #10454
6 anos atrás
Leif Åstrand
531320c505
Tweak date style API (#10493)
* Disallow some `null` arguments
* Return an unmodifiable map from getDateStyles(). This helps the
developer understand that changes to the returned map are
not automatically applied to the component.
* Remove redundant `@link` markup from `@see` in the javadocs.
6 anos atrás
Teemu Suo-Anttila
580d607444
Add missing since tags and JavaDocs (#10487)
6 anos atrás
Anna Koskinen
edc3b08def
Allow setting custom styles to DateField calendar date cells (#10305)
Fixes #10304
6 anos atrás
Teemu Suo-Anttila
ed57efc07e
Update since tags in JavaDoc (#10325)
6 anos atrás
Ahmed Ashour
d44a5e217d
Fix end of line comments, which were made by automatic formatter (#10234)
6 anos atrás
Ahmed Ashour
7c8f440781
Remove trailing spaces (#10224)
6 anos atrás
Ahmed Ashour
3929d0ac6f
AbstractDateField.formatDate() to be abstract (#10186)
* AbstractDateField.formatDate to be abstract
Remove invalidDateString paramter, as it can be deduced
* Fix test
* Remove AbstractDateField.getResolutionVariable
VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions()
* Revert to use fixed value of MONDAY.
* release notes
* updateAndSendBufferedValues()
* Missed call to updateAndSendBufferedValues();
* release note
6 anos atrás
Ahmed Ashour
70ba487b62
AbstractDateField: set value after being invalid (#10187)
Fixes #9763
Fixes #9978
6 anos atrás
Ahmed Ashour
dd5597d901
Convert AbstractDateField not to be a LegacyComponent (#10148)
6 anos atrás
Ahmed Ashour
c520767bf1
Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)
6 anos atrás
Marco Collovati
89693cf448
Show validation error selecting invalid date from DateField (#10013)
Component error was cleared after selecting a date from
calendar popup, even if the date is invalid due to
validation errors or if user programmatically sets an UserError.
This change inverts the order of setValue() and setComponentError(null) in order
to preserve errors set by ValueChangeListeners (e.g. Binder validators).
Fixes #10011
6 anos atrás
Olli Tietäväinen
66e68f1ef2
Enable setting non-selected default value for DateField (#9745)
Requested feature: allow setting DateField to a certain starting point without selecting a value.
6 anos atrás
Ilia Motornyi
7b9a09edbf
Fix AbstractDateField parsing and errors handling, support locale (#9740)
Fixes #9518
Fixes #8991
Fixes #8687
6 anos atrás
Teemu Suo-Anttila
dde0f91af4
Add internal state validators for HasValue (#9532)
This also fixes/improves AbstractDateField validation.
6 anos atrás
Ilia Motornyi
9c3868e897
Add an optional HasValue to a ValueContext
6 anos atrás
Leif Åstrand
07d56a9ca0
Add a maven plugin for formatting according to Eclipse settings
Running formatter:format will format all files in a submodule using an
embedded Eclipse compiler (based on Neon SR1)
according to the regular formatting settings file.
7 anos atrás
Aleksi Hietanen
923b42e549
Include old value in ValueChangeEvent (#8229)
* Include old value in ValueChangeEvent
7 anos atrás
Denis
3ef30789d6
Refactor AbstractDateField. (#8146)
First round for #8132 .
7 anos atrás
Pekka Hyvönen
66e7b3df3d
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
7 anos atrás
Denis
5778c65bde
Don't use V8 FieldEvents classes in v7 compatibility module. (#93)
* Don't use V8 FieldEvents classes in v7 compatibility module.
Fixes vaadin/framework8-issues#363
7 anos atrás
Leif Åstrand
68ea8ea63d
Refactor listener registration creation to reduce boilerplate
Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff
7 anos atrás
Denis Anisimov
e4d132f4cb
Introduces ValidationResult interface to replace Result in validators.
Fixes vaadin/framework8-issues#414
Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
7 anos atrás
Teemu Suo-Anttila
524a69fd2d
Add ValueContext to Validators
Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
7 anos atrás
Teemu Suo-Anttila
63d218efc0
Fix setValue() methods behavior null argument value + javadocs
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
7 anos atrás
Denis Anisimov
862270140d
Update ValueChange API to use Component and HasValue<>.
Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
7 anos atrás
Denis Anisimov
d36d63fefa
Make AbstractDateField based on LocalDate (#125).
Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
7 anos atrás
Aleksi Hietanen
2bee988272
Unify listeners on the server side
This patch updates server side add*Listener methods to return
a registration object and deprecates their corresponding
remove*Listener methods.
Additionally this patch removes add/removeListener methods which were
deprecated in 7.0.
Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
7 anos atrás
Denis Anisimov
0052d59a31
Update DateRangeValidator to be LocalDate based (#320).
Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187
7 anos atrás
Denis Anisimov
d078a5d7db
Rename PopupDateField to DateField #297.
DateField becomes abstract AbstractDateField, PopupDateField becomes
DateField
Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
7 anos atrás
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 anos atrás
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 anos atrás
Denis Anisimov
87118c4b94
Derive DateField from new AbstractField (#57).
Change-Id: I5efe17253ecd28dad5a2250076246a9eb30eec62
7 anos atrás
Denis Anisimov
bb9564db42
Move old DateField components to legacy package (pre-#57).
Change-Id: I9e766be232d90aab92b5daa77351f4b0a3933f1d
7 anos atrás
Artur Signell
192e93a814
Move and rename converters into com.vaadin.legacy.data.util.converter.Legacy*
Change-Id: I75fd33e66c8c5c265bc60cce58ff639a5d5642ab
7 anos atrás
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
7 anos atrás
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
7 anos atrás
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
7 anos atrás
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 anos atrás
John Ahlroos
5e9209421c
Parse readonly values for AbstractFields correctly #18850
Change-Id: I6f7d8731d185fe1c88e861435a401d887b2defbe
8 anos atrás