Unreviewed EFL build fix after r153315.

Use -std=gnu++0x instead of -std=c++0x as we rely on GNU extensions such as
typeof().

* Source/cmake/WebKitHelpers.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove lastModifiedDate from ResourceResponse
https://bugs.webkit.org/show_bug.cgi?id=119092

Reviewed by Andreas Kling.

Source/WebCore:

Computing m_lastResponseDate is costly on some platforms and we already have a better way to
get the last response time, so convert the two call sites that used to call ResourceresponseBase::lastModifiedDate()
over to using lastModified() instead.

* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::ResourceResponseBase):
(WebCore::ResourceResponseBase::adopt):
(WebCore::ResourceResponseBase::copyData):
* platform/network/ResourceResponseBase.h:
* platform/network/cf/ResourceResponseCFNet.cpp:
(WebCore::ResourceResponse::platformLazyInit):
* plugins/PluginStream.cpp:
(WebCore::lastModifiedDate):
(WebCore::PluginStream::startStream):

Source/WebKit2:

Update for WebCore changes.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::lastModifiedDate):
Use ResourceResponse::lastModified() to get the last modified date.

(WebKit::PluginView::Stream::didReceiveResponse):
Call the static lastModified function.

(WebKit::PluginView::manualLoadDidReceiveResponse):
Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
More 32bit build fixes

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL build fix after r153315.

Fix build error after we started compiling with c++0x support
in r153315.

* platform/efl/RenderThemeEfl.cpp:
(WebCore::toEdjeGroup):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix Windows build after r153134.
https://bugs.webkit.org/show_bug.cgi?id=119090

Reviewed by Oliver Hunt.

Add USE(PTHREADS) guards around pthread specific code
for now. This will cause isCompilationThread to always
return false on non pthread platforms such as Windows.

We might be able to use the Windows one-time initialization
for this, but this is only available from Windows Vista on.

* wtf/CompilationThread.cpp:
(WTF::initializeCompilationThreads):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] New positioning model: support for circle and ellipse shape-outside
https://bugs.webkit.org/show_bug.cgi?id=118084

Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-25
Reviewed by Dirk Schulze.

Update circle and ellipse tests to work with new positioning. These
have been rehomed as W3C spec tests, and thus are imported from the
CSSWG's repository.

* TestExpectations: Remove skip for updated tests.
* csswg/submitted/shapes/shape-outside/shape-outside-floats-circle-000-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle-expected.html.
* csswg/submitted/shapes/shape-outside/shape-outside-floats-circle-000.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle.html.
* csswg/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse-expected.html.
* csswg/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse.html.
* csswg/submitted/shapes/shape-outside/w3c-import.log:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] Fix typo in simple-polygon.js
https://bugs.webkit.org/show_bug.cgi?id=119096

Reviewed by Dirk Schulze.

A function name typo was preventing tests and expectations using simple-polygon.js
from generating correct output.

* fast/shapes/resources/simple-polygon.js:
(polygonXIntercepts): Correctly camel-case function name.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
32 bit portion of load validation logic
https://bugs.webkit.org/show_bug.cgi?id=118878
Reviewed by NOBODY (Build fix).
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix after r153333.

* platform/network/cf/ResourceResponseCFNet.cpp: Remove toTimeT since it is no longer called.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make all jit & non-jit combos build cleanly
https://bugs.webkit.org/show_bug.cgi?id=119102

Reviewed by Anders Carlsson.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::counterValueForOptimizeSoon):
* bytecode/CodeBlock.h:
(JSC::CodeBlock::optimizeAfterWarmUp):
(JSC::CodeBlock::numberOfDFGCompiles):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed build fix.

* WTF.vcxproj/WTF.vcxproj: Add missing CompilationThread.h,.cpp
* WTF.vcxproj/WTF.vcxproj.filters: Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed build fix.

* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Add some missing files:
runtime/VM.h,.cpp; Remove deleted JSGlobalData.h,.cpp.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-[WebHTMLView attributedSubstringForProposedRange:actualRange:] does not include strikethrough attribute in the returned attributed string
https://bugs.webkit.org/show_bug.cgi?id=119099
<rdar://problem/13439291>

Reviewed by Enrica Casucci.

Source/WebCore: 

Tests:
    API Test: AttributedStringTest_Strikethrough

* platform/mac/HTMLConverter.mm:
(+[WebHTMLConverter editingAttributedStringFromRange:]):
Set the NSStrikethroughStyleAttributeName attribute when text-decoration: line-through is seen.

Tools: 

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/AttributedString.mm:
(TestWebKitAPI::attributedString):
(TestWebKitAPI::AttributedStringTest_CustomFont::didLoadURL):
(TestWebKitAPI::AttributedStringTest_CustomFont::url):
(TestWebKitAPI::AttributedStringTest_CustomFont::runTest):
(TestWebKitAPI::TEST_F):
(TestWebKitAPI::AttributedStringTest_Strikethrough::didLoadURL):
(TestWebKitAPI::AttributedStringTest_Strikethrough::url):
(TestWebKitAPI::AttributedStringTest_Strikethrough::runTest):
* TestWebKitAPI/Tests/mac/attributedStringStrikethrough.html: Added.
Add tests for attributed strings with strikethrough.  Refactor the attributed string tests
to make adding more easier in the future.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Provide ASM implemenation of 8-bit compare-and-swap
https://bugs.webkit.org/show_bug.cgi?id=119084

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-07-25
Reviewed by Brent Fulgham.

* wtf/Atomics.h:
(WTF::weakCompareAndSwap): Add a 32-bit X86 Assembly path for
Windows build.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/ThirdParty/ANGLE: Made Windows build system for ANGLE and removed existing broken build system.
Removed empty src/libGLESv2/shaders directory and old README files.
https://bugs.webkit.org/show_bug.cgi?id=119103

Reviewed by Brent Fulgham.

* ANGLE.vcxproj: Added.
* ANGLE.vcxproj/ANGLEGenerated.vcxproj: Added.
* ANGLE.vcxproj/ANGLEGenerated.vcxproj.filters: Added.
* ANGLE.vcxproj/libEGL.vcxproj: Added.
* ANGLE.vcxproj/libEGL.vcxproj.filters: Added.
* ANGLE.vcxproj/libEGLCommon.props: Added.
* ANGLE.vcxproj/libGLESv2.vcxproj: Added.
* ANGLE.vcxproj/libGLESv2.vcxproj.filters: Added.
* ANGLE.vcxproj/libGLESv2Common.props: Added.
* ANGLE.vcxproj/translator.vcxproj: Added.
* ANGLE.vcxproj/translator.vcxproj.filters: Added.
* ANGLE.vcxproj/translatorCommon.props: Added.
* src/ANGLE.sln: Removed.
* src/compiler/preprocessor/preprocessor.vcxproj: Removed.
* src/compiler/preprocessor/preprocessor.vcxproj.filters: Removed.
* src/compiler/translator_common.vcxproj: Removed.
* src/compiler/translator_common.vcxproj.filters: Removed.
* src/compiler/translator_hlsl.vcxproj: Removed.
* src/compiler/translator_hlsl.vcxproj.filters: Removed.
* src/libEGL/README: Removed.
* src/libEGL/libEGL.vcxproj: Removed.
* src/libEGL/libEGL.vcxproj.filters: Removed.
* src/libGLESv2/README: Removed.
* src/libGLESv2/libGLESv2.vcxproj: Removed.
* src/libGLESv2/libGLESv2.vcxproj.filters: Removed.
* src/libGLESv2/shaders: Removed.

Source/WebKit: Made Windows build system for ANGLE.
https://bugs.webkit.org/show_bug.cgi?id=119103

Reviewed by Brent Fulgham.

* WebKit.vcxproj/WebKit.sln:
Added ANGLEGenerated, libEGL, libGLESv2, and translator projects.
These projects are currently not built.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Don't force layout when querying a fixed or non-box margin/padding property
https://bugs.webkit.org/show_bug.cgi?id=118032

Reviewed by David Hyatt.

Source/WebCore: 

Merge https://chromium.googlesource.com/chromium/blink/+/66427d0825fcc2975bd50220cdcaa2504d6f36e5.

This patch avoids layout in ComputedStyleExtractor::propertyValue for margin and padding properties
when they are of fixed length. According to the Blink patch's author, this improves the page load
time of economist.com by 27%.

The actual code change is significantly different from the original Blink patch since we've done
some refactorins in r152938 and r153067 to make this change more self-contained.

Test: fast/css/computed-width-without-renderer.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::zoomAdjustedPaddingOrMarginPixelValue):
(WebCore::paddingOrMarginIsRendererDependent):
(WebCore::isLayoutDependent):
(WebCore::ComputedStyleExtractor::propertyValue):

LayoutTests: 

Add a regression test inspired by the one added in
https://chromium.googlesource.com/chromium/blink/+/ff234b1593b2b493d47f38f687d09a87bc42c9eb.

* fast/css/computed-width-without-renderer-expected.txt: Added.
* fast/css/computed-width-without-renderer.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Localizable.strings generated by extract-localizable-strings should be UTF-8
https://bugs.webkit.org/show_bug.cgi?id=119106

Reviewed by Mark Rowe.

Source/WebCore:

* English.lproj/Localizable.strings:
Re-encode this as UTF-8 and remove the BOM.

* WebCore.xcodeproj/project.pbxproj:
Set the file encoding of Localizable.strings to UTF-8.

Tools:

Output strings as UTF-8.

* Scripts/extract-localizable-strings:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Null check m_frame in maximum and minimumScrollPosition
https://bugs.webkit.org/show_bug.cgi?id=119109
<rdar://problem/14545393>

Reviewed by Darin Adler.

* page/FrameView.cpp:
(WebCore::FrameView::minimumScrollPosition):
(WebCore::FrameView::maximumScrollPosition):
Null-check m_frame (and move the early-return after the clamp-to-0
as the revert in r152911 should have).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] Add missing includes to shape-inside polygon tests
https://bugs.webkit.org/show_bug.cgi?id=119098

Reviewed by Dirk Schulze.

We need to include subpixel-utils.js for tests which use simple-polygon.js, since it uses
SubPixelLayout, otherwise both the result/expected are generating incorrect output.

* fast/shapes/shape-inside/shape-inside-regular-polygon16-expected.html:
* fast/shapes/shape-inside/shape-inside-regular-polygon16.html:
* fast/shapes/shape-inside/shape-inside-regular-polygon8-expected.html:
* fast/shapes/shape-inside/shape-inside-regular-polygon8.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed build fix.

* JavaScriptCore.vcxproj/JavaScriptCoreCommon.props: Add missing 'ftl'
include path.



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