summaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* NoSelectionModel for GridPekka Hyvönen2016-11-301-0/+61
| | | | | | Fixes vaadin/framework8-issues#518 Change-Id: Ice6bdef03c3b62dd2c74376f98cfb8004dfa0bbf
* Add AbstractSelectionModel for GridPekka Hyvönen2016-11-303-58/+114
| | | | | | | | Also adds shared state for grid's selection models. This is mostly for making it possible later to modify the selection models, without breaking backwards API compatibility and having to duplicate code. Change-Id: If93720df282bf5ca3aff17a20b455d60b33f764c
* Enable select all checkbox for MultiSelection Grid.Pekka Hyvönen2016-11-305-77/+361
| | | | | | | It is by default shown only if used data provider is in-memory. Can be configured to be explicitly shown or hidden. Change-Id: I50569d915604c3722a22e14b7628663d5680ed83
* Provide access to window order position in windows stack (#14325).Denis Anisimov2016-11-295-12/+260
| | | Change-Id: I259c659987b5b15b354e16d0be1523f4ede809f0
* Grid merging footer cellselmot2016-11-291-43/+18
| | | | Change-Id: I24895c7ae602ffc9a7812dcc441e99ac670356e2
* Add MultiSelect support for GridPekka Hyvönen2016-11-296-90/+135
| | | | | | | | | | | Still missing following things coming in next patches: - select all checkbox - firing an event when data provider is changed in grid - read only selection models for grid Part 1 for vaadin/framework8-issues#232 Change-Id: Ib2c7c81a838f43cb7c521a56d50139c91961f54a
* Unify usage of HandlerRegistration #19267Denis Anisimov2016-11-297-7/+7
| | | | | | | | All Vaadin components use the old HandlerRegistration except Grid renderers and ServerConnector. Since most Vaadin components extend GWT components we can't change to the bindary version until GWT does, so the only way we can unify the usage is using the old version. Change-Id: I82a5b66df977fe0e7bcab7e981332d0cf7e0bdbf
* Add state classes for Abstract(Single)ComponentContainerHenri Sara2016-11-281-0/+6
| | | | Change-Id: I6939fbc6f7aed0897f50b19f85fb62d0b8368cc7
* Reintroduce Grid Editor using BinderTeemu Suo-Anttila2016-11-254-5/+246
| | | | | | This patch restores the bean type to BinderValidationStatusHandler Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0
* Data should be updated when it's set for disabled components.Denis Anisimov2016-11-251-3/+8
| | | | | | Fixes vaadin/framework8-issues#286 Change-Id: I0d6cf49addfd558d43671ad2953dee54529392cd
* Grid merging header cellselmot2016-11-242-19/+26
| | | | Change-Id: Ia52bbef412fc8701f6b862960dfed9c08c17ff7a
* Add HTML/Component support to Grid FootersTeemu Suo-Anttila2016-11-181-1/+29
| | | | Change-Id: Iaffe3214163f66c0617a5bea4b79f4ae39d0bc08
* Remove HasValue from GridPekka Hyvönen2016-11-104-114/+96
| | | | | | | | | | | | | | | | | | | Extracts grid single selection into separate class, which is an extension like in V7. Using an extension makes it possible to easily add multiselect and no-select modes back, and support custom selection models. Adds Grid:asSingleSelect() SingleSelect so that grid can be used as a Select in a binder. Removes all remaining references to SelectionModels in Listings. Renames SingleSelectionChangeEvent to SingleSelectionEvent, because then it is unified with selection listener and MultiSelectionEvent. Fixes vaadin/framework8-issues#424 Fixes vaadin/framework8-issues#425 Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3
* Scrolling down submenus via scrollbar (MenuBar.isAutoOpen()) (#10456)Anna Miroshnik2016-11-041-1/+17
| | | | | | | full name of defect: Can't scroll down submenus using the scrollbar when MenuBar.isAutoOpen() == true Tests. Change-Id: I2cbe797c96dc6a780df147e165babb23f7fbdef3
* Make SelectionModel API only server side.Denis Anisimov2016-11-0212-99/+106
| | | | | | | Client side doesn't use selection model anymore. Fixes vaadin/framework8-issues#421 Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
* Move read-only to AbstractFieldState (#8514)Teemu Suo-Anttila2016-11-025-31/+19
| | | | Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
* Clean up state hierarchy for AbstractFieldStateTeemu Suo-Anttila2016-11-022-15/+3
| | | | Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f