]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
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

7 years agoDelegate properties to Composite's root if possible
Ilia Motornyi [Thu, 13 Jul 2017 07:38:05 +0000 (10:38 +0300)]
Delegate properties to Composite's root if possible

Fixes #9670

7 years agoAdd missing since for 8.0.7
Teemu Suo-Anttila [Wed, 12 Jul 2017 12:59:03 +0000 (15:59 +0300)]
Add missing since for 8.0.7

7 years agoImplement tree item context click
Ilia Motornyi [Mon, 10 Jul 2017 12:04:22 +0000 (15:04 +0300)]
Implement tree item context click

Fixes #9606
Fixes #9645
Fixes #9647

7 years agoClarification for GridContextClickEvent
Ilia Motornyi [Mon, 10 Jul 2017 11:03:03 +0000 (14:03 +0300)]
Clarification for GridContextClickEvent

7 years agoAdd Bakery link to the documentation.
Ville Ingman [Thu, 6 Jul 2017 08:07:41 +0000 (11:07 +0300)]
Add Bakery link to the documentation.

7 years agoAdd information about known limitations (#9633) 8.1.0.rc1
Henri Sara [Tue, 4 Jul 2017 08:58:12 +0000 (11:58 +0300)]
Add information about known limitations (#9633)

7 years agoAdd information about backwards incompatible changes
Henri Sara [Mon, 3 Jul 2017 12:39:51 +0000 (15:39 +0300)]
Add information about backwards incompatible changes

7 years agoUpdate/add since tags (#9627)
Henri Sara [Mon, 3 Jul 2017 12:19:54 +0000 (15:19 +0300)]
Update/add since tags (#9627)

7 years agoFix TreeData item removal, small improvements (#9621)
Ilia Motornyi [Mon, 3 Jul 2017 11:42:33 +0000 (14:42 +0300)]
Fix TreeData item removal, small improvements (#9621)

Fixes #9614

7 years agoAdd criteria API to make it easier to set acceptance criteria for drag and drop ...
Adam Wagner [Mon, 3 Jul 2017 11:36:17 +0000 (13:36 +0200)]
Add criteria API to make it easier to set acceptance criteria for drag and drop (#9605)

Fixes #9600

7 years agoMap column components by id (#9624)
Teemu Suo-Anttila [Mon, 3 Jul 2017 11:00:38 +0000 (14:00 +0300)]
Map column components by id (#9624)

Fixes #9452

7 years agoUpdate release notes for release candidate (#9625)
Henri Sara [Mon, 3 Jul 2017 11:00:20 +0000 (14:00 +0300)]
Update release notes for release candidate (#9625)

7 years agoAdd editor open event to Grid Editor (#9623)
Teemu Suo-Anttila [Mon, 3 Jul 2017 09:45:53 +0000 (12:45 +0300)]
Add editor open event to Grid Editor (#9623)

Fixes #9596

7 years agoAdd internal state validators for HasValue (#9532)
Teemu Suo-Anttila [Mon, 3 Jul 2017 07:51:47 +0000 (10:51 +0300)]
Add internal state validators for HasValue (#9532)

This also fixes/improves AbstractDateField validation.

7 years agoUse ZoneId rather than ZoneOffset for conversion (#9620)
Ezra Epstein [Mon, 3 Jul 2017 07:45:19 +0000 (00:45 -0700)]
Use ZoneId rather than ZoneOffset for conversion (#9620)

Use ZoneId rather than ZoneOffset for conversion between model (Date) and presentation of LocalDateTime.

LocalDateToDateConverter (correctly) uses ZoneId, whereas LocalDateTimeToDateConverter (incorrectly) used a ZoneOffset. This fix aligns the two Converter implementations and makes the latter one more robust.

A ZoneOffset is a fixed time difference, e.g., +07:00, whereas a time zone - represented by a ZoneId - is more dynamic, including features like Daylight-Savings Time. A ZoneId returns one or more ZoneOffsets via its ZoneRules method. (ZoneOffsets have trivial ZoneRules that simply return the ZoneOffset.)

Since the date/time being displayed may be from any date on the calendar, the ZoneOffset imposes a negative limitation. Using ZoneId instead gets us past that limitation and allows a more robust set of conversion rules.

Fixes #9594

7 years agoUpdate release notes and screenshots for link style
Henri Sara [Fri, 30 Jun 2017 11:49:24 +0000 (14:49 +0300)]
Update release notes and screenshots for link style

7 years agoFix bookkeeping assertion error
Ilia Motornyi [Fri, 30 Jun 2017 07:59:13 +0000 (10:59 +0300)]
Fix bookkeeping assertion error

Fixes #9584

7 years agoUpdate README.md (#9612)
Enver Haase [Fri, 30 Jun 2017 05:53:45 +0000 (07:53 +0200)]
Update README.md (#9612)

it's Vaadin Framework EIGHT nowadays

7 years agoRemove global button styling (#9607)
Henri Sara [Thu, 29 Jun 2017 07:57:38 +0000 (10:57 +0300)]
Remove global button styling (#9607)

Move remaining button and link related styles from _global to _nativebutton and _link.

7 years agoAdd multiple styles handling to Component
appreciated [Thu, 29 Jun 2017 07:37:06 +0000 (09:37 +0200)]
Add multiple styles handling to Component

Fixes #9357

7 years agoAdd an optional HasValue to a ValueContext
Ilia Motornyi [Thu, 29 Jun 2017 07:30:57 +0000 (10:30 +0300)]
Add an optional HasValue to a ValueContext

7 years agoUse HasUserOriginated interface where appropriate (#9608)
Henri Sara [Thu, 29 Jun 2017 07:18:33 +0000 (10:18 +0300)]
Use HasUserOriginated interface where appropriate (#9608)

7 years agoFix invalid index in drop target Grid (#9604)
Pekka Hyvönen [Thu, 29 Jun 2017 07:01:05 +0000 (10:01 +0300)]
Fix invalid index in drop target Grid (#9604)

Was using length - 1 and 0 for getting the row element,
which caused client side exception when dragging over header or footer when the grid had enough rows.
This had no effect on UX, only exceptions thrown. Now using visible range instead.

7 years agoAdd isUserOriginated to SelectedTabChangeEvent (#9580)
Artur [Thu, 29 Jun 2017 06:06:24 +0000 (09:06 +0300)]
Add isUserOriginated to SelectedTabChangeEvent (#9580)

Fixes #9545