OSGi support for vaadin-push (#11691)

* Require atmosphere-runtime in vaadin-push with visibility:=reexport
* Require vaadin-push in vaadin-server with resolution:=optional

Serving vaadinPush.js from vaadin-push will be handled by Florian's OSGi addon

Change-Id: Ida3e1ae95eb17b0114e099d1425db73106aaeead
Always add tooltip event handlers for Window (#11448)

This is needed to ensure tooltips are closed when moving the mouse
outside the component but still inside the window. In 7.1, this should
instead be implemented by overriding hasTooltip() to return true.

Merge: manual
Change-Id: I48d47474a4e4f0303fd85552612f6960fcdce0a7
Use "\0" instead of "|" as a push message delimiter (#11692)

Used with TrackMessageSizeInterceptor and with client-to-server Websocket message splitting (see #11648)

The original issue that the delimiter can not appear in the message (unescaped) is apparently fixed in Atmosphere 1.0.13

Also ensure the max size of a websocket fragment in bytes does not exceed the buffer size (#11842)

Change-Id: I768524bb54a5b8b9479dc7bda821256bd843dc52
Don't autoclose PopupView when changing fragment, fixes #10530

Change-Id: I83607c97db8499c5e3c76e6d4735a93b0754d580
Ticket: 10530
Derive current servlet/portlet from the current service (#11779)

Implement VaadinPortlet.getCurrent() to use VaadinService.getCurrent()
instead of having a separate thread local variable. This is done to
avoid classloading issues when determining which instances to preserve
in CurrentInstance.setThreadLocals. The two current instances have
previously been kept in sync in all cases except during
VaadinPortlet.init where VaadinService has not yet been created.

VaadinPortlet.setCurrent() is removed as no way of preserving its
semantics has been found. This breaks API compatibility, but is probably
better than having a deprecated implementation that can not work as
expected in all situations.

The same changes have also been made to VaadinServlet to maintain the
symmetry.

Change-Id: I0a1ccc07a4aeecec558a9aaae211bd56207313d8
Upgrade to Atmosphere 1.0.13 (#11861)

Change-Id: Ie9281ff5e9805be89942bf3ca8259740f49e15ab
Don't build and publish sources for package without source files

Change-Id: If8c4a5d9ff470703943f6f6f9cd599ecd1d4be49
Do not clear combobox text unnecessarily (#10924, #11887)

Change-Id: Ica66c1d7ca05874ca5a05fb2c9651a6e4758e1d9
Disable Atmosphere version number check (#11890)

Change-Id: I8f04cc0ddc034ce7cb43cc7f6646ddffcba64a4b
Improve error message if vaadinPush.js failed to load (#11673)

Change-Id: I46a2622585ed69a1db4c6abf4aca4387387a0f97
Extracted common code for number conveters to abstract super class (#11900)

Change-Id: I53e413f8e9c8754915d80c30d3dca97eb1881c74
Fixed order of parameters in javadoc (#11158)

Change-Id: I523140051e1034b5fab501517e70209f29b6b869
Modified the logic in setPropertyDatasource which determines if a new converter is needed (#11863)

The previous logic had two flaws
* It allowed converter model type to be a sub type of the model type but not vice versa. Similarly for presentation type.
* If the user has set a converter it should be used and not be replaced unless it is absolutely sure that it cannot in any possible way handle conversion (e.g. converter from integer to double cannot handle string to list conversion). If there is a slight chance that it can handle conversion, let it be and let the user set another converter when needed.

Change-Id: I2e1c0b3aac90be63ddbc780195f8428398e28ada
Fix TestingPushConnection.init signature (#11673)

Change-Id: I7f5736fd456c21878a0eabdbff46a648932d3516
Updated client-compiler to depend on client-compiler-deps 1.0.2 #11879

Change-Id: I1c98c353314197047265d26a0464ab7cc9c79520
Added isInitialStateChange to StateChangeEvent (#10477)

Change-Id: I6b9fb8a664974b68b35050a40ba19bce440b6b3c
Fixed test which had never passed

Change-Id: Ice20a168dd8c0dc14f8e4600f24e2b788cb38bc4
Avoid creating an instance of every view while searching for the correct view (#11722)

Change-Id: Ifab9aa0021bde58280fd75370e5df46fb5efa7a7
Added text file encoding and line delimiter info (#11907)

Change-Id: Iaefdebfb24bedff95239ea8813b29723b3437f5b
Prevent spurious "Could not determine ApplicationConnection" error when using the debug window

Change-Id: I3b5a8ac4f33c7e8828e34c46056b8ecd6c05a436