aboutsummaryrefslogtreecommitdiffstats
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* Fix DnD issues regarding data type text (#9347)Adam Wagner2017-05-171-0/+13
| | | | | | | * First dragged data should not contain new line character at the beginning * Return any of "text", "Text" or "text/plain" in the method of getDataTransferText() * Set only data of type "text" for IE on dragstart * Clarify return of getDataTransferText() method * Ignore generated data that is null
* Add since tags for 8.1 (#9343)Henri Sara2017-05-172-0/+4
| | | | | | | * Add since tags for 8.1 Note that ConnectorTracker changes will probably be backported to 7.7 in #9331.
* Move HierarchicalDataCommunicatorConstants to the correct packageAleksi Hietanen2017-05-161-1/+1
|
* Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstantsAleksi Hietanen2017-05-161-3/+4
|
* Move CompositeState to different packageAleksi Hietanen2017-05-161-1/+1
|
* Add API to store any type of data in the dataTransfer object (#9319)Adam Wagner2017-05-163-15/+37
|
* Rename OSGi classes for Java naming conventions (#9320)Henri Sara2017-05-155-22/+32
| | | | | | - Rename OSGi to Osgi in class names. - Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with Spring, CDI etc. add-ons - Add missing javadoc
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-121-26/+0
| | | | | | | | * 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
* Poll server for changes at the end of each file upload (#9300)Adam Wagner2017-05-111-0/+5
| | | | * Poll server for changes at the end of each file upload
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-113-1/+26
| | | | | | | | | | | | | | | 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-114-0/+210
| | | Fixes #8891
* Update ES6 detection logic to match what Polymer is using (#9268)Artur2017-05-091-9/+17
|
* Add since tags for 8.0.6Teemu Suo-Anttila2017-05-081-0/+5
|
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-053-9/+8
| | | | | | | | | | | | - 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.
* Add missing since tags for 8.1 (#9220)Henri Sara2017-05-031-0/+6
|
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-021-0/+22
| | | | | | | 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
* Fixes repackaging the whole elemental into shared. (#9207)Ilia Motornyi2017-05-021-1/+1
|
* Improve expand and collapse of items in TreeGrid (#9159)Aleksi Hietanen2017-05-021-10/+12
| | | | | | | | | | | | | 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 since tags for 8.1Henri Sara2017-04-274-0/+32
|
* Add an option for defining number of visible items in a NativeSelect (#9109)Artur2017-04-261-0/+4
|
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-261-1/+5
|
* Detect Chrome on iOS as Chrome + Webkit (#9138)Artur2017-04-251-2/+18
|
* Clarify javadoc for OSGi related interfacesHenri Sara2017-04-252-0/+10
|
* Add missing fields to OSGi manifestsHenri Sara2017-04-251-0/+2
| | | | Adds RequiredExecutionEnvironment and License fields and renames some bundles (SymbolicName) for backwards compatibility.
* Convenience API for registering themes and widgetsetsMirjan Merruko2017-04-255-32/+372
|
* Add OSGi support #8830 #8827 #8828 #8829Mirjan Merruko2017-04-255-23/+299
| | | | | Use bnd-maven-plugin instead of maven-bundle-plugin and helper class, and add support for publishing static resources such as themes and widgetsets.
* Make it possible to set a Resource as drag image (#9088)Adam Wagner2017-04-251-0/+2
| | | | | 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-243-1/+78
|
* Include charset in text/html responses (#8777) (#9123)Ilia Motornyi2017-04-211-0/+5
| | | Addresses #8775 for version 8.1+
* Add/fill in missing @since tags for 8.1 (#9106)8.1.0.alpha6Henri Sara2017-04-197-21/+20
|
* Composite component (#8952)Artur2017-04-181-0/+27
| | | | | | | | | | | | | | | | | 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-131-1/+7
|
* Use separate identifier for push connections8.1.0.alpha5Aleksi Hietanen2017-04-131-1/+8
| | | Closes #8700
* Create combined drop mode to allow both on_top and between drops (#9063)Adam Wagner2017-04-132-0/+22
| | | Resolves #8932
* Correctly set ListSelect style namesArtur2017-04-131-1/+2
| | | Fixes #8901
* Remove Extension suffix from Grid DND classes (#9035)Adam Wagner2017-04-124-6/+6
|
* Make it possible to drop things between Grid rows (#8979)Adam Wagner2017-04-124-1/+86
| | | | Fixes #8401
* Provide dragged Grid items in server side (#8950)Adam Wagner2017-04-122-1/+51
| | | | Fixes #8931
* Make it possible to drop things on top of Grid rows (#8747)Adam Wagner2017-04-123-5/+67
| | | | Fixes #8400
* Make Grid rows draggable (#8690)Adam Wagner2017-04-121-0/+38
| | | | | | It is possible to customize the drag data for each row. (#8706) Fixes #8396
* Fix initial expand of TreeGrid itemsAleksi Hietanen2017-04-111-0/+5
| | | Fixes #9050
* Make Button component draggable (#9038)Adam Wagner2017-04-101-0/+26
| | | | | | * Make Button component draggable (#9037) * Add own state to button drag source
* Add server-side expand and collapse to TreeGrid (#9021)Aleksi Hietanen2017-04-062-1/+50
| | | | | | | | | | | | | | | | * Add server-side expand and collapse to TreeGrid * Add javadocs * Fix variable naming in TreeGridHugeTreeTest * Fix review comments * Merge remote-tracking branch 'github/master' into 8759-server-expand * Clear pending expands when all data is dropped * Add documentation
* Snapshot version update to 8.1 (#9023)Ilia Motornyi2017-04-051-1/+1
|
* TreeGrid keyboard navigation Ilia Motornyi2017-04-052-0/+75
| | | Fixes #8758
* Implement LocalDateRenderer and LocalDateTimeRenderer (#8955)Aleksi Hietanen2017-03-302-0/+52
| | | Closes #8377
* Add Grid.setRowHeight() (#8935)Henri Sara2017-03-291-1/+10
| | | Fixes #8667
* Clean DropEvent and DragEndEvent properties (#8925)Adam Wagner2017-03-242-4/+6
| | | | | | | | * Add dropEffect parameter to DragEndEvent (#8895) * Remove drop effect from drop event (#8895) * Make sure that drop effect is not null
* Add possibility to configure the content mode of TabSheet tabs (#8920)Aleksi Hietanen2017-03-241-0/+3
| | | Fixes #8590
* Add feature to disable collapsing items in TreeGrid (#8879)Teemu Suo-Anttila2017-03-231-1/+2
| | | Fixes #8846