aboutsummaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-114-9/+108
| | | | | | | | | | | | | | | 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/+202
| | | Fixes #8891
* Generate style name on every dragenter (#9292) (#9293)Adam Wagner2017-05-111-4/+5
| | | Fixes #9292
* Make clicking checkbox label call focus listeners (#9271)Knoobie2017-05-111-3/+3
| | | | | 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-111-1/+2
| | | | | | 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-33/+103
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Allow custom click handlers in subclasses of TreeGridHenri Sara2017-05-101-1/+1
|
* Fix selection with space in TreeGrid/TreeHenri Sara2017-05-101-4/+4
| | | Makes subclasses of Grid call custom key and mouse event handlers.
* Refactor WidgetUtil.findWidget()Henri Sara2017-05-107-28/+85
| | | | | | | Adds two variants: - find widget of any type - accept all or only exact matches Updates uses of findWidget(e, null) in non-compatibility packages.
* Add since tags for 8.0.6Teemu Suo-Anttila2017-05-081-1/+1
|
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-053-76/+115
| | | | | | | | | | | | - 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-051-1/+1
|
* Use style name for drag source according to convention (#9091)Adam Wagner2017-05-031-3/+17
|
* Fix ComponentLocator with inherited classes without custom connector (#9176)Teemu Suo-Anttila2017-05-035-12/+54
| | | | | | | | | | | | 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.
* Add missing since tags for 8.1 (#9220)Henri Sara2017-05-033-0/+21
|
* Disable drag and drop for touch devices (#9216)Adam Wagner2017-05-023-0/+18
|
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-022-6/+71
| | | | | | | 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-023-27/+98
| | | | | | | | | | | | | 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.
* Ignore dragstart and dragend events if there are no items dragged (#9187)Adam Wagner2017-04-301-7/+16
|
* Set transfer data only when not null (#9185)Adam Wagner2017-04-271-2/+5
| | | | * Set transfer data only when not null (#9178)
* Add since tags for 8.1Henri Sara2017-04-273-2/+10
|
* Add an option for defining number of visible items in a NativeSelect (#9109)Artur2017-04-261-0/+24
|
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-264-9/+28
|
* Detect Chrome on iOS as Chrome + Webkit (#9138)Artur2017-04-256-19/+39
|
* Make it possible to set a Resource as drag image (#9088)Adam Wagner2017-04-251-0/+30
| | | | | Fixes #8892 Note that IE and Edge are not covered by this change - see #8977
* Add support for frontend:// using separate es5 and es6 foldersArtur2017-04-242-0/+20
|
* Fix race condition between rendering TreeGrid and setting up headers (#9105)Teemu Suo-Anttila2017-04-212-16/+21
| | | | | | * 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
* Remove unnecessary logging from setHeightByRows in EscalatorTeemu Suo-Anttila2017-04-201-10/+9
|
* Fix changing primary style name for NativeSelect (#9016)Artur2017-04-201-1/+1
|
* Add/fill in missing @since tags for 8.1 (#9106)8.1.0.alpha6Henri Sara2017-04-195-45/+50
|
* Wait for HTML imports to be processed and not only loaded (#9110)Artur2017-04-191-1/+28
| | | | Failing to do this might cause constructors and listeners in a Polymer element too be called too early in browsers which need the V1 polyfill.
* Fix issues in Grid with undefined height (#9104)Teemu Suo-Anttila2017-04-191-20/+35
|
* Fix client-side memory leak caused by Grid events (#9103)Aleksi Hietanen2017-04-199-82/+192
| | | | | | Refactors AbstractGridKeyEvent, AbstractGridMouseEvent and their descendants to follow the pattern used in other GWT DomEvents. Fixes #7633
* Ignore all external events in the Profiler (#9033)Artur2017-04-181-0/+6
| | | | This fixes problems with profiling the initial paint: "SEVERE: Got end event for leftoversDownload.runAsync but is currently in null"
* Schedule DOM reset after column size setting (#9011)Henri Sara2017-04-181-1/+3
| | | | Otherwise, the initial row height state update partly negates an earlier optimization for unnecessary column width calculation.
* Composite component (#8952)Artur2017-04-181-0/+90
| | | | | | | | | | | | | | | | | 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
* Indicate when multiple rows are dragged (#9087)Adam Wagner2017-04-171-0/+46
| | | | * Indicate when multiple rows are dragged (#8398)
* Use separate identifier for push connections8.1.0.alpha5Aleksi Hietanen2017-04-132-6/+25
| | | Closes #8700
* Create combined drop mode to allow both on_top and between drops (#9063)Adam Wagner2017-04-131-0/+9
| | | Resolves #8932
* Replace drag over class name with conventional ones (#9059) (#9076)Pekka Hyvönen2017-04-132-26/+70
| | | | | Generate drop target style names on every dragenter to make sure they match the primary style name. Fixes #9058
* Panel.setScrollTop() fails with impossibly large numbersOlli Tietäväinen2017-04-131-0/+7
| | | Fixes #1149
* Correctly set ListSelect style namesArtur2017-04-131-19/+10
| | | Fixes #8901
* Notify a resource load listener many times if it has been added many times ↵Artur2017-04-131-3/+4
| | | | | (#9075) This is what the javadoc promises and what DependencyLoader relies on
* Provide GridLayout size and cell elements to JS and TB (#9019)Artur2017-04-131-0/+44
|
* Fix empty TreeGrid (#9067)Aleksi Hietanen2017-04-121-1/+7
|
* Remove Extension suffix from Grid DND classes (#9035)Adam Wagner2017-04-122-24/+21
|
* Make it possible to drop things between Grid rows (#8979)Adam Wagner2017-04-122-11/+88
| | | | Fixes #8401
* Provide dragged Grid items in server side (#8950)Adam Wagner2017-04-122-18/+106
| | | | Fixes #8931
* Make it possible to drop things on top of Grid rows (#8747)Adam Wagner2017-04-124-33/+193
| | | | Fixes #8400
* Make all selected rows draggable (#8746)Adam Wagner2017-04-121-2/+82
| | | | Fixes #8397