]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoAdd @Override annotations
Per-Åke Minborg [Fri, 28 Oct 2016 06:06:44 +0000 (23:06 -0700)]
Add @Override annotations

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7240

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7213

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

Change-Id: I3107f7fbbaf8cc17020b8e2cc9cf6a5f7f328c50

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7212

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7211

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210

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

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

Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75

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

Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676

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

Change-Id: Ie71a9ddf99e6e381ed5d5d873bc8eba7cefa1665

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

Change-Id: I93c34fc289df6afa5adaea89fcdb1b7f5e494cae

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

Change-Id: I132f814105ce97cf625e59f78731bea778ae2cfd

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

Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f

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

Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced

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

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

Fixes vaadin/framework8-issues#29

Change-Id: Ib116739a20a0bbd1b1460423ee36ed2752c5496a

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

Fixes vaadin/framework8-issues#414

Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735

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

Change-Id: I657535d377c471369e8c77fa1db946c490023939

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

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

Fixes vaadin/framework8-issue#419

Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a

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

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

Change-Id: Ic0d5db325b831114434a83c7d77be36ac8b20a61

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

Fixes vaadin/framework8-issues#333

Change-Id: I55f5d6a0cd690f2c0b5e757318a5f528a67ef34e

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

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

Fix + Tests.

Change-Id: If9f42de5e9c476cb48a2f169f150b42a9c0ab6c2

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

Fixes vaadin/framework8-issues#332

Change-Id: I19996ea83ed1fbe2b115d92d6be5e6a5e158f283

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

Change-Id: Ib3d633a215dc4c9655612110ff23afa782d7a381

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

Fixes vaadin/framework8-issues#334

Change-Id: I4c7ca424cc4f4a1f0cdecd7671827465ab74ace7

7 years agoRemove Locale from BeanValidator because of ValueContext
Pekka Hyvönen [Mon, 31 Oct 2016 10:15:20 +0000 (12:15 +0200)]
Remove Locale from BeanValidator because of ValueContext

Fixes vaadin/framework8-issues#417

Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90

7 years agoDate/time issues are fixed in the tests.
Denis Anisimov [Mon, 31 Oct 2016 07:10:02 +0000 (09:10 +0200)]
Date/time issues are fixed in the tests.

- legacy DateField declarative format tests are fixed (day light saving
time is taken into account).
- CalendarMonthViewDndEvent UI because you are not supposed to work on
Sundays (when the test is broken).

Change-Id: If7ddf238a7fab104514211df4a12fa6d071f5af2

7 years agoServe static files also in servletPath/VAADIN (#14398)
Artur Signell [Wed, 26 Oct 2016 19:35:23 +0000 (22:35 +0300)]
Serve static files also in servletPath/VAADIN (#14398)

Change-Id: I6891827a1fb99216d4e286c761d1384a88000604

7 years agoRemove JavaDoc mentions of RepaintRequestEvent (#19953)
Leif Åstrand [Fri, 28 Oct 2016 10:53:15 +0000 (13:53 +0300)]
Remove JavaDoc mentions of RepaintRequestEvent (#19953)

Change-Id: Ief1191b34018e6049c8d20d341150c0b9804f621

7 years agoFix broken GridSortingTest caused by theme change
Aleksi Hietanen [Wed, 26 Oct 2016 09:56:43 +0000 (12:56 +0300)]
Fix broken GridSortingTest caused by theme change

Change-Id: I19e86202532e7b1e698ee0640a136be949ec02b0

7 years agoUpdate VerifyBrowserVersionTest to Chrome 54
Aleksi Hietanen [Wed, 26 Oct 2016 06:43:06 +0000 (09:43 +0300)]
Update VerifyBrowserVersionTest to Chrome 54

Change-Id: I4171d8b95b8a3ac6aa8ff04d03e71008709d470f

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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