summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-181-4/+8
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Fix NPE when detaching DragSource & DropTarget on client side (#9341)Pekka Hyvönen2017-05-171-0/+83
| | | | | | | | When the component the extensions have been attached to are removed, there was an NPE due to getParent() not being available anymore. Fixed by not doing clean up on those cases as it is not necessary. Fixes #9101 * Add back missing detach call
* Fix tooltip test after tooltip style changeHenri Sara2017-05-171-4/+4
|
* Update WidgetUtilTest for Chrome 58Henri Sara2017-05-171-2/+1
| | | Chrome 58 changes how border sizes are rounded.
* Make ThemeTest notification tests more reliableHenri Sara2017-05-171-0/+1
|
* Update ES5/ES6 tests for FirefoxHenri Sara2017-05-172-2/+4
| | | Expect ES5 for Firefox as the test cluster has an older version.
* Make GridPopupViewTest more stableHenri Sara2017-05-171-1/+1
|
* Update Chrome version to 58 in testHenri Sara2017-05-171-1/+1
|
* Fix drag image offset for Grid rows for mobile (#9336)Pekka Hyvönen2017-05-171-0/+2
| | | | Asks the polyfill to always center the drag image based on the touch coordinates. Also temporarely removes the transform offset for the row.
* Fix Button as a Html5 DragSource (#9346)Pekka Hyvönen2017-05-171-3/+7
| | | | | | * Fix Button as a Html5 DragSourcei It was completely broken, not being clickable, and also preventing anything else from being clicked.
* Make it possible for grid drop target to accept dragged data when grid is ↵Adam Wagner2017-05-171-6/+11
| | | | | | empty (#9332) * Make it possible for grid drop target to accept dragged data when grid is empty (#9068) * Make return type of getDropTargetRow() optional
* Remove unnecessary rowmode prefix from TreeGrid focus styles (#9327)Teemu Suo-Anttila2017-05-162-21/+21
|
* Properly init client-side data in GridDataChangeHandlerTestTeemu Suo-Anttila2017-05-161-1/+2
|
* Add BackEndHierarchicalDataProvider and an abstract base classAleksi Hietanen2017-05-161-18/+13
|
* Add ItemCollapseAllowedProvider interfaceAleksi Hietanen2017-05-161-1/+2
|
* Rename BodyRowContainer.setNewEscalatorRowCallback to setNewRowCallbackAleksi Hietanen2017-05-161-2/+2
|
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-163-5/+130
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Add API for multiple drag data generators (#9321)Adam Wagner2017-05-161-9/+12
| | | | * Add ability to set multiple drag data generators for any drag data type and change default to be accepted by spreadsheet applications such as Excel
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-169-45/+45
| | | | | | * Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface * Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider * Additionally adds a helper method for recursive constructing TreeData with a child item provider.
* Add events and functionality to Tree (#9318)Teemu Suo-Anttila2017-05-162-0/+76
| | | | * Add ItemClick event to Tree * Add collapse provider and style generator to Tree
* Use theme font and normal line wrapping for regular tooltips (#9143)Leif Åstrand2017-05-155-4/+116
| | | Fixes #9121
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-125-19/+13
| | | | | | | | * Refactor Html5 DnD client side based on API review - Moved classes to "correct" packages. - Removed method DragSourceExtension.clearDataTransferText() - Remove ButtonDragSource in favor of more generic API
* Create upload URLs only when stream variable is attached by drop handler (#9301)Adam Wagner2017-05-111-68/+19
| | | | | | * Create upload URLs only when stream variable is attached by drop handler * Add file size limit to test ui and remove label drop target
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-112-9/+43
| | | | | | | | | | | | | | | First step of mobile DND support. - Add mobile html5 dnd support using polyfill - Adds a switch for enabling mobile html5 dnd support - Adds polyfill only when needed - Ignore native Android Chrome drag start because doesn't work properly (no dragend event fired) - Add documentation on enabling mobile HTML5 DnD support - Add mention of drag-drop-polyfill license - Fixed issue in polyfill when not using "snapback" - Add mention of forked polyfill Fixes #9174
* Make it possible to upload files by dropping them onto a drop target (#9277)Adam Wagner2017-05-111-0/+164
| | | Fixes #8891
* Make clicking checkbox label call focus listeners (#9271)Knoobie2017-05-112-0/+69
| | | | | Fixes the remaining issue from #3944 for Firefox so that a click on the checkbox label calls the focus listener. Fixes #9290
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-112-0/+210
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Fix partly missing drag image regression on SafariPekka Hyvönen2017-05-102-1/+69
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Fix selection with space in TreeGrid/TreeHenri Sara2017-05-101-0/+45
| | | Makes subclasses of Grid call custom key and mouse event handlers.
* Move TestBench API to the correct package (#9249)Artur2017-05-0922-116/+32
| | | Fixes #9241
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-052-30/+60
| | | | | | | | | | | | - Always set some drag data - Set the dropEffect on dragEnter and dragOver events on drop target - Send the dropEffect to server on drop event with disclaimer of current support - Remove _dragOverCriteria_ and use _dropCriteria_ for `dragenter`, `dragover` and `drop` criteria Tested manually basic DnD and Grid DnD on Mac with Chrome, Firefox, Safari. Safari is still missing drag image (regression). Tested manually basic DnD and Grid Dnd on Windows IE11 and Edge. Drop event for both is still not working properly #9174.
* Allow Escalator.setHeightByRows to accept zero as a valid argument (#9244)Aleksi Hietanen2017-05-052-0/+32
|
* Use correct TreeElement and server-side classname (#9221)Teemu Suo-Anttila2017-05-035-7/+2
| | | | | * Use correct TreeElement and server-side classname * Re-enable test, remove unnecessary imports
* Fix ComponentLocator with inherited classes without custom connector (#9176)Teemu Suo-Anttila2017-05-032-0/+73
| | | | | | | | | | | | Logic for finding elements corresponding a server-side classname does not work with inherited classes. For example making MyGrid extends Grid, you could not find the specific MyGrid, but only the common Grid. In most cases this is not a problem since these components are usually the only instance of said superclass, but the Composite introduced in the same UI, which makes testing them impossible. This patch adds the specific classname information for ServerConnectors that can be used to find the correct connector instance.
* HierarchicalDataProvider cache invalidation workaround (#9218)Aleksi Hietanen2017-05-021-0/+32
| | | | | | Workaround for issue in data communication where active keys are dropped incorrectly on the server. See issue #9217
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-0247-109/+359
| | | | | | | This patch introduces a Tree component, implemented as a Composite using TreeGrid. As initial version of the component, some functionality of the old Tree component has been left out for now. Partly addresses #8617
* Improve expand and collapse of items in TreeGrid (#9159)Aleksi Hietanen2017-05-026-25/+172
| | | | | | | | | | | | | Fixes a race condition when expanding multiple items. Only one expand or collapse request should be sent from the client before waiting for a response, otherwise the indexing in subsequent requests will be incorrect. Adds API to collapse and expand multiple items from the server, reducing the amount of round trips with multiple item expands and collapses. HierarchyMapper now correctly keeps expanded nodes expanded if their parent is collapsed.
* Add an option for defining number of visible items in a NativeSelect (#9109)Artur2017-04-262-0/+61
|
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-263-24/+35
|
* Add support for frontend:// using separate es5 and es6 foldersArtur2017-04-246-0/+167
|
* Fix race condition between rendering TreeGrid and setting up headers (#9105)Teemu Suo-Anttila2017-04-212-0/+38
| | | | | | * Fix race condition between rendering Grid and setting up headers * Remove Grid default headers when initializing the widget * Fix header clean up, add null check to select all checkbox
* Fix changing primary style name for NativeSelect (#9016)Artur2017-04-201-1/+1
|
* Fix issues in Grid with undefined height (#9104)Teemu Suo-Anttila2017-04-192-0/+113
|
* Fix client-side memory leak caused by Grid events (#9103)Aleksi Hietanen2017-04-191-0/+40
| | | | | | Refactors AbstractGridKeyEvent, AbstractGridMouseEvent and their descendants to follow the pattern used in other GWT DomEvents. Fixes #7633
* Composite component (#8952)Artur2017-04-182-0/+152
| | | | | | | | | | | | | | | | | A composite is included in the server side hierarchy and in the connector hierarchy on the client side but does not have its own widget or DOM. To ensure that captions etc are renderer correctly for the root contents, the client side connector returns both the widget and state for the content connector. Server side API related to width and height are automatically forwarded to the root component to enable easy use of the composite inside different layout configurations. Other server side API inherited from AbstractComponent is unwanted, should be optional and therefore throw an exception by default. Resolves #2458
* Add LoadStyle.NONE for completely omitting a connectorLeif Åstrand2017-04-134-0/+131
|
* Grid drag and drop documentation (#9055)Adam Wagner2017-04-131-59/+107
|
* Panel.setScrollTop() fails with impossibly large numbersOlli Tietäväinen2017-04-132-0/+103
| | | Fixes #1149
* Correctly set ListSelect style namesArtur2017-04-132-0/+147
| | | Fixes #8901
* Notify a resource load listener many times if it has been added many times ↵Artur2017-04-132-0/+79
| | | | | (#9075) This is what the javadoc promises and what DependencyLoader relies on