Commit Graph

2293 Commits

Author SHA1 Message Date
Henri Sara
dc2fb2df18 Fix ComboBox highlight width on IE8/9 (#19889)
This fixes an issue caused by the fix for #19658.

Change-Id: I688275b0c39af723500bc0f7d0c87799698c90e7
2016-07-13 18:52:04 +03:00
adam
6a29505e5b Fixing ComboBox page flip on trackpad scroll (#19704)
Trackpad scroll gesture produces a large amount of wheel events causing
the same amount of flips on ComboBox. This fix tries to control page flips
in a way that it would feel more natural to use it.

Change-Id: I3ed206a5abe8c3ba8c06a5998f788468157663f1
2016-07-13 18:52:03 +03:00
Anna Koskinen
f5f45293b9 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
2016-07-13 18:52:03 +03:00
Teemu Suo-Anttila
bf86584c91 Move shared classes to a temporary subpackage
Change-Id: I50079477ed8424ee8263a403a5446897717b2ff5
2016-07-13 07:54:00 +00:00
Teemu Suo-Anttila
4f6cdc327b Fix dropped key clean up in DataCommunicatorConnector
Change-Id: Ia6c3307c2ae4128af622d2e7bccf1dcdda080671
2016-07-12 10:39:30 +00:00
Teemu Suo-Anttila
ec5ddab8e9 Rename data communication class to DataCommunicator
Change-Id: Id44af8373737734dac1149689f0e37bdfd3795d9
2016-07-12 10:39:30 +00:00
Teemu Suo-Anttila
f38ed6f52b Clean up NativeSelectConnector update logic
Change-Id: If51361384a02c91708058bad1ad106161ee71b1a
2016-07-11 13:04:35 +03:00
Teemu Suo-Anttila
f3555bdbea Use a lazy-loading compatible client-side data source with listings
This patch simplifies DataProviders to only have one server-side
implementation. DataSource is now returning Stream of beans instead of
Iterator. For now DataSource is required to provide a size.

Change-Id: I717de46d681ab08ae7e0b6c811ca1eee7ebb225b
2016-07-11 13:01:08 +03:00
Teemu Suo-Anttila
aa3196b8ee Move new files under temporary package names
Change-Id: I79b456f49c81b5709bece92b8735d4a5e223174d
2016-07-11 10:57:48 +03:00
elmot
662ef441a2 Fix for checkbox read-only (#19971)
Change-Id: I21b5e61a352be2cfd978f19b7d54648b58d55c36
2016-06-21 14:04:01 +03:00
elmot
7527614542 Fix typos in Javadoc; Optimize imports; Minor change for code style
Change-Id: I9f545e85274c41ca96ef682c60420eb23095c3e8
2016-06-21 09:27:34 +03:00
Teemu Suo-Anttila
a72aec6c20 Fix null as a SelectionModel
Provides methods for cleaning up selection models.

Change-Id: Ifd1db68ba8cd6e75942a3f700e608ee0d2dfcd15
2016-06-17 15:37:30 +03:00
Teemu Suo-Anttila
2a1b5b608e Implement a new DateField based on LocalDate
Change-Id: I342a0ebd8562b2c0ab4deb3ed918ebfe9ee2f932
2016-06-17 12:48:31 +03:00
Teemu Suo-Anttila
3bafddcc45 Implement a new typed Grid
Change-Id: I619558d4367ffaa77f3509c6a9203cada638f57a
2016-06-16 11:48:21 +03:00
Johannes Dahlström
619e69e548 Implement new TextField
Change-Id: Ia2d357b77842bef188ae1f2a25e4a6a1c0a86dd0
2016-06-16 01:03:37 +03:00
Teemu Suo-Anttila
0dd799f75e Implement a new typed CheckBox
Change-Id: I54030ad525e998f7533f4bb25b3e77c33791b145
2016-06-15 23:33:29 +03:00
Teemu Suo-Anttila
2a56290857 Use DataProviderConstants for communication
Change-Id: Ic51fd70229991838f5da449a3db467ea41a663ea
2016-06-15 18:45:17 +03:00
Teemu Suo-Anttila
7d31b7132f Add server to client communication to selection model
Change-Id: Iad3f8c6a5c1b30aebc01ce859d828153db91f596
2016-06-15 17:50:12 +03:00
Teemu Suo-Anttila
755c893008 Add typed NativeSelect and SelectionModel functionality
Change-Id: I3d65d02c34aa6ff0281cae36cfdd8b1166292d7f
2016-06-15 17:42:21 +03:00
Teemu Suo-Anttila
fc96cea89e Add a DataProvider implementation
Change-Id: I8fba190a905a4dac6bfef5693064218672e23ba4
2016-06-15 17:42:11 +03:00
Teemu Suo-Anttila
316191fbe3 Update version number, use Java 8
Change-Id: Icb36a9c019ba086cdcdece2497c2120ea6bafb7a
2016-06-15 17:07:38 +03:00
adam
5ce9d387a1 Fixing messed up column in Grid after hide, resize and show (#19826)
When resizing a column in Grid, widths of all columns without 
a fixed width (-1) are set to their actual width. This is 0 when 
the column is hidden.

Change-Id: If50e71c748cd0674f44d9e51777518eb48b42c5c
2016-06-07 08:22:14 +00:00
Henri Sara
894d70662a Add missing @since 7.7
Change-Id: Id9f1dbc991c1dcb2c2d3817d9d958485db6269bc
2016-06-01 13:51:40 +03:00
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
2016-06-01 13:32:57 +03:00
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
2016-06-01 10:59:24 +03:00
Jonni Nakari
68784363dc Suggestion pop-up width API for ComboBox (#19685)
Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now
has three different width modes:

1. Legacy "null"-mode: width is determined by the longest item
caption for each page. This looks & feels like the old implementation.
This is the default mode

2. Relative to the ComboBox. e.g. 100%

3. fixed width using any CSS definition
Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
2016-05-31 13:02:42 +00:00
Henri Sara
ee5584d49f Update missing @since for 7.7
Change-Id: I9c35e50fd4b56c6b70a4194526cbbbe7870add6e
2016-05-30 11:37:29 +03:00
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
2016-05-27 10:03:17 +00:00
Artur Signell
25e824aea4 Correctly detect PhantomJS 2.1
Change-Id: I9b1df949b831b84aa05bf611b0128eb2414bbbae
2016-05-22 10:24:02 +03:00
Denis Anisimov
fdab4ee8b3 Notify server side component about clicks in form layout (#6346).
Change-Id: Ia14a50aba17689b580bb265c9693c3ae503fee34
2016-05-19 09:37:26 +00:00
Artur Signell
809440a8a2 Change GridLayout to no longer be a legacy component
Change-Id: I9d5c135dbfbe108c17fea6334966d4df09ac61ca
2016-05-16 10:45:39 +00:00
Anna Koskinen
1a9fc1e00b Tooltip might not close when moving outside of UI (#13370)
Change-Id: Iee39b7251af20ff25cf220e91f1b3c123345f711
2016-05-16 10:03:28 +00:00
Artur Signell
7d2d091ecb Eliminate rounding errors for GridLayout expand ratios (#19797)
Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
2016-05-16 09:51:09 +00:00
Sauli Tähkäpää
7f3481b7a6 Disable multiselect checkboxes when Grid is disabled. (#18560)
Change-Id: Ief0531fe90b9bc8bcf0a60132211a0633b9401d4
2016-05-13 12:21:46 +00:00
Pontus Boström
dfcc4949ca Fixed tooltips for sub-windows (#19073)
The subwindows tooltip is now also shown in header and footer of the
subwindow. Added also tests for the feature.

Change-Id: I933dad9e8530ce20b930fe22caf9e79a3ad3e3d2
2016-05-12 07:05:33 +00:00
Leif Åstrand
19ad71e9e2 Avoid rebuilding VListSelect DOM for each round trip (#14765)
Change-Id: Iebcea0fd80eb9c1e0f14357fa09a264db5f1ee06
2016-05-11 11:28:42 +00:00
Denis Anisimov
5d6f189e32 Always close expanded top level menu item on click (#14568).
Change-Id: I04b0b64fd9054b7284efa59a8c56d8a64616ca7b
2016-05-11 10:48:48 +00:00
Teemu Pöntelin
aa2cdc96ec Always return cursor position 0 when displaying input prompt (#19766)
Change-Id: Ibca58259a0bbcda7141b996020bae8614f0c2114
2016-05-11 10:02:30 +00:00
Anna Koskinen
e5765f1e53 Handle touch events in Window (#18042)
- fixes dragging not working from Window header

Change-Id: I9a35926abf43208c4bab0ae4b6dbc29bac17ba7b
2016-05-09 10:25:09 +00:00
Henri Sara
bac444d877 Update @since for 7.6.6
Change-Id: I633537c643c27fea64c4e55204ed54c64c39aa04
2016-05-06 13:47:26 +03:00
Leif Åstrand
e3de7b43bb Add javadocs for onConnectorHierarchyChange
Change-Id: Ibd177fc41d83c5d9fa6adc2c117a9cab4bf670df
2016-05-04 13:53:32 +03:00
Artur Signell
034b61de03 Take body scrolling into account when deciding combobox popup position (#19162)
For standard standalone Vaadin apps, the body scroll is not scrollable. For
these this change should have no effect.

In embedded cases and when running as portlet, the body is scrollable. For
these cases, the popup is now correctly shown below the combo box when
there is space.

Change-Id: Ia183f4f2988e6593634f6e9735fd58abbd4a1da1
2016-05-02 12:44:00 +00:00
Artur Signell
e5addd7eb2 Fix IE focus fix which has been broken since 7.0.0 (#7965)
Change-Id: Ia0aee645ed3b0ba6de33a6a2ce9f8bde9b84f44f
2016-04-28 15:33:55 +00:00
Artur Signell
0b0495b6d8 Restrict grid sidebar size to visible viewport (#19349)
Change-Id: I75b7c662251de53b46e045d17d3cac650586acd2
2016-04-28 15:18:45 +00:00
Artur Signell
ab30dfe29d Scroll selected tab into view (#3899)
Change-Id: I4e86caa4ad02dfc5d0eaa33b85f67da3837fcea0
2016-04-28 15:18:39 +00:00
Artur Signell
9006dbdf5a Use the correct window height when comparing to browser window height (#19590)
Change-Id: I7fdecab93fa6730e63e3ba7f0df3a67f3020c19c
2016-04-28 15:18:36 +00:00
Artur Signell
c9b1df6d5e Double check table focus in IE (#19676)
Change-Id: I46d95e0b198dd4594e5c84dda9b6c462d4a7bf51
2016-04-28 15:18:34 +00:00
Artur Signell
6b9d5161da Take transition into account for Window layout (#15192, #19525, #19415)
Change-Id: I33bbbac39bff97330b166e1c608b702fe6e527d7
2016-04-28 15:18:31 +00:00
elmot
4410535d9a Move checkstyles plugin to actual modules
Change-Id: I2d87a1aeba8ffc8cc15909c32a0c9d10b3ada9a7
2016-04-27 14:09:56 +03:00
Henri Sara
6a89c2fae3 Check Java 1.6 compatibility
Ensure that server side classes are compatible with Java 1.6.

Change-Id: I464096bbb316769a4c2fede55d7bcb11ce61e4f0
2016-04-25 09:19:12 +00:00