aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add @since 8.0.2 for Grid.removeAllColumns() (#8789)Ilia Motornyi2017-03-091-0/+2
|
* Correctly detach components in merged cells (#8773)Artur2017-03-092-0/+28
| | | | | | * 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-093-0/+193
| | | | Fixes #8622 Fixes #8623
* Include components in joined cells when finding child components (#8772)Artur2017-03-085-16/+134
| | | Fixes #8722
* Remove extra empty javadocs before package declaration (#8776)Ahmed Ashour2017-03-089-27/+0
|
* Update column caption when a text is set in the default header rowArtur2017-03-083-0/+40
| | | Fixes #8751
* Add missing since, remove unused commandTeemu Suo-Anttila2017-03-071-1/+1
|
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-074-41/+1068
| | | | | 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-077-126/+56
|
* Add missing Grid.removeAllColumns (#8750)Artur2017-03-072-0/+23
| | | Fixes #8704
* Use try-with-resources (#8757)Ahmed Ashour2017-03-073-27/+28
| | | To ensure the resource is automatically closed
* Add Column.getValueProvider to Grid (#8732)Artur2017-03-022-4/+63
| | | | | | * Add Column.getValueProvider to Grid Fixes #8680
* Remove unnecessary override and correct javadoc typo (#8716)Peter Lehto2017-03-011-9/+1
| | | Fixes #8715
* Add @author and @since tags to drag and drop related new files (#8693) (#8694)Adam Wagner2017-03-018-1/+18
| | | | * Add @author and @since tags to drag and drop related new files (#8693)
* Minor fix for javadocs (#8710)Ilia Motornyi2017-03-011-3/+3
|
* Allow powerful Navigator subclassing (#8663)Giovanni Lovato2017-02-281-4/+17
| | | | | | | | * Allow powerful Navigator subclassing `protected` methods in `Navigator` permit to create new `Navigator`s to add new capabilities to Vaadin, but `Navigator` fields are still `private` and this limit, for example, the overriding of `Navigator.init`. This PR makes `private` the `Navigator` fields. * Add documentation blocks to protected fields
* Fix some issues with Binder serialization (#8660)Ilia Motornyi2017-02-238-12/+44
| | | Partial fix for #8640
* Fix NPE sorting columns with null values (#8610)Filippo2017-02-232-1/+50
| | | | | | | | | | | | | | * 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-234-1/+205
| | | | | | | | | | | | | | | | | | | | | | | | * 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 DragSource extension/component available in DropEvent (#8636)Adam Wagner2017-02-227-16/+61
| | | | | | | | | | * Make DragSource extension/component available in DropEvent (resolves #8439) * Update drag and drop test to use new API * Change type of drag source and update javadoc * Use existing data map instead of DataTransfer
* Add support for rendering HTML in ButtonRenderer (#8606)Artur2017-02-221-0/+24
|
* Make it possible to use an extended ComboBox in declarative files (#8651)Artur2017-02-223-2/+25
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-228-20/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Load declarative classes using thread context class loader (#8532)Artur2017-02-222-3/+6
| | | | | | * Load declarative classes using thread context class loader Fixes #8528
* Add javadoc warning and example for criteria scripts (#8643)Adam Wagner2017-02-221-0/+42
| | | | * Add javadoc warning and example for criteria scripts (#8521)
* Translate "context://" to the context root of the web appArtur2017-02-225-0/+179
| | | Fixes #2523
* Fix null caption for NativeSelect and ComboBox (#8633)Pekka Hyvönen2017-02-214-6/+99
| | | | | | | | | * 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
* Make DragSourceExtension and DragTargetExtension generic (#8628)Adam Wagner2017-02-218-75/+150
| | | | | | | | * Make DragSourceExtension and DropTargetExtension generic (#8440) * Apply generalization of drag and drop extensions in #8440 * Override javadocs to be more specific
* Correctly test for mutually comparable types (#8598)Leif Åstrand2017-02-212-2/+9
|
* Use an informative exception message when Binder is incorrectly constructed ↵Artur2017-02-201-2/+4
| | | | (#8631)
* Fix since tags for 8.0 (#8575)Henri Sara2017-02-1679-39/+198
| | | Fix since tags for the server and shared modules and new types in client.
* Add javadoc clarification for DataProivder.refreshItem (#8585)Leif Åstrand2017-02-161-0/+8
| | | | * Add javadoc clarification for DataProivder.refreshItem
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-161-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reduce ComboBox initial requests Use initial fetched data on client side, do not request data from server side for each time popup is opened. Fixed initial filter being null for ComboBox on DataProvider, causing unnecessary size & fetch for not-changed filter. Fixed ComboBox sending default filter unnecessarily to server. Fixed wrong page indexing in VComboBox -> ComboBoxConnector. Fixes #8496 Fixes vaadin/framework8-issues#488 * Fix last item missing When pageLength was 0 and nullSelectionAllowed, the last item was not shown. Tried to sensify the API for total suggestions versus total suggestions + null selection item. * Fix ComboBox selected item updates Handles changing of ItemCaptionGenerator or ItemIconGenerator, need to update the selected item caption and icon separately. Previously it worked because all data was sent all the time to client. Doesn't fix the issue, when selected item is updated with refreshItem(), and it is not on the active range that will be sent to client. For that, ComboBox would need a separate notification about item update. * Updated screenshots
* Clarify set/addSortComparator parameter name (#8562)Leif Åstrand2017-02-141-9/+9
|
* Provide explicit locale in GridTest (#8525)Ilia Motornyi2017-02-141-1/+4
| | | Fixes #8524
* HTML5 Drag and Drop Support (#8264)Adam Wagner2017-02-108-0/+720
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add DragSource Extension (#8169) * Add DropTarget Extension (#8170) * Add DragStart Event to DragSource Extension (#8171) * Make DataTransfer.dropEffect configurable (#8174) * Make DragSource.dataTransfer data configurable (#8172) * Add server-side Event for drop (#8177) * Added license headers * Extract handler methods, move DropEvent and DropListener to new file, move enums to top * Replaced LinkedHashMap with Map and added List to preserve order of data * Add API for adding a JS acceptance criteria for dragover and drop (#8178, #8179) * Make DragSource Extension extendable (#8175) * Make DropTarget Extension extendable (#8176) * Added javadoc to protected methods * Moved EffectAllowed to shared so that it could be used in shared state directly * Moved DropEffect to separate file, some review fixes and javadoc * Added list to DropTargetRpc to preserve order of data * Remove event listeners on unregister * Changed method names set/getData() to more descriptive set/getTransferData() * Add server side dragStart event (#8171) * Add style to prevent text selection to allow drag * Remove target indicator style on drop * Add client side dragend event listener for drag source * Add server side dragend listener. Attach client side listener only when server side listener added. * Add drag source information to server side dragstart and dragend events. * Fixed some issues addressed in review * Trigger server side dragstart only when there is a listener attached * Criteria script can be set as null to clear * Use Js Interop instead of JSNI for handling event listeners * Use elemental package instead of Js Interop for handling event listeners * Add missing javadoc for public methods * Add default value "uninitialized" to effectAllowed parameter * Simple test UI for HTML5 DnD functionality (#8395) * Add javadoc and other minor changes
* Use column id as the default sort order property (#8529)Leif Åstrand2017-02-102-2/+63
|
* Add shorthands for creating lazy DataProviders (#8511)Teemu Suo-Anttila2017-02-092-0/+112
|
* Clarify addComponentsAndExpand javadocs (#8516)Leif Åstrand2017-02-092-0/+8
|
* Binding a null bean should clear the bound field values (#8288)caalador2017-02-092-35/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add clear field values #8287 Added functionality to make it possible to clear bound field values manually or when setting a null bean to binder. Binder will now clear bound fields for setBean(null) or if using readBean() functionality when calling the clear() method. Binder.clear() will throw a IllegalStateException if we have a bound bean. * MultiSelectionModel MultiSelect should implement emptyValue * Removing public clear() method and clearing field values only through setBean(null) and readBean(null) to be consistent and not have confusing functionality. * Simplified clearFields() as we don't need to check if field is readOnly * Document in removeBean JavaDoc that it will also clear the bound fields if we have a bean the is removed. * Binder should not have changes after clearing fields. * Add getEmptyValue as default to MultiSelect. Multiselect default for empty value should be an empty set. * Revert "Add getEmptyValue as default to MultiSelect." This reverts commit 45de8f45c4a1e3e45ab8a0353ab2a48bb4f1be6f. * Merge branch 'master' into issue/8287_Clear_bound_fields * Remove override for default implementation. * Fire status change event on clearFields if we had changes before clearing. * Formatting.
* Add addComponentsAndExpand to horizontal and vertical layout (#8480)Leif Åstrand2017-02-084-0/+182
|
* Clarify javadocs for query values not used for counting (#8509)Leif Åstrand2017-02-081-4/+9
| | | Fixes #8489
* Allow configuring how string to number converters handle empty strings (#8506)Leif Åstrand2017-02-0814-29/+202
|
* Provide a convenience method to get items set via setItems(). Denis2017-02-086-15/+90
| | | Fixes #8357
* Extract data provider callbacks to named and documented interfaces (#8508)Leif Åstrand2017-02-082-27/+77
| | | Fixes #8488
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-085-0/+100
| | | Fixes #8422
* Fix removing and adding a column in grid (#8437)caalador2017-02-081-0/+1
| | | | | | | | | | | | | | * Added column should also be added to footer (#590) When adding (readding) a column the column should also be added to footer as it will be removed and iterator will request footer for it. * Add test for re-add column (#590) * To lowerCase using Locale * Fixed compilation problem. Too little sleep for a friday evening...
* Provide a way to configure bean binder to auto set required fields (#8460)Denis2017-02-085-3/+335
| | | | | | @NotNull, @Size(min>1), @NotEmpty annotations are handled via default configuration which marks fields as required. Fixes #8382
* Add javadoc explanation about how to create serializable comparators (#8505)Leif Åstrand2017-02-082-21/+17
| | | | | | Also removes the confusing SerializableComparator.asInstance method that was mainly introduced for internal use. Fixes #8367
* Throw if there are no automatically bound fields via bindInstanceFields. (#8481)Denis2017-02-082-24/+69
| | | | | | * Throw if there are no automatically bound fields via bindInstanceFields. Fixes #8362