]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoChange default suggestion popup width in ComboBox (#91)
Aleksi Hietanen [Thu, 8 Dec 2016 09:04:58 +0000 (11:04 +0200)]
Change default suggestion popup width in ComboBox (#91)

Closes vaadin/framework8-issues#522

7 years agoDeprecate Button#setHtmlContentAllowed (#104)
Aleksi Hietanen [Thu, 8 Dec 2016 08:57:52 +0000 (10:57 +0200)]
Deprecate Button#setHtmlContentAllowed (#104)

Fixes vaadin/framework8-issues#525

7 years agoIntroduce dedicated shared states for every core vaadin component/ext. (#98) pr101/r2
Denis [Thu, 8 Dec 2016 08:57:38 +0000 (10:57 +0200)]
Introduce dedicated shared states for every core vaadin component/ext. (#98)

* Introduce dedicated shared states for every core vaadin component/ext.

Updated components are:
- PasswordField
- CustomField
- AbstractListing
- AbstractMultiSelect
- ColorPicker
- ColorPickerArea
- DataCommunicator
- Responsive
- AbstractListingExtension
- DetailsManager
- AbstractRenderer
- ClickableRenderer
- ButtonRenderer
- CheckBoxRenderer
- DateRenderer
- HtmlRenderer
- ImageRenderer
- NumberRenderer
- ProgressBarRenderer
- TextRenderer

Fixes vaadin/framework8-issues#480.

7 years agoImplement "afterViewChange()" as no-op by default. (#99)
Denis [Wed, 7 Dec 2016 15:16:45 +0000 (17:16 +0200)]
Implement "afterViewChange()" as no-op by default. (#99)

* Implement "afterViewChange()" as no-op by default.

ViewChangeListener is functional interface now and has empty
implementation for "afterViewChange()"

Fixes vaadin/framework8-issues#502

7 years agoDon't use V8 FieldEvents classes in v7 compatibility module. (#93)
Denis [Wed, 7 Dec 2016 11:27:43 +0000 (13:27 +0200)]
Don't use V8 FieldEvents classes in v7 compatibility module. (#93)

* Don't use V8 FieldEvents classes in v7 compatibility module.

Fixes vaadin/framework8-issues#363

7 years agoRemove internal method from application-facing API (#97)
Leif Åstrand [Wed, 7 Dec 2016 11:05:33 +0000 (13:05 +0200)]
Remove internal method from application-facing API (#97)

7 years agoReplace box-sizing @include with bare box-sizing (#92)
Artur [Wed, 7 Dec 2016 06:35:00 +0000 (08:35 +0200)]
Replace box-sizing @include with bare box-sizing (#92)

Browsers support unprefixed box-sizing since:
Chrome 10
Firefox 29
Opera 10
Safari 5.1
iOS 5.1
IE 8

7 years agoAdd read-only support for single and multi select views for Grid. (#84)
Denis [Tue, 6 Dec 2016 19:38:08 +0000 (21:38 +0200)]
Add read-only support for single and multi select views for Grid. (#84)

* Add read-only support for single and multi select views for Grid.

Fixes vaadin/framework8-issues#516

7 years agoProvide a shorthand for the HasValue::clear() method. (#94)
Denis [Tue, 6 Dec 2016 19:34:59 +0000 (21:34 +0200)]
Provide a shorthand for the HasValue::clear() method. (#94)

* Provide a shorthand for the HasValue::clear() method.

Fixes vaadin/framework8-issues#496

7 years agoFix classpath related tests under Windows
Ilia Motornyi [Tue, 6 Dec 2016 17:53:39 +0000 (19:53 +0200)]
Fix classpath related tests under Windows

7 years agoAdd Listing.setItems(Stream) (#90)
Pekka Hyvönen [Mon, 5 Dec 2016 13:17:30 +0000 (15:17 +0200)]
Add Listing.setItems(Stream) (#90)

* Add Listings.setItems(Stream)

Fixes vaadin/framework8-issues#447

Change-Id: I4d557d346117d308b80a20effbf5359bebe1e8bb

7 years agoAdd screenshot submodule to master branch (#88)
Teemu Suo-Anttila [Mon, 5 Dec 2016 11:53:53 +0000 (13:53 +0200)]
Add screenshot submodule to master branch (#88)

7 years agoSeparate Binding and BindingBuilder (#80)
Leif Åstrand [Mon, 5 Dec 2016 11:15:08 +0000 (13:15 +0200)]
Separate Binding and BindingBuilder (#80)

BindingBinder is API that is used before calling bind()

Binding is API that is used after calling bind()

7 years agoAdd a SelectionMode shorthand for Grid. (#83)
Pekka Hyvönen [Mon, 5 Dec 2016 11:11:59 +0000 (13:11 +0200)]
Add a SelectionMode shorthand for Grid. (#83)

* Add a SelectionMode shorthand for Grid.

Hides setSelectionModel(...) by making it protected.
Refactores the usage of constructor / extend method for Abstract-, Single- and MultiSelectionModelImpl.

Fixes vaadin/framework8-issues#519

Change-Id: I48c30886450506639be9ee6e21c45b0c06755c88

7 years agoExtends declarative tests for selection components for "data-" attribute (#85)
Denis [Mon, 5 Dec 2016 09:21:05 +0000 (12:21 +0300)]
Extends declarative tests for selection components for "data-" attribute (#85)

Fixes vaadin/framework8-issues#392

7 years agoIntroduce VaadinServiceInitListener (#18628) (#79)
Leif Åstrand [Fri, 2 Dec 2016 14:17:15 +0000 (16:17 +0200)]
Introduce VaadinServiceInitListener (#18628) (#79)

7 years agoFix root POM SCM entries to point to GitHub (#73)
Henri Sara [Fri, 2 Dec 2016 10:35:28 +0000 (12:35 +0200)]
Fix root POM SCM entries to point to GitHub (#73)

7 years agoReplace github.com/vaadin/vaadin with github.com/vaadin/framework (#75)
Artur [Fri, 2 Dec 2016 09:44:53 +0000 (11:44 +0200)]
Replace github.com/vaadin/vaadin with github.com/vaadin/framework (#75)

7 years agoRemove obsolete release scripts (#74)
Henri Sara [Fri, 2 Dec 2016 09:19:20 +0000 (11:19 +0200)]
Remove obsolete release scripts (#74)

7 years agoRemove Gerrit mentions from contribution guide
Artur [Fri, 2 Dec 2016 08:44:10 +0000 (10:44 +0200)]
Remove Gerrit mentions from contribution guide

7 years agoAdd comments clarifying the use of UUID for security tokens
Leif Åstrand [Thu, 1 Dec 2016 08:44:34 +0000 (10:44 +0200)]
Add comments clarifying the use of UUID for security tokens

Change-Id: I3f48f9bb42b36d0a46926ec753f30df95491720b

7 years agoFix focus and blur tests for CheckBoxGroup, NativeSelect and RatioButtonGroup
Aleksi Hietanen [Wed, 30 Nov 2016 12:24:23 +0000 (14:24 +0200)]
Fix focus and blur tests for CheckBoxGroup, NativeSelect and RatioButtonGroup

Change-Id: I8454ef0895708eaee0bb2771b28c0a0db2fc76a4

7 years agoAllow to set caption for the empty selection in a ComboBox.
Denis Anisimov [Tue, 29 Nov 2016 12:27:20 +0000 (15:27 +0300)]
Allow to set caption for the empty selection in a ComboBox.

Fixes vaadin/framework8-issues#163

Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb

7 years agoAdd test for NativeSelect caption generators 8.0.0.alpha8
Teemu Suo-Anttila [Wed, 30 Nov 2016 14:14:57 +0000 (16:14 +0200)]
Add test for NativeSelect caption generators

Change-Id: Id074c55b1c29dfb1cc499d918422bcf1c7bce0ba

7 years agoSmall fixes to javadocs
elmot [Wed, 30 Nov 2016 14:47:35 +0000 (16:47 +0200)]
Small fixes to javadocs

Change-Id: Ibbfe62395eb93f9349b65edba4425d9782ce15f9

7 years agoFix ListDataProvider and SortOrder javadoc
Henri Sara [Wed, 30 Nov 2016 13:44:10 +0000 (15:44 +0200)]
Fix ListDataProvider and SortOrder javadoc

Change-Id: I99895bd13ecbc34bc85409fcde02a65e9f9a2f13

7 years agoUse item caption generator in NativeSelect
Teemu Suo-Anttila [Wed, 30 Nov 2016 13:04:17 +0000 (15:04 +0200)]
Use item caption generator in NativeSelect

Change-Id: I9725ce727fe06ac5f911e6b68108ad610a615434

7 years agoNoSelectionModel for Grid
Pekka Hyvönen [Tue, 29 Nov 2016 14:29:39 +0000 (16:29 +0200)]
NoSelectionModel for Grid

Fixes vaadin/framework8-issues#518

Change-Id: Ice6bdef03c3b62dd2c74376f98cfb8004dfa0bbf

7 years agoAdd AbstractSelectionModel for Grid
Pekka Hyvönen [Tue, 29 Nov 2016 14:43:25 +0000 (16:43 +0200)]
Add AbstractSelectionModel for Grid

Also adds shared state for grid's selection models.
This is mostly for making it possible later to modify the selection models,
without breaking backwards API compatibility and having to duplicate code.

Change-Id: If93720df282bf5ca3aff17a20b455d60b33f764c

7 years agoEnable select all checkbox for MultiSelection Grid.
Pekka Hyvönen [Mon, 21 Nov 2016 10:54:17 +0000 (12:54 +0200)]
Enable select all checkbox for MultiSelection Grid.

It is by default shown only if used data provider is in-memory.
Can be configured to be explicitly shown or hidden.

Change-Id: I50569d915604c3722a22e14b7628663d5680ed83

7 years agoFix typo in README.md
Aleksi Hietanen [Tue, 29 Nov 2016 14:49:42 +0000 (16:49 +0200)]
Fix typo in README.md

Change-Id: I04a4bf8dbed15960682095ff78c45f38d75db37b

7 years agoFix sorted data provider data change event propagation
Teemu Suo-Anttila [Tue, 29 Nov 2016 12:16:23 +0000 (14:16 +0200)]
Fix sorted data provider data change event propagation

This patch adds a test set for BackEndDataProvider.

Change-Id: I32dfedb692ba71247d74a682f79afdfaf8751de3

7 years agoProvide access to window order position in windows stack (#14325).
Denis Anisimov [Wed, 23 Nov 2016 17:11:33 +0000 (20:11 +0300)]
Provide access to window order position in windows stack (#14325).

Change-Id: I259c659987b5b15b354e16d0be1523f4ede809f0

7 years agoRename FilteringDataProviderWrapper to DataProviderWrapper
Teemu Suo-Anttila [Tue, 29 Nov 2016 10:31:06 +0000 (12:31 +0200)]
Rename FilteringDataProviderWrapper to DataProviderWrapper

Change-Id: If4f0237f6116482b06fe7f2245433822f427e093

7 years agoGrid merging footer cells
elmot [Wed, 23 Nov 2016 10:30:54 +0000 (12:30 +0200)]
Grid merging footer cells

Change-Id: I24895c7ae602ffc9a7812dcc441e99ac670356e2

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

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

Change-Id: Ia52bbef412fc8701f6b862960dfed9c08c17ff7a

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

Change-Id: Ib8976949108888deac51a90eb775445f0b5cecf8

8 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

8 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

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

Change-Id: I06d8e631448e419536dfbb9188a5934c6a7bad37

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7229

8 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

8 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

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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