]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoRefactor common methods in in-memory data providers (#9308)
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.

7 years agoAdd API to store any type of data in the dataTransfer object (#9319)
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)

7 years agoAdd events and functionality to Tree (#9318)
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

7 years agoRename OSGi classes for Java naming conventions (#9320)
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

7 years agoUpdate video link in tutorial.adoc (#9317)
Alejandro [Mon, 15 May 2017 10:58:15 +0000 (13:58 +0300)]
Update video link in tutorial.adoc (#9317)

Updated Vaadin Designer video

7 years agoFix DnD Polyfill to use isNan(i) instead of i===NaN (#9312)
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.

7 years agoDistinguish between touch scroll and drag start on Grid (#9315)
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

7 years agoUse theme font and normal line wrapping for regular tooltips (#9143)
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

7 years agoWIP: Allow differentiating touch scroll from DnD (#9309)
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.

7 years agoRefactor Html5 DnD feature based on API review (#9306)
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

7 years agoProperly remove service destroy listeners (#9304)
Artur [Fri, 12 May 2017 05:32:45 +0000 (08:32 +0300)]
Properly remove service destroy listeners (#9304)

Fixes #9291

7 years agoCreate upload URLs only when stream variable is attached by drop handler (#9301)
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

7 years agoPoll server for changes at the end of each file upload (#9300)
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

7 years agoFix broken DragEnd event introduced in a recent PR (#9297)
Pekka Hyvönen [Thu, 11 May 2017 12:47:43 +0000 (15:47 +0300)]
Fix broken DragEnd event introduced in a recent PR (#9297)

7 years agoAdd mobile html5 dnd support using polyfill (#9282)
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

7 years agoMake it possible to upload files by dropping them onto a drop target (#9277)
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

7 years agoGenerate style name on every dragenter (#9292) (#9293)
Adam Wagner [Thu, 11 May 2017 09:44:36 +0000 (12:44 +0300)]
Generate style name on every dragenter (#9292) (#9293)

Fixes #9292

7 years agoMake clicking checkbox label call focus listeners (#9271)
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

7 years agoReset HierarchicalDataCommunicator on changes (#9275)
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.

7 years agoSince tag update for 8.1.0.alpha7 8.1.0.alpha7
Ilia Motornyi [Wed, 10 May 2017 13:14:21 +0000 (16:14 +0300)]
Since tag update for 8.1.0.alpha7

7 years agoFix partly missing drag image regression on Safari
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.

7 years agoAllow custom click handlers in subclasses of TreeGrid
Henri Sara [Wed, 10 May 2017 08:47:46 +0000 (11:47 +0300)]
Allow custom click handlers in subclasses of TreeGrid

7 years agoFix selection with space in TreeGrid/Tree
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.

7 years agoRefactor WidgetUtil.findWidget()
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.

7 years agoMove TestBench API to the correct package (#9249)
Artur [Tue, 9 May 2017 11:17:05 +0000 (14:17 +0300)]
Move TestBench API to the correct package (#9249)

Fixes #9241

7 years agoUse variable name item instead of data in Grid (#9273)
Teemu Suo-Anttila [Tue, 9 May 2017 08:42:25 +0000 (11:42 +0300)]
Use variable name item instead of data in Grid (#9273)

7 years agoFix the missing focus and blur implementations (#9269)
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.

7 years agoUpdate ES6 detection logic to match what Polymer is using (#9268)
Artur [Tue, 9 May 2017 06:37:14 +0000 (09:37 +0300)]
Update ES6 detection logic to match what Polymer is using (#9268)

7 years agoAdd since tags for 8.0.6
Teemu Suo-Anttila [Mon, 8 May 2017 10:40:02 +0000 (13:40 +0300)]
Add since tags for 8.0.6

7 years agoFix bean validation when using sub property bindings (#9248)
Artur [Mon, 8 May 2017 11:37:21 +0000 (14:37 +0300)]
Fix bean validation when using sub property bindings (#9248)

Fixes #9242

7 years agoUpdate example to Vaadin 8 (#9260)
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.

7 years agoFix HTML5 DnD regression for FF (#9245)
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.

7 years agoAllow Escalator.setHeightByRows to accept zero as a valid argument (#9244)
Aleksi Hietanen [Fri, 5 May 2017 08:02:05 +0000 (11:02 +0300)]
Allow Escalator.setHeightByRows to accept zero as a valid argument (#9244)

7 years agoUpgrade GWT to version 2.8.1 (#9236)
Ilia Motornyi [Fri, 5 May 2017 07:19:34 +0000 (10:19 +0300)]
Upgrade GWT to version 2.8.1 (#9236)

7 years agoUse v-tree8 as stylename for new Tree component (#9238)
Teemu Suo-Anttila [Fri, 5 May 2017 07:15:17 +0000 (10:15 +0300)]
Use v-tree8 as stylename for new Tree component (#9238)

7 years agoFix OSGi portlet documentation title
Henri Sara [Thu, 4 May 2017 06:50:01 +0000 (09:50 +0300)]
Fix OSGi portlet documentation title

7 years agoDocumentation: fix wrong method name
dunand [Thu, 4 May 2017 06:10:09 +0000 (02:10 -0400)]
Documentation: fix wrong method name

7 years agoTree documentation
Ilia Motornyi [Thu, 4 May 2017 06:00:14 +0000 (09:00 +0300)]
Tree documentation

7 years agoFix three typos in the documentation (#9230)
Ilia Motornyi [Thu, 4 May 2017 05:29:35 +0000 (08:29 +0300)]
Fix three typos in the documentation (#9230)

7 years agoFix minor issues with Tree theme and TB API (#9226)
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.

7 years agoAdd additional overrides to Tree (#9225)
Aleksi Hietanen [Wed, 3 May 2017 10:36:34 +0000 (13:36 +0300)]
Add additional overrides to Tree (#9225)

7 years agoUse correct TreeElement and server-side classname (#9221)
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

7 years agoMention the applied CSS styles in the documentation (#9219)
Adam Wagner [Wed, 3 May 2017 09:08:38 +0000 (12:08 +0300)]
Mention the applied CSS styles in the documentation (#9219)

7 years agoUse style name for drag source according to convention (#9091)
Adam Wagner [Wed, 3 May 2017 09:08:19 +0000 (12:08 +0300)]
Use style name for drag source according to convention (#9091)

7 years agoFix ComponentLocator with inherited classes without custom connector (#9176)
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.

7 years agoAdd missing since tags for 8.1 (#9220)
Henri Sara [Wed, 3 May 2017 08:34:43 +0000 (11:34 +0300)]
Add missing since tags for 8.1 (#9220)

7 years agoCreate styles for grid drop target to indicate where the dragover position (#9080...
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)

7 years agoDisable drag and drop for touch devices (#9216)
Adam Wagner [Tue, 2 May 2017 20:35:33 +0000 (23:35 +0300)]
Disable drag and drop for touch devices (#9216)

7 years agoHierarchicalDataProvider cache invalidation workaround (#9218)
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

7 years agoAdd an initial version of Tree component (#9212)
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

7 years agoAdd method for checking whether drag event was cancelled (#9214)
Adam Wagner [Tue, 2 May 2017 14:25:36 +0000 (17:25 +0300)]
Add method for checking whether drag event was cancelled (#9214)

7 years agoUpdate portlet documentation for OSGi portlets
Henri Sara [Tue, 2 May 2017 09:43:10 +0000 (12:43 +0300)]
Update portlet documentation for OSGi portlets

7 years agoFixes repackaging the whole elemental into shared. (#9207)
Ilia Motornyi [Tue, 2 May 2017 09:41:18 +0000 (12:41 +0300)]
Fixes repackaging the whole elemental into shared. (#9207)

7 years agoImprove expand and collapse of items in TreeGrid (#9159)
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.

7 years agoAdd support for pluggable filters for rewriting dependencies (#9182)
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

7 years agoIgnore dragstart and dragend events if there are no items dragged (#9187)
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)

7 years agoAdd note that multiple selection drags only visible rows (#9093) (#9198)
Adam Wagner [Sun, 30 Apr 2017 17:43:08 +0000 (19:43 +0200)]
Add note that multiple selection drags only visible rows (#9093) (#9198)

7 years agoFix invalid link (#9183)
Artur [Fri, 28 Apr 2017 06:34:49 +0000 (09:34 +0300)]
Fix invalid link (#9183)

7 years agoSet transfer data only when not null (#9185)
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)

7 years agoFix typo in OSGi documentation
Henri Sara [Thu, 27 Apr 2017 11:57:29 +0000 (14:57 +0300)]
Fix typo in OSGi documentation

7 years agoOpen VaadinServlet and BootstrapHandler classes for external use (#9164)
Artur [Thu, 27 Apr 2017 11:33:51 +0000 (14:33 +0300)]
Open VaadinServlet and BootstrapHandler classes for external use (#9164)

7 years agoMake Bootstrap URIResolver available to bootstrap listeners (#9171)
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

7 years agoMake some of dnd's javadoc clearer.
Adam Wagner [Thu, 27 Apr 2017 11:00:58 +0000 (13:00 +0200)]
Make some of dnd's javadoc clearer.

7 years agoAdd since tags for 8.1
Henri Sara [Thu, 27 Apr 2017 10:46:05 +0000 (13:46 +0300)]
Add since tags for 8.1

7 years agoAdd documentation pre-release disclaimer for OSGi
Henri Sara [Thu, 27 Apr 2017 10:31:38 +0000 (13:31 +0300)]
Add documentation pre-release disclaimer for OSGi

7 years agoAdd documentation for Composite
Henri Sara [Thu, 27 Apr 2017 10:29:46 +0000 (13:29 +0300)]
Add documentation for Composite

7 years agoAdd OSGi documentation and release notes (#9155)
Henri Sara [Wed, 26 Apr 2017 13:09:43 +0000 (16:09 +0300)]
Add OSGi documentation and release notes (#9155)

Resolves #9141
Partly addresses #8999

7 years agoAdd an option for defining number of visible items in a NativeSelect (#9109)
Artur [Wed, 26 Apr 2017 08:12:01 +0000 (11:12 +0300)]
Add an option for defining number of visible items in a NativeSelect (#9109)

7 years agoMake TreeGrid follow framework style conventions
Aleksi Hietanen [Wed, 26 Apr 2017 06:47:13 +0000 (09:47 +0300)]
Make TreeGrid follow framework style conventions

7 years agoFix parent version in some POMs
Henri Sara [Tue, 25 Apr 2017 13:30:38 +0000 (16:30 +0300)]
Fix parent version in some POMs

Use the correct snapshot version of the parent.

7 years agoDetect Chrome on iOS as Chrome + Webkit (#9138)
Artur [Tue, 25 Apr 2017 12:21:30 +0000 (15:21 +0300)]
Detect Chrome on iOS as Chrome + Webkit (#9138)

7 years agoClarify javadoc for OSGi related interfaces
Henri Sara [Tue, 25 Apr 2017 10:49:14 +0000 (13:49 +0300)]
Clarify javadoc for OSGi related interfaces

7 years agoAdd some javadoc for Liferay integration module
Henri Sara [Tue, 25 Apr 2017 10:31:07 +0000 (13:31 +0300)]
Add some javadoc for Liferay integration module

Indicate that the classes are only for Liferay 7+, clarify annotation
parameters and update module description.

7 years agoAdd missing fields to OSGi manifests
Henri Sara [Tue, 25 Apr 2017 10:05:21 +0000 (13:05 +0300)]
Add missing fields to OSGi manifests

Adds RequiredExecutionEnvironment and License fields and renames some
bundles (SymbolicName) for backwards compatibility.

7 years agoProperty change of the UI service updates the properties of the Portlet
Mirjan Merruko [Tue, 11 Apr 2017 12:38:12 +0000 (15:38 +0300)]
Property change of the UI service updates the properties of the Portlet

In response to property change the properties

7 years agoRemove dependency of portlets to liferay-integration bundle
Mirjan Merruko [Mon, 10 Apr 2017 07:43:35 +0000 (10:43 +0300)]
Remove dependency of portlets to liferay-integration bundle

A property can be used instead of the convenience annotation to mark a UI
as a Portlet UI registration that should be picked up by the liferay
integration. This removes the unnecessary dependency on the liferay-integration
bundle.

7 years agoFix dependency issues that cause the server bundle to be built incorrectly
Mirjan Merruko [Fri, 7 Apr 2017 11:49:07 +0000 (14:49 +0300)]
Fix dependency issues that cause the server bundle to be built incorrectly

7 years agoConvenience API for registering themes and widgetsets
Mirjan Merruko [Thu, 6 Apr 2017 12:21:29 +0000 (15:21 +0300)]
Convenience API for registering themes and widgetsets

7 years agoAdd scr component to help registering VaadinServlet configurations
Mirjan Merruko [Tue, 4 Apr 2017 14:05:27 +0000 (17:05 +0300)]
Add scr component to help registering VaadinServlet configurations

This component will detect VaadinServlet configurations, add the static
resource configuration property and then register a servlet using the
HttpWhiteboard specification.

This works with pax-jetty but not pax-http-tomcat. Partly covers #7173

7 years agoAdd liferay integration originally developed by Sampsa Sohlman #8834
Mirjan Merruko [Fri, 24 Mar 2017 11:45:21 +0000 (13:45 +0200)]
Add liferay integration originally developed by Sampsa Sohlman #8834

7 years agoMove GAEVaadinServlet to its own module
Mirjan Merruko [Tue, 28 Mar 2017 18:25:21 +0000 (21:25 +0300)]
Move GAEVaadinServlet to its own module

7 years agoAdd OSGi support #8830 #8827 #8828 #8829
Mirjan Merruko [Fri, 24 Mar 2017 11:33:37 +0000 (13:33 +0200)]
Add OSGi support #8830 #8827 #8828 #8829

Use bnd-maven-plugin instead of maven-bundle-plugin and helper class, and
add support for publishing static resources such as themes and widgetsets.

7 years agoMake it possible to set a Resource as drag image (#9088)
Adam Wagner [Tue, 25 Apr 2017 11:05:37 +0000 (14:05 +0300)]
Make it possible to set a Resource as drag image (#9088)

Fixes #8892

Note that IE and Edge are not covered by this change - see #8977

7 years agoAdd support for frontend:// using separate es5 and es6 folders
Artur [Mon, 24 Apr 2017 09:04:15 +0000 (12:04 +0300)]
Add support for frontend:// using separate es5 and es6 folders

7 years agoFix race condition between rendering TreeGrid and setting up headers (#9105)
Teemu Suo-Anttila [Fri, 21 Apr 2017 10:56:28 +0000 (13:56 +0300)]
Fix race condition between rendering TreeGrid and setting up headers (#9105)

* 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

7 years agoInclude charset in text/html responses (#8777) (#9123)
Ilia Motornyi [Fri, 21 Apr 2017 06:58:51 +0000 (08:58 +0200)]
Include charset in text/html responses (#8777) (#9123)

Addresses #8775 for version 8.1+

7 years agoRemove unnecessary logging from setHeightByRows in Escalator
Teemu Suo-Anttila [Thu, 20 Apr 2017 17:08:27 +0000 (20:08 +0300)]
Remove unnecessary logging from setHeightByRows in Escalator

7 years agoFix changing primary style name for NativeSelect (#9016)
Artur [Thu, 20 Apr 2017 10:14:05 +0000 (13:14 +0300)]
Fix changing primary style name for NativeSelect (#9016)

7 years agoAdd/fill in missing @since tags for 8.1 (#9106) 8.1.0.alpha6
Henri Sara [Wed, 19 Apr 2017 15:15:05 +0000 (18:15 +0300)]
Add/fill in missing @since tags for 8.1 (#9106)

7 years agoWait for HTML imports to be processed and not only loaded (#9110)
Artur [Wed, 19 Apr 2017 14:23:20 +0000 (17:23 +0300)]
Wait for HTML imports to be processed and not only loaded (#9110)

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.

7 years agoFix issues in Grid with undefined height (#9104)
Teemu Suo-Anttila [Wed, 19 Apr 2017 11:27:13 +0000 (14:27 +0300)]
Fix issues in Grid with undefined height (#9104)

7 years agoFix client-side memory leak caused by Grid events (#9103)
Aleksi Hietanen [Wed, 19 Apr 2017 10:54:16 +0000 (13:54 +0300)]
Fix client-side memory leak caused by Grid events (#9103)

Refactors AbstractGridKeyEvent, AbstractGridMouseEvent and their
descendants to follow the pattern used in other GWT DomEvents.

Fixes #7633

7 years agoAdd missing methods to compatibility AbstractRendererConnector
Henri Sara [Tue, 18 Apr 2017 12:56:49 +0000 (15:56 +0300)]
Add missing methods to compatibility AbstractRendererConnector

Fixes #9096

7 years agoMention non-compatibility renames in migration instructions (#9097)
Leif Åstrand [Tue, 18 Apr 2017 12:43:46 +0000 (15:43 +0300)]
Mention non-compatibility renames in migration instructions (#9097)

7 years agoSupport using Composite and CustomComponent as a Design root class (#9017)
Artur [Tue, 18 Apr 2017 11:23:06 +0000 (14:23 +0300)]
Support using Composite and CustomComponent as a Design root class (#9017)

Fixes #6043

7 years agoIgnore all external events in the Profiler (#9033)
Artur [Tue, 18 Apr 2017 11:21:13 +0000 (14:21 +0300)]
Ignore all external events in the Profiler (#9033)

This fixes problems with profiling the initial paint:
"SEVERE: Got end event for leftoversDownload.runAsync but is currently in null"

7 years agoFix problem when reading a nested Design based on a GridLayout (#9092)
Artur [Tue, 18 Apr 2017 09:53:30 +0000 (12:53 +0300)]
Fix problem when reading a nested Design based on a GridLayout (#9092)

The parent Design must leave child handling to the nested design, when
there are no children defined in the parent Design. This fixes a problem
with com.vaadin.ui.GridLayout$OutOfBoundsException when the reading
operation of the parent design tries to set number of rows according to
its empty content.

7 years agoSchedule DOM reset after column size setting (#9011)
Henri Sara [Tue, 18 Apr 2017 09:36:00 +0000 (12:36 +0300)]
Schedule DOM reset after column size setting (#9011)

Otherwise, the initial row height state update partly negates
an earlier optimization for unnecessary column width calculation.

7 years agoComposite component (#8952)
Artur [Tue, 18 Apr 2017 07:57:11 +0000 (10:57 +0300)]
Composite component (#8952)

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

7 years agoIndicate when multiple rows are dragged (#9087)
Adam Wagner [Mon, 17 Apr 2017 19:05:49 +0000 (22:05 +0300)]
Indicate when multiple rows are dragged (#9087)

* Indicate when multiple rows are dragged (#8398)