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.
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.
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.
joheriks [Tue, 22 Oct 2013 14:30:31 +0000 (17:30 +0300)]
Import W3C CSS tests to validate CSS parsing (#12735)
Downloaded W3C conformance tests for CSS 2.1 and CSS 3 (selectors),
extracted all CSS (style tags, inline styles, and linked stylesheets),
Since each CSS is valid SCSS, the parser should accept them. Since these
are browser tests, some include CSS fragments which are intentionally
malformed. These are excluded via explicit exclusion lists.
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.
Jarno Rantala [Mon, 28 Oct 2013 12:53:54 +0000 (14:53 +0200)]
Forces small delay before showing accessible tooltip on focus (#12849)
Screen reader (JAWS 14) seems to get confused about the focused item if
the tooltip is shown on focus. This commit forces small delay before
showing the tooltip. More info, see
http://www.w3.org/TR/2011/CR-wai-aria-20110118/roles#tooltip
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."
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.
Fabian Lange [Tue, 22 Oct 2013 22:06:24 +0000 (00:06 +0200)]
removed obsolete field "width" from VNativeButton. (#12825)
The field width of VNativeButton was written when setWidth() was invoked,
but it was never read anywhere. Removing it saves cpu time and memory.
This field was not marked as internal and it was protected, if anybody needs
it, they can easily add it to their classes.
Leif Åstrand [Tue, 22 Oct 2013 06:12:59 +0000 (09:12 +0300)]
Merge changes from origin/7.1
c7ae45c Validate that the connector is enabled before triggering actions for it (#12743) ce89a75 Created constants for tested browser versions (#12786) f9ea9b3 Allow running tests locally by overriding runLocally() (#12786) e70ba25 Added liferay module for building liferay.zip #12748 7c12694 Add sub directory support to sass test scanner (#12790) 39fdf66 Handle numbers in the same way if they do not have a unit (#12732) 6155d61 Disable fallback in a way compatible with Atmosphere JS 2.0.3 (#12241) f401595 Test for pushing large chunks of data (#12567) d41967d Skip compilation of TB2 tests if tests.tb2.skip is set 6c1ba81 Reverted button click() logic check (#12743) 779c8a0 Disable automated testing on Opera until issues are resolved (#12487, #12367, #12800) 962c1c3 Fix compilation error 7ee11a7 Remove unused test super class (#12786) a4211dc Resolve concurrency issue in running TB3 tests 20c28aa Fixed javadoc 0d36896 Add more hax to make test work with new Atmosphere JS (#12241) ed50200 Fix serialization issue (#12703) dd51b7f Added more exception handling to PushHandler (#12578, #11882) 6f76840 Sass variables can now start with underscore (#12716) ab5b20c Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide. 361ad17 Fixed focus issue in TableMoveFocusWithSelectionTest (#12540) ee809e5 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.
Henrik Paul [Fri, 18 Oct 2013 12:09:43 +0000 (15:09 +0300)]
Merge changes from origin/7.1
377d49e Allow configuring deployment port for TB3 tests 6779857 Updatet servlet tests to follow the same *Test naming convention e1c38bf Avoid obsolete calendar panel renderings to avoid various NPEs. (#12504,#12667) 63f10ec Fixed compilation error in TB3 test 3e593b0 Focus selected row in Table #12540 3c842b7 added small pause to make test pass 1b7e40d Only fetch rows if there are some (#11189) f595d05 Make the various Writers member fields instead of local variables (#12446) 4cb304d Converted broken test to TB3 2aa2fdc Handle ClientMethodInvocation serialization with JSONArray as parameter (#12532) 1449425 Also hide shim iframe of VOverlay on setVisible(false) (#12731) 25fc2f2 Fix whitespace after including a mixin (#12715) c29ca5e Update to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127) f75164f Disable unit cache to avoid compilation issues when switching between branches 6a99730 Allow skipping TB2/TB3 tests using tests.tb2/tb3.skip