aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Add shorthand for adding a column with ComponentRendererPekka Hyvönen2017-05-191-3/+2
|
* Add TreeData#addRootItems, getRootItemsAleksi Hietanen2017-05-181-0/+17
|
* Add stream variants for the child item provider shorthands (#9375)Leif Åstrand2017-05-181-4/+22
|
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-162-1/+57
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-165-34/+54
| | | | | | * Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface * Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider * Additionally adds a helper method for recursive constructing TreeData with a child item provider.
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-121-2/+2
| | | | | | | | * Refactor Html5 DnD client side based on API review - Moved classes to "correct" packages. - Removed method DragSourceExtension.clearDataTransferText() - Remove ButtonDragSource in favor of more generic API
* Properly remove service destroy listeners (#9304)Artur2017-05-121-0/+30
| | | Fixes #9291
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-111-0/+7
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Fix bean validation when using sub property bindings (#9248)Artur2017-05-081-9/+87
| | | Fixes #9242
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-025-21/+127
| | | | | | | This patch introduces a Tree component, implemented as a Composite using TreeGrid. As initial version of the component, some functionality of the old Tree component has been left out for now. Partly addresses #8617
* Add OSGi support #8830 #8827 #8828 #8829Mirjan Merruko2017-04-251-0/+2
| | | | | Use bnd-maven-plugin instead of maven-bundle-plugin and helper class, and add support for publishing static resources such as themes and widgetsets.
* Add support for frontend:// using separate es5 and es6 foldersArtur2017-04-241-0/+111
|
* Support using Composite and CustomComponent as a Design root class (#9017)Artur2017-04-1810-0/+293
| | | Fixes #6043
* Fix problem when reading a nested Design based on a GridLayout (#9092)Artur2017-04-182-1/+47
| | | | | | | The parent Design must leave child handling to the nested design, when there are no children defined in the parent Design. This fixes a problem with com.vaadin.ui.GridLayout$OutOfBoundsException when the reading operation of the parent design tries to set number of rows according to its empty content.
* Composite component (#8952)Artur2017-04-181-1/+15
| | | | | | | | | | | | | | | | | A composite is included in the server side hierarchy and in the connector hierarchy on the client side but does not have its own widget or DOM. To ensure that captions etc are renderer correctly for the root contents, the client side connector returns both the widget and state for the content connector. Server side API related to width and height are automatically forwarded to the root component to enable easy use of the composite inside different layout configurations. Other server side API inherited from AbstractComponent is unwanted, should be optional and therefore throw an exception by default. Resolves #2458
* Binder with Nested Properties (#8923)chrosim2017-04-125-0/+201
|
* Fix bug column and row expand ratio are not persisted Tien Nguyen2017-04-041-6/+23
| | | Fixes #9009
* Make bindInstanceFields not bind fields already bound using functions (#8998)Artur2017-04-031-0/+23
| | | Fixes #8858
* Make getValueProvider return ValueProvider (#8983)Leif Åstrand2017-03-311-0/+29
| | | | | | | | | * Make getValueProvider return ValueProvider The instance can only be a ValueProvider, but the getter previously returned a less specific type. Making the getter return ValueProvider makes it easier to reuse the provider in other contexts that require ValueProvider, e.g. when adding filters to a ListDataProvider.
* Make CustomField iterator() comply with contractArtur Signell2017-03-291-0/+63
| | | | Fixes #8957
* Move select all visible to multi selection model interface (#8627)Pekka Hyvönen2017-03-271-3/+4
|
* Fix Binder documentation on ValidationException (#8949)Pekka Hyvönen2017-03-271-0/+30
|
* Fix infinite loop in data communication (#8927)Aleksi Hietanen2017-03-271-2/+2
| | | | | | | | | | * Fix infinite loop in data communication * Switch to less aggressive reset when data communication is out of sync * Remove triggering of reset if reset is already being performed * Avoid redundant collection of streams in DataCommunicator
* Remove support for transfer data type (#8910)Adam Wagner2017-03-221-4/+2
| | | | | | * Remove API for setting arbitrary drag data * Store the drag source component in the UI Fixes #8893
* Set column captions when reading grid from a design file (#8770)Artur2017-03-221-4/+2
| | | Fixes #8752
* Initial documentation for 8.1 Drag and Drop (#8867)Pekka Hyvönen2017-03-201-0/+61
| | | | | | * Initial documentation for 8.1 Drag and Drop Part of #8395
* Handle unknown connectors consistently and quietly as described in #8111 (#8741)Artur2017-03-161-0/+49
| | | | Fixes #8629
* Correctly write margin info for FormLayout into design files (#8804)Artur2017-03-163-23/+76
| | | Fixes #8800
* Hierarchical data (#8842)Aleksi Hietanen2017-03-164-0/+535
| | | | | | | * Initial HierarchicalDataProvider for TreeGrid * Initial in-memory hierarchical data implementation * TreeGrid declarative support Fixes #8611, Fixes #8620
* Allow changing renderers after column creation (#8841)Teemu Suo-Anttila2017-03-151-0/+19
| | | Closes #8250
* Correct license locationAhmed Ashour2017-03-142-4/+3
|
* Make test for EditorSaveEvent.bean field Ilia Motornyi2017-03-141-5/+23
| | | * Fixes #8810, #8658
* Read/write Grid item type to declarative and create columns correctly (#8769)Artur2017-03-132-0/+320
| | | Fixes #8467
* Update frozen column count when a frozen column is removed (#8788)Artur2017-03-101-0/+36
| | | | * Update frozen column count when a frozen column is removed
* Correctly detach components in merged cells (#8773)Artur2017-03-091-0/+21
| | | | | | * Correctly detach components in merged cells This was already once fixed in 7.7 in #8142
* Initial implementation of ComponentRenderer for Grid (#8743)Teemu Suo-Anttila2017-03-091-0/+90
| | | | Fixes #8622 Fixes #8623
* Include components in joined cells when finding child components (#8772)Artur2017-03-081-0/+86
| | | Fixes #8722
* Update column caption when a text is set in the default header rowArtur2017-03-081-0/+26
| | | Fixes #8751
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-072-0/+1052
| | | | | Synchronises parts of compatibility package code to match 7.7 Picks suitable patches for 8 code as well
* Remove tracking of unregistered connectors (#8153)Aleksi Hietanen2017-03-072-0/+45
|
* Add missing Grid.removeAllColumns (#8750)Artur2017-03-071-0/+14
| | | Fixes #8704
* Use try-with-resources (#8757)Ahmed Ashour2017-03-072-24/+26
| | | To ensure the resource is automatically closed
* Add Column.getValueProvider to Grid (#8732)Artur2017-03-021-0/+48
| | | | | | * Add Column.getValueProvider to Grid Fixes #8680
* Fix some issues with Binder serialization (#8660)Ilia Motornyi2017-02-237-8/+35
| | | Partial fix for #8640
* Fix NPE sorting columns with null values (#8610)Filippo2017-02-231-0/+45
| | | | | | | | | | | | | | * Fix NPE sorting columns with null values Sorting a column in Grid throws a NullPointerException if there are null values and we are using the default TextRenderer * Test for #8610 * Update Grid.java * Update GridNullValueSortTest.java * Update GridNullValueSortTest.java
* Add initial implementation of TreeGrid (#8572)Aleksi Hietanen2017-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Add initial implementation of TreeGrid * Refactor TreeGrid and related classes * Fix potential class cast exception in TreeGrid#getDataProvider * Add smoke tests for TreeGrid * Add communication constants for TreeGrid Use shared constant values for hierarchy data serialization and deserialization * Fix event ordering in TreeGrid, add javadocs, keyboard navigation test * TreeGrid improvements * Add TreeGrid.getDataProvider to StateGetDoesNotMarkDirtyTest exclude list * Merge remote-tracking branch 'github/master' into tree-grid * Remove getEscalator override from TreeGrid
* Make it possible to use an extended ComboBox in declarative files (#8651)Artur2017-02-222-0/+22
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-224-3/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix java packaging order (#106) Closes vaadin/archetypes#113 * Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607) * Enable changing the backing bean for BeanItem (#4302) (#77) When storing a bean to the database, you typically get a new and updated bean instance back. By allowing to change the bean instance, we make it possible to just update the single BeanItem instance which can be used in many places. * Make AtmospherePushConnection methods public (#7973) There is no sensible way to use a custom version of APC, so protected access does not help in any way to access the underlying resource and/or connected UI. * Use correct indexes in multiselect checkboxes after removing rows (#8072) Fixes #8011 * Fix removal of hidden Grid columns (#8071) Fixes #8018 * Call error handler for exceptions in UI.init() (#8055) Fixes #4995 * Render font icon correctly on the 'more' menu item (#8126) * Render font icon correctly on the 'more' menu item Fixes #8125 * Reopen Grid details on attach, fixes #8015 (#8074) Fixes #8015 * Fix broken Grid tests after picking changes from 7.7.7 Removed duplicate setDetailsVisible calls from onDetach * Correctly detach components in merged cells when a static row is removed (#8142) Fixes #8140
* Translate "context://" to the context root of the web appArtur2017-02-221-0/+127
| | | Fixes #2523
* Fix null caption for NativeSelect and ComboBox (#8633)Pekka Hyvönen2017-02-211-0/+85
| | | | | | | | | * Fix null caption for NativeSelect and ComboBox Unified the null caption converting to empty string, as it was with other selects supporting item caption generator. Fixes #8630