Teemu Suo-Anttila
fbb55ac4fd
Clean up old Grid selection models
This patch removes old Grid selection model APIs
in favor of the new common SelectionModel API.
Change-Id: Iab8f2921930a575012c7da6226811d14a7145271
7 years ago
Artur Signell
504b3c4c65
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
7 years ago
Teemu Suo-Anttila
dcf64cd936
Clean up unused parts of old shared Grid classes
Change-Id: I4de92909afd74031647e9166a44362918269e57f
7 years ago
Teemu Suo-Anttila
6d0204cafe
Add simple data change handling for Selects
Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab
7 years ago
Johannes Dahlström
277b1a5c28
Implement SingleSelection on client and server
Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167
7 years ago
Artur Signell
b31a71ae63
Move and duplicate client side and state to compatibility package
* ProgressBar
* ProgressIndicator
* OptionGroup
* Table
* Tree
* TreeTable
Change-Id: Ie1249631cbdd2721f2c3a36e1b8ffc8160fca6aa
7 years ago
Artur Signell
b965c256e8
Move and duplicate client side and state to compatibility package
* Calendar
* CheckBox
* CustomField
* Label
* RichTextArea
* TextField
* TextArea
Change-Id: Iba8915195e4d205fb4db9a4df5d96a4a10ab2f96
7 years ago
Artur Signell
d13ca5506a
Implement new Label
Label does intentionally not implement HasValue as it
cannot provide a value to a model
Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
7 years ago
Aleksi Hietanen
0c8f57d60a
Implement new ProgressBar
Change-Id: Ie5c4b0f4d9bc65e484f08832343ba97fff61a9b6
7 years ago
Aleksi Hietanen
4a6a632b1f
Update TextArea to extend AbstractFieldNew (#53)
Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
8 years ago
Henri Sara
71a2653431
Move ComboBox shared classes to vaadin-compatibility-shared
Change-Id: Icdb0ddc011e8749f4c3f159d2ecd94e4c564d28f
7 years ago
Artur Signell
983a4e3417
Use RPC for TextField cursor position and selection range updates
Change-Id: I48595a1d1a9a1620739d00a499d996026bd51000
7 years ago
Artur Signell
848b877d47
Cleanup of TextField
Change-Id: Ia596f58bb0c44e2d70ccf2c0add95d86b33afdcb
7 years ago
Teemu Suo-Anttila
082929fbdf
Allow multiple data change handlers in client-side data sources
This patch moves Registration to shared so it can be used in
both client and server
Change-Id: I16757f70beb474403903bbcf92c7f850aed68b88
7 years ago
Teemu Suo-Anttila
87e0a08b60
Add a typed version of the Grid component
Change-Id: I00cbe80ac72787de0c4cc88e1c223badc2c4ae89
7 years ago
Artur Signell
be6a0cfd84
Organize imports
Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
7 years ago
Artur Signell
a836efc40c
Define common test dependencies in the main pom file
Change-Id: I7d5897384f1172befbc852e27a7372104e7820da
7 years ago
Artur Signell
e10ec4ca0d
Define dependency version in the main pom file
Change-Id: Id603133355b1cb398bcb880e693dd3c8276f7937
7 years ago
Artur Signell
f3c880194b
Rename legacy packages to v7
Change-Id: I53f3bd49c234a8d126887f6effa83a3c5c92b4e0
7 years ago
Teemu Suo-Anttila
52dc5e4f1c
Add DataCommunicator for data communication of Listings
Change-Id: I1f50823fdef105c3ba0463011574908a0cec7ad9
7 years ago
Artur Signell
fc15f16674
Mark IE8-IE10 as not supported
Change-Id: I4fdb3290c6ac95e4e2c6ac210e6f6b2f06cfe32a
7 years ago
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 years ago
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Artur Signell
9661839707
Remove Form and FormFieldFactory
Form was deprecated in Vaadin 7 when FieldGroup was introduced.
In Vaadin 8, FieldGroup is deprecated in favor of Binder. Having three
different "forms" would be very confusing.
Change-Id: I17775c922940edc5df7dd5bdc80bfe9652588270
7 years ago
Aleksi Hietanen
a5575a9252
Update TextField to extend AbstractFieldNew (#51)
- Changes input prompt to be based on the placeholder attribute.
- Unifies TextChangeEvents with ValueChangeEvents.
- add*Listener methods now return Registration objects, remove*Listener methods removed.
Change-Id: Ie92506ae9db205bb0010ae9126c608c62ad023ff
8 years ago
Artur Signell
36121120bb
Make OSGi work again
* Specify correct (Java 8) execution environment for OSGi
* Accept any servlet 3 version
Change-Id: I170d4577218e773bc17c14342bc7f93572932fcc
7 years ago
Artur Signell
d638d8138b
Make vaadin-shared Import-Package empty as it should be
Change-Id: Icccc655b975558e859b961c4eed0f24fdc86b34c
7 years ago
Artur Signell
f81309d3f1
Fix OSGi manifest for vaadin-shared
The shared package seems to no longer use any
flute or streamhtmlparser classes
Change-Id: I63c9bd0340f438b05da4799982b3f3c89c85a5f8
7 years ago
Artur Signell
2863eada41
Update to GWT 2.8.0-rc2
Uses upstream com.google GWT instead of com.vaadin.external.gwt
Change-Id: Id1c4391d167463082cf252e713d72ccd5f2d2303
7 years ago
Henri Sara
6b8545841e
Move multi-select mode to AbstractSelectState
This change does not affect Table and Tree which use multiple modes.
Change-Id: Ib93a088e88474301eb199988f941563566e6bcc5
8 years ago
Henri Sara
8b8752c520
Use shared state for OptionGroup htmlContentAllowed
Change-Id: I626165e19a1b634bd27b2e25efab88066552b190
8 years ago
Henri Sara
86e987f293
Moved ComboBox suggestion popup width to shared state
Change-Id: Ifdadc24ff922761eb78c4e5168f0e83fbf47108a
8 years ago
Henri Sara
37e0969729
Request ComboBox pages with RPC (#19929)
All client to server communication of ComboBox is now done
with RPC.
There is still an empty changeVariables() methods to
override the default behavior in AbstractSelect.
Change-Id: I718eeabd5c116ec4e00485ed37a0a6d5389ee1f0
8 years ago
Henri Sara
6d493408ed
Move ComboBox filtering mode to state (#19929)
Change-Id: I7eaf2dae59133745d6a7c686503625f1f5216c52
8 years ago
Henri Sara
9142256e85
Move ComboBox pageLength to state (#19929)
Use shared state for the page length and update related tests.
This change also removes an unused widget field.
Change-Id: I22055ea058029f898af952252a0c3dadcd9476d4
8 years ago
Henri Sara
06e0a6567b
Send ComboBox selection with RPC (#19929)
Send the selection from the client to the server with RPC.
Change-Id: I67e4e526f59550e83d9400729adf91e2b4bbb806
8 years ago
Henri Sara
9207d3f344
Create new items with RPC (#19929)
When the user creates a new item, send it with client to
server RPC.
Change-Id: Iaf60fc910d4e8b57b681b4cf13f124871c1a01b0
8 years ago
Henri Sara
9428b12cb4
Create ComboBoxServerRpc stub (#19229)
Create an empty client to server RPC implementation for ComboBox.
Change-Id: I1ccce4875682b8ba2541acdc42d361edb30ca458
8 years ago
Henri Sara
0e1a271cc5
Use shared state in ComboBox (#19229)
This change uses shared state for the read-only flag, text
input allowed flag and input prompt.
Change-Id: If770a3d9be96d10c3a19654b398bc2f5ddfb7e67
8 years ago
Teemu Suo-Anttila
3abd26bf5a
Update version number, use Java 8
Change-Id: Icb36a9c019ba086cdcdece2497c2120ea6bafb7a
8 years ago
Sampsa Sohlman
498599fa9b
Fix the OSGi version at MANIFEST.MF so it does not contain -SNAPSHOT
Change-Id: Iad1f7c9fbff6ded1ce85536788a0b86135ecfbad
8 years ago
Anna Koskinen
edad7348bb
Updates to Grid's height handling (#19690).
- new height more for undefined height that works like in Table and
resizes the grid when details row opens or closes
Change-Id: I2dc817140308093865be30de72edcd6494e4a44b
8 years ago
Ingo Kegel
c0babd786c
New login form (#8171)
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Change-Id: I2178291c97c2f66840f832a0bf932271534beb49
9 years ago
Teemu Suo-Anttila
fb63a60cc4
Use gwt-user and gwt-dev dependencies in client and compiler
This removes GWT dependency from the server and shared parts of the
framework
Change-Id: Iafbb752c0184611a18d4a9d61c9e03229d42836e
8 years ago
Artur Signell
5b18c5469e
Send an ack message after push has removed connectors (#19822)
The server side needs to know the client has removed the connectors to
be able to do cleanup
Change-Id: Ic3d41cc5cbab035a53bf5c99496d74858c376e73
8 years ago
Artur Signell
25e824aea4
Correctly detect PhantomJS 2.1
Change-Id: I9b1df949b831b84aa05bf611b0128eb2414bbbae
8 years ago
Teemu Suo-Anttila
47eac3cd46
Workaround Version class to work with 7.7-SNAPSHOT
Change-Id: Iedc4f4a5869421ec465c9b169882897dd06e5eab
8 years ago
patrik
107c1b84d4
Deprecate public bitmask methods in MarginInfo (#17565)
These methods are superceded by a copy constructor. getBitMask() and the
bitmask constructor are used in a few places around the framework, and
need to be refactored out - the MarginInfo class is already serializable
and can be used in lieu of the raw bitmask in the states of these
objects.
Change-Id: I39a6c25f03f3a2666c057ede99e8df54f5c57958
8 years ago
Artur Signell
7d2d091ecb
Eliminate rounding errors for GridLayout expand ratios (#19797)
Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
8 years ago