summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Properly end HTML5 drag operations when no drop is performed (#8242)Artur2017-01-191-0/+1
| | | | | | | | * Properly end HTML5 drag operations when no drop is performed No auto test because of https://github.com/SeleniumHQ/selenium/issues/1365 Fixes #4060
* Make it possible to deselect what was selected on the server (#8235)Artur2017-01-131-2/+8
| | | | | | * Make it possible to deselect what was selected on the server Fixes #8221
* Reset selected icon when blurring a ComboBox (#8082)Artur2017-01-121-5/+43
| | | | | | | | | | * Reset selected icon when blurring a ComboBox Fixes #8073 * Merge branch '7.7' into _combobox-icon-reset-selection * Merge branch '7.7' into _combobox-icon-reset-selection
* Remove tracking of unregistered connectors (#8153)Aleksi Hietanen2017-01-112-24/+8
| | | | | | | | | | | | * Remove tracking of unregistered connectors * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking * Add tests that verify markAsDirty is called on old parent * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking
* Fix exception when Grid is inside a PopupView (#8157)Artur2017-01-101-3/+8
| | | Fixes #7695
* reopen Grid details on attach, fixes #8015 (#8074)Olli Tietäväinen2017-01-091-0/+8
| | | Fixes #8015
* Render font icon correctly on the 'more' menu item (#8126)Artur2017-01-051-7/+6
| | | | | | * Render font icon correctly on the 'more' menu item Fixes #8125
* Fix removal of hidden Grid columns (#8071)Artur2016-12-231-2/+8
| | | Fixes #8018
* Use correct indexes in multiselect checkboxes after removing rows (#8072)Artur2016-12-223-25/+38
| | | Fixes #8011
* Replace non-breaking spaces with space (#7957)Artur2016-12-142-2/+2
|
* Fix java packaging order (#106)Teemu Suo-Anttila2016-12-091-1/+1
| | | Closes vaadin/archetypes#113
* Move Grid event handlers to a list, add method to add custom handlers (#76)7.7.6Aleksi Hietanen2016-12-052-200/+286
| | | | | | | | * Move Grid event handlers to a list, add method to add custom handlers Change-Id: I2fe67ae961bfb0f7c44ba704346762a0faf6da2c * Merge branch '7.7' into grid-event-refactoring
* Refactor Grid event handling methods to instances of a handler interfaceJohannes Dahlström2016-12-011-127/+176
| | | | Change-Id: Icbed14cbef14c434f1909fa0350cb0364235c774
* Start client-side Grid DOM event handling refactorJohannes Dahlström2016-12-011-16/+33
| | | | Change-Id: I67dad4cfbd6e9e355c48703253ff3d6da00e4eef
* Re-add body rows when Escalator is reattached to DOM (#20477)Artur Signell2016-11-281-34/+14
| | | | Change-Id: I0ae9144817db3bb730c80748d5e9190484b323e7
* Update @since tags for 7.7.5Pekka Hyvönen2016-11-253-0/+13
| | | | Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f
* Fixed touch scrolling issue in Surface and WP devices (#18737)7.7.5Johannes Tuikkala2016-11-221-4/+96
| | | | | | | | | | | | Fixed by using pointerevents instead of touchevents when the browser is IE11, or Edge. Also added touch-action: none; css rules into escalator.css to prevent default touch behaviour on IE11 and Edge. Does not affect IE8 to IE10 browsers, behaviour on those will stay the same as before the fix. No new unit tests since we do not have automatic touch testing possibilities yet. Please test manually with Surface: IE11 and Edge, use for example uitest: com.vaadin.tests.components.grid.basics.GridBasicsomponents.grid.basics.GridBasics Change-Id: Iddbf1852e6ffafc855f749d6f4ebb235ed0f5703
* Remove CustomFieldState (#20468)Pekka Hyvönen2016-11-221-6/+0
| | | | | | | | Moves FocusDelegate to AbstractFieldState. This change is done to revert backwards compatibiity breaking API change in 7.7.4 when CustomFieldState was introduced. Change-Id: I76212a8700463140520d5482b740fe0edbfb082c
* Mark TextField/TextArea as busy when a text change event is pending (#20469)Artur Signell2016-11-211-1/+7
| | | Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
* Add lazy/simple resize mode to Grid (#20108)Patrik Lindström2016-11-173-61/+200
| | | | Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4
* Fixed drag and drop failure when message dragged from email client (#20451)adam2016-11-161-2/+5
| | | | | | | When dragging message form email client on Windows, item.webkitGetAsEntry() might return null creating NPE on the client side. Added additional checks for this situation. Change-Id: I569f7e6d0d7b137f24be53d1fbce384695ae8c73
* Prevent adding several scrollbar handlers (#19189).Denis Anisimov2016-11-141-0/+6
| | | | Change-Id: Ib0cc6c6835aab6d263f153362a328bcf2be7bc5c
* Make clicking outside a ComboBox add a pending new item (#18366)Artur Signell2016-11-111-0/+3
| | | | | | | | | It should not matter how you move from a field to the next. Tabbing to the next field already previously caused the new item handler to be invoked. This fixes the case when you click in the next field to work the same way. Change-Id: I3978d87cde8f05dce92edda2a4a116f4a15e0749
* Revert "Fixed touch scrolling issue in Surface and WP devices (#18737)"Artur Signell2016-11-112-80/+4
| | | | | | | | The patch prevents Escalator and Grid from ever being rendered on IE8 because element.addEventListener does not exist there This reverts commit eb2f5ac3a714aefce948d447a4004b94e35e44a9. Change-Id: I58f6db7432a1cd10299891b2d8c55c855e87265f
* Update @since tag for 7.7.4.Denis Anisimov2016-11-081-1/+1
| | | | Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7
* Fixed touch scrolling issue in Surface and WP devices (#18737)Johannes Tuikkala2016-11-082-4/+80
| | | | | | | | | | | | | Fixed by using mouse events instead of touchevents when the browser is IE or Edge (added isIEOrEdge utility method in the BrowserInfo). Also added touch-action: none; css rules into escalator.css to prevent default touch behaviour on IE and Edge No new unit tests since we do not have automatic touch testing possibilities yet. Please test manually with Surface: IE and Edge, use for example uitest: com.vaadin.tests.components.grid.basics.GridBasics Change-Id: I5b37f1648e2051ea0ab4d56ab767186b532da07c
* Show a sensible message for missing extensions (#10799)Artur Signell2016-11-036-26/+98
| | | | | | | Also remove ComponentMissingFromDefaultWidgetsetTest since it's identical to UnknownComponentConnectorTest Change-Id: I4b4b8f40c8376f4ea26b73d41191a3e7e811df01
* Ensure #cell[N] always scrolls row N into view (#20423)Artur Signell2016-10-281-9/+13
| | | | Change-Id: I99347ee1d0f2f13fcb8e110d2e7192590e4f9456
* Publish Escalator.getBodyRowCount to JS (#20344)Artur Signell2016-10-281-11/+27
| | | | | | This is needed to be able to get the information from e.g. TestBench Change-Id: I95ec6064f602e6a8b24e35cc59d467e9c8b31c1e
* Allow defining a focus delegate component for CustomField (#20336)Artur Signell2016-10-262-3/+97
| | | | Change-Id: I1160e7a384b1816204eb7f4b0f52f83ed9e230c0
* Allow a resize listener to fire a resize listener (#20338)Artur Signell2016-10-251-3/+4
| | | | Change-Id: I6b045c3a693e88b3cba182ae9ea68cfa98c914b0
* Make modal window block shortcuts for underlying components (#20366)Artur Signell2016-10-242-0/+14
| | | | Change-Id: Ibb3b52b652d77a1bfa786417b1c92fd0a578035f
* Make Grid isWorkPending wait for scroll events to complete (#20417)Artur Signell2016-10-201-1/+12
| | | Change-Id: I3cfdac539111ff2e88c7ff81e6d6b9a579160423
* Fixes VTree so that you can click sub elements when setHtmlContentAllowed is ↵Sebastian Nyholm2016-09-261-1/+1
| | | | | | true. (#20097) Change-Id: Ic453aaf16ea1d44792db868e04faaba069aab3b7
* Format project pom files using correct settings (4 spaces)Artur Signell2016-09-251-144/+144
| | | | Change-Id: Ib8ae22a56334046effe721bb4d3769ef7b92d61d
* Use requestAnimationFrame when scrolling in Grid (#20294)Artur Signell2016-09-201-3/+27
| | | | | | | | | | Chrome no longer (since version 5x) always fire deferred commands immediately during scrolling but can delay them with several hundred milliseconds, making grid really unresponsive. So far, nobody has been able to provide a reliable test case. Change-Id: Ide80aef2d661c9e27b67c8e62e85734af7a38cab
* Make initially disabled grid work when enabled (#20240)Artur Signell2016-09-205-16/+40
| | | | | | | | Adds API to allow grid to ask its data source if it is waiting for data. The previous tracking inside grid was not always correct as it relied on dataAvailable being called. Change-Id: I0bdb448d9b720155940b0834e118f0eca27a3bfc
* Change javadoc to a style Eclipse formatter can handleArtur Signell2016-09-201-5/+3
| | | | Change-Id: I2ad135c72821b6e194fd77bd141b638c36e138a7
* Format Java files using Eclipse Neon and Vaadin settingsArtur Signell2016-09-20503-8024/+8437
| | | | | | | Using the same formatting in the 7.7 branch and the master branch eases porting of fixes Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
* Fix assertion error when column widths are calculatedArtur Signell2016-09-201-1/+2
| | | | Change-Id: I042a5bfb548b52911100e01e5a74901a1abfbf33
* Ensure temporary layout manager state is cleared at the end of a layout phaseArtur Signell2016-09-161-0/+7
| | | | Change-Id: I28f3d20e6db999a033429338535719f14e495d4f
* Use correct column index when calculating min width during resize (#19833)Artur Signell2016-09-151-2/+1
| | | | Change-Id: If7a7a5c1e5eff4bdac0f6e5943a9fac2ce98784a
* Calculate column widths immediately if there is data (#20269)Artur Signell2016-09-141-1/+3
| | | | | | | Deferring the column width calculations, like done before, causes flickering as each column is first rendered with its minimum required width. Change-Id: I02e6951a99dcb0cb9ad78a95915076d064fa9642
* Ensure Firefox always updates the grid scrollbar (#19802)Artur Signell2016-09-141-8/+40
| | | | | | | | | When the scrollbar is scrolled a bit down and the number of items in the grid is reduced so that no scrollbar is needed anymore, it seems that Firefox refuses to send a scroll event even though the scroll position is updated before the scrollbar is hidden. Change-Id: I626536a9efd036bc826b1e6be3363332a56774f6
* Change snapshot version 7.7-SNAPSHOTArtur Signell2016-09-131-1/+1
| | | | Change-Id: I7929f6fbe9a83f63fcb7c1f3b174dd84d4add185
* Always show loading indicator for JavaScript RPC (#20235)Artur Signell2016-09-081-3/+5
| | | | | | | | The change to not show loading indicator for JS RPC was done in 15a53d305e6648572c11cb988f4988c2c5825af1 and looks like a refactoring error. Change-Id: If2a2818e0c4adc06479ecaf17764bf53fc89c095
* Update DOM and update escalator row count in the correct order (#19442)Artur Signell2016-09-051-5/+8
| | | | | | | | | | If you show a column when Grid has no horizontal scrollbar, and is scrolled all the way down, and the number of visible rows is slightly more than N then Escalator will adjust the row count when the scrollbar is shown so that N-1 rows are visible. During this operation, the DOM must be updated for the new column. Change-Id: I0b6c845f96a57be1d64ef4e735aa2f77efbe589a
* Fire actions before removing menu from the DOM (#20080)Matti Tahvonen2016-08-301-26/+21
| | | | Change-Id: Ic1cd285c697a05d186d81935f632881e4cf561bf
* Fix animation end listeners so they are always removed (#17903)Artur Signell2016-08-302-9/+36
| | | | | | | | Fixes ComboBox suggestion popup so that it will not automatically close when clicking the popup button, if the user happened to double click on the button earlier. Change-Id: I60936f82133ca89c2aef0dccff68092a11deff1c
* Added a fallback value for useragent (#20172)Matti Tahvonen2016-08-301-0/+3
| | | | | | | | | Without this change, some browsers, like GoogleBot, don't properly render the page. Instead of weird JS exception (and hit to server with 404) we should at least try to render the app with all browser. As webikit/chromium based browsers are nowadays most popular, falling back to "safari" permutation. Change-Id: I4275110962432b2552d51715a86a8e815fe539ad