summaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix license headerAleksi Hietanen2016-12-091-5/+5
| | | | Change-Id: I4f91be6d0e9d706c00ad5907c54c56e39292a95d
* Update @since tag for 7.7.4.Denis Anisimov2016-12-091-1/+1
| | | | Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7
* Show a sensible message for missing extensions (#10799)Artur Signell2016-12-096-26/+98
| | | | | | | Also remove ComponentMissingFromDefaultWidgetsetTest since it's identical to UnknownComponentConnectorTest Change-Id: I4b4b8f40c8376f4ea26b73d41191a3e7e811df01
* Ensure #cell[N] always scrolls row N into view (#20423)Artur Signell2016-12-091-8/+12
| | | | Change-Id: I99347ee1d0f2f13fcb8e110d2e7192590e4f9456
* Publish Escalator.getBodyRowCount to JS (#20344)Artur Signell2016-12-091-9/+23
| | | | | | This is needed to be able to get the information from e.g. TestBench Change-Id: I95ec6064f602e6a8b24e35cc59d467e9c8b31c1e
* Allow a resize listener to fire a resize listener (#20338)Artur Signell2016-12-091-3/+4
| | | | Change-Id: I6b045c3a693e88b3cba182ae9ea68cfa98c914b0
* Make modal window block shortcuts for underlying components (#20366)Artur Signell2016-12-092-0/+14
| | | | Change-Id: Ibb3b52b652d77a1bfa786417b1c92fd0a578035f
* Make Grid isWorkPending wait for scroll events to complete (#20417)Artur Signell2016-12-091-1/+12
| | | Change-Id: I3cfdac539111ff2e88c7ff81e6d6b9a579160423
* Introduce dedicated shared states for every core vaadin component/ext. (#98)Denis2016-12-0822-46/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce dedicated shared states for every core vaadin component/ext. Updated components are: - PasswordField - CustomField - AbstractListing - AbstractMultiSelect - ColorPicker - ColorPickerArea - DataCommunicator - Responsive - AbstractListingExtension - DetailsManager - AbstractRenderer - ClickableRenderer - ButtonRenderer - CheckBoxRenderer - DateRenderer - HtmlRenderer - ImageRenderer - NumberRenderer - ProgressBarRenderer - TextRenderer Fixes vaadin/framework8-issues#480.
* Add read-only support for single and multi select views for Grid. (#84)Denis2016-12-0610-85/+272
| | | | | | * Add read-only support for single and multi select views for Grid. Fixes vaadin/framework8-issues#516
* Allow to set caption for the empty selection in a ComboBox.Denis Anisimov2016-12-012-76/+101
| | | | | | | Fixes vaadin/framework8-issues#163 Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb
* Small fixes to javadocselmot2016-12-011-1/+1
| | | | Change-Id: Ibbfe62395eb93f9349b65edba4425d9782ce15f9