]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoAdd helper for adding multiple components to AbstractTestUI
Leif Åstrand [Tue, 7 Jan 2014 13:01:20 +0000 (15:01 +0200)]
Add helper for adding multiple components to AbstractTestUI

Change-Id: I5153810f635831732ed17c5af215d17ff9a2c801

10 years agoOnly use ClientRcp and ServerRpc types that are interfaces (#13056)
Leif Åstrand [Tue, 7 Jan 2014 11:13:58 +0000 (13:13 +0200)]
Only use ClientRcp and ServerRpc types that are interfaces (#13056)

Change-Id: I73b062628052ec545d5f53314a0cc479806ee89d

10 years agoChanges padding for Textfields with Chameleon theme. (#12974)
Felype Santiago Ferreira [Tue, 7 Jan 2014 12:38:53 +0000 (14:38 +0200)]
Changes padding for Textfields with Chameleon theme. (#12974)

Change-Id: I911ddd8ef1162412ae99ef252c3302e1f8b555ef

10 years agoEnsure event listener is a widget before casting #13130
John Ahlroos [Tue, 31 Dec 2013 07:49:44 +0000 (09:49 +0200)]
Ensure event listener is a widget before casting #13130

Change-Id: I7f106356116d73eebbfeeee52d61d8d7a7117b3e

10 years agoUpload control with empty selection (#9602)
Tomi Virtanen [Mon, 9 Dec 2013 11:44:27 +0000 (13:44 +0200)]
Upload control with empty selection (#9602)

Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test.

Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30

10 years agoMoved selection of selected rows in TableConnector to occur after the new rows are...
Jarno Rantala [Wed, 11 Dec 2013 09:10:43 +0000 (11:10 +0200)]
Moved selection of selected rows in TableConnector to occur after the new rows are created (#13008)

The selection of selected rows happened before the new rows were created. This resulted in situation
where the visible items on server side were different than the rows in scrollbody during the selection
of selected rows. Therefore, the selected keys in uidl contained wrong information and some selected
rows was marked as unselected even though they shouldn't. This again resulted in the original bug that
all the rows was not selected because the 'selectionRangeStart' row was not selected anymore.

Change-Id: I9f985cb45c97bacb6b71e36fa4bf077a1ac1311d

10 years agoFixed spelling mistake in log message.
John Ahlroos [Tue, 31 Dec 2013 13:24:55 +0000 (15:24 +0200)]
Fixed spelling mistake in log message.

Change-Id: Ib43cca840a8f66b13d14a84b629068a53e8f4c9d

10 years agoProperly remove shadow event listeners to prevent IE8 memory leak (#13129)
Teppo Kurki [Mon, 30 Dec 2013 19:47:18 +0000 (21:47 +0200)]
Properly remove shadow event listeners to prevent IE8 memory leak (#13129)

Change-Id: I98becf08f56ce35a3ee47650d0d4e204e7d18e73

10 years agoAllow user to override Atmosphere init params set by Vaadin (#13088)
Johannes Dahlström [Mon, 16 Dec 2013 11:56:19 +0000 (13:56 +0200)]
Allow user to override Atmosphere init params set by Vaadin (#13088)

Change-Id: Iea7c7978240f79cb7c9586b472e94da53d625ba7

10 years agoShow the widgetset name to more easily spot misconfigurations
Artur Signell [Mon, 16 Dec 2013 16:18:13 +0000 (17:18 +0100)]
Show the widgetset name to more easily spot misconfigurations

Change-Id: I69e2995489e9f573718a053c34fe8736988e3f90

10 years agoDecrease the websocket buffer size due to a Jetty 9.1 issue (#13087)
Johannes Dahlström [Mon, 16 Dec 2013 11:08:02 +0000 (13:08 +0200)]
Decrease the websocket buffer size due to a Jetty 9.1 issue (#13087)

Jetty 9.1 throws if InputBufferSize is set to greater than or equal to
MaxTextMessageBufferSize. We cannot simply increase the value of the latter
because Atmosphere sets the former first. Thus, its value must be set to
less than 32768 (the default for MaxTextMessageBufferSize). This should not
cause problems with regard to performance; the original figure of 65536
was more or less an arbitrary choice.

Change-Id: If9596fc2bffdd14e8c1f31ff4b9b10d6685e01ed

10 years agoBackported null value support for NestedMethodProperty to 7.1 (#12884)
Jarno Rantala [Wed, 11 Dec 2013 13:31:30 +0000 (15:31 +0200)]
Backported null value support for NestedMethodProperty to 7.1 (#12884)

Support for null values in NestedMethodProperty was already implemented in master branch (#11435)
This changeset includes changesets made for that.

Change-Id: I10696467f792e234326075bbcdd5aad487905a7e
Merge: no

10 years agoChanges padding for Textfields with Chameleon theme. (#12974)
Felype Santiago Ferreira [Mon, 2 Dec 2013 13:00:08 +0000 (15:00 +0200)]
Changes padding for Textfields with Chameleon theme. (#12974)

Change-Id: Iefccedce67cb04cf3ceb8128cb07c871fc940ab8

10 years agoFixed TabSheet tab bar sizing by removing an obsolete Safari hack (#12343)
Juho Nurminen [Mon, 9 Dec 2013 10:33:22 +0000 (12:33 +0200)]
Fixed TabSheet tab bar sizing by removing an obsolete Safari hack (#12343)

Change-Id: I627dee377aa19aab2168152cf7cbe3cfd6f95e10

10 years agoProvides error location for ArithmeticException. (#11877)
Felype Santiago Ferreira [Wed, 4 Dec 2013 14:06:43 +0000 (16:06 +0200)]
Provides error location for ArithmeticException. (#11877)

Change-Id: Ieb63ad556c3dc01196f0b9898aed9670923c9138

10 years agoMake VTreeTableScrollBody extendable (#13054)
Henrik Paul [Mon, 9 Dec 2013 11:33:47 +0000 (13:33 +0200)]
Make VTreeTableScrollBody extendable (#13054)

Change-Id: I97fc69c96dd589cb0d5cde0686dca9e1742f2c86

10 years agoChanged the rendering order of TabSheet tabs to prevent an NPE in isClipped (#12343)
Juho Nurminen [Thu, 5 Dec 2013 05:28:37 +0000 (07:28 +0200)]
Changed the rendering order of TabSheet tabs to prevent an NPE in isClipped (#12343)

Change-Id: Ife96ff3fe0c3f9c8926cf96eab4f5dfca99e925e

10 years agoDon't send TabSheet focus and blur events to the server when moving the focus from...
Juho Nurminen [Wed, 4 Dec 2013 13:13:48 +0000 (15:13 +0200)]
Don't send TabSheet focus and blur events to the server when moving the focus from one tab to another (#12971)

Change-Id: Ie496a403bdcfc833c4871efbae11453efa66c14e

10 years agoFixes right click selection focus issues in Tree. (#12618)
Felype Santiago Ferreira [Mon, 28 Oct 2013 09:50:18 +0000 (11:50 +0200)]
Fixes right click selection focus issues in Tree. (#12618)

Change-Id: I1057424fc8956b05e15a92c32e48a767e9fc8df9

10 years agoTimeout redirect timer is reset on server activity (#12446)
Henrik Paul [Tue, 26 Nov 2013 12:49:12 +0000 (14:49 +0200)]
Timeout redirect timer is reset on server activity (#12446)

Change-Id: Iec2e3de627bc1cf5c7d39bf98715b1bf343e7519

10 years agoDo not throw NPE if conversion messages is null (#12962)
Artur Signell [Fri, 15 Nov 2013 16:40:57 +0000 (18:40 +0200)]
Do not throw NPE if conversion messages is null (#12962)

Change-Id: Ie2b95ed4da89e2c5ab8b462300a6f4bd28dc7570

10 years agoFix compilation error
Artur Signell [Mon, 2 Dec 2013 13:24:38 +0000 (15:24 +0200)]
Fix compilation error

Change-Id: Ib2ca104b8ab92a23a525c617004c6efe7f7edc14

10 years agoTest for pushing for an extended period of time (24h)
Artur Signell [Fri, 29 Nov 2013 17:10:19 +0000 (19:10 +0200)]
Test for pushing for an extended period of time (24h)

Change-Id: I8e47ba926f41fdc103cfa72ba85ca2f9edbc57d0

10 years agoDisable client timeout so websockets are not disconnected when idle (#13015)
Artur Signell [Fri, 29 Nov 2013 16:18:04 +0000 (18:18 +0200)]
Disable client timeout so websockets are not disconnected when idle (#13015)

Updated sleep method to ensure that long sleeps can be performed without losing
the connection to the browser

Change-Id: I4f29d946e7a9a400e303e3a574876e1bc2d56773

10 years agoAllow excluding test from the standard test suite
Artur Signell [Fri, 29 Nov 2013 16:40:35 +0000 (18:40 +0200)]
Allow excluding test from the standard test suite

Mostly useful for very long running tests

Change-Id: I9027f981da0a1e6ba464196449f2a9c27e965d2f

10 years agoTest for broken Webkit feature which causes extra scrollbars (#12736, #12727)
Artur Signell [Wed, 6 Nov 2013 15:17:42 +0000 (17:17 +0200)]
Test for broken Webkit feature which causes extra scrollbars (#12736, #12727)

This is the original cause for the Vaadin issues

Live test at http://artur.virtuallypreinstalled.com/webkit-scrollbars.html

Change-Id: Iaf9a46b635fabcb7cd795547c782c596aa57ce12

10 years agoCorrect assertion message which changed due to #12915
Artur Signell [Fri, 29 Nov 2013 14:53:05 +0000 (16:53 +0200)]
Correct assertion message which changed due to #12915

Converted to TB3 to allow running on only one browser

Change-Id: I8a0d20cfb5af798d8b89f3fca86ef7d9d7a37527

10 years agoFor @-directives, infer missing semicolon before closing brace (#12792)
joheriks [Wed, 27 Nov 2013 15:34:30 +0000 (17:34 +0200)]
For @-directives, infer missing semicolon before closing brace (#12792)

Parser now accepts the following (note missing semicolon after last
@extend-directive):

xyzzy {
  @extend foo ;
  @extend bar
}

As a consequence, moved 31 sasslang-cases from broken to fixed. Moved
two tests from fixed to broken (34, 95, previously passed accidentally)

Change-Id: I8968074abd79dec71be762ed926cc6f37fbcaa99

10 years agoMove a sass test that no longer fails.
Mika Murtojarvi [Wed, 27 Nov 2013 11:29:51 +0000 (13:29 +0200)]
Move a sass test that no longer fails.

Change-Id: Ic83330cbea688be1c30aa89cad9524016617be8d

10 years agoMove working sass tests from sasslangbroken to sasslang.
Mika Murtojarvi [Wed, 27 Nov 2013 07:26:07 +0000 (09:26 +0200)]
Move working sass tests from sasslangbroken to sasslang.

Change-Id: Ic503021884fd52b650f29df221cef3e69e8ef570

10 years agoCatch and log exceptions in session lifecycle listeners (#12915)
Henri Sara [Wed, 27 Nov 2013 13:30:36 +0000 (15:30 +0200)]
Catch and log exceptions in session lifecycle listeners (#12915)

Change-Id: Ie8638f010d74c569c5ff56e91c95e23a5cb92c9b

10 years agoMake test work reliably by activating @Push
Artur Signell [Wed, 13 Nov 2013 12:56:06 +0000 (14:56 +0200)]
Make test work reliably by activating @Push

Additional test now ensures that access() works both when called
before init() is done and after init() is done

Change-Id: Id56bd09f1aaa7a6a99eed8d097f12910cdc11596

10 years agoMixins now accept an empty argument list in parentheses
Mika Murtojarvi [Mon, 25 Nov 2013 14:31:55 +0000 (16:31 +0200)]
Mixins now accept an empty argument list in parentheses
(#12992).

Change-Id: If2484e2f289aa7039984df0d9a73ba595117462c

10 years agoNormalize line endings
Mika Murtojarvi [Tue, 26 Nov 2013 12:14:06 +0000 (14:14 +0200)]
Normalize line endings

Change-Id: I328a1d3505471c65681dccdaa1a342dbb9c9ab37

10 years agoFixed TabSheet tab keyboard focus issues (#12343)
Juho Nurminen [Thu, 31 Oct 2013 13:38:51 +0000 (15:38 +0200)]
Fixed TabSheet tab keyboard focus issues (#12343)

Change-Id: Ifacf4208e5124665115d13928463d87922282461

10 years agoCleaned up the implementation of VTabsheet.selectPreviousTab()
Juho Nurminen [Wed, 20 Nov 2013 15:08:16 +0000 (17:08 +0200)]
Cleaned up the implementation of VTabsheet.selectPreviousTab()

Change-Id: I8e7fef3005173d7647b4dfda31f60978cbf5972a

10 years agoFixed TabSheet keyboard navigation (#12971)
Juho Nurminen [Mon, 18 Nov 2013 16:11:40 +0000 (18:11 +0200)]
Fixed TabSheet keyboard navigation (#12971)

Change-Id: Ibb155946811eb43829c6c200fa83c5eaa1d7cdfa

10 years agoFix TB3 local testing and occasionally failing SliderDisableTest.
Teemu Suo-Anttila [Tue, 19 Nov 2013 13:06:16 +0000 (15:06 +0200)]
Fix TB3 local testing and occasionally failing SliderDisableTest.

Change-Id: I58e60e55838c3339c934cf975e5e148c8f09a78b

10 years agoOutput test results in XML reports instead of to standard output
Artur Signell [Mon, 4 Nov 2013 16:10:05 +0000 (18:10 +0200)]
Output test results in XML reports instead of to standard output

This is a workaround for a problem with the integrated TeamCity JUnit
listener which is not thread safe. Without this the test results are
completely mixed up in TeamCity. For more information, see
http://youtrack.jetbrains.com/issue/TW-33176.

All standard JUnit test reports is put in result/reports. For uitest
there are three report directories: result/reports-tb2,
result/reports-tb3 and result/reports-integration to be able to clean
the directories before running a given type of tests.

This change is based on the separate fixes by John.

Change-Id: I2f0dee416f6745544636f2f3dcea0d0832ff8076

10 years agoRevert "Fixed lost scrollLeft when row count changed in Table (#12652)."
Leif Åstrand [Fri, 15 Nov 2013 09:46:42 +0000 (09:46 +0000)]
Revert "Fixed lost scrollLeft when row count changed in Table (#12652)."

This reverts commit 533ddcda271b7226b38c035adf3073062c562653.

Seems like the caused regressions are far from trivial to resolve. A new approach might be needed to resolve this issue.

Change-Id: I88cf75608e8d47fffab5a366a8ad1b3b70c1c11f

10 years agoAllow using @RunLocally to run on a local Firefox/Chrome/Safari
Artur Signell [Thu, 14 Nov 2013 07:38:05 +0000 (09:38 +0200)]
Allow using @RunLocally to run on a local Firefox/Chrome/Safari

Change-Id: Ibb1dfd12dc48637d8179f80322b5203ea5562805

10 years agoUse localhost when running locally to avoid potential network issues
Artur Signell [Mon, 11 Nov 2013 18:41:09 +0000 (20:41 +0200)]
Use localhost when running locally to avoid potential network issues

Change-Id: Ie43604a2b41d2214d55d0976ba3c81ea361c8c56

10 years agoAdded extra asserts to make test more safer to blind refactorings
Matti Tahvonen [Thu, 14 Nov 2013 10:17:04 +0000 (12:17 +0200)]
Added extra asserts to make test more safer to blind refactorings

Change-Id: I5dd159640bdc4f188c291017032ca96ca8b85d11

10 years agoPrevents accidental selection of window caption or content. (#12726)
Felype Santiago Ferreira [Mon, 11 Nov 2013 13:19:48 +0000 (15:19 +0200)]
Prevents accidental selection of window caption or content. (#12726)

Change-Id: Ida479ef0c421cf67b2863cf78c76b495337f30cf

10 years agoAdded test case for #12726
Matti Tahvonen [Thu, 14 Nov 2013 09:41:40 +0000 (11:41 +0200)]
Added test case for #12726

Change-Id: I396bfa4f255d64dd1729afa1be6771ff35026ad9

10 years agoEnsure alternate text is still visible (#11780)
Artur Signell [Wed, 13 Nov 2013 12:26:50 +0000 (14:26 +0200)]
Ensure alternate text is still visible (#11780)

Change-Id: Icfa54ec612153c3a92f83d7cb083685f7e77d295

10 years agoWorkaround for missing value change event in chrome (#10109)
Matti Tahvonen [Tue, 12 Nov 2013 15:12:30 +0000 (17:12 +0200)]
Workaround for missing value change event in chrome (#10109)

Change-Id: I019527041539fcd0083261b693767144492e626a

10 years agoDo not generate ParseException as it has been customized (#12937)
Artur Signell [Tue, 12 Nov 2013 09:08:07 +0000 (11:08 +0200)]
Do not generate ParseException as it has been customized (#12937)

Reverted ParseException to the previous version

Change-Id: Ic89eb4b65d1a78f40c4cb94e9b2a13a3250c1924

10 years agoRegenerated parser files (#12937)
Artur Signell [Mon, 11 Nov 2013 15:24:27 +0000 (17:24 +0200)]
Regenerated parser files (#12937)

Change-Id: I03e5f818c932d43be178008a4e857676bfed8f87

10 years agoEnsure generated parser is re-generated during build (#12937)
Artur Signell [Mon, 11 Nov 2013 14:11:50 +0000 (16:11 +0200)]
Ensure generated parser is re-generated during build (#12937)

Ultimately we should remove Parser.java and other generated files from
the project but this still needs tweaking ide.xml somehow so the parser
is built.

Change-Id: Iac491c6a50c87e1e8e0bb2f612e82186319a6de3

10 years agoUse correct type for UIDL value to avoid development mode problems (#12545)
Artur Signell [Mon, 11 Nov 2013 14:41:16 +0000 (16:41 +0200)]
Use correct type for UIDL value to avoid development mode problems (#12545)

Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6

10 years agoFixes double scrollbar issue in browserframes (#11780)
Thomas [Thu, 7 Nov 2013 11:03:52 +0000 (13:03 +0200)]
Fixes double scrollbar issue in browserframes (#11780)
Fixed by adding font-size 0 to the base theme.

Change-Id: I8d0224cb65f8ab36c50d2fd68157de4803c823e2

10 years agoRemove broken JSch check
Artur Signell [Mon, 11 Nov 2013 08:57:03 +0000 (10:57 +0200)]
Remove broken JSch check

The current check requires ANT_HOME/lib to contain jsch-0.1.48. There are
however other places, like .ant/lib where you can place the jar also.
Additionally the build agents in TeamCity seems to wipe ANT_HOME/lib
every now and then, which makes this a bad place to add extra jars.

Change-Id: I83b8e0612e72d422d4341fc68b1ab6a0c98848a5

10 years agoFixes NPE in TreeTable.setContainerDS(null) (#12928)
Thomas [Fri, 8 Nov 2013 11:59:28 +0000 (13:59 +0200)]
Fixes NPE in TreeTable.setContainerDS(null) (#12928)

Change-Id: I7f3148e51d216dfe20a11c8a5fd922f43cbc673b

10 years agoPrevent showing "Session Expired" notification if navigating away (#12298)
Johannes Dahlström [Thu, 7 Nov 2013 17:55:32 +0000 (19:55 +0200)]
Prevent showing "Session Expired" notification if navigating away (#12298)

Currently only works if navigation initiated via Page.open(url, "_self").
Page.setLocation should be changed in 7.2 to use "_self" as well (#12925)

Change-Id: I56ad66ffbbd1a83b64999307d23028cbd84bb508

10 years agoAdd a test for @mixin { @font-face {...} } (#11649)
joheriks [Fri, 8 Nov 2013 13:22:31 +0000 (15:22 +0200)]
Add a test for @mixin { @font-face {...} } (#11649)

Change-Id: I7d089ea14b169481f943a1f44058ad47f9b8179a

10 years agoFixes for sass compiler, handling mixins (#11288).
Mika Murtojarvi [Fri, 8 Nov 2013 09:23:35 +0000 (11:23 +0200)]
Fixes for sass compiler, handling mixins (#11288).

Keyframe selectors can now be comma-separated lists, interpolation
unquotes a quoted string and the parameters of an @include are no longer
lost.

Change-Id: I2622aca7471adc8004371affbb803d850e801307

10 years agoDo not apply fix on mobile devices or devices without scrollbars (#12736)
Artur Signell [Fri, 8 Nov 2013 09:26:08 +0000 (11:26 +0200)]
Do not apply fix on mobile devices or devices without scrollbars (#12736)

Change-Id: I38ef869d87418c18197a59a5ecd3fb7e12e1c02e

10 years agoMinimal fix for error handling with streaming (#12578)
Artur Signell [Thu, 7 Nov 2013 09:20:54 +0000 (11:20 +0200)]
Minimal fix for error handling with streaming (#12578)

There are still issues in PushHandler where the wrong resource is used but these should not be as critical. They will be fixed in #12920

Change-Id: Ife8d3694bdb6ee29c5b4adbd8988cc0346c4fe3f

10 years agoAdds JBoss EAP 6 server to integration test suit (#12908)
Thomas [Wed, 6 Nov 2013 11:34:18 +0000 (13:34 +0200)]
Adds JBoss EAP 6 server to integration test suit (#12908)

Change-Id: I2d31a0b446e40f0c221403dfb66a990e346e53c0

10 years agoFix scroll position handling in Window Webkit hack (#12736)
Artur Signell [Wed, 6 Nov 2013 13:11:34 +0000 (15:11 +0200)]
Fix scroll position handling in Window Webkit hack (#12736)

Change-Id: If4d17c34b2d20ad983f21b892d3ab4c68f511780

10 years agoRevert "Make Panel scroll the correct div (#12736)"
Artur Signell [Wed, 6 Nov 2013 13:26:42 +0000 (15:26 +0200)]
Revert "Make Panel scroll the correct div (#12736)"
Revert "Reverted change in how hack works (#12727, #12736)"
Revert "Fixes the handling of the scroll position of a Window (#12736)"
Revert "Recovering scroll position after regression problems. (#12727)"
Revert "Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide."

This reverts commit 6a63d12afc5a4bf3971dd016f8e2761cd27bcc74.
This reverts commit c48c94dc23da22b6d885c69b0bc697257f9dbf11.
This reverts commit 017bd0684c7d6c8475c8b43514e6f3998095c8d6.
This reverts commit 51a46a038fe0353f4babfd8218153eb68e2602ca.
This reverts commit ab5b20cf502f99944c82f619ffef387f0525e8ba.

Test cases were left as-is as the issue (#12736) still needs a workaround

Change-Id: I0b6c2afb4a9be8629f2a8f880a8ae8d0a6d5088f

10 years agoFixed lost scrollLeft when row count changed in Table (#12652).
Tapio Aali [Tue, 5 Nov 2013 10:17:06 +0000 (12:17 +0200)]
Fixed lost scrollLeft when row count changed in Table (#12652).

Change-Id: I868f56c1e7003c6619859ba46619f4c53ef9744e

10 years agoForces redraw in IE 8 when table does post layout. (#12687)
Jarno Rantala [Mon, 4 Nov 2013 13:21:22 +0000 (15:21 +0200)]
Forces redraw in IE 8 when table does post layout. (#12687)

Without forcing the redraw, IE8 measures component sizes incorrectly in some cases.

Change-Id: I38e8a70e18753714b00f5ca4492749d6c84f10dc

10 years agoSend window position data back to server after drag (#12885)
Thomas [Tue, 5 Nov 2013 13:21:06 +0000 (15:21 +0200)]
Send window position data back to server after drag (#12885)

Change-Id: I9ca766b0e06390c7ab90f9cbd4996b83032789db

10 years agoImprove error message in createWidget() (#12901)
Leif Åstrand [Tue, 5 Nov 2013 13:41:45 +0000 (15:41 +0200)]
Improve error message in createWidget() (#12901)

Change-Id: If456a2be242754bcd1e0a8c5be00062a4355af35

10 years agoAllow @font-face and general @-directives inside @if-blocks (#11649)
joheriks [Mon, 28 Oct 2013 15:06:23 +0000 (17:06 +0200)]
Allow @font-face and general @-directives inside @if-blocks (#11649)

Change-Id: Ifa844e7bf8add886792b39c016cc2c9aa3d94b0c

10 years agoUpdated to Atmosphere 1.0.18.vaadin1 (#12891)
Artur Signell [Tue, 5 Nov 2013 06:36:37 +0000 (08:36 +0200)]
Updated to Atmosphere 1.0.18.vaadin1 (#12891)

Change-Id: I5387c9f5eca1eb7941fbd4565d4b6f3cb95a5a0f

10 years agoEnsure testing Jetty does not run out of heap space
Artur Signell [Mon, 4 Nov 2013 19:50:49 +0000 (21:50 +0200)]
Ensure testing Jetty does not run out of heap space

Change-Id: If4549c7bcb0a6518756aa42827340415c44a030c

10 years agoMake Panel scroll the correct div (#12736)
Artur Signell [Mon, 4 Nov 2013 18:23:27 +0000 (20:23 +0200)]
Make Panel scroll the correct div (#12736)

Redefined util method to take the scrollable instead of its parent to make
it useful also for cases where the first child is not scrollable

Change-Id: I301d260d26373b38fdee525f169347bb7b4c499e

10 years agoMake test more reliable by updating description which does not update the DOM
Artur Signell [Mon, 4 Nov 2013 20:24:49 +0000 (22:24 +0200)]
Make test more reliable by updating description which does not update the DOM

Many browsers (IE) choke quite easily when there is a 1MB string inside a div

Change-Id: Ied9b27c17c5374b7cac36820be9cbe38e84448ee

10 years agoFix NPE in fix (#12504)
Artur Signell [Mon, 4 Nov 2013 17:59:50 +0000 (19:59 +0200)]
Fix NPE in fix (#12504)

Change-Id: I65960bcfae850955ea40584445125c0affa26848

10 years agoRemove possibility to use static inner classes for tests
Artur Signell [Fri, 1 Nov 2013 10:58:33 +0000 (12:58 +0200)]
Remove possibility to use static inner classes for tests

Change-Id: I461568918bc09bd7a09abbf9c4a34f1a5f3b997f

10 years agoExtracted test to separate class
Artur Signell [Fri, 1 Nov 2013 10:54:05 +0000 (12:54 +0200)]
Extracted test to separate class

Change-Id: Ibfad0180e93e7f74b91427761b40c86938044c50

10 years agoFix NPE caused by setting ApplicationConnection too late (#12736)
Artur Signell [Mon, 4 Nov 2013 09:25:50 +0000 (11:25 +0200)]
Fix NPE caused by setting ApplicationConnection too late (#12736)

Change-Id: Ib5b3bc7123ffd2f212fb6e242ee07175ff743b0f

10 years agoReverted change in how hack works (#12727, #12736)
Artur Signell [Mon, 4 Nov 2013 09:26:54 +0000 (11:26 +0200)]
Reverted change in how hack works (#12727, #12736)

The fix for Window slightly altered how the hack was done, breaking #12736

Change-Id: I2d33b45421c40ce011d2e728a573f7572e326c47

10 years agofix regression related to #12504
Matti Tahvonen [Wed, 23 Oct 2013 14:28:55 +0000 (17:28 +0300)]
fix regression related to #12504

Cloning date instances passed from state to cal panel as they appear to be mutating

Change-Id: I3775b8445ddc0a779b894b4e044bde93f4c5936c

10 years agoMade test more stable and added Firefox reconnect test (#12492)
Artur Signell [Thu, 31 Oct 2013 19:35:25 +0000 (21:35 +0200)]
Made test more stable and added Firefox reconnect test (#12492)

Waits longer for push message as at least Firefox has some kind of built in back off for websocket reconnects

Change-Id: Iaab2e09e8364f0b6247b3b39c19be439a4995800

10 years agoPrepare for Safari 7 testing (#5288)
Artur Signell [Thu, 31 Oct 2013 17:27:40 +0000 (19:27 +0200)]
Prepare for Safari 7 testing (#5288)

Change-Id: I8868d9bd5e6dcc2b6ece404460700f00e6f2004e

10 years agoFix duplicate id issue in test and test more corner cases
Artur Signell [Thu, 31 Oct 2013 17:22:44 +0000 (19:22 +0200)]
Fix duplicate id issue in test and test more corner cases

Change-Id: I4bacfe7353968df7b0f1a8786ae4e488dffa3565

10 years agoUpdate to Atmosphere js 2.0.3.vaadin2 (#12868, #12852)
Artur Signell [Thu, 31 Oct 2013 17:34:00 +0000 (19:34 +0200)]
Update to Atmosphere js 2.0.3.vaadin2 (#12868, #12852)

Change-Id: I1a75b7dbc024e4222466d7cd0900660991a3c8f2

10 years agoNo longer require specifying Atmosphere js version in two places
Artur Signell [Thu, 31 Oct 2013 17:00:21 +0000 (19:00 +0200)]
No longer require specifying Atmosphere js version in two places

Change-Id: I84faea7fe0cd3447d7d66503e5231f26367dcd57

10 years agoForce connection to closed state on reconnect (#12853)
Artur Signell [Thu, 31 Oct 2013 16:42:22 +0000 (18:42 +0200)]
Force connection to closed state on reconnect (#12853)

IE10+ does not call onabort when the streaming connection is aborted.
As a result, onclose is never called and the client side does not
change the connection state away from "connected". This results in
user actions not being queued on the client side, instead the client
tries to send them immediately, leading to an eternal spinner.

If this can be fixed in Atmosphere somehow, it should. This is a
workaround until then.

Change-Id: Icd1a86ac9775d1a7d9c0bc1dee0fd399e2bf2266

10 years agoTests for validating reconnect works for streaming and websockets (#12868,#12853...
Artur Signell [Thu, 31 Oct 2013 10:39:12 +0000 (12:39 +0200)]
Tests for validating reconnect works for streaming and websockets (#12868,#12853,#12852)

Change-Id: I0e1e51291e9275a78737ad0e70e63b75ef993a63

10 years agoFix compilation error in test
Artur Signell [Thu, 31 Oct 2013 12:30:16 +0000 (14:30 +0200)]
Fix compilation error in test

Change-Id: I1ad693fdc55becd4b4e620b8549d824b4496b908

10 years agoConverted LayoutTesterApplication test to TB3
Artur Signell [Mon, 28 Oct 2013 14:55:45 +0000 (16:55 +0200)]
Converted LayoutTesterApplication test to TB3

Change-Id: I2cee37ae8297c74b4a37fc59e3cf835c9291ed43

10 years agoAdd StringToLongConverter for automatic handling of long values (#12225)
Artur Signell [Fri, 9 Aug 2013 17:35:54 +0000 (20:35 +0300)]
Add StringToLongConverter for automatic handling of long values (#12225)

Backported from master

Change-Id: Ibb91d28aab3731486c84d09547c7af641f39610a
Merge: no

10 years agoFixed Tab error tooltips (#12802)
Juho Nurminen [Wed, 30 Oct 2013 12:25:30 +0000 (14:25 +0200)]
Fixed Tab error tooltips (#12802)

Change-Id: I5ad33f38be5fac64805950d143ad2712e671ff83

10 years agoFixes the handling of the scroll position of a Window (#12736)
Mika Murtojarvi [Tue, 29 Oct 2013 13:22:45 +0000 (15:22 +0200)]
Fixes the handling of the scroll position of a Window (#12736)

After the first commit the same fix has been applied also for panels, in
addition to other suggested changes.

The scroll position of a Window is now memorized before applying
the fix for bug #11994. The position is restored after the fix.

Because the scrolling issue is known to appear also in other components,
the fix for the scrolling has been moved to the Util class.

Change-Id: I5251011b5bede77a7fb18972e1d90016c0eccc23

10 years agoAdded dummy checkstyle and test targets to liferay module
John Ahlroos [Mon, 28 Oct 2013 12:55:22 +0000 (14:55 +0200)]
Added dummy checkstyle and test targets to liferay module

The main build is currently assuming that every submodule has
a checkstyle and a test target. Added a dummy implementation for both of
them so the build passes.

Change-Id: Iea29b25840c26a4a384ba1ce8293d9ea6f37981e

10 years agoStop polling if Communication Error #12362
John Ahlroos [Mon, 28 Oct 2013 14:41:24 +0000 (16:41 +0200)]
Stop polling if Communication Error #12362

This change adds a new ApplicationStopped event which is triggered
whenever the ApplicationConnection marks the application as stopped.
This event is listened by the UIConnector and will terminate any polling
that might be currently done.

Change-Id: I5e698fba7a94f530f69a9f6f554eea896c370824

10 years agoRevert "Publish error artifacts immediatly in TeamCity"
Artur Signell [Wed, 30 Oct 2013 07:04:17 +0000 (07:04 +0000)]
Revert "Publish error artifacts immediatly in TeamCity"

This reverts commit 5fb1da2da04ccca2305af31a9105b848e42b1ed6.

Change-Id: I9d84b75e5e189378eacd2559bb42399b77957010

10 years agoRevert "Only print testbench failure TeamCity messages when running in TC"
Artur Signell [Wed, 30 Oct 2013 07:03:51 +0000 (07:03 +0000)]
Revert "Only print testbench failure TeamCity messages when running in TC"

This reverts commit d0e604f6b509767c46ffe0fd6765cf23535f593e.

Change-Id: I14509a9cb1365761d02a3a8a18d3febc4a7ba918

10 years agoEnsure error screenshots are named according to the browser and not reference
Artur Signell [Tue, 29 Oct 2013 12:18:24 +0000 (14:18 +0200)]
Ensure error screenshots are named according to the browser and not reference

Change-Id: I3fe0a3f5e2906bde79d6d9fc3e84dab8102ffd60

10 years agoParser stripped minus of negative numbers with unknown units (#12811)
joheriks [Mon, 28 Oct 2013 12:28:57 +0000 (14:28 +0200)]
Parser stripped minus of negative numbers with unknown units (#12811)

Change-Id: I8964b1732f867cb3c5aa5859d12e94a5978adece

10 years agoRemove out of order flush() (#12283)
Artur Signell [Fri, 18 Oct 2013 11:08:50 +0000 (14:08 +0300)]
Remove out of order flush() (#12283)

Writer.flush() is specified as:
"Flushes the stream. If the stream has saved any characters from the various
write() methods in a buffer, write them immediately to their intended
destination. Then, if that destination is another character or byte stream,
flush it. Thus one flush() invocation will flush all the buffers in a chain
of Writers and OutputStreams."

Change-Id: Iecafdbb13a7a26a48300d2967c25c705f5bf1e38

10 years agoFixes test issues preventing it from passing
Artur Signell [Tue, 22 Oct 2013 20:24:44 +0000 (23:24 +0300)]
Fixes test issues preventing it from passing

Ensure push is enabled correctly without a fallback and made test more stable

Change-Id: I6c653a96375e05c6ad18e1f5b697c6a584c6c53f

10 years agoConvert push test to TB3 so it has a chance to pass
Artur Signell [Tue, 22 Oct 2013 21:51:44 +0000 (00:51 +0300)]
Convert push test to TB3 so it has a chance to pass

Change-Id: I6381ea4bd61b3df19599f2f9d3a303a50c810460

10 years agoRecovering scroll position after regression problems. (#12727)
Felype Santiago Ferreira [Wed, 23 Oct 2013 08:23:02 +0000 (11:23 +0300)]
Recovering scroll position after regression problems. (#12727)

The fix for "Panels get unnecessary scroll bars in WebKit when content is 100% wide (#12727)" introduced side effects to #6731. This fix solves the problem.

Change-Id: I15ca926c0ee4cad49e9eea0c578c9cc73c850588

10 years agoRevert broken fix and test (#12446)
Johannes Dahlström [Mon, 21 Oct 2013 13:16:37 +0000 (16:16 +0300)]
Revert broken fix and test (#12446)

The timeoutInterval variable needs to be part of per-UI state for the
code to work correctly. Storing it in a servlet-global MetadataWriter
instance is both semantically wrong and a race condition.

Also, the test currently throws NPE if assertions are enabled.

This reverts commit f595d057951523baf35a797692376dfa5de0bc8d.

Change-Id: Ia6d1383b2c112b86ce60c75a3ebb9f10da545d4a