]>
source.dussan.org Git - vaadin-framework.git/log
Teemu Suo-Anttila [Wed, 17 May 2017 08:08:35 +0000 (11:08 +0300)]
Add convenience constructors for Tree component
Teemu Suo-Anttila [Wed, 17 May 2017 08:07:55 +0000 (11:07 +0300)]
Add example of how to use ComponentRenderer to JavaDoc
Pekka Hyvönen [Wed, 17 May 2017 11:20:26 +0000 (14:20 +0300)]
Fix drag image offset for Grid rows for mobile (#9336)
Asks the polyfill to always center the drag image based on the touch coordinates.
Also temporarely removes the transform offset for the row.
Pekka Hyvönen [Wed, 17 May 2017 11:19:50 +0000 (14:19 +0300)]
Fix Button as a Html5 DragSource (#9346)
* Fix Button as a Html5 DragSourcei
It was completely broken, not being clickable, and also preventing anything else from being clicked.
Henri Sara [Wed, 17 May 2017 09:56:02 +0000 (12:56 +0300)]
Add since tags for 8.1 (#9343)
* Add since tags for 8.1
Note that ConnectorTracker changes will probably be backported to 7.7
in #9331.
Ilia Motornyi [Wed, 17 May 2017 08:43:45 +0000 (11:43 +0300)]
Reflect latest Tree API and styling changes to the documentation
Adam Wagner [Wed, 17 May 2017 04:47:59 +0000 (07:47 +0300)]
Make it possible for grid drop target to accept dragged data when grid is empty (#9332)
* Make it possible for grid drop target to accept dragged data when grid is empty (#9068)
* Make return type of getDropTargetRow() optional
Teemu Suo-Anttila [Tue, 16 May 2017 18:25:04 +0000 (21:25 +0300)]
Add mention of context menu and DnD collision on mobile devices (#9337)
* Add mention of context menu and DnD collision on mobile devices
Henri Sara [Tue, 16 May 2017 13:04:23 +0000 (16:04 +0300)]
Update since tags for TB elements (#9329)
Teemu Suo-Anttila [Tue, 16 May 2017 12:53:49 +0000 (15:53 +0300)]
Remove unnecessary rowmode prefix from TreeGrid focus styles (#9327)
Teemu Suo-Anttila [Tue, 16 May 2017 12:01:03 +0000 (15:01 +0300)]
Properly init client-side data in GridDataChangeHandlerTest
Aleksi Hietanen [Fri, 12 May 2017 06:44:55 +0000 (09:44 +0300)]
Add BackEndHierarchicalDataProvider and an abstract base class
Aleksi Hietanen [Tue, 16 May 2017 10:13:34 +0000 (13:13 +0300)]
Fix code review comments
Aleksi Hietanen [Mon, 15 May 2017 10:49:56 +0000 (13:49 +0300)]
Add ItemCollapseAllowedProvider interface
Aleksi Hietanen [Mon, 15 May 2017 09:46:45 +0000 (12:46 +0300)]
Add TreeGrid#getHierarchyColumn
Aleksi Hietanen [Fri, 12 May 2017 06:54:53 +0000 (09:54 +0300)]
Improve CollapseEvent and ExpandEvent javadocs
Aleksi Hietanen [Fri, 12 May 2017 05:52:11 +0000 (08:52 +0300)]
Move HierarchicalDataCommunicatorConstants to the correct package
Aleksi Hietanen [Thu, 11 May 2017 12:48:08 +0000 (15:48 +0300)]
Add convenience constructors to TreeGrid
Aleksi Hietanen [Thu, 11 May 2017 06:10:04 +0000 (09:10 +0300)]
Add javadocs to Grid#readData and writeData
Aleksi Hietanen [Thu, 11 May 2017 05:50:49 +0000 (08:50 +0300)]
Add setHierarchyColumn(column) overload to TreeGrid
Aleksi Hietanen [Thu, 11 May 2017 05:36:04 +0000 (08:36 +0300)]
Make HierarchyRendererCellReferenceWrapper a nested class of HierarchyRenderer
Aleksi Hietanen [Thu, 11 May 2017 05:31:48 +0000 (08:31 +0300)]
Rename BodyRowContainer.setNewEscalatorRowCallback to setNewRowCallback
Aleksi Hietanen [Thu, 11 May 2017 05:27:29 +0000 (08:27 +0300)]
Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstants
Aleksi Hietanen [Wed, 10 May 2017 12:30:56 +0000 (15:30 +0300)]
Remove redundant method getComponentCount from Composite
Aleksi Hietanen [Wed, 10 May 2017 12:22:08 +0000 (15:22 +0300)]
Add FunctionalInterface annotation to DependencyFilter
Aleksi Hietanen [Wed, 10 May 2017 12:17:10 +0000 (15:17 +0300)]
Wrap DataCommunicator#getBackEndSorting in an unmodifiable list
Aleksi Hietanen [Wed, 10 May 2017 12:13:36 +0000 (15:13 +0300)]
Move CompositeState to different package
Aleksi Hietanen [Wed, 10 May 2017 12:11:41 +0000 (15:11 +0300)]
Add javadoc to client-side TreeGrid widget
Aleksi Hietanen [Wed, 10 May 2017 11:21:58 +0000 (14:21 +0300)]
Improvements to HierarchyRenderer
- Make HierarchyRenderer.ExpanderState private
- Add javadocs to HierarchyRenderer#setStyleNames
Aleksi Hietanen [Wed, 10 May 2017 10:02:59 +0000 (13:02 +0300)]
Clarify HierarchicalQuery javadocs
Aleksi Hietanen [Wed, 10 May 2017 10:02:06 +0000 (13:02 +0300)]
Make CollapseListener and ExpandListener extend SerializableEventListener
Artur [Tue, 16 May 2017 12:14:11 +0000 (15:14 +0300)]
Clean connector tracker after each access block to stop memory leaks (#9305)
Immediately clean connectors which the client side does not know about
Fixes #9303
Adam Wagner [Tue, 16 May 2017 11:25:26 +0000 (14:25 +0300)]
Add API for multiple drag data generators (#9321)
* 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
Teemu Suo-Anttila [Tue, 16 May 2017 09:11:07 +0000 (12:11 +0300)]
Adds a passthrough to root component for most Composite methods (#9324)
Fixes #9323
Aleksi Hietanen [Tue, 16 May 2017 08:57:02 +0000 (11:57 +0300)]
Refactor common methods in in-memory data providers (#9308)
* 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.
Adam Wagner [Tue, 16 May 2017 07:21:31 +0000 (10:21 +0300)]
Add API to store any type of data in the dataTransfer object (#9319)
Teemu Suo-Anttila [Tue, 16 May 2017 06:36:22 +0000 (09:36 +0300)]
Add events and functionality to Tree (#9318)
* Add ItemClick event to Tree
* Add collapse provider and style generator to Tree
Henri Sara [Mon, 15 May 2017 19:34:43 +0000 (22:34 +0300)]
Rename OSGi classes for Java naming conventions (#9320)
- Rename OSGi to Osgi in class names.
- Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with
Spring, CDI etc. add-ons
- Add missing javadoc
Alejandro [Mon, 15 May 2017 10:58:15 +0000 (13:58 +0300)]
Update video link in tutorial.adoc (#9317)
Updated Vaadin Designer video
Pekka Hyvönen [Mon, 15 May 2017 09:01:21 +0000 (12:01 +0300)]
Fix DnD Polyfill to use isNan(i) instead of i===NaN (#9312)
A Beginners JS mistake. Used in the forked part of the polyfill, related PR for Polyfill has been updated.
Pekka Hyvönen [Mon, 15 May 2017 08:56:10 +0000 (11:56 +0300)]
Distinguish between touch scroll and drag start on Grid (#9315)
* Set touch scroll timeout for Grid on GridDragSource
Leif Åstrand [Mon, 15 May 2017 08:44:24 +0000 (11:44 +0300)]
Use theme font and normal line wrapping for regular tooltips (#9143)
Fixes #9121
Henri Sara [Sun, 14 May 2017 19:01:20 +0000 (22:01 +0300)]
WIP: Allow differentiating touch scroll from DnD (#9309)
* Allow differentiating touch scroll from DnD
Provide Escalator API to check if a touch scroll is active, and to
specify a delay after which a non-moving touch should not scroll.
Pekka Hyvönen [Fri, 12 May 2017 08:33:55 +0000 (11:33 +0300)]
Refactor Html5 DnD feature based on API review (#9306)
* 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
Artur [Fri, 12 May 2017 05:32:45 +0000 (08:32 +0300)]
Properly remove service destroy listeners (#9304)
Fixes #9291
Adam Wagner [Thu, 11 May 2017 19:49:19 +0000 (22:49 +0300)]
Create upload URLs only when stream variable is attached by drop handler (#9301)
* Create upload URLs only when stream variable is attached by drop handler
* Add file size limit to test ui and remove label drop target
Adam Wagner [Thu, 11 May 2017 13:49:19 +0000 (16:49 +0300)]
Poll server for changes at the end of each file upload (#9300)
* Poll server for changes at the end of each file upload
Pekka Hyvönen [Thu, 11 May 2017 12:47:43 +0000 (15:47 +0300)]
Fix broken DragEnd event introduced in a recent PR (#9297)
Pekka Hyvönen [Thu, 11 May 2017 11:36:27 +0000 (14:36 +0300)]
Add mobile html5 dnd support using polyfill (#9282)
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
Adam Wagner [Thu, 11 May 2017 10:13:10 +0000 (13:13 +0300)]
Make it possible to upload files by dropping them onto a drop target (#9277)
Fixes #8891
Adam Wagner [Thu, 11 May 2017 09:44:36 +0000 (12:44 +0300)]
Generate style name on every dragenter (#9292) (#9293)
Fixes #9292
Knoobie [Thu, 11 May 2017 06:04:43 +0000 (08:04 +0200)]
Make clicking checkbox label call focus listeners (#9271)
Fixes the remaining issue from #3944 for Firefox so that a click on the checkbox label calls the focus listener.
Fixes #9290
Aleksi Hietanen [Thu, 11 May 2017 05:56:28 +0000 (08:56 +0300)]
Reset HierarchicalDataCommunicator on changes (#9275)
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.
Ilia Motornyi [Wed, 10 May 2017 13:14:21 +0000 (16:14 +0300)]
Since tag update for 8.1.0.alpha7
Pekka Hyvönen [Wed, 10 May 2017 11:42:31 +0000 (14:42 +0300)]
Fix partly missing drag image regression on Safari
Doesn't fix #9261, drag image missing on Safari when dragging grid row because
that has position: absolute and offset.
Henri Sara [Wed, 10 May 2017 08:47:46 +0000 (11:47 +0300)]
Allow custom click handlers in subclasses of TreeGrid
Henri Sara [Tue, 9 May 2017 06:18:47 +0000 (09:18 +0300)]
Fix selection with space in TreeGrid/Tree
Makes subclasses of Grid call custom key and mouse event handlers.
Henri Sara [Tue, 9 May 2017 06:14:47 +0000 (09:14 +0300)]
Refactor WidgetUtil.findWidget()
Adds two variants:
- find widget of any type
- accept all or only exact matches
Updates uses of findWidget(e, null) in non-compatibility packages.
Artur [Tue, 9 May 2017 11:17:05 +0000 (14:17 +0300)]
Move TestBench API to the correct package (#9249)
Fixes #9241
Teemu Suo-Anttila [Tue, 9 May 2017 08:42:25 +0000 (11:42 +0300)]
Use variable name item instead of data in Grid (#9273)
Knoobie [Tue, 9 May 2017 06:39:25 +0000 (08:39 +0200)]
Fix the missing focus and blur implementations (#9269)
Add (FieldEvents.FocusNotifier & FieldEvents.BlurNotifier) in AbstractTextField.
The fields TextField, TextArea and PasswordField are the only focusable input fields where this Implementation is missing.
Artur [Tue, 9 May 2017 06:37:14 +0000 (09:37 +0300)]
Update ES6 detection logic to match what Polymer is using (#9268)
Teemu Suo-Anttila [Mon, 8 May 2017 10:40:02 +0000 (13:40 +0300)]
Add since tags for 8.0.6
Artur [Mon, 8 May 2017 11:37:21 +0000 (14:37 +0300)]
Fix bean validation when using sub property bindings (#9248)
Fixes #9242
dunand [Mon, 8 May 2017 05:52:15 +0000 (01:52 -0400)]
Update example to Vaadin 8 (#9260)
Replaced Result<String> with ValidationResult.
Replaced variable input by value.
Removed first phrase after example since it does not make sense anymore.
Pekka Hyvönen [Fri, 5 May 2017 09:39:32 +0000 (12:39 +0300)]
Fix HTML5 DnD regression for FF (#9245)
- 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.
Aleksi Hietanen [Fri, 5 May 2017 08:02:05 +0000 (11:02 +0300)]
Allow Escalator.setHeightByRows to accept zero as a valid argument (#9244)
Ilia Motornyi [Fri, 5 May 2017 07:19:34 +0000 (10:19 +0300)]
Upgrade GWT to version 2.8.1 (#9236)
Teemu Suo-Anttila [Fri, 5 May 2017 07:15:17 +0000 (10:15 +0300)]
Use v-tree8 as stylename for new Tree component (#9238)
Henri Sara [Thu, 4 May 2017 06:50:01 +0000 (09:50 +0300)]
Fix OSGi portlet documentation title
dunand [Thu, 4 May 2017 06:10:09 +0000 (02:10 -0400)]
Documentation: fix wrong method name
Ilia Motornyi [Thu, 4 May 2017 06:00:14 +0000 (09:00 +0300)]
Tree documentation
Ilia Motornyi [Thu, 4 May 2017 05:29:35 +0000 (08:29 +0300)]
Fix three typos in the documentation (#9230)
Teemu Suo-Anttila [Wed, 3 May 2017 10:37:56 +0000 (13:37 +0300)]
Fix minor issues with Tree theme and TB API (#9226)
Removes background color from Tree, adds release notes mention, JavaDoc updates.
Aleksi Hietanen [Wed, 3 May 2017 10:36:34 +0000 (13:36 +0300)]
Add additional overrides to Tree (#9225)
Teemu Suo-Anttila [Wed, 3 May 2017 09:53:52 +0000 (12:53 +0300)]
Use correct TreeElement and server-side classname (#9221)
* Use correct TreeElement and server-side classname
* Re-enable test, remove unnecessary imports
Adam Wagner [Wed, 3 May 2017 09:08:38 +0000 (12:08 +0300)]
Mention the applied CSS styles in the documentation (#9219)
Adam Wagner [Wed, 3 May 2017 09:08:19 +0000 (12:08 +0300)]
Use style name for drag source according to convention (#9091)
Teemu Suo-Anttila [Wed, 3 May 2017 08:57:03 +0000 (11:57 +0300)]
Fix ComponentLocator with inherited classes without custom connector (#9176)
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.
Henri Sara [Wed, 3 May 2017 08:34:43 +0000 (11:34 +0300)]
Add missing since tags for 8.1 (#9220)
Adam Wagner [Wed, 3 May 2017 08:20:49 +0000 (11:20 +0300)]
Create styles for grid drop target to indicate where the dragover position (#9080) (#9213)
Adam Wagner [Tue, 2 May 2017 20:35:33 +0000 (23:35 +0300)]
Disable drag and drop for touch devices (#9216)
Aleksi Hietanen [Tue, 2 May 2017 15:57:33 +0000 (18:57 +0300)]
HierarchicalDataProvider cache invalidation workaround (#9218)
Workaround for issue in data communication where
active keys are dropped incorrectly on the server.
See issue #9217
Teemu Suo-Anttila [Tue, 2 May 2017 15:26:11 +0000 (18:26 +0300)]
Add an initial version of Tree component (#9212)
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
Adam Wagner [Tue, 2 May 2017 14:25:36 +0000 (17:25 +0300)]
Add method for checking whether drag event was cancelled (#9214)
Henri Sara [Tue, 2 May 2017 09:43:10 +0000 (12:43 +0300)]
Update portlet documentation for OSGi portlets
Ilia Motornyi [Tue, 2 May 2017 09:41:18 +0000 (12:41 +0300)]
Fixes repackaging the whole elemental into shared. (#9207)
Aleksi Hietanen [Tue, 2 May 2017 07:58:29 +0000 (10:58 +0300)]
Improve expand and collapse of items in TreeGrid (#9159)
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.
Artur [Tue, 2 May 2017 05:30:59 +0000 (08:30 +0300)]
Add support for pluggable filters for rewriting dependencies (#9182)
* Add support for pluggable filters for rewriting dependencies
Fixes #9151
Adam Wagner [Sun, 30 Apr 2017 17:46:01 +0000 (19:46 +0200)]
Ignore dragstart and dragend events if there are no items dragged (#9187)
Adam Wagner [Sun, 30 Apr 2017 17:43:08 +0000 (19:43 +0200)]
Add note that multiple selection drags only visible rows (#9093) (#9198)
Artur [Fri, 28 Apr 2017 06:34:49 +0000 (09:34 +0300)]
Fix invalid link (#9183)
Adam Wagner [Thu, 27 Apr 2017 19:24:13 +0000 (21:24 +0200)]
Set transfer data only when not null (#9185)
* Set transfer data only when not null (#9178)
Henri Sara [Thu, 27 Apr 2017 11:57:29 +0000 (14:57 +0300)]
Fix typo in OSGi documentation
Artur [Thu, 27 Apr 2017 11:33:51 +0000 (14:33 +0300)]
Open VaadinServlet and BootstrapHandler classes for external use (#9164)
Artur [Thu, 27 Apr 2017 11:05:50 +0000 (14:05 +0300)]
Make Bootstrap URIResolver available to bootstrap listeners (#9171)
Without access to the URIResolver it is impossible to add script
and other URLs using a listener
Adam Wagner [Thu, 27 Apr 2017 11:00:58 +0000 (13:00 +0200)]
Make some of dnd's javadoc clearer.
Henri Sara [Thu, 27 Apr 2017 10:46:05 +0000 (13:46 +0300)]
Add since tags for 8.1
Henri Sara [Thu, 27 Apr 2017 10:31:38 +0000 (13:31 +0300)]
Add documentation pre-release disclaimer for OSGi
Henri Sara [Thu, 27 Apr 2017 10:29:46 +0000 (13:29 +0300)]
Add documentation for Composite