aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Handle unknown connectors consistently and quietly as described in #8111 (#8741)Artur2017-03-161-6/+14
| | | | Fixes #8629
* Correctly write margin info for FormLayout into design files (#8804)Artur2017-03-161-3/+9
| | | Fixes #8800
* Hierarchical data (#8842)Aleksi Hietanen2017-03-1612-98/+1923
| | | | | | | * 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-152-6/+75
| | | Closes #8250
* Correct license locationAhmed Ashour2017-03-141-16/+0
|
* Make test for EditorSaveEvent.bean field Ilia Motornyi2017-03-141-1/+2
| | | * Fixes #8810, #8658
* Read/write Grid item type to declarative and create columns correctly (#8769)Artur2017-03-131-18/+118
| | | Fixes #8467
* Update frozen column count when a frozen column is removed (#8788)Artur2017-03-101-2/+9
| | | | * Update frozen column count when a frozen column is removed
* Add the bean to grid editor eventsGiovanni Lovato2017-03-103-4/+32
| | | Fixes #8658
* Update JavaDoc for @DesignRoot. (#8805)anssit2017-03-101-4/+5
| | | Emphasise that both location and filename for the design file can be specified in the value parameter.
* RichTextField unnecessarily overwrites clear method (#8802)Ilia Motornyi2017-03-091-7/+0
| | | | | | * RichTextField unnecessarily overwrites clear method Fixes #8801
* Update Atmosphere to resolve problems in servlets with multiple mappings (#8785)Artur2017-03-091-1/+1
| | | Fixes #8734
* Add @since 8.0.2 for Grid.removeAllColumns() (#8789)Ilia Motornyi2017-03-091-0/+2
|
* Correctly detach components in merged cells (#8773)Artur2017-03-091-0/+7
| | | | | | * 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-092-0/+103
| | | | Fixes #8622 Fixes #8623
* Include components in joined cells when finding child components (#8772)Artur2017-03-084-16/+48
| | | 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-082-0/+14
| | | Fixes #8751
* Add missing since, remove unused commandTeemu Suo-Anttila2017-03-071-1/+1
|
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-072-41/+16
| | | | | 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-075-126/+11
|
* Add missing Grid.removeAllColumns (#8750)Artur2017-03-071-0/+9
| | | Fixes #8704
* Use try-with-resources (#8757)Ahmed Ashour2017-03-071-3/+2
| | | To ensure the resource is automatically closed
* Add Column.getValueProvider to Grid (#8732)Artur2017-03-021-4/+15
| | | | | | * 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-231-4/+9
| | | Partial fix for #8640
* Fix NPE sorting columns with null values (#8610)Filippo2017-02-231-1/+5
| | | | | | | | | | | | | | * 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-233-1/+204
| | | | | | | | | | | | | | | | | | | | | | | | * 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-221-2/+3
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-224-17/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-224-0/+52
| | | Fixes #2523
* Fix null caption for NativeSelect and ComboBox (#8633)Pekka Hyvönen2017-02-213-6/+14
| | | | | | | | | * 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-211-2/+2
|
* 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
|
* 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-101-2/+28
|
* Add shorthands for creating lazy DataProviders (#8511)Teemu Suo-Anttila2017-02-092-0/+112
|
* Clarify addComponentsAndExpand javadocs (#8516)Leif Åstrand2017-02-092-0/+8
|