Make Force Repaint work with tiled backing store
https://bugs.webkit.org/show_bug.cgi?id=95102

Reviewed by Dan Bernstein.

Source/WebCore:

forceRepaint() didn't work correctly with tiled backing
store, because it never actually caused a repaint on the tiles.

Fix by having the drawing area call forceRepaint() on
the TileCache (via the TiledBacking interface), which
just ends up as a setNeedsDisplay().

* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/TiledBacking.h:
* platform/graphics/ca/mac/TileCache.h:
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::forceRepaint):

Source/WebKit2:

Have forceRepaint() call down to the tiled backing of each FrameView,
so they can repaint.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::forceRepaint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix sticky-position test to hide scrollbars.

* fast/css/sticky/sticky-side-margins-expected.html:
* fast/css/sticky/sticky-side-margins.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MediaStream API: Fix review comments from patch #93119
https://bugs.webkit.org/show_bug.cgi?id=95064

Reviewed by Adam Barth.

Source/WebCore:

Adding const to accessors.

Change covered by exisiting tests..

* Modules/mediastream/RTCIceCandidate.cpp:
(WebCore::RTCIceCandidate::candidate):
(WebCore::RTCIceCandidate::sdpMid):
(WebCore::RTCIceCandidate::sdpMLineIndex):
* Modules/mediastream/RTCIceCandidate.h:
(RTCIceCandidate):
* Modules/mediastream/RTCSessionDescription.cpp:
(WebCore::RTCSessionDescription::create):
(WebCore::RTCSessionDescription::type):
(WebCore::RTCSessionDescription::sdp):
* Modules/mediastream/RTCSessionDescription.h:
(RTCSessionDescription):

LayoutTests:

* fast/mediastream/RTCIceCandidate-expected.txt:
* fast/mediastream/RTCIceCandidate.html:
* fast/mediastream/RTCSessionDescription-expected.txt:
* fast/mediastream/RTCSessionDescription.html:
* fast/mediastream/constructors-expected.txt:
* fast/mediastream/constructors.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Even up WTF::String to CString functions
https://bugs.webkit.org/show_bug.cgi?id=95008

Reviewed by Sam Weinig.

Apply advantages from UString to WTF::String.

* wtf/text/WTFString.cpp:
(WTF::String::ascii): There is no need to special case the null length, both
following branches use CString::newUninitialized(), which create empty string
for null length.
(WTF::String::latin1): Use characters16() instead of characters() to avoid
testing is8Bit() a second time.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add ECMAScript Number to String conversion to WTF::String
https://bugs.webkit.org/show_bug.cgi?id=95016

Reviewed by Geoffrey Garen.

Source/JavaScriptCore: 

Rename UString::number(double) to UString::numberToStringECMAScript(double) to
differenciate it from the fixed-width conversion performed by String::number().

* parser/ParserArena.h:
(JSC::IdentifierArena::makeNumericIdentifier):
* runtime/JSONObject.cpp:
(JSC::Stringifier::appendStringifiedValue):
* runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToExponential):
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):
(JSC::numberProtoFuncToString):
* runtime/NumericStrings.h:
(JSC::NumericStrings::add):
* runtime/UString.cpp:
(JSC::UString::numberToStringECMAScript):
* runtime/UString.h:
(UString):

Source/WTF: 

* wtf/text/WTFString.cpp:
(WTF::String::numberToStringECMAScript):
* wtf/text/WTFString.h:
Add the implementation of numberToStringECMAScript(double) from UString to String.
This will make it easier to replace UString in the future.

Tools: 

* TestWebKitAPI/Tests/WTF/WTFString.cpp:
(TestWebKitAPI::testNumberToStringECMAScript):
(TestWebKitAPI): Add tests for String's ECMAString number conversion.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix some more sticky ref tests; avoid wrapping at the 800px
window width, and remove a margin:auto from a reference.

* fast/css/sticky/sticky-margins-expected.html:
* fast/css/sticky/sticky-margins.html:
* fast/css/sticky/sticky-writing-mode-vertical-lr-expected.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix compilation when both OS(WINCE) and PLATFORM(QT) are true
https://bugs.webkit.org/show_bug.cgi?id=95050

Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-08-27
Reviewed by Simon Hausmann.

The compilation of NativeImagePtr.h breaks when both OS(WINCE) and PLATFORM(QT) are enabled.
This patch fixes this.

* platform/graphics/NativeImagePtr.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Fix exit code status logic in run-chromium-webkit-unit-tests
https://bugs.webkit.org/show_bug.cgi?id=95115

Reviewed by Adam Barth.

Use VCSUtils utility function to check if webkit_unit_tests terminates normally so we generate a non-zero exit
code if the unit tests crash.

* Scripts/run-chromium-webkit-unit-tests:

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