]> source.dussan.org Git - vaadin-framework.git/commit
Migrate 7.7.5 branch patches to v8. (#7969)
authorDenis <denis@vaadin.com>
Thu, 15 Dec 2016 10:40:54 +0000 (12:40 +0200)
committerPekka Hyvönen <pekka@vaadin.com>
Thu, 15 Dec 2016 10:40:54 +0000 (12:40 +0200)
commit809a486c60a680d31308ffd078e6f8036252a990
tree75a3d7481a12d042606316fad190130ada181b62
parent616e1f8ce5e544693268f54a2ac4cec2158d4a19
Migrate 7.7.5 branch patches to v8. (#7969)

* 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
36 files changed:
client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
client/src/main/java/com/vaadin/client/ui/VTextField.java
client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java
client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java
client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java
client/src/main/java/com/vaadin/client/widgets/Escalator.java
client/src/main/java/com/vaadin/client/widgets/Grid.java
compatibility-client/src/main/java/com/vaadin/v7/client/connectors/GridConnector.java
compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java
compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java
compatibility-server/src/main/java/com/vaadin/v7/data/fieldgroup/FieldGroup.java
compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/grid/GridEditorMissingPropertyTest.java [new file with mode: 0644]
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/ColumnResizeMode.java [new file with mode: 0644]
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/grid/GridState.java
compatibility-themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss
compatibility-themes/src/main/themes/VAADIN/themes/base/grid/grid.scss
server/src/main/java/com/vaadin/ui/Grid.java
server/src/main/java/com/vaadin/ui/GridLayout.java
server/src/test/java/com/vaadin/tests/server/component/gridlayout/GridLayoutTest.java
shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java [new file with mode: 0644]
shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java
themes/src/main/themes/VAADIN/themes/valo/components/_escalator.scss
themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss
uitest/src/main/java/com/vaadin/tests/components/grid/HorizontalScrollAfterResize.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java
uitest/src/main/java/com/vaadin/tests/components/textfield/TextChangeEvents.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridMissingProperty.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/v7/tests/components/grid/basicfeatures/GridBasicFeatures.java
uitest/src/main/java/com/vaadin/v7/tests/components/textfield/TextChangeEvents.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/HorizontalScrollAfterResizeTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/textfield/TextChangeEventsTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridMissingPropertyTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/v7/tests/components/textfield/TextChangeEventsTest.java [new file with mode: 0644]