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)
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
Artur Signell [Thu, 17 Oct 2013 12:21:09 +0000 (15:21 +0300)]
Resolve concurrency issue in running TB3 tests
Ensure nobody can update the static collections of browsers to run on
but that sub classes can restrict which browsers to run on using
super.getBrowersToTest().remove(something)
Artur Signell [Wed, 16 Oct 2013 12:31:15 +0000 (15:31 +0300)]
Reverted button click() logic check (#12743)
The isConnectorEnabled() method should only to be used to check if the
client side is allowed to interact with the button, not on the server side
(isConnectorEnabled() is false if the component is not attached to a UI)
Jarno Rantala [Thu, 10 Oct 2013 10:08:09 +0000 (13:08 +0300)]
Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)
The events inherits the ItemSetChangedEvent and they contain more information about the added/removed items. These events are fired
from AbstractInMemoryContainer.
Pekka Hyvönen [Fri, 11 Oct 2013 12:55:50 +0000 (15:55 +0300)]
Converted test to use screenshots due to IE8 issues with TB dnd commands
(#12714)
Basically the screenshot for IE8 after the drag + drop commands shows
that the column header drag element is not removed from DOM for some
reason. In real life, column header drag and drop works for IE8.