]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
5 years agoRemove wrong version and add missing since (#11476)
Sun Zhe [Mon, 11 Mar 2019 14:10:00 +0000 (16:10 +0200)]
Remove wrong version and add missing since (#11476)

5 years agoFix code example (#11487)
A.Mahdy AbdelAziz [Mon, 11 Mar 2019 06:31:02 +0000 (08:31 +0200)]
Fix code example (#11487)

Fix example of using grid.setStyleGenerator in one line

5 years agoAdding package name to the @value in JavaDoc (#11453)
Anastasia Smirnova [Fri, 8 Mar 2019 14:20:17 +0000 (16:20 +0200)]
Adding package name to the @value in JavaDoc (#11453)

5 years agoFix ComboBoxElement clear method (#11483)
Sun Zhe [Wed, 6 Mar 2019 14:18:40 +0000 (16:18 +0200)]
Fix ComboBoxElement clear method (#11483)

Explicitly reset the value in case if it was cleared.
Ignore the case for selecting a suggestion.

Fixes vaadin/testbench#1122

5 years agoRemove redundant check for for Firefox (#11471)
Anastasia Smirnova [Wed, 6 Mar 2019 06:16:14 +0000 (08:16 +0200)]
Remove redundant check for for Firefox (#11471)

* Add Test file

* Remove redundant check for for Firefox

It seems that in older versions of Firefox (at least, older than 45) the KeyPress event should be used instead of KeyDownHandler. At some point (works already on 58 version, the current one is 65) the issue was resolved and starting from Firefox 65 this hook prevents from navigating in the pop-up via keyboard.
Simply removing additional logic makes navigating in both DateField and InlineDateField possible

Fixes #11465

5 years agoEnsure pop-up is not opened, when tabbing out fast from Combobox (#11436)
Anastasia Smirnova [Mon, 25 Feb 2019 09:49:20 +0000 (11:49 +0200)]
Ensure pop-up is not opened, when tabbing out fast from Combobox (#11436)

Checking that no prior Combobox behavior is broken

* Cleaning-up the code

Adding UI test

* Adding TestBench test

5 years agoFixing NPE when ItemCaptionGenerator returns null (#11435)
Tatu Lund [Fri, 22 Feb 2019 13:11:39 +0000 (15:11 +0200)]
Fixing NPE when ItemCaptionGenerator returns null (#11435)

* Fixing NPE when ItemCaptionGenerator returns null

Adding similar logic in setDataProvider(...) as used elsewhere in ComboBox.java (e.g. generateData(..) see line 314)

fixes issue #11434

5 years agoCustom serializers accessors (#10658)
Olli Tietäväinen [Fri, 22 Feb 2019 08:50:51 +0000 (10:50 +0200)]
Custom serializers accessors (#10658)

* add accessor methods for CUSTOM_SERIALIZERS in JsonCodec

* javadoc

* removed removeCustomSerializer method, renamed putCustomSerializer to addCustomSerializer, added sanity checks and JavaDocs

* refactored addCustomJsonSerializer to set, added test UI

* move enums to be parsed after custom serializers

* move adding custom serializer to static block

* throw an exception if multiple serializers are registered for class

* updated javadocs

* changed CustomJSONSerializerTest to a SingleBrowserTest

* moved CustomJSONSerializerTest to server/ and it's now not a browser test

* removed CustomJSONSerializerTest

5 years agoProvide extensive error information on GridLayout.OutOfBoundsException and IllegalArg...
Martin Vysny [Thu, 21 Feb 2019 05:36:43 +0000 (07:36 +0200)]
Provide extensive error information on GridLayout.OutOfBoundsException and IllegalArgumentException (#11461)

5 years agoFix initially selected CheckBox rendering in Safari in v7 compatibility package ...
Koen De Cock [Thu, 14 Feb 2019 14:52:40 +0000 (15:52 +0100)]
Fix initially selected CheckBox rendering in Safari in v7 compatibility package (#11024) (#11456)

This fix was already applied to com.vaadin.client.ui.VCheckBox but the committer forget to apply the same fix to the com.vaadin.v7.client.ui.VCheckBox. Some people are still temporarely using the checkbox from the compatibility package.

5 years agoUpdate CONTRIBUTING.md to guide people to create fork (#11457)
Matti Tahvonen [Thu, 14 Feb 2019 10:54:58 +0000 (12:54 +0200)]
Update CONTRIBUTING.md to guide people to create fork (#11457)

5 years agoFixing JavaDoc of Column#getWidth() and Column#setWidth() (#11452)
Tatu Lund [Tue, 12 Feb 2019 09:24:54 +0000 (11:24 +0200)]
Fixing JavaDoc of Column#getWidth() and Column#setWidth() (#11452)

Fixes #11451

5 years agoFix an NPE caused by the previous fix to Grid's frozen columns (#11444)
mlindfors [Mon, 4 Feb 2019 11:54:09 +0000 (13:54 +0200)]
Fix an NPE caused by the previous fix to Grid's frozen columns (#11444)

* Fix an NPE caused by the previous fix to Grid's frozen columns (#10653)

If the user managed to get two frozen column count changes into a single server round-trip before the component had been attached, the previous fix  #11346 lead to a null pointer exception since there was no diff state available.

This fix adds a null check before removing the frozen column count value from the diff state so that this will not happen.

Closes #10653

5 years agoAdd git config hint to README to allow long paths in Windows (#11445)
Tobse [Mon, 4 Feb 2019 07:35:06 +0000 (08:35 +0100)]
Add git config hint to README to allow long paths in Windows (#11445)

5 years ago* Update since tags and fix code formatting (#11441)
Mehdi Javan [Wed, 30 Jan 2019 09:11:59 +0000 (11:11 +0200)]
* Update since tags and fix code formatting (#11441)

5 years agoAdded example of how to load bundles with Vaadin8 + compatibility libraries (#11439)
Tatu Lund [Tue, 29 Jan 2019 07:41:28 +0000 (09:41 +0200)]
Added example of how to load bundles with Vaadin8 + compatibility libraries (#11439)

5 years agoadded [source, java] for ComponentRenderer samples (#11428)
Olli Tietäväinen [Tue, 22 Jan 2019 08:03:52 +0000 (10:03 +0200)]
added [source, java] for ComponentRenderer samples (#11428)

5 years agoAdds missing Status enum to dataprovider example (#11425)
tmattsso [Fri, 18 Jan 2019 10:55:59 +0000 (12:55 +0200)]
Adds missing Status enum to dataprovider example (#11425)

5 years agoUpdate Tooltip Snapshot (#11414)
Sun Zhe [Thu, 17 Jan 2019 12:31:09 +0000 (14:31 +0200)]
Update Tooltip Snapshot (#11414)

5 years agoFix #11369 (#11403)
Maciej Przepióra [Thu, 17 Jan 2019 10:46:49 +0000 (11:46 +0100)]
Fix #11369 (#11403)

Clear contents of iframe clone that is in a Window so that when it's reattached to DOM we don't get 404

5 years agoFix formatting (#11423)
Maciej Przepióra [Thu, 17 Jan 2019 07:52:31 +0000 (08:52 +0100)]
Fix formatting (#11423)

5 years agoremoves mention of Java EE in spring doc (#11422)
tmattsso [Thu, 17 Jan 2019 07:17:23 +0000 (09:17 +0200)]
removes mention of Java EE in spring doc (#11422)

5 years agoadds note about maven catalogue file to tutorial (#11421) pr11403/r9
tmattsso [Wed, 16 Jan 2019 11:36:37 +0000 (13:36 +0200)]
adds note about maven catalogue file to tutorial (#11421)

5 years agoFix @PushStateNavigation with @PreserveOnRefresh (#11417) pr11403/r8
Tatu Lund [Fri, 11 Jan 2019 11:22:10 +0000 (13:22 +0200)]
Fix @PushStateNavigation with @PreserveOnRefresh (#11417)

Navigation needs to be done also in doRefresh(..) in similar fashion as in doInit(..)

Fixes https://github.com/vaadin/framework/issues/11416

5 years agoFix wrong year assert in DateField test (#11404) pr11403/r7
Sun Zhe [Wed, 2 Jan 2019 09:55:19 +0000 (11:55 +0200)]
Fix wrong year assert in DateField test (#11404)

5 years agoAdd Javadoc to the ScrollTo methods in TreeGrid (#11399) pr11403/r6
Sun Zhe [Fri, 28 Dec 2018 14:17:14 +0000 (16:17 +0200)]
Add Javadoc to the ScrollTo methods in TreeGrid (#11399)

* Add Javadoc to the ScrollTo methods in TreeGrid

5 years agoClear up enhancements contents from master (#11396) pr11403/r5
Sun Zhe [Fri, 28 Dec 2018 13:35:04 +0000 (15:35 +0200)]
Clear up enhancements contents from master (#11396)

* Clear up enhancements contents from master

* Upgrade the version mentioned in the release note

* Close the <span> block

5 years agoUpdate snapshot to 8.8-snapshot (#11397) pr11403/r4
Sun Zhe [Fri, 28 Dec 2018 11:20:58 +0000 (13:20 +0200)]
Update snapshot to 8.8-snapshot (#11397)

5 years agoGrid column npe behavior (#11390) pr11403/r3
Olli Tietäväinen [Fri, 28 Dec 2018 07:25:11 +0000 (09:25 +0200)]
Grid column npe behavior (#11390)

* add possibility to configure nested null behavior to Grid.Column

* added addColumn method that allows configuring the nested null handling behavior of the column

* added uitest for nested null value handling, implements #11137

5 years agoRelease-note updates (#11389)
Sun Zhe [Thu, 27 Dec 2018 08:36:36 +0000 (10:36 +0200)]
Release-note updates (#11389)

* Release-note updates

Change the word for describing icon swapping

* Update vaadin slogan in the release-note template

5 years agoincrease number of styles for indented TreeGrid rows, fixes #11358 (#11392)
Olli Tietäväinen [Fri, 21 Dec 2018 13:54:19 +0000 (15:54 +0200)]
increase number of styles for indented TreeGrid rows, fixes #11358 (#11392)

5 years agoUpdate release note and since tag (#11386)
Sun Zhe [Thu, 20 Dec 2018 15:00:57 +0000 (17:00 +0200)]
Update release note and since tag (#11386)

* Some formatting changes

5 years agoCheckbox allow customizing of input and label classNames. (#11372)
Knoobie [Tue, 18 Dec 2018 13:29:59 +0000 (14:29 +0100)]
Checkbox allow customizing of input and label classNames. (#11372)

* add client side integration for custom styles for checkbox.label and checkbox.input

* add server side integration for checkbox element styling

* add server side tests

* add client side test

5 years agoUpdate portal-osgi.asciidoc (#11384)
Matti Tahvonen [Tue, 18 Dec 2018 07:12:37 +0000 (09:12 +0200)]
Update portal-osgi.asciidoc (#11384)

Updated versions to latest ones as people often just copy past things. Added comment to urge people to use the versions they need. Removed version from archetype to use the latest by default.

5 years agoImprove VMenuBar click handling logic (#11356)
Anastasia Smirnova [Mon, 17 Dec 2018 12:55:09 +0000 (14:55 +0200)]
Improve VMenuBar click handling logic (#11356)

* Improve VMenuBar click handling logic

During `updateFromUIDL` inside MenuBarConnector we empty and re-instantiate the components of MenuBar. When we are modifying the Menubar from the BlurEventListener of another component, we ,by this, remove widgets, therefore clickEvent is not fired and the action of the MenuItem is not proceed as a result. (The BlurEvent is fired before the click event in the chain of events. )

To improve the situation, we catch onMouseDown event , which is fired before BlurEvent,by assigning mouseDown flag to true. Then if no click event has yet happened, we delay the execution of update inside `updateFromUIDL` by default 500 ms. Then if click event occurs, it proceeds normally. The time can be increased/decreased using setter.

There is no delay, if we are clicking on the MenuBar as usual or no Blur listener is set.

This change allows setting descriptions

* Remove accidentally committed comment

* Don't update the state on the getDelayMs call

5 years agoUsing correct tags in the portal ui docs
DiegoSanzVi [Mon, 17 Dec 2018 12:51:39 +0000 (14:51 +0200)]
Using correct tags in the portal ui docs

There are not [source, java] tags.

5 years agoAdd missing [source, java] to the java code blocks in documentation (#11381)
Anastasia Smirnova [Mon, 17 Dec 2018 12:01:33 +0000 (14:01 +0200)]
Add missing [source, java] to the  java code blocks in documentation (#11381)

* Update clientsideapp-entrypoint.asciidoc

Adding missing ```[source, java]```

5 years agoError advanced-osgi formating (#11382)
DiegoSanzVi [Mon, 17 Dec 2018 11:24:50 +0000 (13:24 +0200)]
Error advanced-osgi formating (#11382)

Some snippets codes do not render properly.

5 years agoUpdate README-TESTS (#11376)
Sun Zhe [Mon, 17 Dec 2018 09:38:50 +0000 (11:38 +0200)]
Update README-TESTS (#11376)

* Update README-TESTS

Add formatting for easy-reading;
Add missing configuration for running IE11 locally.

5 years agoPrevent IndexOutOfBoundException in VMenuBar.CustomMenuItem (#11285)
Jonni Madekivi [Mon, 17 Dec 2018 07:43:37 +0000 (09:43 +0200)]
Prevent IndexOutOfBoundException in VMenuBar.CustomMenuItem (#11285)

* Fixes #10814

* Add missing tests

Fixes #11374

5 years agoUpdate Screenshot due to Icon update (#11373)
Sun Zhe [Fri, 14 Dec 2018 13:14:53 +0000 (15:14 +0200)]
Update Screenshot due to Icon update (#11373)

Update screenshots due to update of search-minus and search-plus icons values

5 years agoMove onClick logic to the Connector (#11367)
Anastasia Smirnova [Fri, 14 Dec 2018 11:06:00 +0000 (13:06 +0200)]
Move onClick logic to the Connector (#11367)

* Move onClick logic to the Connector

Move onClick event handling from 'VNativeButton' to NativeButtonConnector. Now works as for regular button.

Also, adding propagation of the `enabled` value to the state on disableOnClick being true

Fixes https://github.com/vaadin/framework/issues/11188

5 years agoApply missing v-readonly style to CheckBoxGroup, when component is readOnly (#11370)
Anastasia Smirnova [Thu, 13 Dec 2018 14:59:35 +0000 (16:59 +0200)]
Apply missing v-readonly style to CheckBoxGroup, when component is readOnly (#11370)

Setting read-only state to CheckBoxGroup should disable adding clicking effect. Missing v-readonly style is added to every CheckBox in the component, if it's set to read-only.

Fixes: https://github.com/vaadin/framework/issues/11113
* Add file missed from initial commit

* Verifying that option is enabled

Some of the options might be disabled on there own. Verify that option is not disabled, before removing disabled styles.

* Add missing test file

5 years agoComplete the empty since tag (#11371) 8.7.0.alpha1
Sun Zhe [Thu, 13 Dec 2018 09:29:31 +0000 (11:29 +0200)]
Complete the empty since tag (#11371)

* Complete the empty since tag

5 years agoRemove outdated Designer license instructions (#11366)
Risto Yrjänä [Wed, 12 Dec 2018 13:41:31 +0000 (15:41 +0200)]
Remove outdated Designer license instructions (#11366)

The instructions for applying the license in Designer are wrong and outdated. Remove them.

5 years agoUpdate release-note for 8.7 pre-release (#11365)
Sun Zhe [Tue, 11 Dec 2018 13:03:15 +0000 (15:03 +0200)]
Update release-note for 8.7 pre-release (#11365)

5 years agoRequest data update before client response (#11341)
Sun Zhe [Tue, 11 Dec 2018 09:08:21 +0000 (11:08 +0200)]
Request data update before client response (#11341)

* Request data update before client response

* fix the accidental commit

* add tests

fixes #11320

5 years agoAdd missing FocusShortcutListener (#11289)
Michael Forstner [Mon, 10 Dec 2018 12:03:52 +0000 (13:03 +0100)]
Add missing FocusShortcutListener (#11289)

* Add missing FocusShortcutListener

Was removed from 8.0 and not readded.

Fixes #8297

* Update Release note for this change

5 years agoFix vaadin-server/bnd.bnd file so it is compatible with Liferay 7.0 and (#11360)
Sampsa Sohlman [Mon, 10 Dec 2018 09:10:00 +0000 (11:10 +0200)]
Fix vaadin-server/bnd.bnd file so it is compatible with Liferay 7.0 and (#11360)

7.1. (#11156)
* This the range might be necessary to increase when Liferay 7.2 or
newer has been released.

5 years agoFix Grid's frozen columns not being set (#10653) (#11346)
mlindfors [Wed, 5 Dec 2018 14:39:09 +0000 (16:39 +0200)]
Fix Grid's frozen columns not being set (#10653) (#11346)

In certain cases setting the frozen columns didn't produce the expected result in the client side widget state. This happened if the frozen columns value was set to be the same it was before removeAllColumns was called.

This fix removes the frozen column value from the diff state so that the value gets properly set in the client side.

Closes #10653

5 years agoAdd more context information to criteriaScript in GridDropTargetConnector (#11321)
vt512 [Wed, 5 Dec 2018 09:53:34 +0000 (10:53 +0100)]
Add more context information to criteriaScript in GridDropTargetConnector (#11321)

* Add more context information to criteriaScript in GridDropTargetConnector

When using drag and drop in Grids and TreeGrids a criteriaScript can be specified.
However, this criteriaScript only gets an event as input parameter.
It would be helpful if the criteriaScript would get more information:
- the DropLocation
- the targetElement which is used as a base for the DropLocation

This change provides a protected method in DropTargetExtensionConnector
which decides, if the drop is allowed by the criteriaScript.
This method is overriden in GridDropTargetConnector to
provide the both parameters dropLocation and targetElement.

* add Test UI for criteriaScript with targetElement and dropLocation

* add some description for the Test UI

5 years agoDetailed the usage of the GridRowDragger class (#11355)
edler-san [Wed, 5 Dec 2018 07:39:56 +0000 (08:39 +0100)]
Detailed the usage of the GridRowDragger class (#11355)

5 years agoImprovements to updating spacer indexes. (#11353)
Anna Koskinen [Wed, 5 Dec 2018 06:53:13 +0000 (08:53 +0200)]
Improvements to updating spacer indexes. (#11353)

* Improvements to updating spacer indexes.

- When details rows are moved down, indexes need to be updated from
bottom up.

Fixes #11352

5 years agoImprovement to details row height handling. (#11351)
Anna Koskinen [Tue, 4 Dec 2018 17:11:38 +0000 (19:11 +0200)]
Improvement to details row height handling. (#11351)

- When rows are added, details row heights need to be taken into account
in positioning.

Fixes #11348

5 years agoDescriptive comment for TwinColSelect - no lazy load #11025 (#11350)
DiegoSanzVi [Tue, 4 Dec 2018 11:56:56 +0000 (13:56 +0200)]
Descriptive comment for TwinColSelect - no lazy load #11025 (#11350)

* Descriptive comment for TwinColSelect - no lazy load #11025

It documents the issue #11025

https://github.com/vaadin/framework/issues/11025#issuecomment-443506307

5 years agoOSGi: Fixing dynamic resource registration after activation (#11334)
S.W [Tue, 4 Dec 2018 09:47:07 +0000 (10:47 +0100)]
OSGi: Fixing dynamic resource registration after activation (#11334)

* Fixing dynamic resource registration after activation

* Fixed formatting

* Fixed formatting

* Merge branch 'master' into osgi-dynamic-fix

5 years agorelease notes additions
Olli Tietäväinen [Wed, 28 Nov 2018 11:59:32 +0000 (13:59 +0200)]
release notes additions

5 years agoadded newlines to the end of files
Olli Tietäväinen [Wed, 28 Nov 2018 11:41:43 +0000 (13:41 +0200)]
added newlines to the end of files

5 years agoformatting changes
Olli Tietäväinen [Wed, 14 Nov 2018 11:48:43 +0000 (13:48 +0200)]
formatting changes

5 years agopick tests from https://github.com/vaadin/framework/pull/11092
Olli Tietäväinen [Wed, 14 Nov 2018 11:28:24 +0000 (13:28 +0200)]
pick tests from https://github.com/vaadin/framework/pull/11092

5 years agoremoved unnecessary string concatenation
Olli Tietäväinen [Tue, 13 Nov 2018 15:00:51 +0000 (17:00 +0200)]
removed unnecessary string concatenation

5 years agoformatting changes
Olli Tietäväinen [Tue, 13 Nov 2018 14:11:14 +0000 (16:11 +0200)]
formatting changes

5 years agopick remaining changes from https://github.com/vaadin/framework/pull/10453
Olli Tietäväinen [Tue, 13 Nov 2018 13:17:56 +0000 (15:17 +0200)]
pick remaining changes from https://github.com/vaadin/framework/pull/10453

5 years agov7 Grid performance improvements picked to compatibility package
Olli Tietäväinen [Tue, 13 Nov 2018 13:00:48 +0000 (15:00 +0200)]
v7 Grid performance improvements picked to compatibility package

5 years agopicked fix to #10453 to compatibility package
Olli Tietäväinen [Tue, 13 Nov 2018 10:46:46 +0000 (12:46 +0200)]
picked fix to #10453 to compatibility package

5 years agoUpdate screenshot in IE11 and increase sleeping time for ColorPickerTest
Sun Zhe [Wed, 28 Nov 2018 09:17:56 +0000 (11:17 +0200)]
Update screenshot in IE11 and increase sleeping time for ColorPickerTest

5 years agoFix colorPicker tests (#11312)
Sun Zhe [Tue, 27 Nov 2018 15:09:41 +0000 (17:09 +0200)]
Fix colorPicker tests (#11312)

* Fix colorPicker tests

In IE11, the click-layer needs longer time to load.

5 years agoRevert "Update ComboBox internal state on new item added (#11094)" (#11331)
Sun Zhe [Tue, 27 Nov 2018 12:59:17 +0000 (14:59 +0200)]
Revert "Update ComboBox internal state on new item added (#11094)" (#11331)

* Revert "Update ComboBox internal state on new item added (#11094)"

This reverts commit 56ce91c6160a252ddcd952bca6eb7037120ebf59.

* Add tests to verify the issue

5 years agoFix to use correct spacer index and existing helper method. (#11328)
Anna Koskinen [Fri, 23 Nov 2018 08:48:45 +0000 (10:48 +0200)]
Fix to use correct spacer index and existing helper method. (#11328)

* Fix to use correct spacer index and existing helper method.

Fixes #11325

5 years agoFix for setting default row height for a Grid with details row(s) open. (#11326)
Anna Koskinen [Wed, 21 Nov 2018 12:46:06 +0000 (14:46 +0200)]
Fix for setting default row height for a Grid with details row(s) open. (#11326)

* Fix for setting default row height for a Grid with details row(s) open.

- Details row(s) should be taken into account when the rows are
re-positioned after getting new heights.

Fixes #11325

5 years agoRemoves wrong suggestion from checkbox documentation (#11324)
tmattsso [Tue, 20 Nov 2018 11:03:22 +0000 (13:03 +0200)]
Removes wrong suggestion from checkbox documentation (#11324)

5 years agoAdd javadoc for validate() call in Binder (#11318)
Sun Zhe [Thu, 15 Nov 2018 11:20:23 +0000 (13:20 +0200)]
Add javadoc for validate() call in Binder (#11318)

* Add javadoc for validate() call in Binder

5 years agoRefactoring DataCommunicator code (#11304)
Anastasia Smirnova [Thu, 15 Nov 2018 06:56:40 +0000 (08:56 +0200)]
Refactoring DataCommunicator code (#11304)

This refactoring addresses two issues cased by dropping updatedData before it was processed. Issues arise , when visibility has change.

Fixes #11274 and similar issue within RadioButton

There is no reliable way to test automatically NativeSelects in Grid, but adding UI test, at least

5 years agoUpdate context-menu version (#11313)
Sun Zhe [Wed, 14 Nov 2018 09:25:21 +0000 (11:25 +0200)]
Update context-menu version (#11313)

5 years agoCorrect the logic for validation used in DateField (#11307)
Sun Zhe [Tue, 13 Nov 2018 11:48:28 +0000 (13:48 +0200)]
Correct the logic for validation used in DateField (#11307)

Fixes #11276

Refactor the code and correct the logic for validation

Rename an internal variable, as it contains more than one type of messages

5 years agoUpdate DateTimeField failing screenshot (#11300)
Anastasia Smirnova [Fri, 9 Nov 2018 07:29:29 +0000 (09:29 +0200)]
Update DateTimeField failing screenshot (#11300)

5 years agofixes #11297 by updating docs and pictures (#11298)
tmattsso [Thu, 8 Nov 2018 15:13:03 +0000 (17:13 +0200)]
fixes #11297 by updating docs and pictures (#11298)

5 years agoUpdate VaadinIcons (#11281)
Ilia Motornyi [Thu, 8 Nov 2018 10:50:34 +0000 (12:50 +0200)]
Update VaadinIcons (#11281)

5 years agoRemoved typo in method , there was an extra ")" (#11295)
Leviand [Thu, 8 Nov 2018 06:39:08 +0000 (07:39 +0100)]
Removed typo in method , there was an extra ")" (#11295)

5 years agoUpdate framework to use jetty-server 9.4 (#11272)
Sun Zhe [Tue, 6 Nov 2018 15:04:33 +0000 (17:04 +0200)]
Update framework to use jetty-server 9.4 (#11272)

Fix upload issue

5 years agoCode formatting (#11278)
Sun Zhe [Tue, 6 Nov 2018 12:52:28 +0000 (14:52 +0200)]
Code formatting (#11278)

5 years agoFixing NPE in Binder, ported from Flow (#11290)
Mehdi Javan [Tue, 6 Nov 2018 06:40:58 +0000 (08:40 +0200)]
Fixing NPE in Binder, ported from Flow (#11290)

5 years agoMake value changes in color picker user originated (#11252)
Jeremy Stucki [Fri, 2 Nov 2018 10:51:23 +0000 (11:51 +0100)]
Make value changes in color picker user originated (#11252)

* Make value changes in color picker user originated

This is not a programmatically initiated event, so it should have the
'userOriginated' property set to 'true'.

 - Added test to verify that indeed event is user originated after the change

5 years agoCorrected method name TreeDataProvider#getTreeData (#11286)
Alejandro J. C De Baca [Thu, 1 Nov 2018 08:40:22 +0000 (04:40 -0400)]
Corrected method name TreeDataProvider#getTreeData (#11286)

* Corrected method name TreeDataProvider#getTreeData

The method name was incorrect in the documentation - was showing `getData()` but should be `getTreeData()`.

5 years agoRefactor the usage of KeyMapper in ActionManager. (#11265)
Sun Zhe [Fri, 26 Oct 2018 12:55:38 +0000 (15:55 +0300)]
Refactor the usage of KeyMapper in ActionManager. (#11265)

* Add Test for closing window with focused textfield

verify issue #10642

* Refactor the code about using keyMapper

5 years agoFix karaf-4.2.1 test (#11264)
Ilia Motornyi [Thu, 25 Oct 2018 08:44:14 +0000 (11:44 +0300)]
Fix karaf-4.2.1 test (#11264)

5 years agoUpdate jetty version to non-security alert (#11266)
Sun Zhe [Wed, 24 Oct 2018 12:43:15 +0000 (15:43 +0300)]
Update jetty version to non-security alert (#11266)

* Update jetty version to non-security alert

* Remove out-dated comments.

5 years agoUpdate time in ReadOnly state of DateTimeCalendar (#11269)
Anastasia Smirnova [Wed, 24 Oct 2018 08:30:16 +0000 (11:30 +0300)]
Update time in ReadOnly state of DateTimeCalendar (#11269)

Fix https://github.com/vaadin/framework/issues/11268

```buildTime()``` function re-initializes ListBoxes for hours,minutes and seconds values. We need to set correct values in those ListBoxes, before assigning value to the labels displayed instead of those ListBoxes in ReadOnly state, as , otherwise, the selectedItemIndex returns 0.

5 years agoImprove setStyleGenerator JavaDocs (#11262)
Tatu Lund [Fri, 19 Oct 2018 09:43:08 +0000 (12:43 +0300)]
Improve setStyleGenerator JavaDocs (#11262)

Added note that style generator is not applied to the Editor

See also: https://github.com/vaadin/framework/issues/11169

6 years agoDisplay the caption of the Empty selection in NativeSelect (#11191)
Anastasia Smirnova [Thu, 18 Oct 2018 12:28:23 +0000 (15:28 +0300)]
Display the caption of the Empty selection in NativeSelect (#11191)

* Fixes #10937

- Previously if selected value is null, then index is set to -1; in current implementation if value is null and emptySelection is allowed then set the index to 0. (The position for the empty selection)

- Also, if changing the allowEmptySelection on the fly, ensure, that either index is to-reset to -1 by setting the selected value to null on the client-side (the value before was null) or preserve the value(value was different than empty).

* Change the test case

Since in this pr the behaviour of the NS is changed, therefore old test need to be adjusted.

Change: setting null as value will select empty selection. Before that nothing would be selected and value will be cleared.

Behaviour change in PR: Allow selecting null as value

6 years agoRebuild calendar pop-up on readOnly state change (#11249)
Anastasia Smirnova [Wed, 17 Oct 2018 08:12:03 +0000 (11:12 +0300)]
Rebuild calendar pop-up on readOnly state change (#11249)

* Rebuild calendar pop-up on readOnly state change

Fixes https://github.com/vaadin/framework/issues/6565

6 years agoFormat the code (#11244)
Sun Zhe [Mon, 15 Oct 2018 05:42:48 +0000 (08:42 +0300)]
Format the code (#11244)

6 years agoRevert change to fix issue on removing Grid with components (#11224)
Sun Zhe [Fri, 12 Oct 2018 13:04:24 +0000 (16:04 +0300)]
Revert change to fix issue on removing Grid with components (#11224)

* Test case for removing Grid with components

* This reverts commit b2745dc14f17b510df7321ab3f6285ed317da3b3.

Add test case to address the issue with removing gird with components;
Current situation: the grid cannot be removed and client-side throw an error.
fixes: Revert the corresponding change, as it didn't address any issue which was fixed.

6 years agoUpdates to scrolled TabSheet resize logic and Valo right-alignment. (#11133)
Anna Koskinen [Wed, 10 Oct 2018 10:26:13 +0000 (13:26 +0300)]
Updates to scrolled TabSheet resize logic and Valo right-alignment. (#11133)

- When a TabSheet is scrolled to an end and then resized bigger, more
tabs should appear to the left.
- When a TabSheet is right-aligned in Valo and scrolled to the end, last
tab shouldn't be partially hidden behind the scroller buttons.
- Shouldn't allow attempts to scroll into directions where there is
nothing left to scroll to, even if the current tab isn't fully visible.

Fixes #807

6 years agoCorrect typo in tutorial (#11230)
Sun Zhe [Tue, 9 Oct 2018 13:27:16 +0000 (16:27 +0300)]
Correct typo in tutorial (#11230)

6 years agoRun formatter to the code (#11227)
Sun Zhe [Tue, 9 Oct 2018 12:50:45 +0000 (15:50 +0300)]
Run formatter to the code (#11227)

6 years agoUpdate selenium version (#11232)
Sun Zhe [Tue, 9 Oct 2018 11:05:31 +0000 (14:05 +0300)]
Update selenium version (#11232)

* Testsing: Update selenium version

6 years agoFixes to displaying Grid in a detail row. (#11147)
Anna Koskinen [Mon, 8 Oct 2018 12:08:05 +0000 (15:08 +0300)]
Fixes to displaying Grid in a detail row. (#11147)

- Multiple headers shouldn't stack behind each other.
- Body rows shouldn't get stuck to default row height.
- Compatibility version's hidable row selector shouldn't try to
calculate row heights based on rows that haven't been added to DOM yet.

Fixes #7674

6 years agoUpdate vaadin.plugin.version (#11220)
Sun Zhe [Mon, 8 Oct 2018 10:27:19 +0000 (13:27 +0300)]
Update vaadin.plugin.version (#11220)

* Use project.version for vaadin plugin

6 years agoSuppress unavoidable UIDetachedException (#11146)
Leif Åstrand [Tue, 2 Oct 2018 11:21:41 +0000 (14:21 +0300)]
Suppress unavoidable UIDetachedException (#11146)

* Suppress unavoidable UIDetachedException

Fixes #11144