aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refresh DataProvider only once when reordering the grid using GridRowDragger ↵8.10.58.10Anna Koskinen2020-05-112-1/+25
| | | | | | | (#11981) (#11992) Fixes #10844 Authored-by: Martín López <mlopez@flowingcode.com>
* Removed unused parameter from DataNode creation (#11976) (#11991)Anna Koskinen2020-05-111-2/+1
| | | | | | * Removed unused parameter from DataNode creation (#11976) Fixes #11958
* JavaDoc fix (#11950) (#11990)Anna Koskinen2020-05-111-2/+2
| | | | | | | | * Fixed the JavaDoc (#11950) HierarchyMapper. getParentIndex() method has a different JavaDoc from the HierarchicalDataCommunicator. This is a simple fix for that. https://github.com/vaadin/framework/blob/master/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java#L96
* Fix sanitization of empty RTA input for Firefox & IE (#11937) (#11989)Anna Koskinen2020-05-111-2/+2
| | | | | | | | | Browsers differ in what they return as the content of a visually empty rich text area (RTA). Accordingly, RTA sanitizes these different values ensuring an empty string is returned to the framework. However, existing sanitization criteria doesn't work for Firefox 74 and Internet Explorer 11. This fix appends the sanitization criteria of Firefox 74 and IE 11, ensuring an empty string is returned to the framework for a a visually empty RTA. Closes #10338 Authored-by: Tarek Oraby <42799254+tarekoraby@users.noreply.github.com>
* Fix RTA's CreateLink in Firefox & IE11 (#11979) (#11987)Anna Koskinen2020-05-083-1/+140
| | | | | | | | | | * Fix RTA's CreateLink in Firefox & IE11 (#11979) In Firefox and IE11, the 'Create Link' button of the RichTextArea (RTA) only works by turning some highlighted text into a link (by adding the inserted URI as the href property of the text). In that, the RTA in these two browsers behave similarly to the way it does in Chrome and Edge. However, in Firefox and IE11, clicking the 'Create Link' button has no effect if no text is pre-selected by the user. This is different from the button's behavior in Chrome and Edge where the user's provided URI is inserted, both, as the displayed text and its href property if no text is highlighted. This fix enables the RTA's 'Create Link' button to work consistently across the supported browsers. Specifically, (and in addition to enabling adding the href property of a highlighted text), this fix enables Firefox and IE11 to also insert a new Uri as a text and its href property if no text is already highlighted. fixes #11888
* Take overlays into account in getConnectorForElement. (#11980) (#11983)Anna Koskinen2020-05-053-7/+217
| | | | | | * Take overlays into account in getConnectorForElement. (#11980) Fixes #11212
* Allow replacing all columns at once when some of them are frozen. (#11982)Anna Koskinen2020-05-053-2/+89
| | | | | | * Allow replacing all columns at once when some of them are frozen. (#11978) Fixes #11824
* Fix hiding / un-hiding with frozen columns in multiselect mode (#11972) (#11975)Anna Koskinen2020-04-281-4/+4
| | | | | | | The previous patch https://github.com/vaadin/framework/pull/11951 did fix the problem (frozen column indicator wrongly positioned) it was meant to, but caused a regression in hiding / un-hiding. This new fix addresses both problems, i.e. it applies multiselect column compensation in other way, without causing problem in hiding / un-hiding logic Fixes https://github.com/vaadin/framework/issues/11970
* Don't center a window that has already been removed. (#11956) (#11969)8.10.4Anna Koskinen2020-04-243-2/+162
| | | | | | | | * Don't center a window that has already been removed. (#11956) * Don't center a window that has already been removed. Fixes #11942
* Fix incorrect position of column selector in MPR (#11953) (#11968)Anna Koskinen2020-04-243-3/+7
| | | | | | | * Fix incorrect position of column selector in MPR (#11953) Cherry pick from https://github.com/vaadin/framework/pull/11946
* Add multiselect column compensation (#11951) (#11967)Anna Koskinen2020-04-241-1/+5
| | | | * Add multiselect column compensation (#11951)
* Updating Chrome version (#11952) (#11966)Anna Koskinen2020-04-241-1/+1
| | | | * Updating Chrome version (#11952)
* Update Liferay kernel version (#11943) (#11965)Anna Koskinen2020-04-241-1/+1
| | | | | | | | * Update Liferay kernel version (#11943) Liferay 7.3 series have kernel version 10.x, i.e. limit needs to be extended from 10 -> 11 Fixes: https://github.com/vaadin/framework/issues/11938
* Expired session: use 403 Forbidden instead of 410 Gone (#11859) (#11964)Anna Koskinen2020-04-243-9/+16
| | | | | | * Expired session: use 403 Forbidden instead of 410 Gone (#11859) Use 403 Forbidden instead of 410 Gone when session expired. Also prevent caching in more cases.
* Remove unnecessary null-check at ValueContext constructors (#11915) (#11963)Anna Koskinen2020-04-241-5/+0
| | | | * Remove unnecessary null-check at ValueContext constructors (#11915)
* Change to using StringBuilder (#11941) (#11962)Anna Koskinen2020-04-241-2/+2
| | | | | | * Change to using StringBuilder (#11941) Should use a StringBuilder to accumulate strings in a loop, to avoid the performance cost of repeatedly constructing strings.
* Fix NPE in FileUploadHandler when use Upload.interruptUpload(). (#11797) ↵Anna Koskinen2020-04-241-4/+6
| | | | | | | | (#11961) * Fix NPE in FileUploadHandler when use Upload.interruptUpload(). (#11797) Fixes #11806
* Ensure ChangeListener still works after first upload. (#11936) (#11960)Anna Koskinen2020-04-243-0/+132
| | | | | | * Ensure ChangeListener still works after first upload. (#11936) Fixes #10420
* Ensure recalculateColumnWidths works with refreshAll. (#11934) (#11959)Anna Koskinen2020-04-244-16/+232
| | | | | | | | Column widths shouldn't be calculated between the clearing of cache and re-populating it, but be delayed until the cache has some content again. The calculations should only be triggered immediately if no rows are expected. Fixes #9996
* Updated LayoutTester screenshots for IE and FF. (#11930) (#11933)Anna Koskinen2020-03-27164-0/+0
| | | | | | * Updated LayoutTester screenshots for IE and FF. (#11930) * Updated LayoutTester screenshots for IE and FF.
* Fix an issue with frozen column count and unhiding. (#11929) (#11932)8.10.3Anna Koskinen2020-03-263-1/+81
| | | | | | * Fix an issue with frozen column count and unhiding. Unhiding logic should take into account that there can be hidden frozen columns that are not the column currently getting shown.
* Add setters to Criterion to fix serialization. (#11926) (#11931)Anna Koskinen2020-03-262-4/+103
| | | Fixes #11909
* Tweaked layouttester tests to be more informative. (#11800) (#11813) (#11925)Anna Koskinen2020-03-24132-33/+495
|
* Simplify Grid sidebar handling. (#11920) (#11924)Anna Koskinen2020-03-241-17/+40
| | | | | | | | | | There is no need to reset the sidebar for every column that is set hidable within the same roundtrip. Because no other layouting depends on the sidebar contents, we can safely delay the reset until all columns have got their hidabiity status updated. As a bonus point, when the reset itself is delayed, the headers have time to get populated and the sidebar button's height can be determined immediately at attach. The reset ensures that attach is called every time a column's hidability is changed.
* Prevent a gap within Grid rows in some resize situations. (#11918) (#11923)Anna Koskinen2020-03-241-3/+25
| | | Fixes #11892
* Trigger re-measure after updating ElementResizeListeners. (#11912) (#11922)Anna Koskinen2020-03-243-0/+76
| | | | | | | | | | | Removing ElementResizeListeners from an element makes it unmeasurable and clears any saved measured values. Adding the listeners back makes the element measurable again but doesn't add it to measuring queue. Measuring needs to happen or any updates to expanded components within a layout (without changes that would trigger full re-measuring of the layout itself) lead to broken expand size calculations with any fixed size elements assumed to have no size. Fixes #10734
* Further tweaks to ComboBox popup positioning. (#11910) (#11921)Anna Koskinen2020-03-243-7/+82
| | | | | | | * Further tweaks to ComboBox popup positioning. - Updated a comment and renamed a private method for better clarity. - Blocked unnecessary position updates. - Added a test for #11866 / #11894.
* Picks 8.10.2 (#11908)8.10.2Zhe Sun2020-03-025-19/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removing code causing the trouble (#11898) * Removing code causing the trouble Removing code that was apparently not needed in previous fix and caused regression Fixes: https://github.com/vaadin/framework/issues/11895 * Added feature to test UI * Added test case * Adding missing import * Fixing test UI * Enable DateField * Rewrote debouncing of onResize (#11899) * Rewrote debouncing of onResize Fixes https://github.com/vaadin/framework/issues/11892 * Fixing typo in variable name * Adding missing setPopupPosition(left, top); (#11902) * Adding missing setPopupPosition(left, top); setPopupPosition(left, top); needs to be called in order to top position to be set Fixes https://github.com/vaadin/framework/issues/11894 Co-authored-by: Tatu Lund <tatu@vaadin.com>
* Added note to DateField#setRangeStart JavaDoc (#11886)8.10.1Tatu Lund2020-02-201-0/+2
| | | | | | | | * Added note to DateField#setRangeStart JavaDoc * Added additional checking of valid startDate * Reverted previous commit
* Update Chrome version (#11891)Tatu Lund2020-02-201-1/+1
|
* Fix logic of lexicographical comparison of DateField range end (#11885)Tatu Lund2020-02-202-2/+64
| | | | | | | | | | | | | | | | | | | | | | * Fix logic of lexicographical comparison of DateField range end Fix logic of lexicographical comparison of DateField range end with large year numbers ( > 9999) Fixes #11881 * Added tests Purpose of dateFieldRangeYearDigitsIncrease() is to test that rangeEnd works correctly on 4 to 5 digits change boundary Purpose of dateFieldRangeYearBigNumbersPopupOpens() is to test that popup opens also when there is more than 4 digits in year * Fixing typo * Add error message * Set the date of the field in test * Fixing
* Update release note template for 8.10 maintenanceZhe Sun2020-02-191-5/+7
|
* Update release-note template for 8.10 final8.10.0Zhe Sun2020-02-061-3/+3
|
* Cherry picks for 8.10 final release (#11883)Zhe Sun2020-02-044-8/+112
| | | | | | | | | | | | | | | | | * Don't reset date to current at DateField state (e.g. read-only) updates. (#11879) - DateFields with month or year resolution should not get their date reset to current date if the field's state is updated (e.g. by changing read-only status or adding a range). Fixes: #11864, #11605 * Update Navigator.getState() JavaDoc to be more accurate (#11876) Fixes: https://github.com/vaadin/framework/issues/11875 Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com> Co-authored-by: Tatu Lund <tatu@vaadin.com>
* define central with https8.10.0.beta1Zhe Sun2020-01-161-0/+4
|
* close <ul>Zhe Sun2020-01-161-1/+1
|
* Update release-note for 8.10Zhe Sun2020-01-161-6/+7
|
* add missing since tagZheSun882020-01-161-2/+2
|
* Remove alpha mentioned in the releasenoteZhe Sun2020-01-161-1/+1
|
* TreeDataProvider: Apply filters to children (#11868)Tatu Lund2020-01-163-11/+69
| | | | | Fixes: https://github.com/vaadin/framework/issues/9933 Cherry pick from: https://github.com/vaadin/flow/pull/7317
* Ensure value change happens before shortcuts in compatibility components ↵Anna Koskinen2020-01-153-3/+125
| | | | | (#11871) Fixes #10854
* Making setEditable friendlier (#11869)Tatu Lund2020-01-141-3/+9
| | | | | | | | | | * Making setEditable friendlier The current behavior is not buggy, so this PR is an enhancement Fixes https://github.com/vaadin/framework/issues/8718 * Improved JavaDoc
* Convert DateTimeFieldReadOnlyTest to not rely on screenshots. (#11870)Anna Koskinen2020-01-1313-16/+45
|
* Added Note about TextField in Header cell (#11858)Tatu Lund2020-01-131-0/+7
| | | Fixes https://github.com/vaadin/framework/issues/9089
* Convert DateFieldReadOnlyTest to not rely on screenshots. (#11867)Anna Koskinen2020-01-1013-16/+45
|
* Removed outdated spacer height update from removal process. (#11861)Anna Koskinen2020-01-093-2/+115
| | | | | | * Removed outdated spacer height update from removal process. Fixes #11856
* Added notes in JavaDoc of TEXTFIELD_INLINE_ICON (#11860)Tatu Lund2020-01-081-0/+5
| | | | | | * Added notes in JavaDoc of TEXTFIELD_INLINE_ICON Fixes https://github.com/vaadin/framework/issues/10752 and https://github.com/vaadin/framework/issues/9089
* Fix to RadioButtonGroup readOnly handling. (#11855)Anna Koskinen2019-12-233-1/+248
| | | | | | | | | * Fix to RadioButtonGroup readOnly handling. Updated the connector to use the widget's enabled and readOnly handling as intended. Fixes #11843
* Added helper methods for setting only height or width full. (#11854)Anna Koskinen2019-12-202-2/+34
|
* Added documentation of newly added Binder features (#11845)Tatu Lund2019-12-201-0/+13
|