summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-2630-95/+95
|
* Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)Ahmed Ashour2017-10-232-3/+31
| | | | | | | | | | | * 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
* Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)Ahmed Ashour2017-10-202-37/+105
| | | | | | | | | | * Grid.removeColumn() not to fail silently (Fixes #8056) * Compilation with JDK * Fix removeColumnByColumn_alreadyRemoved test * Use ExpectedException
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-203-53/+60
| | | | | | | | | | | | | | | | | | | | | | * 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
* Added utility method Binder#asRequired() (#9873)Stephan Knitelius2017-10-201-0/+25
| | | | | | | | | * 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)
* Fix typos (#10213)Ahmed Ashour2017-10-2010-19/+19
| | | | | | * Fix typos * Fix
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-2029-50/+69
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-2032-184/+128
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* AbstractDateField: set value after being invalid (#10187)Ahmed Ashour2017-10-201-20/+19
| | | | Fixes #9763 Fixes #9978
* Fix some checkstyle warnings (#10179)Ahmed Ashour2017-10-133-26/+46
|
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-132-186/+152
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-1213-14/+14
|
* Remove redundant null checks before an instanceof (#10173)Ahmed Ashour2017-10-123-3/+3
|
* Add ErrorLevel to Validators and results (#10099)Teemu Suo-Anttila2017-10-116-51/+420
| | | Fixes #9792
* Fix Binder bean writing to only validate and write given bindings (#10162)Teemu Suo-Anttila2017-10-113-33/+95
|
* Prevent Grid refreshAll from getting stuck due mismatched state (#10161)Ansku2017-10-101-3/+0
| | | Fixes #10038
* Fix typos (#10158)Ahmed Ashour2017-10-104-8/+6
|
* Remove unneeded .toString() (#10141)Ahmed Ashour2017-10-1011-36/+35
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-104-2/+49
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Use StringBuilder instead of StringBuffer (#10154)Ahmed Ashour2017-10-092-3/+3
|
* Add empty line at the end of files (#10142)Ahmed Ashour2017-10-066-6/+6
|
* Don't use synthetic methods for listener classes. (#10135)Ahmed Ashour2017-10-0410-44/+74
| | | Fixes #9504
* Fix typos (#10124)Ahmed Ashour2017-10-048-22/+25
|
* Registration to remove state.registeredEventListeners (fixes #9634) (#10130)Ahmed Ashour2017-10-044-24/+83
| | | 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.
* Break iteration when method is found (#10128)Ahmed Ashour2017-10-032-7/+4
|
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-03170-2046/+2211
| | | | Also removes dependency on junit.framework.TestCase .
* Use enhanced for loop for arrays. (#10121)Ahmed Ashour2017-10-027-50/+37
|
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-0275-236/+242
| | | Also includes minor other javadoc and formatting fixes.
* Use enhanced for loop instead of Iterator. (#10100)Ahmed Ashour2017-09-2911-58/+25
|
* Use StandardCharsets.UTF_8 (#10113)Ahmed Ashour2017-09-2918-57/+74
|
* Revert "Store Vaadin session after each update" (#10112)8.2.0.alpha2Henri Sara2017-09-282-21/+0
| | | | | This reverts commit 48e202a80653c2c8a9e31db11814d23b87d6ec19. Also reverts the related release notes update.
* Add since tags and update release notes (#10109)Henri Sara2017-09-284-46/+58
|
* Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)Ahmed Ashour2017-09-282-0/+201
|
* Update empty since tags for 8.2 (#10107)Henri Sara2017-09-286-7/+7
|
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-2825-72/+76
|
* Use single character for StringBuilder.append (#10102)Ahmed Ashour2017-09-2815-66/+68
|
* Fix typos (#10095)Ahmed Ashour2017-09-273-7/+7
|
* Support addCloseListener for Notification (#10027)Ahmed Ashour2017-09-274-124/+173
| | | | | Converts Notification to an Extension and adds support for listening to the closing of notifications. Fixes #888
* Eliminate the use of AWT in non-test code (#10094)Henri Sara2017-09-271-3/+21
|
* Convert Embedded not to be a LegacyComponent (#10088)Ahmed Ashour2017-09-271-148/+49
|
* Add option to use PushState instead of URI fragments in Navigator (#10042)Teemu Suo-Anttila2017-09-279-20/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Store Vaadin session after each updateArtur Signell2017-09-272-0/+21
| | | | | | | This helps clustering solutions know when the session attribute needs to be replicated instead of having to always aggressively replicate all attributes. Resolves #7535
* Implement error level on client side (#9817)Adam Wagner2017-09-279-68/+31
| | | | | | | 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
* Fix DataCommunicator parameter not used in Grid constructor (#10075)JenoDK2017-09-263-1/+28
| | | Fixes #9944
* Fix BindingBuilder to always use the same instance (#10004)Teemu Suo-Anttila2017-09-262-23/+51
| | | | | | 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
* Remove unused @VERSION@Ahmed Ashour2017-09-2510-11/+2
|
* Improve Binder value change handling with bean validation (#9988)Teemu Suo-Anttila2017-09-253-115/+273
| | | | | | | Changed values are now only applied to the bean when they pass both field and bean validation. Any change that breaks validation will be pending and is attempted to apply when another change event comes. This patch also makes the order of status change event handler and listener call order. This addresses some of the issues raised in #9955.
* Pass timezone ID from browser to server. (#10041)Piotr Wilkin2017-09-252-364/+390
| | | | Resolves #7911. Prerequisite for #10033.
* Fix typos (#10071)Ahmed Ashour2017-09-252-5/+6
| | | And use varargs in a test.
* Construct array inline (#10068)Ahmed Ashour2017-09-2310-10/+10
| | | And some trivial test enhancements