]>
source.dussan.org Git - vaadin-framework.git/log
Henri Sara [Wed, 24 May 2017 09:55:24 +0000 (12:55 +0300)]
Update release notes for beta (#9422)
Pekka Hyvönen [Wed, 24 May 2017 09:51:44 +0000 (12:51 +0300)]
Fix Escalator javadocs (#9421)
Pekka Hyvönen [Wed, 24 May 2017 07:43:55 +0000 (10:43 +0300)]
Fix drop indicator when Grid is scrolled (#9417)
Now the DnD events are listened from tablewrapper element,
which contains also grid's header and footer, making it possible to
drop on top of them.
apolds [Wed, 24 May 2017 05:33:09 +0000 (07:33 +0200)]
Allow changing NavigationStateManager (#9410)
Unregister old NavigationStateManager before setting new one.
Fixes #9406
Pekka Hyvönen [Tue, 23 May 2017 13:51:54 +0000 (16:51 +0300)]
Fix missing drag image on FF, Safari (#9409)
When CSS transform has been applied, the drag image is missing (safari),
or gets offset (FF). Fixed by using custom drag image without transform,
and checking for transforms on parent DOM tree. Does NOT fix #9408
When there are frozen columns used, the image needs should not look weird because of the frozen column transitions.
The multiselection column is now not shown it is frozen.
Fixes #9261
Aleksi Hietanen [Tue, 23 May 2017 13:14:34 +0000 (16:14 +0300)]
Make select all work with TreeGrid (#9412)
Fixes #9403
Aleksi Hietanen [Tue, 23 May 2017 13:10:33 +0000 (16:10 +0300)]
Fix ComboBoxClosePopupRetainTextTest (#9415)
Ilia Motornyi [Tue, 23 May 2017 12:10:45 +0000 (15:10 +0300)]
New Tree component theme
Fixes #9310
Teemu Suo-Anttila [Tue, 23 May 2017 11:04:20 +0000 (14:04 +0300)]
Correctly use id to identify data when refreshing (#9398)
This patch refactors the internals of Grid single selection model
implementation.
Fixes #9380
Teemu Suo-Anttila [Tue, 23 May 2017 09:54:26 +0000 (12:54 +0300)]
Add MultiSelection support for Tree Component (#9354)
Aleksi Hietanen [Mon, 22 May 2017 11:55:02 +0000 (14:55 +0300)]
Fix CheckboxFocusClickTest on Firefox (#9397)
Aleksi Hietanen [Mon, 22 May 2017 11:54:46 +0000 (14:54 +0300)]
Add missing since tag to Binder#getFields (#9395)
Henri Sara [Mon, 22 May 2017 08:30:49 +0000 (11:30 +0300)]
Fix test module for changed dependency filter API
Adam Wagner [Sun, 21 May 2017 18:23:47 +0000 (21:23 +0300)]
Add style name to all dragged rows (#9388)
* Add style name to all dragged rows to indicate that they are being dragged
Henri Sara [Fri, 19 May 2017 13:30:14 +0000 (16:30 +0300)]
Fix menu item selection in tests (#9387)
When the parent span was not used, the size of the wrong span was used
in the calculation of mouse locations for activating a menu item. This
occasionally leads to the wrong submenu being opened on IE as the
cursor passed over the corner of the next item.
Ilia Motornyi [Fri, 19 May 2017 13:25:05 +0000 (16:25 +0300)]
TreeGrid Sass variables (#9333)
Fixes #9311
Leif Åstrand [Fri, 19 May 2017 12:16:00 +0000 (15:16 +0300)]
Add dependency filters through the service init event (#9368)
We shouldn't create new service loader interfaces since each new such
interface has implications for custom integrations. Instead, the
VaadinServiceInitListener mechanism should be enhanced to allow such
listeners to introduce their own dependency filter implementations
similarly to how VaadinServiceInitListener can already be used to
contribute new request handlers
Teemu Suo-Anttila [Fri, 19 May 2017 11:57:03 +0000 (14:57 +0300)]
Hide DataGenerator from Column API (#9351)
Adam Wagner [Fri, 19 May 2017 11:56:16 +0000 (14:56 +0300)]
Add style automatically to indicate that an element is being dragged (#9385)
Closes #9223
Artur [Fri, 19 May 2017 11:48:42 +0000 (14:48 +0300)]
Clear errors when clearing binder fields (#9364)
Calling readBean(null) should reset the form state to the initial state
it was in before calling writeBean(bean)
Ilia Motornyi [Fri, 19 May 2017 11:39:28 +0000 (14:39 +0300)]
Make VaadinService#isUIActive() public (#9285)
Aleksi Hietanen [Fri, 19 May 2017 11:20:41 +0000 (14:20 +0300)]
Reorganize packages of connectors introduced in 8.1 (#9340)
* Move Tree and TreeGrid connectors to different package
* Move grid renderers to correct package
Only renderers introduced in 8.1 have been moved for
backwards compatibility.
Artur [Fri, 19 May 2017 10:05:11 +0000 (13:05 +0300)]
Add a method for getting bound fields from Binder (#9365)
Matti Tahvonen [Fri, 19 May 2017 08:30:29 +0000 (11:30 +0300)]
Fix resetting of last filter in VComboBox (#9381)
Currently the reset method resets the lastFilter as well and then the logic thinks items don’t need to be refreshed when popup is reopened.
Fixes #9027
Fixes #7790
Adam Wagner [Fri, 19 May 2017 08:22:04 +0000 (11:22 +0300)]
Make it possible for drop target to accept both files and other data (#9382)
Pekka Hyvönen [Thu, 18 May 2017 12:48:02 +0000 (15:48 +0300)]
Add shorthand for adding a column with ComponentRenderer
Artur [Thu, 18 May 2017 15:05:34 +0000 (18:05 +0300)]
Update Atmosphere to support latest Jetty versions (#9359)
Fixes #8134, #8135
Aleksi Hietanen [Thu, 18 May 2017 12:24:45 +0000 (15:24 +0300)]
Add TreeData#addRootItems, getRootItems
Aleksi Hietanen [Thu, 18 May 2017 11:51:28 +0000 (14:51 +0300)]
Add HasHierarchicalDataProvider#setTreeData
Additionally removes TreeData constructors from Tree and TreeGrid.
Leif Åstrand [Thu, 18 May 2017 13:11:58 +0000 (16:11 +0300)]
Add stream variants for the child item provider shorthands (#9375)
Pekka Hyvönen [Thu, 18 May 2017 11:11:03 +0000 (14:11 +0300)]
Show drop hints when dropping in empty Grid (#9353)
Also makes sure that the drop location and target row return something sensible in drop event.
Clarifies docs on drop location.
Leif Åstrand [Thu, 18 May 2017 10:36:11 +0000 (13:36 +0300)]
Rename findAndFilterDependencies to findDependencies (#9366)
The old findDependencies method is made private since it's only an
implementation detail and should not be used from outside the class.
At the same time, the new findAndFilterDependencies method is renamed to
findDependencies since there's no longer necessary to have a name that
distinguishes it from the variant that doesn't do any filtering.
Henri Sara [Thu, 18 May 2017 09:43:49 +0000 (12:43 +0300)]
Update Firefox screenshots with checkbox focus (#9362)
Aleksi Hietanen [Thu, 18 May 2017 09:43:25 +0000 (12:43 +0300)]
Move tree-basic.png to the correct folder (#9363)
Aleksi Hietanen [Thu, 18 May 2017 06:48:10 +0000 (09:48 +0300)]
Clarify TreeData and TreeDataProvider javadocs, improve documentation (#9349)
Olli Tietäväinen [Thu, 18 May 2017 06:38:59 +0000 (09:38 +0300)]
Remove warning for shortcuts on disabled connector (#9352)
Remove unnecessary warning on server log when using shortcut on disabled connector.
Fixes #6951
Adam Wagner [Wed, 17 May 2017 13:28:53 +0000 (16:28 +0300)]
Fix DnD issues regarding data type text (#9347)
* 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
Pekka Hyvönen [Wed, 17 May 2017 12:59:15 +0000 (15:59 +0300)]
Fix NPE when detaching DragSource & DropTarget on client side (#9341)
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
Henri Sara [Wed, 17 May 2017 11:11:25 +0000 (14:11 +0300)]
Update screenshots with new tooltip formatting
Henri Sara [Wed, 17 May 2017 11:09:30 +0000 (14:09 +0300)]
Fix tooltip test after tooltip style change
Henri Sara [Wed, 17 May 2017 11:02:09 +0000 (14:02 +0300)]
Update WidgetUtilTest for Chrome 58
Chrome 58 changes how border sizes are rounded.
Henri Sara [Wed, 17 May 2017 10:54:17 +0000 (13:54 +0300)]
Make ThemeTest notification tests more reliable
Henri Sara [Wed, 17 May 2017 10:47:45 +0000 (13:47 +0300)]
Update ES5/ES6 tests for Firefox
Expect ES5 for Firefox as the test cluster has an older version.
Henri Sara [Wed, 17 May 2017 10:38:35 +0000 (13:38 +0300)]
Make GridPopupViewTest more stable
Henri Sara [Wed, 17 May 2017 10:38:19 +0000 (13:38 +0300)]
Update Chrome version to 58 in test
Teemu Suo-Anttila [Wed, 17 May 2017 07:36:02 +0000 (10:36 +0300)]
Remove deprecation from setTag and throw on subsequent calls
Teemu Suo-Anttila [Wed, 17 May 2017 08:26:59 +0000 (11:26 +0300)]
Add getters for providers to Tree and TreeGrid
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.