]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoUpdate and rename vaadin-icons.scss to _vaadin-icons.scss (#9895)
Knoobie [Wed, 30 Aug 2017 09:13:44 +0000 (11:13 +0200)]
Update and rename vaadin-icons.scss to _vaadin-icons.scss (#9895)

Rename the vaadin-icons.scss to allow other libsass to compile the project successful.

7 years agoOmit duplicate caption for a Panel in a Composite
Henri Sara [Tue, 29 Aug 2017 11:56:36 +0000 (14:56 +0300)]
Omit duplicate caption for a Panel in a Composite

Correctly render components that handle their own captions inside
a Composite.

Fixes #9848

7 years agoFix missing since tag in compatibility package Grid 8.1.3
Aleksi Hietanen [Tue, 29 Aug 2017 14:05:38 +0000 (17:05 +0300)]
Fix missing since tag in compatibility package Grid

7 years agoRemove drag over style on file drop (#9888)
Henri Sara [Tue, 29 Aug 2017 12:02:11 +0000 (15:02 +0300)]
Remove drag over style on file drop (#9888)

Fixes #9870

7 years agoAdd missing Tree#getContentMode (#9889)
Aleksi Hietanen [Tue, 29 Aug 2017 12:19:33 +0000 (15:19 +0300)]
Add missing Tree#getContentMode (#9889)

7 years agoFix since tags for 8.1.3 release (#9887)
Aleksi Hietanen [Tue, 29 Aug 2017 11:25:52 +0000 (14:25 +0300)]
Fix since tags for 8.1.3 release (#9887)

7 years agoBinder javadoc fix (#9886)
Aleksi Hietanen [Tue, 29 Aug 2017 10:39:08 +0000 (13:39 +0300)]
Binder javadoc fix (#9886)

7 years agoMinor javadoc improvements (#9885)
Aleksi Hietanen [Tue, 29 Aug 2017 09:01:47 +0000 (12:01 +0300)]
Minor javadoc improvements (#9885)

7 years agoAdd declarative support to Tree (#9881)
Aleksi Hietanen [Tue, 29 Aug 2017 08:15:33 +0000 (11:15 +0300)]
Add declarative support to Tree (#9881)

Closes #9838

7 years agoEnable Declarative Services in OSGi portlet UI (#9879)
Mirjan Merruko [Tue, 29 Aug 2017 09:16:14 +0000 (12:16 +0300)]
Enable Declarative Services in OSGi portlet UI (#9879)

If the UI scope is not prototype, show a warning that declarative services are not available in the UI.

Fixes #9589

7 years agoExclude PhantomJS from flaky GridComponentsTest
Henri Sara [Fri, 18 Aug 2017 11:27:16 +0000 (14:27 +0300)]
Exclude PhantomJS from flaky GridComponentsTest

The test testReuseTextFieldOnScroll() often crashes PhantomJS 1.

7 years agoFix focus when Grid editor is saved or cancelled (#9835)
Teemu Suo-Anttila [Fri, 18 Aug 2017 12:39:44 +0000 (15:39 +0300)]
Fix focus when Grid editor is saved or cancelled (#9835)

Fixes #9832

7 years agoResize should work within Grid details row (#9808)
Ansku [Tue, 22 Aug 2017 11:59:49 +0000 (14:59 +0300)]
Resize should work within Grid details row (#9808)

Fixes #7341

7 years agoFix null check in BackEndDataProvider (#9858)
Henri Sara [Wed, 23 Aug 2017 06:27:41 +0000 (09:27 +0300)]
Fix null check in BackEndDataProvider (#9858)

Fixes #9855

7 years agoFix IE tooltip test in TreeBasicFeaturesTest (#9860)
Henri Sara [Wed, 23 Aug 2017 06:40:54 +0000 (09:40 +0300)]
Fix IE tooltip test in TreeBasicFeaturesTest (#9860)

7 years agoAvoid detaching CssLayout children unnecessarily (#9861)
Henri Sara [Wed, 23 Aug 2017 10:11:24 +0000 (13:11 +0300)]
Avoid detaching CssLayout children unnecessarily (#9861)

When child components are removed from a CssLayout, do not remove other
children from the DOM if no other hierarchy changes are made.

Fixes #7712

7 years agoAvoid detaching VL/HL children unnecessarily (#9862)
Henri Sara [Wed, 23 Aug 2017 11:06:00 +0000 (14:06 +0300)]
Avoid detaching VL/HL children unnecessarily (#9862)

When child components are removed from a
VerticalLayout/HorizontalLayout, do not remove other children from the
DOM if no other hierarchy changes are made.

Fixes #7713

7 years agoImprove stability of JavaScriptRenderersTest (#9864)
Henri Sara [Thu, 24 Aug 2017 05:36:17 +0000 (08:36 +0300)]
Improve stability of JavaScriptRenderersTest (#9864)

7 years agoMove ComboBox popup with ComboBox on scroll (#9869)
Henri Sara [Fri, 25 Aug 2017 10:49:00 +0000 (13:49 +0300)]
Move ComboBox popup with ComboBox on scroll (#9869)

Keep the ComboBox popup at the same position relative to the ComboBox
when the view is scrolled.

Fixes #5043

7 years agoCreate setter name in a Turkish compatible manner (#9878)
Artur [Mon, 28 Aug 2017 13:01:57 +0000 (16:01 +0300)]
Create setter name in a Turkish compatible manner (#9878)

7 years agoFix capitalization of single character strings (#9880)
Artur [Mon, 28 Aug 2017 13:13:46 +0000 (16:13 +0300)]
Fix capitalization of single character strings (#9880)

7 years agoFix state update on Grid Column hide in client (#9836)
Teemu Suo-Anttila [Fri, 18 Aug 2017 09:03:36 +0000 (12:03 +0300)]
Fix state update on Grid Column hide in client (#9836)

Fixes #9152

7 years agoUse getter instead of field for keyMapper (#9831)
Leif Åstrand [Thu, 17 Aug 2017 11:44:16 +0000 (14:44 +0300)]
Use getter instead of field for keyMapper (#9831)

7 years agoAdd docker feature to demo build script (#9828)
Henri Sara [Wed, 16 Aug 2017 12:42:03 +0000 (15:42 +0300)]
Add docker feature to demo build script (#9828)

This patch allows the demo build script to wrap the resulting war files into docker image. The image contains a jetty with the provided war files deployed on start.

Picked to 8.1 from #9826

7 years agoRevert Grid row height per section feature (#9823) 8.1.2
Teemu Suo-Anttila [Wed, 16 Aug 2017 09:53:57 +0000 (12:53 +0300)]
Revert Grid row height per section feature (#9823)

Revert changes for #9425 (PRs #9810 and #9813) in the 8.1 branch.

This reverts commit bda7e54cb6eadddf07fb19d88479c642c4831a66.
This reverts commit 1f878089dec6c03090efbcc79b08edbfbffb7620.

7 years agoDo not wait for icons to load before interacting with a combo box (#9717)
Artur [Fri, 11 Aug 2017 13:07:51 +0000 (16:07 +0300)]
Do not wait for icons to load before interacting with a combo box (#9717)

Icon load detection code does not handle error events so broken images
will cause tests to fail forever. In other cases also, it seems very
rare to need icons to be loaded before interacting with a combo box. If
there really are use cases for this, it would be better to have a method
to query if all icons are loaded so that special tests can use this method.

Fixes https://github.com/vaadin/testbench/issues/916

7 years agoUpdate components-grid.asciidoc (#9813)
Henri Sara [Fri, 11 Aug 2017 13:04:59 +0000 (16:04 +0300)]
Update components-grid.asciidoc (#9813)

Updates related to #9810

7 years agoProvide API for setting row heights in Grid for different sections (#9810)
Teemu Suo-Anttila [Fri, 11 Aug 2017 12:27:27 +0000 (15:27 +0300)]
Provide API for setting row heights in Grid for different sections (#9810)

Fixes #9425

7 years agoMake CurrentTimeMillisTest more stable (#9812)
Henri Sara [Fri, 11 Aug 2017 08:09:58 +0000 (11:09 +0300)]
Make CurrentTimeMillisTest more stable (#9812)

Sometimes Chrome reports 1ms for very short times to thwart
timing attacks, and sometimes Firefox seems to report 0ms. Make
the test accept these special cases.

Add support for PhantomJS 2 which does support high res time.

7 years agoEnsure wrong Action is not executed after detaching a component (#9806)
Henri Sara [Fri, 11 Aug 2017 07:29:07 +0000 (10:29 +0300)]
Ensure wrong Action is not executed after detaching a component (#9806)

Due to action key generation on ActionManager a wrong action
may be executed if the component that fired the wanted action
is already detached.

This patch makes action keys globally unique, simplifying the
approach of #8495 but reusing its tests.

Fixes #5864

7 years agoEnable setting non-selected default value for DateField (#9745)
Olli Tietäväinen [Thu, 10 Aug 2017 12:57:27 +0000 (15:57 +0300)]
Enable setting non-selected default value for DateField (#9745)

Requested feature: allow setting DateField to a certain starting point without selecting a value.

7 years agoRemove margin-left for FontAwesome icons in ComboBox (#9805)
Teemu Suo-Anttila [Thu, 10 Aug 2017 11:39:17 +0000 (14:39 +0300)]
Remove margin-left for FontAwesome icons in ComboBox (#9805)

7 years agoClarify theme compilation instructions (#9685)
Olli Tietäväinen [Thu, 10 Aug 2017 08:09:22 +0000 (11:09 +0300)]
Clarify theme compilation instructions (#9685)

Paragraph about existing `styles.css` file needed a bit of rephrasing.

7 years agoRemove Chrome Frame support from X-UA-Compatible (#9270)
Knoobie [Thu, 10 Aug 2017 05:54:36 +0000 (07:54 +0200)]
Remove Chrome Frame support from X-UA-Compatible (#9270)

Remove Chrome Frame specific part of X-UA-Compatible but keep the
meta tag to override compatibility mode settings where applicable.

7 years agoUpdate VerifyBrowserVersionTest for Chrome 60 (#9802)
Henri Sara [Wed, 9 Aug 2017 12:07:50 +0000 (15:07 +0300)]
Update VerifyBrowserVersionTest for Chrome 60 (#9802)

7 years agoFix occasional empty rows in Table and TreeTable (#9800)
Henri Sara [Wed, 9 Aug 2017 11:28:17 +0000 (14:28 +0300)]
Fix occasional empty rows in Table and TreeTable (#9800)

Picked from #9551 in 7.7

There's an intermittently happening issue with both Table and TreeTable,
which results in row data disappearing.
This change removes a method which is probably a vestigial one from over
five years ago and other changes are handling the things the method used
to perform. Currently the method removes rows deemed unnecessary from
the row buffer. The problem is, those rows are visible to the user and
removing causes row contents to be lost.
Also included are manually runnable test cases which demonstrate that
this removal actually prevents the issue from happening.

Fixes #7964
Fixes #5030

7 years agoRe(set) calendar time after calculating rollAmount (#9479)
Grim [Wed, 9 Aug 2017 08:43:07 +0000 (08:43 +0000)]
Re(set) calendar time after calculating rollAmount (#9479)

by calling calendar.setTime(today);
after rollAmount has been initialized and given a value, we can reset the calendar's internal time back to the correct date. As it is currently implemented; calling calendar.getTime() will result in a wrong date, it returns the first of the month with the correct time.
The function addInitialEvents() is called AFTER the calendar's time has been subtracted from (by calculating the rollAmount), as such this results in an incorrect internal time and the 'Day' button does not switch to the correct day. Instead it shows the first of the month here too.

7 years agoImplement SimpleManagedLayout for CompositeConnector (#9791)
Teemu Suo-Anttila [Wed, 9 Aug 2017 08:27:14 +0000 (11:27 +0300)]
Implement SimpleManagedLayout for CompositeConnector (#9791)

Fixes #9788

7 years agoAdd loop and preload attributes for media elements, fix null poster (#9797)
Henri Sara [Wed, 9 Aug 2017 07:24:04 +0000 (10:24 +0300)]
Add loop and preload attributes for media elements, fix null poster (#9797)

Picked from #9161

Fixes #7261
Fixes #5178
Fixes #4409

7 years agoFix touching Grid column header on Android (#9196)
Martin Vysny [Tue, 8 Aug 2017 12:39:15 +0000 (15:39 +0300)]
Fix touching Grid column header on Android (#9196)

The fix allows both column-reorder handler and column-sort handlers to run
in parallel; on touchend it is decided whether we will perform sort or
reodering. This will enable user to sort on touch screens even with column
reordering enabled.

Fixes #8632

7 years agoUpdate screenshots for Chrome 60 (#9794)
Henri Sara [Tue, 8 Aug 2017 11:48:59 +0000 (14:48 +0300)]
Update screenshots for Chrome 60 (#9794)

7 years agoUpdate getting-started-scala.asciidoc (#9418)
Fabio Serragnoli [Mon, 7 Aug 2017 13:06:41 +0000 (14:06 +0100)]
Update getting-started-scala.asciidoc (#9418)

As per suggestion of Fredrik Rönnlund following https://dzone.com/articles/working-vaadin-with-scala

7 years agoUpdate Atmosphere version to remove warnings which are irrelevant (#9770)
Artur [Mon, 7 Aug 2017 08:29:33 +0000 (11:29 +0300)]
Update Atmosphere version to remove warnings which are irrelevant (#9770)

Fixes #8292

7 years agoFix moving child to first position in tree data (#9761)
Adam Wagner [Mon, 7 Aug 2017 08:26:49 +0000 (11:26 +0300)]
Fix moving child to first position in tree data (#9761)

Resolves #9760

7 years agoFix SplitPanel test for Chrome with a hack (#9782)
Henri Sara [Mon, 7 Aug 2017 07:19:10 +0000 (10:19 +0300)]
Fix SplitPanel test for Chrome with a hack (#9782)

Chrome 55 and later cause extra scrollbars on the testing cluster but
not in local tests, probably due to a rounding error in the browser.

7 years agoFix publish and post-publish report scripts (#9778)
Henri Sara [Mon, 7 Aug 2017 07:11:26 +0000 (10:11 +0300)]
Fix publish and post-publish report scripts (#9778)

Add support for stable 8.1.x releases.

7 years agoMake frontend resource loading tests stable on PhantomJS (#9772)
Henri Sara [Mon, 7 Aug 2017 07:11:02 +0000 (10:11 +0300)]
Make frontend resource loading tests stable on PhantomJS (#9772)

7 years agoMake input prompt test stable by excluding IE11 (#9780)
Henri Sara [Mon, 7 Aug 2017 07:10:00 +0000 (10:10 +0300)]
Make input prompt test stable by excluding IE11 (#9780)

IE10-11 have a related bug
https://connect.microsoft.com/IE/feedback/details/811408
that is only fixed in Edge.

7 years agoFix typos in Javadoc of AbstractTB3Test (#9781)
Henri Sara [Mon, 7 Aug 2017 07:09:29 +0000 (10:09 +0300)]
Fix typos in Javadoc of AbstractTB3Test (#9781)

7 years agoFix caption width rounding in Chrome (#9785)
Henri Sara [Mon, 7 Aug 2017 07:08:57 +0000 (10:08 +0300)]
Fix caption width rounding in Chrome (#9785)

Otherwise, TabSheet close button may break the small theme
in ReindeerThemeTest when the caption width is rounded down.

7 years agoExclude Firefox from JavaScriptPreloadingTest (#9784)
Henri Sara [Mon, 7 Aug 2017 07:05:44 +0000 (10:05 +0300)]
Exclude Firefox from JavaScriptPreloadingTest (#9784)

The test works on Firefox under low load, but not when
the browser VM is slow due to load, in which case Firefox
sometimes executes scripts out of order. This seems to be
due to a Firefox bug - the generated HTML looks correct.

7 years agoAdd missing since tags for 8.1.1 (#9773) 8.1.1
Henri Sara [Thu, 3 Aug 2017 08:40:26 +0000 (11:40 +0300)]
Add missing since tags for 8.1.1 (#9773)

7 years agoUpdate release notes incompatible changes heading (#9771)
Henri Sara [Thu, 3 Aug 2017 08:13:52 +0000 (11:13 +0300)]
Update release notes incompatible changes heading (#9771)

7 years agoAdd automatic recalculation of Tree width on expand/collapse (#9767)
Teemu Suo-Anttila [Wed, 2 Aug 2017 12:32:31 +0000 (15:32 +0300)]
Add automatic recalculation of Tree width on expand/collapse (#9767)

Fixes #9628

7 years agoStabilize integration test using Grid (#9766)
Henri Sara [Wed, 2 Aug 2017 11:00:18 +0000 (14:00 +0300)]
Stabilize integration test using Grid (#9766)

7 years agoFix AbstractDateField parsing and errors handling, support locale (#9740)
Ilia Motornyi [Wed, 2 Aug 2017 10:30:55 +0000 (13:30 +0300)]
Fix AbstractDateField parsing and errors handling, support locale (#9740)

Fixes #9518
Fixes #8991
Fixes #8687

7 years agoFix RadioButtonGroup selection updates to client (#9749)
Teemu Suo-Anttila [Wed, 2 Aug 2017 06:12:21 +0000 (09:12 +0300)]
Fix RadioButtonGroup selection updates to client (#9749)

This patch provides a simple fix for the majority of issues. There are still issues that should be fixes by refactoring parts of the logic in AbstractSingleSelect.

This patch does not unify the handling of empty values in the TestBench elements of various AbstractSingleSelects.

Fixes #9494

7 years agoRemove old Karaf 4 test (#9758)
Henri Sara [Tue, 1 Aug 2017 12:47:54 +0000 (15:47 +0300)]
Remove old Karaf 4 test (#9758)

Karaf is now tested by a separate module.

7 years agoAdd header and footer visibility setting to Grid (#9706)
Teemu Suo-Anttila [Tue, 1 Aug 2017 08:41:39 +0000 (11:41 +0300)]
Add header and footer visibility setting to Grid (#9706)

7 years agoUpdate release notes for maintenance versions (#9755)
Henri Sara [Tue, 1 Aug 2017 08:08:54 +0000 (11:08 +0300)]
Update release notes for maintenance versions (#9755)

7 years agoAdd API for forcing Grid column width calculation (#9756)
Teemu Suo-Anttila [Tue, 1 Aug 2017 08:01:11 +0000 (11:01 +0300)]
Add API for forcing Grid column width calculation (#9756)

This feature was present in Vaadin 7 but missing from Vaadin 8

7 years agoUnify basic instance creation and related error reporting (#9704)
Leif Åstrand [Tue, 1 Aug 2017 08:00:21 +0000 (11:00 +0300)]
Unify basic instance creation and related error reporting (#9704)

7 years agoAutomatic test for OSGi/karaf
Ilia Motornyi [Mon, 31 Jul 2017 11:25:55 +0000 (14:25 +0300)]
Automatic test for OSGi/karaf

7 years agoOSGi deployment manual
Ilia Motornyi [Mon, 31 Jul 2017 11:24:05 +0000 (14:24 +0300)]
OSGi deployment manual

7 years agoUpdate since tags for testbench elements (#9748)
Henri Sara [Thu, 27 Jul 2017 11:49:11 +0000 (14:49 +0300)]
Update since tags for testbench elements (#9748)

7 years agoAdd method to get parent in TreeData (#9701)
Adam Wagner [Thu, 27 Jul 2017 11:09:28 +0000 (14:09 +0300)]
Add method to get parent in TreeData (#9701)

7 years agoImplement GWT Focusable so tab indexes work correctly in MenuBar (#9733)
Artur [Thu, 27 Jul 2017 10:41:17 +0000 (13:41 +0300)]
Implement GWT Focusable so tab indexes work correctly in MenuBar (#9733)

Fixes #9550

7 years agoAdd support for detecting ChromeOS operating system (#9698)
Flamenco [Thu, 27 Jul 2017 10:24:43 +0000 (06:24 -0400)]
Add support for detecting ChromeOS operating system (#9698)

7 years agoRemove portlet dependency/import (#9741)
Artur [Thu, 27 Jul 2017 06:29:14 +0000 (09:29 +0300)]
Remove portlet dependency/import (#9741)

7 years agoUse correct primary stylename for textfield inline icons (#9742)
Artur [Thu, 27 Jul 2017 06:27:39 +0000 (09:27 +0300)]
Use correct primary stylename for textfield inline icons (#9742)

Fixes #9703

7 years agoDocumented minimal set of OSGi bundles (#9489)
Ilia Motornyi [Wed, 26 Jul 2017 10:22:01 +0000 (13:22 +0300)]
Documented minimal set of OSGi bundles (#9489)

7 years agoSend cursor position to server on blur even if the value has not changed (#9728)
Artur [Wed, 26 Jul 2017 10:19:35 +0000 (13:19 +0300)]
Send cursor position to server on blur even if the value has not changed (#9728)

Fixes #9653

7 years agoMake JavaScriptExtension serializable (#9721)
Artur [Wed, 26 Jul 2017 10:17:44 +0000 (13:17 +0300)]
Make JavaScriptExtension serializable (#9721)

Fixes #9705

7 years agoRemove warnings about pre-release content in documentation (#9737)
Henri Sara [Wed, 26 Jul 2017 10:17:03 +0000 (13:17 +0300)]
Remove warnings about pre-release content in documentation (#9737)

Resolves #9191

7 years agoChange ConfigurableDataProvider for ConfigurableFilterDataProvider (#9681)
Josefina Revilla [Wed, 26 Jul 2017 06:14:36 +0000 (03:14 -0300)]
Change ConfigurableDataProvider for ConfigurableFilterDataProvider (#9681)

It says ConfigurableDataProvider, but there isn't a ConfigurableDataProvider class.

7 years agoUpdate release notes for 8.1 final (#9722) 8.1.0
Henri Sara [Mon, 24 Jul 2017 12:32:02 +0000 (15:32 +0300)]
Update release notes for 8.1 final (#9722)

Remove pre-release mention and update current browser versions.

7 years agoFix button text and waitUntil rule (#9720)
Teemu Suo-Anttila [Mon, 24 Jul 2017 11:38:49 +0000 (14:38 +0300)]
Fix button text and waitUntil rule (#9720)

7 years agoDo full connector tracker cleanup when the session lock is released (#9707)
Artur [Mon, 24 Jul 2017 05:43:52 +0000 (08:43 +0300)]
Do full connector tracker cleanup when the session lock is released (#9707)

As there is no "request end" call after invoking UI.access() from a background thread,
the connector map was not earlier properly cleaned afterwards. If you toggled visibility of a
component from the background thread, the tracker state became inconsistent.

If this becomes a performance problem, it could probably be optimized to that cleanup
is done in request end and only at the end of access if not inside a request.

Fixes #9654

7 years agoAdd source JAR to themes and compatibility-themes (#9709)
Henri Sara [Mon, 24 Jul 2017 04:39:57 +0000 (07:39 +0300)]
Add source JAR to themes and compatibility-themes (#9709)

7 years agoFix typo in release notes (#9710)
Henri Sara [Mon, 24 Jul 2017 04:39:33 +0000 (07:39 +0300)]
Fix typo in release notes (#9710)

7 years agoAdd missing since tag to Tree (#9711)
Henri Sara [Mon, 24 Jul 2017 04:39:18 +0000 (07:39 +0300)]
Add missing since tag to Tree (#9711)

7 years agoAdd test for Components in Grid Header (#9696)
Teemu Suo-Anttila [Thu, 20 Jul 2017 11:38:09 +0000 (14:38 +0300)]
Add test for Components in Grid Header (#9696)

Closes #9694

7 years agoAdd missing since tag (#9695)
Henri Sara [Wed, 19 Jul 2017 07:42:28 +0000 (10:42 +0300)]
Add missing since tag (#9695)

7 years agoAllow null Components in ComponentRenderer (#9692) 8.1.0.rc2
Teemu Suo-Anttila [Wed, 19 Jul 2017 06:34:05 +0000 (09:34 +0300)]
Allow null Components in ComponentRenderer (#9692)

7 years agoMore user friendly fail message (was NullPointerException) (#9665)
Dos Moonen [Wed, 19 Jul 2017 06:24:07 +0000 (08:24 +0200)]
More user friendly fail message (was NullPointerException) (#9665)

Yes, I should never have created "D:\eclipse workspaces" in the first
place.
No, I am not replacing "%20" with spaces, or creating an URI instance.
"D:\eclipse%20workspaces" is a valid folder and I'm not willing to go
down the rabbit hole and see what that turns into.

7 years agoAdd styling for ComponentRenderer wrapper div (#9691)
Teemu Suo-Anttila [Wed, 19 Jul 2017 06:18:58 +0000 (09:18 +0300)]
Add styling for ComponentRenderer wrapper div (#9691)

Fixes #9170

7 years agoTidy up the Vaadin OSGi whiteboard component (#9648)
Tim Ward [Wed, 19 Jul 2017 06:17:46 +0000 (07:17 +0100)]
Tidy up the Vaadin OSGi whiteboard component (#9648)

The Vaadin OSGi integration component uses Declarative Services, but it does some odd things:
 * It uses the whiteboard service's own bundle context to get hold of the service instance
 * It has an asymmetric get/release for the whiteboard service, which could leak instances over time
 * It releases service instances that it is still actively using

This change tidies up the service lifecycle by delegating the get/release to the Service Component Runtime managing the container (specifically by injecting the service instance). Using this injection also ensures that the Vaadin whiteboard service is obtained using this component's bundle context.

This change also simplifies the code a little by using the reference as the key to track the registrations. Different references for the same service are required to be equal so there is no issue with doing this.

This change does not alter the fact that the whiteboard service's bundle context is used to register the Http Whiteboard servlet, as this may be the intended behaviour. As a result the component should be prepared for an IllegalStateException when unregistering the service whiteboard service, which may already have been unregistered by the OSGi framework if the target bundle is stopping.

7 years agoFix TreeGrid.getHierarchyColumn to use correct id (#9690)
Teemu Suo-Anttila [Tue, 18 Jul 2017 11:31:10 +0000 (14:31 +0300)]
Fix TreeGrid.getHierarchyColumn to use correct id (#9690)

Fixes #9661

7 years agoAdd methods to change parent and to change child's position in hierarchical data...
Adam Wagner [Tue, 18 Jul 2017 11:30:33 +0000 (13:30 +0200)]
Add methods to change parent and to change child's position in hierarchical data (#9673)

Resolves #9674

7 years agoRemove mention of height limitation in Tree (#9689)
Teemu Suo-Anttila [Tue, 18 Jul 2017 11:01:29 +0000 (14:01 +0300)]
Remove mention of height limitation in Tree (#9689)

Related to #9631

7 years agoRemove non working setHeight methods from Tree (#9631)
Jonni Nakari [Tue, 18 Jul 2017 11:00:47 +0000 (13:00 +0200)]
Remove non working setHeight methods from Tree (#9631)

Fixes #9629

7 years agoProvide current request/response through VaadinRequest/VaadinResponse (#9642)
Artur [Tue, 18 Jul 2017 10:59:19 +0000 (13:59 +0300)]
Provide current request/response through VaadinRequest/VaadinResponse (#9642)

This greatly improves discoverability of the feature and was made possible
by dropping Java 7 support

7 years agoFix Grid header merging on init (#9688)
Teemu Suo-Anttila [Tue, 18 Jul 2017 10:11:28 +0000 (13:11 +0300)]
Fix Grid header merging on init (#9688)

Fixes #9686

7 years agoFix position of font icons in ComboBox (#9638)
Henri Sara [Tue, 18 Jul 2017 10:04:48 +0000 (13:04 +0300)]
Fix position of font icons in ComboBox (#9638)

Fixes #9637

7 years agoRemove obsolete workaround for Firefox (#9687)
Teemu Suo-Anttila [Tue, 18 Jul 2017 10:04:05 +0000 (13:04 +0300)]
Remove obsolete workaround for Firefox (#9687)

7 years agoFixed minor typos and spelling issues in CONTRIBUTING.md guide (#9683)
Yuriy Artamonov [Mon, 17 Jul 2017 11:13:58 +0000 (15:13 +0400)]
Fixed minor typos and spelling issues in CONTRIBUTING.md guide (#9683)

7 years agoFeature/tutorial finetuning (#9672)
Matti Tahvonen [Mon, 17 Jul 2017 11:10:20 +0000 (14:10 +0300)]
Feature/tutorial finetuning (#9672)

* Trying to lower the barrier to start following the tutorial
* Guiding new Vaadin users to start with the tutorial

7 years agoFix combobox adding new items on blur (#9660)
Teemu Suo-Anttila [Mon, 17 Jul 2017 11:08:30 +0000 (14:08 +0300)]
Fix combobox adding new items on blur (#9660)

Fixes #9071

7 years agoChange sendMessage access modifier to protected. (#9622)
Andrew Spear [Mon, 17 Jul 2017 11:03:07 +0000 (06:03 -0500)]
Change sendMessage access modifier to protected. (#9622)

This allows extending AtmospherePushConnection, and then doing overriding sendMessage. One use case is to correlate the IP address and the message in the logs.

7 years agoFix hierarchical dataprovider example code bug
tmattsso [Thu, 13 Jul 2017 08:18:09 +0000 (11:18 +0300)]
Fix hierarchical dataprovider example code bug