]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoMake RpcDataProviderExtension more generic (#19266) feature/combobox-communication
Teemu Suo-Anttila [Wed, 18 Nov 2015 11:35:05 +0000 (12:35 +0100)]
Make RpcDataProviderExtension more generic (#19266)

Change-Id: I3099f2568b70670248983f735aa6cbac46238b34

9 years agoMinor ComboBox client side cleanup (#19929)
Henri Sara [Thu, 12 Nov 2015 10:46:11 +0000 (12:46 +0200)]
Minor ComboBox client side cleanup (#19929)

Remove unused references to immediate flags.

Change-Id: I780fcf44f9824a132acb35d37d40d8c969d4f0f3

9 years agoMove combo box selection update logic to handler (#19929)
Henri Sara [Wed, 11 Nov 2015 10:27:03 +0000 (12:27 +0200)]
Move combo box selection update logic to handler (#19929)

Move logic related to updating the selection to the handler and
VFilterSelect.

Change-Id: I537d3cd23a3e990de1be578a506029c930c55da7

9 years agoMove more combo logic to handler (#19929)
Henri Sara [Wed, 11 Nov 2015 09:17:57 +0000 (11:17 +0200)]
Move more combo logic to handler (#19929)

- Move waitingForFilteringResponse etc. to the data received
handler.
- Change some setters to parameterless methods that trigger a
state transition.

Change-Id: Ifb92207853d4ec76db846945f69a426c885562ed

9 years agoUse a separate data received handler in VFilterSelect (#19929)
Henri Sara [Wed, 11 Nov 2015 08:50:11 +0000 (10:50 +0200)]
Use a separate data received handler in VFilterSelect (#19929)

Move parts of the request handling to a separate handler
class that keeps track of the current communication state etc.

This is an intermediate change. Later changes should move
waitingForFilteringResponse etc. to the handler.

Change-Id: I762d15cc4b54ead3003e6d9d913e2a975256644c

9 years agoMove combo popup opener clicked flag to connector (#19929)
Henri Sara [Tue, 10 Nov 2015 12:42:41 +0000 (14:42 +0200)]
Move combo popup opener clicked flag to connector (#19929)

The flag is only used by the connector to temporarily block
certain operations.

Change-Id: I90cabcb26d938a6db342ff549ac2e4b8d8998aeb

9 years agoRefactor ComboBox pending selection handling (#19929)
Henri Sara [Tue, 10 Nov 2015 12:28:12 +0000 (14:28 +0200)]
Refactor ComboBox pending selection handling (#19929)

Move the handling of selection when a navigation operation
pends on server reply to the connector, with a callback
that actually performs the selection.

Change-Id: I3fa95cda6d7e02ce5aa4140ed341b2d1ba74abfc

9 years agoUse accessors for combo internal state (#19929)
Henri Sara [Tue, 10 Nov 2015 11:44:33 +0000 (13:44 +0200)]
Use accessors for combo internal state (#19929)

This is an intermediate step towards refactoring the
communication related client side internal state management.

Change-Id: I31ba382fb195b7b7c80de35f464db2510ecd9515

9 years agoRemove obsolete code (#19929)
Henri Sara [Tue, 10 Nov 2015 08:31:12 +0000 (10:31 +0200)]
Remove obsolete code (#19929)

A previous change left a few obsolete lines related to
pageLength in ComboBoxConnector.updateFromUIDL().
Those are removed here.

Change-Id: I4c2d151afbb1acf604e4c24ed320b12ce5632b1f

9 years agoRemove UIDL references in VFilterSelect (#19929)
Henri Sara [Mon, 9 Nov 2015 13:00:50 +0000 (15:00 +0200)]
Remove UIDL references in VFilterSelect (#19929)

Change-Id: I403ca3a62e04c03594608fd5d75a97991f7dda3d

9 years agoRefactor ComboBox item painting (#19929)
Henri Sara [Mon, 9 Nov 2015 12:52:46 +0000 (14:52 +0200)]
Refactor ComboBox item painting (#19929)

This is an intermediate step towards a different approach
to sending items from server to client.

An unused null selection item attribute was removed, as the
information is currently communicated outside the item.

Change-Id: I9c08d627bcf48fd42793595795aeb3ac49c2fef6

9 years agoRequest ComboBox pages with RPC (#19929)
Henri Sara [Mon, 9 Nov 2015 10:58:52 +0000 (12:58 +0200)]
Request ComboBox pages with RPC (#19929)

All client to server communication of ComboBox is now done
with RPC.

There is still an empty changeVariables() methods to
override the default behavior in AbstractSelect.

Change-Id: Ic11ea48cac1846272609f6e4107bb0006d18494c

9 years agoMove ComboBox filtering mode to state (#19929)
Henri Sara [Mon, 9 Nov 2015 10:42:25 +0000 (12:42 +0200)]
Move ComboBox filtering mode to state (#19929)

Change-Id: Ida38de55e1fc06aa6ec5e693f34cd5bc14ac4fc5

9 years agoMove ComboBox pageLength to state (#19929)
Henri Sara [Mon, 9 Nov 2015 10:33:07 +0000 (12:33 +0200)]
Move ComboBox pageLength to state (#19929)

Use shared state for the page length and update related tests.
This change also removes an unused widget field.

Change-Id: Id8719661121a9570be40028da09e32f27bec82b5

9 years agoSend ComboBox selection with RPC (#19929)
Henri Sara [Fri, 6 Nov 2015 08:54:10 +0000 (10:54 +0200)]
Send ComboBox selection with RPC (#19929)

Send the selection from the client to the server with RPC.

Change-Id: Ic32d869c3dc2a8806f9c7cfd1f3db8263a5379a9

9 years agoSend ComboBox focus/blur with RPC (#19929)
Henri Sara [Thu, 5 Nov 2015 11:29:15 +0000 (13:29 +0200)]
Send ComboBox focus/blur with RPC (#19929)

Send focus and blur events using RPC instead of in UIDL.
This change does not use ConnectorFocusAndBlurHandler to preserve
old timings.

Change-Id: I1d58756e3955a11864b1ef00abcd27525a4db593

9 years agoCreate new items with RPC (#19929)
Henri Sara [Thu, 5 Nov 2015 11:06:20 +0000 (13:06 +0200)]
Create new items with RPC (#19929)

When the user creates a new item, send it with client to
server RPC.

Change-Id: I1b92073dc2791911e4916d17f749dc1f35e54bca

9 years agoMove ComboBox communication to connector (#19929)
Henri Sara [Thu, 5 Nov 2015 10:49:44 +0000 (12:49 +0200)]
Move ComboBox communication to connector (#19929)

This change extracts the client to server communication
methods of VFilterSelect and moves them to the connector.

Change-Id: I07f61abeda503de5d63e332d8ead10cf312115ba

9 years agoCreate ComboBoxServerRpc stub (#19229)
Henri Sara [Thu, 5 Nov 2015 09:16:55 +0000 (11:16 +0200)]
Create ComboBoxServerRpc stub (#19229)

Create an empty client to server RPC implementation for ComboBox.

Change-Id: I348208fefb267765814383559e55866bc0933e4b

9 years agoUse shared state in ComboBox (#19229)
Henri Sara [Thu, 5 Nov 2015 08:51:56 +0000 (10:51 +0200)]
Use shared state in ComboBox (#19229)

This change uses shared state for the read-only flag, text
input allowed flag and input prompt.

Change-Id: I3bdc6843288c5309311461a3d036293d79004e22

9 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

9 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

9 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

9 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

9 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

9 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

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

Change-Id: I9c8a3f3f4cfa375db8825019f3cd80a043424d88

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoAdd GridContextClickEvent with item ids, properties and section (#16855)
Teemu Suo-Anttila [Tue, 29 Sep 2015 10:59:06 +0000 (13:59 +0300)]
Add GridContextClickEvent with item ids, properties and section (#16855)

Change-Id: I03091a3a7a22a921c127ed0b37fe792871ba5edd

9 years agoAdd @since for 7.5.7 changes
Henri Sara [Sun, 4 Oct 2015 08:12:12 +0000 (11:12 +0300)]
Add @since for 7.5.7 changes

Change-Id: I253c6074167bae60149a5f2f0d22c6de160978d4

9 years agoMaking converted tb2 test more stable (#17947)
Johannes Tuikkala [Mon, 28 Sep 2015 11:49:08 +0000 (14:49 +0300)]
Making converted tb2 test more stable (#17947)

Change-Id: I60907930e702911af4de7bb339ddbdb8cbac758e

9 years agoAdd Tree.htmlContentsAllowed (#7717)
Leif Åstrand [Fri, 18 Sep 2015 13:54:46 +0000 (16:54 +0300)]
Add Tree.htmlContentsAllowed (#7717)

Change-Id: I5c773da806b8358ee203c9c12fd2e2b6fec1970f

9 years agoFix TreeTableContextClick support (#19056)
Teemu Suo-Anttila [Thu, 1 Oct 2015 14:48:40 +0000 (17:48 +0300)]
Fix TreeTableContextClick support (#19056)

Change-Id: Ib6bac73ba96c4919df2e1bf5c9c83160707530bb

9 years agoImplement ContextClickEvent for Table (#19042)
Teemu Suo-Anttila [Thu, 1 Oct 2015 08:53:23 +0000 (11:53 +0300)]
Implement ContextClickEvent for Table (#19042)

This patch also introduces a testing infrastructure for context click
event and listener testing.

Change-Id: I3aa88758278c91086df3d0971edb34914a93fd29

9 years agoDo not use getters/setters when mapping designer fields (#17388)
Artur Signell [Thu, 1 Oct 2015 18:05:29 +0000 (21:05 +0300)]
Do not use getters/setters when mapping designer fields (#17388)

Change-Id: I5c03beca2b5f00c6efb32980e5e5ddf36cc4f16a

9 years agoAdd support for ContextClickEvent in AbstractComponent (#19015)
Teemu Suo-Anttila [Mon, 28 Sep 2015 08:40:57 +0000 (11:40 +0300)]
Add support for ContextClickEvent in AbstractComponent (#19015)

Change-Id: I93d5d20925b8ac9b4b108ccc6deec2090e68aa0d