]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoFix PushConfigurationStreamingTest for IE.
Sauli Tähkäpää [Fri, 27 Jun 2014 07:34:42 +0000 (10:34 +0300)]
Fix PushConfigurationStreamingTest for IE.

Change-Id: Iac342bdca90794a02c5966231142a585e2eeb216

10 years agoFix tooltip error when loading Javascript (#14028)
Juuso Valli [Tue, 24 Jun 2014 08:52:24 +0000 (11:52 +0300)]
Fix tooltip error when loading Javascript (#14028)

Change-Id: Ic596c0428bc3a59f9fe0ad82276dacb4b23c0d99

10 years agoChange DateFieldReadOnlyTest to use a initial reference instead of reusing readonly...
Sauli Tähkäpää [Fri, 27 Jun 2014 06:39:04 +0000 (09:39 +0300)]
Change DateFieldReadOnlyTest to use a initial reference instead of reusing readonly reference.

Reusing the readonly reference causes weird test results when the first
comparison fails and the second one succeeds: the build will fail but errors
shots have been deleted because the second comparison succeeded.

Change-Id: I3484f2d7bdaa604136d8cf917eefc80b389c6722

10 years agoSuperDevMode launch file for the project
Artur Signell [Wed, 11 Jun 2014 18:24:50 +0000 (21:24 +0300)]
SuperDevMode launch file for the project

Change-Id: I3c6e5a495c0a4dc13e373ee82e8619f2559be3a4

10 years agoFix compilation error
Artur Signell [Thu, 26 Jun 2014 19:20:18 +0000 (22:20 +0300)]
Fix compilation error

Change-Id: If223f4e573c1e99bcae3c724aba9bdb6ee3c5106

10 years agoIE11 now uses synchronous loading of script instead of async with preloading. (#13956)
Mikael Grankvist [Thu, 19 Jun 2014 06:31:19 +0000 (09:31 +0300)]
IE11 now uses synchronous loading of script instead of async with preloading. (#13956)

Change-Id: Ia61d672a55f69326b37420305f0108f2d7443b70

10 years agoAllow changing theme on the fly (#2874)
Artur Signell [Wed, 11 Jun 2014 17:35:04 +0000 (20:35 +0300)]
Allow changing theme on the fly (#2874)

Change-Id: I70c153c4109428686002f985bfe1cb7cba2c9b31

10 years agoRevert "Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)"
Sauli Tähkäpää [Thu, 26 Jun 2014 06:35:05 +0000 (09:35 +0300)]
Revert "Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)"

This reverts commit ede8fbaad050c98682df9da935caf59a3a3787c6.

Change-Id: I6d2b6ad3901ac50782a9c8af6847c0b917d6027d

10 years agoLicense Checker for vaadin cval products (#13696 #13474)
Manolo Carrasco [Wed, 30 Apr 2014 11:26:32 +0000 (13:26 +0200)]
License Checker for vaadin cval products (#13696 #13474)

- This patch includes four elements:
  1.- A class able to validate a licensed product against Vaadin
      license server. It can be used in any vaadin product (thought
      for non addons like TB) just adding vaadin dependency, or
      copying the class.
  2.- A class able to inspect all addons in the classpath and figure
      out, based on the MANIFEST.MF info, whether we have to check
      developer license.
  3.- A modification to Vaadin connector generator to use the classes
      above and to stop compilation in case.
  4.- A modification to ConnectorBundleLoader, so as when a new connector
      is instatiated, we check whether it is using an evaluation
      license and show a notice. We only show the notice once.

- In addition to validating developer licenses, the checker caches the
  server response for using it when there are connection problems.
- This stuff is in Vaadin core, so as we dont maintain license code in
  each addon. For checking an addon license we just add the license type
  to the manifest when packaging the artefact.
- It checks expiration time, product name and major version.

Fixes: #13696
In some-way related with: #13474

Change-Id: Ib61b1c2e9c3cacd463a1ce5db02c2cfbc06851c2

10 years agoFix problem with IntegerValidator test (#14046)
Dmitrii Rogozin [Wed, 18 Jun 2014 08:37:54 +0000 (11:37 +0300)]
Fix problem with IntegerValidator test (#14046)

Change-Id: Iaff310ccd2f25ca2d9a4a1043403a3aa1bde2e1a

10 years agoDon't complain about missing sync id for critical notifications (#14081)
Leif Åstrand [Wed, 25 Jun 2014 10:50:14 +0000 (13:50 +0300)]
Don't complain about missing sync id for critical notifications (#14081)

Change-Id: I351d256230a5cd674a5e1b8066d3e2aef07ff3bf

10 years agoFix wrong width on event resize in Vaadin Calendar (#13961)
Anthony Guerreiro [Mon, 23 Jun 2014 11:13:37 +0000 (14:13 +0300)]
Fix wrong width on event resize in Vaadin Calendar (#13961)

Change-Id: I68775af42c1c6086d347bea81e54bbe3cf7e5a22

10 years agoUpdated javadoc to indicate which Font Awesome version is included (#14070)
Marc Englund [Tue, 24 Jun 2014 07:18:40 +0000 (10:18 +0300)]
Updated javadoc to indicate which Font Awesome version is included (#14070)

Change-Id: I51c0722bda9941d16a5f6aad0ce7dfd4a4753587

10 years agoFixed regression with changing widths when stylenames have changed (#13444, #8801):
Markus Koivisto [Wed, 4 Jun 2014 09:49:43 +0000 (12:49 +0300)]
Fixed regression with changing widths when stylenames have changed (#13444, #8801):

Changing the name of a style should not cause the width of the textbox
to change. If there is a width set for the wrapper, the width for the
wrapper should not change if the styles changes.

To reconcile these two demands, we have removed the width for the
wrapper and only manipulate the width of the textbox itself. This
solves both issues neatly.

Change-Id: Idb2dbc5d2ca6406cafb44df93110e079a1dff473

10 years agoUpgraded SASS compiler to 0.9.6
John Ahlroos [Tue, 24 Jun 2014 13:28:02 +0000 (16:28 +0300)]
Upgraded SASS compiler to 0.9.6

Change-Id: If325c080a482df1f8a9da56395390cd2fe16bfd0

10 years agoFix moving a single component inside a split panel (#11920)
Artur Signell [Wed, 23 Apr 2014 20:44:19 +0000 (23:44 +0300)]
Fix moving a single component inside a split panel (#11920)

Change-Id: Ib9b3625e4104763143906eb1b7986ef7b3b80737

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Mon, 23 Jun 2014 13:15:47 +0000 (15:15 +0200)]
Reading properties of components should not set state to dirty (#14060).

Added Automatic Testcase. The testcase needs a default constructor,
which has been added.
The test also found an edge case in Form.java which has been corrected,
as well as one missing getState(false) in AbstractMedia.

Change-Id: Id764c9e1596123015a84f6c2a9507f03bde383b1

10 years agoSelecting in a mulsel table should focus, not scroll. (#13341, #10522)
Markus Koivisto [Wed, 18 Jun 2014 08:06:53 +0000 (11:06 +0300)]
Selecting in a mulsel table should focus, not scroll. (#13341, #10522)

Previous patch caused a regression that was caught by tests for #10522.

Change-Id: I3ebc6a3ffe08c24d463cc70d95c4417d465fc490

10 years agoBasic TestBench test for Upload
Artur Signell [Wed, 23 Apr 2014 18:29:54 +0000 (21:29 +0300)]
Basic TestBench test for Upload

Generates a file to upload locally and TestBench ensures this file is transferred automatically to the browser node using a FileDetector.

Change-Id: Ia5b3a48306356c364d49da60b81f1d68f1593939

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Mon, 23 Jun 2014 12:25:26 +0000 (14:25 +0200)]
Reading properties of components should not set state to dirty (#14060).

Adding 3 getStates() which were missed in
https://github.com/vaadin/vaadin/commit/0c229ae91460fedaeb557bdc5a646433658b0dfb

Change-Id: Ide7949046e4cc3f36c08f419f3010a98e348642c

10 years agoUpgrade tooltip tests from TB2 to TB4 (#14019)
Juuso Valli [Fri, 13 Jun 2014 12:22:29 +0000 (15:22 +0300)]
Upgrade tooltip tests from TB2 to TB4 (#14019)

Change-Id: I57fcffc5e9fb463759639c95a6b47fe09bfa268f

10 years agoRefactor DateFieldReadOnlyTest to use a predefined locale with 24h time.
Sauli Tähkäpää [Thu, 19 Jun 2014 06:29:15 +0000 (09:29 +0300)]
Refactor DateFieldReadOnlyTest to use a predefined locale with 24h time.

Change-Id: I32011639b6e0dfdc36d6ede350db27af80549ac3

10 years agoImprove error message for missing sync id (#14065)
Leif Åstrand [Mon, 23 Jun 2014 12:03:29 +0000 (15:03 +0300)]
Improve error message for missing sync id (#14065)

Change-Id: Iab2ddc31261f198c486b9028249fab9cc2cc06a1

10 years agoFix regression with DnD tooltips (#7766)
Juuso Valli [Wed, 18 Jun 2014 12:10:28 +0000 (15:10 +0300)]
Fix regression with DnD tooltips (#7766)

Change-Id: I74e6c35ef0aa30dbb24301bfb5858cedd0008e71

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Fri, 20 Jun 2014 08:49:50 +0000 (10:49 +0200)]
Reading properties of components should not set state to dirty (#14060).

Many core vaadin components did incorrectly mark the state as dirty when
reading from them. This patch fixes the problem, which should reduce the
amount of server->client state updates significantly.

Change-Id: I342d74129e2985a7f407e9b53a802dc0146d9992

10 years agoUpdate RichTextArea editor height on resize (#11320)
Tomi Virkki [Wed, 9 Apr 2014 04:24:20 +0000 (07:24 +0300)]
Update RichTextArea editor height on resize (#11320)

Change-Id: I4d4d054c2e4f068aacd9b324350be4ee696cf3d3

10 years agoConverted GridLayoutWidthChangeTest to TB4. (#8855)
Sauli Tähkäpää [Thu, 19 Jun 2014 06:12:59 +0000 (09:12 +0300)]
Converted GridLayoutWidthChangeTest to TB4. (#8855)

Change-Id: Ida4550689387c048c0eee95420851dc72620ad65

10 years agoConvert MoveComponentsFromGridLayoutToInnerLayoutTest to TB4. (#8855)
Sauli Tähkäpää [Fri, 13 Jun 2014 06:32:47 +0000 (09:32 +0300)]
Convert MoveComponentsFromGridLayoutToInnerLayoutTest to TB4. (#8855)

Change-Id: I90079bad38a82d8a7d3b053daedc99e52633e027

10 years agoBug fix menu navigation with space (#14041)
Dmitrii Rogozin [Tue, 17 Jun 2014 11:43:34 +0000 (14:43 +0300)]
Bug fix menu navigation with space (#14041)

Change-Id: I1466381b12a147fea90240420d3f6c05cd156a1b

10 years agoDo not consider compiler introduced methods when determining state class (#14003)
Artur Signell [Wed, 18 Jun 2014 10:35:08 +0000 (13:35 +0300)]
Do not consider compiler introduced methods when determining state class (#14003)

Change-Id: Ia2c3b8331f1ae34effceb0bb624cfaa7ba8578ed

10 years agoRefactor CheckBoxRcpCountTest to be more stable.
Sauli Tähkäpää [Wed, 18 Jun 2014 08:28:14 +0000 (11:28 +0300)]
Refactor CheckBoxRcpCountTest to be more stable.

Change-Id: Icc1965e6bc23423d8af66ab91b80143d07b49483

10 years agoConvert GridLayoutMoveComponentTest to TB4. (#8855)
Sauli Tähkäpää [Fri, 13 Jun 2014 07:45:40 +0000 (10:45 +0300)]
Convert GridLayoutMoveComponentTest to TB4. (#8855)

Change-Id: I4be636273b2fd8dae544a6f0b88d8fdb00c33826

10 years agoinstall-local-maven.sh: use proper quoting
Antti Tanhuanpää [Tue, 17 Jun 2014 13:43:38 +0000 (16:43 +0300)]
install-local-maven.sh: use proper quoting

Change-Id: Iddcd438431d9c5f1f8ec7208d44a3602e183e160

10 years agoFixed an NPE while changing a DateField from 24 to 12h clock (#13722)
Teemu Pöntelin [Thu, 22 May 2014 18:22:09 +0000 (21:22 +0300)]
Fixed an NPE while changing a DateField from 24 to 12h clock (#13722)

A client-side NullPointerException was fixed by not reusing
the existing VTime panel and always recreating it instead.
Otherwise the ListBox for switching between AM/PM might have
been null.

Change-Id: I8d54d91627043a12b52ac5d5e54d6f7a729af1ac

10 years agoPrevent empty tooltips from appearing (#14015)
Juuso Valli [Fri, 13 Jun 2014 08:08:13 +0000 (11:08 +0300)]
Prevent empty tooltips from appearing (#14015)

Change-Id: Iee9d5be9208ff54cd0e4a58c19daaa3a917f9b9d

10 years agoChange PhantomJS to run on Linux instead of Windows.
Sauli Tähkäpää [Wed, 11 Jun 2014 07:09:18 +0000 (10:09 +0300)]
Change PhantomJS to run on Linux instead of Windows.

Change-Id: Ibb7080c37a67516c852e00d08c2d5d822fda654e

10 years agoFix for unnecessary RPC request when clicking on CheckBox label (#8259)
Teemu Pöntelin [Thu, 12 Jun 2014 16:34:49 +0000 (19:34 +0300)]
Fix for unnecessary RPC request when clicking on CheckBox label (#8259)

Change-Id: I7efb8b10a0d1b19ffdc9eb1d29db1f00b45f17aa

10 years agoAdded initial style name for VColorPickerArea (#14021)
Teemu Pöntelin [Fri, 13 Jun 2014 12:57:37 +0000 (15:57 +0300)]
Added initial style name for VColorPickerArea (#14021)

Change-Id: I0f7be75f51ec771a68f6e388b412346f2c366957

10 years agoSpeed up dev server startup
Leif Åstrand [Tue, 17 Jun 2014 08:30:34 +0000 (11:30 +0300)]
Speed up dev server startup

- Don't have Atmosphere scan the entire classpath for annotations
- Don't use load-on-startup = -1 since Jetty still inits the servlets
- Avoid initing the integration test servlet for serving /VAADIN/*

Change-Id: Ic6a650442a11ac87ce15dabce3acda12a9cc71b3

10 years agoPrevent table from scrolling on selectionChange when in Multiselect mode (#13341)
Markus Koivisto [Thu, 12 Jun 2014 14:38:44 +0000 (17:38 +0300)]
Prevent table from scrolling on selectionChange when in Multiselect mode (#13341)

Change-Id: Ie3df61fab6d76dce3e2027cd732d0e6e7dd299e9

10 years agoImprove CaptionLeakTest on IE8 (#13829)
Juuso Valli [Mon, 26 May 2014 14:25:49 +0000 (17:25 +0300)]
Improve CaptionLeakTest on IE8 (#13829)

Change-Id: I0c04f3318af2c9c53e5967485008faa260830996

10 years agoDelay tooltips when moving between adjacent elements (#13998)
Juuso Valli [Thu, 12 Jun 2014 12:43:37 +0000 (15:43 +0300)]
Delay tooltips when moving between adjacent elements (#13998)

Change-Id: Ia0845c9439e22ecece0825aaad521e900153fc81

10 years agoComboBox no longer displays input prompt if disabled or read-only (#10573)
Teemu Pöntelin [Fri, 13 Jun 2014 15:07:48 +0000 (18:07 +0300)]
ComboBox no longer displays input prompt if disabled or read-only (#10573)

Change-Id: I3e0ad83bc5ec4a98a0c8e7658dfb606c6c5dc191

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 agoJavadoc correction
Artur Signell [Thu, 22 May 2014 13:06:51 +0000 (16:06 +0300)]
Javadoc correction

Change-Id: I58c89f6c8b2c72e233b1d9e5413da1d6cbc36285

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