aboutsummaryrefslogtreecommitdiffstats
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* Redesign user-defined column identifiers for Grid (#7983)Teemu Suo-Anttila2016-12-152-16/+17
| | | Closes vaadin/framework8-issues#494
* Allow defining a focus delegate component for CustomField (#20336)Pekka Hyvönen2016-12-151-1/+8
|
* Migrate 7.7.5 branch patches to v8. (#7969)Denis2016-12-152-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* VerticalLayout has spacing = true and margin = true by default .Ilia Motornyi2016-12-121-0/+11
| | | | | HorizontalLayout has spacing = true and margin = false by default. Fixes vaadin/framework8-issues#526
* Change Upload to be in immediate mode by default (#111)Pekka Hyvönen2016-12-121-1/+1
| | | Fixes vaadin/framework8-issues#547
* Update @since tag for 7.7.4.Denis Anisimov2016-12-091-1/+1
| | | | Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7
* Make UPPER_CASE_PROPERTY_IDS more human friendly by default (#20380)Artur Signell2016-12-092-0/+58
| | | | Change-Id: I9bd845a08fa3c440f05d102ccf8920dfc1c95b6b
* Check for duplicate property ids when setting Grid columns or column order ↵Artur Signell2016-12-092-0/+73
| | | | | | (#20386) Change-Id: I76be83642f0e56e55b0c0e502ac6769de1ee8af0
* Change default suggestion popup width in ComboBox (#91)Aleksi Hietanen2016-12-081-1/+1
| | | Closes vaadin/framework8-issues#522
* Introduce dedicated shared states for every core vaadin component/ext. (#98)Denis2016-12-0832-35/+621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-0/+5
| | | | | | * 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-011-0/+5
| | | | | | | Fixes vaadin/framework8-issues#163 Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb
* Add AbstractSelectionModel for GridPekka Hyvönen2016-11-303-5/+58
| | | | | | | | 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-301-0/+33
| | | | | | | 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-292-0/+42
| | | Change-Id: I259c659987b5b15b354e16d0be1523f4ede809f0
* Correct all tests that introspect classpath for Vaadin classes.Denis Anisimov2016-11-291-2/+9
| | | | | | | | Fixes vaadin/framework8-issues#399 RemoveListenersDeprecatedTest test is fixed. Corrections are made to make the test above passes. Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac
* Add MultiSelect support for GridPekka Hyvönen2016-11-291-0/+39
| | | | | | | | | | | 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
* Add shared state for CustomComponent and DragAndDropWrapperHenri Sara2016-11-282-0/+54
| | | | Change-Id: Ib640e5ea97bccffb889d3213a4f588b828fb07bf
* Add state classes for Abstract(Single)ComponentContainerHenri Sara2016-11-288-13/+79
| | | | Change-Id: I6939fbc6f7aed0897f50b19f85fb62d0b8368cc7
* Reintroduce Grid Editor using BinderTeemu Suo-Anttila2016-11-254-0/+167
| | | | | | This patch restores the bean type to BinderValidationStatusHandler Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0
* Grid merging header cellselmot2016-11-241-0/+4
| | | | Change-Id: Ia52bbef412fc8701f6b862960dfed9c08c17ff7a
* Make SelectionModel API only server side.Denis Anisimov2016-11-021-225/+0
| | | | | | | 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-022-1/+5
| | | | Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
* Clean up state hierarchy for AbstractFieldStateTeemu Suo-Anttila2016-11-027-46/+19
| | | | Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f
* Move setReadOnly from Component to HasValueTeemu Suo-Anttila2016-11-021-0/+2
| | | | Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
* Replace setRequired & HasRequired with setRequiredIndicatorPekka Hyvönen2016-11-017-14/+45
| | | | | | | | | | | Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy). Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect. Internally it is still handled on AbstractComponent & -Connector level. Changes the declarative syntax, required -> required-indicator-visible. Fixes vaadin/framework8-issue#419 Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
* Grid html/component content in headersAleksi Hietanen2016-10-251-0/+16
| | | | Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7
* Implement basic footer support for GridTeemu Suo-Anttila2016-10-191-0/+3
| | | | Change-Id: I3db51521320767a28bc3acd9586b1453764a15bc
* Use placeholder instead of inputPrompt for DateFieldPekka Hyvönen2016-10-141-0/+4
| | | | | | | | | Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-131-2/+0
| | | | | | | | | | | | | All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
* Revert NativeSelect DOM structure change8.0.0.alpha4Aleksi Hietanen2016-10-071-4/+4
| | | | Change-Id: I11dcd769dd81a90b41cc74707ef8d6ef4ddc9be7
* Separate immediate mode for Upload from AbstactComponent.immediatePekka Hyvönen2016-10-071-0/+3
| | | | | | | | Makes it possible to remove the immediate from AbstractComponent. Part 2 / 2 of adding proper Upload immediateMode, first was to move old Upload to v7 compatiblity packages. Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0
* Make ColorPicker subcomponents HasValuesJohannes Dahlström2016-10-052-4/+4
| | | | Change-Id: Ia0502ef515e2b44f105a3a4c6ae7b0b62b8ab6bb
* Make ColorPicker an AbstractField<Color>Johannes Dahlström2016-10-031-3/+2
| | | | | | | Remove old ColorSelector API from ColorPicker. The various subcomponents still implement ColorSelector for now. Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089
* Make AbstractDateField based on LocalDate (#125).Denis Anisimov2016-09-302-20/+3
| | | | Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
* ListSelect with new data binding API8.0.0.alpha3Pekka Hyvönen2016-09-281-0/+33
| | | | | | | | No single select mode for list select. Based on AbstractMultiSelect. Removes feature for adding new items. Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d
* Initial support for multiple headers in new GridJohannes Dahlström2016-09-272-0/+60
| | | | Change-Id: I7a3fa34749322451ab5cef4465d4d7c76029c097
* TwinColSelect with new databinding APIPekka Hyvönen2016-09-274-20/+135
| | | | | | | | | | | | | | | | Removes feature for adding new items. Introduces a AbstractMultiSelect-abstraction layer, which is used in server side by TwinColSelect & CheckBoxGroup and on client side only TwinColSelect for now. Plan is to use it for ListSelect too. Further improvement would be to make AbstractMultiSelect use SelectionModel that extends AbstractSelectionModel and is thus used as an extension both as client & server side. Updates to JUnit 4.12 for easier use of @Parameterized test.. Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4
* Reintroduce grid column sizingAleksi Hietanen2016-09-231-0/+24
| | | | Change-Id: Ie5e91c3e9c8f2c9d8c05415d5602e2eaf3bd960b
* Reintroduce grid column hidingAleksi Hietanen2016-09-202-5/+10
| | | | Change-Id: I8a0344dffe3f2ef84f8134e05d9b7340d9b603a0
* Create a RadioButtonGroup that replaces the single select case of OptionGroupelmot2016-09-162-0/+66
| | | | Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8
* Update @since tags for 8.0Henri Sara2016-09-142-2/+2
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Use state for ComboBox selectionHenri Sara2016-09-143-44/+6
| | | | Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41
* Convert ComboBox to inherit AbstractSingleSelectHenri Sara2016-09-141-2/+2
| | | | | | | ComboBoxState now inherits AbstractSingleSelectState, but still effectively communicates its selection via RPC. Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157
* Implement support for binding single-select componentsJohannes Dahlström2016-09-141-3/+20
| | | | Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329
* Add multi selection support to CheckBoxGroupLeif Åstrand2016-09-141-0/+2
| | | | | | | | This patch adds multi selection support only for CheckBoxGroup without even trying to generalize anything. Adopting the concepts to work with other components will be done separately. Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-132-0/+63
| | | | Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1
* Make ComboBoxConnector extend AbstractListingConnectorHenri Sara2016-09-131-2/+2
| | | | Change-Id: I146b13d99b77beb2cf99019c5878b26f61b69b6c
* Remove unused state flag in AbstractFieldStateHenri Sara2016-09-131-1/+0
| | | | Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a
* Update ComboBox for new DataSource and communication mechanismHenri Sara2016-09-124-0/+202
| | | | | | | | This simplifies the client side state machine. This change does not modify the CSS class name v-filterselect. Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342