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 vuotta sitten
Aleksi Hietanen
923b42e549
Include old value in ValueChangeEvent (#8229)
* Include old value in ValueChangeEvent
7 vuotta sitten
Denis
3ef30789d6
Refactor AbstractDateField. (#8146)
First round for #8132 .
7 vuotta sitten
Pekka Hyvönen
66e7b3df3d
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
7 vuotta sitten
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 vuotta sitten
Leif Åstrand
68ea8ea63d
Refactor listener registration creation to reduce boilerplate
Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff
7 vuotta sitten
Denis Anisimov
e4d132f4cb
Introduces ValidationResult interface to replace Result in validators.
Fixes vaadin/framework8-issues#414
Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
7 vuotta sitten
Teemu Suo-Anttila
524a69fd2d
Add ValueContext to Validators
Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
7 vuotta sitten
Teemu Suo-Anttila
63d218efc0
Fix setValue() methods behavior null argument value + javadocs
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
7 vuotta sitten
Denis Anisimov
862270140d
Update ValueChange API to use Component and HasValue<>.
Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
7 vuotta sitten
Denis Anisimov
d36d63fefa
Make AbstractDateField based on LocalDate (#125).
Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
7 vuotta sitten
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 vuotta sitten
Denis Anisimov
0052d59a31
Update DateRangeValidator to be LocalDate based (#320).
Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187
7 vuotta sitten
Denis Anisimov
d078a5d7db
Rename PopupDateField to DateField #297.
DateField becomes abstract AbstractDateField, PopupDateField becomes
DateField
Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
7 vuotta sitten
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 vuotta sitten
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 vuotta sitten
Denis Anisimov
87118c4b94
Derive DateField from new AbstractField (#57).
Change-Id: I5efe17253ecd28dad5a2250076246a9eb30eec62
7 vuotta sitten
Denis Anisimov
bb9564db42
Move old DateField components to legacy package (pre-#57).
Change-Id: I9e766be232d90aab92b5daa77351f4b0a3933f1d
7 vuotta sitten
Artur Signell
192e93a814
Move and rename converters into com.vaadin.legacy.data.util.converter.Legacy*
Change-Id: I75fd33e66c8c5c265bc60cce58ff639a5d5642ab
7 vuotta sitten
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
7 vuotta sitten
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
7 vuotta sitten
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
7 vuotta sitten
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 vuotta sitten
John Ahlroos
5e9209421c
Parse readonly values for AbstractFields correctly #18850
Change-Id: I6f7d8731d185fe1c88e861435a401d887b2defbe
8 vuotta sitten
Miki
a508ed7b4a
Declarative for DateFields (and related) with ISO8601 (#16313)
DesignAttributeHandler supports method names that contains some words in
uppercase
DesignAttributeHandler and other components now use extensible Formatter
with Converters rather than static methods
Change-Id: I9f68414bd4821f47ff37a26375091d154cae9a93
9 vuotta sitten
Teemu Pöntelin
02d33ca7ae
Fix NPE in DateField range handling (#15342)
The NPE was introduced by 206055708b
.
Change-Id: I34401e108f7c02ee2f0aab581a78b9ab468b2b46
9 vuotta sitten
Teemu Pöntelin
206055708b
Fix issues when using java.sql.Date as DateField range (#15342)
Change-Id: I656cc0600f929239605e17ab9cf71dc1ba96582f
9 vuotta sitten
Sauli Tähkäpää
8d6f1830a9
Assign timezone before setting initial date in DateField. (#14653)
Change-Id: I3b527084d23ee8bd49887bef3d018c1003f492e2
9 vuotta sitten
Juuso Valli
5020466294
Make Vaadin component handling proxy-friendly (#14639)
Comparisons with the ==-operator between a proxy and it's underlying
instance fail, so we should use a custom equals method instead.
Change-Id: Iaa86ae830fecbedfb1f55636e25f5affebf5aba3
9 vuotta sitten
Guillermo Alvarez
ca2c0a91bc
DateField ValueChange is now fired after flags are set (#14487)
When the UI had an invalid string the ValueChange event was fired
before setting all the flags causing an invalid isValid result when
handling ValueChange. Now the event is fired after the flags are set.
Change-Id: Ie4e6ba21edc81bf41c2c661aa27e0ace71e1bef0
9 vuotta sitten
Teemu Pöntelin
8233b1c7bf
Moved initialization of a static map to the static initialization block (#12270)
Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7
10 vuotta sitten
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 vuotta sitten
Johannes Dahlström
62c63a6a6d
Only add DateRangeValidator to DateField if start or end of range is set (#12193)
Change-Id: I9138a5607c1ff20f3aa7be49270f683e732ee195
11 vuotta sitten
Leif Åstrand
220b1150ca
Global code clean up
Change-Id: I380d6afbc6b30d817ea6cca3d6b4634ab12522b1
11 vuotta sitten
John Ahlroos
0f7af13adf
Fixed date reset when calendar is first initialized #11387
Change-Id: I48a839cceeab3cfc6722657eac8681a8766ab396
11 vuotta sitten
johan
309e3de915
Implement range for date field (#6241)
Change-Id: I34458f676fede39e1992316cbed8d62193ce8509
11 vuotta sitten
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 vuotta sitten
Artur Signell
ce282b2b4e
Unified deprecation messages
Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
11 vuotta sitten
Johannes Dahlström
602b6903a6
Move LegacyComponent from com.vaadin.server to com.vaadin.ui
Change-Id: I482517e6f83dfed2654476f928bb7bb01c9de202
11 vuotta sitten
Pekka Hyvönen
0f5284bb82
Constants -> enums (#9072)
Patch from Pekka with minor changes (ButtonCode -> MouseButton, FilteringMode -> ComboBox)
11 vuotta sitten
Leif Åstrand
7d25670284
Reformat project
11 vuotta sitten
Petri Heinonen
f32d6ab1db
refak listeners com.vaadin.ui
11 vuotta sitten
Johannes Dahlström
fadb44821a
Rename Vaadin6Component to LegacyComponent (#9434)
11 vuotta sitten
Artur Signell
e18177bac6
Renamed com.vaadin.terminal -> com.vaadin.server (#9431)
11 vuotta sitten
Leif Åstrand
bc6786f0dc
Rename requestRepaint to markAsDirty (#9378)
Also remove some requestRepaint calls that are no longer needed (#9325 )
11 vuotta sitten
Johannes Dahlström
b02028c90b
Add "As of 7.0" to relevant @deprecated tags
11 vuotta sitten
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
11 vuotta sitten
Artur Signell
054c4a16f5
Removed more @version included in some files but not in all (#9299)
11 vuotta sitten
Artur Signell
6855529f1d
Removed @version which is included in some files but not in all (#9299)
11 vuotta sitten
Artur Signell
acf099b41f
Eliminated dependencies from server to client (#9279)
11 vuotta sitten