aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Only remove caption margin from the first visible tab. (#12078)Anna Koskinen2020-08-193-0/+97
| | | Fixes #10437
* Fix typo in error message (#12077)Anna Koskinen2020-08-171-1/+1
|
* Add 1px buffer to Escalator column natural widths. (#12075)Anna Koskinen2020-08-174-7/+7
| | | | | | | | | | | | * Add 1px buffer to Escalator column natural widths. The purpose of the buffer is to avoid subpixel handling issues, especially when zoomed in or out. In case fractions need to be adjusted for browser compatibility, round up to ensure the contents have the space they need. Fixes #12048
* Fix to natural column width calculations in Table footer. (#12074)Anna Koskinen2020-08-131-1/+1
| | | | * Fix to natural column width calculations in Table footer.
* Row Generator fixes (#12027)Andrey B. Panfilov2020-08-122-34/+69
| | | NOTE: components within row generator are not an officially supported feature and can cause issues within your application.
* Added missing MIME types to FileTypeResolver (#12070)Anna Koskinen2020-08-121-14/+40
| | | Fixes #11235
* Update release-note template for 8.12.0.alpha1 (#12072)8.12.0.alpha1Zhe Sun2020-08-121-1/+4
| | | | * Update release-note template for 8.12.0.alpha1
* Add a regression test for Table's RowGenerator feature. (#12069)Anna Koskinen2020-08-111-0/+167
| | | | | | | * Add a regression test for Table's RowGenerator feature. There used to be a TB2 test for this once upon a time, but for some reason that never got converted into a TB3 test before getting removed.
* Explicitly remove old dataprovider listener when new one is set (#12064)Tatu Lund2020-08-071-7/+35
| | | | | | | | | | | | | | | | | | | | | | | * Explicitly remove old dataprovider listener when new one is set If not done, this can cause memory leakage * Formatting * Fixed coding style * Take into account further scenarios Component maybe detached permanently and thus data provider listener needs to be remove in detach. Also if this is only momentary remove from layout add back cycle, re-setup is needed in attach, in case it was not already setup before attaching by setDataProvider. * Change super.detach() call order * Added null check to getDataProvider * Setting dataProviderListener to null on detach * Removing listener only if it exists * Fix
* Add enabled check to Column#isResizable (#12063)Tatu Lund2020-08-061-1/+3
|
* Fix possible NPE with MPR (#12040)Tatu Lund2020-08-052-5/+17
| | | | | It is possible when Vaadin 8 is used with MPR, that ui.getCurrent().getSession() returns null. See: https://github.com/vaadin/multiplatform-runtime/issues/5
* Add a clarifying note to an extension example. (#12062)Anna Koskinen2020-08-051-0/+2
|
* Use queue for resync requests. (#12043)Anna Koskinen2020-07-301-7/+13
| | | | | | | | | There might be pending requests in the queue when a resync request is made (e.g. through a theme change). This can cause conflicts if the resync request is handled immediately. Therefore the resync request should also be added to the queue and only get resolved when doSendInvocationsToServer() gets triggered again. Fixes #11954
* Add column width recalculation when vertical scrollbar hidden/shown. (#12058)Anna Koskinen2020-07-236-7/+160
| | | | | - If the Grid has any columns with non-fixed widths, the presence of a vertical scrollbar affects the column width calculations. Horizontal scrollbar should only be shown when actually needed.
* Revert 'Rewrote debouncing of onResize (#11899)' (#12051)Anna Koskinen2020-07-094-37/+258
| | | Fixes #12049
* All updates to Escalator size should get reported to LayoutManager. (#12050)Anna Koskinen2020-07-085-0/+338
| | | | Delayed size changes caused by added or removed scrollbars should be taken into account.
* Add support for "ww" in date format (#12037)Tatu Lund2020-07-033-1/+77
| | | | | Calculate number of the week in the year based on Date. Note, support for "ww" is missing from GWT DateTimeFormat and java.util.Calendar is not supported in GWT, hence DIY method is needed. Fixes: #10603
* Ensure type safety and serializable nature of all the listeners (#12045)Tatu Lund2020-07-0336-101/+697
|
* Clear thread local instances on connection lost in push handler (#12042)Tatu Lund2020-06-305-7/+175
| | | Adopted from https://github.com/vaadin/flow/pull/8567
* Update ComboBox popup position comparison to use correct top value. (#12041)Anna Koskinen2020-06-263-3/+38
| | | Fixes #12029
* Fix rendering of TreeGrid's frozen columns after hierarchy-column reset (#12028)Tarek Oraby2020-06-183-1/+124
| | | | | * Add tests * Fix getVisibleFrozenColumnCount() if SelectionMode is multi
* Update chrome version to 83 (#12024)Zhe Sun2020-05-2663-1/+1
| | | | | | * Update chrome version to 83 * Update screenshots
* Fix ComboBox in read-only mode allowing value change by user (#12022)Tarek Oraby2020-05-253-0/+74
| | | | | | | | | * Fix ComboBox in read-only mode allowing value change by user Fixes #12021 * Fix popup hiding condition Co-authored-by: Tatu Lund <tatu@vaadin.com>
* Moving disableBrowserAutocomplete to WidgetUtil and change widgets to use it ↵Tatu Lund2020-05-255-35/+31
| | | | | | | | | | | | | | | | | | | | | | (#12020) * Add autocomplete prevention to DateField Autocomplete popup will interfere DateField's own popup * Adding disableBrowserAutocomplete(..) in WidgetUtil * Change VComboBox to use WidgetUtil.disableBrowserAutocomplete(..) * Change to use WidgetUtil.disableBrowserAutocomplete(..) * Change VFilterSelect to use WidgetUtil.disableBrowserAutocomplete(..) * Adding WidgetUtil.disableBrowserAutocomplete to VTextualDate * Adding missing import * Adding missing import
* Sanitize caption used in compatibility Grid header (#12018)Anna Koskinen2020-05-201-0/+2
| | | | | | * Sanitize caption used in compatibility Grid header Cherry pick of #11644
* Fix compatibility ComboBox filtering when page length is zero. (#12016)Anna Koskinen2020-05-203-1/+120
| | | Issue #11246, slightly modified cherry-pick from #11247
* Fix scrolling problem in table in Chrome 56+ (#12015)Anna Koskinen2020-05-194-0/+136
| | | | | | * Fix scrolling problem in table in Chrome 56+ Issue #8707, slightly modified cherry-pick of #10492
* Table / TreeTable multiselect disabling of touch detection (#12014)Anna Koskinen2020-05-197-4/+229
| | | | | | | | Added a toggle in Table (and thus TreeTable) where you can explicitly disable multiselect touch screen detection. This allows you to work around issues on hybrid devices that have both a touch screen and a keyboard where you don't want automatic simple multiselection applied. Fixes #11601, slightly modified cherry-pick of #11641
* Updated project setup instructions and Eclipse formatting instructions. (#12001)Anna Koskinen2020-05-182-84/+198
|
* Fix to compatibility Grid sorting after removing multi-select. (#12012)Anna Koskinen2020-05-153-17/+108
| | | Adapted from V7 fix #10999
* Fixed error message to use given parameters. (#12008)Anna Koskinen2020-05-141-4/+5
| | | Fixes #11993
* Catch exception that is thrown when Grid is scrolled during operation (#12002)Tatu Lund2020-05-141-7/+13
| | | | | IllegalStateException may occur if user has scrolled Grid (compatibility library version) so that Escalator has updated, and row under Editor is no longer there Chrerry pick from https://github.com/vaadin/framework/pull/11467
* Removing deprecated parameter (#12004)Tatu Lund2020-05-141-2/+1
| | | | | | * Removing deprecated parameter Fixes: https://github.com/vaadin/framework/issues/11958
* Fix indexing issue in Compatibility Grid resize when scrolled to bottom. ↵Anna Koskinen2020-05-132-0/+35
| | | | | (#12003) Issue #11893, cherry-pick from #11984
* Update firefox version to 75 (#12000)Zhe Sun2020-05-131-1/+1
|
* Update to 8.12-snapshot (#11995)Zhe Sun2020-05-1366-78/+71
|
* Support for javax.validation @NotEmpty annotation. (#11985)Martín López2020-05-121-1/+2
| | | Fixes #10914
* Refresh DataProvider only once when reordering the grid using GridRowDragger ↵Martín López2020-05-112-1/+25
| | | | | (#11981) Fixes #10844
* Removed unused parameter from DataNode creation (#11976)James Pether Sörling2020-05-111-2/+1
| | | Fixes #11958
* Fixed a problem with example code in article "Letting The User Download A ↵Martín López2020-05-081-2/+9
| | | | | File" (#11971) Fixes #10580
* Fix RTA's CreateLink in Firefox & IE11 (#11979)Tarek Oraby2020-05-083-1/+140
| | | | | | | 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)Anna Koskinen2020-05-053-7/+217
| | | | | | * Take overlays into account in getConnectorForElement. Fixes #11212
* Allow replacing all columns at once when some of them are frozen. (#11978)Anna Koskinen2020-04-303-2/+89
| | | Fixes #11824
* Fix the column width calculations for full width cell contents. (#11974)Anna Koskinen2020-04-293-0/+180
| | | Fixes #11973
* Fix hiding / un-hiding with frozen columns in multiselect mode (#11972)Tatu Lund2020-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)Anna Koskinen2020-04-243-2/+162
| | | | | | * Don't center a window that has already been removed. Fixes #11942
* Add missing since tag (#11957)8.11.0.alpha1Zhe Sun2020-04-233-9/+9
|
* Updating release notes (#11955)Tatu Lund2020-04-231-6/+10
| | | | | * Updating release notes * Fixing typo
* Fix incorrect position of column selector in MPR (#11953)Tatu Lund2020-04-213-3/+7
| | | | Cherry pick from https://github.com/vaadin/framework/pull/11946
* Add asMultiSelect() to Tree class (#11949)Tarek Oraby2020-04-211-0/+12
| | | | | Tree class doesn't currently provide an obvious way that would enable a Tree object to be treated as a multi select. This commit extends the Tree API, enabling it to be used as a multi select, which would importantly facilitate the selection/deselection of multiple items in trees whose SelectionMode is MULTI. closes #11948