Ahmed Ashour
0f4702c6d1
Add spaces after 'if' and 'for' in JavaScript (#10199)
* Add spaces after 'if' and 'for' in JavaScript
* Revert to old format
* Remove whitespaces
пре 6 година
Ahmed Ashour
780e9cee6b
Simplify lambda expressions (#10198)
* Simplify lambda expressions
And remove unneeded 'return' keyword.
* Format
пре 6 година
Ahmed Ashour
70ba487b62
AbstractDateField: set value after being invalid (#10187)
Fixes #9763
Fixes #9978
пре 6 година
Ahmed Ashour
4148d910a5
Fix AbstractDateField to correctly show week day names (#10188)
Fixes #9200
пре 6 година
Ahmed Ashour
e651d542cb
Simplify waitUntil() in tests (#10181)
пре 6 година
Ahmed Ashour
c147b5d85b
Use Collection.isEmpty() (#10172)
пре 6 година
Teemu Suo-Anttila
d0b5741b81
Add ErrorLevel to Validators and results (#10099)
Fixes #9792
пре 6 година
Knoobie
0843f53881
Add aria-rowcount to grid (#10167)
This is based on discussion from vaadin/vaadin-grid#1023 .
пре 6 година
Ansku
4a04a3afae
Prevent Grid refreshAll from getting stuck due mismatched state (#10161)
Fixes #10038
пре 6 година
Ahmed Ashour
fa62729e24
Fix typos (#10158)
пре 6 година
Ahmed Ashour
ab18b6c58e
Remove unneeded .toString() (#10141)
пре 6 година
Piotr Wilkin
802bb98b85
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.
пре 6 година
Ahmed Ashour
9494818412
Use StringBuilder instead of StringBuffer (#10154)
пре 6 година
Ahmed Ashour
83f5e593f6
Fix typos (#10124)
пре 6 година
Knoobie
80336d30ed
Add role="grid" and aria-multiselectable to grid (#10009)
Also adds aria-selected for grid rows.
пре 6 година
Ahmed Ashour
ccad305464
Use static import of Assert in tests (#10126)
Also removes dependency on junit.framework.TestCase .
пре 6 година
Ahmed Ashour
28b52d687d
Remove unneeded .toArray() (#10131)
Use for each loop.
пре 6 година
Ahmed Ashour
7e4b4ff5a9
Use enhanced for loop for arrays. (#10121)
пре 6 година
Ahmed Ashour
43f4a17f0d
Simplify conditional logic. (#10122)
And remove unused imports.
пре 6 година
Ahmed Ashour
adcf2e2e80
Use enhanced for loop instead of Iterator. (#10100)
пре 6 година
Ahmed Ashour
3c7a951411
Use StandardCharsets.UTF_8 (#10113)
пре 6 година
Ahmed Ashour
241b7fadca
Remove auto-generated comment (#10111)
пре 6 година
Ahmed Ashour
c520767bf1
Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)
пре 6 година
Ahmed Ashour
7065740d6d
Use interface instead of implementation (#10073)
пре 6 година
Ahmed Ashour
7fd440d244
Use single character for StringBuilder.append (#10102)
пре 6 година
Henri Sara
cb91ab76ee
Update browser version test for Chrome 61 (#10098)
пре 6 година
Ahmed Ashour
9e6490d32a
Fix typos (#10095)
пре 6 година
Ahmed Ashour
9f9efe0058
Support addCloseListener for Notification (#10027)
Converts Notification to an Extension and adds support for listening to the closing of notifications.
Fixes #888
пре 6 година
Teemu Suo-Anttila
367c7751a6
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
пре 6 година
Adam Wagner
697f770287
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
пре 6 година
Henri Sara
4d6cb7b107
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
пре 6 година
Ahmed Ashour
77f2ef0c9d
Remove unused @VERSION@
пре 6 година
Adam Wagner
49fcca9fe0
Fix TreeGrid double click event in hierarchy column (#10070)
Fixes #9868
пре 6 година
Ahmed Ashour
3c0c3e0a99
Fix typos (#10071)
And use varargs in a test.
пре 6 година
Ahmed Ashour
40d15b32e3
Construct array inline (#10068)
And some trivial test enhancements
пре 6 година
Ahmed Ashour
d3c752e0f2
Add empty line at end of file
пре 6 година
Ahmed Ashour
73119c7193
Fix javadoc references (#10067)
And remove unused imports.
пре 6 година
Ahmed Ashour
23718371f8
Remove unused methods. (#10058)
пре 6 година
Henri Sara
a838d98204
Replace CRLF with LF (#10062)
After this change, .gitattributes will take care of keeping native
line endings.
* Replace CRLF with LF in non-Java files
пре 6 година
Henri Sara
a18842e2ae
Replace tabs with spaces in Java files
пре 6 година
Ahmed Ashour
11ddb11cbc
Update modifier order to follow Java Specification suggestions (#10050)
Also includes some other minor cleanup.
пре 6 година
Ahmed Ashour
e118f4d860
Access static members in a static way (#10054)
пре 6 година
Ahmed Ashour
867006d2f8
Use String.isEmpty() (#10045)
пре 6 година
Ahmed Ashour
8657a5ff49
Remove unused methods (#10020)
пре 6 година
Henri Sara
f3ae6c2c2b
Fix ColorPickerGrid indexing
Fixes #9018
пре 6 година
Ahmed Ashour
d1520204ea
Use simple class names
пре 6 година
Marco Collovati
89693cf448
Show validation error selecting invalid date from DateField (#10013)
Component error was cleared after selecting a date from
calendar popup, even if the date is invalid due to
validation errors or if user programmatically sets an UserError.
This change inverts the order of setValue() and setComponentError(null) in order
to preserve errors set by ValueChangeListeners (e.g. Binder validators).
Fixes #10011
пре 6 година
Ahmed Ashour
f6e082f517
Use String.isEmpty()
пре 6 година
Ahmed Ashour
aa225cce86
Remove unneeded ArrayList construction
пре 6 година
Ahmed Ashour
4a8195b59e
Replace iterators with enhanced for loops (#10018)
This change also includes some other minor cleanup.
пре 6 година