UIs now always have a PushConnection object if push is enabled,
and push reconnections do not create and set a new instance.
PushConnection.push can always be called; it internally handles
deferring the push until (re)connection if it is currently
disconnected. This is very desirable when using long polling,
as it reconnects after each push.
Artur Signell [Wed, 22 Jan 2014 17:47:46 +0000 (19:47 +0200)]
Update httpcomponents dependencies (#12871).
httpclient 4.1.2 -> 4.3.1, now directly from Maven central
httpcore 4.1.2 -> 4.3, now directly from Maven central
httpmime 4.1.2 -> 4.3.1, now directly from Maven central
John Ahlroos [Thu, 16 Jan 2014 12:33:53 +0000 (14:33 +0200)]
Fixed always failing testbench test.
The test was always failing since it relied on the GWT generated gwt-X
ids in its locator. Converted test to TB3 and used a different approach
for testing the same thing.
Artur Signell [Tue, 17 Dec 2013 19:36:03 +0000 (20:36 +0100)]
Add support for using java.util.Date in communications (#13073)
This adds support for using separate serializer classes on the
server side, similarly to on the client side. Still it is not
public API yet as you do not have the possibility to add your
own serializers to the map used by JsonCodec.
John Ahlroos [Tue, 14 Jan 2014 14:52:12 +0000 (16:52 +0200)]
Fixed always failing TooltipInWindowTest
Test was failing due the TB2 returning different pixel values depending
on which browser the test was run. Converted test to TB3 and made the
test a bit more lenient to browser differences while still testing the
essentials of tooltip handling in sub windows.
Matti Tahvonen [Sat, 7 Dec 2013 15:22:02 +0000 (17:22 +0200)]
Make fields with value change listener immediate
Makes fields with value change listener immediate without explicit
call. If immediate value has been explicitly set, it is honoured.
In most cases immediate now works seamlessly and excess server
round trips should be rare as a regression.
Artur Signell [Fri, 29 Nov 2013 09:53:20 +0000 (11:53 +0200)]
Simplified support for null intermediate properties (#11435)
Removed support for explicitly throwing NPE for intermediate properties as no use
case could be identified where this would be the expected or wanted behavior.
84521fa Use correct type for UIDL value to avoid development mode problems (#12545) 3680505 Ensure generated parser is re-generated during build (#12937) f3fa6af Regenerated parser files (#12937) 011a2a0 Do not generate ParseException as it has been customized (#12937) 9be3b40 Workaround for missing value change event in chrome (#10109) 48034f6 Ensure alternate text is still visible (#11780) cbc9949 Added test case for #12726 07b1a9d Prevents accidental selection of window caption or content. (#12726) e05e10e Added extra asserts to make test more safer to blind refactorings 33e5897 Use localhost when running locally to avoid potential network issues 642818f Allow using @RunLocally to run on a local Firefox/Chrome/Safari 81a1c29 Revert "Fixed lost scrollLeft when row count changed in Table (#12652)." dde6a48 Output test results in XML reports instead of to standard output 012e649 Fix TB3 local testing and occasionally failing SliderDisableTest.
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.
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.
Artur Signell [Mon, 11 Nov 2013 14:33:27 +0000 (16:33 +0200)]
Merge changes from origin/7.1
30e9b7c Add a test for @mixin { @font-face {...} } (#11649) 0a2cf2c Prevent showing "Session Expired" notification if navigating away (#12298) 8efc385 Fixes NPE in TreeTable.setContainerDS(null) (#12928) 23815e6 Remove broken JSch check c308d8a Fixes double scrollbar issue in browserframes (#11780) Fixed by adding font-size 0 to the base theme.
Artur Signell [Mon, 11 Nov 2013 14:26:51 +0000 (16:26 +0200)]
Merge changes from origin/7.1
0d3c35b Forces redraw in IE 8 when table does post layout. (#12687) 533ddcd Fixed lost scrollLeft when row count changed in Table (#12652). c351b64 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." 2e3e877 Fix scroll position handling in Window Webkit hack (#12736) 6b38173 Adds JBoss EAP 6 server to integration test suit (#12908) e933562 Minimal fix for error handling with streaming (#12578) 1385857 Do not apply fix on mobile devices or devices without scrollbars (#12736)
Artur Signell [Mon, 11 Nov 2013 14:19:52 +0000 (16:19 +0200)]
Merge changes from origin/7.1
a5a9131 Converted LayoutTesterApplication test to TB3 1376429 Fix compilation error in test 7b120fc Tests for validating reconnect works for streaming and websockets (#12868,#12853,#12852) 9e6a82d Force connection to closed state on reconnect (#12853) e365eee No longer require specifying Atmosphere js version in two places ca7e928 Update to Atmosphere js 2.0.3.vaadin2 (#12868, #12852) 1cc4dc1 Fix duplicate id issue in test and test more corner cases c21a684 Prepare for Safari 7 testing (#5288) 7615fd1 Made test more stable and added Firefox reconnect test (#12492) 186696d fix regression related to #12504 c48c94d Reverted change in how hack works (#12727, #12736) f328340 Fix NPE caused by setting ApplicationConnection too late (#12736) b47915f Extracted test to separate class e07e674 Remove possibility to use static inner classes for tests c4aff77 Fix NPE in fix (#12504) 15dce28 Make test more reliable by updating description which does not update the DOM 6a63d12 Make Panel scroll the correct div (#12736) cc796b0 Ensure testing Jetty does not run out of heap space f8da926 Updated to Atmosphere 1.0.18.vaadin1 (#12891)
Artur Signell [Mon, 11 Nov 2013 14:15:43 +0000 (16:15 +0200)]
Merge changes from origin/7.1
e413646 Ensure error screenshots are named according to the browser and not reference 2a3890c Revert "Only print testbench failure TeamCity messages when running in TC" 8971651 Revert "Publish error artifacts immediatly in TeamCity" 1265600 Stop polling if Communication Error #12362 878c2bd Added dummy checkstyle and test targets to liferay module 017bd06 Fixes the handling of the scroll position of a Window (#12736) e2157f4 Fixed Tab error tooltips (#12802)
Artur Signell [Mon, 11 Nov 2013 13:56:06 +0000 (15:56 +0200)]
Merge changes from origin/7.1
51a46a0 Recovering scroll position after regression problems. (#12727) c464dcf Convert push test to TB3 so it has a chance to pass 2c6d010 Fixes test issues preventing it from passing 049b9d9 Remove out of order flush() (#12283)
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.
Mika Murtojarvi [Thu, 7 Nov 2013 11:28:53 +0000 (13:28 +0200)]
A fix for handling nested parentheses in sass (#12833)
Selectors such as *:not(:lang(fr)) are now allowed. Nested
parentheses were identified as the cause of the problem. Now
skipping is done to the matching right parenthesis instead of the
first right parenthesis.
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."
Mika Murtojarvi [Tue, 5 Nov 2013 09:20:21 +0000 (11:20 +0200)]
Sass, the handling of selectors containing multiple #-symbols (#12832)
After the first commit, a test case has been downloaded and added to
w3ctests. The indentation of a production was also changed in an
attempt to more clearly express its meaning.