summaryrefslogtreecommitdiffstats
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
...
* Include charset in text/html responses (#8777) (#9123)Ilia Motornyi2017-04-211-0/+5
| | | Addresses #8775 for version 8.1+
* Add/fill in missing @since tags for 8.1 (#9106)8.1.0.alpha6Henri Sara2017-04-197-21/+20
|
* Composite component (#8952)Artur2017-04-181-0/+27
| | | | | | | | | | | | | | | | | 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
* Add LoadStyle.NONE for completely omitting a connectorLeif Åstrand2017-04-131-1/+7
|
* Use separate identifier for push connections8.1.0.alpha5Aleksi Hietanen2017-04-131-1/+8
| | | Closes #8700
* Create combined drop mode to allow both on_top and between drops (#9063)Adam Wagner2017-04-132-0/+22
| | | Resolves #8932
* Correctly set ListSelect style namesArtur2017-04-131-1/+2
| | | Fixes #8901
* Remove Extension suffix from Grid DND classes (#9035)Adam Wagner2017-04-124-6/+6
|
* Make it possible to drop things between Grid rows (#8979)Adam Wagner2017-04-124-1/+86
| | | | Fixes #8401
* Provide dragged Grid items in server side (#8950)Adam Wagner2017-04-122-1/+51
| | | | Fixes #8931
* Make it possible to drop things on top of Grid rows (#8747)Adam Wagner2017-04-123-5/+67
| | | | Fixes #8400
* Make Grid rows draggable (#8690)Adam Wagner2017-04-121-0/+38
| | | | | | It is possible to customize the drag data for each row. (#8706) Fixes #8396
* Fix initial expand of TreeGrid itemsAleksi Hietanen2017-04-111-0/+5
| | | Fixes #9050
* Make Button component draggable (#9038)Adam Wagner2017-04-101-0/+26
| | | | | | * Make Button component draggable (#9037) * Add own state to button drag source
* Add server-side expand and collapse to TreeGrid (#9021)Aleksi Hietanen2017-04-062-1/+50
| | | | | | | | | | | | | | | | * Add server-side expand and collapse to TreeGrid * Add javadocs * Fix variable naming in TreeGridHugeTreeTest * Fix review comments * Merge remote-tracking branch 'github/master' into 8759-server-expand * Clear pending expands when all data is dropped * Add documentation
* Snapshot version update to 8.1 (#9023)Ilia Motornyi2017-04-051-1/+1
|
* TreeGrid keyboard navigation Ilia Motornyi2017-04-052-0/+75
| | | Fixes #8758
* Implement LocalDateRenderer and LocalDateTimeRenderer (#8955)Aleksi Hietanen2017-03-302-0/+52
| | | Closes #8377
* Add Grid.setRowHeight() (#8935)Henri Sara2017-03-291-1/+10
| | | Fixes #8667
* Clean DropEvent and DragEndEvent properties (#8925)Adam Wagner2017-03-242-4/+6
| | | | | | | | * Add dropEffect parameter to DragEndEvent (#8895) * Remove drop effect from drop event (#8895) * Make sure that drop effect is not null
* Add possibility to configure the content mode of TabSheet tabs (#8920)Aleksi Hietanen2017-03-241-0/+3
| | | Fixes #8590
* Add feature to disable collapsing items in TreeGrid (#8879)Teemu Suo-Anttila2017-03-231-1/+2
| | | Fixes #8846
* Remove support for transfer data type (#8910)Adam Wagner2017-03-222-24/+11
| | | | | | * Remove API for setting arbitrary drag data * Store the drag source component in the UI Fixes #8893
* Check Trident version to detect compatibility mode (#8884)Dos Moonen2017-03-221-8/+10
| | | IE11 in compatibility mode is actually not too old. It's just not recognized as IE11 if you leave the Trident version out of the equation. Checking the Trident version and using it to determine the actual IE version instead of trusting the possibly emulated MSIE version string.
* Add missing since tags for 8.1.0.alpha1 (#8888)Henri Sara2017-03-212-1/+3
| | | | | | | | * Add missing since tags for 8.1.0.alpha1 * Update @since for DataCommunicatorClientRpc * Update @since for DataCommunicator
* Add more 8.0.3 since tagsHenri Sara2017-03-211-0/+4
|
* Add @since 8.0.3 tagselmot2017-03-211-0/+2
|
* Fix some javadoc errors (#8873)Ahmed Ashour2017-03-201-1/+1
|
* Hierarchical data (#8842)Aleksi Hietanen2017-03-163-3/+57
| | | | | | | * Initial HierarchicalDataProvider for TreeGrid * Initial in-memory hierarchical data implementation * TreeGrid declarative support Fixes #8611, Fixes #8620
* Initial implementation of ComponentRenderer for Grid (#8743)Teemu Suo-Anttila2017-03-091-0/+26
| | | | Fixes #8622 Fixes #8623
* Remove tracking of unregistered connectors (#8153)Aleksi Hietanen2017-03-071-2/+0
|
* Add @author and @since tags to drag and drop related new files (#8693) (#8694)Adam Wagner2017-03-016-0/+18
| | | | * Add @author and @since tags to drag and drop related new files (#8693)
* Add initial implementation of TreeGrid (#8572)Aleksi Hietanen2017-02-233-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | * 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-221-1/+3
| | | | | | | | | | * 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-1/+1
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-222-0/+24
| | | Fixes #2523
* Fix since tags for 8.0 (#8575)Henri Sara2017-02-1626-20/+57
| | | Fix since tags for the server and shared modules and new types in client.
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* HTML5 Drag and Drop Support (#8264)Adam Wagner2017-02-106-0/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-081-0/+5
| | | Fixes #8422
* Make one-arg addColumn use natural sort for mutually comparable values (#8458)Leif Åstrand2017-02-071-1/+1
| | | | Fixes #8371 Fixes #8128
* Add Grid editor events. (#8365)Denis2017-02-021-3/+7
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Add scrollTo methods to Grid (#8203) (#8410)caalador2017-02-021-0/+53
| | | | | | | | | | | | | | * Add scroll methods to serverside grid (#8203) Added scrollToTop(), scrollToEnd() and scrollTo(int row) * Fix scrolling to view of opened details (#8203) Removed dependency for DetailsManagerConnector from GridConnector. GridConnector now handles one off listeners. * Rename detailsRefresh to better show that it's one-off. Add missing copyright header.
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-011-1/+1
| | | | | Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
* Introduce empty selection functionality for NativeSelect. (#8336)Denis2017-01-271-0/+12
| | | | | | * Introduce empty selection functionality for NativeSelect. Fixes vaadin/framework8-issues#545
* Show unsupported browser page for FF version less than 45. (#8328)Denis2017-01-251-1/+1
| | | Fixes vaadin/framework8-issues#569
* Overload AbstarctComponent.setDescription() with content mode parameter (#8252)Denis2017-01-203-1/+5
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Introduce DateTimeFile and InlineDateTimeField. (#8218)Denis2017-01-193-2/+28
| | | | | | | | | | * Introduce DateTimeFile and InlineDateTimeField. Fixes #8132 * Correct and provide declarative tests. * Provide a date converter and UI tests.
* Support for HTML5 push/replaceState for proper deep linking features (#8116)Matti Tahvonen2017-01-132-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Added support for HTML5 push/replaceState for proper deep linkin features * Automated test script now works at least on chrome * Uses html5 push/popstate to implement uri fragment feature * fire legacy fragment change events also via popstate events rpc calls * send new fragments via pushstate mechanism * formatting * Formatting and adding test and workaround for IE bug * Formatting and depracated UriFragmentListener * Aligned naming in the new API * Ignored IE due to web driver bug Tested a workaround with javascript based window.location.href fetch, but that don’t seem to work stable enough.