]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
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 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 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

9 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

9 years agoFix empty @since for 7.6.0.alpha7 7.6.0.alpha7
Markus Koivisto [Mon, 12 Oct 2015 13:30:22 +0000 (16:30 +0300)]
Fix empty @since for 7.6.0.alpha7

Change-Id: I8045727400c795fca78561c1a4c859595f7c53af

9 years agoRemove Guava dependency from Grid
Teemu Suo-Anttila [Mon, 5 Oct 2015 11:52:23 +0000 (14:52 +0300)]
Remove Guava dependency from Grid

This removes an external dependency to guava set helpers from the Grid
class.

Change-Id: I1d85b6c4090c0b5efa568135105933dab8f0b964

9 years agoRefactor DetailComponentManager to be a static nested class of Grid
Teemu Suo-Anttila [Tue, 29 Sep 2015 16:13:36 +0000 (19:13 +0300)]
Refactor DetailComponentManager to be a static nested class of Grid

While refactoring any special cases are removed. This needs Grid
extensions to have a way for adding and removing components from Grid.

Removing any and all parts of RpcDataProvider work towards having it
separate from Grid and maybe usable for other components as well.

Change-Id: Ia4e25d5f0acaf2085478346b0ff6e23c8334e1b9

9 years agoFix empty @since for 7.6.alpha7
Markus Koivisto [Fri, 9 Oct 2015 17:29:57 +0000 (20:29 +0300)]
Fix empty @since for 7.6.alpha7

Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d

9 years agoAdd Grid column resize event API (#16838)
Johannes Dahlström [Mon, 5 Oct 2015 14:46:28 +0000 (17:46 +0300)]
Add Grid column resize event API (#16838)

Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274

9 years agoWrite true boolean attibutes without ='' (#17583)
Leif Åstrand [Tue, 11 Aug 2015 07:17:07 +0000 (10:17 +0300)]
Write true boolean attibutes without ='' (#17583)

Also add missing test for GridLayout alignments

Change-Id: If553c9e254fb754cb020a63013bfcc9ecae3a056

9 years agoUpdate FontAwesome to 4.4.0 (#14555)
Artur Signell [Wed, 16 Sep 2015 10:57:23 +0000 (13:57 +0300)]
Update FontAwesome to 4.4.0 (#14555)

Change-Id: Ibc7d174970c154fce730341a8cfc240b8072633e

9 years agoRevert "connection: close" change for long polling (#18758)
Artur Signell [Thu, 3 Sep 2015 18:23:27 +0000 (18:23 +0000)]
Revert "connection: close" change for long polling (#18758)

This reverts commit 79c8c696c09b0a7cbe1f1863e6c7c165b2f5f19f

Change-Id: I364bc4a77cff36f319cec86a793806a0406f78b4

9 years agoFix stack overflows in ListDataSource ListWrapper (#19104)
Teemu Suo-Anttila [Fri, 9 Oct 2015 08:35:01 +0000 (11:35 +0300)]
Fix stack overflows in ListDataSource ListWrapper (#19104)

Change-Id: Ie04e673fcdb3ce0f63b07158b5cd9f128ea9c30e

9 years agoAdd Grid.deselectAll() (#18339)
Artur Signell [Mon, 3 Aug 2015 20:42:27 +0000 (23:42 +0300)]
Add Grid.deselectAll() (#18339)

Change-Id: I5d5237fcc06ae184a884cb17fa9b6eee5c37179a

9 years agoCorrect the place where attach events are fired (#16348)
Matti Tahvonen [Thu, 4 Jun 2015 10:38:27 +0000 (13:38 +0300)]
Correct the place where attach events are fired (#16348)

Change-Id: Ib0679cf893edda3206b858938c0684a242500cfb

9 years agoFix Checkbox event handling in Grid Editor (#19096)
Teemu Suo-Anttila [Thu, 8 Oct 2015 10:32:59 +0000 (13:32 +0300)]
Fix Checkbox event handling in Grid Editor (#19096)

This patch limits event preventDefault calls to happen only with Tab
navigation. No other events are prevented by default anymore. Earlier
implementation that prevented too many events was in patch for #16841

Change-Id: I78924d35c86b822295fdaf720b3e4540c43df5c0

9 years agoAdd javadoc for VaadinPortletSession (#19092)
Henri Sara [Wed, 7 Oct 2015 13:56:11 +0000 (16:56 +0300)]
Add javadoc for VaadinPortletSession (#19092)

This change removes deprecation of the class, but
leaves some methods subject to change in the future.

Change-Id: I4187c32c5439eb5db1e1466d4cb594eb06c86133

9 years agoReport user-resized column widths to server (#16838)
Johannes Dahlström [Tue, 29 Sep 2015 15:51:36 +0000 (18:51 +0300)]
Report user-resized column widths to server (#16838)

Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97

9 years agoAdd API for setting Grid columns resizable (#16838)
Johannes Dahlström [Tue, 29 Sep 2015 14:57:14 +0000 (17:57 +0300)]
Add API for setting Grid columns resizable (#16838)

By default columns can be drag-resized by the user. This can be changed on a
column-by-column basis.

Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b

9 years agoAdd DragHandle.java to file dependency list in build.xml
Patrik Lindström [Wed, 7 Oct 2015 14:43:49 +0000 (17:43 +0300)]
Add DragHandle.java to file dependency list in build.xml

Change-Id: Id88a32e299f9c806c194105d6da4f47567a62d51

9 years agoUpdate/add @since tags in javadoc
Henri Sara [Wed, 7 Oct 2015 11:39:00 +0000 (14:39 +0300)]
Update/add @since tags in javadoc

Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a

9 years agoAdd handles to Grid default header for column drag resize (#16838)
Patrik Lindström [Tue, 22 Sep 2015 09:01:17 +0000 (12:01 +0300)]
Add handles to Grid default header for column drag resize (#16838)

Change-Id: If8399a13585ae691ea3b3ee4a41a1a38b342adb9

9 years agoUse synthetic javascript events for IE browsers in context click tests
Teemu Suo-Anttila [Wed, 7 Oct 2015 09:43:12 +0000 (12:43 +0300)]
Use synthetic javascript events for IE browsers in context click tests

Change-Id: Ifdfac8f2088042e2eeb4618b66a9e4dc315f7e24

9 years agoRemove Grid EditorEvents and Listeners
Teemu Suo-Anttila [Wed, 7 Oct 2015 08:48:02 +0000 (11:48 +0300)]
Remove Grid EditorEvents and Listeners

The EditorEvent API is not mature and useful enough to be present in a
stable release.

Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53

9 years agoChange ValoIcons to ThemeIcons and moved to base (#18472)
Artur Signell [Thu, 1 Oct 2015 19:37:21 +0000 (22:37 +0300)]
Change ValoIcons to ThemeIcons and moved to base (#18472)

Change-Id: I7122252e9b238fdca0383d0698623fe5a9e3f262

9 years agoRename DesignFormatter.unencodeFromTextNode to decodeFromTextNode
Teemu Suo-Anttila [Wed, 7 Oct 2015 08:08:15 +0000 (11:08 +0300)]
Rename DesignFormatter.unencodeFromTextNode to decodeFromTextNode

Change-Id: I9e20fa21ae2f503a8d34740fcef860c66b369c7b

9 years agoFix test failure in IE10/IE11/Chrome
Artur Signell [Tue, 6 Oct 2015 15:50:36 +0000 (18:50 +0300)]
Fix test failure in IE10/IE11/Chrome

Change-Id: I41f4a14e014d10b851dc7ea479a3b00a5ebad8a2

9 years agoFix server side browser detection in Weblogic Portal (#7449)
Artur Signell [Mon, 5 Oct 2015 19:34:31 +0000 (22:34 +0300)]
Fix server side browser detection in Weblogic Portal (#7449)

Change-Id: I9622b92d58971ea55bc0e3cbde9300226fa2b18b

9 years agoDetect Atmosphere in the same way for servlets and portlets (#11493)
Artur Signell [Mon, 5 Oct 2015 13:41:40 +0000 (16:41 +0300)]
Detect Atmosphere in the same way for servlets and portlets (#11493)

Change-Id: I6c153291045a35f253cd7e6987d7eb90dbc93a1e

9 years agoMove session store/load/remove logic to service from session (#9782, #18998)
Artur Signell [Mon, 5 Oct 2015 16:58:28 +0000 (19:58 +0300)]
Move session store/load/remove logic to service from session (#9782, #18998)

The session storage logic when implemented in VaadinSession was and must be
partly static. This makes it impossible to override the storage logic.
To be able to support storage customizations for portals (storing using
APPLICATION_SCOPE), the logic was moved to VaadinService.

For portals, all storage operations now use APPLICATION_SCOPE. Previously
only the store operation was done using APPLICATION_SCOPE, leading to
some portals not being able to load the session at all (the default
scope for reading attributes in portals is PORTLET_SCOPE).

Change-Id: I3d112608d98c883a457e650c0a25bf10c81acc78

9 years agoFix adding to same parent, component shouldn't be removed (#16568)
Dmitrij Abolichin [Fri, 2 Oct 2015 21:38:31 +0000 (00:38 +0300)]
Fix adding to same parent, component shouldn't be removed (#16568)

Change-Id: I406058abbc4a28651b9103e7f0d7fbcbf0fa8984

9 years agoFix javadoc
Artur Signell [Tue, 6 Oct 2015 12:18:26 +0000 (15:18 +0300)]
Fix javadoc

Change-Id: Ifda7b33b21ebe5bccb34559d9dc7617a7898a39a

9 years agoAdd sampler to BuildDemos, support specifying branch for demo
Teemu Suo-Anttila [Tue, 6 Oct 2015 10:13:14 +0000 (13:13 +0300)]
Add sampler to BuildDemos, support specifying branch for demo

New way to add a built demo with specified branch uses a tuple with
the format ("URL", "branch"). The given branch will be used when
cloning the demo. Default branch is master and is used if no branch
is provided.

Change-Id: Ia3d648e9203296cecde8fd1e6d86613ac31a33d5

9 years agoAdd API for data destruction to DataGenerator interface (#19038)
Teemu Suo-Anttila [Mon, 5 Oct 2015 13:41:56 +0000 (16:41 +0300)]
Add API for data destruction to DataGenerator interface (#19038)

This patch provides destroyData implementation for all default data
generators.

Change-Id: I1458080ee0203a27b52e604d3a30c9e5240c0383

9 years agoAdd support for TreeContextClickEvents (#19062)
Teemu Suo-Anttila [Mon, 5 Oct 2015 08:23:46 +0000 (11:23 +0300)]
Add support for TreeContextClickEvents (#19062)

Tree connector now overrides the send context click event providing the
row key to the server-side via RPC call. This is then passed on to a
TreeContextClickEvent and fired to listeners.

This patch modifies the test base for context click testing by making it
tolerate 1 piksel differences. This was to fix any subpixel related
issues in coordinate comparison.

Change-Id: Iacced274a6b518b5f89378cbc32b8381362e1e4f

9 years agoProperly cleanup stream variables if DragAndDropWrapper is detached (#14882)
Artur Signell [Wed, 30 Sep 2015 14:05:24 +0000 (17:05 +0300)]
Properly cleanup stream variables if DragAndDropWrapper is detached (#14882)

If DragAndDropWrapper is removed from the UI for whatever reason before cleanup
happens, the UI can no longer be found through it. If we do not do cleanup, we
leave a reference hanging forever in ConnectorTracker.

Change-Id: I9fc3da5d616276a7810ddc4a18cbebf8621635fe

9 years agoAdd server-side unit tests for ContextClickEvent handling (#19015)
Teemu Suo-Anttila [Wed, 30 Sep 2015 13:45:52 +0000 (16:45 +0300)]
Add server-side unit tests for ContextClickEvent handling (#19015)

Change-Id: I682aff7495c1bfe8ea75a7fad00eb87374cd40fa