aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Redesign user-defined column identifiers for Grid (#7983)Teemu Suo-Anttila2016-12-154-109/+108
| | | Closes vaadin/framework8-issues#494
* Migrate 7.7.5 branch patches to v8. (#7969)Denis2016-12-151-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent adding several scrollbar handlers (#19189). Change-Id: Ib0cc6c6835aab6d263f153362a328bcf2be7bc5c * Prevent adding several scrollbar handlers (#19189). * Keep expand ratio for last row/column when reducing grid layout size (#20297) Change-Id: Iff53a803596f4fc1eae8e4bfa307b9c1f4df961a * Fixed drag and drop failure when message dragged from email client (#20451) When dragging message form email client on Windows, item.webkitGetAsEntry() might return null creating NPE on the client side. Added additional checks for this situation. Change-Id: I569f7e6d0d7b137f24be53d1fbce384695ae8c73 * Change expected pre-release version number pattern in publish report Change-Id: Icdacecc490d2490ea9e262f5c5736c1dece2a89d * Mark TextField/TextArea as busy when a text change event is pending (#20469) Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50 # Conflicts: # client/src/main/java/com/vaadin/client/ui/VTextField.java # uitest/src/main/java/com/vaadin/tests/components/textfield/TextChangeEvents.java * Fixed touch scrolling issue in Surface and WP devices (#18737) Fixed by using pointerevents instead of touchevents when the browser is IE11, or Edge. Also added touch-action: none; css rules into escalator.css to prevent default touch behaviour on IE11 and Edge. Does not affect IE8 to IE10 browsers, behaviour on those will stay the same as before the fix. No new unit tests since we do not have automatic touch testing possibilities yet. Please test manually with Surface: IE11 and Edge, use for example uitest: com.vaadin.tests.components.grid.basics.GridBasicsomponents.grid.basics.GridBasics Change-Id: Iddbf1852e6ffafc855f749d6f4ebb235ed0f5703 * Add lazy/simple resize mode to Grid (#20108) Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4 # Conflicts: # client/src/main/java/com/vaadin/client/connectors/GridConnector.java # client/src/main/java/com/vaadin/client/widgets/Grid.java # server/src/main/java/com/vaadin/ui/Grid.java # shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java # themes/src/main/themes/VAADIN/themes/base/grid/grid.scss # uitest/src/main/java/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java Change-Id: Ieca56121875198ed559a41c143b28926e2695433 * Fix NPE in case some items don't contain all properties of Grid. This could occur in when parent is a different entity than its children in hierarchical data. Change-Id: Icd53b5b5e5544a3680d0cd99702ab78224b2dc08 # Conflicts: # server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java # server/src/main/java/com/vaadin/ui/Grid.java * Mark TextField/TextArea as busy when a text change event is pending (#20469) Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50 # Conflicts: # client/src/main/java/com/vaadin/client/ui/VTextField.java # uitest/src/test/java/com/vaadin/tests/components/textfield/TextChangeEventsTest.java * Add lazy/simple resize mode to Grid (#20108) Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4 * Removed V8 VTextField unused import, forgotten @RunLocally. * Don't rely on selenium "sendKeys" behavior. * Revert "Change expected pre-release version number pattern in publish report" This reverts commit 8df27b952dddb691aead6a633c5b3724c98bf343. * Migrate TextField/TextArea patch from 7.7 to master (modern components) Mark TextField/TextArea as busy when a text change event is pending (#20469) Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
* (Re)introduce server side sort for Grid.Denis2016-12-151-0/+54
| | | | | Fixes vaadin/framework8-issues#557
* Add ValueProvider interface, use where appropriateAleksi Hietanen2016-12-153-9/+9
|
* Combine and rename setFilter and applyFilter (#7963)Leif Åstrand2016-12-153-24/+10
| | | | | | | | | | | | | | setFilter is an unsuitable name since it looks like a setter even though it isn't one. It's therefore renamed to withFilter. The difference between setFilter and applyFilter is very confusing. The original reason for the distinction was that they had incompatible return types (Void vs F), but this is resolved by changing the non-appendable version to use ? instead of Void. One side effect of this change is that setFilter cannot be used on an appendable filter provider to create a wrapped data provider without further filtering support. This theorethical case is still supported by using convertFilter with a Void -> F converter.
* Rename com.vaadin.data.util.converter to com.vaadin.data.converterPekka Hyvönen2016-12-1426-44/+34
|
* Remove unused JsonUtil (#7989)Pekka Hyvönen2016-12-141-205/+0
|
* Miscellaneous Interface RefactoringIlia Motornyi2016-12-141-4/+3
|
* Remove usage of Consumer from event listeners (#7985)Pekka Hyvönen2016-12-149-31/+31
| | | | | | | | | | | | | Touched event listeners are: - SelectionListener - MultiSelectionListener - SingleSelectionListener - ValueChangeListener - ItemClickListener - BindingValidationStatusHandler - BinderValidationStatusHandler - StatusChangeListener Part of vaadin/framework8-issues#264
* Rename setRequired to asRequired since it's logically not a setter (#7986)Leif Åstrand2016-12-142-6/+7
|
* Rename SelectAllCheckBoxVisible enumeration. (#7981)Denis2016-12-141-24/+24
| | | Fixes vaadin/framework8-issues#540
* Provide declarative support for Grid. (#7961)Denis2016-12-133-10/+748
| | | Fixes vaadin/framework8-issues#390
* No inherited threadlocalIlia Motornyi2016-12-131-90/+33
| | | Fixes vaadin/framework8-issues#514
* VerticalLayout has spacing = true and margin = true by default .Ilia Motornyi2016-12-123-18/+28
| | | | | HorizontalLayout has spacing = true and margin = false by default. Fixes vaadin/framework8-issues#526
* Change Upload to be in immediate mode by default (#111)Pekka Hyvönen2016-12-122-0/+20
| | | Fixes vaadin/framework8-issues#547
* Fix margin in declarative format is recognized as unsupported property ↵Tien Nguyen2016-12-121-0/+23
| | | | gridlayout (#103)
* Erase type of BeanBinder#bindInstanceFields parameter in equality test 8.0.0.alpha9Aleksi Hietanen2016-12-091-0/+28
| | | Fixes vaadin/framework8-issues#466
* Workaround for deadlock issue (#18436)Artur Signell2016-12-091-0/+155
| | | | Change-Id: I4e32550e3d3095c2c914bb93d260819414d2e6e6
* Add a generic selection listener to Grid & SelectionModels (#105)Pekka Hyvönen2016-12-097-21/+123
| | | | | | | | * Add a generic selection listener to Grid & SelectionModels Fixes some inconsistent event naming and invalid javadocs. Fixes vaadin/framework8-issues#541
* Change return type of Binder#getBean to BEANAleksi Hietanen2016-12-082-12/+12
|
* Deprecate Button#setHtmlContentAllowed (#104)Aleksi Hietanen2016-12-081-2/+2
| | | Fixes vaadin/framework8-issues#525
* Introduce dedicated shared states for every core vaadin component/ext. (#98)Denis2016-12-081-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce dedicated shared states for every core vaadin component/ext. Updated components are: - PasswordField - CustomField - AbstractListing - AbstractMultiSelect - ColorPicker - ColorPickerArea - DataCommunicator - Responsive - AbstractListingExtension - DetailsManager - AbstractRenderer - ClickableRenderer - ButtonRenderer - CheckBoxRenderer - DateRenderer - HtmlRenderer - ImageRenderer - NumberRenderer - ProgressBarRenderer - TextRenderer Fixes vaadin/framework8-issues#480.
* Add read-only support for single and multi select views for Grid. (#84)Denis2016-12-062-0/+41
| | | | | | * Add read-only support for single and multi select views for Grid. Fixes vaadin/framework8-issues#516
* Provide a shorthand for the HasValue::clear() method. (#94)Denis2016-12-061-0/+47
| | | | | | * Provide a shorthand for the HasValue::clear() method. Fixes vaadin/framework8-issues#496
* Fix classpath related tests under WindowsIlia Motornyi2016-12-061-1/+1
|
* Separate Binding and BindingBuilder (#80)Leif Åstrand2016-12-057-60/+63
| | | | | BindingBinder is API that is used before calling bind() Binding is API that is used after calling bind()
* Add a SelectionMode shorthand for Grid. (#83)Pekka Hyvönen2016-12-057-79/+122
| | | | | | | | | | | * Add a SelectionMode shorthand for Grid. Hides setSelectionModel(...) by making it protected. Refactores the usage of constructor / extend method for Abstract-, Single- and MultiSelectionModelImpl. Fixes vaadin/framework8-issues#519 Change-Id: I48c30886450506639be9ee6e21c45b0c06755c88
* Extends declarative tests for selection components for "data-" attribute (#85)Denis2016-12-053-16/+70
| | | Fixes vaadin/framework8-issues#392
* NoSelectionModel for GridPekka Hyvönen2016-11-301-0/+69
| | | | | | Fixes vaadin/framework8-issues#518 Change-Id: Ice6bdef03c3b62dd2c74376f98cfb8004dfa0bbf
* Enable select all checkbox for MultiSelection Grid.Pekka Hyvönen2016-11-302-18/+147
| | | | | | | It is by default shown only if used data provider is in-memory. Can be configured to be explicitly shown or hidden. Change-Id: I50569d915604c3722a22e14b7628663d5680ed83
* Fix sorted data provider data change event propagationTeemu Suo-Anttila2016-11-293-220/+387
| | | | | | This patch adds a test set for BackEndDataProvider. Change-Id: I32dfedb692ba71247d74a682f79afdfaf8751de3
* Correct all tests that introspect classpath for Vaadin classes.Denis Anisimov2016-11-296-197/+332
| | | | | | | | Fixes vaadin/framework8-issues#399 RemoveListenersDeprecatedTest test is fixed. Corrections are made to make the test above passes. Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac
* Make it possible to reset single select valuesLeif Åstrand2016-11-291-0/+48
| | | Change-Id: I60c5d9f183d1955fbbd3341e3ac9f93aae755f80
* Add MultiSelect support for GridPekka Hyvönen2016-11-294-29/+911
| | | | | | | | | | | Still missing following things coming in next patches: - select all checkbox - firing an event when data provider is changed in grid - read only selection models for grid Part 1 for vaadin/framework8-issues#232 Change-Id: Ib2c7c81a838f43cb7c521a56d50139c91961f54a
* Provide in-memory sorting information in QueryTeemu Suo-Anttila2016-11-292-7/+6
| | | | Change-Id: Iebafff6079816c08e5a4d144f6891d1379751f12
* Ensure all BeanBinding chaining methods return BeanBindingLeif Åstrand2016-11-291-0/+24
| | | | Change-Id: Ifbd5f278c83fcadbe6cf21d6c1f40914b35c4aba
* Simplify Binding API by removing the FIELDTYPE type parameterLeif Åstrand2016-11-295-45/+43
| | | | | | | | | | The type parameter is mainly used internally, the only externally facing use is to define the exact type of Binding.getField. Code that has access to a typed instance of Binding does typically also have direct access to the field instance, so there's no real use for the type parameter. Change-Id: Idf2ab18a79ec5f0a7cef83705b8084fbf7014c10
* Add ComboBox custom filtering methods and testsTeemu Suo-Anttila2016-11-281-0/+181
| | | | Change-Id: I640c6a7b3b8b89eff4b007d1cb70a25bbe28167e
* Add filter type to DataCommunicatorTeemu Suo-Anttila2016-11-281-2/+5
| | | | Change-Id: Id7948e2f81b6a9c593ce8b71bb3a61b578344af9
* Type Listing for DataProvider to allow custom filter typesTeemu Suo-Anttila2016-11-289-24/+59
| | | | | | | | | | Listing has been moved from AbstractListing to each individual Component. ComboBox is now typed to String filter. Fixes issues with declarative read of items. Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50
* Reintroduce Grid Editor using BinderTeemu Suo-Anttila2016-11-251-1/+1
| | | | | | This patch restores the bean type to BinderValidationStatusHandler Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0
* Provide declarative support for listing components.Denis Anisimov2016-11-2414-127/+949
| | | | | | | Fixes vaadin/framework8-issues#388 Change-Id: I4f8045bba51d308f4343a1f6d01b3f1ddca63e69
* Fix field value change event handling for unbound binderAleksi Hietanen2016-11-225-24/+86
| | | | | | | | | Unbound binder now correctly sets hasChanges and sends binder status change events. In addition, hasChanges no longer returns true in the case where a bean is bound and changes to the bean were valid. Change-Id: Ia0a0915c2a205461a2a4b1bfd393413520f863eb
* Implement chaining of filters for data providersTeemu Suo-Anttila2016-11-221-7/+67
| | | | Change-Id: I7b7dced73e19b9b4e4358b95878eb31fe5c87346
* Add DataProvider.setFilter methodTeemu Suo-Anttila2016-11-221-0/+17
| | | | Change-Id: I87193d3d2c66a880c2be165cfd49926fa290010b
* Add DataProvider.convertFilter, fix ListDataProvider filteringTeemu Suo-Anttila2016-11-211-24/+48
| | | | Change-Id: Ic90ae83acf5d77aa9b0f485dff4e55bba5296fa7
* Add Filter parameter to DataProviderTeemu Suo-Anttila2016-11-212-13/+14
| | | | Change-Id: Ic65b8decb3ac8d4dde9bca6cfb40a2a70f461e91
* Make ValoTheme subclassableLeif Åstrand2016-11-171-0/+26
| | | | Change-Id: Ib8976949108888deac51a90eb775445f0b5cecf8
* Renaming DataSource -> DataProvider to avoid collisions with ↵elmot2016-11-1113-99/+99
| | | | | | javax.sql.DataSource Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
* Remove HasValue from GridPekka Hyvönen2016-11-107-109/+435
| | | | | | | | | | | | | | | | | | | Extracts grid single selection into separate class, which is an extension like in V7. Using an extension makes it possible to easily add multiselect and no-select modes back, and support custom selection models. Adds Grid:asSingleSelect() SingleSelect so that grid can be used as a Select in a binder. Removes all remaining references to SelectionModels in Listings. Renames SingleSelectionChangeEvent to SingleSelectionEvent, because then it is unified with selection listener and MultiSelectionEvent. Fixes vaadin/framework8-issues#424 Fixes vaadin/framework8-issues#425 Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3