summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix scrollTo for destination START and END and add regression testing. (#11707)Anna Koskinen2019-09-053-48/+356
| | | | | | | | | | | - Initial implementation erroneously assumed that ScrollDestination.START would only be used for scrolling up and ScrollDestination.END for scrolling down. That's obviously not what they are for, otherwise everyone would be using ScrollDestination.ANY. - Moved actual scrolling to within the helper method that originally only calculated the new scroll position. Parent method became too long otherwise. Fixes #11706
* Updated row and spacer handling for Escalator (#11438)Anna Koskinen2019-08-2917-1078/+3277
| | | | | | | | | | | | | | | | | | | | | | | Updated row and spacer handling for Escalator. Main changes: - Spacers are only maintained and checked for rows that have DOM representation, and not at all if there is no details generator. This gives notable performance improvements to some particularly large Grids - Escalator no longer tries to trim away any rows that don't fit within the viewport just because a details row gets opened in Grid. This leads to some increase in simultaneous DOM elements, but simplifies the logic considerably. For example opening or closing details rows doesn't require checking the overall content validity beyond the details row itself anymore, but some repositioning at most. There are also no longer any orphaned spacers without corresponding DOM rows. - Spacers are better integrated into the overall position calculations. - Some public methods that are no longer used by Escalator or have changed functionality or order of operations. Any extending classes that tap into row, spacer, or scroll position handling are likely to need reworking after this update. - Auto-detecting row height is delayed until Escalator is both attached and displayed.
* Read-only styles shouldn't override borderless background styles. (#11692)Anna Koskinen2019-08-1614-14/+179
| | | | | | | | | | | * Read-only styles shouldn't override borderless background styles. - Fixed for ComboBox and DateField styles, other tested components already do it right. Fixes #11671 * Merge branch 'master' into issue11671
* Add explicit handling of ctrl-a (#11693)Tatu Lund2019-08-123-0/+65
| | | | | | | | * Add explicit handling of ctrl-a Fixes https://github.com/vaadin/framework/issues/11678 * Adds test case and formatting the code
* Update Chrome version, snapshots and fix tests (#11684)Zhe Sun2019-08-05199-42/+73
|
* Add a missing letter (#11676)Anastasia Smirnova2019-07-301-1/+1
| | | Fixes https://github.com/vaadin/framework/issues/11409
* Update the since tag (#11675)Zhe Sun2019-07-306-6/+6
| | | | * Update the since tag
* Update Spring addon to 3.2.1 (#11670)Zhe Sun2019-07-301-1/+1
|
* Update screenshot (#11669)Zhe Sun2019-07-301-0/+0
|
* Apply offset to column index depending on presense of selection column (#11667)Tatu Lund2019-07-302-1/+72
| | | | | | | | * Apply offset to column index depending on presense of selection column After testing this manually I noticed that offset correction needs to be negative * Add the testing UI
* Ensure the upload button has been disabled when set Enabled calling from ↵Zhe Sun2019-07-293-0/+306
| | | | | | | | | succeedL… (#11655) * Ensure the upload button has been disabled when calling from succeedListener with Push enabled * Add Tests to verify
* Prevent excessive getLogger() calls from markAsDirty() (#11664)Leif Åstrand2019-07-291-15/+24
| | | Fixes #10339
* Update to 8.10-SNAPSHOT (#11657)Zhe Sun2019-07-2966-73/+73
|
* Use https for Maven repositories (#11668)Stéphane Nicoll2019-07-2912-16/+16
| | | | * Use https for Maven repositories
* Ensure that VComboBox.selectedOptionKey gets initial selection. (#11665)Anna Koskinen2019-07-243-2/+91
| | | Fixes #10741
* Improvements to detail row index handling. (#11345)Anna Koskinen2019-07-1611-11/+1233
| | | | | | - Escalator should notify when an existing details row is moved to a new index. - Grid and DetailsManagerConnector should update their internal indexing when details manager index changes in Escalator.
* 11642 refresh pagelength 0 combobox items after dataprovider update (#11653)Olli Tietäväinen2019-07-126-6/+223
| | | | | | * Fixes #11642. ComboBox with pageLength 0 should be updated if DataProvider changes * added comments, fixed imports
* Ensure the selection has been changed before updating . (#11658)Anna Koskinen2019-07-122-11/+58
| | | | | | | - Initial fix attempt interfered with selection events, added regression testing for those and found a better way to ensure shift selection works on IE11 also with Windows 7. Fixes #11608
* Input prompt was renamed to placeholder (#11649)8.9.0.beta1Olli Tietäväinen2019-07-041-16/+16
|
* Fix unstable tests (#11648)Zhe Sun2019-07-045-19/+22
| | | | | * Fix unstable tests
* Sanitize caption used in Grid header (#11644)Zhe Sun2019-07-011-0/+2
| | | | * Sanitize input used in Grid header
* Fixes unstable/muted tests (#11640)8.9.0.alpha1Zhe Sun2019-06-284-15/+15
|
* Removed ';' in lambdas (#11628)Zhe Sun2019-06-271-4/+4
| | | | | | | | * Removed ';' in lambdas credits to @voltor * Merge branch 'master' into ZheSun88-patch-1
* Update release note and Since tag (#11639)Zhe Sun2019-06-273-4/+6
| | | | | | * Update release note for 8.9 * Missing Since
* OSGi: Removed static VaadinResourceService access in liferay-integration, ↵S.W2019-06-279-230/+418
| | | | | | | | osgi-integration (#11335) * Made VaadinResourceService a OSGi component, removed static access of OsgiVaadinResources
* Add Delay to unstable tests (#11638)Zhe Sun2019-06-273-5/+12
| | | | | | * Add Delay to unstable tests * Add sleep time
* Adding css class to Editor when on selected row (#11636)Tatu Lund2019-06-262-0/+33
| | | * Adding "v-grid-editor-selected" stylename in editor cell wrapper element when Grid is opened on selected row.
* Fixing upload handler error handling (#11630)Tatu Lund2019-06-251-2/+6
| | | | | | | | | | * 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
* Clicking on DateField pop-up should select Month/Year (#11531)Anastasia Smirnova2019-06-254-0/+159
| | | | | | | | | * 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
* Limit previous solution for non-push mode UI (#11629)Zhe Sun2019-06-243-3/+30
| | | | | | | | * add test case * Limit the workaround for non-push mode Fixes #11616
* Add IE11 workaround for ListSelect multiselection. (#11631)Anna Koskinen2019-06-202-2/+69
| | | Fixes #11608
* Deploying Vaadin 8.8.2 on WebSphere Application Server 8.5.5.15 traditional ↵akovac352019-06-182-0/+11
| | | | | | | | | | (#11624) * Create DeployingVaadinOnWebsphere * Rename DeployingVaadinOnWebsphere to DeployingVaadinOnWebsphere.asciidoc
* Separates a rpc for handling the client event order in DateTimeField (#11574)Zhe Sun2019-06-146-0/+149
| | | | | | | | * Using @Delayed annotation for DateField Rpc * Separate a rpc for handling the time change in DateTimeField * Add test case for wrong event order
* Improved fix for #11614 (#11618)Martin Vysny2019-06-135-15/+66
| | | | | | | | | | * #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
* Update Chrome version in Test (#11613)Zhe Sun2019-06-1235-89/+145
| | | | | | | | 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
* Fix regression that broke PreserveOnRefresh functionality with Navigator ↵Tatu Lund2019-06-073-2/+67
| | | | | | | | | | | (#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
* Update spring addon to 3.2.0 (#11610)Zhe Sun2019-06-071-1/+1
| | | | | | * Update spring addon to 3.2.0 * Merge branch 'master' into ZheSun88-patch-1
* Recalculate the column widths before the first row is added (#11609)Zhe Sun2019-06-064-0/+94
| | | | | | | * Recalculate the column widths before the first row is added Fixes #11607
* Grid Editor: make Tab key skip read-only/disabled fields (#11586)Martin Vysny2019-06-033-29/+111
| | | | | | | | | | | | | | | | * 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
* fix misspelled function call (#11602)Trent Nguyen2019-05-241-1/+1
|
* Update broken docs syntax in github (#11596)Zhe Sun2019-05-23107-285/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Override reserved globals for Firefox (#11598)Artur2019-05-221-0/+872
| | | Fixes #11597
* Fixing broken links in V8 documentation (#11591)juhopiirainen2019-05-222-5/+5
|
* Migrate blog post (#11579)Sun Zhe2019-05-223-1/+53
| | | | | | | | * Migrate blog post to articles * Add to Content list * Add link to the referred content
* Fix Grid reordering when there are hidden columnscuong-phan2019-05-203-1/+122
| | | | | | | | * Fix grid column reordering Fix grid column reordering when there are hidden columns and footerRow.join * Add test
* Don't attempt to scroll to the beginning or end if Grid has no rows. (#11570)Anna Koskinen2019-05-202-3/+68
| | | Fixes #11558
* Updated instructions on how to run TB3+ tests with Intellij; added Qu… ↵Martin Vysny2019-05-172-24/+79
| | | | | | | | (#11580) * Updated instructions on how to run TB3+ tests with Intellij; added QuickStart to quickly set up testing environment * Readme rewording
* Fix duplicate grid column visibility change event (#11565)cuong-phan2019-05-163-1/+105
| | | | | | | | * Fix duplicate grid column visibility change event Toggle a column visibility through UI will fire 2 event. There should be only 1. * Add Test
* Grid editor: TAB now skips non-editable columns (#11573)Martin Vysny2019-05-163-8/+302
| | | | | | | | | | | * 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
* Fix the broken links in the documentationjuhopiirainen2019-05-1514-25/+24
|