]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
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

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

Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8

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

Change-Id: Icc4cfc64c0d0bf9993b138eec15a8a73cb0be2f0

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

The fix for

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

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

Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2

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

Change-Id: I0a34471073961cb5090e43aade8e2732de522a1d

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

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

Change-Id: I10c9fff10fdcf300e1e3a1940c97260ace849a81

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

Change-Id: I32d31d758ee3c313133c7b122bb3ea8dcfcc1cc3

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

Change-Id: I1e35dcbe4f75cb8b21a7c2a78143556522f32363

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

Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2

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

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

Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76

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

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

Change-Id: I074d99adb1f11bf29ebaef50979d4cacda5cd1e4

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

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

Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa

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

Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41

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

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

Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157

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

Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329

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

Change-Id: I7c1a55bd68097819e8091533df7232271af689c3

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

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

Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54

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

Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb

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

Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1

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

Change-Id: I71e808554d10657ead61271c1c5cc76981214ee3

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

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

Change-Id: I741529f491ae6b36ff2a9aa4326c394cc12fb320

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

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

Change-Id: I146995853b3318d89061f1d06ab4bbd859168661

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

Change-Id: I146b13d99b77beb2cf99019c5878b26f61b69b6c

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

Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a

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

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

Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2

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

Change-Id: I21c5bb95feb3dbab1b543943adc0584aa8eec87b

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

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

Change-Id: Iebb34cc0724a4bba6eff53073400e803d9ffddd1

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

Change-Id: I41a509c5a1dbb4388f11517dd62894ad2713f9aa

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

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

Next patch will fix resetting of field errors on reset.

Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0

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

Change-Id: I12e42e91ea6e82fb8d5b8ce9a23dd8600c467056

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

Also fixes some typos and outdated information

Change-Id: Ic2f1f33b84ad3cb658ee9f4228444c35489e72ef

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

Change-Id: I60eabf3b1c6363be505a2d21f7ed439c5357f61f

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

Change-Id: I0540452fcabb37b12549ac5c0b2502f9eacc827b

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

This simplifies the client side state machine.

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

Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342

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

Change-Id: Id308bd9b08973804e61706192c96118fd6446d3f

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

Change-Id: Iabe563852150a7d690f6e2edaa40253d03127881

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

Selection and focus/blur support not yet implemented.

Change-Id: I76752084442216e60055d93367475c1c0a612787

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

Change-Id: I7d426de488747ce323e732f7ad45d30712fc6d61

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

Change-Id: I33afc94a581d77984f459b0cbd0ff7fe49df8e79

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

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

Change-Id: I97970979884c99162d52718449dc18f10e955e32

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

Change-Id: I73279f7837b0907fea6cfc9d21076ac226af4c00

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

Change-Id: Id21cb0df32e07bd01f90a29a814dcf0775067bfa

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

Change-Id: I6f430c77caaad6d610133f340eba960f2268897e

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

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

Change-Id: I97c1dfa28eee39aef43eabbfbac56cd83fa5747c

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

Change-Id: I9d761245e99cde62d0e56b89e5cbb0398fd4c363

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

To eventually replace SingleSelection.

Change-Id: I623dfa962bce62067a5b35dc14be26b3de333e9b

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

Change-Id: I7ef3cca8271ae9f725d8530793543253c216e6bc

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

Change-Id: I4b4760949897d2755da26a06f9048a596abdf0b6

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

Change-Id: I8619553a03cf3354fe3fa90ea15fca111047a287

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

Change-Id: I233250d9b68052825b73bed0288fffeaf5bdd04b

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

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

Change-Id: Icb0fb45c8d28fad90f13f958cbc5970cdb0fd54a

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

Change-Id: Id4d97ae130d1267acf7cb1acb4e60746643fab57

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

Change-Id: I25da6154d55ab829d1166bbde5075bacaf62bf26

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

Change-Id: I36faa94382258d5df40c7f200e5c24805896f100