Antialias underlines if they're not axis-aligned
https://bugs.webkit.org/show_bug.cgi?id=123004

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-23
Reviewed by Simon Fraser.

Source/WebCore:

In order to make underlines crisp, GraphicsContext:drawLineForText
modifies the bounds of the underline rect in order to make the rect
device-pixel-aligned, and then turns off antialiasing when drawing
the line. This makes sense when the underline is axis-aligned, but
doesn't when the rect is rotated or skewed. Therefore, we should
only opt-in to this behavior if the underline we're about to draw
is axis-aligned. This requires figuring out whether or not the
current transformation is axis-aligned every time
GraphicsContext::drawLineForText is called, which will incur a small
performance hit. However, this is justified by underlines looking
much better (antialiased) when the context is rotated or skewed.

Tests: svg/custom/foreign-object-skew.html
       svg/zoom/page/zoom-foreignObject.html
       svg/zoom/text/zoom-foreignObject.html:

* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::drawLineForText):

LayoutTests:

Updating tests that draw underlines in a non-axis-aligned
GraphicsContext. The expected .png's should show an antialiased
underline. However, underlines which are axis-aligned should still
be unchanged.

* platform/mac/svg/custom/foreign-object-skew-expected.png:
* platform/mac/svg/zoom/page/zoom-foreignObject-expected.png:
* platform/mac/svg/zoom/text/zoom-foreignObject-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix JavaScriptCore build targets following <http://trac.webkit.org/changeset/157864>
(https://bugs.webkit.org/show_bug.cgi?id=123169)

Tell Xcode that the supported platforms for all JavaScriptCore targets are iOS and OS X.

* Configurations/Base.xcconfig:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clicking on a test name on the new flakiness dashboard should add a new test pane
https://bugs.webkit.org/show_bug.cgi?id=123194

Reviewed by Simon Fraser.

Added a new click handler on each test name inside the builder test view add a new test pane.
Moved the old trac link to a right-arrow inline SVG icon.

Also tweaked the style so that the builder test view looks different from other test panes.

* index.html:
(TestResultsView._urlFromTest): Extracted from TestResultsView._linkifiedTestName.
(TestResultsView._populateBuilderPane): Fetch the test when its name is clicked.
Added a circled right arrow for the old trac link.
* main.css: Tweaked the style to move the rounded border around the builder test view to be
around the form controls to clearly differentiate it from a regular test pane.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reverted erroneously committed changes from the previous commit.

* index.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Explicitly build Win32 or x64 configuration on Windows.
https://bugs.webkit.org/show_bug.cgi?id=123206

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-23
Reviewed by Brent Fulgham.

* Scripts/webkitdirs.pm:
(jscPath):
(determineConfigurationForVisualStudio):
(determinePassedConfiguration):
Add |Win32 to the end of 32-bit Visual Studio build configurations.
(safariPath):
* Scripts/build-webkit:
* Scripts/old-run-webkit-tests:
* Scripts/run-api-tests:
(testToolPath):
* Scripts/run-javascriptcore-tests:
(testapiPath):
* Scripts/run-regexp-tests:
(testapiPath):
* Scripts/sunspider-compare-results:
(pathToBuiltJSC):
Use configuration instead of configurationForVisualStudio, which are now always different.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Put all uses of LLVM intrinsics behind a single Option
https://bugs.webkit.org/show_bug.cgi?id=123219

Reviewed by Mark Hahnenberg.

* ftl/FTLExitThunkGenerator.cpp:
(JSC::FTL::ExitThunkGenerator::emitThunk):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::generateExitThunks):
(JSC::FTL::LowerDFGToLLVM::compileGetById):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::addExitArgumentForNode):
* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileFTLOSRExit):
* runtime/Options.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing.
https://bugs.webkit.org/show_bug.cgi?id=123214

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-23
Reviewed by Brent Fulgham.

Source/WebCore:

* platform/graphics/PlatformLayer.h:
Added TextureMapperPlatformLayer PlatformLayer declaration for WinCairo.
* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
(WebCore::MediaPlayerPrivateFullscreenWindow::createWindow):
(WebCore::MediaPlayerPrivateFullscreenWindow::wndProc):
* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h:
Added USE(CA) where necessary to compile WinCairo with accelerated compositing.

Source/WebKit/win:

* WebCoreSupport/WebChromeClient.h:
(WebChromeClient::delegatedScrollRequested): Added empty function.
* WebPreferences.cpp:
(WebPreferences::acceleratedCompositingEnabled):
Return true for non-CA ports using accelerated compositing.
* WebView.cpp:
(WebView::~WebView):
(WebView::sizeChanged):
(WebView::paint):
(WebView::setShouldInvertColors):
(WebView::flushPendingGraphicsLayerChangesSoon):
(WebView::setAcceleratedCompositing):
* WebView.h:
Added USE(CA) where necessary to compile WinCairo with accelerated compositing.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix assertion in DatabaseManager::detailsForNameAndOrigin() to be iOS friendly.
https://bugs.webkit.org/show_bug.cgi?id=123218.

Reviewed by Joseph Pecoraro.

No new tests.

* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::detailsForNameAndOrigin):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Layout Test compositing/regions/floated-region-with-transformed-child.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=123220

* platform/mac/TestExpectations: Marking as such.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Have a way of dealing with slow tests in run-jsc-stress-tests
https://bugs.webkit.org/show_bug.cgi?id=123221

Tools: 

Reviewed by Mark Hahnenberg.
        
If you add the slow! command to //@ then all subsequent plans are prepended to the run list
rather than appended to it. This means that slow tests get queued up first and are less likely
to block completion.

* Scripts/run-jsc-stress-tests:

LayoutTests: 

Reviewed by Mark Hahnenberg.
        
* js/regress/script-tests/stepanov_container.js: This test is slow!



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add 1.0.1 and 1.0.2 WebGL conformance suites to layout tests.
https://bugs.webkit.org/show_bug.cgi?id=123188

Rubberstamped by Dean Jackson.

Skip known 1.0.2 failures and any other unexpected failures for now.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] New positioning model: Padding
https://bugs.webkit.org/show_bug.cgi?id=118823

Reviewed by Dirk Schulze.

Tests for floats with shape-outside and padding.

* csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log:
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009-expected.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009.html: Added.
* csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157889 268f45cc-cd09-0410-ab3c-d52691b4dbfc