aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix updating Grid's item set when details rows are open. (#12231)Anna Koskinen2021-03-088-3/+193
| | | | | | | | | | - Old details should close. - New details should open. - If some row has details in both old and new item set, the details row contents should get updated. - Updating details row contents should not break the positioning of the rows and details below. Fixes #12211
* Prevent NPE in comparison (#12218)Tatu Lund2021-03-051-1/+1
| | | Fixes: https://github.com/vaadin/framework/issues/12207
* Add a delay to a flaky test. (#12216)Anna Koskinen2021-03-041-0/+1
|
* Update copyright year range. (#12215)Anna Koskinen2021-03-041987-1987/+1987
| | | | * Update copyright year range.
* update to Atmosphere runtime 2.4.30.vaadin3 (#12214)Olli Tietäväinen2021-03-032-2/+2
|
* Remove whitespace-maven-plugin and formatter-maven-plugin. (#12213)Anna Koskinen2021-03-038-112/+0
| | | | | - These plugins cause significant problems for many Windows developers, and since most active maintainers are currently included in that group, the plugins have been deemed more trouble than they are worth.
* Fix displaying checkboxes within Grid editor row. (#12212)Anna Koskinen2021-03-034-2/+181
| | | | | | | | * Fix displaying checkboxes within Grid editor row. - Checkbox margins should match regular row content margins. - Multiselect checkbox label should only be visible for assistive devices.
* Add delays to a flaky test class. (#12209)Anna Koskinen2021-03-011-0/+6
|
* Fixed input to ensureAvailabilty (#12208)Oliver Buchien2021-02-261-2/+2
|
* Merged column headers should work within declarative Grid. (#12206)Anna Koskinen2021-02-264-10/+99
| | | | | | | | | - null check to prevent NPE from the merged column headers - convert to internal columnIds for merge handling - use correct cell in merge handling - switch away from streams in merge handling for easier readability - regression test Fixes: #10464
* Add API to prevent invalid input when integrated range validator is used ↵Tatu Lund2021-02-193-1/+106
| | | | | | | (#12168) Do not fire DateField's value change event if the new date is not within the range. Fixes: #12163
* Added missing file ending (#12202)Anna Koskinen2021-02-161-0/+0
|
* fix: Focus-activated shortcut listener in compatibility TextField (#12203)Tatu Lund2021-02-163-5/+107
|
* Clear out ClientCache when UI is detached to prevent a minor memory leak ↵Anna Koskinen2021-02-111-0/+15
| | | | | | | | | | | | | (#12199) * Clear out ClientCache when UI is detached to prevent a minor memory leak Implemented with a listener rather than direct call from UI.detach() in order to avoid new public API, since the whole feature has been marked for removal. This doesn't yet prevent the cache or the type map from getting slightly bloated during the UI's lifetime. See: #3705
* Re-use ComputedStyles in Escalator when possible. (#12186)Anna Koskinen2021-02-056-19/+261
|
* Dead code removal (#12187)Tatu Lund2021-02-041-3/+0
|
* Remove outdated IE10 compatibility class (#12193)Anna Koskinen2021-02-021-34/+0
| | | Leftover from https://github.com/vaadin/framework/commit/0081286c8d05c3751803181230092bd4b1e769f7
* fix: use time-constant comparison for CSRF tokens (#12188)Tatu Lund2021-02-012-2/+6
| | | | | | This hardens the framework against a theoretical timing attack based on comparing how quickly a request with an invalid CSRF token is rejected. Cherry-picked from: https://github.com/vaadin/flow/pull/9875
* fix: use time-constant comparison for security tokens (#12189)Tatu Lund2021-01-293-3/+18
| | | | | | | | | This is the same as https://github.com/vaadin/framework/pull/12188, but also applied for the upload security key and the push id since both of those are also used to protect against cross-site attacks. In addition, documentation for the push id is clarified to point out its role. Cherry-picked from: https://github.com/vaadin/flow/pull/9896
* DateField value should actively adjust to the set resolution. (#12183)7.7.23Anna Koskinen2021-01-2210-40/+439
|
* Update Atmosphere vaadin2 patch (#12181)Tatu Lund2021-01-182-2/+2
|
* Move call to getMessageHandler().onResynchronize(); to right place (#12178)Tatu Lund2021-01-072-2/+4
| | | | | https://github.com/vaadin/framework/pull/12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: https://github.com/vaadin/framework/issues/12151
* Add getter for presentationProvider in Grid.Column (#10323) (#12060)jdewaen2020-12-181-0/+12
| | | | | Without access to the presentation provider used for a column, it is often not possible to reconstruct the data as shown on the end-user's screen This commit adds a getter method to Grid.Column to allow access to this provider
* Fix to LayoutManager size calculations during transform. (#12138)Anna Koskinen2020-12-186-14/+202
| | | | | | | | | | | | | | | | | | | | | | | * Fix to LayoutManager size calculations during transform. - ComputedStyle is slower but more reliable than using getBoundingClientRect, which does not work as expected if a transform has been applied to the element or one of its parents. This is a problem e.g. with PopupView, where getBoundingClientRect will return too small size (or even zero size) for all the popup contents while the opening animation is active. ComputedStyle ignores the transform and returns the expected value. - The presence of the element in DOM must be checked before the size is requested from ComputedStyle, if the element has disappeared from DOM without a warning and calculation is attempted anyway, the browser gets stuck. - Possibility to configure LayoutManager to use the less reliable calculations for applications where the slight performance difference is more important than layout issues within elements that have transform animations. - Manual test, problem isn't reproducible by TestBench. Fixes: #11187
* Better error handling trying to enable HTML5 DnD for mobile from thread (#12170)Anna Koskinen2020-12-073-0/+72
| | | | | | | - Informative error message - Reset back to disabled state when enabling fails - Incorrect usage also detectable using non-mobile devices Fixes #12152
* Test tweaks (#12169)Anna Koskinen2020-12-072-14/+31
| | | | | | | | * Test tweaks - Divided HeaderFooterClickLeftRightMiddleTest tests to separate methods based on click type - Updated screenshot
* Bump jetty.version from 9.4.34.v20201102 to 9.4.35.v20201120 (#12164)dependabot[bot]2020-12-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps `jetty.version` from 9.4.34.v20201102 to 9.4.35.v20201120. Updates `jetty-server` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Updates `jetty-servlets` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Updates `websocket-server` from 9.4.34.v20201102 to 9.4.35.v20201120 Updates `jetty-webapp` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Updates `jetty-util` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Updates `jetty-proxy` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Updates `jetty-maven-plugin` from 9.4.34.v20201102 to 9.4.35.v20201120 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120) Signed-off-by: dependabot[bot] <support@github.com>
* MenuBar: Don't set openRootOnHover when on Android or IOS. (#12135)Martin Vysny2020-12-031-2/+9
| | | Fixes #5873
* Binder: Also use converter for user-changed values (#12132)Tatu Lund2020-12-032-1/+74
| | | See: https://vaadin.com/forum/thread/15931682
* Ensure Composite's contents gets re-measured on resize. (#12154)Anna Koskinen2020-12-017-0/+230
| | | Fixes: #12153
* Replace function reference with anonymous class for serialization (#12137)Tatu Lund2020-11-261-19/+20
| | | | | Lambdas and function references do not serialize See: https://vaadin.com/forum/thread/18462951/vaadin-8-stateful-session
* Bump jetty.version from 9.4.17.v20190418 to 9.4.34.v20201102 (#12149)dependabot[bot]2020-11-265-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump jetty.version from 9.4.17.v20190418 to 9.4.34.v20201102 Bumps `jetty.version` from 9.4.17.v20190418 to 9.4.34.v20201102. Updates `jetty-server` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Updates `jetty-servlets` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Updates `websocket-server` from 9.4.17.v20190418 to 9.4.34.v20201102 Updates `jetty-webapp` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Updates `jetty-util` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Updates `jetty-proxy` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Updates `jetty-maven-plugin` from 9.4.17.v20190418 to 9.4.34.v20201102 - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.17.v20190418...jetty-9.4.34.v20201102) Signed-off-by: dependabot[bot] <support@github.com> * Merge branch 'master' into dependabot/maven/jetty.version-9.4.34.v20201102 * Test fixes
* Make checkAtmosphereSupport() non-static (#12131)Tatu Lund2020-11-241-3/+6
| | | Fixes: https://github.com/vaadin/multiplatform-runtime/issues/77
* Update UsingPolling.asciidoc (#12150)Jouni Koivuviita2020-11-241-0/+1
| | | Fix content rendering (the first sentence was omitted if there is no empty line between the title and the first paragraph).
* Test updates (#12147)Anna Koskinen2020-11-23318-2/+2
| | | | | | | * Test updates - updated screenshots for Firefox, IE, and Chrome - updated Firefox and Chrome version numbers
* Tweaks to Grid/Escalator column size handling (#12145)Anna Koskinen2020-11-107-93/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | - ScrollbarBundle: removed delays in scroll handling that were only needed for IE8, added possibility to update offsetSize and scrollSize at the same time in order to avoid triggering unnecessary scrollbar visibility change events during the intermediate state. - ColumnConfigurator: added new method that allows setting column widths without triggering element size recalculations. - EscalatorProxy: added implementation of the new method to ColumnConfigurationProxy. - Escalator: switched to use new methods in ScrollbarBundle and ColumnConfigurator, added a pixel to a scrollbar offsetSize calculation that was for some reason consistently one pixel too low, removed duplicate method calls from sectionHeightCalculated handling as those are already handled by the calling method and can cause incorrect intermediate state and unnecessary scrollbar visibility change events, added implementation of the new method to ColumnConfigurationImpl with the element size recalculations made optional. - Grid: updated column minimum width calculations to take into account the potential presence of a resize handle, updated expand ratio handling to not trigger element size recalculations until the entire handling is finished. - Test for column width handling when there are multiple columns with setMinimumWidthFromContent(false) Fixes #12139
* Use generated id of the menu item to help testing of the menubar (#12124)Tatu Lund2020-10-222-6/+14
| | | | | Use generated IDs for MenuItems when an ID is set for MenuBar. Tying the ID to MenuBar's ID helps with the possible case of having multiple MenuBars on the same view and avoids to have excess id's when not needed. Fixes: https://github.com/vaadin/framework/issues/8186
* Bump JUnit from 4.12 to 4.13.1 (#12122)Anna Koskinen2020-10-133-3/+3
|
* Revert the selenium version update (#12112)Zhe Sun2020-10-131-1/+1
|
* Take border into account in Grid editor position when it opens upwards. (#12118)Anna Koskinen2020-10-133-3/+4
|
* Log informative message instead of failing with ClassCastException when ↵Martin Vysny2020-10-121-2/+18
| | | | | | polling an obsolete resource (#12115) https://github.com/vaadin/framework/issues/12113
* When a Grid gets scroll-locked, cancel the scrollInProgress handler. (#12116)Anna Koskinen2020-10-121-3/+10
| | | | | | | Otherwise opening a Grid editor can cause ApplicationConnection to get stuck in 'active' state even if no actual scroll position processing is ongoing, which in turn causes TestBench delays when it tries to wait until ApplicationConnection indicates that everything necessary has been processed.
* Chrome update to version 86 (#12117)Anna Koskinen2020-10-124-1/+3
|
* Update to 8.13-SNAPSHOT (#12110)Zhe Sun2020-10-0766-73/+70
|
* Open details rows shouldn't get removed when a new row is added to Grid (#12109)7.7.22Anna Koskinen2020-10-063-6/+93
| | | Fixes: #12106
* Test fixes & split failsafe integration test runs into smaller batches (#12103)Anna Koskinen2020-10-0136-51/+289
|
* Update the Selenium version to 3.141.59 (#12107)Zhe Sun2020-09-251-1/+1
|
* Add DateField(LocalDate value) constructor (#12096)Tatu Lund2020-09-251-0/+11
|
* Adding regression test against malicious input (#12105)Tatu Lund2020-09-251-0/+5
|
* fix duplicate key exception with Binder when interface method is overwritten ↵vt5122020-09-082-1/+29
| | | | (#12091)