]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoUpdated link to new step 1 video in tutorial (the new video uses Vaadin 7.7 series)
Alejandro Duarte [Wed, 21 Sep 2016 11:42:24 +0000 (14:42 +0300)]
Updated link to new step 1 video in tutorial (the new video uses Vaadin 7.7 series)

Change-Id: Ic40b70e692e686d638e163a224816aabeb6de100

8 years agoMake CheckBoxGroup.SimpleMultiSelectModel return a selection copy #293.
Denis Anisimov [Fri, 16 Sep 2016 18:57:40 +0000 (21:57 +0300)]
Make CheckBoxGroup.SimpleMultiSelectModel return a selection copy #293.

getSelectedItems() must return a copy to fulfill the contract specified
in SelectionModel: it must be a snapshot of the current state and safe
to iterate over while changing selection.

Change-Id: Ie2f15eb626dd80df2036bcb2d4e9387fc31389c9

8 years agoAvoid explicit casting to getter return type in getDescriptor() (#292).
Denis Anisimov [Fri, 16 Sep 2016 14:09:44 +0000 (17:09 +0300)]
Avoid explicit casting to getter return type in getDescriptor() (#292).

BeanBinder may throw a ClassCastException in some cases because of
explicit "cast" call which doesn't do boxing/unboxing.

Change-Id: I8fc61612c2912f2626c075a4fc19cb812adf8aa2

8 years agoMove ItemIconProvider out of ComboBox, rename to IconGenerator
Aleksi Hietanen [Thu, 15 Sep 2016 11:07:18 +0000 (14:07 +0300)]
Move ItemIconProvider out of ComboBox, rename to IconGenerator

Change-Id: I884a52c75b3be5573cf6634f211d72d09de69d80

8 years agoReintroduce grid column hiding
Aleksi Hietanen [Mon, 19 Sep 2016 14:01:20 +0000 (17:01 +0300)]
Reintroduce grid column hiding

Change-Id: I8a0344dffe3f2ef84f8134e05d9b7340d9b603a0

8 years agoMove ItemCaptionProvider out of ComboBox (#184).
Denis Anisimov [Thu, 15 Sep 2016 06:02:56 +0000 (09:02 +0300)]
Move ItemCaptionProvider out of ComboBox (#184).

Change-Id: I7dc98de04127c7495aed81b9e0cd2be8cb12b10c

8 years agoTests that selection works when enabled and doesn't when disabled (#291)
Denis Anisimov [Mon, 19 Sep 2016 12:25:33 +0000 (15:25 +0300)]
Tests that selection works when enabled and doesn't when disabled (#291)

Change-Id: Ic0e198645ea039f9bd8a87c8242358e47530c856

8 years agoUpdate to TestBench 4.1.0
Artur Signell [Mon, 12 Sep 2016 10:34:07 +0000 (13:34 +0300)]
Update to TestBench 4.1.0

Some element methods have been integrated into TestBench and are removed from the
framework element classes

Change-Id: I35c8bf272b7603127816595de8145e68500e22e5

8 years agoOverride forSelect methods for BeanBinder to return narrowed type.
Denis Anisimov [Mon, 19 Sep 2016 07:46:20 +0000 (10:46 +0300)]
Override forSelect methods for BeanBinder to return narrowed type.

Change-Id: Ib97117d8d0b450edc49309902df535361e901942

8 years agoMove ItemStyleProvider out of ComboBox and unify with Grid
Aleksi Hietanen [Thu, 15 Sep 2016 06:51:22 +0000 (09:51 +0300)]
Move ItemStyleProvider out of ComboBox and unify with Grid

Change-Id: Ic49fdbf651e9e3ef4ffd6944de597c2fd2f185da

8 years agoTest and fix a CheckBoxGroup icon provider and item enabled provider
elmot [Wed, 14 Sep 2016 09:13:14 +0000 (12:13 +0300)]
Test and fix a CheckBoxGroup icon provider and item enabled provider

Change-Id: Ia3ed99478d19efc041cc4adaabd856ee69f3531b

8 years agoCreate a RadioButtonGroup that replaces the single select case of OptionGroup
elmot [Wed, 14 Sep 2016 14:48:50 +0000 (17:48 +0300)]
Create a RadioButtonGroup that replaces the single select case of OptionGroup

Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8

8 years agoAdded Slider into compatibility package
Pekka Hyvönen [Fri, 16 Sep 2016 05:43:42 +0000 (08:43 +0300)]
Added Slider into compatibility package

Change-Id: Icc4cfc64c0d0bf9993b138eec15a8a73cb0be2f0

8 years agoFix regression that broke widget set compilation in 7.7.1 (#20285)
Ingo Kegel [Fri, 16 Sep 2016 09:27:21 +0000 (11:27 +0200)]
Fix regression that broke widget set compilation in 7.7.1 (#20285)

The fix for

https://dev.vaadin.com/ticket/20262

broke widget set compilation on Windows, possibly only under certain circumstances

Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2

8 years agoRemove grid-gwt and parking from tested demos
Teemu Suo-Anttila [Thu, 15 Sep 2016 10:36:39 +0000 (13:36 +0300)]
Remove grid-gwt and parking from tested demos

Change-Id: I0a34471073961cb5090e43aade8e2732de522a1d

8 years agoFix AbstractTextFieldConnector super class
Artur Signell [Thu, 15 Sep 2016 09:09:41 +0000 (12:09 +0300)]
Fix AbstractTextFieldConnector super class

This makes field level features work correctly with
TextField/PasswordField/TextArea

Change-Id: I10c9fff10fdcf300e1e3a1940c97260ace849a81

8 years agoAdd CheckBoxRenderer
Aleksi Hietanen [Thu, 8 Sep 2016 08:22:15 +0000 (11:22 +0300)]
Add CheckBoxRenderer

Change-Id: I32d31d758ee3c313133c7b122bb3ea8dcfcc1cc3

8 years agoRemove broken changelog section for release notes and related code 8.0.0.alpha2
Artur Signell [Wed, 14 Sep 2016 18:37:29 +0000 (21:37 +0300)]
Remove broken changelog section for release notes and related code

Change-Id: I1e35dcbe4f75cb8b21a7c2a78143556522f32363

8 years agoUpdate @since tags for 8.0
Henri Sara [Wed, 14 Sep 2016 13:53:22 +0000 (16:53 +0300)]
Update @since tags for 8.0

Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2

8 years agoImplement support for binding multi-select components
Leif Åstrand [Wed, 14 Sep 2016 10:24:28 +0000 (13:24 +0300)]
Implement support for binding multi-select components

Also updates ComponentTest.getRpcProxy to use an approach that doesn't
require the component to be attached to a UI.

Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76

8 years agoSelection should be updated each time when new data is set (#244).
Denis Anisimov [Wed, 14 Sep 2016 08:33:57 +0000 (11:33 +0300)]
Selection should be updated each time when new data is set (#244).

There is no order in two actions: set data source and selection. So
selection should always be saved to update the index once data is set.

Change-Id: I074d99adb1f11bf29ebaef50979d4cacda5cd1e4

8 years agoDataSource.refreshAll() for notifying components to reload (#233).
Denis Anisimov [Mon, 12 Sep 2016 13:52:13 +0000 (16:52 +0300)]
DataSource.refreshAll() for notifying components to reload (#233).

The method refreshAll() fires an event which is handled by UI components
to reload their content.

Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa

8 years agoUse state for ComboBox selection
Henri Sara [Tue, 13 Sep 2016 10:29:00 +0000 (13:29 +0300)]
Use state for ComboBox selection

Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41

8 years agoConvert ComboBox to inherit AbstractSingleSelect
Henri Sara [Tue, 13 Sep 2016 09:58:48 +0000 (12:58 +0300)]
Convert ComboBox to inherit AbstractSingleSelect

ComboBoxState now inherits AbstractSingleSelectState, but still
effectively communicates its selection via RPC.

Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157

8 years agoImplement support for binding single-select components
Johannes Dahlström [Tue, 13 Sep 2016 13:48:39 +0000 (16:48 +0300)]
Implement support for binding single-select components

Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329

8 years agoSplit Binder tests roughly by category
Johannes Dahlström [Tue, 13 Sep 2016 13:14:51 +0000 (16:14 +0300)]
Split Binder tests roughly by category

Change-Id: I7c1a55bd68097819e8091533df7232271af689c3

8 years agoAdd multi selection support to CheckBoxGroup
Leif Åstrand [Tue, 13 Sep 2016 09:31:08 +0000 (12:31 +0300)]
Add multi selection support to CheckBoxGroup

This patch adds multi selection support only for CheckBoxGroup without
even trying to generalize anything. Adopting the concepts to work with
other components will be done separately.

Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54

8 years agoUtility functions for helping to use elemental.json with Java 8
Artur Signell [Tue, 13 Sep 2016 18:47:03 +0000 (21:47 +0300)]
Utility functions for helping to use elemental.json with Java 8

Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb

8 years agoCreate a CheckBoxGroup that replaces the multi select case of OptionGroup
elmot [Mon, 12 Sep 2016 14:58:38 +0000 (17:58 +0300)]
Create a CheckBoxGroup that replaces the multi select case of OptionGroup

Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1

8 years agoFix invalid javadoc in ListDataSource
Pekka Hyvönen [Tue, 13 Sep 2016 12:44:40 +0000 (15:44 +0300)]
Fix invalid javadoc in ListDataSource

Change-Id: I71e808554d10657ead61271c1c5cc76981214ee3

8 years agoFix binder.load to reset validation status in the end
Pekka Hyvönen [Tue, 13 Sep 2016 12:14:04 +0000 (15:14 +0300)]
Fix binder.load to reset validation status in the end

Otherwise any validation triggered by field value changes listeners
would cause errors to be visible after loading a new bean.

Change-Id: I741529f491ae6b36ff2a9aa4326c394cc12fb320

8 years agoFix inconsistent API naming in Binder and remove unused handler
Pekka Hyvönen [Tue, 13 Sep 2016 08:12:00 +0000 (11:12 +0300)]
Fix inconsistent API naming in Binder and remove unused handler

Mostly based on comments on a previous patch that was merged.

Change-Id: I146995853b3318d89061f1d06ab4bbd859168661

8 years agoMake ComboBoxConnector extend AbstractListingConnector
Henri Sara [Tue, 13 Sep 2016 09:29:26 +0000 (12:29 +0300)]
Make ComboBoxConnector extend AbstractListingConnector

Change-Id: I146b13d99b77beb2cf99019c5878b26f61b69b6c

8 years agoRemove unused state flag in AbstractFieldState
Henri Sara [Tue, 13 Sep 2016 08:27:55 +0000 (11:27 +0300)]
Remove unused state flag in AbstractFieldState

Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a

8 years agoClear binder errors after load/bind
Pekka Hyvönen [Mon, 12 Sep 2016 09:37:12 +0000 (12:37 +0300)]
Clear binder errors after load/bind

Adds an unresolved validation status to make it possible to clear
visible field validation errors, even if status is not yet valid.

Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2

8 years agoAdd context event support to new Grid
Artur Signell [Mon, 12 Sep 2016 19:29:25 +0000 (22:29 +0300)]
Add context event support to new Grid

Change-Id: I21c5bb95feb3dbab1b543943adc0584aa8eec87b

8 years agoChange ColorPicker to use new ComboBox
Artur Signell [Mon, 12 Sep 2016 13:36:45 +0000 (16:36 +0300)]
Change ColorPicker to use new ComboBox

ColorPicker is moved back to vaadin-server now that it no
longer requires any old components

Change-Id: Iebb34cc0724a4bba6eff53073400e803d9ffddd1

8 years agoRemove Vaadin 6 DefaultWidgetSet
Artur Signell [Mon, 12 Sep 2016 20:45:21 +0000 (23:45 +0300)]
Remove Vaadin 6 DefaultWidgetSet

Change-Id: I41a509c5a1dbb4388f11517dd62894ad2713f9aa

8 years agoRefactor Binder Status Handling API
Pekka Hyvönen [Mon, 12 Sep 2016 09:05:19 +0000 (12:05 +0300)]
Refactor Binder Status Handling API

BinderStatusHandler is now triggered only once per validation.
Unified ValidationError and BinderResult into BinderValidationStatus.
Renamed ValidationStatusChangeEvent into ValidationStatus.
Unified handler names for validation status.

Next patch will fix resetting of field errors on reset.

Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0

8 years agoExtract single select stuff to its own test UI
Leif Åstrand [Mon, 12 Sep 2016 12:04:02 +0000 (15:04 +0300)]
Extract single select stuff to its own test UI

Change-Id: I12e42e91ea6e82fb8d5b8ce9a23dd8600c467056

8 years agoMerge update and migration section of release notes
Artur Signell [Mon, 12 Sep 2016 11:07:01 +0000 (14:07 +0300)]
Merge update and migration section of release notes

Also fixes some typos and outdated information

Change-Id: Ic2f1f33b84ad3cb658ee9f4228444c35489e72ef

8 years agoSupport finding components in v7 packages with ComponentLocator
Teemu Suo-Anttila [Mon, 12 Sep 2016 09:43:01 +0000 (12:43 +0300)]
Support finding components in v7 packages with ComponentLocator

Change-Id: I60eabf3b1c6363be505a2d21f7ed439c5357f61f

8 years agoFix indices in GridSortingTest
Teemu Suo-Anttila [Mon, 12 Sep 2016 10:45:12 +0000 (13:45 +0300)]
Fix indices in GridSortingTest

Change-Id: I0540452fcabb37b12549ac5c0b2502f9eacc827b

8 years agoUpdate ComboBox for new DataSource and communication mechanism
Henri Sara [Thu, 25 Aug 2016 09:57:37 +0000 (12:57 +0300)]
Update ComboBox for new DataSource and communication mechanism

This simplifies the client side state machine.

This change does not modify the CSS class name v-filterselect.

Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342

8 years agoAdd hasChanges to Binder
Aleksi Hietanen [Fri, 9 Sep 2016 12:11:21 +0000 (15:11 +0300)]
Add hasChanges to Binder

Change-Id: Id308bd9b08973804e61706192c96118fd6446d3f

8 years agoAdd selection support to NativeSelect
Johannes Dahlström [Thu, 8 Sep 2016 19:49:54 +0000 (22:49 +0300)]
Add selection support to NativeSelect

Change-Id: Iabe563852150a7d690f6e2edaa40253d03127881

8 years agoUpdate NativeSelect to use DataSource, extend AbstractListing
Johannes Dahlström [Thu, 8 Sep 2016 19:16:08 +0000 (22:16 +0300)]
Update NativeSelect to use DataSource, extend AbstractListing

Selection and focus/blur support not yet implemented.

Change-Id: I76752084442216e60055d93367475c1c0a612787

8 years agoMove old NativeSelect UI tests to compatibility package
Johannes Dahlström [Thu, 8 Sep 2016 19:10:31 +0000 (22:10 +0300)]
Move old NativeSelect UI tests to compatibility package

Change-Id: I7d426de488747ce323e732f7ad45d30712fc6d61

8 years agoRemove unused SingleSelection
Johannes Dahlström [Thu, 8 Sep 2016 18:28:07 +0000 (21:28 +0300)]
Remove unused SingleSelection

Change-Id: I33afc94a581d77984f459b0cbd0ff7fe49df8e79

8 years agoUse fully qualified name for bundles
Artur Signell [Sat, 10 Sep 2016 20:20:36 +0000 (23:20 +0300)]
Use fully qualified name for bundles

Fixes problem with two LAZY connectors not being able to have the same
simple class name.

Change-Id: I97970979884c99162d52718449dc18f10e955e32

8 years agoUpdate server and browser support in release notes
Artur Signell [Mon, 12 Sep 2016 08:10:45 +0000 (11:10 +0300)]
Update server and browser support in release notes

Change-Id: I73279f7837b0907fea6cfc9d21076ac226af4c00

8 years agoReimplement Grid selection model in terms of AbstractSingleSelection
Johannes Dahlström [Thu, 8 Sep 2016 18:26:35 +0000 (21:26 +0300)]
Reimplement Grid selection model in terms of AbstractSingleSelection

Change-Id: Id21cb0df32e07bd01f90a29a814dcf0775067bfa

8 years agoImplement new RichTextArea
Artur Signell [Thu, 1 Sep 2016 11:56:41 +0000 (14:56 +0300)]
Implement new RichTextArea

Change-Id: I6f430c77caaad6d610133f340eba960f2268897e

8 years agoAdd AbstractSingleSelection base class
Johannes Dahlström [Thu, 8 Sep 2016 18:17:37 +0000 (21:17 +0300)]
Add AbstractSingleSelection base class

Uses RPC for client-to-server but leaves server-to-client to implementation.
SimpleSingleSelection uses shared state; lazy-loading implementations to pass
selection info along with item data.

Change-Id: I97c1dfa28eee39aef43eabbfbac56cd83fa5747c

8 years agoAdd ItemClick events to Grid
Teemu Suo-Anttila [Thu, 8 Sep 2016 13:46:35 +0000 (16:46 +0300)]
Add ItemClick events to Grid

Change-Id: I9d761245e99cde62d0e56b89e5cbb0398fd4c363

8 years agoAdd a simple non-connector single selection model
Johannes Dahlström [Thu, 8 Sep 2016 17:53:43 +0000 (20:53 +0300)]
Add a simple non-connector single selection model

To eventually replace SingleSelection.

Change-Id: I623dfa962bce62067a5b35dc14be26b3de333e9b

8 years agoMake sleep in tests throw RuntimeException to avoid try catches
Artur Signell [Fri, 9 Sep 2016 11:54:43 +0000 (14:54 +0300)]
Make sleep in tests throw RuntimeException to avoid try catches

Change-Id: I7ef3cca8271ae9f725d8530793543253c216e6bc

8 years agoFormat project pom files using correct settings (4 spaces)
Artur Signell [Fri, 9 Sep 2016 10:11:17 +0000 (13:11 +0300)]
Format project pom files using correct settings (4 spaces)

Change-Id: I4b4760949897d2755da26a06f9048a596abdf0b6

8 years agoAdd Vaadin7Widgetset metadata to manifest 8.0.0.alpha1
Artur Signell [Fri, 9 Sep 2016 10:03:41 +0000 (13:03 +0300)]
Add Vaadin7Widgetset metadata to manifest

Change-Id: I8619553a03cf3354fe3fa90ea15fca111047a287

8 years agoMigrate ClickableRenderer and subclasses
Aleksi Hietanen [Tue, 6 Sep 2016 08:25:50 +0000 (11:25 +0300)]
Migrate ClickableRenderer and subclasses

Change-Id: I233250d9b68052825b73bed0288fffeaf5bdd04b

8 years agoSend TextField value to server on flush()
Artur Signell [Fri, 9 Sep 2016 06:37:57 +0000 (09:37 +0300)]
Send TextField value to server on flush()

This seems to have been dropped from the new TextField patch and is needed e.g. for
shortcut handlers to send the value before invoking the shortcut

Change-Id: Icb0fb45c8d28fad90f13f958cbc5970cdb0fd54a

8 years agoInclude compatibility packages in vaadin-all ZIP
Henri Sara [Thu, 8 Sep 2016 12:51:06 +0000 (15:51 +0300)]
Include compatibility packages in vaadin-all ZIP

Change-Id: Id4d97ae130d1267acf7cb1acb4e60746643fab57

8 years agoDelete broken stylesheet and revert to default style until a new
Henri Sara [Thu, 8 Sep 2016 12:17:10 +0000 (15:17 +0300)]
Delete broken stylesheet and revert to default style until a new
stylesheet is created

Change-Id: I25da6154d55ab829d1166bbde5075bacaf62bf26

8 years agoRemove unused commit author fetching from build.
Henri Sara [Thu, 8 Sep 2016 12:16:13 +0000 (15:16 +0300)]
Remove unused commit author fetching from build.

Change-Id: I36faa94382258d5df40c7f200e5c24805896f100

8 years agoAdd Form level status handler and status label
Pekka Hyvönen [Thu, 25 Aug 2016 21:29:50 +0000 (00:29 +0300)]
Add Form level status handler and status label

This feature doesn't make a whole lot of sense until
form level status changes are available.

Change-Id: Ie634c4a6b3511b7cbf9e367192034934b0e0d4b0

8 years agoAdd DescriptionGenerators for Grid and Columns
Teemu Suo-Anttila [Tue, 6 Sep 2016 14:00:26 +0000 (17:00 +0300)]
Add DescriptionGenerators for Grid and Columns

Change-Id: Ib32726ba3297a05cbc05898f37579777b9a921e0

8 years agoAdd StyleGenerators for Grid and Columns
Teemu Suo-Anttila [Tue, 6 Sep 2016 12:07:37 +0000 (15:07 +0300)]
Add StyleGenerators for Grid and Columns

Change-Id: I5eedce6ac24381d657357ff07ca1ccedd804158d

8 years agoUpdate empty since tags for 8.0
Henri Sara [Thu, 8 Sep 2016 10:19:44 +0000 (13:19 +0300)]
Update empty since tags for 8.0

Change-Id: Iacf3864f6902e810591e2085adb44d0a6848f51c

8 years agoUpdate release notes for Vaadin 8
Henri Sara [Thu, 8 Sep 2016 08:52:46 +0000 (11:52 +0300)]
Update release notes for Vaadin 8

Change-Id: Icf3d3632ec50c732d43acb784033ae6ae0e35d7b

8 years agoAllocate enough memory for TestingWidgetSet SDM
Leif Åstrand [Wed, 7 Sep 2016 13:14:53 +0000 (16:14 +0300)]
Allocate enough memory for TestingWidgetSet SDM

Change-Id: I6a06684f9e71ed54f3c1d90e361fa0a9ffc712a3

8 years agoMake sure DataCommunicator always has a DataSource
Teemu Suo-Anttila [Wed, 7 Sep 2016 08:24:44 +0000 (11:24 +0300)]
Make sure DataCommunicator always has a DataSource

Change-Id: I8da042e68da1d28bff87965adeee75aa60b6021d

8 years agoRemove strange TextField column API
Artur Signell [Tue, 6 Sep 2016 19:29:20 +0000 (22:29 +0300)]
Remove strange TextField column API

Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89

8 years agoAdd AbstractTextField client side to make mapping 1:1
Artur Signell [Tue, 6 Sep 2016 18:56:19 +0000 (21:56 +0300)]
Add AbstractTextField client side to make mapping 1:1

Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49

8 years agoRemove old Firefox bug workaround for which there is no test
Artur Signell [Tue, 6 Sep 2016 19:10:12 +0000 (22:10 +0300)]
Remove old Firefox bug workaround for which there is no test

Change-Id: I97efacde11852a08ccc799e0aef4d6e23484f522

8 years agoImprove listing and data source Javadocs a bit
Johannes Dahlström [Mon, 5 Sep 2016 16:40:31 +0000 (19:40 +0300)]
Improve listing and data source Javadocs a bit

Change-Id: Ie3821df9bcb13af5f3955776a11d33fd2c16020e

8 years agoParameterize listing and selection connectors by selection model type
Johannes Dahlström [Mon, 5 Sep 2016 16:34:19 +0000 (19:34 +0300)]
Parameterize listing and selection connectors by selection model type

Change-Id: I9c31582242b0b37b8a732e41bc73c59881dcf68b

8 years agoFix empty data source client-side events
Teemu Suo-Anttila [Tue, 6 Sep 2016 12:34:12 +0000 (15:34 +0300)]
Fix empty data source client-side events

Change-Id: I7e84fd01cf2ec46b18af960712226a48f600f623

8 years agoReimplement basic Grid renderers
Leif Åstrand [Mon, 5 Sep 2016 09:20:36 +0000 (12:20 +0300)]
Reimplement basic Grid renderers

Change-Id: Ic855143d23cc7735d00130806df45b6579ba0d5c

8 years agoClean up old Grid selection models
Teemu Suo-Anttila [Thu, 1 Sep 2016 07:31:19 +0000 (10:31 +0300)]
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

8 years agoAdd new base class for Listing UI tests
Johannes Dahlström [Mon, 5 Sep 2016 09:24:20 +0000 (12:24 +0300)]
Add new base class for Listing UI tests

Change-Id: I6901fc49379d9bd740e24c01de6ce9d530bbc585

8 years agoRefactor AbstractComponentTest to extend AbstractTestUI
Johannes Dahlström [Wed, 31 Aug 2016 14:33:21 +0000 (17:33 +0300)]
Refactor AbstractComponentTest to extend AbstractTestUI

Change-Id: Ie614e7a7bf069ab4035cfcd35c3bc98007adfd4b

8 years agoAdd documentation test for custom converters
Artur Signell [Mon, 5 Sep 2016 08:26:29 +0000 (11:26 +0300)]
Add documentation test for custom converters

Change-Id: I84621b6b568095b1b7f86068fa992dd570f8a103

8 years agoUse diamond operator where it can be used
Artur Signell [Mon, 5 Sep 2016 09:33:39 +0000 (12:33 +0300)]
Use diamond operator where it can be used

Does not modify compatibility packages to keep to closer to Vaadin 7.7

Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012

8 years agoAdd error message constructor to all converters which can fail
Artur Signell [Sun, 4 Sep 2016 20:35:42 +0000 (23:35 +0300)]
Add error message constructor to all converters which can fail

Change-Id: I3ec60effc75e22765d21e0223ee1537ffbdb29e7

8 years agoAdd item level validator support to Binder
Denis Anisimov [Thu, 25 Aug 2016 11:53:09 +0000 (14:53 +0300)]
Add item level validator support to Binder

An item level validator is run on the item (bean) after field validators
have passed. A failed item level validator will block save operations,
just like field level validators.

Change-Id: I3b918b33371ceef07cdfbd0a8b6d477d4ac26b85

8 years agoUnitTest for SingleSelection
elmot [Thu, 1 Sep 2016 07:48:26 +0000 (10:48 +0300)]
UnitTest for SingleSelection

Change-Id: I40b3b9bae7c1eb96377c0a593faee59ef52109fb

8 years agoReintroduce frozen columns and height by rows to Grid
Teemu Suo-Anttila [Tue, 30 Aug 2016 10:01:46 +0000 (13:01 +0300)]
Reintroduce frozen columns and height by rows to Grid

Change-Id: I5fecfabd023b39dc252e47a6aa403a79034b0f3d

8 years agoClean up unused parts of old shared Grid classes
Teemu Suo-Anttila [Tue, 30 Aug 2016 09:44:37 +0000 (12:44 +0300)]
Clean up unused parts of old shared Grid classes

Change-Id: I4de92909afd74031647e9166a44362918269e57f

8 years agoMove uitests for the legacy Grid to a separate v7 package
Leif Åstrand [Thu, 1 Sep 2016 08:40:05 +0000 (11:40 +0300)]
Move uitests for the legacy Grid to a separate v7 package

Change-Id: Iba9614f9809714b2d3ac564e737f03e8f89c6f82

8 years agoFix formatting so that it is shown correctly in GitHub
Artur Signell [Thu, 1 Sep 2016 09:19:07 +0000 (12:19 +0300)]
Fix formatting so that it is shown correctly in GitHub

Change-Id: Ieb59f0d85d4a8bcef0dc60c849818cf1928b6f78

8 years agoAdd simple data change handling for Selects
Teemu Suo-Anttila [Wed, 31 Aug 2016 13:03:20 +0000 (16:03 +0300)]
Add simple data change handling for Selects

Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab

8 years agoFix animation end listeners so they are always removed (#17903)
Artur Signell [Mon, 29 Aug 2016 19:11:23 +0000 (22:11 +0300)]
Fix animation end listeners so they are always removed (#17903)

Fixes ComboBox suggestion popup so that it will not automatically
close when clicking the popup button, if the user happened to
double click on the button earlier.

Ported from 7.7

Change-Id: I6cd8c7744ca4c52a7bd52ab12c23fb55522f0611

8 years agoImplement Binder.saveIfValid and fix Binder.save to throw exception
Artur Signell [Wed, 31 Aug 2016 13:17:50 +0000 (16:17 +0300)]
Implement Binder.saveIfValid and fix Binder.save to throw exception

Change-Id: I44498b4b34b2e9732b50abb14e8eb7be01314158

8 years agoFormat the project using Neon, remove trailing whitespace
Artur Signell [Wed, 31 Aug 2016 12:56:58 +0000 (15:56 +0300)]
Format the project using Neon, remove trailing whitespace

Change-Id: I145e20226958910c243b9897bb1e9516919f55cd

8 years agoImplement SingleSelection on client and server
Johannes Dahlström [Wed, 24 Aug 2016 08:26:12 +0000 (11:26 +0300)]
Implement SingleSelection on client and server

Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167

8 years agoEnable assertions for TestingWidgetset, add test to verify this
Teemu Suo-Anttila [Wed, 31 Aug 2016 12:09:50 +0000 (15:09 +0300)]
Enable assertions for TestingWidgetset, add test to verify this

Change-Id: I0c5fc24e490edc6e0d3fb7a9b1d2a71d564bb13c

8 years agoIncrease memory for compatibility-client-compiled SDM
Henri Sara [Wed, 31 Aug 2016 10:20:01 +0000 (13:20 +0300)]
Increase memory for compatibility-client-compiled SDM

Change-Id: I13a7df46f768390cb35c5519a6cfc444355b15f4

8 years agoRename TypedDataGenerator to DataGenerator
Johannes Dahlström [Tue, 30 Aug 2016 12:30:13 +0000 (15:30 +0300)]
Rename TypedDataGenerator to DataGenerator

Also add a no-op default implementation to destroyData,
making DataGenerator a functional interface.

Change-Id: I546f443150da23debd4a2691003e435367469439

8 years agoStop running test on IE11 which does not shift click when it should
Artur Signell [Wed, 31 Aug 2016 06:50:59 +0000 (09:50 +0300)]
Stop running test on IE11 which does not shift click when it should

Change-Id: I4b7a05f4918e14c6644514d036f33178d999b086

8 years agoDuplicate AbstractField state and connector into compatibility-client
Artur Signell [Tue, 30 Aug 2016 20:20:18 +0000 (23:20 +0300)]
Duplicate AbstractField state and connector into compatibility-client

Change-Id: Ib6339f32ac348c144b19bb4a6ab724781e35196b