]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoProvide explicit locale in GridTest (#8525)
Ilia Motornyi [Tue, 14 Feb 2017 06:20:43 +0000 (08:20 +0200)]
Provide explicit locale in GridTest (#8525)

Fixes #8524

7 years agoFix SendMultiByteCharactersTest for Firefox (#8553)
Henri Sara [Tue, 14 Feb 2017 06:18:43 +0000 (08:18 +0200)]
Fix SendMultiByteCharactersTest for Firefox (#8553)

7 years agoAdd workarounds for Firefox in context click tests (#8547)
Henri Sara [Mon, 13 Feb 2017 14:48:15 +0000 (16:48 +0200)]
Add workarounds for Firefox in context click tests (#8547)

7 years agoDowngrade to Jetty 9.2 (#8549)
Henri Sara [Mon, 13 Feb 2017 14:21:51 +0000 (16:21 +0200)]
Downgrade to Jetty 9.2 (#8549)

Jetty 9.3 and 9.4 sometimes reset the connection too early in case of
errors, which leads to failing tests (UIInitExceptionTest,
AppResource404Test).

See e.g. https://issues.apache.org/jira/browse/SOLR-8453 for more
information.

7 years agoExclude IE11 from AppResource404Test
Henri Sara [Mon, 13 Feb 2017 13:57:56 +0000 (15:57 +0200)]
Exclude IE11 from AppResource404Test

7 years agoFix build report checking for vaadin-bom (#8537)
Teemu Suo-Anttila [Mon, 13 Feb 2017 06:48:58 +0000 (08:48 +0200)]
Fix build report checking for vaadin-bom (#8537)

7 years agoUpdate test for Spring 1.5.1.RELEASE (#8535)
Teemu Suo-Anttila [Mon, 13 Feb 2017 06:46:46 +0000 (08:46 +0200)]
Update test for Spring 1.5.1.RELEASE (#8535)

Also fixed servlet API dependency scope that was causing conflicts.

7 years agoFix Firefox 45 tests (click issues, screenshots) (#8533)
Henri Sara [Fri, 10 Feb 2017 11:42:08 +0000 (13:42 +0200)]
Fix Firefox 45 tests (click issues, screenshots) (#8533)

7 years agoFix invalid docs navigation title (#8527)
Pekka Hyvönen [Thu, 9 Feb 2017 14:03:20 +0000 (16:03 +0200)]
Fix invalid docs navigation title (#8527)

Fixes #8522

7 years agoUse specific version numbers for addons (#8541)
Teemu Suo-Anttila [Fri, 10 Feb 2017 14:19:16 +0000 (16:19 +0200)]
Use specific version numbers for addons (#8541)

7 years agoUse column id as the default sort order property (#8529) (#8530) 8.0.0.rc1
Henri Sara [Fri, 10 Feb 2017 07:54:29 +0000 (09:54 +0200)]
Use column id as the default sort order property (#8529) (#8530)

7 years agoAdd Payara as an officially supported server (#8520)
Leif Åstrand [Thu, 9 Feb 2017 12:10:48 +0000 (14:10 +0200)]
Add Payara as an officially supported server (#8520)

7 years agoInclude Vaadin-Icons into the project, (#8485)
Ilia Motornyi [Thu, 9 Feb 2017 09:17:35 +0000 (11:17 +0200)]
Include Vaadin-Icons into the project,  (#8485)

Include Vaadin-Icons into the valo theme in the project,
make vaadin-icons dependency 'provided'

Fixes #8471

7 years agoAdd shorthands for creating lazy DataProviders (#8511)
Teemu Suo-Anttila [Thu, 9 Feb 2017 09:03:29 +0000 (11:03 +0200)]
Add shorthands for creating lazy DataProviders (#8511)

7 years agoRemove BOM from release profile (#8518)
Henri Sara [Thu, 9 Feb 2017 09:03:06 +0000 (11:03 +0200)]
Remove BOM from release profile (#8518)

7 years agoFix click selection for automatic testing. (#8513)
caalador [Thu, 9 Feb 2017 08:18:41 +0000 (10:18 +0200)]
Fix click selection for automatic testing. (#8513)

Don't implement handlers on widget level.

7 years agoUpdate Firefox/Chrome screenshots and Chrome version (#8515)
Henri Sara [Thu, 9 Feb 2017 08:07:54 +0000 (10:07 +0200)]
Update Firefox/Chrome screenshots and Chrome version (#8515)

7 years agoClarify addComponentsAndExpand javadocs (#8516)
Leif Åstrand [Thu, 9 Feb 2017 07:53:52 +0000 (09:53 +0200)]
Clarify addComponentsAndExpand javadocs (#8516)

7 years agoBinding a null bean should clear the bound field values (#8288)
caalador [Thu, 9 Feb 2017 07:32:57 +0000 (09:32 +0200)]
Binding a null bean should clear the bound field values (#8288)

* Add clear field values #8287

Added functionality to make it possible to clear bound field values manually
or when setting a null bean to binder.

Binder will now clear bound fields for setBean(null) or if using readBean() functionality
when calling the clear() method. Binder.clear() will throw a IllegalStateException if
we have a bound bean.

* MultiSelectionModel MultiSelect should implement emptyValue

* Removing public clear() method and clearing field values only through
setBean(null) and readBean(null) to be consistent and not have
confusing functionality.

* Simplified clearFields() as we don't need to check if field is readOnly

* Document in removeBean JavaDoc that it will also clear the bound fields
if we have a bean the is removed.

* Binder should not have changes after clearing fields.

* Add getEmptyValue as default to MultiSelect.
Multiselect default for empty value should be an empty set.

* Revert "Add getEmptyValue as default to MultiSelect."

This reverts commit 45de8f45c4a1e3e45ab8a0353ab2a48bb4f1be6f.

* Merge branch 'master' into issue/8287_Clear_bound_fields

* Remove override for default implementation.

* Fire status change event on clearFields if we had changes before clearing.

* Formatting.

7 years agoServer integration fix 3 (#8442)
Ilia Motornyi [Thu, 9 Feb 2017 07:26:19 +0000 (09:26 +0200)]
Server integration fix 3 (#8442)

* Fix JBoss 6 integration test
* Fixes for Karaf (build self-contained WAB)

7 years agoAdd addComponentsAndExpand to horizontal and vertical layout (#8480)
Leif Åstrand [Wed, 8 Feb 2017 17:05:31 +0000 (19:05 +0200)]
Add addComponentsAndExpand to horizontal and  vertical layout (#8480)

7 years agoClarify javadocs for query values not used for counting (#8509)
Leif Åstrand [Wed, 8 Feb 2017 14:34:29 +0000 (16:34 +0200)]
Clarify javadocs for query values not used for counting (#8509)

Fixes #8489

7 years agoAllow configuring how string to number converters handle empty strings (#8506)
Leif Åstrand [Wed, 8 Feb 2017 13:55:57 +0000 (15:55 +0200)]
Allow configuring how string to number converters handle empty strings (#8506)

7 years agoProvide a convenience method to get items set via setItems().
Denis [Wed, 8 Feb 2017 13:45:20 +0000 (15:45 +0200)]
Provide a convenience method to get items set via setItems().

Fixes #8357

7 years agoExtract data provider callbacks to named and documented interfaces (#8508)
Leif Åstrand [Wed, 8 Feb 2017 13:27:37 +0000 (15:27 +0200)]
Extract data provider callbacks to named and documented interfaces (#8508)

Fixes #8488

7 years agoProvide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)
Denis [Wed, 8 Feb 2017 12:55:11 +0000 (14:55 +0200)]
Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)

Fixes #8422

7 years agoFix removing and adding a column in grid (#8437)
caalador [Wed, 8 Feb 2017 12:54:57 +0000 (14:54 +0200)]
Fix removing and adding a column in grid (#8437)

* Added column should also be added to footer (#590)

When adding (readding) a column the column should also be
added to footer as it will be removed and iterator will request footer for it.

* Add test for re-add column (#590)

* To lowerCase using Locale

* Fixed compilation problem.
Too little sleep for a friday evening...

7 years agoDocument BeanValidationBinder and RequiredFieldConfigurator. (#8504)
Denis [Wed, 8 Feb 2017 12:32:50 +0000 (14:32 +0200)]
Document BeanValidationBinder and RequiredFieldConfigurator. (#8504)

This patch also provides a documentation for #8382.

Fixes #8390

7 years agoProvide a way to configure bean binder to auto set required fields (#8460)
Denis [Wed, 8 Feb 2017 12:32:09 +0000 (14:32 +0200)]
Provide a way to configure bean binder to auto set required fields (#8460)

@NotNull, @Size(min>1), @NotEmpty annotations are handled via default
configuration which marks fields as required.

Fixes #8382

7 years agoAdd javadoc explanation about how to create serializable comparators (#8505)
Leif Åstrand [Wed, 8 Feb 2017 12:14:00 +0000 (14:14 +0200)]
Add javadoc explanation about how to create serializable comparators (#8505)

Also removes the confusing SerializableComparator.asInstance method that
was mainly introduced for internal use.

Fixes #8367

7 years agoFix profiles in vaadin-root pom.xml (#8484)
Teemu Suo-Anttila [Wed, 8 Feb 2017 11:46:29 +0000 (13:46 +0200)]
Fix profiles in vaadin-root pom.xml (#8484)

7 years agoFix keyboard navigation for ListSelect (#8503)
caalador [Wed, 8 Feb 2017 11:04:12 +0000 (13:04 +0200)]
Fix keyboard navigation for ListSelect (#8503)

Fixes vaadin/framework8-issues#463

7 years agoThrow if there are no automatically bound fields via bindInstanceFields. (#8481)
Denis [Wed, 8 Feb 2017 07:43:34 +0000 (09:43 +0200)]
Throw if there are no automatically bound fields via bindInstanceFields. (#8481)

* Throw if there are no automatically bound fields via bindInstanceFields.

Fixes #8362

7 years agoAdd Grid.addColumn(String, Renderer) (#8470)
Leif Åstrand [Tue, 7 Feb 2017 13:33:20 +0000 (15:33 +0200)]
Add Grid.addColumn(String, Renderer) (#8470)

* Add Grid.addColumn(String, Renderer)

7 years agoFix toggling of WeekNumbers for DateTimeField. (#8468)
caalador [Tue, 7 Feb 2017 13:31:05 +0000 (15:31 +0200)]
Fix toggling of WeekNumbers for DateTimeField. (#8468)

Fixes  #8405

7 years agoAdded missing parametrisation onto the column field of the GridContextClickEvent...
SomeoneToIgnore [Tue, 7 Feb 2017 10:32:56 +0000 (13:32 +0300)]
Added missing parametrisation onto the column field of the GridContextClickEvent. (#8473)

* Added missing parametrisation onto the column field of the GridContextClickEvent.

7 years agoMention removed ThreadLocal.setInheritable in release notes (#8466)
Leif Åstrand [Tue, 7 Feb 2017 08:22:44 +0000 (10:22 +0200)]
Mention removed ThreadLocal.setInheritable in release notes (#8466)

Fixes vaadin/framework8-issues#594

7 years agoUse thread-safe collections for VaadinService listeners (#7037)
Leif Åstrand [Tue, 7 Feb 2017 08:07:07 +0000 (10:07 +0200)]
Use thread-safe collections for VaadinService listeners (#7037)

Fixes #7250

7 years agoMake one-arg addColumn use natural sort for mutually comparable values (#8458)
Leif Åstrand [Tue, 7 Feb 2017 07:48:33 +0000 (09:48 +0200)]
Make one-arg addColumn use natural sort for mutually comparable values (#8458)

Fixes #8371
Fixes #8128

7 years agoAdd missing ScreenshotRule to Spring integration test (#8455)
Teemu Suo-Anttila [Mon, 6 Feb 2017 14:20:46 +0000 (16:20 +0200)]
Add missing ScreenshotRule to Spring integration test (#8455)

7 years agoFix problem with re-opening the popup (#8446) (#8451)
caalador [Mon, 6 Feb 2017 12:55:14 +0000 (14:55 +0200)]
Fix problem with re-opening the popup (#8446) (#8451)

* Fix problem with re-opening the popup (#8446)

Fixed problem that disables opening of popup
after closing it by clicking the datefield-button.

* Fix issue #8446 in compatibility version PopupDateField also.

7 years agoAdd screenshots and workaround for Firefox 45 (#8450)
Henri Sara [Mon, 6 Feb 2017 10:36:14 +0000 (12:36 +0200)]
Add screenshots and workaround for Firefox 45 (#8450)

7 years agoAdd Firefox 45 workaround in ComboBoxElement (#8449)
Henri Sara [Mon, 6 Feb 2017 10:06:35 +0000 (12:06 +0200)]
Add Firefox 45 workaround in ComboBoxElement (#8449)

7 years agoDisable test method on which build got stuck. (#8445)
Henri Sara [Sat, 4 Feb 2017 18:23:10 +0000 (20:23 +0200)]
Disable test method on which build got stuck. (#8445)

7 years agoFix JBoss 6 integration tests
Ilia Motornyi [Fri, 3 Feb 2017 15:28:07 +0000 (17:28 +0200)]
Fix JBoss 6 integration tests

7 years agoAdd Firefox 45 screenshots (#8438)
Henri Sara [Fri, 3 Feb 2017 13:54:45 +0000 (15:54 +0200)]
Add Firefox 45 screenshots (#8438)

7 years agoFix exception on remove column. (#8432)
caalador [Fri, 3 Feb 2017 11:59:24 +0000 (13:59 +0200)]
Fix exception on remove column. (#8432)

Schedule column ordering so that possible onUnregister methods get run first.

7 years agoUpdate ValoThemeTest screenshots (#8431)
Henri Sara [Fri, 3 Feb 2017 11:43:08 +0000 (13:43 +0200)]
Update ValoThemeTest screenshots (#8431)

7 years agoAdd isValid to Binder (#8274)
Aleksi Hietanen [Fri, 3 Feb 2017 11:40:54 +0000 (13:40 +0200)]
Add isValid to Binder (#8274)

* Add isValid to Binder

isValid enables you to check the current validation
status of a given Binder, without firing events or invoking
handlers.

This patch also clarifies the javadocs of StatusChangeEvents'
hasValidationErrors.

* Throw in Binder.isValid if no bean is set and bean validators exist

* Add test cases to BinderTest

7 years agoAdd selection methods to grid that delegate to its selection model (#8315)
Aleksi Hietanen [Fri, 3 Feb 2017 11:27:51 +0000 (13:27 +0200)]
Add selection methods to grid that delegate to its selection model (#8315)

* Add selection methods to grid that delegate to the selection model

* Merge remote-tracking branch 'github/master' into 577-alt

* Remove getFirstSelected, isSelected

7 years agoFix absolute layout component resize test (#8429)
caalador [Fri, 3 Feb 2017 11:18:54 +0000 (13:18 +0200)]
Fix absolute layout component resize test (#8429)

Fix test checking for left:auto by testing the actual wrapper width
that should change.

7 years agoFix some broken tests and ComboBoxElement (#8430)
Henri Sara [Fri, 3 Feb 2017 11:15:13 +0000 (13:15 +0200)]
Fix some broken tests and ComboBoxElement (#8430)

7 years agoRun tests on Firefox 45 (#8428)
Artur [Fri, 3 Feb 2017 07:41:35 +0000 (09:41 +0200)]
Run tests on Firefox 45 (#8428)

* Run tests on Firefox 45

7 years agoAdd Grid editor events. (#8365)
Denis [Thu, 2 Feb 2017 20:07:21 +0000 (22:07 +0200)]
Add Grid editor events. (#8365)

* Migrate v7 Grid tests. Next round.

Fixes #8419

* Add Grid editor events.

Fixes #8202.

7 years agoAdd default getEmptyValue for MultiSelect interface (#8420) (#8421) 8.0.0.beta2
caalador [Thu, 2 Feb 2017 12:39:52 +0000 (14:39 +0200)]
Add default getEmptyValue for MultiSelect interface (#8420) (#8421)

* Add deafult getEmptyValue for MultiSelect interface (#8420)

Added an default implementation for getEmptyValue to the
MultiSelect interface.

7 years agoTypo fix; screenshots update.
Ilia Motornyi [Thu, 2 Feb 2017 12:23:26 +0000 (14:23 +0200)]
Typo fix; screenshots update.

7 years agoAdd header required by docs site (#8425)
Artur [Thu, 2 Feb 2017 12:02:09 +0000 (14:02 +0200)]
Add header required by docs site (#8425)

* Add header required by docs site

7 years agoAdd scrollTo methods to Grid (#8203) (#8410)
caalador [Thu, 2 Feb 2017 12:01:19 +0000 (14:01 +0200)]
Add scrollTo methods to Grid (#8203) (#8410)

* Add scroll methods to serverside grid (#8203)

Added scrollToTop(), scrollToEnd() and scrollTo(int row)

* Fix scrolling to view of opened details (#8203)

Removed dependency for DetailsManagerConnector from GridConnector.
GridConnector now handles one off listeners.

* Rename detailsRefresh to better show that it's one-off.
Add missing copyright header.

7 years agoGrid tests migration. Next round. (#8412)
Denis [Thu, 2 Feb 2017 10:50:09 +0000 (12:50 +0200)]
Grid tests migration. Next round. (#8412)

* Grid tests migration. Next round.

Fixes #8373

7 years agoHandle system properties for failsafe plugin (#8414)
Teemu Suo-Anttila [Thu, 2 Feb 2017 10:48:02 +0000 (12:48 +0200)]
Handle system properties for failsafe plugin (#8414)

* Handle system properties for failsafe plugin

7 years agoAdd helpers for dealing with columns based on its id (#8411)
Leif Åstrand [Thu, 2 Feb 2017 10:33:57 +0000 (12:33 +0200)]
Add helpers for dealing with columns based on its id (#8411)

* Add helpers for dealing with columns based on its id

setColumns(Column...)  is removed since it's not possible to re-add a
removed column instance.

Fixes #8361

7 years agoMake it easy to invoke ServerRpc methods as part of unit tests (#8346)
Artur [Thu, 2 Feb 2017 07:28:33 +0000 (09:28 +0200)]
Make it easy to invoke ServerRpc methods as part of unit tests (#8346)

Executing RPC methods is useful when testing component interaction with
the server. Not only inside the framework but also when creating add-ons
and applications.

7 years agoRequire Maven 3.1 or newer for uitest (#8418)
Pekka Hyvönen [Thu, 2 Feb 2017 07:22:41 +0000 (09:22 +0200)]
Require Maven 3.1 or newer for uitest (#8418)

7 years agoReplace FontAwesome with Vaadin Icons (#8208)
Pekka Hyvönen [Wed, 1 Feb 2017 17:13:08 +0000 (19:13 +0200)]
Replace FontAwesome with Vaadin Icons (#8208)

* Include FontAwesome by default for easier migration
* Fix JSComponentLoadingIndicatorTest

Fixes #7979
Addresses part of #8219

7 years agoRefactor testing of the framework (#8393)
Teemu Suo-Anttila [Wed, 1 Feb 2017 15:17:15 +0000 (17:17 +0200)]
Refactor testing of the framework (#8393)

* Integration tests moved from uitest to separate test modules
* Run TB4 tests with maven profile
* Remove old ant/ivy build scripts from uitest
* Add 'needs-ssh' test category for reconnection test
* Add default values for testing and validation builds
* Add placeholder build.xml with instructions to run Maven

7 years agoUpdate release notes for 8.0.0.beta2 (#8402)
Pekka Hyvönen [Wed, 1 Feb 2017 14:49:36 +0000 (16:49 +0200)]
Update release notes for 8.0.0.beta2 (#8402)

* Update release notes for 8.0.0.beta2

7 years agoMake Grid add columns based on bean properties (#8392)
Leif Åstrand [Wed, 1 Feb 2017 13:30:57 +0000 (15:30 +0200)]
Make Grid add columns based on bean properties (#8392)

* Make Grid add columns based on bean properties

The property set concept used for Binder is slightly generalized and
used by Grid as well to support similar functionality.

Fixes vaadin/framework8-issues#250

7 years agoIntroduce Binder.addFialdValueChangeListener (#8273)
Denis [Wed, 1 Feb 2017 13:28:40 +0000 (15:28 +0200)]
Introduce Binder.addFialdValueChangeListener (#8273)

Fixes #8273

7 years agoAdd a maven plugin for formatting according to Eclipse settings
Leif Åstrand [Wed, 1 Feb 2017 09:09:04 +0000 (11:09 +0200)]
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 years agoRevert widget-set-testutil parent change (#8404)
Teemu Suo-Anttila [Tue, 31 Jan 2017 20:04:07 +0000 (22:04 +0200)]
Revert widget-set-testutil parent change (#8404)

* Revert widget-set-testutil parent change

7 years agoAdd test for compiling a widgetset that inherits Vaadin7WidgetSet (#8403)
Teemu Suo-Anttila [Tue, 31 Jan 2017 20:03:59 +0000 (22:03 +0200)]
Add test for compiling a widgetset that inherits Vaadin7WidgetSet (#8403)

* Add test for compiling a widgetset that inherits Vaadin7WidgetSet

* Remove unnecessary dependency management block

* Minor style fixes

7 years agoFix documentation examples
Ilia Motornyi [Tue, 31 Jan 2017 11:49:15 +0000 (13:49 +0200)]
Fix documentation examples

7 years agoAdd styling to the unsupported browser page (#570) (#8354)
caalador [Tue, 31 Jan 2017 11:25:44 +0000 (13:25 +0200)]
Add styling to the unsupported browser page (#570) (#8354)

7 years agoPatameterize the ValueChangeListeners for rebuilt fields (#8369) (#8388)
caalador [Tue, 31 Jan 2017 07:16:19 +0000 (09:16 +0200)]
Patameterize the ValueChangeListeners for rebuilt fields (#8369) (#8388)

* Patameterize the ValueChangeListeners for rebuilt fields (#8369)

Listeners are now defined with the correct type parameter for
each field type so the event.getValue() is what one would expect.

7 years agoRefactor editor API to use Binding instead of a component generator (#8368)
Leif Åstrand [Tue, 31 Jan 2017 07:15:50 +0000 (09:15 +0200)]
Refactor editor API to use Binding instead of a component generator (#8368)

Fixes #8366

7 years agoFix userOriginated state for CheckBox ValueChangeEvent from the user (#8383)
Artur [Mon, 30 Jan 2017 21:34:06 +0000 (23:34 +0200)]
Fix userOriginated state for CheckBox ValueChangeEvent from the user (#8383)

* Fix userOriginated state for CheckBox ValueChangeEvent from the user

7 years agoMake compatibility aliases for isRequiredIndicatorVisible() (#8372)
Denis [Mon, 30 Jan 2017 18:44:18 +0000 (20:44 +0200)]
Make compatibility aliases for isRequiredIndicatorVisible() (#8372)

* Make compatibility aliases for isRequiredIndicatorVisible()

Fixes #8337

7 years agoIncrease threshold in server side performance test for stability (#8370)
Henri Sara [Mon, 30 Jan 2017 14:29:15 +0000 (16:29 +0200)]
Increase threshold in server side performance test for stability (#8370)

7 years agoAdd reference to Column.setId in javadocs of methods accepting col ids (#8360)
Leif Åstrand [Mon, 30 Jan 2017 13:25:38 +0000 (15:25 +0200)]
Add reference to Column.setId in javadocs of methods accepting col ids (#8360)

7 years agoFix NPE when grid is sorted by column with null values
Ilia Motornyi [Mon, 30 Jan 2017 12:03:43 +0000 (14:03 +0200)]
Fix NPE when grid is sorted by column with null values
Fixes #8282

7 years agoAdd convenience constructors to new components (#598) (#8351)
caalador [Mon, 30 Jan 2017 06:16:44 +0000 (08:16 +0200)]
Add convenience constructors to new components (#598) (#8351)

Add convenience constructors (#598)

Added convenience constructors to ui components that have
been reimplemented for Vaadin 8

7 years agoAdd regression tests for HasValue.getOptionalValue (#8352)
Leif Åstrand [Sat, 28 Jan 2017 13:06:40 +0000 (15:06 +0200)]
Add regression tests for HasValue.getOptionalValue (#8352)

7 years agoIntroduce empty selection functionality for NativeSelect. (#8336)
Denis [Fri, 27 Jan 2017 13:44:03 +0000 (15:44 +0200)]
Introduce empty selection functionality for NativeSelect. (#8336)

* Introduce empty selection functionality for NativeSelect.

Fixes vaadin/framework8-issues#545

7 years agoAllow to disable user selection in the grid model. (#8345)
Denis [Fri, 27 Jan 2017 11:13:58 +0000 (13:13 +0200)]
Allow to disable user selection in the grid model. (#8345)

* Allow to disable user selection in the grid model.

Fixes vaadin/framework8-issues#546

7 years agoAdd a default getOptionalValue() to HasValue (#8324)
Giovanni Lovato [Fri, 27 Jan 2017 10:35:17 +0000 (11:35 +0100)]
Add a default getOptionalValue() to HasValue (#8324)

Fixes #8323

7 years agoAdd convenience constructors for TextField (#597) (#8341)
caalador [Fri, 27 Jan 2017 07:12:03 +0000 (09:12 +0200)]
Add convenience constructors for TextField (#597) (#8341)

Add convenience constructors for TextField (#597)

Added TextField convenience constructors similar to the
ones found in Vaadin framework 7

7 years agoImplement GridSortOrder and SortOrderBuilders (#8338)
Aleksi Hietanen [Fri, 27 Jan 2017 07:07:29 +0000 (09:07 +0200)]
Implement GridSortOrder and SortOrderBuilders (#8338)

7 years agoJspIntegrationTest as a separate module (#8228)
Ilia Motornyi [Thu, 26 Jan 2017 14:27:54 +0000 (16:27 +0200)]
JspIntegrationTest as a separate module (#8228)

Part of vaadin/framework8-issues#539

7 years agoFix some faulty javaDoc names
caalador [Thu, 26 Jan 2017 07:43:41 +0000 (09:43 +0200)]
Fix some faulty javaDoc names

7 years agoExtract Bean validation logic from Binder to BeanValidationBinder
Denis [Wed, 25 Jan 2017 14:34:02 +0000 (16:34 +0200)]
Extract Bean validation logic from Binder to BeanValidationBinder

Fixes #8253

7 years agoUpdate @HtmlImport javadoc to match implementation (#8331)
Artur [Wed, 25 Jan 2017 13:52:11 +0000 (15:52 +0200)]
Update @HtmlImport javadoc to match implementation (#8331)

7 years agoShow unsupported browser page for FF version less than 45. (#8328)
Denis [Wed, 25 Jan 2017 12:34:38 +0000 (14:34 +0200)]
Show unsupported browser page for FF version less than 45. (#8328)

Fixes vaadin/framework8-issues#569

7 years agoAdd APIs to inform components of stale objects in DataProvider (#8271)
Teemu Suo-Anttila [Wed, 25 Jan 2017 10:27:44 +0000 (12:27 +0200)]
Add APIs to inform components of stale objects in DataProvider (#8271)

* Add DataProvider refreshItem for single item update

* Add 'id' concept for DataProviders

This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.

* Add refresh logic to Grid SelectionModels

* Remove broken equals and hashCode

* Refresh KeyMapper, clean up some methods

* Fix UI.access in test

* Fix tests and Grid single selection model

* Do clean up before replacing data provider

* Check correct variable for null value

* Fix other selects, add generic tests

* Code style fixes, removed assert

* Merge remote-tracking branch 'origin/master' into 286_refresh_items

* Fix documentation for refreshing an item

* Improve introduction chapter, minor clarifications

* Merge remote-tracking branch 'origin/master' into 287_refresh_items

* Add missing parameters in unit tests

7 years agoSupport loading of HTML imports using @HtmlImport (#8301)
Artur [Wed, 25 Jan 2017 09:27:49 +0000 (11:27 +0200)]
Support loading of HTML imports using @HtmlImport (#8301)

Note that not all browsers yet support HTML imports. If a polyfill
is needed to load HTML imports, it must be loaded before HTML Imports
can be loaded. There is no automatic loading of any polyfills.

7 years agoRefactor how DataCommunicator passes filters to its DataProvider (#8309)
Leif Åstrand [Wed, 25 Jan 2017 07:44:16 +0000 (09:44 +0200)]
Refactor how DataCommunicator passes filters to its DataProvider (#8309)

The immediate benefit of this change is that ComboBox doesn't have to do
any wrapping when a ListDataProvider is set. A secondary benefit is that
a bunch of redundant type parameters and unsafe casts can be removed.

This is one of many steps towards #8245

7 years agoUse non-Generic SortOrder in Query. (#8239)
Denis [Wed, 25 Jan 2017 07:36:29 +0000 (09:36 +0200)]
Use non-Generic SortOrder in Query. (#8239)

* Use non-Generic SortOrder in Query.

Fixes #8215

7 years agoAllow distinct configurable filter and wrapped filter types (#8322)
Leif Åstrand [Wed, 25 Jan 2017 07:23:09 +0000 (09:23 +0200)]
Allow distinct configurable filter and wrapped filter types (#8322)

* Allow distinct configurable filter and wrapped filter types

This enables implementing the use case that was already described
towards the end of datamodel-providers.asciidoc.

Also swaps the order of the callback type parameters to make all three
match the order of the ConfigurableFilterDataProvider type parameters.

7 years agoServe VAADIN files also from META-INF/resources (#8286) (#8320)
Artur [Wed, 25 Jan 2017 07:09:02 +0000 (09:09 +0200)]
Serve VAADIN files also from META-INF/resources (#8286) (#8320)

* Serve VAADIN files also from META-INF/resources (#8286)

Fixes #8206

7 years agoAdd static helpers for creating callback data providers (#8314)
Leif Åstrand [Wed, 25 Jan 2017 06:36:25 +0000 (08:36 +0200)]
Add static helpers for creating callback data providers (#8314)

Cannot overload the same create method for this purpose since it
conflicts with T... overload. Each case is instead given its own
descriptive but still discoverable method name.

7 years agoUpdate data provider documentation to describe the new design (#8317)
Leif Åstrand [Tue, 24 Jan 2017 16:22:14 +0000 (18:22 +0200)]
Update data provider documentation to describe the new design (#8317)