]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
6 years agoRemove deprecated usage of ApplicationConnection.hasEventListeners() (#10248)
Ahmed Ashour [Tue, 7 Nov 2017 11:47:09 +0000 (12:47 +0100)]
Remove deprecated usage of ApplicationConnection.hasEventListeners() (#10248)

From VDateField and VWindow

6 years agoSkip scheduled flush if clear() is called (#10289)
Leif Åstrand [Tue, 7 Nov 2017 11:21:06 +0000 (13:21 +0200)]
Skip scheduled flush if clear() is called (#10289)

Based on vaadin/flow#2834

6 years agoMake focus circulate in modal dialog to improve accessibility (#10260)
Péter Török [Tue, 7 Nov 2017 09:39:11 +0000 (11:39 +0200)]
Make focus circulate in modal dialog to improve accessibility (#10260)

Make focus circulate in modal dialog to improve accessibility

6 years agoHasItems.setItems(T... items) should allow edits (#10290)
Pekka Hyvönen [Mon, 6 Nov 2017 18:20:58 +0000 (20:20 +0200)]
HasItems.setItems(T... items) should allow edits (#10290)

* HasItems.setItems(T... items) should allow edits

Arrays.asList() creates a immutable Arrays.ArrayList, preventing users from doing dataProvider.getItems() and updating the returned collection. This makes it impossible to keep the same data provider, update it and keep the filters & sorting, and then just call dataProvider.refreshAll() to get changes visible. We should not require users to create a new data provider in this case.
This is the same for DataProvider.ofItems(T... items)

* fix missing whitespace from test error message

6 years agoRelax TreeGrid and Tree members access modifiers. (#10293)
Ilia Motornyi [Mon, 6 Nov 2017 14:46:59 +0000 (16:46 +0200)]
Relax TreeGrid and Tree members access modifiers. (#10293)

* Relax TreeGrid and Tree members access modifiers.

Fixes #10292

* Fixes after review

6 years agoUse Logger instead of VConsole (#10249)
Ahmed Ashour [Mon, 6 Nov 2017 14:17:04 +0000 (15:17 +0100)]
Use Logger instead of VConsole (#10249)

Because VConsole is deprecated and it recommends using Logger instead

6 years agoFix javadoc ending (#10274)
Ahmed Ashour [Mon, 6 Nov 2017 13:27:22 +0000 (14:27 +0100)]
Fix javadoc ending (#10274)

6 years agoFix link format (#10269)
Henri Muurimaa [Mon, 6 Nov 2017 13:23:47 +0000 (15:23 +0200)]
Fix link format (#10269)

6 years agoFix typo (#10295)
Mikko Inkinen [Mon, 6 Nov 2017 13:15:55 +0000 (15:15 +0200)]
Fix typo (#10295)

6 years agoUse lambda expressions. (#10268)
Ahmed Ashour [Wed, 1 Nov 2017 09:36:47 +0000 (10:36 +0100)]
Use lambda expressions. (#10268)

6 years agoUse local variable for getWidget(). (#10253)
Ahmed Ashour [Tue, 31 Oct 2017 17:51:22 +0000 (18:51 +0100)]
Use local variable for getWidget(). (#10253)

In some places, getWidget() is called many times, and I believe this can
have a litte performance improvement, since in some cases
super.getWidget() is called more than once.

6 years agoFix end of line comments, which were made by automatic formatter (#10234)
Ahmed Ashour [Tue, 31 Oct 2017 16:41:14 +0000 (17:41 +0100)]
Fix end of line comments, which were made by automatic formatter (#10234)

6 years agoRemove redundant interface already implemented by super class. (#10258)
Ahmed Ashour [Tue, 31 Oct 2017 10:23:36 +0000 (11:23 +0100)]
Remove redundant interface already implemented by super class. (#10258)

6 years agoFix combo box suggestion popup height (#10256)
Adam Wagner [Mon, 30 Oct 2017 11:31:27 +0000 (13:31 +0200)]
Fix combo box suggestion popup height (#10256)

Fixes #10214

6 years agoadd Grid.Column#get/setAssistiveCaption (#10219)
Knoobie [Mon, 30 Oct 2017 08:00:21 +0000 (09:00 +0100)]
add Grid.Column#get/setAssistiveCaption (#10219)

* add Grid#Column#get/setAssistiveCaption

* fix test and update doc

* move testGridAssistiveCaption to GridTest

* delete test file

* delete test file

* Delete GridAssistiveCaptionTest.java

* Create GridAssistiveCaptionTest

* Create GridAssistiveCaption

* Rename GridAssistiveCaption to GridAssistiveCaption.java

* Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java

* Reformat using eclipse

6 years agoUse lambda with Handlers (#10229)
Ahmed Ashour [Fri, 27 Oct 2017 15:44:19 +0000 (17:44 +0200)]
Use lambda with Handlers (#10229)

Also improve naming by replacing one-letter variable names.

6 years ago Use lambda with Listeners (#10222)
Ahmed Ashour [Thu, 26 Oct 2017 19:19:41 +0000 (21:19 +0200)]
 Use lambda with Listeners (#10222)

Also use "event" as the name for events

6 years agoImprove naming of fields and variables (#10242)
Ahmed Ashour [Thu, 26 Oct 2017 11:26:20 +0000 (13:26 +0200)]
Improve naming of fields and variables (#10242)

* Variable names to conform to naming convention.

* Use static constants where it makes sense

6 years agoRemove trailing spaces (#10224)
Ahmed Ashour [Thu, 26 Oct 2017 10:07:51 +0000 (12:07 +0200)]
Remove trailing spaces (#10224)

6 years agoAdd contribution guideline (#10083)
Teemu Suo-Anttila [Mon, 23 Oct 2017 12:34:42 +0000 (15:34 +0300)]
Add contribution guideline (#10083)

* Add contribution guideline

* Make suggested improvements to CONTRIBUTING.md

* Add link to good first issues and project setup

* Small update to CONTRIBUTING.md

6 years agoadds simple fix for missing label text in grid select checkboxes (#10223)
Knoobie [Mon, 23 Oct 2017 12:33:55 +0000 (14:33 +0200)]
adds simple fix for missing label text in grid select checkboxes (#10223)

* adds simple fix for missing label text in grid select checkboxes

* updated comment and wording

6 years agoFix bad grammar in declarative documentation (#10236)
Pekka Hyvönen [Mon, 23 Oct 2017 12:31:02 +0000 (13:31 +0100)]
Fix bad grammar in declarative documentation (#10236)

* Fix bad grammar in declarative documentation

* Fix typos

6 years agoUnlock panel caption div hacking (#10120)
Ilia Motornyi [Mon, 23 Oct 2017 11:34:20 +0000 (14:34 +0300)]
Unlock panel caption div hacking (#10120)

* Unlock panel caption div hacking

Fixes #10119

* Javadoc formatting fix

6 years agoGrid column to be sortable when implemented/supported (Fixes #8792). (#10190)
Ahmed Ashour [Mon, 23 Oct 2017 07:05:44 +0000 (09:05 +0200)]
Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)

* Grid column to be sortable when implemented/supported
* Fix GridDeclarativeTest
* Parameterize to Grid<Person>
* Revert Parameterize to Grid<Person>, JDK with generics.
* Assertions for other columns
* Fix test

Fixes #8792

6 years agoGrid.removeColumn() not to fail silently (Fixes #8056) (#10215)
Ahmed Ashour [Fri, 20 Oct 2017 12:17:32 +0000 (14:17 +0200)]
Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)

* Grid.removeColumn() not to fail silently (Fixes #8056)

* Compilation with JDK

* Fix removeColumnByColumn_alreadyRemoved test

* Use ExpectedException

6 years agoTypo in code (#10218)
Oskar Bilén [Fri, 20 Oct 2017 08:55:11 +0000 (10:55 +0200)]
Typo in code (#10218)

Remove "java" from code example

6 years agoAbstractDateField.formatDate() to be abstract (#10186)
Ahmed Ashour [Fri, 20 Oct 2017 08:54:25 +0000 (10:54 +0200)]
AbstractDateField.formatDate() to be abstract (#10186)

* AbstractDateField.formatDate to be abstract

Remove invalidDateString paramter, as it can be deduced

* Fix test

* Remove AbstractDateField.getResolutionVariable

VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions()

* Revert to use fixed value of MONDAY.

* release notes

* updateAndSendBufferedValues()

* Missed call to updateAndSendBufferedValues();

* release note

6 years agoAdded utility method Binder#asRequired() (#9873)
Stephan Knitelius [Fri, 20 Oct 2017 08:53:45 +0000 (10:53 +0200)]
Added utility method Binder#asRequired()  (#9873)

* Added the possiblity of defining a Field as Required without
setting an error message.

* Added @since to asRequired()

* Add droped paragraphs and see tag for asRequired(String)

6 years agoFix typos (#10213)
Ahmed Ashour [Fri, 20 Oct 2017 08:15:43 +0000 (10:15 +0200)]
Fix typos (#10213)

* Fix typos

* Fix

6 years agoCheck class name type on Grid cell mouse over (#10194)
Adam Wagner [Fri, 20 Oct 2017 08:14:33 +0000 (10:14 +0200)]
Check class name type on Grid cell mouse over (#10194)

* Check whether className is of type string

* Move string type checker method to widget util

* Fix formatting of WidgetUtil

* Break svg into lines

6 years agoImprove role usage in grid (#10206)
Knoobie [Fri, 20 Oct 2017 08:11:10 +0000 (10:11 +0200)]
Improve role usage in grid (#10206)

* add role="row" and role="gridcell"

* optimize code and add additional rows for the header

* add simple test

* improve code and add rowgroup

* add debug log

* add more log to test

* remove debug test info and add role before appending to tr

* wording - change contains to contain

* create enum for magic strings, change comments and method signature

* rename enum to be singular and rename param roleName to role

* update javadoc, rename and make enum public

6 years agoUse .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)
Ahmed Ashour [Fri, 20 Oct 2017 08:10:02 +0000 (10:10 +0200)]
Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)

* Use .toLowerCase and .toUpperCase(Locale.ROOT)

* Spaces

* add spaces after if(

6 years agoUse GWT 2.8.2 (#10217)
Teemu Suo-Anttila [Fri, 20 Oct 2017 08:01:43 +0000 (11:01 +0300)]
Use GWT 2.8.2 (#10217)

6 years agoFix HTML tags inside code in javadoc (#10160)
Ahmed Ashour [Fri, 20 Oct 2017 07:12:44 +0000 (09:12 +0200)]
Fix HTML tags inside code in javadoc (#10160)

* Fix HTML tags inside code in javadoc

* only modify <table> and <tr>

* Fix javadoc

6 years agoScheduler.ScheduledCommand and RepeatingCommand to be lambda (#10203)
Ahmed Ashour [Fri, 20 Oct 2017 07:01:39 +0000 (09:01 +0200)]
Scheduler.ScheduledCommand and RepeatingCommand to be lambda (#10203)

* Scheduler.ScheduledCommand and RepeatingCommand to be lambda

* Restore <table> in javadoc

* Fix docs

6 years agoAdd spaces after 'if' and 'for' in JavaScript (#10199)
Ahmed Ashour [Fri, 20 Oct 2017 07:00:01 +0000 (09:00 +0200)]
Add spaces after 'if' and 'for' in JavaScript (#10199)

* Add spaces after 'if' and 'for' in JavaScript

* Revert to old format

* Remove whitespaces

6 years agoSimplify lambda expressions (#10198)
Ahmed Ashour [Fri, 20 Oct 2017 06:59:17 +0000 (08:59 +0200)]
Simplify lambda expressions (#10198)

* Simplify lambda expressions

And remove unneeded 'return' keyword.

* Format

6 years agoAbstractDateField: set value after being invalid (#10187)
Ahmed Ashour [Fri, 20 Oct 2017 06:54:49 +0000 (08:54 +0200)]
AbstractDateField: set value after being invalid (#10187)

Fixes #9763
Fixes #9978

7 years agoFix AbstractDateField to correctly show week day names (#10188)
Ahmed Ashour [Mon, 16 Oct 2017 15:21:23 +0000 (17:21 +0200)]
Fix AbstractDateField to correctly show week day names (#10188)

Fixes #9200

7 years agoAdd *.properties to .gitattributes (#10180)
Ahmed Ashour [Mon, 16 Oct 2017 14:56:17 +0000 (16:56 +0200)]
Add *.properties to .gitattributes (#10180)

7 years agoFix IDE usage of Elemental in vaadin-shared (#10178)
Teemu Suo-Anttila [Mon, 16 Oct 2017 10:31:15 +0000 (13:31 +0300)]
Fix IDE usage of Elemental in vaadin-shared (#10178)

7 years agoFix some checkstyle warnings (#10179)
Ahmed Ashour [Fri, 13 Oct 2017 13:11:49 +0000 (15:11 +0200)]
Fix some checkstyle warnings (#10179)

7 years agoSimplify waitUntil() in tests (#10181)
Ahmed Ashour [Fri, 13 Oct 2017 13:10:20 +0000 (15:10 +0200)]
Simplify waitUntil() in tests (#10181)

7 years agoConvert AbstractDateField not to be a LegacyComponent (#10148)
Ahmed Ashour [Fri, 13 Oct 2017 06:53:17 +0000 (08:53 +0200)]
Convert AbstractDateField not to be a LegacyComponent (#10148)

7 years agoAdd Navigator testing to Spring Boot test (#10174)
Teemu Suo-Anttila [Fri, 13 Oct 2017 06:44:32 +0000 (09:44 +0300)]
Add Navigator testing to Spring Boot test (#10174)

7 years agoUse Collection.isEmpty() (#10172)
Ahmed Ashour [Thu, 12 Oct 2017 08:46:06 +0000 (10:46 +0200)]
Use Collection.isEmpty() (#10172)

7 years agoRemove redundant null checks before an instanceof (#10173)
Ahmed Ashour [Thu, 12 Oct 2017 06:00:02 +0000 (08:00 +0200)]
Remove redundant null checks before an instanceof (#10173)

7 years agoAdd ErrorLevel to Validators and results (#10099)
Teemu Suo-Anttila [Wed, 11 Oct 2017 13:04:58 +0000 (16:04 +0300)]
Add ErrorLevel to Validators and results (#10099)

Fixes #9792

7 years agoFix Binder bean writing to only validate and write given bindings (#10162)
Teemu Suo-Anttila [Wed, 11 Oct 2017 12:15:46 +0000 (15:15 +0300)]
Fix Binder bean writing to only validate and write given bindings (#10162)

7 years agoFix wrong method name in Grid docs (#10171)
Pekka Hyvönen [Wed, 11 Oct 2017 11:40:51 +0000 (14:40 +0300)]
Fix wrong method name in  Grid docs (#10171)

7 years agoAdd aria-rowcount to grid (#10167)
Knoobie [Wed, 11 Oct 2017 10:15:26 +0000 (12:15 +0200)]
Add aria-rowcount to grid (#10167)

This is based on discussion from vaadin/vaadin-grid#1023 .

7 years agoFix for Grid client-side exception. (#10166)
Piotr Wilkin [Wed, 11 Oct 2017 07:23:22 +0000 (09:23 +0200)]
Fix for Grid client-side exception. (#10166)

Do not try to update the select all checkbox if it is not visible.

Fixes #10164

7 years agoAdd mention of Flow to issue template (#10168)
Pekka Hyvönen [Wed, 11 Oct 2017 05:34:13 +0000 (08:34 +0300)]
Add mention of Flow to issue template (#10168)

7 years agoPrevent Grid refreshAll from getting stuck due mismatched state (#10161)
Ansku [Tue, 10 Oct 2017 15:45:44 +0000 (18:45 +0300)]
Prevent Grid refreshAll from getting stuck due mismatched state (#10161)

Fixes #10038

7 years agoFix typos (#10158)
Ahmed Ashour [Tue, 10 Oct 2017 11:14:59 +0000 (13:14 +0200)]
Fix typos (#10158)

7 years agoRemove unneeded .toString() (#10141)
Ahmed Ashour [Tue, 10 Oct 2017 10:06:27 +0000 (12:06 +0200)]
Remove unneeded .toString() (#10141)

7 years agoEdit grid row by index - server side (#10040)
Piotr Wilkin [Tue, 10 Oct 2017 10:02:47 +0000 (12:02 +0200)]
Edit grid row by index - server side (#10040)

Opening grid editor from server side.
Fixes #8477.
Addressing #8820 will be the user's responsibility as fetching index of item might be slow.

7 years agoMove microprofile tests to profile, add Wildfly Swarm (#10156)
Teemu Suo-Anttila [Tue, 10 Oct 2017 09:59:28 +0000 (12:59 +0300)]
Move microprofile tests to profile, add Wildfly Swarm (#10156)

7 years agoAdd maven based tests for several application servers (#10143)
Teemu Suo-Anttila [Mon, 9 Oct 2017 12:51:34 +0000 (15:51 +0300)]
Add maven based tests for several application servers (#10143)

Add tests for Glassfish based servers, Jetty 8, Tomcat 7 and Liberty (three runtimes).

7 years agoUse StringBuilder instead of StringBuffer (#10154)
Ahmed Ashour [Mon, 9 Oct 2017 10:49:10 +0000 (12:49 +0200)]
Use StringBuilder instead of StringBuffer (#10154)

7 years agoRemove checkstyle "FinalClass" (#10145)
Ahmed Ashour [Mon, 9 Oct 2017 06:41:21 +0000 (08:41 +0200)]
Remove checkstyle "FinalClass" (#10145)

7 years agoAdd empty line at the end of files (#10142)
Ahmed Ashour [Fri, 6 Oct 2017 07:15:48 +0000 (09:15 +0200)]
Add empty line at the end of files (#10142)

7 years agoAdd maven based server tests for Wildfly and Jetty (#10116)
Teemu Suo-Anttila [Thu, 5 Oct 2017 07:09:22 +0000 (10:09 +0300)]
Add maven based server tests for Wildfly and Jetty (#10116)

This patch refactors the generic integration test war into
two jar dependencies and individual modules for different servers.

There is now a common approach for making configurations for the
remaining server tests still executed through an Ant build script.

7 years agoDon't use synthetic methods for listener classes. (#10135)
Ahmed Ashour [Wed, 4 Oct 2017 10:48:21 +0000 (12:48 +0200)]
Don't use synthetic methods for listener classes. (#10135)

Fixes #9504

7 years agoSupport null intermediate properties in NestedMethodProperty (#10134)
Olli Tietäväinen [Wed, 4 Oct 2017 10:18:38 +0000 (13:18 +0300)]
Support null intermediate properties in NestedMethodProperty (#10134)

Ignore null intermediate properties in setValue().

Forward port of #10085 in 7.7 to the compatibility package.

7 years agoFix typos (#10124)
Ahmed Ashour [Wed, 4 Oct 2017 08:29:34 +0000 (10:29 +0200)]
Fix typos (#10124)

7 years agoRegistration to remove state.registeredEventListeners (fixes #9634) (#10130)
Ahmed Ashour [Wed, 4 Oct 2017 07:35:19 +0000 (09:35 +0200)]
Registration to remove state.registeredEventListeners (fixes #9634) (#10130)

This changes SharedState.registeredEventListeners to be a Map that keeps track of how many listeners of each type have been added, and handles unregistering of such listeners correctly.

7 years agoAdd role="grid" and aria-multiselectable to grid (#10009)
Knoobie [Wed, 4 Oct 2017 05:51:31 +0000 (07:51 +0200)]
Add role="grid" and aria-multiselectable to grid (#10009)

Also adds aria-selected for grid rows.

7 years agoBreak iteration when method is found (#10128)
Ahmed Ashour [Tue, 3 Oct 2017 10:56:48 +0000 (12:56 +0200)]
Break iteration when method is found (#10128)

7 years agoUse static import of Assert in tests (#10126)
Ahmed Ashour [Tue, 3 Oct 2017 10:56:25 +0000 (12:56 +0200)]
Use static import of Assert in tests (#10126)

Also removes dependency on junit.framework.TestCase .

7 years agoRemove unneeded .toArray() (#10131)
Ahmed Ashour [Tue, 3 Oct 2017 07:49:07 +0000 (09:49 +0200)]
Remove unneeded .toArray() (#10131)

Use for each loop.

7 years agoUse enhanced for loop for arrays. (#10121)
Ahmed Ashour [Mon, 2 Oct 2017 09:43:19 +0000 (11:43 +0200)]
Use enhanced for loop for arrays. (#10121)

7 years agoSimplify conditional logic. (#10122)
Ahmed Ashour [Mon, 2 Oct 2017 08:23:09 +0000 (10:23 +0200)]
Simplify conditional logic. (#10122)

And remove unused imports.

7 years agoFirst sentence of javadoc should end with a period (#10114)
Ahmed Ashour [Mon, 2 Oct 2017 07:09:37 +0000 (09:09 +0200)]
First sentence of javadoc should end with a period (#10114)

Also includes minor other javadoc and formatting fixes.

7 years agoUse enhanced for loop instead of Iterator. (#10100)
Ahmed Ashour [Fri, 29 Sep 2017 12:14:05 +0000 (14:14 +0200)]
Use enhanced for loop instead of Iterator. (#10100)

7 years agoUIDL to implement Iterable (#10101)
Ahmed Ashour [Fri, 29 Sep 2017 12:13:37 +0000 (14:13 +0200)]
UIDL to implement Iterable (#10101)

7 years agoUse StandardCharsets.UTF_8 (#10113)
Ahmed Ashour [Fri, 29 Sep 2017 12:11:59 +0000 (14:11 +0200)]
Use StandardCharsets.UTF_8 (#10113)

7 years agoRemove auto-generated comment (#10111)
Ahmed Ashour [Fri, 29 Sep 2017 06:55:58 +0000 (08:55 +0200)]
Remove auto-generated comment (#10111)

7 years agoRevert "Store Vaadin session after each update" (#10112) 8.2.0.alpha2
Henri Sara [Thu, 28 Sep 2017 13:38:20 +0000 (16:38 +0300)]
Revert "Store Vaadin session after each update" (#10112)

This reverts commit 48e202a80653c2c8a9e31db11814d23b87d6ec19.

Also reverts the related release notes update.

7 years agoAdd since tags and update release notes (#10109)
Henri Sara [Thu, 28 Sep 2017 12:57:23 +0000 (15:57 +0300)]
Add since tags and update release notes (#10109)

7 years agoUpdate ValoThemeUITest form screenshots for ErrorLevel updates (#10110)
Henri Sara [Thu, 28 Sep 2017 12:51:42 +0000 (15:51 +0300)]
Update ValoThemeUITest form screenshots for ErrorLevel updates (#10110)

7 years agoHandle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)
Ahmed Ashour [Thu, 28 Sep 2017 09:37:32 +0000 (11:37 +0200)]
Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)

7 years agoUpdate empty since tags for 8.2 (#10107)
Henri Sara [Thu, 28 Sep 2017 08:49:02 +0000 (11:49 +0300)]
Update empty since tags for 8.2 (#10107)

7 years agoUse interface instead of implementation (#10073)
Ahmed Ashour [Thu, 28 Sep 2017 08:39:17 +0000 (10:39 +0200)]
Use interface instead of implementation (#10073)

7 years agoUpdate IE11 screenshots for more stable GridLayout (#10105)
Henri Sara [Thu, 28 Sep 2017 08:23:28 +0000 (11:23 +0300)]
Update IE11 screenshots for more stable GridLayout (#10105)

7 years agoUse single character for StringBuilder.append (#10102)
Ahmed Ashour [Thu, 28 Sep 2017 05:45:09 +0000 (07:45 +0200)]
Use single character for StringBuilder.append (#10102)

7 years agoUpdate browser version test for Chrome 61 (#10098)
Henri Sara [Wed, 27 Sep 2017 12:25:49 +0000 (15:25 +0300)]
Update browser version test for Chrome 61 (#10098)

7 years agoUpdate screenshots for PopupDateTimeFieldStatesTest after GridLayout fix (#10097)
Henri Sara [Wed, 27 Sep 2017 12:25:35 +0000 (15:25 +0300)]
Update screenshots for PopupDateTimeFieldStatesTest after GridLayout fix (#10097)

7 years agoFix typos (#10095)
Ahmed Ashour [Wed, 27 Sep 2017 10:44:25 +0000 (12:44 +0200)]
Fix typos (#10095)

7 years agoSupport addCloseListener for Notification (#10027)
Ahmed Ashour [Wed, 27 Sep 2017 10:44:01 +0000 (12:44 +0200)]
Support addCloseListener for Notification (#10027)

Converts Notification to an Extension and adds support for listening to the closing of notifications.

Fixes #888

7 years agoEliminate the use of AWT in non-test code (#10094)
Henri Sara [Wed, 27 Sep 2017 10:06:27 +0000 (13:06 +0300)]
Eliminate the use of AWT in non-test code (#10094)

7 years agoConvert Embedded not to be a LegacyComponent (#10088)
Ahmed Ashour [Wed, 27 Sep 2017 10:03:18 +0000 (12:03 +0200)]
Convert Embedded not to be a LegacyComponent (#10088)

7 years agoAdd option to use PushState instead of URI fragments in Navigator (#10042)
Teemu Suo-Anttila [Wed, 27 Sep 2017 08:40:17 +0000 (11:40 +0300)]
Add option to use PushState instead of URI fragments in Navigator (#10042)

* Navigator now by default uses pushState and normal URLs

* added documentation for pushState and updated Navigator documentation

* improving docs etc, adding one TODO to be solved before merging

* pushState/replaceState no work better with changing titles

* Making uri fragment navigator work when not using specially mapped UI

* Revert to older default, add annotation for selecting

* Fix tests, add null checks

* Reorder if-clause, fix tests

* Revert unnecessary test change

* Use correct variable in UI, fix test clean up

* Updates to JavaDocs, fix some methods and tests

* Add comments, fix test ui, TODO for fallbacks

* Navigation documentation, JavaDocs, removed TODOs

* Documentation fixes

* Improve JavaDocs

* Fix link name in documentation

* Improve throws declaration in getLocation

* Change documentation about the PushState based navigation

* Add since tags

* Add since tags for UI

7 years agoFix GridLayout on IE and PhantomJS (#10087)
Henri Sara [Wed, 27 Sep 2017 08:39:59 +0000 (11:39 +0300)]
Fix GridLayout on IE and PhantomJS (#10087)

Additional fixes for #10077 for browsers that do not support
document.fonts.ready by performing a delayed re-layout.

7 years agoStore Vaadin session after each update
Artur Signell [Wed, 26 Jul 2017 18:53:07 +0000 (21:53 +0300)]
Store Vaadin session after each update

This helps clustering solutions know when the session attribute needs
to be replicated instead of having to always aggressively replicate
all attributes.

Resolves #7535

7 years agoImplement error level on client side (#9817)
Adam Wagner [Wed, 27 Sep 2017 07:02:29 +0000 (10:02 +0300)]
Implement error level on client side (#9817)

Add additional class names and style to components and error indicators to distinguish different error levels.

Vaadin 8 implementation of #9816. Cherry picked changes and added compatibility package component changes and tests.

Resolves #3139

7 years agoFix DataCommunicator parameter not used in Grid constructor (#10075)
JenoDK [Tue, 26 Sep 2017 08:20:33 +0000 (10:20 +0200)]
Fix DataCommunicator parameter not used in Grid constructor (#10075)

Fixes #9944

7 years agoRelayout GridLayout when font loading completes (#10077)
Henri Sara [Tue, 26 Sep 2017 07:28:14 +0000 (10:28 +0300)]
Relayout GridLayout when font loading completes (#10077)

If a GridLayout is used and font loading is not complete, force another layout after all fonts are loaded.

Fixes #9921
Fixes #8207

7 years agoFix BindingBuilder to always use the same instance (#10004)
Teemu Suo-Anttila [Tue, 26 Sep 2017 07:07:51 +0000 (10:07 +0300)]
Fix BindingBuilder to always use the same instance (#10004)

This allows using BindingBuilder either in a type safe chained manner or with separate calls for the same instance at the cost of less strict type checking.

Fixes #9927
Fixes #9619

7 years agoAdd some text files to .gitattributes (#10078)
Ahmed Ashour [Mon, 25 Sep 2017 16:33:41 +0000 (18:33 +0200)]
Add some text files to .gitattributes (#10078)