]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoCall ComplexRenderer.setContentVisible() from Grid body updater #13334
John Ahlroos [Thu, 5 Jun 2014 06:53:44 +0000 (09:53 +0300)]
Call ComplexRenderer.setContentVisible() from Grid body updater #13334

Change-Id: Icba9d9f3e5cdc6412c9c004356c33304024be33b

10 years agoMerge remote-tracking branch 'origin/master' into grid
John Ahlroos [Mon, 16 Jun 2014 12:47:34 +0000 (15:47 +0300)]
Merge remote-tracking branch 'origin/master' into grid

Change-Id: I7af5740a55f2a3f0239f0a4b5544179c3e52a8cd

10 years agoSpeed up development server again by not eagerly initing all servlets
Artur Signell [Mon, 16 Jun 2014 10:25:06 +0000 (13:25 +0300)]
Speed up development server again by not eagerly initing all servlets

Change-Id: Iee32ef894cb50a4322f04250997ecfe032e570b1

10 years agoRefactored Layout tests. Remove errors (#13823)
Dmitrii Rogozin [Tue, 3 Jun 2014 11:51:42 +0000 (14:51 +0300)]
Refactored Layout tests. Remove errors (#13823)

Split tests into separate classes. Create hierarcy for tests.

Change-Id: I71e20a5410612f9a246bab051173e60768532185

10 years agoTweak quick setup instructions (#13616)
Leif Åstrand [Fri, 13 Jun 2014 09:40:51 +0000 (12:40 +0300)]
Tweak quick setup instructions (#13616)

- Change the order to install IvyDE before importing the project
- Explicitly mention the Ant tasks since it's such a common mistake

Change-Id: I1a9edc39f72c5fd4b31cdfe3db9b4fa87d6d8cf2

10 years agoUse more exact paths for ivysettings.xml and build.properties (#13616)
Leif Åstrand [Fri, 13 Jun 2014 06:44:54 +0000 (09:44 +0300)]
Use more exact paths for ivysettings.xml and build.properties (#13616)

Defining the paths to be relative to the workspace is needed for
compatibility with older versions of IvyDE / Eclipse. All other
dependencies are already defined in this way, it's only this new gwt
dependency that isn't consistent with the others.

Change-Id: Iad976566fc7927745fe5534951be1f476c810ff5

10 years agoEasier instructions thanks to GWT dependency (#13616)
Artur Signell [Thu, 12 Jun 2014 18:39:31 +0000 (21:39 +0300)]
Easier instructions thanks to GWT dependency (#13616)

Change-Id: I42034e50e314c13282614d5a7ab64368daca1b31

10 years agoUse GWT as maven dependency (#13616)
Sauli Tähkäpää [Tue, 6 May 2014 11:28:29 +0000 (14:28 +0300)]
Use GWT as maven dependency (#13616)

Change-Id: I283820c7dcca7ecd341949bb15275406fe378902

10 years agoUndefined width of Grid is 500px #13334
John Ahlroos [Thu, 12 Jun 2014 11:42:15 +0000 (14:42 +0300)]
Undefined width of Grid is 500px #13334

Change-Id: I32ac6bbf7f50696cb55da30f7bcab558e575203f

10 years agoRevert "Fix for 'Aborting layout after 100 passess' (#13359)"
Sauli Tähkäpää [Thu, 12 Jun 2014 10:55:12 +0000 (13:55 +0300)]
Revert "Fix for 'Aborting layout after 100 passess' (#13359)"

Causes regression with IE8:
http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020

Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690

10 years agoFix for handling selectors with both width and height ranges (#13587)
Teemu Pöntelin [Tue, 3 Jun 2014 18:00:48 +0000 (21:00 +0300)]
Fix for handling selectors with both width and height ranges (#13587)

This fix splits the used regular expressions into a more manageable
parts while fixing the handling of a case where both width-range and
height-range are defined. Also refactored some duplicate code into
a helper function.

Change-Id: I98295b8b0772b33a9985c0630e065eea2281d11d

10 years agoFix tooltip test problems caused by #12458
Henri Sara [Mon, 24 Mar 2014 14:32:20 +0000 (16:32 +0200)]
Fix tooltip test problems caused by #12458

Tooltips are no longer removed but moved outside the viewport,
which broke several tests.

Rewrite related tests using TB4 to be stable across all
browsers. There are differences between browsers (e.g.
position -999 or -1000, gwt-uid-* varied between browsers
etc.) so TB2 tests kept failing on some or all browsers.

Some tests have been renamed to better indicate what they
do.

Change-Id: Ia7276871f3c26d506dc70e1719347d020b547bfc

10 years agoMake tooltips stationary when hovering (#13981)
Juuso Valli [Fri, 6 Jun 2014 09:55:56 +0000 (12:55 +0300)]
Make tooltips stationary when hovering (#13981)

Change-Id: I44acce87ea5c37d7b210e6c6c3dd9cd511192524

10 years agoRemoves double spacing from gridLayout which has empty rows or columns (#8855)
Dmitrii Rogozin [Thu, 22 May 2014 11:04:48 +0000 (14:04 +0300)]
Removes double spacing from gridLayout which has empty rows or columns (#8855)

If row has no elements or only invisible elements, its size will be set to zero.

 When row expand ratio was set, its size will be assigned to the value according to an expand ratio.

If component takes several rows of the gridLayout, these rows are considered as non-empty and won't be removed.

Change-Id: I10ddd22a6c9535b9978769bab7b496e11a28b78a

10 years agoAdd scrollbars to ComboBox suggestion popup if low on screen estate (#11929)
Antti Tanhuanpää [Wed, 4 Jun 2014 14:10:17 +0000 (17:10 +0300)]
Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)

Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82

10 years agoRemove invalid assert from FlyweightCell (#13334)
Johannes Dahlström [Wed, 11 Jun 2014 09:45:01 +0000 (12:45 +0300)]
Remove invalid assert from FlyweightCell (#13334)

If the cells in a row are iterated through more than once, the iterator will
invoke FlyweightCell.setElement() on each iteration, firing the assert that
was meant to guard against the client code setting the element more than once

Change-Id: If498d36854864dd8c2252415e3c3ebbcea7beb0b

10 years agoAssigning both primary style and style name is now handled correctly (#12190)
Teemu Pöntelin [Tue, 10 Jun 2014 21:20:41 +0000 (00:20 +0300)]
Assigning both primary style and style name is now handled correctly (#12190)

Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0

10 years agoAdd stylename to selected rows (#13334)
Patrik Lindström [Tue, 10 Jun 2014 12:27:45 +0000 (15:27 +0300)]
Add stylename to selected rows (#13334)

Change-Id: I4f1dfca15e3dbde925ec15c7bebd913a0bc91b1a

10 years agoImplement Grid client-side Selection API (#13334)
Patrik Lindström [Mon, 26 May 2014 12:35:24 +0000 (15:35 +0300)]
Implement Grid client-side Selection API (#13334)

Change-Id: I29152ae83f5a4100b030003c2eec102cf25d7c59

10 years agoInvoke ComplexRenderer init and destroy methods (#13334)
Johannes Dahlström [Wed, 4 Jun 2014 09:14:19 +0000 (12:14 +0300)]
Invoke ComplexRenderer init and destroy methods (#13334)

init is called in body EscalatorUpdater preAttach;
destroy in postDetach. Neither is yet called in the
header and footer updaters.

Change-Id: Ie9700987ce56d4bab0b0c7d8b939c2a311f983e4

10 years agoImplemented WidgetRenderer #12993
John Ahlroos [Tue, 3 Jun 2014 10:52:33 +0000 (13:52 +0300)]
Implemented WidgetRenderer #12993

Change-Id: I6eb69bd0c18adba057e9785778e0392e1ff25a22

10 years agoAdds selection gesture handling to selection column (#13334)
Henrik Paul [Thu, 29 May 2014 13:05:43 +0000 (16:05 +0300)]
Adds selection gesture handling to selection column (#13334)

This patch adds support for drag-selection/deselection gestures
for both touch and mouse.

Change-Id: I05f894123fe5b1dae4f309f8fea01e02208589d7

10 years agoAllow inlining of JsonCodec#encode (#13814)
Fabian Lange [Thu, 22 May 2014 22:36:56 +0000 (00:36 +0200)]
Allow inlining of JsonCodec#encode (#13814)

JsonCodec#encode() is a frequently called (hot) method. However in its
current form it is too long to be inlined.

This review reduces the length of the method from 454 bytes instructions
to 311 and optimises flow of common calls.

It however has a behaviour change for esoteric edge cases where the
order would matter. Like a custom collection which extends JSONArray and
implements collection. Previously it would have been handled by the
collection case, now its the JSONArray case. However it can be assumed
that the result: serialized to valid JSON is the same.

Change-Id: Ia552eec6322d0760581336b8b038fa03761c1d69

10 years agoFix tooltip positioning near screen edges (#12870)
Juuso Valli [Mon, 2 Jun 2014 15:46:07 +0000 (18:46 +0300)]
Fix tooltip positioning near screen edges (#12870)

Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa

10 years agoPrevent tooltip open if cursor leaves element (#13695)
Juuso Valli [Fri, 6 Jun 2014 08:40:18 +0000 (11:40 +0300)]
Prevent tooltip open if cursor leaves element (#13695)

Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b

10 years agoNotify EscalatorUpdater when removing columns (#13334)
Johannes Dahlström [Wed, 4 Jun 2014 13:22:11 +0000 (16:22 +0300)]
Notify EscalatorUpdater when removing columns (#13334)

Change-Id: I8a598c195d13273d9adbcd13539f429733f9a34c

10 years agoNotify EscalatorUpdater when inserting columns (#13334)
Johannes Dahlström [Mon, 2 Jun 2014 16:02:09 +0000 (19:02 +0300)]
Notify EscalatorUpdater when inserting columns (#13334)

preAttach and postAttach are invoked for each DOM row, passing
the cells corresponding to the inserted columns.

Change-Id: I666bb7b5e690145a3911154d298e703bac0df1cd

10 years agoMoved initialization of a static map to the static initialization block (#12270)
Teemu Pöntelin [Sat, 31 May 2014 11:37:49 +0000 (14:37 +0300)]
Moved initialization of a static map to the static initialization block (#12270)

Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7

10 years agoUpdate versions in OSGi manifest for vaadin-shared (#13812)
Antti Tanhuanpää [Thu, 5 Jun 2014 15:12:44 +0000 (18:12 +0300)]
Update versions in OSGi manifest for vaadin-shared (#13812)

Change-Id: I75551cb500d3d35071dabcf53d71a8536806a0ca

10 years agoFix for 'Aborting layout after 100 passess' (#13359)
Tomi Virtanen [Fri, 16 May 2014 08:25:01 +0000 (11:25 +0300)]
Fix for 'Aborting layout after 100 passess' (#13359)

'Aborting layout after 100 passes.' is caused by LayoutManager falling
into a loop on rounding fractional layout slot sizes up and down while
trying to fit layout's content in the space available. LayoutManager
round always up, that causes this issue with IE9+ and Chrome. This
change helps LayoutManager to round fractional sizes down for browsers
that causes problems if rounded up.

Browsers may fall into the loop especially with a zoom level other than
100%. Not with any zoom level though. Problematic zoom level varies by
browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test
for Chrome is the only one that really is able to reproduce error
without the fix. IE9/10 would too, but the zoom level could not be set
exactly to the required 95% for IE. Test works best as a regression test
for other browsers.

Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a

10 years agoDon't generate GWT.create for bean superclasses (#13813)
Leif Åstrand [Thu, 22 May 2014 14:48:36 +0000 (17:48 +0300)]
Don't generate GWT.create for bean superclasses (#13813)

Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771

10 years agoAdd load-on-startup on web.xml to make demo run on Wildfly.
Sauli Tähkäpää [Wed, 4 Jun 2014 11:39:34 +0000 (14:39 +0300)]
Add load-on-startup on web.xml to make demo run on Wildfly.

Change-Id: I0cb42d918ed1af31577e5a67ddf4dbac3c9ab02f

10 years agoChanges @since 7.4.0 to @since 7.4
Henrik Paul [Wed, 4 Jun 2014 07:18:17 +0000 (10:18 +0300)]
Changes @since 7.4.0 to @since 7.4

Change-Id: Id932dcd42b95cf30f3f04e9058c2740574463b71

10 years agoPass useLocalWebDriver parameter to JUnit.
Sauli Tähkäpää [Tue, 3 Jun 2014 13:20:37 +0000 (16:20 +0300)]
Pass useLocalWebDriver parameter to JUnit.

Change-Id: I4840da6281c8be676384aa5b71bf689f7083ee36

10 years agoFixed broken OSGi dependencies in vaadin-shared (#13852)
Norman Specht [Tue, 27 May 2014 12:07:45 +0000 (14:07 +0200)]
Fixed broken OSGi dependencies in vaadin-shared (#13852)

The package com.google.gwt.thirdparty.streamhtmlparser_0.0.10.vaadin1 exports version 0.0.10.vaadin1, not 0.1.5.r10-rebased

Change-Id: I25c2964636d27a172cc83d69c5c0db64155a6fc2

10 years agoFix menu item tooltips showing up too early (#13914)
Juuso Valli [Mon, 2 Jun 2014 14:28:49 +0000 (17:28 +0300)]
Fix menu item tooltips showing up too early (#13914)

Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322

10 years agoFix broken TB2 tests
Juuso Valli [Tue, 3 Jun 2014 12:46:42 +0000 (15:46 +0300)]
Fix broken TB2 tests

Change-Id: I1ce52065e529d471876e8aae1b53b5808089cc53

10 years agoProvide RowContainer method to query if element is in container #13334
John Ahlroos [Tue, 27 May 2014 12:45:37 +0000 (15:45 +0300)]
Provide RowContainer method to query if element is in container #13334

Change-Id: I640e8e9dfc0d68e18d72f904531277fe1e4f9414

10 years agoScript for installing build artifacts to the local Maven repository
Artur Signell [Mon, 26 May 2014 13:27:30 +0000 (16:27 +0300)]
Script for installing build artifacts to the local Maven repository

Change-Id: I6cc4553a54d7d4ed7271ea0eb59386516fd96ca5

10 years agoFix for handling a breakpoint with 0 as the lower bound (#13588)
Teemu Pöntelin [Sun, 1 Jun 2014 20:57:25 +0000 (23:57 +0300)]
Fix for handling a breakpoint with 0 as the lower bound (#13588)

Added explicit isNaN checks to the results of parseInt function
because JavaScript would always convert 0 to false.

Change-Id: Ic904c321c0195ce50d9a498005459425b0c30d4c

10 years agoNotify EscalatorUpdater when inserting and removing DOM rows (#13334)
Johannes Dahlström [Mon, 2 Jun 2014 12:38:30 +0000 (15:38 +0300)]
Notify EscalatorUpdater when inserting and removing DOM rows (#13334)

preAttach and postAttach are called when inserting physical DOM rows;
similarly preDetach and postDetach when removing rows.

These methods are not yet invoked when adding or removing columns.

Change-Id: Ic0a400f7e79a2c7ff487542912d7fb732389d638

10 years agoAdd (pre|post)(Attach|Detach) methods to EscalatorUpdater (#13334)
Johannes Dahlström [Mon, 2 Jun 2014 10:59:01 +0000 (13:59 +0300)]
Add (pre|post)(Attach|Detach) methods to EscalatorUpdater (#13334)

These are not called by anything yet.

Change-Id: If902afe1a2040b506fd6bf43de79cd0ebc793387

10 years agoClient-side selection checkbox renderer (#13334)
Henrik Paul [Thu, 22 May 2014 12:54:36 +0000 (15:54 +0300)]
Client-side selection checkbox renderer (#13334)

Change-Id: I7b6a5c4ca1d78a97c34b1f7b95d1488edeb8551e

10 years agoFix regression with error tooltips (#13695)
Juuso Valli [Wed, 28 May 2014 11:57:12 +0000 (14:57 +0300)]
Fix regression with error tooltips (#13695)

Change-Id: Ia076ba95ec3abd6625e81e17bdcf000a20349f4e

10 years agoRemoves an unnecessary/unused method (#13334)
Henrik Paul [Thu, 29 May 2014 13:06:55 +0000 (16:06 +0300)]
Removes an unnecessary/unused method (#13334)

Change-Id: I8504134afcbc05b2d297be40a4d42c9b4c7feaa7

10 years agoFix VAbstractOrderedLayout scrollbar in IE8 (#10106)
Juuso Valli [Wed, 28 May 2014 11:32:30 +0000 (14:32 +0300)]
Fix VAbstractOrderedLayout scrollbar in IE8 (#10106)

Change-Id: I188e28736e8092b30a813aeeb78247f5aec33295

10 years agoAdd caching logic for Grid DataSource (#13334) 7.4.0.alpha2
Leif Åstrand [Fri, 30 May 2014 10:36:27 +0000 (13:36 +0300)]
Add caching logic for Grid DataSource (#13334)

Change-Id: Ia9323bf4d3e26c0f9425f363af56f41bdcf1d39d

10 years agoAdd basic functionality to GridElement class (#13334)
Teemu Suo-Anttila [Tue, 27 May 2014 08:13:17 +0000 (11:13 +0300)]
Add basic functionality to GridElement class (#13334)

Change-Id: I5340b000b87101cab4dacc700fc8251624f613f6

10 years agoAdd expansion and limiting for Range (#13334)
Leif Åstrand [Thu, 17 Apr 2014 13:37:19 +0000 (16:37 +0300)]
Add expansion and limiting for Range (#13334)

The added functionality is used by the upcoming caching logic.

Change-Id: Ibc4e7103241b2199b85bf7727339d1f6a4b5fc9b

10 years agoMove ActiveRowHandler to the data provider extension (#13334)
Leif Åstrand [Fri, 30 May 2014 06:50:40 +0000 (09:50 +0300)]
Move ActiveRowHandler to the data provider extension (#13334)

This makes GridConnector include information about what rows are cached
when more data is requested instead of the previous way of synchronizing
this separately every time a scroll event occurs. This new approach
makes it possible to have rows cached even if they are not in view. It
also improves performance since there's no need to do an RPC every time
scrolling changes what is visible.

Change-Id: Ibfe8a69586dfc397591f56efa8ef351e274f0116

10 years agoUpdate license headers from SelectionModel patch
Teemu Suo-Anttila [Fri, 30 May 2014 07:32:55 +0000 (10:32 +0300)]
Update license headers from SelectionModel patch

Change-Id: I81804fcd1182d86c0b567604bf3d0626a7e6bbaa

10 years agoAdd SubPartAware interface to Grid client side (#13334)
Teemu Suo-Anttila [Wed, 28 May 2014 08:11:35 +0000 (11:11 +0300)]
Add SubPartAware interface to Grid client side (#13334)

Change-Id: I067f2a248a84076531b0b0b18b4e39c493db457f

10 years agoAllow use of Collection<String> and others with addItems (#13865)
Artur Signell [Wed, 28 May 2014 12:29:28 +0000 (15:29 +0300)]
Allow use of Collection<String> and others with addItems (#13865)

Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0

10 years agoGrid server-side selection (#13334)
Henrik Paul [Mon, 19 May 2014 15:26:24 +0000 (18:26 +0300)]
Grid server-side selection (#13334)

Change-Id: I62c5a2486360fe11de8a90efabb7775ef47124cb

10 years agoFix tooltip delay (#13695)
Juuso Valli [Fri, 23 May 2014 09:20:08 +0000 (12:20 +0300)]
Fix tooltip delay (#13695)

Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e

10 years agoAllow listening to events from cells via renderer #13334
John Ahlroos [Thu, 22 May 2014 13:23:52 +0000 (16:23 +0300)]
Allow listening to events from cells via renderer #13334

Change-Id: Id89deab9e19db67ab547d914fd11ade890663c45

10 years agoConvert DateFieldReadOnlyTest TB2 -> TB4.
Sauli Tähkäpää [Mon, 26 May 2014 13:06:06 +0000 (16:06 +0300)]
Convert DateFieldReadOnlyTest TB2 -> TB4.

Change-Id: Iab81b1e5992d47c956f9d0440ece98fa546ee927

10 years agoFix Push update race condition (#13562)
Juuso Valli [Mon, 26 May 2014 14:22:18 +0000 (17:22 +0300)]
Fix Push update race condition (#13562)

Change-Id: I50094bc2d236f6dbb02a8b82d6cc9b5f7e4733a5

10 years agoSort DOM elements for better WAI-ARIA support (#13334)
Henrik Paul [Wed, 5 Mar 2014 07:35:48 +0000 (09:35 +0200)]
Sort DOM elements for better WAI-ARIA support (#13334)

Change-Id: I3fe6b2a8ad2b72b91db61135bd6505dcfa53034d

10 years agoAllow using modifier + enter as shorcuts in TextArea (#13811)
Artur Signell [Mon, 26 May 2014 14:20:40 +0000 (17:20 +0300)]
Allow using modifier + enter as shorcuts in TextArea (#13811)

Change-Id: I99db3d6280f0066ed1249cb348da7e82381b45c2

10 years agoProperly deserialize push connection (#12235)
Johannes Dahlström [Mon, 19 May 2014 13:28:09 +0000 (16:28 +0300)]
Properly deserialize push connection (#12235)

The UI.pushConnection field is transient no longer; instead PushConnection
implementations must take care of serialization internally. When a session
is serialized, the client should notice that push was disconnected and
try to reconnect. A deserialized PushConnection should be in a "disconnected"
state so the eventual client reconnection works correctly.

Change-Id: I38cfc5a5cdbd3643311f830f8d580458dcd85c56

10 years agoRefactored client Renderers once again #13334
John Ahlroos [Fri, 23 May 2014 11:24:47 +0000 (14:24 +0300)]
Refactored client Renderers once again #13334

The following things are refactored in this changeset:
 * Cell interface removed
 * CellInfo -> Cell
 * Renderer interface becomes a single method interface
 * All other methods moved from Renderer to new ComplexRenderer interface

Change-Id: I567868b8dc73783988bce6c11bc23e12d5479172

10 years agoChange ColorPickerInputFormatsTest for use Keys.RETURN.
Sauli Tähkäpää [Mon, 26 May 2014 11:40:43 +0000 (14:40 +0300)]
Change ColorPickerInputFormatsTest for use Keys.RETURN.

Change-Id: Ic8ad7163d35e0e1c2d44e928cd52ca66a637b7fa

10 years agoMerge remote-tracking branch 'origin/master' into grid
John Ahlroos [Mon, 26 May 2014 09:28:06 +0000 (12:28 +0300)]
Merge remote-tracking branch 'origin/master' into grid

Change-Id: I2f6f9de3d210b863e44eb6fbf1fbc2cb7251c2ee

10 years agoRevert "Fix Push inserts producing duplicate rows in Table (#13562)"
Sauli Tähkäpää [Mon, 26 May 2014 07:56:50 +0000 (10:56 +0300)]
Revert "Fix Push inserts producing duplicate rows in Table (#13562)"

This reverts commit ce1764fb1bad1b82462d73fbfe293b676c2a9c00.

Change-Id: I897e0f3a0876eaea4b68f0e3b75671ccb1398242

10 years agoFix caption listener leak and caption measurement (#13741)
Juuso Valli [Fri, 23 May 2014 08:00:48 +0000 (11:00 +0300)]
Fix caption listener leak and caption measurement (#13741)

Reverting the previous fix to caption measurement, it caused a leak with
the listeners.
Change-Id: If1c06db692c0e829d91528eceb49a9a07f58ed4a

10 years agoAdd a dummy GridElement and use it in GridBasicFeaturesTest (#13334)
Teemu Suo-Anttila [Tue, 20 May 2014 14:25:39 +0000 (17:25 +0300)]
Add a dummy GridElement and use it in GridBasicFeaturesTest (#13334)

Change-Id: I729d906a14da66f5a4827ccbaa48762d69ebbe11

10 years agoJavadoc correction
Artur Signell [Thu, 22 May 2014 13:06:51 +0000 (16:06 +0300)]
Javadoc correction

Change-Id: I58c89f6c8b2c72e233b1d9e5413da1d6cbc36285

10 years agoUpdated client side renderers according to new design #12993
John Ahlroos [Tue, 20 May 2014 12:32:38 +0000 (15:32 +0300)]
Updated client side renderers according to new design #12993

Change-Id: I5c88a6cf3dc0d204dd4489b271e8a8bb8d06c3eb

10 years agoHelpers for retrieving the current PortletRequest (#13806)
Artur Signell [Thu, 22 May 2014 13:05:47 +0000 (16:05 +0300)]
Helpers for retrieving the current PortletRequest (#13806)

Change-Id: I5d400a05071844729d68abb1ba0c31c33e32e9c7

10 years agoOptimizes ConnectorTracker.cleanConnectorMap (#13803)
Fabian Lange [Wed, 21 May 2014 12:18:41 +0000 (14:18 +0200)]
Optimizes ConnectorTracker.cleanConnectorMap (#13803)

cleanConnectorMap is a hot method.
This change improves multiple code paths:
1) The global resource handler is no longer get()ed from the session for
   each connector (was in two loops).
2) The ConnectorTracker is no longer get()ed from the UI for each
   connector (was in one loop).
3) values() iterator for ClientConnectors replaces
   keySet() iterator + get(key) call
4) use getUI() from ClientConnector instead manual method.
5) moved removeUnregisteredConnectors to ease inlining and readability.

Change-Id: I25ff5bc32d27d30ecd8d354922ec6e4a02b05921

10 years agoModified Coding Conventions to not have a new line after annotations on
Anna Koskinen [Tue, 8 Apr 2014 12:34:16 +0000 (15:34 +0300)]
Modified Coding Conventions to not have a new line after annotations on
parameters (#13569).

Change-Id: Idc541f298591453c52285a8b1987052caad79e4f

10 years agoOptimize getAllChildrenIterable() performance. (#13803)
Fabian Lange [Wed, 21 May 2014 12:52:52 +0000 (14:52 +0200)]
Optimize getAllChildrenIterable() performance. (#13803)

getAllChildrenIterable() is invoked frequently, its used by
attach/detach and markAsDirty.
Because of the implementation detail in CombinedIterator, on every call
all iterators are checked. This means that on every component which has
multiple childs, each next() call will first check the extension
iterator, before advancing in the child iterator.
By having the childs first, this overhead is reduced. If no extensions
are existing (which is quite common) the iterator is not added at all.
(creating an iterator on an empty UnmodifiableCollection is waste of
time and memory)

Change-Id: I23bb91464052ad4282963ec4b5be8a52c6847d4f

10 years agoSuspend all validation in the project
Artur Signell [Tue, 11 Mar 2014 19:14:45 +0000 (21:14 +0200)]
Suspend all validation in the project

Change-Id: Idaa41933c5fb6236a06b13323c2d39f7869af1ac

10 years agoFix issue when typing fast in combobox edit box plus then press TAB (#12325)
Dmitrii Rogozin [Wed, 21 May 2014 09:53:25 +0000 (12:53 +0300)]
Fix issue when typing fast in combobox edit box plus then press TAB (#12325)

Change-Id: I35375d2b39fbd666d848f6ffa62aa0ce1c0d4fad

10 years agoPrevent adding/setting parent component as child (#12720).
Denis Anisimov [Wed, 12 Mar 2014 19:17:18 +0000 (21:17 +0200)]
Prevent adding/setting parent component as child (#12720).

Change-Id: I9b7b43f176e88d9edca591001297b94475a31854

10 years agoReplace use of deprecated DOM.setStyleAttribute method (#13781)
Leif Åstrand [Fri, 16 May 2014 08:31:14 +0000 (11:31 +0300)]
Replace use of deprecated DOM.setStyleAttribute method (#13781)

This change is only a brain dead replacement of one specific method. In
some cases, there were some oddities in the surrounding code as well,
but these were left unresolved on purpose.

It should also be noted that DOM.setStyleAttribute just delegates to
element.getStyle().setProperty(), so any null references would have
caused problems already in the existing code.

Change-Id: I340122ac0767af9928076376f76e5bd2c5e19f9f

10 years agoMake Hearbeat available to other modules (#13250)
Manolo Carrasco [Wed, 14 May 2014 10:55:47 +0000 (12:55 +0200)]
Make Hearbeat available to other modules (#13250)

- When a mobile app goes online/offline we need to change
  Heartbeat interval and restart the schedule.
- We also need to be notified about response status in
  order to show the appropriate offline UI, etc.

Related with Issue #13250 and review https://dev.vaadin.com/review/#/c/3376/

Change-Id: I428501306e37fb8c2ee0ed6022a4c588bd8456db

10 years agoRemove some unnecessary semicolons
Leif Åstrand [Fri, 16 May 2014 06:22:35 +0000 (09:22 +0300)]
Remove some unnecessary semicolons

Change-Id: I8698a9ecf691adde9a3bc2e92047be5f3036df1e

10 years agoUpdate mini tutorial code to use @OnStateChange
Leif Åstrand [Thu, 15 May 2014 11:21:04 +0000 (14:21 +0300)]
Update mini tutorial code to use @OnStateChange

Change-Id: I509213ade4ed9765db8a7773c42051f8f182b272

10 years agoTreat initial rendering and style changes separately. (#13444)
Markus Koivisto [Wed, 21 May 2014 12:33:31 +0000 (15:33 +0300)]
Treat initial rendering and style changes separately. (#13444)

This fixes a regression caused by a previous patch, which led to empty comboboxes being initialised with a zero width.

Change-Id: I7e5ca0c563625c453e0e3006d91ed52ad227d6f0

10 years agoUse method available in all browsers (#13804)
Artur Signell [Wed, 21 May 2014 19:18:05 +0000 (22:18 +0300)]
Use method available in all browsers (#13804)

String.contains work in Firefox, not in Chrome or Opera

Change-Id: I074d3c79629fd699841d3b39a36620511233ce6c

10 years agoFix caption measurement in VAbstractOrderedLayout (#13741)
Juuso Valli [Mon, 19 May 2014 11:40:03 +0000 (14:40 +0300)]
Fix caption measurement in VAbstractOrderedLayout (#13741)

Change-Id: I7bb9a404c789f352477b752537ffdedfc60da91c

10 years agoKeep all checkbox related data in Map don't address it via the index #11772
Denis Anisimov [Mon, 7 Apr 2014 19:04:33 +0000 (22:04 +0300)]
Keep all checkbox related data in Map don't address it via the index #11772

Change-Id: I2c9c68134d9fe958e2881975d1d845dea819a761

10 years agoFix WAR file location in uitest build scripts.
Sauli Tähkäpää [Tue, 20 May 2014 08:05:45 +0000 (11:05 +0300)]
Fix WAR file location in uitest build scripts.

Change-Id: I0febbbaf85374c395454c889c36add277ca9b131

10 years agoAdds methods for setting only width or height undefined #13546
John Ahlroos [Fri, 4 Apr 2014 06:48:37 +0000 (09:48 +0300)]
Adds methods for setting only width or height undefined #13546

Change-Id: Ieebe48c75370c0744a2a2619e1ed81dbd090a544

10 years agoFix keyboard navigating in combo box (#11333).
Dmitrii Rogozin [Fri, 9 May 2014 16:13:59 +0000 (19:13 +0300)]
Fix keyboard navigating in combo box (#11333).

Extract code which focuses on item after changing the page. Deferring  this method allows to update the list of items before focusing.

Change-Id: I7d249c2abbd5c24ca2d798736e483f2b7dfa59f1

10 years agoRefactor tests to make them less likely to have timing issues
Teemu Suo-Anttila [Mon, 19 May 2014 08:37:36 +0000 (11:37 +0300)]
Refactor tests to make them less likely to have timing issues

Change-Id: Idf24ab4f7c2c48f8246f0c38906d2b8a46f46587

10 years agoUpdate license headers in tests
Teemu Suo-Anttila [Tue, 20 May 2014 14:24:12 +0000 (17:24 +0300)]
Update license headers in tests

Change-Id: I896a6ed911000ae7d952757964117f5d28d0c27b

10 years agoRemove unnecessary javadoc and add TestCategory annotation to Grid tests
Teemu Suo-Anttila [Tue, 20 May 2014 10:04:53 +0000 (13:04 +0300)]
Remove unnecessary javadoc and add TestCategory annotation to Grid tests

Change-Id: Ibc8da060e5592dfa6af7e1fc9af83dea7119b387

10 years agoMerge branch 'master' into grid
Teemu Suo-Anttila [Tue, 20 May 2014 10:26:57 +0000 (13:26 +0300)]
Merge branch 'master' into grid

Conflicts:
WebContent/release-notes.html

Change-Id: Icccb2e30199f99a7b0b00f05b1a12d5f7297402f

10 years agoMove ComboBox tests to correct package
Teemu Suo-Anttila [Mon, 19 May 2014 08:17:57 +0000 (11:17 +0300)]
Move ComboBox tests to correct package

Change-Id: I2ad5164a637b2b4c96b46f30df036ccbc5cbcd66

10 years agoAdd build parameters to allow running test on local PhantomJS
Teemu Suo-Anttila [Thu, 15 May 2014 12:22:49 +0000 (15:22 +0300)]
Add build parameters to allow running test on local PhantomJS

Change-Id: I99f37403d58385a814347d36b0f8b1a35c63c282

10 years agoChange forceUpdate flag to always force recalculation of width. Fix tests. (#13444)
Markus Koivisto [Fri, 25 Apr 2014 13:58:53 +0000 (16:58 +0300)]
Change forceUpdate flag to always force recalculation of width. Fix tests. (#13444)

Change-Id: Ie666e2867908160b1544d3bf8251802ea771660f

10 years agoAvoid Vaadin entry-point being run twice (#13730)
Manolo Carrasco [Fri, 9 May 2014 07:47:14 +0000 (09:47 +0200)]
Avoid Vaadin entry-point being run twice (#13730)

- Prevent bootstrap script fail if registerWidgetset is called twice
  with the same widgetset.

Change-Id: I8b8069b442ea91c1aa0f0b7dd73c41902e75094b

10 years agoDon't use deprecated Assert class
Leif Åstrand [Fri, 16 May 2014 06:38:58 +0000 (09:38 +0300)]
Don't use deprecated Assert class

Change-Id: I0dbef06d0fa319628f6fa528f5ab3adfd5752c11

10 years agoRemove servlet annotations from AsyncPushUpdates test (#13562)
Jonatan Kronqvist [Fri, 16 May 2014 07:50:09 +0000 (10:50 +0300)]
Remove servlet annotations from AsyncPushUpdates test (#13562)

Change-Id: Idfdd37fad9917843c71cee6fd9ba6700f9df8a87

10 years agoDisable closure compiler (#13778)
Artur Signell [Thu, 15 May 2014 15:45:12 +0000 (18:45 +0300)]
Disable closure compiler (#13778)

Change-Id: Id0fb991c4c6323bf8658c92938cf2cd9d80b76a1

10 years agoMade user-initiated column resizing take precedence over other updates (#13432)
Juho Nurminen [Wed, 14 May 2014 11:14:43 +0000 (14:14 +0300)]
Made user-initiated column resizing take precedence over other updates (#13432)

VScrollTable ignores server-initiated changes to column size while the user is
dragging a table resizer element.

Change-Id: I2866246e7975a8ddddbfdc12a9d99fb2c813a870

10 years agoSet "v-formlayout" as the first style for VFormLayout (#13509).
Denis Anisimov [Sun, 20 Apr 2014 16:14:44 +0000 (19:14 +0300)]
Set "v-formlayout" as the first style for VFormLayout (#13509).

Change-Id: I63f0b1c8da52d426b5c370097256b08dbd44b5d7