aboutsummaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix js state partial updates (#8695)Leif Åstrand2017-03-011-6/+0
| | | | | | | | | | | | * Fix partial state change handling of JavaScript components In ace0e324b69753431dcde9949eaa9b0e3e648db9 (Use diffstate for JS connectors) partial state change handling for JavaScript components was introduced, but the setNativeState method in JavaScriptConnectorHelper was not adjusted. By removing the cleanup code from the updateNativeState method it can be ensured that the non-changed properties are still present on the state object. * Add test for preserving untouched JS state fields
* Add @author and @since tags to drag and drop related new files (#8693) (#8694)Adam Wagner2017-03-012-0/+6
| | | | * Add @author and @since tags to drag and drop related new files (#8693)
* Add initial implementation of TreeGrid (#8572)Aleksi Hietanen2017-02-235-0/+694
| | | | | | | | | | | | | | | | | | | | | | | | * 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-222-1/+11
| | | | | | | | | | * 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-222-1/+22
|
* Support Vaadin custom protocols in Vaadin-Refresh redirects (#8597)Artur2017-02-221-1/+2
| | | | A login page you want to redirect to is typically in the webapp root, which you can now refer to as "Vaadin-Refresh: context://login.html"
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-224-33/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3/+22
| | | Fixes #2523
* Replace usage of getParent() to prevent client side NPE during onUnregister ↵Adam Wagner2017-02-222-2/+18
| | | | | | (#8648) * Replace usage of getParent() to prevent client side NPE during onUnregister() (#8646)
* Fix since tags for 8.0 (#8575)Henri Sara2017-02-1629-42/+80
| | | Fix since tags for the server and shared modules and new types in client.
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-162-103/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Enable long tap emulation on iOS for context clicks (#8565)Teemu Suo-Anttila2017-02-141-1/+1
|
* HTML5 Drag and Drop Support (#8264)Adam Wagner2017-02-102-0/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix click selection for automatic testing. (#8513)caalador2017-02-091-9/+10
| | | | Don't implement handlers on widget level.
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-081-1/+1
| | | Fixes #8422
* Fix keyboard navigation for ListSelect (#8503)caalador2017-02-081-6/+7
| | | Fixes vaadin/framework8-issues#463
* Fix toggling of WeekNumbers for DateTimeField. (#8468)caalador2017-02-071-0/+4
| | | Fixes #8405
* Fix problem with re-opening the popup (#8446) (#8451)caalador2017-02-061-5/+7
| | | | | | | | | * Fix problem with re-opening the popup (#8446) Fixed problem that disables opening of popup after closing it by clicking the datefield-button. * Fix issue #8446 in compatibility version PopupDateField also.
* Fix exception on remove column. (#8432)caalador2017-02-031-2/+4
| | | Schedule column ordering so that possible onUnregister methods get run first.
* Add Grid editor events. (#8365)Denis2017-02-023-5/+13
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Add scrollTo methods to Grid (#8203) (#8410)caalador2017-02-022-0/+98
| | | | | | | | | | | | | | * 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-0123-158/+155
| | | | | 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-4/+22
| | | | | | * 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-0/+10
| | | Fixes vaadin/framework8-issues#569
* Support loading of HTML imports using @HtmlImport (#8301)Artur2017-01-252-69/+96
| | | | | Note that not all browsers yet support HTML imports. If a polyfill is needed to load HTML imports, it must be loaded before HTML Imports can be loaded. There is no automatic loading of any polyfills.
* Fix absolute layout component sizing on size change (#8269)caalador2017-01-231-0/+4
| | | | | | | | | | | | | * Fix absolute layout component sizing on size change (#8255, #8256, #8257) Changing from relative to defined size leaves the component positioned wrong, also changing from defined size to relative size leaves the component in the wrong position with the wrong size. Change makes the wrapper rerun setChildWidgetPosition() that adds/removes necessary css definitions to/from the cssPosition String. * Clean test sources according to review.
* Remove custom preloading support and load scripts using async=false (#8291)Artur2017-01-232-236/+26
| | | | | | | When using async='false' for scripts created by scripts the execution order is guaranteed to be the same as the order the script tags are created Fixes #5339, #3631
* Code cleanup: Move dependency loading logic to a separate class (#8290)Artur2017-01-234-88/+186
|
* Overload AbstarctComponent.setDescription() with content mode parameter (#8252)Denis2017-01-205-15/+93
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Introduce DateTimeFile and InlineDateTimeField. (#8218)Denis2017-01-1917-52/+1095
| | | | | | | | | | * Introduce DateTimeFile and InlineDateTimeField. Fixes #8132 * Correct and provide declarative tests. * Provide a date converter and UI tests.
* Better instructions in widgetset optimization view in the debug window. (#8261)Sami Ekblad2017-01-181-5/+5
| | | | | | | | | | * Better instructions in widgetset optimization view in the debug window. The generated example code is ok, but steps to use them are not obvious. Added more details to debug window instructions to make it clear what steps are needed to optimize the widgetset. Change-Id: Id46632697044223092ef772f98b1fcd69c28d0da
* Support for HTML5 push/replaceState for proper deep linking features (#8116)Matti Tahvonen2017-01-133-95/+39
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add "deselect allowed" feature to the Grid. (#8227)Denis2017-01-133-19/+76
| | | | | | * Add "deselect allowed" feature to the Grid. Fixes #8149
* Support for defining the root element for Javascript components (#8143)Artur2017-01-135-25/+80
| | | Fixes #7005
* Refactor AbstractDateField. (#8146)Denis2017-01-1016-1160/+1707
| | | First round for #8132.
* Move Grid event handlers to a list, add method to add custom handlersJohannes Dahlström2017-01-032-152/+223
| | | | | | | Change-Id: I2fe67ae961bfb0f7c44ba704346762a0faf6da2c # Conflicts: # client/src/main/java/com/vaadin/client/widgets/Grid.java
* Refactor Grid event handling methods to instances of a handler interfaceJohannes Dahlström2017-01-031-133/+181
| | | | | | | Change-Id: Icbed14cbef14c434f1909fa0350cb0364235c774 # Conflicts: # client/src/main/java/com/vaadin/client/widgets/Grid.java
* Start client-side Grid DOM event handling refactorJohannes Dahlström2017-01-031-16/+33
| | | | Change-Id: I67dad4cfbd6e9e355c48703253ff3d6da00e4eef
* Add javadocs and @since for the #20469 migration patch.Denis Anisimov2017-01-032-0/+13
|
* Re-add body rows when Escalator is reattached to DOM (#20477)Artur Signell2017-01-031-34/+14
| | | | | | | Change-Id: I0ae9144817db3bb730c80748d5e9190484b323e7 # Conflicts: # uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorBasicClientFeaturesWidget.java
* Update @since tags for 7.7.5Denis Anisimov2017-01-034-2/+24
| | | | | | | | | | | Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f Re-added back disappeared commit from 7.7.5 migration PR: Mark TextField/TextArea as busy when a text change event is pending (#20469) Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
* Set focus when click on RadioButton via JS. (#8062)rogozinds2016-12-212-2/+7
| | | | | Sending click even in JS to a RadioButton in RadioButtonGroup doesn't trigger focus event for RadioButtonGroup in IE11. Fix it. Same fix for CheckBoxGroup.
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-2036-123/+124
|
* @since tag is set (#8021)Denis2016-12-161-2/+2
|
* Delete CheckboxRendererIlia Motornyi2016-12-152-100/+0
| | | Fixes vaadin/framework8-issues#551
* Rename com.vaadin.server.data to com.vaadin.data.provider (#8004)Pekka Hyvönen2016-12-151-1/+1
| | | | | Renamed corresponding test packages too. Fixes vaadin/framework8-issues#110
* Redesign user-defined column identifiers for Grid (#7983)Teemu Suo-Anttila2016-12-151-1/+1
| | | Closes vaadin/framework8-issues#494
* Allow defining a focus delegate component for CustomField (#20336)Pekka Hyvönen2016-12-152-8/+96
|
* Migrate 7.7.5 branch patches to v8. (#7969)Denis2016-12-157-78/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make AbstractListing implement Focusable (#7965)Aleksi Hietanen2016-12-145-1/+25
| | | | | | | | | | | | * Make AbstractListing implement Focusable Fixes vaadin/framework8-issues#552 * Add tests for other components that inherit from AbstractListing * Fix setTabIndex in NativeSelect, ListSelect, RadioButtonGroup Also adds a test for TwinColSelect.