]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoRemove ItemFilter from ComboBox
Teemu Suo-Anttila [Tue, 29 Nov 2016 09:20:03 +0000 (11:20 +0200)]
Remove ItemFilter from ComboBox

Change-Id: I3564c3afc00b2fb8849e46688c99b418e76ba937

7 years agoCorrect all tests that introspect classpath for Vaadin classes.
Denis Anisimov [Mon, 28 Nov 2016 07:10:21 +0000 (10:10 +0300)]
Correct all tests that introspect classpath for Vaadin classes.

Fixes vaadin/framework8-issues#399
RemoveListenersDeprecatedTest test is fixed.
Corrections are made to make the test above passes.

Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac

7 years agoMake it possible to reset single select values
Leif Åstrand [Tue, 22 Nov 2016 07:33:11 +0000 (09:33 +0200)]
Make it possible to reset single select values

Change-Id: I60c5d9f183d1955fbbd3341e3ac9f93aae755f80

7 years agoAdd MultiSelect support for Grid
Pekka Hyvönen [Fri, 11 Nov 2016 07:41:43 +0000 (09:41 +0200)]
Add MultiSelect support for Grid

Still missing following things coming in next patches:
- select all checkbox
- firing an event when data provider is changed in grid
- read only selection models for grid

Part 1 for vaadin/framework8-issues#232

Change-Id: Ib2c7c81a838f43cb7c521a56d50139c91961f54a

7 years agoProvide in-memory sorting information in Query
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:53:26 +0000 (16:53 +0200)]
Provide in-memory sorting information in Query

Change-Id: Iebafff6079816c08e5a4d144f6891d1379751f12

7 years agoUnify usage of HandlerRegistration #19267
Denis Anisimov [Thu, 24 Nov 2016 10:54:55 +0000 (13:54 +0300)]
Unify usage of HandlerRegistration #19267

All Vaadin components use the old HandlerRegistration except Grid
renderers and ServerConnector. Since most Vaadin components extend GWT
components we can't change to the bindary version until GWT does, so the
only way we can unify the usage is using the old version.

Change-Id: I82a5b66df977fe0e7bcab7e981332d0cf7e0bdbf

7 years agoEnsure all BeanBinding chaining methods return BeanBinding
Leif Åstrand [Mon, 28 Nov 2016 10:44:58 +0000 (12:44 +0200)]
Ensure all BeanBinding chaining methods return BeanBinding

Change-Id: Ifbd5f278c83fcadbe6cf21d6c1f40914b35c4aba

7 years agoSimplify Binding API by removing the FIELDTYPE type parameter
Leif Åstrand [Mon, 28 Nov 2016 09:08:38 +0000 (11:08 +0200)]
Simplify Binding API by removing the FIELDTYPE type parameter

The type parameter is mainly used internally, the only externally facing
use is to define the exact type of Binding.getField. Code that has
access to a typed instance of Binding does typically also have direct
access to the field instance, so there's no real use for the type
parameter.

Change-Id: Idf2ab18a79ec5f0a7cef83705b8084fbf7014c10

7 years agoRemove unused field in ComboBox
Teemu Suo-Anttila [Mon, 28 Nov 2016 14:23:45 +0000 (16:23 +0200)]
Remove unused field in ComboBox

Change-Id: Ie4f0af1389a97ce18fb4a6c8f7ccdf5bbdc00d32

7 years agoAdd ComboBox custom filtering methods and tests
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:06:22 +0000 (16:06 +0200)]
Add ComboBox custom filtering methods and tests

Change-Id: I640c6a7b3b8b89eff4b007d1cb70a25bbe28167e

7 years agoAdd a fallback to Declarative*Generator
Teemu Suo-Anttila [Mon, 28 Nov 2016 14:03:22 +0000 (16:03 +0200)]
Add a fallback to Declarative*Generator

Change-Id: I7eca92ca6e2eb234000cb9c9533974fcd357d33f

7 years agoAdd filter type to DataCommunicator
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:05:29 +0000 (16:05 +0200)]
Add filter type to DataCommunicator

Change-Id: Id7948e2f81b6a9c593ce8b71bb3a61b578344af9

7 years agoType Listing for DataProvider to allow custom filter types
Teemu Suo-Anttila [Fri, 25 Nov 2016 11:56:36 +0000 (13:56 +0200)]
Type Listing for DataProvider to allow custom filter types

Listing has been moved from AbstractListing to each individual Component.

ComboBox is now typed to String filter.

Fixes issues with declarative read of items.

Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50

7 years agoUse state classes for Embedded, InlineDateField and NativeButton
Henri Sara [Sat, 26 Nov 2016 06:47:28 +0000 (08:47 +0200)]
Use state classes for Embedded, InlineDateField and NativeButton

Make the components use pre-existing state classes..

Change-Id: Ieeb5232cf45682c64e6a0802732a8f2ea333a972

7 years agoAdd missing getState(boolean) methods
Henri Sara [Fri, 25 Nov 2016 16:38:07 +0000 (18:38 +0200)]
Add missing getState(boolean) methods

Change-Id: Icb43511234b9c2e56102976929e7382e0bbf0b5f

7 years agoAdd shared state for CustomComponent and DragAndDropWrapper
Henri Sara [Sat, 26 Nov 2016 07:02:53 +0000 (09:02 +0200)]
Add shared state for CustomComponent and DragAndDropWrapper

Change-Id: Ib640e5ea97bccffb889d3213a4f588b828fb07bf

7 years agoAdd state classes for Abstract(Single)ComponentContainer
Henri Sara [Fri, 25 Nov 2016 15:59:01 +0000 (17:59 +0200)]
Add state classes for Abstract(Single)ComponentContainer

Change-Id: I6939fbc6f7aed0897f50b19f85fb62d0b8368cc7

7 years agoChange addXXListener method in VaadinService to return Registration.
Denis Anisimov [Fri, 25 Nov 2016 13:56:59 +0000 (16:56 +0300)]
Change addXXListener method in VaadinService to return Registration.

Fixes vaadin/framework8-issues#492
Old removeXXXListener methods are deprecated. New style of
unregistration is used.

Change-Id: If986dc9f8813ee7a5efc374a3facd5a8d23bc6a9

7 years agoRevert Upload listener registration changes in compatibility package
Henri Sara [Sun, 27 Nov 2016 07:28:19 +0000 (09:28 +0200)]
Revert Upload listener registration changes in compatibility package

The compatibility version should behave like the Vaadin 7 version does.

Change-Id: Ia30407e886c7361c35ceaaae94c0dfcf44f133ad

7 years agoProvide tests for "required indicator" property for options groups.
Denis Anisimov [Thu, 24 Nov 2016 15:15:27 +0000 (18:15 +0300)]
Provide tests for "required indicator" property for options groups.

Fixes vaadin/framework8-issues#459
This is not a fix because the issue is about AL only and it's by design.
But this patch provides tests for CheckBoxGroup and RadioButtonGroup.

Change-Id: I8d43ab435327478c7199b8b0a7739d6d1064c822

7 years agoReintroduce Grid Editor using Binder
Teemu Suo-Anttila [Thu, 17 Nov 2016 15:05:28 +0000 (17:05 +0200)]
Reintroduce Grid Editor using Binder

This patch restores the bean type to BinderValidationStatusHandler

Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0

7 years agoUpgrade to TestBench 5 alpha1 and JUnit 4.12
Artur Signell [Thu, 24 Nov 2016 12:52:15 +0000 (14:52 +0200)]
Upgrade to TestBench 5 alpha1 and JUnit 4.12

Change-Id: Ib3f88b6aca37ebb1962b4692df0c4ba11fe92bc2

7 years agoData should be updated when it's set for disabled components.
Denis Anisimov [Mon, 19 Sep 2016 13:26:32 +0000 (16:26 +0300)]
Data should be updated when it's set for disabled components.

Fixes vaadin/framework8-issues#286

Change-Id: I0d6cf49addfd558d43671ad2953dee54529392cd

7 years agoGrid merging header cells
elmot [Tue, 22 Nov 2016 10:49:37 +0000 (12:49 +0200)]
Grid merging header cells

Change-Id: Ia52bbef412fc8701f6b862960dfed9c08c17ff7a

7 years agoProvide declarative support for listing components.
Denis Anisimov [Mon, 19 Sep 2016 13:26:32 +0000 (16:26 +0300)]
Provide declarative support for listing components.

Fixes vaadin/framework8-issues#388

Change-Id: I4f8045bba51d308f4343a1f6d01b3f1ddca63e69

7 years agoAdd helper for updating the diffstate of a component
Leif Åstrand [Tue, 22 Nov 2016 07:22:56 +0000 (09:22 +0200)]
Add helper for updating the diffstate of a component

Change-Id: I7a7068bd6fcc86a8bbbc8693d8be4a388ce55a25

7 years agoRefactor listener registration creation to reduce boilerplate
Leif Åstrand [Wed, 23 Nov 2016 07:52:07 +0000 (09:52 +0200)]
Refactor listener registration creation to reduce boilerplate

Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff

7 years agoRemove unused theme getter (#11412)
Artur Signell [Wed, 11 May 2016 20:16:01 +0000 (23:16 +0300)]
Remove unused theme getter (#11412)

Change-Id: I391ed3f67df6bf2c53f7e2ffcf1f05c558528f95

7 years agoFix field value change event handling for unbound binder
Aleksi Hietanen [Fri, 18 Nov 2016 12:44:56 +0000 (14:44 +0200)]
Fix field value change event handling for unbound binder

Unbound binder now correctly sets hasChanges and sends binder
status change events. In addition, hasChanges no longer returns
true in the case where a bean is bound and changes to the bean
were valid.

Change-Id: Ia0a0915c2a205461a2a4b1bfd393413520f863eb

7 years agoImplement chaining of filters for data providers
Teemu Suo-Anttila [Tue, 22 Nov 2016 11:07:32 +0000 (13:07 +0200)]
Implement chaining of filters for data providers

Change-Id: I7b7dced73e19b9b4e4358b95878eb31fe5c87346

7 years agoAdd UI.access() safeguard for shared data providers
Teemu Suo-Anttila [Tue, 22 Nov 2016 12:14:43 +0000 (14:14 +0200)]
Add UI.access() safeguard for shared data providers

Change-Id: I1d2b0f4299cee944b39cda5fd26612b560e8c4e7

7 years agoAdd DataProvider.setFilter method
Teemu Suo-Anttila [Mon, 21 Nov 2016 16:43:41 +0000 (18:43 +0200)]
Add DataProvider.setFilter method

Change-Id: I87193d3d2c66a880c2be165cfd49926fa290010b

7 years agoAdd DataProvider.convertFilter, fix ListDataProvider filtering
Teemu Suo-Anttila [Mon, 21 Nov 2016 15:35:19 +0000 (17:35 +0200)]
Add DataProvider.convertFilter, fix ListDataProvider filtering

Change-Id: Ic90ae83acf5d77aa9b0f485dff4e55bba5296fa7

7 years agoAdd Filter parameter to DataProvider
Teemu Suo-Anttila [Mon, 21 Nov 2016 14:37:10 +0000 (16:37 +0200)]
Add Filter parameter to DataProvider

Change-Id: Ic65b8decb3ac8d4dde9bca6cfb40a2a70f461e91

7 years agoAdd filter type parameter for Query
Henri Sara [Mon, 21 Nov 2016 12:54:05 +0000 (14:54 +0200)]
Add filter type parameter for Query

Change-Id: If9554c67900cc854e3ba6912fefad19e043b1d62

7 years agoAdd HTML/Component support to Grid Footers
Teemu Suo-Anttila [Wed, 16 Nov 2016 09:19:09 +0000 (11:19 +0200)]
Add HTML/Component support to Grid Footers

Change-Id: Iaffe3214163f66c0617a5bea4b79f4ae39d0bc08

7 years agoMake ValoTheme subclassable
Leif Åstrand [Thu, 17 Nov 2016 18:43:45 +0000 (20:43 +0200)]
Make ValoTheme subclassable

Change-Id: Ib8976949108888deac51a90eb775445f0b5cecf8

7 years agoRenaming DataSource -> DataProvider to avoid collisions with javax.sql.DataSource 8.0.0.alpha7
elmot [Fri, 11 Nov 2016 19:29:56 +0000 (21:29 +0200)]
Renaming DataSource -> DataProvider to avoid collisions with javax.sql.DataSource

Small javadoc change after code review.

Change-Id: I62ba9c946e84234e4c3e183f449f4faec5600035

7 years agoSmall documentation correction (from github).
Denis Anisimov [Mon, 7 Nov 2016 10:39:29 +0000 (12:39 +0200)]
Small documentation correction (from github).

Original pull request is https://github.com/vaadin/vaadin/pull/68.

Change-Id: If6dd0490a52cab3fc0bf59224546e0d295fe666c

7 years agoFix DeprecatedTest under Windows
elmot [Thu, 10 Nov 2016 15:32:51 +0000 (17:32 +0200)]
Fix DeprecatedTest under Windows

Change-Id: I06d8e631448e419536dfbb9188a5934c6a7bad37

7 years agoRenaming DataSource -> DataProvider to avoid collisions with javax.sql.DataSource
elmot [Thu, 10 Nov 2016 13:30:11 +0000 (15:30 +0200)]
Renaming DataSource -> DataProvider to avoid collisions with javax.sql.DataSource

Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11

7 years agoRemove HasValue from Grid
Pekka Hyvönen [Mon, 7 Nov 2016 07:16:37 +0000 (09:16 +0200)]
Remove HasValue from Grid

Extracts grid single selection into separate class, which
is an extension like in V7. Using an extension makes it
possible to easily add multiselect and no-select modes back,
and support custom selection models.

Adds Grid:asSingleSelect() SingleSelect so that grid can be
used as a Select in a binder.

Removes all remaining references to SelectionModels in Listings.
Renames SingleSelectionChangeEvent to SingleSelectionEvent, because
then it is unified with selection listener and MultiSelectionEvent.

Fixes vaadin/framework8-issues#424
Fixes vaadin/framework8-issues#425

Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3

7 years agoUse final modifier where appropriate
Per-Åke Minborg [Fri, 28 Oct 2016 17:24:51 +0000 (10:24 -0700)]
Use final modifier where appropriate

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226

7 years agoCreate script GeneratePostPublishReport.py
Aleksi Hietanen [Fri, 4 Nov 2016 13:00:31 +0000 (15:00 +0200)]
Create script GeneratePostPublishReport.py

Also improves GenerateBuildTestAndStagingReport and GeneratePublishReportPart1

Change-Id: Ida5a004e6d4533dc04a8e7ffc76078f970bdd2ea

7 years agoReplace EMPTY_SET and EMPTY_LIST with emptySet() and emptyList()
Per-Åke Minborg [Fri, 28 Oct 2016 22:23:52 +0000 (15:23 -0700)]
Replace EMPTY_SET and EMPTY_LIST with emptySet() and emptyList()

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722c

7 years agoUse lambdas where appropriate
Per-Åke Minborg [Fri, 28 Oct 2016 23:01:40 +0000 (16:01 -0700)]
Use lambdas where appropriate

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722d

7 years agoReplace Charset.forName("UTF--8") with StandardCharsets.UTF_8
Per-Åke Minborg [Fri, 28 Oct 2016 23:08:13 +0000 (16:08 -0700)]
Replace Charset.forName("UTF--8") with StandardCharsets.UTF_8

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722e

7 years agoExplicit type args can be inferred
Per-Åke Minborg [Sat, 29 Oct 2016 04:57:58 +0000 (21:57 -0700)]
Explicit type args can be inferred

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7231

7 years agoReplace implicit for-loop with foreach
Per-Åke Minborg [Sat, 29 Oct 2016 06:03:46 +0000 (23:03 -0700)]
Replace implicit for-loop with foreach

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7233

7 years agoReplace Stack with Deque
Per-Åke Minborg [Fri, 28 Oct 2016 18:40:54 +0000 (11:40 -0700)]
Replace Stack with Deque

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722a

7 years agoReplace Hashtable
Per-Åke Minborg [Fri, 28 Oct 2016 18:07:23 +0000 (11:07 -0700)]
Replace Hashtable

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7229

7 years agoRename generic type parameter that hides another type parameter
Per-Åke Minborg [Sat, 29 Oct 2016 06:09:17 +0000 (23:09 -0700)]
Rename generic type parameter that hides another type parameter

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7235

7 years agoRemove another redundant cast
Per-Åke Minborg [Sat, 29 Oct 2016 06:06:25 +0000 (23:06 -0700)]
Remove another redundant cast

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7234

7 years agoRemove redundant casting
Per-Åke Minborg [Sat, 29 Oct 2016 05:54:08 +0000 (22:54 -0700)]
Remove redundant casting

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232

7 years agoRemove redundant array creation for varargs
Per-Åke Minborg [Sat, 29 Oct 2016 04:17:38 +0000 (21:17 -0700)]
Remove redundant array creation for varargs

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722f

7 years agoMake sure lock() is released in finally block
Per-Åke Minborg [Fri, 28 Oct 2016 17:32:12 +0000 (10:32 -0700)]
Make sure lock() is released in finally block

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7227

7 years agoReplace assertEquals(true|false,) with assert(True|False)
Per-Åke Minborg [Fri, 28 Oct 2016 16:57:32 +0000 (09:57 -0700)]
Replace assertEquals(true|false,) with assert(True|False)

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7224

7 years agoFlip parameters of .assertEquals()
Per-Åke Minborg [Fri, 28 Oct 2016 17:09:50 +0000 (10:09 -0700)]
Flip parameters of .assertEquals()

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7225

7 years agoReplace Vector with List and ArrayList
Per-Åke Minborg [Fri, 28 Oct 2016 17:48:46 +0000 (10:48 -0700)]
Replace Vector with List and ArrayList

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7228

7 years agoScrolling down submenus via scrollbar (MenuBar.isAutoOpen()) (#10456)
Anna Miroshnik [Thu, 30 Oct 2014 11:30:48 +0000 (14:30 +0300)]
Scrolling down submenus via scrollbar (MenuBar.isAutoOpen()) (#10456)

full name of defect: Can't scroll down submenus using the scrollbar when
MenuBar.isAutoOpen() == true
Tests.

Change-Id: I2cbe797c96dc6a780df147e165babb23f7fbdef3

7 years agoPass array of length when possible
Per-Åke Minborg [Fri, 28 Oct 2016 16:03:12 +0000 (09:03 -0700)]
Pass array of length when possible

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7220

7 years agoUse Collection .isEmpty() over .size() == 0
Per-Åke Minborg [Fri, 28 Oct 2016 16:01:19 +0000 (09:01 -0700)]
Use Collection .isEmpty() over .size() == 0

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721f

7 years agoUse String .isEmpty() over .equals("")
Per-Åke Minborg [Fri, 28 Oct 2016 15:58:20 +0000 (08:58 -0700)]
Use String .isEmpty() over .equals("")

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721e

7 years agoUse chain of .append() methods instead of String concatenation
Per-Åke Minborg [Fri, 28 Oct 2016 15:46:30 +0000 (08:46 -0700)]
Use chain of .append() methods instead of String concatenation

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721d

7 years agoAdd method to auto scale calendar time range (#17715)
Steven Spungin [Fri, 1 May 2015 15:44:42 +0000 (11:44 -0400)]
Add method to auto scale calendar time range (#17715)

Change-Id: I193fe9e8a0ee03d66e4b63d5f85c0e9a9233c0de

7 years agoCreate MultiSelect interface to replace Multi selection model.
Denis Anisimov [Wed, 2 Nov 2016 12:16:53 +0000 (14:16 +0200)]
Create MultiSelect interface to replace Multi selection model.

Fixes vaadin/framework8-issues#423

Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192

7 years agoAdd demo validation and deployment status traffic light to new build report
Aleksi Hietanen [Thu, 3 Nov 2016 14:56:54 +0000 (16:56 +0200)]
Add demo validation and deployment status traffic light to new build report

Change-Id: I0cd71e14c213d3c96a41599aaa03f33b15b797c7

7 years agoImprove GenerateBuildTestAndStagingReport 8.0.0.alpha6
Aleksi Hietanen [Thu, 3 Nov 2016 07:26:11 +0000 (09:26 +0200)]
Improve GenerateBuildTestAndStagingReport

- Filters out testbench from @since check
- Adds links to staging repositories
- Adds direct links to apidiffs for each module

Change-Id: I4b83b68dc1d0ab94252fb23303e3fcc4a2a041bc

7 years agoRevert "Convert to for-each loop, Stream and switch-over-strings"
Pekka Hyvönen [Thu, 3 Nov 2016 07:29:32 +0000 (07:29 +0000)]
Revert "Convert to for-each loop, Stream and switch-over-strings"

This reverts commit 73078c7560d40db80dae6a6fb8047c29a92dd8d0.

Change-Id: I2757232d1312ae5162550d9fafb26c2d657c1b7f

7 years agoRemove redundant invocations of .toString()
Per-Åke Minborg [Fri, 28 Oct 2016 15:42:11 +0000 (08:42 -0700)]
Remove redundant invocations of .toString()

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721c

7 years agoRemove manual array copy
Per-Åke Minborg [Fri, 28 Oct 2016 15:39:13 +0000 (08:39 -0700)]
Remove manual array copy

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721b

7 years agoReplace single character Strings with character literals
Per-Åke Minborg [Fri, 28 Oct 2016 15:34:28 +0000 (08:34 -0700)]
Replace single character Strings with character literals

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721a

7 years agoRemove Boolean constructor invocation and add foreach
Per-Åke Minborg [Fri, 28 Oct 2016 15:32:15 +0000 (08:32 -0700)]
Remove Boolean constructor invocation and add foreach

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7219

7 years agoConvert to for-each loop, Stream and switch-over-strings
Per-Åke Minborg [Fri, 28 Oct 2016 15:28:56 +0000 (08:28 -0700)]
Convert to for-each loop, Stream and switch-over-strings

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7218

7 years agoReplace String.indexOf with String.contains
Per-Åke Minborg [Fri, 28 Oct 2016 06:30:31 +0000 (23:30 -0700)]
Replace String.indexOf with String.contains

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7217

7 years agoReplace with multi-catch
Per-Åke Minborg [Fri, 28 Oct 2016 06:27:16 +0000 (23:27 -0700)]
Replace with multi-catch

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7216

7 years agoConvert to try-with-resource
Per-Åke Minborg [Fri, 28 Oct 2016 06:25:02 +0000 (23:25 -0700)]
Convert to try-with-resource

And also replace "utf-8" with StandardCharsets.UTF_8

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7215

7 years agoUse diamond in generic creation where possible
Per-Åke Minborg [Fri, 28 Oct 2016 06:14:17 +0000 (23:14 -0700)]
Use diamond in generic creation where possible

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7214

7 years agoAdd @Override annotations
Per-Åke Minborg [Fri, 28 Oct 2016 06:06:44 +0000 (23:06 -0700)]
Add @Override annotations

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7240

7 years agoAdd braces
Per-Åke Minborg [Fri, 28 Oct 2016 05:51:48 +0000 (22:51 -0700)]
Add braces

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7213

7 years agoImprove script GenerateBuildTestAndStagingReport
Aleksi Hietanen [Wed, 2 Nov 2016 12:25:11 +0000 (14:25 +0200)]
Improve script GenerateBuildTestAndStagingReport

Change-Id: I3107f7fbbaf8cc17020b8e2cc9cf6a5f7f328c50

7 years agoUse operator assignments where possible
Per-Åke Minborg [Fri, 28 Oct 2016 05:49:26 +0000 (22:49 -0700)]
Use operator assignments where possible

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7212

7 years agoRemove redundant casts
Per-Åke Minborg [Fri, 28 Oct 2016 05:42:59 +0000 (22:42 -0700)]
Remove redundant casts

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7211

7 years agoAdd private constructor for utility classes
Per-Åke Minborg [Fri, 28 Oct 2016 05:28:51 +0000 (22:28 -0700)]
Add private constructor for utility classes

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210

7 years agoMake SelectionModel API only server side.
Denis Anisimov [Tue, 1 Nov 2016 13:27:28 +0000 (15:27 +0200)]
Make SelectionModel API only server side.

Client side doesn't use selection model anymore.
Fixes vaadin/framework8-issues#421

Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75

7 years agoMove read-only to AbstractFieldState (#8514)
Teemu Suo-Anttila [Wed, 2 Nov 2016 09:20:23 +0000 (11:20 +0200)]
Move read-only to AbstractFieldState (#8514)

Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676

7 years agoAdd new publish report script
Henri Sara [Tue, 1 Nov 2016 13:39:26 +0000 (15:39 +0200)]
Add new publish report script

Change-Id: Ie71a9ddf99e6e381ed5d5d873bc8eba7cefa1665

7 years agoInitial version for new combined build, testing and staging report script
Aleksi Hietanen [Wed, 2 Nov 2016 11:43:52 +0000 (13:43 +0200)]
Initial version for new combined build, testing and staging report script

Change-Id: I93c34fc289df6afa5adaea89fcdb1b7f5e494cae

7 years agoCreate SingleSelect semantic interface which extends HasValue.
Denis Anisimov [Wed, 2 Nov 2016 08:47:22 +0000 (10:47 +0200)]
Create SingleSelect semantic interface which extends HasValue.

Change-Id: I132f814105ce97cf625e59f78731bea778ae2cfd

7 years agoClean up state hierarchy for AbstractFieldState
Teemu Suo-Anttila [Wed, 2 Nov 2016 09:02:16 +0000 (11:02 +0200)]
Clean up state hierarchy for AbstractFieldState

Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f

7 years agoMove setReadOnly from Component to HasValue
Teemu Suo-Anttila [Thu, 27 Oct 2016 11:53:13 +0000 (14:53 +0300)]
Move setReadOnly from Component to HasValue

Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced

7 years agoAdd Bindinding.setRequired
Pekka Hyvönen [Tue, 1 Nov 2016 09:53:44 +0000 (11:53 +0200)]
Add Bindinding.setRequired

Shorthand for making field show required indicator and validating against empty.
Removes obsolete NotNullValidator and NotEmptyValidator. Latter is still used
in some tests, that why it is still in test packages.

Fixes vaadin/framework8-issues#29

Change-Id: Ib116739a20a0bbd1b1460423ee36ed2752c5496a

7 years agoIntroduces ValidationResult interface to replace Result in validators.
Denis Anisimov [Tue, 1 Nov 2016 09:38:17 +0000 (11:38 +0200)]
Introduces ValidationResult interface to replace Result in validators.

Fixes vaadin/framework8-issues#414

Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735

7 years agoAdd error message provider to provide translations
Teemu Suo-Anttila [Tue, 1 Nov 2016 09:42:15 +0000 (11:42 +0200)]
Add error message provider to provide translations

Change-Id: I657535d377c471369e8c77fa1db946c490023939

7 years agoReplace setRequired & HasRequired with setRequiredIndicator
Pekka Hyvönen [Thu, 27 Oct 2016 13:13:44 +0000 (16:13 +0300)]
Replace setRequired & HasRequired with setRequiredIndicator

Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy).
Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect.
Internally it is still handled on AbstractComponent & -Connector level.
Changes the declarative syntax, required -> required-indicator-visible.

Fixes vaadin/framework8-issue#419

Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a

7 years agoAdd target test-all for UI tests
Henri Sara [Tue, 1 Nov 2016 08:51:49 +0000 (10:51 +0200)]
Add target test-all for UI tests

The target allows running both normal and server integration tests
without cleaning the screenshot directory in between.

Change-Id: Ic0d5db325b831114434a83c7d77be36ac8b20a61

7 years agoImplement focus/blur events for RadioButtonGroup.
Denis Anisimov [Sun, 30 Oct 2016 16:11:21 +0000 (18:11 +0200)]
Implement focus/blur events for RadioButtonGroup.

Fixes vaadin/framework8-issues#333

Change-Id: I55f5d6a0cd690f2c0b5e757318a5f528a67ef34e

7 years agoM-day calendar event is hidden if firstVisibleHourOfDay is set (#14737)
Anna Miroshnik [Fri, 24 Oct 2014 16:56:35 +0000 (20:56 +0400)]
M-day calendar event is hidden if firstVisibleHourOfDay is set (#14737)

Calendar week and day views should be correct when using
setFirstVisibleHourOfDay() and the end event time is 00:00 of the
following day.

Fix + Tests.

Change-Id: If9f42de5e9c476cb48a2f169f150b42a9c0ab6c2

7 years agoImplement focus/blur listeners for NativeSelect.
Denis Anisimov [Wed, 26 Oct 2016 13:22:00 +0000 (16:22 +0300)]
Implement focus/blur listeners for NativeSelect.

Fixes vaadin/framework8-issues#332

Change-Id: I19996ea83ed1fbe2b115d92d6be5e6a5e158f283

7 years agoUpdate ServletIntegrationUI to use Valo
Aleksi Hietanen [Thu, 27 Oct 2016 07:42:27 +0000 (10:42 +0300)]
Update ServletIntegrationUI to use Valo

Change-Id: Ib3d633a215dc4c9655612110ff23afa782d7a381