]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
5 years agoInput prompt was renamed to placeholder OlliTietavainenVaadin-patch-2
Olli Tietäväinen [Wed, 3 Jul 2019 07:09:21 +0000 (10:09 +0300)]
Input prompt was renamed to placeholder

5 years agoSanitize caption used in Grid header (#11644)
Zhe Sun [Mon, 1 Jul 2019 11:56:48 +0000 (14:56 +0300)]
Sanitize caption used in Grid header (#11644)

* Sanitize input used in Grid header

5 years agoFixes unstable/muted tests (#11640) 8.9.0.alpha1
Zhe Sun [Fri, 28 Jun 2019 06:08:07 +0000 (09:08 +0300)]
Fixes unstable/muted tests (#11640)

5 years agoRemoved ';' in lambdas (#11628)
Zhe Sun [Thu, 27 Jun 2019 13:31:25 +0000 (16:31 +0300)]
Removed ';' in lambdas (#11628)

* Removed ';' in lambdas

credits to @voltor

* Merge branch 'master' into ZheSun88-patch-1

5 years agoUpdate release note and Since tag (#11639)
Zhe Sun [Thu, 27 Jun 2019 12:34:37 +0000 (15:34 +0300)]
Update release note and Since tag (#11639)

* Update release note for 8.9

* Missing Since

5 years agoOSGi: Removed static VaadinResourceService access in liferay-integration, osgi-integr...
S.W [Thu, 27 Jun 2019 07:58:37 +0000 (09:58 +0200)]
OSGi: Removed static VaadinResourceService access in liferay-integration, osgi-integration (#11335)

* Made VaadinResourceService a OSGi component, removed static access of OsgiVaadinResources

5 years agoAdd Delay to unstable tests (#11638)
Zhe Sun [Thu, 27 Jun 2019 04:58:21 +0000 (07:58 +0300)]
Add Delay to unstable tests (#11638)

* Add Delay to unstable tests

* Add sleep time

5 years agoAdding css class to Editor when on selected row (#11636)
Tatu Lund [Wed, 26 Jun 2019 10:42:10 +0000 (13:42 +0300)]
Adding css class to Editor when on selected row (#11636)

* Adding "v-grid-editor-selected" stylename in editor cell wrapper element when Grid is opened on selected row.

5 years agoFixing upload handler error handling (#11630)
Tatu Lund [Tue, 25 Jun 2019 12:03:09 +0000 (15:03 +0300)]
Fixing upload handler error handling (#11630)

* Fixing upload handler error handling

For some reason stream variable cleanup did not use UI.getCurrent(), despite current UI was set earlier in handleRequest, what I see specifically for this purpose. So I chanted this. This will address also issue #7289

Furthermore there was TODO in handle request about error handling. I interpreted this to refer to possible corner case, that UI is not found via session. In this case it is more appropriate throw UploadException and abort, than lat NPE happen.

* Fixing exception type

5 years agoClicking on DateField pop-up should select Month/Year (#11531)
Anastasia Smirnova [Tue, 25 Jun 2019 05:37:08 +0000 (08:37 +0300)]
Clicking on DateField pop-up should select Month/Year (#11531)

* Clicking on DateField pop-up should select Month/Year

In Year/Month Resolution DateField should select the value, when user clicks on pop-up

Fixes #8447

5 years agoLimit previous solution for non-push mode UI (#11629)
Zhe Sun [Mon, 24 Jun 2019 08:10:49 +0000 (11:10 +0300)]
Limit previous solution for non-push mode UI (#11629)

* add test case

* Limit the workaround for non-push mode

Fixes #11616

5 years agoAdd IE11 workaround for ListSelect multiselection. (#11631)
Anna Koskinen [Thu, 20 Jun 2019 12:27:54 +0000 (15:27 +0300)]
Add IE11 workaround for ListSelect multiselection. (#11631)

Fixes #11608

5 years agoDeploying Vaadin 8.8.2 on WebSphere Application Server 8.5.5.15 traditional (#11624)
akovac35 [Tue, 18 Jun 2019 06:38:44 +0000 (08:38 +0200)]
Deploying Vaadin 8.8.2 on WebSphere Application Server 8.5.5.15 traditional (#11624)

* Create DeployingVaadinOnWebsphere

* Rename DeployingVaadinOnWebsphere to DeployingVaadinOnWebsphere.asciidoc

5 years agoSeparates a rpc for handling the client event order in DateTimeField (#11574)
Zhe Sun [Fri, 14 Jun 2019 12:31:44 +0000 (15:31 +0300)]
Separates a rpc for handling the client event order in DateTimeField (#11574)

* Using @Delayed annotation for DateField Rpc

* Separate a rpc for handling the time change in DateTimeField

* Add test case for wrong event order

5 years agoImproved fix for #11614 (#11618)
Martin Vysny [Thu, 13 Jun 2019 12:03:00 +0000 (15:03 +0300)]
Improved fix for #11614 (#11618)

* #11614: Added test which demonstrates that the fix is incomplete

* #11614: UI.doRefresh() only calls navigator when the navigation state actually changes

* Added javadoc to Navigator.getCurrentNavigationState()

* Minor: Removed accidental star imports

5 years agoUpdate Chrome version in Test (#11613)
Zhe Sun [Wed, 12 Jun 2019 09:36:55 +0000 (12:36 +0300)]
Update Chrome version in Test (#11613)

1) recalculate the offset, as ChromeDriver starts to follow the standard;
2) update screenshots;
3) correct the `click()` call with using coordinates, related to 1)
4) `sendkey()` with using key.modifier adjustment
5) add sleep
6) workaround for mastery failures

5 years agoFix regression that broke PreserveOnRefresh functionality with Navigator (#11615)
Tatu Lund [Fri, 7 Jun 2019 10:14:38 +0000 (13:14 +0300)]
Fix regression that broke PreserveOnRefresh functionality with Navigator (#11615)

* Fix regression that broke PreserveOnRefresh functionality with Navigator

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

Old patch https://github.com/vaadin/framework/issues/11416 calls navigateTo allways when Navigator is present, which is wrong, since it is needed only when navigation state has truly changed.

* Add test to the fix

5 years agoUpdate spring addon to 3.2.0 (#11610)
Zhe Sun [Fri, 7 Jun 2019 07:22:35 +0000 (10:22 +0300)]
Update spring addon to 3.2.0 (#11610)

* Update spring addon to 3.2.0

* Merge branch 'master' into ZheSun88-patch-1

5 years agoRecalculate the column widths before the first row is added (#11609)
Zhe Sun [Thu, 6 Jun 2019 05:45:02 +0000 (08:45 +0300)]
Recalculate the column widths before the first row is added (#11609)

* Recalculate the column widths before the first row is added

Fixes #11607

5 years agoGrid Editor: make Tab key skip read-only/disabled fields (#11586)
Martin Vysny [Mon, 3 Jun 2019 10:02:04 +0000 (12:02 +0200)]
Grid Editor: make Tab key skip read-only/disabled fields (#11586)

* Grid Editor: make Tab key skip read-only/disabled fields

Closes #11584

* Extracted DefaultEditorEventHandler.getDeltaFromKeyDownEvent() which allows for easy further Grid Editor customization

* Make DefaultEditorEventHandler.Delta public so that getDeltaFromKeyDownEvent() can be overridden

* Fixed exception in isEditable() if the widget was not a Field

* Refactored DefaultEditorEventHandler.Delta to CursorMoveDelta which expresses the intent more clearly

* Merge branch 'master' into master

5 years agofix misspelled function call (#11602)
Trent Nguyen [Fri, 24 May 2019 05:48:21 +0000 (00:48 -0500)]
fix misspelled function call (#11602)

5 years agoUpdate broken docs syntax in github (#11596)
Zhe Sun [Thu, 23 May 2019 06:43:31 +0000 (09:43 +0300)]
Update broken docs syntax in github (#11596)

* Add delay to the unstable test

* Add delay for unstable tests

* Update broken docs syntax in github

* Merge branch 'master' into ZheSun88-patch-1

* Update doc reference syntax

* Merge branch 'ZheSun88-patch-1' of github.com:vaadin/framework into ZheSun88-patch-1

# Conflicts:
# documentation/components/components-overview.asciidoc

* Merge branch 'master' into ZheSun88-patch-1

* use .asciidoc

* Merge remote-tracking branch 'origin/ZheSun88-patch-1' into ZheSun88-patch-1

* use .asciidoc

* Merge branch 'master' into ZheSun88-patch-1

5 years agoOverride reserved globals for Firefox (#11598)
Artur [Wed, 22 May 2019 12:48:34 +0000 (15:48 +0300)]
Override reserved globals for Firefox (#11598)

Fixes #11597

5 years agoFixing broken links in V8 documentation (#11591)
juhopiirainen [Wed, 22 May 2019 08:50:44 +0000 (11:50 +0300)]
Fixing broken links in V8 documentation (#11591)

5 years agoMigrate blog post (#11579)
Sun Zhe [Wed, 22 May 2019 06:22:12 +0000 (09:22 +0300)]
Migrate blog post (#11579)

* Migrate blog post to articles

* Add to Content list

* Add link to the referred content

5 years agoFix Grid reordering when there are hidden columns
cuong-phan [Mon, 20 May 2019 12:00:38 +0000 (15:00 +0300)]
Fix Grid reordering when there are hidden columns

* Fix grid column reordering

Fix grid column reordering when there are hidden columns and footerRow.join

* Add test

5 years agoDon't attempt to scroll to the beginning or end if Grid has no rows. (#11570)
Anna Koskinen [Mon, 20 May 2019 06:35:49 +0000 (09:35 +0300)]
Don't attempt to scroll to the beginning or end if Grid has no rows. (#11570)

Fixes #11558

5 years agoUpdated instructions on how to run TB3+ tests with Intellij; added Qu… (#11580)
Martin Vysny [Fri, 17 May 2019 12:53:22 +0000 (14:53 +0200)]
Updated instructions on how to run TB3+ tests with Intellij; added Qu… (#11580)

* Updated instructions on how to run TB3+ tests with Intellij; added QuickStart to quickly set up testing environment

* Readme rewording

5 years agoFix duplicate grid column visibility change event (#11565)
cuong-phan [Thu, 16 May 2019 08:53:24 +0000 (11:53 +0300)]
Fix duplicate grid column visibility change event (#11565)

* Fix duplicate grid column visibility change event

Toggle a column visibility through UI will fire 2 event. There should be only 1.

* Add Test

5 years agoGrid editor: TAB now skips non-editable columns (#11573)
Martin Vysny [Thu, 16 May 2019 06:27:33 +0000 (08:27 +0200)]
Grid editor: TAB now skips non-editable columns (#11573)

* Grid editor: TAB now skips non-editable columns

Pressing TAB would shift the focus to non-editable cells when the Grid was in edit mode.
This patch makes DefaultEditorEventHandler to skip such columns.

Closes #10970

* Add tests

5 years agoFix the broken links in the documentation
juhopiirainen [Wed, 15 May 2019 06:27:58 +0000 (09:27 +0300)]
Fix the broken links in the documentation

5 years agoReduce Grid's sort complexity. (#11566)
Anna Koskinen [Wed, 15 May 2019 05:45:13 +0000 (08:45 +0300)]
Reduce Grid's sort complexity. (#11566)

- limit DataCommunicator workaround from #11320 to ComboBox only
- don't reset DataCommunicator before modifying all sorting data

Fixes #11532

5 years agoAdd handling for completely empty Grid's column width calculations. (#11569)
Anna Koskinen [Tue, 14 May 2019 12:05:12 +0000 (15:05 +0300)]
Add handling for completely empty Grid's column width calculations. (#11569)

Fixes #11557

5 years agoUpdate for Liferay 7.2 compatibility (#11564)
Chris Morris [Mon, 13 May 2019 10:00:43 +0000 (11:00 +0100)]
Update for Liferay 7.2 compatibility (#11564)

Change so that liferay 7.2 can run Vaadin portlets

5 years agocode format (#11555)
Sun Zhe [Thu, 2 May 2019 12:13:17 +0000 (15:13 +0300)]
code format (#11555)

5 years agoChanged the handleSessionExpired logic to return a 404 instead of a 410 and added...
edler-san [Thu, 2 May 2019 11:26:14 +0000 (13:26 +0200)]
Changed the handleSessionExpired logic to return a 404 instead of a 410 and added the no-cache parameter to the reply. (#11556)

* Changed the handleSessionExpired logic to return a 404 instead of a 410. Also added the no-cache parameter to the reply.
See https://github.com/vaadin/framework/issues/4417 for discussion.

5 years agoCode format (#11548)
Sun Zhe [Mon, 29 Apr 2019 10:00:28 +0000 (13:00 +0300)]
Code format (#11548)

* Code format

* Merge branch 'master' into code-format

5 years agoUpdate jetty.version to solve vulnerability alert (#11546)
Sun Zhe [Mon, 29 Apr 2019 09:05:58 +0000 (12:05 +0300)]
Update jetty.version to solve vulnerability alert (#11546)

5 years agoReplace the screenshot usage in framework test (#11547)
Sun Zhe [Mon, 29 Apr 2019 08:27:35 +0000 (11:27 +0300)]
Replace the screenshot usage in framework test (#11547)

- Replace the GridDisabledTest screenshot usage
- Replace the screenshot tests in BasicCrudGridEditorRowTest
- Replace the screenshot tests in ComboboxVaadinIcons
- Replace the screenshot tests in ValoThemeUITest::accordions
- Added screenshotcomparetolerance to some screenshot test to make tests stable

5 years agoOpening methods for Spring add-on to be used in the fix (#11551)
Tatu Lund [Thu, 25 Apr 2019 12:30:33 +0000 (15:30 +0300)]
Opening methods for Spring add-on to be used in the fix (#11551)

Spring add-on needs to use these added methods in order to fix #10922

5 years agoUpdate browser version in the test (#11550)
Sun Zhe [Thu, 25 Apr 2019 10:07:20 +0000 (13:07 +0300)]
Update browser version in the test (#11550)

5 years agoReset Combobox internal state (#11412)
Sun Zhe [Wed, 24 Apr 2019 10:28:01 +0000 (13:28 +0300)]
Reset Combobox internal state (#11412)

issue in #11343 and #11385 is not reproducible on top this patch
Three different bugs are involved in this fix:
we bring the old fix(#11094) back and fixed the other related issues:
1) allow adding the same new item after dataProvider got reset, This is cause by the client side parameter `LastNewItemString`, it saves the value added before resetting.
2) clear the pending newItem eagerly, so that the same value will not be added again.

5 years agoUpdate to 8.9 (#11535)
Sun Zhe [Thu, 18 Apr 2019 09:34:11 +0000 (12:34 +0300)]
Update to 8.9 (#11535)

* Update to 8.9-SNAPSHOT

* update in bom module

5 years agoFinish the since tag (#11540) (#11543)
Sun Zhe [Thu, 18 Apr 2019 06:20:20 +0000 (09:20 +0300)]
Finish the since tag (#11540) (#11543)

5 years agoCreate StringToUuidConverter.java (#11387)
Basil Bourque [Wed, 10 Apr 2019 18:28:46 +0000 (11:28 -0700)]
Create StringToUuidConverter.java (#11387)

* Create StringToUuidConverter.java

Implements the `Converter` interface, to support converting back-and-forth between `String` and `UUID` (a type built into Java 5 and later).

See Issue # 11,051.
https://github.com/vaadin/framework/issues/11051

* Formatting cleanup, remove sinces

5 years agoClicking on slider makes handler move (#11519)
Anastasia Smirnova [Wed, 10 Apr 2019 13:17:18 +0000 (16:17 +0300)]
Clicking on slider makes handler move (#11519)

* Clicking on slider makes handler move

Fixes #1496

* Introducing control over clicking behaviour

- User will have to enable process of the click event on handle calling `slider.setEnableClickHandler(true);`
- Clean-up the handler logic in VSlider.java
- Renaming the property to `updateValueOnClick`
- Added JavaDocs
- Fixing tests

5 years agoFixing autocompletion issue with ComboBox on newer Chrome versions (#11524)
Tatu Lund [Wed, 10 Apr 2019 11:42:58 +0000 (14:42 +0300)]
Fixing autocompletion issue with ComboBox on newer Chrome versions (#11524)

Newer Chrome versions do not work with random number hack to prevent auto completion, but it finally supports autocomplete=off.

Adapted from https://github.com/vaadin/framework/pull/11472

Fixes #11437

5 years agoFixing autocompletion issue with ComboBox on newer Chrome versions (#11472)
Tatu Lund [Wed, 10 Apr 2019 10:07:43 +0000 (13:07 +0300)]
Fixing autocompletion issue with ComboBox on newer Chrome versions (#11472)

* Fixing autocompletion issue with ComboBox on newer Chrome versions

Newer Chrome versions do not work with random number hack to prevent auto completion, but it finally supports autocomplete=off.

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

* Merge branch 'master' into fix11437

5 years agoAdded note about Java 8 vendors (#11530)
Olli Tietäväinen [Wed, 10 Apr 2019 05:42:01 +0000 (08:42 +0300)]
Added note about Java 8 vendors (#11530)

* Added note about Java 8 vendors

* Update release-notes.html

5 years agoAdd delay to the unstable test (#11538)
Sun Zhe [Tue, 9 Apr 2019 13:45:30 +0000 (16:45 +0300)]
Add delay to the unstable test (#11538)

* Add delay to the unstable test

5 years agoUse Enter and Space keys to fire Window header buttons (#11517) (#11534)
KatriHaapalinna [Mon, 8 Apr 2019 11:31:17 +0000 (14:31 +0300)]
Use Enter and Space keys to fire Window header buttons (#11517) (#11534)

* Fixes 11517. Use ENTER and SPACE keys as shortcuts for header buttons

* Merge branch 'master' into fix-11517

* Increase sleep time for test failing in validation

* Merge branch 'master' into fix-11517

5 years agoUpdate screenshots after chrome updates (#11536)
Sun Zhe [Mon, 8 Apr 2019 08:10:09 +0000 (11:10 +0300)]
Update screenshots after chrome updates (#11536)

* Update screenshots after chrome updates

* Update screenshots after chrome updates

5 years agoReset selection on DataProvider change in RadioButtonGroup (#11526)
Anastasia Smirnova [Thu, 4 Apr 2019 11:45:38 +0000 (14:45 +0300)]
Reset selection on DataProvider change in RadioButtonGroup (#11526)

* Reset selection on DataProvider change in RadioButtonGroup

Fixes #11454

Other components needing the same fix are ListSelect,NativeSelect,Combobox (The ones implementing HasDataProvider and extending AbstractSingleSelect. Grid is not affected as it extends AbstractListing and hadles selection differently)

* Added test case

Verify that ValueChangeListener is actually fired after value is reset setting new DataProvider

5 years agoRead-only combobox should not handle PASTE event (#11529)
Anastasia Smirnova [Thu, 4 Apr 2019 07:00:46 +0000 (10:00 +0300)]
Read-only combobox should not handle PASTE event (#11529)

Fixes 11528

5 years agosetCaption of Panel did not honor setCaptionAsHtml (#11523)
Tatu Lund [Tue, 2 Apr 2019 10:46:29 +0000 (13:46 +0300)]
setCaption of Panel did not honor setCaptionAsHtml (#11523)

Verify that correct mode(HTML/TEXT) of caption is set for the  Panel
Fixes #11521

5 years agoAdded missing numpad key codes (#11490)
Tatu Lund [Tue, 2 Apr 2019 04:39:42 +0000 (07:39 +0300)]
Added missing numpad key codes (#11490)

Fixes #11489

5 years agoInit logging in VaadinServlet instead of an UI (#11525)
Martin Vysny [Mon, 1 Apr 2019 19:07:59 +0000 (22:07 +0300)]
Init logging in VaadinServlet instead of an UI (#11525)

If you use multiple UIs, the use of SLF4J would depend on the UI initialization order which could be pretty random. If you have multiple servlets, it's even better to init SLF4J in ServletContextListener.

5 years agoSupport Firefox 65+ key down event behavior (#11503)
Yuriy Artamonov [Fri, 29 Mar 2019 08:58:05 +0000 (12:58 +0400)]
Support Firefox 65+ key down event behavior (#11503)

Fixes #11502

5 years agoDocuments the possibility to use vaadin:// and theme:// in JavaScript… (#11512)
Martin Vysny [Thu, 28 Mar 2019 14:23:24 +0000 (16:23 +0200)]
Documents the possibility to use vaadin:// and theme:// in JavaScript… (#11512)

Documents the possibility to use vaadin:// and theme:// in JavaScript and StyleSheet annotations.

Fixes #8675

5 years agoMention DataProvider training videos in components-grid.asciidoc (#11494)
alexandruchiuariu [Thu, 28 Mar 2019 06:16:47 +0000 (08:16 +0200)]
Mention DataProvider training videos in components-grid.asciidoc (#11494)

5 years agoFix NPE in v7 compatibility Grid during datasource rebind (#11473)
Tobse [Wed, 27 Mar 2019 17:59:08 +0000 (18:59 +0100)]
Fix NPE in v7 compatibility Grid during datasource rebind (#11473)

Add DataChangeHandler removal in v7 Grid just as in v8 Grid.
Adding tests to the fix to verify, that NPE is not thrown.

5 years agoAdd mention about video trainings to the tutorial page (#11493)
alexandruchiuariu [Wed, 27 Mar 2019 13:00:05 +0000 (15:00 +0200)]
Add mention about video trainings to the tutorial page (#11493)

5 years agoMaking V8 ReadOnly TextField select row in table upon clicking (#11480)
Anastasia Smirnova [Wed, 27 Mar 2019 10:34:35 +0000 (12:34 +0200)]
Making V8 ReadOnly TextField select row in table upon clicking (#11480)

Add check for the V8 TextField used in Table in compatibility mode. This makes clicking cell with the TextField select the row, preserving behaviour from V7.
Through, as it's noted also before, this is an improved workaround, not a proper solution to address the issue.

Fixes #11474

5 years agoDo not recommend crappy old containers in tutorial (#11514)
Pekka Hyvönen [Wed, 27 Mar 2019 05:32:59 +0000 (07:32 +0200)]
Do not recommend crappy old containers in tutorial (#11514)

Removed link to and recommendation  for SQLContainer

5 years agoUpdate datamodel-forms.asciidoc (#11496)
alexandruchiuariu [Fri, 22 Mar 2019 13:09:13 +0000 (15:09 +0200)]
Update datamodel-forms.asciidoc (#11496)

5 years agoUpdate checkstyle dependency to fix security vulnerability (#11497)
Sun Zhe [Thu, 21 Mar 2019 13:15:45 +0000 (15:15 +0200)]
Update checkstyle dependency to fix security vulnerability (#11497)

5 years agoMake improve of caching for hierarchical data optional (#11501)
Klaudeta [Thu, 21 Mar 2019 05:56:20 +0000 (07:56 +0200)]
Make improve of caching for hierarchical data optional (#11501)

Make improve of caching for hierarchical data optional

Fixes #11477

5 years agoAdd note about dependency injection in BrowserWindowOpener JavaDocs (#11495)
Tatu Lund [Thu, 14 Mar 2019 19:24:59 +0000 (21:24 +0200)]
Add note about dependency injection in BrowserWindowOpener JavaDocs (#11495)

If BrowserWindowOpener is used with constructor using Class<? extends UI> as parameter, it will have UI provider with generated url. This will not match UI beans in contextual storage and hence newly created UI will not be managed bean. Due this, injection to new UI instance will not happen. If you are using CDI , BrowserWindowOpener(String) constructor needs to be used.

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