]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoFix LegacyComponentThemeChangeTest on Chrome 47
Henri Sara [Tue, 15 Dec 2015 13:41:53 +0000 (15:41 +0200)]
Fix LegacyComponentThemeChangeTest on Chrome 47

The test uses an Embedded component with non-existent Flash content.
This does not work on Chrome 47 so this change disables that part
of the test on Chrome like it was already disabled on IE8.

Change-Id: Ie60123247ec45b2138202fccd73d794bf98e533e

8 years agoFix text selection and context click events for Android devices (#19367)
Teemu Suo-Anttila [Tue, 15 Dec 2015 11:39:12 +0000 (13:39 +0200)]
Fix text selection and context click events for Android devices (#19367)

Text and element selection needs to be disabled on touch start for
Android as well. Other touch event handling used by iOS devices is not
used on Android.

Change-Id: I7f17af437ddf4f7b747232fbd19b2cd5c825c0e2

8 years agoIgnore empty style names from Grid Row and CellStyleGenerators (#19364)
Teemu Suo-Anttila [Mon, 14 Dec 2015 12:14:18 +0000 (14:14 +0200)]
Ignore empty style names from Grid Row and CellStyleGenerators (#19364)

Change-Id: I07b241f40bcb20b92f9eea48036724dd91ecc985

8 years agoPrevent text selection on iOS devices with long tap (#19367)
Teemu Suo-Anttila [Tue, 15 Dec 2015 11:19:16 +0000 (13:19 +0200)]
Prevent text selection on iOS devices with long tap (#19367)

Text or elements should not get selected when there's a context click
listener. Pre-emptively prevent text selection for the whole widget when
that happens.

Change-Id: I3c09d8b2c25d383d6abe079f0fee3809cf5838c7

8 years agoAdd a method to clear selected text on context click (#19367)
Teemu Suo-Anttila [Fri, 11 Dec 2015 12:39:56 +0000 (14:39 +0200)]
Add a method to clear selected text on context click (#19367)

Change-Id: Id7ec7013bcff446cdf3ce0f2088cb20b0708a56b

8 years agoFix mouse wheel scrolling of ComboBox in IE11 (#16918)
Anna Koskinen [Wed, 25 Feb 2015 11:43:39 +0000 (13:43 +0200)]
Fix mouse wheel scrolling of ComboBox in IE11 (#16918)

IE11 is broken so that the simple implementation always moves up on any
mouse wheel event. Therefore, this change borrows the approach taken by
Escalator for low-level handling of mouse wheel events in a way compatible
with all supported browsers.

Change-Id: I98c89d3ccfeea38d6a454ef708f0eb7d1d3f480c

8 years agoFix RpcDataProvider listener handling on ItemSetChange (#19371)
Teemu Suo-Anttila [Mon, 14 Dec 2015 08:40:06 +0000 (10:40 +0200)]
Fix RpcDataProvider listener handling on ItemSetChange (#19371)

Old ValueChangeListeners are discarded and new ones created when an
ItemSetChange occurs. This is done to reapply the listeners to possibly
recreated Items.

Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7

8 years agoFix and extend Javadoc for setFirstDayOfWeek (#19227)
Leonid Rozenblyum [Sat, 5 Dec 2015 17:30:41 +0000 (19:30 +0200)]
Fix and extend Javadoc for setFirstDayOfWeek (#19227)

The Javadoc was incorrect saying the method goal was to set the first
day of week depending on locale. Actual main goal - to set it in
independent way.
Also extended the doc to look more complete.
Change-Id: I2c82c774f4e245437b03c0bd0246a0361584d949

8 years agoFix selecting a row that was deselected on the server (#19360)
Teemu Suo-Anttila [Fri, 11 Dec 2015 09:39:16 +0000 (11:39 +0200)]
Fix selecting a row that was deselected on the server (#19360)

Client-side connector of the SingleSelectionModel attempts to keep track
of currently selected row. This tracking gets lost when the row get
deselected on the server-side. Special case is now correctly handled.

Change-Id: I1c45548bd11536bc85cddbc2ba8b6225965c1194

8 years agoReapply DataGenerators when container changes (#19357, #19359)
Teemu Suo-Anttila [Fri, 11 Dec 2015 08:58:06 +0000 (10:58 +0200)]
Reapply DataGenerators when container changes (#19357, #19359)

Previously on container change Grid applied only its internal
DataGenerators to the new RpcDataProviderExtension. Now it goes through
all existing Extensions and adds all DataGenerators to the data
provider.

Change-Id: Idbd48e5152867b1d2b7a770741e3ea08aa4299b6

8 years agoEnable using custom overlay in VMenuBar (#19368)
Henri Sara [Fri, 11 Dec 2015 13:22:10 +0000 (15:22 +0200)]
Enable using custom overlay in VMenuBar (#19368)

This helps resolve context menu add-on issue #3 and reduce code
duplication.

Change-Id: I2a9b583d045e1654577f5a6ee3f55d8c4ab30582

8 years agoUpdate to Chrome 47
elmot [Tue, 8 Dec 2015 20:53:25 +0000 (22:53 +0200)]
Update to Chrome 47

Change-Id: Id06cb7317c107f3714336e7b2c7ba791f41e51bf

8 years agoFormat recommended git settings as code
Leif Åstrand [Thu, 3 Dec 2015 12:44:32 +0000 (14:44 +0200)]
Format recommended git settings as code

Change-Id: If392ebe303573aa74334923824e3566d943cda94

8 years agoRevert "Merge branch 'documentation'" 7.6.0.beta2
Ilia Motornyi [Thu, 3 Dec 2015 14:59:05 +0000 (14:59 +0000)]
Revert "Merge branch 'documentation'"

This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00.

Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf

8 years agoRevert "BoV 7.6 update - Grid (#19317)"
Ilia Motornyi [Thu, 3 Dec 2015 14:58:15 +0000 (14:58 +0000)]
Revert "BoV 7.6 update - Grid (#19317)"

This reverts commit a20e5be94fc13058a61ff27c1398052828c00d7b.

Change-Id: I0a7d02b9b13d1eabf3b0360a7b86def8fa974009

8 years agoBoV 7.6 update - Grid (#19317)
elmot [Fri, 27 Nov 2015 16:26:21 +0000 (18:26 +0200)]
BoV 7.6 update - Grid (#19317)

Change-Id: I7bd41d656a5ed39e24beea4111d9a48de4ef37b5

8 years agoMerge "Merge branch 'documentation'"
elmot [Thu, 3 Dec 2015 14:36:51 +0000 (14:36 +0000)]
Merge "Merge branch 'documentation'"

8 years agoCheck for optimizations when looking for missing updates (#18317)
Leif Åstrand [Thu, 3 Dec 2015 11:10:25 +0000 (13:10 +0200)]
Check for optimizations when looking for missing updates (#18317)

A recently merged patch leaves out information from hierarchyInfo for
empty connectors with state changes. This must be taken into account
when looking for disappeared connectors that do not cause any hierarchy
change to be sent.

Change-Id: I9ae7150341a83798141d0a2806ee81cafe7c2f9a

8 years agoRemove VOverlay dependency and use PopupPanel instead in Grid (#18698)
Teemu Suo-Anttila [Tue, 24 Nov 2015 09:35:35 +0000 (11:35 +0200)]
Remove VOverlay dependency and use PopupPanel instead in Grid (#18698)

Change-Id: Id28a9fa8a204c1e2a12160e2e1dba1823f3726a5

8 years agoAdd missing @since values
Henri Sara [Wed, 2 Dec 2015 13:26:29 +0000 (15:26 +0200)]
Add missing @since values

Change-Id: I602b9fc4c87a19a78f949a23519c412aba789baa

8 years agoDetect hierarchy changes not sent to the client (#18317)
Leif Åstrand [Fri, 19 Jun 2015 12:34:29 +0000 (15:34 +0300)]
Detect hierarchy changes not sent to the client (#18317)

Change-Id: I77b420738738a42ff50e2a509e4ac4072b1b6e1f

8 years agoUpgrade Sass compiler to 0.9.13
Henri Sara [Wed, 2 Dec 2015 08:41:59 +0000 (10:41 +0200)]
Upgrade Sass compiler to 0.9.13

Change-Id: I7caefc58a1b41f726b039b1e230fd3d2e931a2c3

8 years agoImprove BuildDemos exception handling
Teemu Suo-Anttila [Wed, 2 Dec 2015 10:50:06 +0000 (12:50 +0200)]
Improve BuildDemos exception handling

Change-Id: Iee29e3686a60c889e6bffa7ffe0a447f14d7afa2

8 years agoGet revision numbers for tagging from TeamCity
Henri Sara [Wed, 2 Dec 2015 10:32:47 +0000 (12:32 +0200)]
Get revision numbers for tagging from TeamCity

Optionally get revision numbers to tag from TeamCity.

If no revision numbers are given, a placeholder is used in the
generated script.

Change-Id: Ic266a22e06fd470e2c2e0647b8d83870ffc650ab

8 years agoFail during compile if required methods are missing (#18924)
Leif Åstrand [Fri, 18 Sep 2015 08:27:18 +0000 (11:27 +0300)]
Fail during compile if required methods are missing (#18924)

A ComponentConnector must override either getWidget or createWidget for
the framework to know the type of the component's widget. Similarly
either getRenderer och createRenderer must be overridden for
AbstractRendererConnector.

Prior to this patch, the compilation succeeded when critical methods
were missing - the user just got various hard-to-debug issues when the
broken connector was used.

Change-Id: I6ec07e2f1c1b15047802e64208485b1d999c0aee

8 years agoPrevent column drag resize from setting selection column width (#19324)
Teemu Suo-Anttila [Mon, 30 Nov 2015 12:28:58 +0000 (14:28 +0200)]
Prevent column drag resize from setting selection column width (#19324)

Change-Id: Ifd7a225ac8037a86e4a15603bf47ca93009fa302

8 years agoFix select all checkbox state update with low row count (#19322)
Teemu Suo-Anttila [Mon, 30 Nov 2015 11:39:28 +0000 (13:39 +0200)]
Fix select all checkbox state update with low row count (#19322)

Change-Id: Ifbaeb2db18ecb6657ae839fec90dbfcaa99be4ac

8 years agoUnify select all behavior with single row selection. (#17742)
Sauli Tähkäpää [Sat, 29 Aug 2015 20:00:21 +0000 (23:00 +0300)]
Unify select all behavior with single row selection. (#17742)

Change-Id: I6481bf6f429046166dd0502a62b22aea51f5a0bd

8 years agoUpgrade to Atmosphere-js 2.2.13-vaadin1 (#19323)
Johannes Dahlström [Thu, 26 Nov 2015 12:35:29 +0000 (14:35 +0200)]
Upgrade to Atmosphere-js 2.2.13-vaadin1 (#19323)

Fixes at least #19201.

Change-Id: I284c93e6b47ea916a991c8c2b495823cb86ebfce

8 years agoRemove bogus comment
Leif Åstrand [Mon, 30 Nov 2015 07:52:39 +0000 (09:52 +0200)]
Remove bogus comment

The comment was introuced in commit da29f74 for a constant named
CLICK_EVENT_ID, but it was accidentally left in the code when that
constant was removed.

Change-Id: I69697f517585cafb30cc223497bc8db4a919e884

8 years agoAdd stylename to sortable Table header cells (#8219)
Leif Åstrand [Thu, 19 Nov 2015 12:31:46 +0000 (14:31 +0200)]
Add stylename to sortable Table header cells (#8219)

Change-Id: I4774b4079f5c564fdc67e8cabf89278ad7cf2f6f

8 years agoRepackage spinner.gif to reduce size
Teemu Suo-Anttila [Thu, 26 Nov 2015 13:31:02 +0000 (15:31 +0200)]
Repackage spinner.gif to reduce size

Change-Id: I44c38cdcf33de7b08e1e1d038b81ec9e68fe465a

8 years agoUse wider age column in GridThemeUI
Teemu Suo-Anttila [Thu, 26 Nov 2015 08:41:12 +0000 (10:41 +0200)]
Use wider age column in GridThemeUI

This patch is to test the theme, and not testing a defect (#16597).
Testing with defective screenshots causes problems if the defect is at a
later point fixed.

Change-Id: I3a20d0c6ab79c812752ee5d2765d91a2304e6d0e

8 years agoFix GridMultiSortingTest click coordinates to avoid column resize
Teemu Suo-Anttila [Wed, 25 Nov 2015 14:16:36 +0000 (16:16 +0200)]
Fix GridMultiSortingTest click coordinates to avoid column resize

Change-Id: I79da24a71576fb91db5366afe1dfc17edc7c86f9

8 years agoFix setSelected in MultiSelectionModel to update row data (#19302)
Teemu Suo-Anttila [Wed, 25 Nov 2015 10:20:24 +0000 (12:20 +0200)]
Fix setSelected in MultiSelectionModel to update row data (#19302)

Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa

8 years agoAdd stylename to sortable Grid header cells (#16991)
Leif Åstrand [Thu, 19 Nov 2015 13:10:56 +0000 (15:10 +0200)]
Add stylename to sortable Grid header cells (#16991)

Change-Id: I6c151829236928129c258a99177431d0b972f146

8 years agoSet session as current while deserializing (#9953)
Leif Åstrand [Mon, 26 Oct 2015 15:44:44 +0000 (15:44 +0000)]
Set session as current while deserializing (#9953)

Change-Id: Ib420f99c621b7d508659907615a7e8a1ae47b4d9

8 years agoIgnore log file created in some cases
Leif Åstrand [Mon, 14 Sep 2015 18:17:51 +0000 (21:17 +0300)]
Ignore log file created in some cases

Change-Id: I74e1a52d138c9fdfaf15b227261f2977b13289d9

8 years agoFix javadoc copied from CellStyleGenerator
Leif Åstrand [Wed, 9 Sep 2015 10:22:05 +0000 (13:22 +0300)]
Fix javadoc copied from CellStyleGenerator

Change-Id: I305c0aaeba04c4c1416ecebd708f377f8f28f4a1

8 years agoOmit empty hierarchy data from the response (#18510)
Leif Åstrand [Sat, 25 Jul 2015 09:14:30 +0000 (12:14 +0300)]
Omit empty hierarchy data from the response (#18510)

Reduces the payload size for the "Update all labels" action with 40
layouts in BasicPerformanceTest by 16% (from 11087 to 9270 bytes). The
reduction is improved to 22% (1855 to 1455) if the response is gzipped
since the omited data doesn't compress very well.

Change-Id: I1d2837c93222fffa59b14836f162e3e87349e086

8 years agoAdd comment explaining the dummy read in setStyleTemporarily
Leif Åstrand [Tue, 24 Nov 2015 13:32:49 +0000 (15:32 +0200)]
Add comment explaining the dummy read in setStyleTemporarily

Change-Id: I763f3c68a3c9e471f9e5df21bbfbce41be17117c

8 years agoMove capability handling from MultiBrowserTest to super class
Teemu Suo-Anttila [Thu, 5 Nov 2015 14:12:00 +0000 (16:12 +0200)]
Move capability handling from MultiBrowserTest to super class

Capabilities should be set the same way in SingleBrowserTests as well,
not just MultiBrowserTests.

Change-Id: Ifed8534b87bbe45fd90fe0e7110e26a5344c5540

8 years agoFix some TB2 tests for Calendar (#19227)
Henri Sara [Mon, 16 Nov 2015 12:13:32 +0000 (14:13 +0200)]
Fix some TB2 tests for Calendar (#19227)

Fix the commands in some TB2 tests broken by the test change
from #19227.
Screenshots of several calendar tests including these also
need to be updated.

Change-Id: I3bb000fccb9772ffe5be4ceebb599cc7c1f9697f

8 years agoMerge branch 'documentation'
elmot [Mon, 23 Nov 2015 12:56:59 +0000 (14:56 +0200)]
Merge branch 'documentation'

Change-Id: I6ef85a35077e6278831b968595c068898cee2770

8 years agoAdd javadoc in ServerConnector
Henri Sara [Mon, 23 Nov 2015 10:23:12 +0000 (12:23 +0200)]
Add javadoc in ServerConnector

Add missing javadoc for ServerConnector.get/setChildren().

Change-Id: I7ba143d41602a5f2a069635911a0ea61a92806e6

8 years agoTypo in setCompositionRoot description
cbmeeks [Thu, 20 Aug 2015 17:24:54 +0000 (13:24 -0400)]
Typo in setCompositionRoot description

Change-Id: I26bbf29742ab42e2c9c4025a3cf92029a4c191e3

8 years agofixed missing image in datamodel/datamodel-overview.asciidoc
Jens Jansson [Tue, 13 Oct 2015 07:14:01 +0000 (10:14 +0300)]
fixed missing image in datamodel/datamodel-overview.asciidoc

Change-Id: I376fc5ebe1a9ef65fa6c84bb5d84d41cbc785183

8 years agoAdd space before section links
Leif Åstrand [Wed, 7 Oct 2015 06:12:38 +0000 (09:12 +0300)]
Add space before section links

Change-Id: I59a3d756a26270119d40940d3e61bbab61f0db14

8 years agoIsolate text selection blocking to Grid instead of body element (#16838)
Teemu Suo-Anttila [Fri, 20 Nov 2015 10:26:21 +0000 (11:26 +0100)]
Isolate text selection blocking to Grid instead of body element (#16838)

Some themes are more explicit with user-select rules, and doing this on
the level of body element does not work with said themes. To make all
the themes behave the same way, we only block selection inside of Grid.

Change-Id: Iaf24fede88e4bc683e065c214e7baf3f545c99c9

8 years agoPrevent text selection while DnD resizing columns (#16838)
Teemu Suo-Anttila [Wed, 18 Nov 2015 10:46:23 +0000 (11:46 +0100)]
Prevent text selection while DnD resizing columns (#16838)

This patch uses a JavaScript workaround to prevent text selection in IE8
and IE9 and Safari.

The selection is prevented everywhere in the DOM while a column is
resizing.

Change-Id: I1e7b9cdc675c83a9666493d8545337d601e40077

8 years agoRemove border on immediate child cells only on Valo. (#18787)
Sauli Tähkäpää [Sun, 6 Sep 2015 10:48:57 +0000 (13:48 +0300)]
Remove border on immediate child cells only on Valo. (#18787)

Change-Id: I87825ea46fbcea98b054d3dc2eb3fe80781a9d48

8 years agoSupport on-the-fly compiled CSS hot reload from classpath (#16949)
Vladimir Kulev [Mon, 16 Nov 2015 22:40:27 +0000 (00:40 +0200)]
Support on-the-fly compiled CSS hot reload from classpath (#16949)

Change-Id: Iadb9b23697c162705d99a7b9b7fd992766d39b19

8 years agoAdd missing export declaration to the manifest of vaadin-push.jar (#18190)
Markus Koivisto [Mon, 16 Nov 2015 13:35:42 +0000 (15:35 +0200)]
Add missing export declaration to the manifest of vaadin-push.jar (#18190)

Change-Id: I2874d3a065ad825e40e71c0167fc9ffb48ee1f5d

8 years agoUse TabState.id for Accordion tab items as well (#18456)
pag [Fri, 13 Nov 2015 16:10:45 +0000 (17:10 +0100)]
Use TabState.id for Accordion tab items as well (#18456)

Change-Id: I17206081109b2ec356d175915a16b0002a858bb4

8 years agoAdd some performance guidance to renderer javadocs.
Leif Åstrand [Fri, 13 Nov 2015 08:58:35 +0000 (10:58 +0200)]
Add some performance guidance to renderer javadocs.

Change-Id: I5171c6eb6360a9c85b8afbc3096d9b6c5c8f4064

8 years agoMention cell being a flyweight in WidgetRenderer javadocs
Leif Åstrand [Fri, 13 Nov 2015 07:22:34 +0000 (09:22 +0200)]
Mention cell being a flyweight in WidgetRenderer javadocs

Change-Id: I41de3d75e1141856bb6132aeca11abff4bc7e08f

8 years agoDo not modify state while serializing (#19090)
Artur Signell [Fri, 9 Oct 2015 20:44:47 +0000 (23:44 +0300)]
Do not modify state while serializing (#19090)

Serializing an object should never modify its internal state.
It should be possible to serialize an object multiple times and get
the same result

Change-Id: I983e2eec1b3fb374bf40f150bdb9918ac5791d62

8 years agoFix outdated javadoc reference
Leif Åstrand [Wed, 11 Nov 2015 12:16:42 +0000 (12:16 +0000)]
Fix outdated javadoc reference

Change-Id: I0bfae621ca71df02e5e19c33d4c21498fa86616c

8 years agoSpecify custom first day of week for Calendar #19227
Leonid Rozenblyum [Wed, 4 Nov 2015 10:18:46 +0000 (12:18 +0200)]
Specify custom first day of week for Calendar #19227

Added possibility to provide first day of week independent of Locale.
(the Calendar code has been reformatted according to Eclipse 'Save
action'). Unit-tests added. UI test extended.

Change-Id: I3e3531228c139ce2014a1227e47c12e7896a6f87

8 years agoAdd destroy method for Navigator (#10213).
Denis Anisimov [Sun, 5 Oct 2014 10:29:25 +0000 (13:29 +0300)]
Add destroy method for Navigator (#10213).

Change-Id: Icb2676bd603bbe36a8d7d005128036234a5a0c62

8 years agoOptimize layout performance of Table (#17947)
jotatu [Fri, 7 Aug 2015 11:45:50 +0000 (14:45 +0300)]
Optimize layout performance of Table (#17947)

Adds functions for skipping child component layout measuring.
Removes unnecessary code from VScrollTable.

1. case: no components

- render time without the fix: ~105ms
- render time with fix: ~105ms

2. case: 2 button and 2 textfield cols

- render time without the fix: ~279ms
- render time with fix: ~240ms (~17% faster)

3. case: 3 button and 3 textfield cols

- render time without the fix: ~350ms
- render time with fix: ~281ms (~20% faster)

Change-Id: I6025f8ee2fd438d228ff3b65f43535961cf12c0b

8 years agoTest for table column hiding and sizes (#12303)
Ilya Ermakov [Fri, 5 Dec 2014 10:14:32 +0000 (13:14 +0300)]
Test for table column hiding and sizes (#12303)

Test to verify that the column width is not changed when toggling
its visibility.

Change-Id: I48c62b72bf7e66740ec516d43bc9b5995c1fefb4

8 years agoRender null header caption as empty (#18553)
Artur Signell [Wed, 2 Sep 2015 17:45:30 +0000 (20:45 +0300)]
Render null header caption as empty (#18553)

Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d

8 years agoChanged grid sidebar to overlay (#18698)
mtzukanov [Thu, 15 Oct 2015 10:47:23 +0000 (13:47 +0300)]
Changed grid sidebar to overlay (#18698)

Previously grid sidebar could be partially hidden by
"overflow: hidden" of an ancestor component.
Now it's in an overlay and the hierarchy doesn't affect it.
Grid tests were also updated for new DOM structure.

Change-Id: Ic5fb125d9c097be0f0141c121dfe74d30e650dd0

8 years agoForce FormLayout children to shrink with the layout (#11154)
Leif Åstrand [Fri, 28 Aug 2015 18:47:26 +0000 (21:47 +0300)]
Force FormLayout children to shrink with the layout (#11154)

The <table> used by the FormLayout doesn't reduce its size if any child
component has locked its own size (which is the case with e.g. Table and
some other components doing explicit pixel calculations). To work around
this, we need to detect the situation, force the <table> to reduce its
width by temporarily assigning explicit widths to the cells and then
remove the forced size after all children have adjusted.

Change-Id: Iacef62979acf24c869a5cbeb82efb0c1e537ec95

8 years agoMention quirks with JavaScript "this" in AbstractJavaScript* javadocs
Leif Åstrand [Mon, 26 Oct 2015 16:13:54 +0000 (16:13 +0000)]
Mention quirks with JavaScript "this" in AbstractJavaScript* javadocs

Change-Id: I512b861c65f8c0f6c6e8f684cb933cbcc20cdb99

8 years agoReset sort indicator when saving editor. (#17428)
Sauli Tähkäpää [Thu, 3 Sep 2015 19:21:40 +0000 (22:21 +0300)]
Reset sort indicator when saving editor. (#17428)

Change-Id: Idaaf707bdb4178ff4ff5dfc7af853f08d5690b5e

8 years agoFix javadoc typos
Leif Åstrand [Mon, 2 Nov 2015 10:32:38 +0000 (10:32 +0000)]
Fix javadoc typos

Change-Id: I9c8a3f3f4cfa375db8825019f3cd80a043424d88

8 years agoTouch long tap context click emulation improvements (#19222)
Markus Koivisto [Wed, 28 Oct 2015 17:23:22 +0000 (19:23 +0200)]
Touch long tap context click emulation improvements (#19222)

Removed Android handling since it already fires a context menu event
when not selecting text. Increased the threshold for iOS move. Prevent
some browser default functionality on TouchEnd after sending context
click event to server.

Change-Id: I9297a5738e593a260b50ba176d483fbdd3293ba3

8 years agoNull pointer Exception in Slot.onBrowserEvent (#16587)
pag [Sat, 10 Oct 2015 17:17:50 +0000 (19:17 +0200)]
Null pointer Exception in Slot.onBrowserEvent (#16587)

Change-Id: I60f68cf7a9e61980809af253bb4f4a0ab92f1230

8 years agoFixes column header drop indicator (#18925)
mtzukanov [Thu, 22 Oct 2015 10:52:39 +0000 (13:52 +0300)]
Fixes column header drop indicator (#18925)

Calculation of the frozen column width was wrong in multiselect mode.
It did not take into account the last frozen column, but added
the select column twice.
The same problem was in AutoScroller (as the same methods were
copy-pasted there), for which reason the autoscrolling was not
scrolling till the end.
This patch fixes the calculation error and removes copy-pasted code,
reusing the same code in both places.

Change-Id: I164e2fc96688088b620ad8785c533c593723f83e

8 years agoRelease notes: add enhancements for 7.6
Henri Sara [Wed, 28 Oct 2015 10:37:18 +0000 (12:37 +0200)]
Release notes: add enhancements for 7.6

Change-Id: I24c47abe189c3733e955e261dbf5d584f46d75b4

8 years agoPrevent text selection when drag-resizing Grid columns (#16838)
Johannes Dahlström [Wed, 28 Oct 2015 08:15:06 +0000 (10:15 +0200)]
Prevent text selection when drag-resizing Grid columns (#16838)

This patch uses CSS user-select and therefore does not fix IE 8 and 9.

Change-Id: If9f462d97b9417b3d14f37d1e7f0cedba018be37

8 years agoLet column resize handle overflow its parent (#16838)
Johannes Dahlström [Thu, 22 Oct 2015 16:00:16 +0000 (19:00 +0300)]
Let column resize handle overflow its parent (#16838)

Change-Id: I795956a4512f1e6e688e1e3c0522cc952117d78f

8 years agoSupport caption fetching for HTML and Widget headers. (#18528)
Sauli Tähkäpää [Fri, 28 Aug 2015 10:36:01 +0000 (13:36 +0300)]
Support caption fetching for HTML and Widget headers. (#18528)

Change-Id: Idad2cbbb6b138258ff6428e7ecc3d922ef99c675

8 years agoFix VAbstractOrderedLayout widget removal race condition (#18703) 7.6.0.beta1
Teemu Suo-Anttila [Tue, 27 Oct 2015 15:19:46 +0000 (17:19 +0200)]
Fix VAbstractOrderedLayout widget removal race condition (#18703)

Removing a widget that got moved to another layout occasionally caused
slot to lose track of related widget. As a result the layout never
created a new slot when the same widget is put back in there.

Change-Id: I0d8793324b8a5ac8a06aa2803ac8de22b90b7545

8 years agoFix TreeTableContextClickTest to not scroll vertically on IE
Teemu Suo-Anttila [Tue, 27 Oct 2015 13:58:41 +0000 (15:58 +0200)]
Fix TreeTableContextClickTest to not scroll vertically on IE

Too wide TreeTable in a UI causes IE to scroll vertically making
calculated positions fail miserably. Also makes context clicking in
AbstractContextClickTest avoid StaleElementReferenceExceptions.

Change-Id: Ic4f5049bf0c221eb441813d202b9de5571e655d6

8 years agoUpdate Chrome version string
Henri Sara [Tue, 27 Oct 2015 13:17:09 +0000 (15:17 +0200)]
Update Chrome version string

Change-Id: I9736e528d4812a613ffa934c476d3b69ccefd631

8 years agoAdd ContextClickEvent for touch events (#19206)
Markus Koivisto [Mon, 19 Oct 2015 08:51:03 +0000 (11:51 +0300)]
Add ContextClickEvent for touch events (#19206)

Touchstart events now fire a contextclick event if there is a context
click listener.

Refactored sendContextClickEvent to accomodate the change.

Change-Id: I9bce5948f89149e9ecb261cfd8ae918470ccec3e

8 years agoUpdate @since tags for 7.6
Henri Sara [Tue, 27 Oct 2015 10:44:50 +0000 (12:44 +0200)]
Update @since tags for 7.6

Change-Id: Ic0a9b69c535ec51ae29472844506efb61ec5f0a7

8 years agoFix Grid NPE when deselecting already removed row (#19152)
Teemu Suo-Anttila [Mon, 19 Oct 2015 11:43:06 +0000 (14:43 +0300)]
Fix Grid NPE when deselecting already removed row (#19152)

Change-Id: I1361c8099e9f4a95e991f4937a406c5e4db67027

8 years agoMake it possible to inject Navigators (#14006)
Henri Sara [Wed, 14 Oct 2015 16:49:45 +0000 (09:49 -0700)]
Make it possible to inject Navigators (#14006)

This change makes it possible to create an injectable subclass of
the navigator by providing a protected no-args constructor and a
separate initialization method.

Change-Id: I7d55fca2a84570d47e2767b0fb81a82e0732fd21

8 years agoMake Navigator more extensible
Henri Sara [Sun, 11 Oct 2015 14:41:07 +0000 (07:41 -0700)]
Make Navigator more extensible

The Spring, CDI etc. add-ons need hook points that permit switching
contexts at the right time. This was very hard to do due to the
monolithic nature of navigateTo() - beforeViewChange() is too early
and can be cancelled, afterViewChange() is too late.

Change-Id: I66ffbafe1597b782b4feaf2ebd0de3ca1941a9ae

8 years agoRemove scheduleDeferred calls from Escalator
Teemu Suo-Anttila [Tue, 13 Oct 2015 11:03:10 +0000 (14:03 +0300)]
Remove scheduleDeferred calls from Escalator

Change-Id: Idfde7842fd31be4b84a1436b40eaa932b6a6c349

8 years agoSet pixel sizes to Grid columns when user starts drag resize (#16838)
Johannes Dahlström [Tue, 13 Oct 2015 13:49:32 +0000 (16:49 +0300)]
Set pixel sizes to Grid columns when user starts drag resize (#16838)

This makes column resizes smoother and more intuitive.

Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc

8 years agoFix session wrap class javadocs
Leif Åstrand [Tue, 6 Oct 2015 05:57:20 +0000 (08:57 +0300)]
Fix session wrap class javadocs

Change-Id: I962facc5395990751821d11966300a7c2e89dc3d

8 years agoFix replacing of currently selected Tab (#14252)
Dmitrij Abolichin [Thu, 8 Oct 2015 22:21:44 +0000 (01:21 +0300)]
Fix replacing of currently selected Tab (#14252)

Change-Id: I49a86d2fceac233fdfd9e31d8ade519b9f8460b6

8 years agoVTree$TreeNode avoid NPE triggered by external ONLOAD events (#18563)
pag [Sat, 10 Oct 2015 15:05:37 +0000 (17:05 +0200)]
VTree$TreeNode avoid NPE triggered by external ONLOAD events (#18563)

If an ONLOAD event fires but the target is not the icon, an NPE
occurs. The isCaptionElement method has already used the check
against null before any call happens on the icon which logic is
enough for the onBrowserEvent check as well.

Change-Id: I64de45a07f50f113dcfcb4556f0d8adeea9e1b1b

9 years agoImplemented HasEnabled on VLink (#18530)
Marco Collovati [Sat, 19 Sep 2015 20:54:48 +0000 (22:54 +0200)]
Implemented HasEnabled on VLink (#18530)

Method setWidgetEnabled in AbstractComponentConnector,
called from updateEnabledState, sets enable state only for widgets
implementing HasEnabled interface.

Change-Id: Idc700d0c28efd13b9a9470333b19a1509cca4a51

9 years agoimproved javadocs
Matti Tahvonen [Sat, 17 Oct 2015 15:51:00 +0000 (08:51 -0700)]
improved javadocs

Change-Id: I75cf104b05ed361ced7f17b20cebd98cc3825d5c

9 years agoProvide own states for a number of components (#18987).
Denis Anisimov [Thu, 24 Sep 2015 08:53:58 +0000 (11:53 +0300)]
Provide own states for a number of components (#18987).

Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1

9 years agoFix Grid headers and Footers in Runo theme (#19141)
Teemu Suo-Anttila [Thu, 15 Oct 2015 11:55:20 +0000 (14:55 +0300)]
Fix Grid headers and Footers in Runo theme (#19141)

Change-Id: I76dcd437456351a8d5b0fffab6cc8bbfec6c2638

9 years agoRemove call to setEnabled in Grid Sidebar constructor (#19126)
Teemu Suo-Anttila [Tue, 13 Oct 2015 13:57:28 +0000 (16:57 +0300)]
Remove call to setEnabled in Grid Sidebar constructor (#19126)

Change-Id: I2b700c72bcdc0f3a6c75a5bfb31059a986bd4dc9

9 years agoJavadocs for new 7.6 API (#19135) and some fixes
elmot [Wed, 14 Oct 2015 13:59:40 +0000 (16:59 +0300)]
Javadocs for new 7.6 API (#19135) and some fixes

Change-Id: Ic93545c9c3ed48d6328ee29af744cbfbff0b5c0b

9 years agoSupport ContextClicks in empty areas of Table and TreeTable (#19130)
Teemu Suo-Anttila [Tue, 13 Oct 2015 15:07:55 +0000 (18:07 +0300)]
Support ContextClicks in empty areas of Table and TreeTable (#19130)

When the user clicks an empty area, the TableContextClickEvent will still
fire, but will have a null property.

Change-Id: I39303f1a72d072db09c4fe6df8141d6caf0764c2

9 years agoSupport Grid context click events in the empty areas of Grid (#19128)
Teemu Suo-Anttila [Tue, 13 Oct 2015 14:40:31 +0000 (17:40 +0300)]
Support Grid context click events in the empty areas of Grid (#19128)

Change-Id: Ia6aebc266c48fb284ebf8f7a89375390555d1bec

9 years agoRemoved unnecessary comments (#19116)
elmot [Tue, 13 Oct 2015 09:28:30 +0000 (12:28 +0300)]
Removed unnecessary comments (#19116)

Change-Id: Ia99bcc828bee1a82581bbe552a83ca50ce129b05

9 years agoUpdate release notes for Jsoup, Declarative and ContextClick changes
Teemu Suo-Anttila [Tue, 13 Oct 2015 13:32:09 +0000 (16:32 +0300)]
Update release notes for Jsoup, Declarative and ContextClick changes

Jsoup binary incompatibility between different versions.

Declarative default prefix is "vaadin-", not "v-".

ContextClickEvents added, specialised for Grid, Table, TreeTable and
Tree.

Change-Id: I6de7a35b52cbacb886753012b2ed5ecab46a4ed0

9 years agoMention reversed attach event order in release notes (#16348)
Johannes Dahlström [Tue, 13 Oct 2015 11:37:28 +0000 (14:37 +0300)]
Mention reversed attach event order in release notes (#16348)

Change-Id: I2f0c430deb6184890085e70ecbcd976c37a41d89

9 years agoMove RpcDataProviderExtension and DataGenerator to correct package
Teemu Suo-Anttila [Wed, 7 Oct 2015 10:40:29 +0000 (13:40 +0300)]
Move RpcDataProviderExtension and DataGenerator to correct package

New location is com.vaadin.server.communication.data as the extension
only manages the communication of container data to a client-side data
source.

Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17