]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoUse lambdas where appropriate
Per-Åke Minborg [Fri, 28 Oct 2016 23:01:40 +0000 (16:01 -0700)]
Use lambdas where appropriate

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722d

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722e

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7231

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7233

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722a

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7229

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7235

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7234

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722f

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7227

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7224

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7225

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7228

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

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

Change-Id: I2cbe797c96dc6a780df147e165babb23f7fbdef3

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7220

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721f

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721e

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721d

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

Change-Id: I193fe9e8a0ee03d66e4b63d5f85c0e9a9233c0de

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

Fixes vaadin/framework8-issues#423

Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192

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

Change-Id: I0cd71e14c213d3c96a41599aaa03f33b15b797c7

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

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

Change-Id: I4b83b68dc1d0ab94252fb23303e3fcc4a2a041bc

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

This reverts commit 73078c7560d40db80dae6a6fb8047c29a92dd8d0.

Change-Id: I2757232d1312ae5162550d9fafb26c2d657c1b7f

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721c

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721b

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721a

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7219

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7218

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7217

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7216

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

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7215

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7214

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7240

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7213

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

Change-Id: I3107f7fbbaf8cc17020b8e2cc9cf6a5f7f328c50

8 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

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

Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7211

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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