]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoAdd ValueContext to Validators
Teemu Suo-Anttila [Tue, 25 Oct 2016 13:28:15 +0000 (16:28 +0300)]
Add ValueContext to Validators

Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5

8 years agoRename Binder methods
Pekka Hyvönen [Tue, 25 Oct 2016 12:28:11 +0000 (15:28 +0300)]
Rename Binder methods

save -> writeBean, saveIfValid -> writeBeanIfValid,
load -> readBean, bind -> setBean, unbind -> removeBean.

Now setBean accepts null to reset the bean instead of throwing NPE.

Closes vaadin/framework8-issues#91

Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234

8 years agoDisable default null representation one way converter.
Denis Anisimov [Tue, 25 Oct 2016 14:15:35 +0000 (17:15 +0300)]
Disable default null representation one way converter.

Fixes vaadin/framework8-issues/#404

Change-Id: I9e07a7de5f67bbd7a5a59cf10cc1a8579cdfbbad

8 years agoUpdate to GWT 2.8.0 Final
Pekka Hyvönen [Mon, 24 Oct 2016 13:31:04 +0000 (16:31 +0300)]
Update to GWT 2.8.0 Final

Change-Id: I17ba70add9831e3390c22c90ac35b370bf544be2

8 years agoIntroduce "shouldWriteDefaultValues" property to DesignContext.
Denis Anisimov [Mon, 24 Oct 2016 08:32:16 +0000 (11:32 +0300)]
Introduce "shouldWriteDefaultValues" property to DesignContext.

Change-Id: I979448e5af032333a6a2f7b99b11ab16c41d7b18

8 years agoRemove undocumented, unused extra default methods from Converter
Teemu Suo-Anttila [Tue, 25 Oct 2016 08:36:44 +0000 (11:36 +0300)]
Remove undocumented, unused extra default methods from Converter

Change-Id: I36a1deaadbb85d4b699c581058c80a7cd6e314fc

8 years agoGrid html/component content in headers
Aleksi Hietanen [Mon, 17 Oct 2016 07:13:33 +0000 (10:13 +0300)]
Grid html/component content in headers

Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7

8 years agoFix setValue() methods behavior null argument value + javadocs
Teemu Suo-Anttila [Wed, 19 Oct 2016 11:54:33 +0000 (14:54 +0300)]
Fix setValue() methods behavior null argument value + javadocs

Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf

8 years agoUpdate ValueChange API to use Component and HasValue<>.
Denis Anisimov [Thu, 20 Oct 2016 08:12:58 +0000 (11:12 +0300)]
Update ValueChange API to use Component and HasValue<>.

Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc

8 years agoBinder.bindInstanceFields(Object) method implementation (#47).
Denis Anisimov [Fri, 26 Aug 2016 12:04:05 +0000 (15:04 +0300)]
Binder.bindInstanceFields(Object) method implementation (#47).

Binds class instance fields using reflection using Binder.forField()

Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15

8 years agoAdd compatibility-themes to ivysettings and all-assembly-descriptor
Aleksi Hietanen [Mon, 24 Oct 2016 13:36:56 +0000 (16:36 +0300)]
Add compatibility-themes to ivysettings and all-assembly-descriptor

Change-Id: Ib898d9bcfa87e32589c43f70f796fc23999cef96

8 years agoCorrect serializable issues and test that components can be serialized
Leif Åstrand [Fri, 21 Oct 2016 08:11:27 +0000 (11:11 +0300)]
Correct serializable issues and test that components can be serialized

Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753

8 years agoUpdate Hierarchical container JavaDocs to match code (#5864)
Teemu Suo-Anttila [Mon, 24 Oct 2016 12:15:30 +0000 (15:15 +0300)]
Update Hierarchical container JavaDocs to match code (#5864)

Change-Id: Iaac3c77d80f950c683841264c4907340278354a6

8 years agoAdd ValueContext parameter for Converters
Teemu Suo-Anttila [Thu, 20 Oct 2016 08:36:45 +0000 (11:36 +0300)]
Add ValueContext parameter for Converters

Change-Id: I47179b06b9e345f5a454ac1806d0bc9bcac24bcf

8 years agoMove old SelectionEvent to V7 and create a new selection event supertype
Denis Anisimov [Thu, 20 Oct 2016 10:33:43 +0000 (13:33 +0300)]
Move old SelectionEvent to V7 and create a new selection event supertype

Change-Id: I17496c803f81fdaa98e47cbfcc9bdc91625c134f

8 years agoInitial support for null representations in Binder
Teemu Suo-Anttila [Wed, 19 Oct 2016 11:54:33 +0000 (14:54 +0300)]
Initial support for null representations in Binder

Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce

8 years agoAdd utility for outputting the full declarative syntax of components
Aleksi Hietanen [Fri, 14 Oct 2016 08:41:06 +0000 (11:41 +0300)]
Add utility for outputting the full declarative syntax of components

Change-Id: I4bc740154ffb5a30892b1859a7550a7aeff94fb3

8 years agoDerive Listing components from HasValue.
Denis Anisimov [Wed, 19 Oct 2016 10:55:20 +0000 (13:55 +0300)]
Derive Listing components from HasValue.

Single select components implement HasValue<T> and mutliselect
components implements HasValue<Set<T>>.

Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698

8 years agoFix bad pom.xml syntax introduced in previous commit 8.0.0.alpha5
Pekka Hyvönen [Fri, 21 Oct 2016 11:17:00 +0000 (14:17 +0300)]
Fix bad pom.xml syntax introduced in previous commit

Change-Id: If46751d4e9d98925db35c1a44a200f24f3396379

8 years agoAdd correct release profile to bom
Pekka Hyvönen [Fri, 21 Oct 2016 10:51:09 +0000 (13:51 +0300)]
Add correct release profile to bom

Change-Id: Ia9092ba85f86c6e0821d56ae96683dbc76ad59b0

8 years agoProvide declarative tests for all V7 field components.
Denis Anisimov [Mon, 17 Oct 2016 13:43:43 +0000 (16:43 +0300)]
Provide declarative tests for all V7 field components.

Change-Id: I6bd65efe355730f358fdbc38b9cc592e27077de2

8 years agoAdd missing groupId to bom/pom.xml
Pekka Hyvönen [Thu, 20 Oct 2016 09:40:04 +0000 (12:40 +0300)]
Add missing groupId to bom/pom.xml

Maven versions plugin will fail (NPE) otherwise.

Change-Id: I8e3f53c5f2cb79c23b41fc35116a6cf03f23f232

8 years agoRevert "Initial support for null representations in Binder"
Denis Anisimov [Thu, 20 Oct 2016 08:27:11 +0000 (08:27 +0000)]
Revert "Initial support for null representations in Binder"

This reverts commit 9f672890c143098b266ede6397e89379a38cc098.

Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39

8 years agoAdd vaadin-all as parent for bom
Pekka Hyvönen [Thu, 20 Oct 2016 08:13:55 +0000 (11:13 +0300)]
Add vaadin-all as parent for bom

Needed for distributionManagement settings.

Change-Id: Ifdcbbac82ca73c86e9056b00a01b8b5e642b8e0c

8 years agoInitial support for null representations in Binder
Teemu Suo-Anttila [Wed, 19 Oct 2016 11:54:33 +0000 (14:54 +0300)]
Initial support for null representations in Binder

Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9

8 years agoImplement basic footer support for Grid
Teemu Suo-Anttila [Tue, 18 Oct 2016 14:31:37 +0000 (17:31 +0300)]
Implement basic footer support for Grid

Change-Id: I3db51521320767a28bc3acd9586b1453764a15bc

8 years agoThrow exception from multiple columns with same identifier
Teemu Suo-Anttila [Wed, 19 Oct 2016 09:05:09 +0000 (12:05 +0300)]
Throw exception from multiple columns with same identifier

Change-Id: Ibb002cb862a7d0069ce4757e4c11482f6ae4d354

8 years agoFix Mockito/Hamcrest build classpath conflict
John Ahlroos [Wed, 28 Sep 2016 10:52:11 +0000 (13:52 +0300)]
Fix Mockito/Hamcrest build classpath conflict

* Fixes issue with Mockito classes not found on the vaadin-client test classpath
* Fixes Mockito/Hamcrest dependency conflict described in
       https://tedvinke.wordpress.com/2013/12/17/mixing-junit-hamcrest-and-mockito-explaining-nosuchmethoderror/

Reapplying after dependency leaking from root project to bom module has been fixed.

Change-Id: I0f2f368ccc6acb303f693aa34ace9e893ab7b573

8 years agoFix root dependencies from leaking to BOM
Pekka Hyvönen [Tue, 18 Oct 2016 09:32:04 +0000 (12:32 +0300)]
Fix root dependencies from leaking to BOM

Build must be updated to update version for /bom/pom.xml separately.

Change-Id: I0d8fba4a495e7f7bb3f4ed0bee000a9c3ac362f9

8 years agoAdd "valo-menu-hover" stylename to make responsive menu appear w/o adding code (...
Marc Englund [Mon, 28 Sep 2015 11:11:07 +0000 (14:11 +0300)]
Add "valo-menu-hover" stylename to make responsive menu appear w/o adding code (#19019)

Adding the optional "valo-menu-hover" style to the "valo-menu" element
will make the menu appear on hover - i.e when mousing over on desktop,
when tapping on touch devices (which also triggers hover).

Change-Id: I4ee83cdd0e4198e02782cfcda945193305c41152

8 years agoUse identifiers for Grid Columns
Teemu Suo-Anttila [Fri, 7 Oct 2016 08:37:42 +0000 (11:37 +0300)]
Use identifiers for Grid Columns

Change-Id: Id229e533fc4ff58bdd2ce3862481f72210ed9e89

8 years agoUse diffstate for JS connectors (#20335)
Leif Åstrand [Mon, 26 Sep 2016 13:19:33 +0000 (16:19 +0300)]
Use diffstate for JS connectors (#20335)

Change-Id: If2401d724f782ee76f92a6b89c54e51f90218bee

8 years agoMemory measurement test for V7&V8 Grids, 1 item and 100 000 items.
Denis Anisimov [Fri, 14 Oct 2016 08:36:18 +0000 (11:36 +0300)]
Memory measurement test for V7&V8 Grids,  1 item and 100 000 items.

Change-Id: I66b358ff40703f2713272323ba1c5ae8778c8413

8 years agoUse placeholder instead of inputPrompt for DateField
Pekka Hyvönen [Wed, 12 Oct 2016 06:02:46 +0000 (09:02 +0300)]
Use placeholder instead of inputPrompt for DateField

Renames the API server side and uses placeholder attribute for input.
Removed PopupDateFieldInputPrompt test since it tests input prompt logic,
that is no longer there after switching to native placeholder attribute
for input element.

Change-Id: I5c66456781f8703ba2e253134b88f8372825528f

8 years agoMove all themes except Valo into a new compatibility-themes package
Aleksi Hietanen [Thu, 13 Oct 2016 07:21:41 +0000 (10:21 +0300)]
Move all themes except Valo into a new compatibility-themes package

Change-Id: Ife0707c69bac83f190b5497af5fef1af43af6e46

8 years agoFix security issue in BoV custom ValidationStatusHandler example
Aleksi Hietanen [Thu, 13 Oct 2016 10:00:49 +0000 (13:00 +0300)]
Fix security issue in BoV custom ValidationStatusHandler example

Change-Id: Ib02f6c2ddc32d70f45180a03832b3dec790ecc3d

8 years agoRemove AbstractComponent.immediate
Pekka Hyvönen [Fri, 7 Oct 2016 13:06:01 +0000 (16:06 +0300)]
Remove AbstractComponent.immediate

All components are now in immediate mode by default.
V7 compatibility components will use AbstractLegacyComponent that has immediate.
V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window,
which is not in V7 compatibility packages.
Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests,
since those tested UI in not immediate mode, which is invalid now.
Removed WindowResizeListener, LazyWindowResize, test UIs,
since both used immediate and there were no test run for either.

Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f

8 years agoFix BoV custom ValidationStatusHandler example
Aleksi Hietanen [Wed, 12 Oct 2016 12:52:38 +0000 (15:52 +0300)]
Fix BoV custom ValidationStatusHandler example

Change-Id: I94d82a6200197a6d9f6b31d66153a140333b5b1e

8 years agoUpdate Binder to consistently use "bean" instead of "item"
Aleksi Hietanen [Wed, 12 Oct 2016 11:33:51 +0000 (14:33 +0300)]
Update Binder to consistently use "bean" instead of "item"

Change-Id: I1a33e451df8a28f82a02b5210ad0a538f3e12633

8 years agoAdd Grid V7/V8 memory test UIs.
Denis Anisimov [Mon, 10 Oct 2016 13:55:53 +0000 (16:55 +0300)]
Add Grid V7/V8 memory test UIs.

Change-Id: Ia5dc18bf6ec87341eff121f6deb096c8f3fc4431

8 years agoRevert NativeSelect DOM structure change 8.0.0.alpha4
Aleksi Hietanen [Fri, 7 Oct 2016 06:41:33 +0000 (09:41 +0300)]
Revert NativeSelect DOM structure change

Change-Id: I11dcd769dd81a90b41cc74707ef8d6ef4ddc9be7

8 years agoAdd push module to apiDiff profile to be able to resolve dependencies.
Denis Anisimov [Fri, 7 Oct 2016 13:38:51 +0000 (16:38 +0300)]
Add push module to apiDiff profile to be able to resolve dependencies.

Change-Id: I36a44a162e631bf21daabb4d25fd855883eaa1d6

8 years agoMake valo independent of base theme
Aleksi Hietanen [Thu, 6 Oct 2016 09:54:05 +0000 (12:54 +0300)]
Make valo independent of base theme

Change-Id: Iac0c90abb8b1e1b7e1d179af014d004aee3790a0

8 years agoSeparate immediate mode for Upload from AbstactComponent.immediate
Pekka Hyvönen [Thu, 6 Oct 2016 14:16:31 +0000 (17:16 +0300)]
Separate immediate mode for Upload from AbstactComponent.immediate

Makes it possible to remove the immediate from AbstractComponent.
Part 2 / 2 of adding proper Upload immediateMode, first was to move
old Upload to v7 compatiblity packages.

Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0

8 years agoChange japicmp profile activation to avoid run it for all modules.
Denis Anisimov [Fri, 7 Oct 2016 09:54:31 +0000 (12:54 +0300)]
Change japicmp profile activation to avoid run it for all modules.

Change-Id: Id25311621de43d247b21359a1069e694562a2762

8 years agoFix broken tests because of default theme change (Valo).
Denis Anisimov [Fri, 7 Oct 2016 10:18:06 +0000 (13:18 +0300)]
Fix broken tests because of default theme change (Valo).

Change-Id: I628220101ab74a22599e00c2ab2dfd83802c40cf

8 years agoAdd Upload to compatibility packages
Pekka Hyvönen [Thu, 6 Oct 2016 13:19:53 +0000 (16:19 +0300)]
Add Upload to compatibility packages

Step 1 / 2 of adding a new Upload Component.

Change-Id: I137d7952a540db18a616da4a944a2a44f27435da

8 years agoUse reindeer theme in servlet integration test
Teemu Suo-Anttila [Fri, 7 Oct 2016 07:21:28 +0000 (10:21 +0300)]
Use reindeer theme in servlet integration test

Change-Id: I0ccedddf621d05bdbc4cac505621979b0416f70f

8 years agoAdd new goal for japicmp to compare different API version
Denis Anisimov [Thu, 6 Oct 2016 14:17:52 +0000 (17:17 +0300)]
Add new goal for japicmp to compare different API version

Change-Id: I89a1e18932bd8db6a53c8261c7ccb85379f0a4ee

8 years agoRevert "Fix Mockito/Hamcrest build classpath conflict"
Teemu Suo-Anttila [Thu, 6 Oct 2016 10:29:03 +0000 (10:29 +0000)]
Revert "Fix Mockito/Hamcrest build classpath conflict"

The change broke junit tests in projects using vaadin-bom.

This reverts commit 2ae14ad9affca86448ac1003280b7852354d8a6b.

Change-Id: I06524be9b6cc95e84f5f2b5c8faeb705d86e06bd

8 years agoAdd support for binder status change events (#208).
Denis Anisimov [Mon, 3 Oct 2016 12:42:10 +0000 (15:42 +0300)]
Add support for binder status change events (#208).

Change-Id: Ic8dee407569ee310f007ebe32660a1d2922e9493

8 years agoReintroduce reordering of grid columns
Aleksi Hietanen [Mon, 3 Oct 2016 07:30:05 +0000 (10:30 +0300)]
Reintroduce reordering of grid columns

Change-Id: If8a23427ef5500a0177081c4be8065d2d5a0ca4c

8 years agoMake Valo the default theme
Pekka Hyvönen [Wed, 5 Oct 2016 08:32:59 +0000 (11:32 +0300)]
Make Valo the default theme

LegacyApplication explicitly uses "reindeer" as default theme.
Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit.
All new tests should be based on AbstractTestUI.
Also added AbstractReindeerTestUIWithLog for those that needed it.
Removed all found @Theme("valo") and used proper parent test class.

Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad

8 years agoFix for ValoThemeUI test: use new sreenshots with updated DateField.
Denis Anisimov [Wed, 5 Oct 2016 12:11:44 +0000 (15:11 +0300)]
Fix for ValoThemeUI test: use new sreenshots with updated DateField.

Change-Id: I4c9105dafb245cbfbac5cc158be2b44e418eba46

8 years agoMake ColorPicker subcomponents HasValues
Johannes Dahlström [Wed, 28 Sep 2016 13:59:58 +0000 (16:59 +0300)]
Make ColorPicker subcomponents HasValues

Change-Id: Ia0502ef515e2b44f105a3a4c6ae7b0b62b8ab6bb

8 years agoFix GridColumnHidingTest: don't use moveToElement() in TB with FF.
Denis Anisimov [Wed, 5 Oct 2016 11:50:20 +0000 (14:50 +0300)]
Fix GridColumnHidingTest: don't use moveToElement() in TB with FF.

Change-Id: I0d029012627529e524b1d67d076caa224d711358

8 years agoAdd ItemDataSource for tests
Henri Sara [Thu, 15 Sep 2016 12:00:25 +0000 (15:00 +0300)]
Add ItemDataSource for tests

ItemDataSource generates "Item n" strings on the fly.

Change-Id: Icc87776b3ad3eaf0a93de6ebcf5bd9f1fcd21757

8 years agoFix indentation issue in demo build script
Teemu Suo-Anttila [Wed, 5 Oct 2016 09:48:15 +0000 (12:48 +0300)]
Fix indentation issue in demo build script

Change-Id: Ic820129383a712078791e7fc0140d7a11b8b1f43

8 years agoFix broken tests (#376).
Denis Anisimov [Wed, 5 Oct 2016 08:28:35 +0000 (11:28 +0300)]
Fix broken tests (#376).

Change-Id: I8cd827d0e9544f477ad4693eea9411bef7740d34

8 years agoUpdate documentation (+javadoc) references to obsolete OptionGroup #237.
Denis Anisimov [Fri, 30 Sep 2016 13:56:44 +0000 (16:56 +0300)]
Update documentation (+javadoc) references to obsolete OptionGroup #237.

Change-Id: Ie90e91f61a5795c90de3c690c3b6af80ec1448d9

8 years agoFix Mockito/Hamcrest build classpath conflict
John Ahlroos [Wed, 28 Sep 2016 10:52:11 +0000 (13:52 +0300)]
Fix Mockito/Hamcrest build classpath conflict

* Fixes issue with Mockito classes not found on the vaadin-client test classpath
* Fixes Mockito/Hamcrest dependency conflict described in
       https://tedvinke.wordpress.com/2013/12/17/mixing-junit-hamcrest-and-mockito-explaining-nosuchmethoderror/

Change-Id: I946c464118e3b9365bb8da4fb337fd45e6073f5e

8 years agoFix itemCaptionProvider test case in ListSelectTest
Aleksi Hietanen [Mon, 3 Oct 2016 12:41:58 +0000 (15:41 +0300)]
Fix itemCaptionProvider test case in ListSelectTest

Change-Id: I07519d6e5076ee7b602406c0e602b442fbd9d8a0

8 years agoFix broken DateField for ValoThemeTestUI
Pekka Hyvönen [Mon, 3 Oct 2016 10:44:49 +0000 (13:44 +0300)]
Fix broken DateField for ValoThemeTestUI

Change-Id: Ia21f8acb317bb6c3643e4923ce7c774345821f93

8 years agoClean up ColorPickerPopup
Johannes Dahlström [Wed, 28 Sep 2016 13:19:31 +0000 (16:19 +0300)]
Clean up ColorPickerPopup

Change-Id: I3d7f398b34c0a2627a99d29f731c08be0c6df4c9

8 years agoMake ColorPicker an AbstractField<Color>
Johannes Dahlström [Wed, 28 Sep 2016 12:18:44 +0000 (15:18 +0300)]
Make ColorPicker an AbstractField<Color>

Remove old ColorSelector API from ColorPicker.
The various subcomponents still implement ColorSelector for now.

Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089

8 years agoCopy ColorPicker to compatibility-server (again)
Johannes Dahlström [Wed, 28 Sep 2016 10:46:10 +0000 (13:46 +0300)]
Copy ColorPicker to compatibility-server (again)

This version should be Vaadin 7 compatible, using v7 versions
of Slider, ComboBox, etc.

Change-Id: I3d79ded7cc3f4cc645ac68ca6766fe096f6c0494

8 years agoUpdate GWT version to 2.8.0-rc3
Teemu Suo-Anttila [Mon, 3 Oct 2016 10:06:26 +0000 (13:06 +0300)]
Update GWT version to 2.8.0-rc3

Change-Id: I10674d558e03ee23f2adc6cb5c974cdbd32ae899

8 years agoDo not derive DataSource from Function and replace apply method #307.
Denis Anisimov [Mon, 3 Oct 2016 06:44:17 +0000 (09:44 +0300)]
Do not derive DataSource from Function and replace apply method #307.

Change-Id: Ic0587e75c9a50c802a64673b1db0b8828b37889c

8 years agoMigrating 7.7.1, 7.7.2, 7.7.3 to V8.
Denis Anisimov [Wed, 28 Sep 2016 10:24:42 +0000 (13:24 +0300)]
Migrating 7.7.1, 7.7.2, 7.7.3 to V8.

commit 11c3f8bd9ea65f7a7b8da9a282c31a127bd475a6 - Test and its UI class
are added (both V8 and V7). Required functionality should be available
via modern GWT version.

commit 729dbf96fe76e7627168ab2c9d1d71c4eb7214c8 - About update release
notes. No need to be included.

commit 675f38349c43ac45dae40cf33a7b1fd0f8f261ca - V8 already contains
correct Import-Packages section which uses osgi.javax.servlet.version
variable whise version is 3.0.0 at the moment.

commit 5da7c052f55cb4703b74f38f5bb19fc3f3fa2a76 - Use Vaadin plugin
7.7.0 from 7.7.0.alpha1. Is not applicable.

commit 1df80001ab6c916effa917781dba652d09d01056 - Updated tutorial to
Vaadin 7.7.0. Is not applicable. The tutorial already contains correct
links and updated source code snippets.

commit 8b4f0ed8a894b04902a5d4258119dcdc8e76d1e0 - set-property-fallback
name="user.agent" value="safari". Is already there.

commit 28ed04e827669cc4dd329331dac9699bd93f70bc - Fix animation end
listeners so they are always removed. Is already there.

commit 408253bc3f8bd3975f0525ce6832be214a3552e9 - Use servlet context
classloader when finding servlet class for websockets. Is already there.

commit 7a6f250d89474849648ed2ee96a6bfb78c3b9ca8 - Fire actions before
removing menu from the DOM. Is already there.

commit 9b66c6eb9bebf657d3f2def8c767e0e9d51cc92c - Do not run test on IE8
as IE8 is broken. Transplanted.

commit 3faa43ff39ecda56587b93f0c5e262a2907871a7 - Discard for DateField
when the data source contains null. It is not applicable for V8 (There
is no anymore discard method in DateField (and no datasource suport in
field)). Transplanted for DateField in compatibility.

commit e0c1f91a3d6d1884e07ce8d1ba957aff6a9bf29a - Fix ComboBox paging
when number of items equals page length. It's already done by another
fix which replaced ComboBox in compatibility package to the V7 version.

commit 83a1b8a0961cc9b2d43e01757530cefd035b0a22 - Update DOM and update
escalator row count in the correct order. Transplanted.

commit 45f2fba8ff7a4b62680618a325d4afcebfb7a1e9 - Prevent editor from
being canceled while it is being saved. Transplanted to compatibility
package. Is not applicable to modern Grid.

commit ad67f7f43afb0feec5e029aea90297f2abe4f2c1 - Delete broken
stylesheet and revert to default style until a new stylesheet is
created. Is already there.

commit c970a78d42a2d8f1745df7a11a74f3731f8be9a5 - Always show loading
indicator for JavaScript RPC. Transplanted.

commit 2aad3416061586f7e2649160bd832eefe03702ad - Make test independent
of any converters present in the factory. It's already there.

commit c9ad48430be135d18fe9f30868e091dd51c57b94 - Do not include
yuicompressor for Sass compiler. Transplanted. Exclusion is added into
vaadin/pom.xml

commit 52d01a68e91ce73306b3a1747af97e928048ecdf - Test for Firefox
download disconnecting push channel. Transplanted.

commit 4bc375d1d21f468e6433da3a183150e0bfe0cae4 - Handle encoded URL
characters correctly when constructing widget set name. Transplanted.

commit 17ba88eaf87e15e6f3c729e5c7f8e875d5f86d8d - Update version to
7.7-SNAPSHOT. Is not applicable.

commit 47b7b13e5c959de3bd925693b074d85e7625a87e - Ensure Firefox always
updates the grid scrollbar. Transplanted. Made changes in the logic to
the test for modern Grid component.

commit 4d851ba21d1b8f35685b631d2845731f8fb33252 - Calculate column
widths immediately if there is data. Transplanted to both client side
modules.

commit 8f0b1a1dd026a756912c9f21bd2b34ea46897c7f - Skip Maven enforcer
plugin during demo validation. Transplanted (one build file is
affected).

commit 62815353e1b9d3cd126809f5c818ad35bf913807 - Build demos from 7.7
branch (now for master branch). FW8 demos are added (one build file is
affected).

commit 815d72115d5aaf3676daefd5642115577e4151ef - Make test pass on all
browsers. Transplanted to both V7 and V8 version tests.

commit 516c428ca127e3c31b7b4d74220e4b7eed4571be - Use widget set
specified by init parameter. Transplanted to the one UIProvider class.

commit b00c580ed70f682a42afbfa91f978921bb86c2cd - Use correct column
index when calculating min width during resize. Transplanted into both
client side classes (main and compatibility) as is. Test for V7 is
transplanted as is. Test for V8 is written from scratch based on V7
version.

commit 7dd91cf057eb06a09009096a8278f34aad9bd8d9 - Fix regression that
broke widget set compilation in 7.7.1. It's already there.

commit c665731b0b97b697e80c47955d3558c19f0c81cb - Ensure temporary
layout manager state is cleared at the end of a layout phase.
Transplanted to the one LayoutManager class.

commit 57a965251afdb5ee9ac1913a0101d854d8215aa6 - Fix assertion error
when column widths are calculated. Transplanted to both versions of the
client Grid widget.

commit c5c52684eb30d924cb75a632b526a0f879d5a33c - Format Java files
using Eclipse Neon and Vaadin settings. Only formatting changes. Is not
transplanted.

f5d06d877165bf413ec71c4fc88cf46c8c57a372 - Change javadoc to a style
Eclipse formatter can handle. Transplanted to both versions of the
client Grid widget.

commit 6033e13c20b3d6e8b6f5add0f786d5ab2e1bb3fe - Make initially
disabled grid work when enabled. Transplanted to both client side
modules.

commit a2d6e4fb4b1fd13e9a1b88f2ab1b78d14d8b64a9 - Use
requestAnimationFrame when scrolling in Grid. Transplanted to both
client side modules.

commit fe9438e7b77c606855cfd739dd7e30b3f8cd4165 - Specify branch also
for Sampler. Is not applicable for master branch.

commit 1ec5d8ef7cb8bbd82bae1c9b79a376a5dca28f48 - Update to Chrome 53.
Is already there.

commit 961851bfbc4844474299433c34af6c9e4323d891 - Updated link to new
step 1 video in tutorial. Is already there.

commit 41dc2fe1611adc70d00e6f77debb2a6d4dcdefb0 - Revert "Use widget set
specified by init parameter. Transplanted to the one UIProvider class.

commit 092b4f7f3192555fe3ae22ac03a89ac2ada2a2dd - Use widget set
specified by init parameter. Transplanted to the common server side
classes.

commit 977cec7e3107c2da306d46449dbf32f6544313be - Fix widget set builder
to create widget set in correct location. Transplanted to the one
ClassPathExplorer class file.

commit 6c12ad89ea1064cd4cc0456baca5ee00ae76d032 - Format project pom
files using correct settings. Is not transplanted: only formatting
changes for POM files.

commit 0aad93ecc1ce743dffc093ce7ae2ef88831f6073 - Add tests for
widgetset compilation in different modes. Transplanted. New test
projects.

commit 0a3a1ef8321ed421be2337034fdb1cae2c434c3d - Use
versions-maven-plugin 2.3 to avoid NPE while setting project version. Is
already there.

Change-Id: Ie3a5088f25de1772f01ea30c4a5eba0b169ee0ab

8 years agoFix parameterized runner to be compatible with TestBench 4.1
Artur Signell [Fri, 30 Sep 2016 07:54:28 +0000 (10:54 +0300)]
Fix parameterized runner to be compatible with TestBench 4.1

Change-Id: I288ad11ad26cedd4495d472ba23276b6bf25ccdf

8 years agoMake AbstractDateField based on LocalDate (#125).
Denis Anisimov [Tue, 27 Sep 2016 07:41:37 +0000 (10:41 +0300)]
Make AbstractDateField based on LocalDate (#125).

Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb

8 years agoFix RadioButtonGroup client-side NPE which breaks item icons.
elmot [Thu, 29 Sep 2016 15:52:35 +0000 (18:52 +0300)]
Fix RadioButtonGroup client-side NPE which breaks item icons.

Change-Id: I3a9c887196b503eaa8c2307d7a714ce61e6deacc

8 years agoUnify listeners on the server side
Aleksi Hietanen [Fri, 23 Sep 2016 10:14:52 +0000 (13:14 +0300)]
Unify listeners on the server side

This patch updates server side add*Listener methods to return
a registration object and deprecates their corresponding
remove*Listener methods.

Additionally this patch removes add/removeListener methods which were
deprecated in 7.0.

Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76

8 years agoFix item caption generators in RadioButton/CheckBoxGroup
Aleksi Hietanen [Thu, 29 Sep 2016 06:19:35 +0000 (09:19 +0300)]
Fix item caption generators in RadioButton/CheckBoxGroup

This patch corrects the behavior of setting caption generators
that may return null.

Additionally renames RadioButtonGroup's ItemIconProviders to
generators, unifying it with other select components.

Change-Id: I5e8491834dccce1c37ab9c2002acc475e8945f4b

8 years agoListSelect with new data binding API 8.0.0.alpha3
Pekka Hyvönen [Tue, 27 Sep 2016 09:26:15 +0000 (12:26 +0300)]
ListSelect with new data binding API

No single select mode for list select.
Based on AbstractMultiSelect.
Removes feature for adding new items.

Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d

8 years agoImplement default header row in new Grid
Johannes Dahlström [Mon, 26 Sep 2016 15:45:28 +0000 (18:45 +0300)]
Implement default header row in new Grid

Change-Id: Id26a98caca022ed2a4dbe0128a79721a54f5b267

8 years agoInitial support for multiple headers in new Grid
Johannes Dahlström [Wed, 21 Sep 2016 10:08:16 +0000 (13:08 +0300)]
Initial support for multiple headers in new Grid

Change-Id: I7a3fa34749322451ab5cef4465d4d7c76029c097

8 years agoRevert ComboBox in compatibility packages to V7 version (#201).
Denis Anisimov [Mon, 26 Sep 2016 10:01:26 +0000 (13:01 +0300)]
Revert ComboBox in compatibility packages to V7 version (#201).

Change-Id: Icbe1c6a5c0e2b10255424801cada8c11a71decb7

8 years agoRemove documentation for cursors in data sources
Artur Signell [Fri, 16 Sep 2016 11:49:07 +0000 (14:49 +0300)]
Remove documentation for cursors in data sources

This will not be implemented for 8.0

Change-Id: Ida33b3de74c7a14def66fac6f0363a12105d8087

8 years agoTwinColSelect with new databinding API
Pekka Hyvönen [Thu, 22 Sep 2016 11:19:34 +0000 (14:19 +0300)]
TwinColSelect with new databinding API

Removes feature for adding new items.
Introduces a AbstractMultiSelect-abstraction layer,
which is used in server side by TwinColSelect & CheckBoxGroup and
on client side only TwinColSelect for now. Plan is to use it for
ListSelect too.

Further improvement would be to make AbstractMultiSelect use
SelectionModel that extends AbstractSelectionModel and is thus used
as an extension both as client & server side.

Updates to JUnit 4.12 for easier use of @Parameterized test..

Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4

8 years agoUpdate DateRangeValidator to be LocalDate based (#320).
Denis Anisimov [Mon, 26 Sep 2016 10:46:54 +0000 (13:46 +0300)]
Update DateRangeValidator to be LocalDate based (#320).

Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187

8 years agoExtract validation availability check out of BeanValidator (#251).
Denis Anisimov [Sun, 18 Sep 2016 06:53:39 +0000 (09:53 +0300)]
Extract validation availability check out of BeanValidator (#251).

BeanValidator uses and depends on javax.validation classes. So JSR303
presence check is extracted out of it to avoid ClassNotFoundException.

Change-Id: I8df9a9da873cf694a326c9abb05315c8e94a0a96

8 years agoMark all server compatibility classes deprecated (#144).
Denis Anisimov [Thu, 22 Sep 2016 12:28:36 +0000 (15:28 +0300)]
Mark all server compatibility classes deprecated (#144).

Change-Id: Iba0a35d5ea9a97b0020f506f610630471c59748b

8 years agoMigrate AbstractJavaScriptRenderer to the new Grid (#182).
Denis Anisimov [Wed, 21 Sep 2016 13:22:47 +0000 (16:22 +0300)]
Migrate AbstractJavaScriptRenderer to the new Grid (#182).

Change-Id: Ic514875fab8d90484b3a73b073bcc9d53697de75

8 years agoRename PopupDateField to DateField #297.
Denis Anisimov [Wed, 21 Sep 2016 11:04:00 +0000 (14:04 +0300)]
Rename PopupDateField to DateField #297.

DateField becomes abstract AbstractDateField, PopupDateField becomes
DateField

Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b

8 years agoReintroduce grid column sizing
Aleksi Hietanen [Wed, 21 Sep 2016 06:13:12 +0000 (09:13 +0300)]
Reintroduce grid column sizing

Change-Id: Ie5e91c3e9c8f2c9d8c05415d5602e2eaf3bd960b

8 years agoRe-add back Form to compatibility package (#296).
Denis Anisimov [Wed, 21 Sep 2016 07:41:28 +0000 (10:41 +0300)]
Re-add back Form to compatibility package (#296).

Change-Id: Id187402e78e3c368ae6530f7b7ea68d2e6c4a6ca

8 years agoFix typo in documentation
Steven Spungin [Thu, 22 Sep 2016 10:55:36 +0000 (06:55 -0400)]
Fix typo in documentation

Change-Id: I1829680ae358d436b7b657125a9981827f173dd6

8 years agoUpdate to Chrome 53
Artur Signell [Wed, 21 Sep 2016 06:35:46 +0000 (09:35 +0300)]
Update to Chrome 53

Change-Id: I518b3f261adb633bb09a2597c9e7ee3cb6d63e6a

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