WebKit-https.git
9 years ago[chromium] Halt in progress flings on receipt of key events
commit-queue@webkit.org [Fri, 23 Mar 2012 01:54:09 +0000 (01:54 +0000)]
[chromium] Halt in progress flings on receipt of key events
https://bugs.webkit.org/show_bug.cgi?id=81988

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-22
Reviewed by Adrienne Walker.

* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::keyEvent):

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

9 years ago[chromium] Skip frames when checkerboarding an animation
commit-queue@webkit.org [Fri, 23 Mar 2012 01:51:35 +0000 (01:51 +0000)]
[chromium] Skip frames when checkerboarding an animation
https://bugs.webkit.org/show_bug.cgi?id=81716

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-22
Reviewed by Adrienne Walker.

Source/WebCore:

This will stop drawing frames when prepareToDraw fails, if the draw is
not forced. The expected behaviour is outlined below by the unit tests.

When a draw fails, we:
1. Set m_needsRedraw to try again next vsync
2. Set m_needsCommit because we need more data from webkit to succeed
3. Set m_drawIfPossibleFailed. This allows us to try draw again within
the same vsync *if* a commit finishes during this time.

Unit test: CCSchedulerTest.RequestRedrawInsideFailedDraw
           CCSchedulerTest.RequestCommitInsideFailedDraw
           CCSchedulerTest.NoBeginFrameWhenDrawFails
           CCSchedulerStateMachineTest.TestFailedDrawSetsNeedsCommitAndDoesNotDrawAgain
           CCSchedulerStateMachineTest.TestSetNeedsRedrawDuringFailedDrawDoesNotRemoveNeedsRedraw
           CCSchedulerStateMachineTest.TestCommitAfterFailedDrawAllowsDrawInSameFrame
           CCSchedulerStateMachineTest.TestCommitAfterFailedAndSuccessfulDrawDoesNotAllowDrawInSameFrame
           CCSchedulerStateMachineTest.TestFailedDrawIsRetriedNextVSync

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
(WebCore::CCLayerTreeHostImpl::prepareToDraw):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
* platform/graphics/chromium/cc/CCScheduler.cpp:
(WebCore::CCScheduler::processScheduledActions):
* platform/graphics/chromium/cc/CCScheduler.h:
(CCSchedulerClient):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::CCSchedulerStateMachine):
(WebCore::CCSchedulerStateMachine::nextAction):
(WebCore::CCSchedulerStateMachine::updateState):
(WebCore::CCSchedulerStateMachine::didDrawIfPossibleCompleted):
(WebCore):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
(CCSchedulerStateMachine):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapInternal):
(WebCore):
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapIfPossible):
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapForced):
* platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):

Source/WebKit/chromium:

* tests/CCLayerTreeHostImplTest.cpp:
(WebKitTests::TEST_F):
* tests/CCSchedulerStateMachineTest.cpp:
(WebCore::TEST):
(WebCore):
* tests/CCSchedulerTest.cpp:
(WebKitTests::FakeCCSchedulerClient::reset):
(WebKitTests::FakeCCSchedulerClient::numDraws):
(WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapIfPossible):
(FakeCCSchedulerClient):
(WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapForced):
(WebKitTests::FakeCCSchedulerClient::setDrawSuccess):
(WebKitTests::TEST):
(WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
(WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapIfPossible):
(WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapForced):
(SchedulerClientThatSetNeedsDrawInsideDraw):
(WebKitTests):
(WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::SchedulerClientThatSetNeedsCommitInsideDraw):
(WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapIfPossible):
(WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapForced):
(SchedulerClientThatSetNeedsCommitInsideDraw):
* tests/CCSchedulerTestCommon.h:
(FakeCCFrameRateController):
(WebKitTests::FakeCCFrameRateController::FakeCCFrameRateController):
(WebKitTests::FakeCCFrameRateController::numFramesPending):
(WebKitTests):

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

9 years agoMake svn-apply re-write JavaScriptCore/wtf to WTF/wtf
eric@webkit.org [Fri, 23 Mar 2012 01:43:19 +0000 (01:43 +0000)]
Make svn-apply re-write JavaScriptCore/wtf to WTF/wtf
https://bugs.webkit.org/show_bug.cgi?id=81984

Reviewed by Adam Barth.

* Scripts/VCSUtils.pm:
(adjustPathForRecentRenamings):

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

9 years ago[chromium] Force update of nonFastScrollableRegion if target CCLayerImpl has been...
wjmaclean@chromium.org [Fri, 23 Mar 2012 01:42:35 +0000 (01:42 +0000)]
[chromium] Force update of nonFastScrollableRegion if target CCLayerImpl has been freshly created.
https://bugs.webkit.org/show_bug.cgi?id=81968

Reviewed by Adrienne Walker.

Source/WebCore:

Added unit test to existing tests for TreeSynchronizer.

When creating a new CCLayerImpl during tree synchronization, make sure we transfer the nonFastScrollableRegion as
the new CCLayerImpl will default to an empty region.

* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::nonFastScrollableRegion):
(WebCore::LayerChromium::setNonFastScrollableRegionChanged):
* platform/graphics/chromium/TreeSynchronizer.cpp:
(WebCore::TreeSynchronizer::reuseOrCreateCCLayerImpl):

Source/WebKit/chromium:

* tests/TreeSynchronizerTest.cpp:
(WebKitTests::expectTreesAreIdentical):
(WebKitTests::TEST):
(WebKitTests):

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

9 years ago[CMake] Fix build-jsc after r111778 and r111797.
kubo@profusion.mobi [Fri, 23 Mar 2012 01:25:10 +0000 (01:25 +0000)]
[CMake] Fix build-jsc after r111778 and r111797.
https://bugs.webkit.org/show_bug.cgi?id=82001

Reviewed by Filip Pizlo.

Contrary to the comment in build-jsc, buildCMakeProjectOrExit()
does return if no error occurred, and build-jsc failed with
"building not defined for this platform".

* Scripts/build-jsc: Always exit after caling
buildCMakeProjectOrExit().
* Scripts/webkitdirs.pm:
(buildCMakeProjectOrExit): Return 0 if no error occurred.

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

9 years agoQT 4.8 soft hyphen bug has no failing test case
commit-queue@webkit.org [Fri, 23 Mar 2012 01:04:07 +0000 (01:04 +0000)]
QT 4.8 soft hyphen bug has no failing test case
https://bugs.webkit.org/show_bug.cgi?id=81964

Patch by Dave Tharp <dtharp@codeaurora.org> on 2012-03-22
Reviewed by Beth Dakin.

Adding test to expose soft hyphen problem in QT 4.8.0

* fast/text/soft-hyphen-5-expected.txt: Added.
* fast/text/soft-hyphen-5.html: Added.

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

9 years agoWindows build fix after r111778.
jberlin@webkit.org [Fri, 23 Mar 2012 00:57:44 +0000 (00:57 +0000)]
Windows build fix after r111778.

Source/JavaScriptCore:

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
Don't include and try to build files owned by WTF.
Also, let VS have its way with the vcproj in terms of file ordering.

Source/WTF:

* WTF.vcproj/WTF.vcproj:
DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.

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

9 years ago[CMake] Unreviewed build fix after r111778.
kubo@profusion.mobi [Fri, 23 Mar 2012 00:54:09 +0000 (00:54 +0000)]
[CMake] Unreviewed build fix after r111778.

.:

* Source/CMakeLists.txt: Build WTF/.

Source/JavaScriptCore:

* CMakeLists.txt: Move ${WTF_DIR} after ${JAVASCRIPTCORE_DIR} in
the include paths so that the right config.h is used.

Source/WebCore:

* CMakeLists.txt: Replace ${JAVASCRIPTCORE_DIR}/wtf includes with
${WTF_DIR}/wtf ones.

Source/WebKit:

* CMakeLists.txt: Replace ${JAVASCRIPTCORE_DIR}/wtf includes with
${WTF_DIR}/wtf ones.

Source/WebKit2:

* CMakeLists.txt: Replace ${JAVASCRIPTCORE_DIR}/wtf includes with
${WTF_DIR}/wtf ones.

Source/WTF:

* CMakeLists.txt: Added.
* wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
for cmakeconfig.h to be found.

Tools:

* DumpRenderTree/efl/CMakeLists.txt: Replace
${JAVASCRIPTCORE_DIR}/wtf with ${WTF_DIR}/wtf in the include
paths.
* DumpRenderTree/efl/LayoutTestControllerEfl.cpp: Use the right
wtf include.
* DumpRenderTree/efl/WorkQueueItemEfl.cpp: Ditto.
* WinCELauncher/CMakeLists.txt: Replace ${JAVASCRIPTCORE_DIR}/wtf
with ${WTF_DIR}/wtf in the include paths.

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

9 years agoBuild fix for WebHistory is busted after changing time zone
benjamin@webkit.org [Fri, 23 Mar 2012 00:51:14 +0000 (00:51 +0000)]
Build fix for WebHistory is busted after changing time zone
https://bugs.webkit.org/show_bug.cgi?id=81849

Unreviewed build fix.

When generating warning for undefined message signature, rebuildHistoryByDayIfNeeded
fail to compile due to addItemToDateCaches: being undefined.

Move the definition to the right place in the file to use the private method.

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-22

* History/WebHistory.mm:
(-[WebHistoryPrivate rebuildHistoryByDayIfNeeded:]):

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

9 years agoTools/Scripts/build-jsc doesn't work after WTF move
fpizlo@apple.com [Fri, 23 Mar 2012 00:51:06 +0000 (00:51 +0000)]
Tools/Scripts/build-jsc doesn't work after WTF move
https://bugs.webkit.org/show_bug.cgi?id=81999

Reviewed by Eric Seidel.

For ports that require WTF and JSC to be built as two projects and where
the machinery to build both does not already exist, teach the tool to do
so for us.

* Scripts/build-jsc:
(buildMyProject):

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

9 years agoFix accidental missing line in r111793.
ojan@chromium.org [Fri, 23 Mar 2012 00:43:53 +0000 (00:43 +0000)]
Fix accidental missing line in r111793.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
Remove base.values. It was unused and duplicates the builtin Object.values.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
Accidentally deleted this line before committing r111793.

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

9 years agoWebHistory is busted after changing time zone
benjamin@webkit.org [Fri, 23 Mar 2012 00:38:41 +0000 (00:38 +0000)]
WebHistory is busted after changing time zone
https://bugs.webkit.org/show_bug.cgi?id=81849

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-22
Reviewed by Brady Eidson.

The date used for choosing the bucket of a new entry is computed
with the system TimeZone.

When the Time Zone change, or the daylight saving time change, all the dates
in _entriesByDate are offset from the new entries.

This patch solves the issue by re-distributing the WebHistoryItems if the time zone
changes.
The clients of WebHistory are notified of this change through the regular Notifications.

* History/WebHistory.mm:
(-[WebHistoryPrivate rebuildHistoryByDayIfNeeded:]):
(-[WebHistoryPrivate init]):
(-[WebHistory timeZoneChanged:]):
(-[WebHistory init]):
(-[WebHistory dealloc]):
(-[WebHistory finalize]):

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

9 years agoUnreviewed, attempt to fix the chromium-win build and another attempt
tony@chromium.org [Fri, 23 Mar 2012 00:38:17 +0000 (00:38 +0000)]
Unreviewed, attempt to fix the chromium-win build and another attempt
at fixing the chromium-android build.

* WTF.gyp/WTF.gyp:

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

9 years agoMove garden-o-matic progress feedback from non-modal dialogs to a status console...
ojan@chromium.org [Fri, 23 Mar 2012 00:36:24 +0000 (00:36 +0000)]
Move garden-o-matic progress feedback from non-modal dialogs to a status console anchored to the bottom of the page
https://bugs.webkit.org/show_bug.cgi?id=81983

Reviewed by Adam Barth.

The dialogs get in the way if you are doing multiple rebaselines. Also,
a number of people didn't realize that you could do multiple rebaselines
in parallel. A non-modal dialog is just confusing.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
If we're only rebaselining 1 test, show the test name in the initial message. Otherwise,
show the number of tests being rebaselined.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
Turn MessageBox into StatusArea. StatusArea is a singleton and messages in the StatusArea are grouped
by ID. That way, the results of each UI action (e.g. clicking rebaseline) are grouped together
into a single area.

Once addFinalMessage has been called for all IDs, we show the close button. Clicking close
also serves to clear all teh content in the StatusArea.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:

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

9 years agoUnreviewed, attempt to fix chromium-android build.
tony@chromium.org [Fri, 23 Mar 2012 00:27:53 +0000 (00:27 +0000)]
Unreviewed, attempt to fix chromium-android build.

* WTF.gyp/WTF.gyp:

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

9 years agoUnreviewed, fix chromium build after wtf move.
tony@chromium.org [Fri, 23 Mar 2012 00:18:56 +0000 (00:18 +0000)]
Unreviewed, fix chromium build after wtf move.

Source/JavaScriptCore:

Remove old wtf_config and wtf targets.

* JavaScriptCore.gyp/JavaScriptCore.gyp:

Source/Platform:

Only use newwtf, remove references to wtf.

* Platform.gyp/Platform.gyp:

Source/WebCore:

Only use newwtf, remove references to wtf.

* WebCore.gyp/WebCore.gyp:

Source/WTF:

Move wtf_config and wtf settings to newwtf.

* WTF.gyp/WTF.gyp:

Tools:

Only use newwtf, remove references to wtf.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:

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

9 years agoOne more GTK+ build fix after r111778.
eric@webkit.org [Fri, 23 Mar 2012 00:17:37 +0000 (00:17 +0000)]
One more GTK+ build fix after r111778.

Patch by Martin Robinson <mrobinson@igalia.com> on 2012-03-22

* GNUmakefile.am: Adding missing include path.

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

9 years agoRemove an obsolete comment regarding magic frames from Geolocation
benjamin@webkit.org [Fri, 23 Mar 2012 00:13:01 +0000 (00:13 +0000)]
Remove an obsolete comment regarding magic frames from Geolocation
https://bugs.webkit.org/show_bug.cgi?id=81871

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-22
Reviewed by Alexey Proskuryakov.

Moving a frame into another document is no longer possible after r111361. The comment
is now irrelevant.

* Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::stop):

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

9 years agoOne more GTK+ build fix after r111778.
mrobinson@webkit.org [Fri, 23 Mar 2012 00:09:11 +0000 (00:09 +0000)]
One more GTK+ build fix after r111778.

* GNUmakefile.am: Adding missing include path.

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

9 years agoFixed the GTK+ WTF/JavaScriptCore build after r111778.
mrobinson@webkit.org [Thu, 22 Mar 2012 23:50:18 +0000 (23:50 +0000)]
Fixed the GTK+ WTF/JavaScriptCore build after r111778.

.:

* GNUmakefile.am: Remove a couple unnecessary gnumake variables.

Source/JavaScriptCore:

* GNUmakefile.list.am: Removed an extra trailing backslash.

Source/WTF:

* GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
  variables.
* GNUmakefile.list.am: Ditto.

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

9 years agoFix the build.
mrowe@apple.com [Thu, 22 Mar 2012 23:47:50 +0000 (23:47 +0000)]
Fix the build.

* Configurations/JavaScriptCore.xcconfig: Tell the linker to pull in all members from static libraries
rather than only those that contain symbols that JavaScriptCore itself uses.
* JavaScriptCore.xcodeproj/project.pbxproj: Remove some bogus settings that crept in to the Xcode project.

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

9 years agoActually move WTF files to their new home
ossy@webkit.org [Thu, 22 Mar 2012 23:36:29 +0000 (23:36 +0000)]
Actually move WTF files to their new home
https://bugs.webkit.org/show_bug.cgi?id=81844

[Qt] Unreviewed buildfix after r111778.

* UIProcess/API/qt/qquicknetworkrequest_p.h:
* WebKit2.pri:

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

9 years agoFixed the JavaScriptCore debug build after r111778.
mitz@apple.com [Thu, 22 Mar 2012 23:35:43 +0000 (23:35 +0000)]
Fixed the JavaScriptCore debug build after r111778.

* WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
the Debug configuration.

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

9 years agoDFG NodeFlags has some duplicate code and naming issues
fpizlo@apple.com [Thu, 22 Mar 2012 23:24:40 +0000 (23:24 +0000)]
DFG NodeFlags has some duplicate code and naming issues
https://bugs.webkit.org/show_bug.cgi?id=81975

Reviewed by Gavin Barraclough.

Removed most references to "ArithNodeFlags" since those are now just part
of the node flags. Fixed some renaming goofs (EdgedAsNum is once again
NodeUsedAsNum). Got rid of setArithNodeFlags() and mergeArithNodeFlags()
because the former was never called and the latter did the same things as
mergeFlags().

* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::makeSafe):
(JSC::DFG::ByteCodeParser::makeDivSafe):
(JSC::DFG::ByteCodeParser::handleIntrinsic):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGNode.h:
(JSC::DFG::Node::arithNodeFlags):
(Node):
* dfg/DFGNodeFlags.cpp:
(JSC::DFG::nodeFlagsAsString):
* dfg/DFGNodeFlags.h:
(DFG):
(JSC::DFG::nodeUsedAsNumber):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::mergeDefaultArithFlags):

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

9 years agoActually move WTF files to their new home
ossy@webkit.org [Thu, 22 Mar 2012 23:17:44 +0000 (23:17 +0000)]
Actually move WTF files to their new home
https://bugs.webkit.org/show_bug.cgi?id=81844

[Qt] Unreviewed buildfix after r111778.

.:

* Source/api.pri:

Source/WebCore:

* Target.pri:

Source/WTF:

* WTF.pri:

Tools:

* DumpRenderTree/qt/DumpRenderTree.pro:

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

9 years agorun-bindings-tests output a lot of errors in TestSerializedScriptValueInterface.idl
haraken@chromium.org [Thu, 22 Mar 2012 23:08:13 +0000 (23:08 +0000)]
run-bindings-tests output a lot of errors in TestSerializedScriptValueInterface.idl
https://bugs.webkit.org/show_bug.cgi?id=81852

Reviewed by Adam Barth.

run-bindings-tests output a lot of errors in TestSerializedScriptValueInterface.idl:

Use of uninitialized value in string eq at WebCore/bindings/scripts/CodeGeneratorJS.pm line 2743.
Use of uninitialized value $name in substitution (s///) at WebCore/bindings/scripts/CodeGenerator.pm line 119.
Use of uninitialized value $type in string eq at WebCore/bindings/scripts/CodeGeneratorJS.pm line 2969.
Use of uninitialized value $type in string eq at WebCore/bindings/scripts/CodeGeneratorJS.pm line 2972.
Use of uninitialized value $type in hash element at WebCore/bindings/scripts/CodeGenerator.pm line 367.
Use of uninitialized value $type in hash element at WebCore/bindings/scripts/CodeGenerator.pm line 368.
...

This is because [Constructor(...)] does not yet support [Optional] arguments.
It just supports [Optional=DefaultIsUndefined] and [Optional=DefaultIsNullString] arguments:
https://trac.webkit.org/wiki/WebKitIDL#Constructor

This patch replaces [Optional] with [Optional=DefaultIsUndefined]
in TestSerializedScriptValueInterface.idl.

Test: bindings/scripts/test/TestSerializedScriptValueInterface.idl

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateConstructorDefinition):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateConstructorCallback):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::constructJSTestSerializedScriptValueInterface):
* bindings/scripts/test/TestSerializedScriptValueInterface.idl:
* bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::constructorCallback):

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

9 years agoActually move WTF files to their new home
eric@webkit.org [Thu, 22 Mar 2012 23:00:33 +0000 (23:00 +0000)]
Actually move WTF files to their new home
https://bugs.webkit.org/show_bug.cgi?id=81844

Source/JavaScriptCore:

Unreviewed.  The details of the port-specific changes
have been seen by contributors from those ports, but
the whole 5MB change isn't very reviewable as-is.

* GNUmakefile.am:
* GNUmakefile.list.am:
* JSCTypedArrayStubs.h:
* JavaScriptCore.gypi:
* JavaScriptCore.xcodeproj/project.pbxproj:
* jsc.cpp:

Source/WTF:

Unreviewed.  The 5MB file move is not very reviewable,
but various port representatives have OK'd changes to the
individual build systems.

* Configurations/WTF.xcconfig:
* GNUmakefile.list.am:
* Stub.cpp: Removed.
* Stub.h: Removed.
* WTF.gypi:
* WTF.pri:
* WTF.pro:
* WTF.vcproj/WTF.vcproj:
* WTF.vcproj/copy-files.cmd:
* WTF.xcodeproj/project.pbxproj:
* config.h:
* wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
(WTF):
(WTF::isASCII):
(WTF::isASCIIAlpha):
(WTF::isASCIIDigit):
(WTF::isASCIIAlphanumeric):
(WTF::isASCIIHexDigit):
(WTF::isASCIILower):
(WTF::isASCIIOctalDigit):
(WTF::isASCIIPrintable):
(WTF::isASCIISpace):
(WTF::isASCIIUpper):
(WTF::toASCIILower):
(WTF::toASCIILowerUnchecked):
(WTF::toASCIIUpper):
(WTF::toASCIIHexValue):
(WTF::lowerNibbleToASCIIHexDigit):
(WTF::upperNibbleToASCIIHexDigit):
(WTF::isASCIIAlphaCaselessEqual):
* wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
(WTF):
(AVLTreeDefaultBSet):
(WTF::AVLTreeDefaultBSet::operator[]):
(WTF::AVLTreeDefaultBSet::set):
(WTF::AVLTreeDefaultBSet::reset):
(AVLTree):
(WTF::AVLTree::abstractor):
(WTF::AVLTree::purge):
(WTF::AVLTree::is_empty):
(WTF::AVLTree::AVLTree):
(Iterator):
(WTF::AVLTree::Iterator::Iterator):
(WTF::AVLTree::Iterator::start_iter):
(WTF::AVLTree::Iterator::start_iter_least):
(WTF::AVLTree::Iterator::start_iter_greatest):
(WTF::AVLTree::Iterator::operator*):
(WTF::AVLTree::Iterator::operator++):
(WTF::AVLTree::Iterator::operator--):
(WTF::AVLTree::Iterator::cmp_k_n):
(WTF::AVLTree::Iterator::cmp_n_n):
(WTF::AVLTree::Iterator::get_lt):
(WTF::AVLTree::Iterator::get_gt):
(WTF::AVLTree::Iterator::null):
(WTF::AVLTree::build):
(abs_plus_root):
(WTF::AVLTree::get_lt):
(WTF::AVLTree::set_lt):
(WTF::AVLTree::get_gt):
(WTF::AVLTree::set_gt):
(WTF::AVLTree::get_bf):
(WTF::AVLTree::set_bf):
(WTF::AVLTree::cmp_k_n):
(WTF::AVLTree::cmp_n_n):
(WTF::AVLTree::null):
(WTF::AVLTree::balance):
(WTF::::insert):
(WTF::::search):
(WTF::::search_least):
(WTF::::search_greatest):
(WTF::::remove):
(WTF::::subst):
* wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
(WTF):
(WTF::swap):
* wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
* wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
(WTF):
(WTF::ArrayBuffer::transfer):
(WTF::ArrayBuffer::addView):
(WTF::ArrayBuffer::removeView):
* wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
(WTF):
(ArrayBufferContents):
(WTF::ArrayBufferContents::ArrayBufferContents):
(WTF::ArrayBufferContents::data):
(WTF::ArrayBufferContents::sizeInBytes):
(WTF::ArrayBufferContents::transfer):
(ArrayBuffer):
(WTF::ArrayBuffer::isNeutered):
(WTF::ArrayBuffer::~ArrayBuffer):
(WTF::ArrayBuffer::clampValue):
(WTF::ArrayBuffer::create):
(WTF::ArrayBuffer::ArrayBuffer):
(WTF::ArrayBuffer::data):
(WTF::ArrayBuffer::byteLength):
(WTF::ArrayBuffer::slice):
(WTF::ArrayBuffer::sliceImpl):
(WTF::ArrayBuffer::clampIndex):
(WTF::ArrayBufferContents::tryAllocate):
(WTF::ArrayBufferContents::~ArrayBufferContents):
* wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
(WTF):
(WTF::ArrayBufferView::ArrayBufferView):
(WTF::ArrayBufferView::~ArrayBufferView):
(WTF::ArrayBufferView::neuter):
* wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
(WTF):
(WTF::ArrayBufferView::setImpl):
(WTF::ArrayBufferView::setRangeImpl):
(WTF::ArrayBufferView::zeroRangeImpl):
(WTF::ArrayBufferView::calculateOffsetAndLength):
* wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
* wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
(assertUnused):
(assertWithMessageUnused):
* wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
(WTF):
(WTF::atomicIncrement):
(WTF::atomicDecrement):
(WTF::weakCompareAndSwap):
(WTF::weakCompareAndSwapUIntPtr):
* wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
(WTF):
(WTF::BitVector::setSlow):
(WTF::BitVector::resize):
(WTF::BitVector::clearAll):
(WTF::BitVector::OutOfLineBits::create):
(WTF::BitVector::OutOfLineBits::destroy):
(WTF::BitVector::resizeOutOfLine):
(WTF::BitVector::dump):
* wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
(WTF):
(BitVector):
(WTF::BitVector::BitVector):
(WTF::BitVector::~BitVector):
(WTF::BitVector::operator=):
(WTF::BitVector::size):
(WTF::BitVector::ensureSize):
(WTF::BitVector::quickGet):
(WTF::BitVector::quickSet):
(WTF::BitVector::quickClear):
(WTF::BitVector::get):
(WTF::BitVector::set):
(WTF::BitVector::clear):
(WTF::BitVector::bitsInPointer):
(WTF::BitVector::maxInlineBits):
(WTF::BitVector::byteCount):
(WTF::BitVector::makeInlineBits):
(OutOfLineBits):
(WTF::BitVector::OutOfLineBits::numBits):
(WTF::BitVector::OutOfLineBits::numWords):
(WTF::BitVector::OutOfLineBits::bits):
(WTF::BitVector::OutOfLineBits::OutOfLineBits):
(WTF::BitVector::isInline):
(WTF::BitVector::outOfLineBits):
(WTF::BitVector::bits):
* wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
(WTF):
(Bitmap):
(WTF::::Bitmap):
(WTF::::get):
(WTF::::set):
(WTF::::testAndSet):
(WTF::::testAndClear):
(WTF::::concurrentTestAndSet):
(WTF::::concurrentTestAndClear):
(WTF::::clear):
(WTF::::clearAll):
(WTF::::nextPossiblyUnset):
(WTF::::findRunOfZeros):
(WTF::::count):
(WTF::::isEmpty):
(WTF::::isFull):
* wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
(WTF):
(BlockStack):
(WTF::::BlockStack):
(WTF::::~BlockStack):
(WTF::::blocks):
(WTF::::grow):
(WTF::::shrink):
* wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
(WTF):
(BloomFilter):
(WTF::BloomFilter::maximumCount):
(WTF::BloomFilter::BloomFilter):
(WTF::BloomFilter::mayContain):
(WTF::BloomFilter::add):
(WTF::BloomFilter::remove):
(WTF::BloomFilter::firstSlot):
(WTF::BloomFilter::secondSlot):
(WTF::::add):
(WTF::::remove):
(WTF::::clear):
(WTF::::likelyEmpty):
(WTF::::isClear):
* wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
(WTF):
(BoundsCheckedPointer):
(WTF::BoundsCheckedPointer::BoundsCheckedPointer):
(WTF::BoundsCheckedPointer::operator=):
(WTF::BoundsCheckedPointer::operator+=):
(WTF::BoundsCheckedPointer::operator-=):
(WTF::BoundsCheckedPointer::operator+):
(WTF::BoundsCheckedPointer::operator-):
(WTF::BoundsCheckedPointer::operator++):
(WTF::BoundsCheckedPointer::operator--):
(WTF::BoundsCheckedPointer::operator<):
(WTF::BoundsCheckedPointer::operator<=):
(WTF::BoundsCheckedPointer::operator>):
(WTF::BoundsCheckedPointer::operator>=):
(WTF::BoundsCheckedPointer::operator==):
(WTF::BoundsCheckedPointer::operator!=):
(WTF::BoundsCheckedPointer::operator!):
(WTF::BoundsCheckedPointer::get):
(WTF::BoundsCheckedPointer::operator*):
(WTF::BoundsCheckedPointer::operator[]):
(WTF::BoundsCheckedPointer::strcat):
(WTF::BoundsCheckedPointer::validate):
* wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
(WTF):
(BumpPointerPool):
(WTF::BumpPointerPool::ensureCapacity):
(WTF::BumpPointerPool::alloc):
(WTF::BumpPointerPool::dealloc):
(WTF::BumpPointerPool::operator new):
(WTF::BumpPointerPool::BumpPointerPool):
(WTF::BumpPointerPool::create):
(WTF::BumpPointerPool::shrink):
(WTF::BumpPointerPool::destroy):
(WTF::BumpPointerPool::ensureCapacityCrossPool):
(WTF::BumpPointerPool::deallocCrossPool):
(BumpPointerAllocator):
(WTF::BumpPointerAllocator::BumpPointerAllocator):
(WTF::BumpPointerAllocator::~BumpPointerAllocator):
(WTF::BumpPointerAllocator::startAllocator):
(WTF::BumpPointerAllocator::stopAllocator):
* wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
(WTF):
(WTF::ByteArray::create):
* wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
(ByteArray):
(WTF::ByteArray::length):
(WTF::ByteArray::set):
(WTF::ByteArray::get):
(WTF::ByteArray::data):
(WTF::ByteArray::clear):
(WTF::ByteArray::deref):
(WTF::ByteArray::offsetOfSize):
(WTF::ByteArray::offsetOfData):
(WTF::ByteArray::ByteArray):
* wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
* wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
* wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
(WTF):
(CrashOnOverflow):
(WTF::CrashOnOverflow::overflowed):
(WTF::CrashOnOverflow::clearOverflow):
(WTF::CrashOnOverflow::hasOverflowed):
(RecordOverflow):
(WTF::RecordOverflow::RecordOverflow):
(WTF::RecordOverflow::overflowed):
(WTF::RecordOverflow::clearOverflow):
(WTF::RecordOverflow::hasOverflowed):
(WTF::isInBounds):
(RemoveChecked):
(WTF::safeAdd):
(WTF::safeSub):
(WTF::safeMultiply):
(WTF::safeEquals):
(WTF::workAroundClangBug):
(Checked):
(WTF::Checked::Checked):
(WTF::Checked::operator=):
(WTF::Checked::operator++):
(WTF::Checked::operator--):
(WTF::Checked::operator!):
(WTF::Checked::operator UnspecifiedBoolType*):
(WTF::Checked::unsafeGet):
(WTF::Checked::operator+=):
(WTF::Checked::operator-=):
(WTF::Checked::operator*=):
(WTF::Checked::operator==):
(WTF::Checked::operator!=):
(WTF::operator+):
(WTF::operator-):
(WTF::operator*):
* wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
(CheckedBoolean):
(CheckedBoolean::CheckedBoolean):
(CheckedBoolean::~CheckedBoolean):
(CheckedBoolean::operator bool):
* wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
* wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
(WTF):
(WTF::complexFromMagnitudePhase):
* wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
(WTF::cryptographicallyRandomNumber):
(WTF):
(WTF::cryptographicallyRandomValues):
* wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
(WTF):
* wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
(WTF):
(WTF::highResUpTime):
(WTF::lowResUTCTime):
(WTF::qpcAvailable):
(WTF::currentTime):
(WTF::currentSystemTime):
(WTF::monotonicallyIncreasingTime):
* wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
(WTF):
(WTF::currentTimeMS):
(WTF::getLocalTime):
* wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
(WTF):
(WTF::initializeLogFileOnce):
(WTF::initializeLogFile):
(WTF::dataFile):
(WTF::dataLogV):
(WTF::dataLog):
* wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
(WTF):
* wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
(WTF):
(WTF::isLeapYear):
(WTF::daysInYear):
(WTF::daysFrom1970ToYear):
(WTF::msToDays):
(WTF::twoDigitStringFromNumber):
(WTF::msToYear):
(WTF::dayInYear):
(WTF::msToMilliseconds):
(WTF::msToMinutes):
(WTF::msToHours):
(WTF::monthFromDayInYear):
(WTF::checkMonth):
(WTF::dayInMonthFromDayInYear):
(WTF::monthToDayInYear):
(WTF::dateToDaysFrom1970):
(WTF::maximumYearForDST):
(WTF::minimumYearForDST):
(WTF::equivalentYearForDST):
(WTF::calculateUTCOffset):
(WTF::calculateDSTOffsetSimple):
(WTF::calculateDSTOffset):
(WTF::initializeDates):
(WTF::ymdhmsToSeconds):
(KnownZone):
(WTF::skipSpacesAndComments):
(WTF::findMonth):
(WTF::parseLong):
(WTF::parseES5DatePortion):
(WTF::parseES5TimePortion):
(WTF::parseES5DateFromNullTerminatedCharacters):
(WTF::parseDateFromNullTerminatedCharacters):
(WTF::timeClip):
(WTF::makeRFC2822DateString):
* wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
(WTF):
(WTF::jsCurrentTime):
* wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
(WTF):
(WTF::DecimalNumber::bufferLengthForStringDecimal):
(WTF::DecimalNumber::bufferLengthForStringExponential):
(WTF::DecimalNumber::toStringDecimal):
(WTF::DecimalNumber::toStringExponential):
* wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
(WTF):
(DecimalNumber):
(WTF::DecimalNumber::DecimalNumber):
(WTF::DecimalNumber::sign):
(WTF::DecimalNumber::exponent):
(WTF::DecimalNumber::significand):
(WTF::DecimalNumber::precision):
* wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
(WTF):
(Decoder):
(WTF::Decoder::Decoder):
(WTF::Decoder::~Decoder):
* wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
(WTF):
(Deque):
(WTF::Deque::size):
(WTF::Deque::isEmpty):
(WTF::Deque::begin):
(WTF::Deque::end):
(WTF::Deque::rbegin):
(WTF::Deque::rend):
(WTF::Deque::first):
(WTF::Deque::last):
(DequeIteratorBase):
(WTF::DequeIteratorBase::assign):
(DequeIterator):
(WTF::DequeIterator::DequeIterator):
(WTF::DequeIterator::operator=):
(WTF::DequeIterator::operator*):
(WTF::DequeIterator::operator->):
(WTF::DequeIterator::operator==):
(WTF::DequeIterator::operator!=):
(WTF::DequeIterator::operator++):
(WTF::DequeIterator::operator--):
(DequeConstIterator):
(WTF::DequeConstIterator::DequeConstIterator):
(WTF::DequeConstIterator::operator=):
(WTF::DequeConstIterator::operator*):
(WTF::DequeConstIterator::operator->):
(WTF::DequeConstIterator::operator==):
(WTF::DequeConstIterator::operator!=):
(WTF::DequeConstIterator::operator++):
(WTF::DequeConstIterator::operator--):
(DequeReverseIterator):
(WTF::DequeReverseIterator::DequeReverseIterator):
(WTF::DequeReverseIterator::operator=):
(WTF::DequeReverseIterator::operator*):
(WTF::DequeReverseIterator::operator->):
(WTF::DequeReverseIterator::operator==):
(WTF::DequeReverseIterator::operator!=):
(WTF::DequeReverseIterator::operator++):
(WTF::DequeReverseIterator::operator--):
(DequeConstReverseIterator):
(WTF::DequeConstReverseIterator::DequeConstReverseIterator):
(WTF::DequeConstReverseIterator::operator=):
(WTF::DequeConstReverseIterator::operator*):
(WTF::DequeConstReverseIterator::operator->):
(WTF::DequeConstReverseIterator::operator==):
(WTF::DequeConstReverseIterator::operator!=):
(WTF::DequeConstReverseIterator::operator++):
(WTF::DequeConstReverseIterator::operator--):
(WTF::::checkValidity):
(WTF::::checkIndexValidity):
(WTF::::invalidateIterators):
(WTF::::Deque):
(WTF::deleteAllValues):
(WTF::=):
(WTF::::destroyAll):
(WTF::::~Deque):
(WTF::::swap):
(WTF::::clear):
(WTF::::findIf):
(WTF::::expandCapacityIfNeeded):
(WTF::::expandCapacity):
(WTF::::takeFirst):
(WTF::::append):
(WTF::::prepend):
(WTF::::removeFirst):
(WTF::::remove):
(WTF::::addToIteratorsList):
(WTF::::removeFromIteratorsList):
(WTF::::DequeIteratorBase):
(WTF::::~DequeIteratorBase):
(WTF::::isEqual):
(WTF::::increment):
(WTF::::decrement):
(WTF::::after):
(WTF::::before):
* wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
* wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
(WTF):
(DoublyLinkedListNode):
(WTF::::DoublyLinkedListNode):
(WTF::::setPrev):
(WTF::::setNext):
(WTF::::prev):
(WTF::::next):
(DoublyLinkedList):
(WTF::::DoublyLinkedList):
(WTF::::isEmpty):
(WTF::::size):
(WTF::::clear):
(WTF::::head):
(WTF::::tail):
(WTF::::push):
(WTF::::append):
(WTF::::remove):
(WTF::::removeHead):
* wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
(WTFAnnotateBenignRaceSized):
(WTFAnnotateHappensBefore):
(WTFAnnotateHappensAfter):
* wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
* wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
(WTF):
(Encoder):
(WTF::Encoder::Encoder):
(WTF::Encoder::~Encoder):
* wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
* wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
(WTF):
(WTF::fastNew):
(Internal):
(WTF::Internal::NewArrayImpl::fastNewArray):
(WTF::fastNewArray):
(WTF::fastDelete):
(WTF::fastDeleteSkippingDestructor):
(WTF::Internal::DeleteArrayImpl::fastDeleteArray):
(WTF::fastDeleteArray):
(WTF::fastNonNullDelete):
(WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
(WTF::fastNonNullDeleteArray):
* wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
(WTF):
(WTF::isForbidden):
(WTF::fastMallocForbid):
(WTF::fastMallocAllow):
(WTF::initializeIsForbiddenKey):
(Internal):
(WTF::Internal::fastMallocMatchFailed):
(WTF::fastZeroedMalloc):
(WTF::fastStrDup):
(WTF::tryFastZeroedMalloc):
(WTF::tryFastMalloc):
(WTF::fastMalloc):
(WTF::tryFastCalloc):
(WTF::fastCalloc):
(WTF::fastFree):
(WTF::tryFastRealloc):
(WTF::fastRealloc):
(WTF::releaseFastMallocFreeMemory):
(WTF::fastMallocStatistics):
(WTF::fastMallocSize):
(FastMallocZone):
(WTF::FastMallocZone::goodSize):
(WTF::FastMallocZone::check):
(WTF::FastMallocZone::print):
(WTF::FastMallocZone::log):
(WTF::FastMallocZone::forceLock):
(WTF::FastMallocZone::forceUnlock):
(WTF::FastMallocZone::statistics):
(WTF::FastMallocZone::zoneValloc):
(WTF::FastMallocZone::zoneDestroy):
(WTF::KernelSupportsTLS):
(WTF::CheckIfKernelSupportsTLS):
(WTF::ClassIndex):
(TCEntry):
(WTF::LgFloor):
(WTF::SLL_Next):
(WTF::SLL_SetNext):
(WTF::SLL_Push):
(WTF::SLL_Pop):
(WTF::SLL_PopRange):
(WTF::SLL_PushRange):
(WTF::SLL_Size):
(WTF::SizeClass):
(WTF::ByteSizeForClass):
(WTF::NumMoveSize):
(WTF::InitSizeClasses):
(WTF::MetaDataAlloc):
(PageHeapAllocator):
(WTF::PageHeapAllocator::Init):
(WTF::PageHeapAllocator::New):
(WTF::PageHeapAllocator::Delete):
(WTF::PageHeapAllocator::inuse):
(WTF::PageHeapAllocator::recordAdministrativeRegions):
(WTF::pages):
(WTF::AllocationSize):
(Span):
(WTF::Event):
(WTF::NewSpan):
(WTF::DeleteSpan):
(WTF::DLL_Init):
(WTF::DLL_Remove):
(WTF::DLL_IsEmpty):
(WTF::DLL_Length):
(WTF::DLL_Print):
(WTF::DLL_Prepend):
(StackTrace):
(MapSelector):
(TCMalloc_PageHeap):
(WTF::TCMalloc_PageHeap::GetDescriptor):
(WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
(WTF::TCMalloc_PageHeap::SystemBytes):
(WTF::TCMalloc_PageHeap::FreeBytes):
(WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
(WTF::TCMalloc_PageHeap::CacheSizeClass):
(SpanList):
(WTF::TCMalloc_PageHeap::RecordSpan):
(WTF::TCMalloc_PageHeap::init):
(WTF::TCMalloc_PageHeap::initializeScavenger):
(WTF::TCMalloc_PageHeap::isScavengerSuspended):
(WTF::TCMalloc_PageHeap::scheduleScavenger):
(WTF::TCMalloc_PageHeap::rescheduleScavenger):
(WTF::TCMalloc_PageHeap::suspendScavenger):
(WTF::TCMalloc_PageHeap::scavengerTimerFired):
(WTF::TCMalloc_PageHeap::runScavengerThread):
(WTF::TCMalloc_PageHeap::signalScavenger):
(WTF::TCMalloc_PageHeap::scavenge):
(WTF::TCMalloc_PageHeap::shouldScavenge):
(WTF::TCMalloc_PageHeap::New):
(WTF::TCMalloc_PageHeap::AllocLarge):
(WTF::TCMalloc_PageHeap::Split):
(WTF::TCMalloc_PageHeap::Carve):
(WTF::mergeDecommittedStates):
(WTF::TCMalloc_PageHeap::Delete):
(WTF::TCMalloc_PageHeap::IncrementalScavenge):
(WTF::TCMalloc_PageHeap::RegisterSizeClass):
(WTF::TCMalloc_PageHeap::ReturnedBytes):
(WTF::PagesToMB):
(WTF::TCMalloc_PageHeap::Dump):
(WTF::TCMalloc_PageHeap::GrowHeap):
(WTF::TCMalloc_PageHeap::Check):
(WTF::TCMalloc_PageHeap::CheckList):
(WTF::TCMalloc_PageHeap::ReleaseFreeList):
(WTF::TCMalloc_PageHeap::ReleaseFreePages):
(TCMalloc_ThreadCache_FreeList):
(WTF::TCMalloc_ThreadCache_FreeList::Init):
(WTF::TCMalloc_ThreadCache_FreeList::length):
(WTF::TCMalloc_ThreadCache_FreeList::empty):
(WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
(WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
(WTF::TCMalloc_ThreadCache_FreeList::Push):
(WTF::TCMalloc_ThreadCache_FreeList::PushRange):
(WTF::TCMalloc_ThreadCache_FreeList::PopRange):
(WTF::TCMalloc_ThreadCache_FreeList::Pop):
(WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
(TCMalloc_ThreadCache):
(WTF::TCMalloc_ThreadCache::freelist_length):
(WTF::TCMalloc_ThreadCache::Size):
(WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
(TCMalloc_Central_FreeList):
(WTF::TCMalloc_Central_FreeList::length):
(WTF::TCMalloc_Central_FreeList::tc_length):
(WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
(TCMalloc_Central_FreeListPadded):
(WTF::getPageHeap):
(WTF::TCMalloc_PageHeap::periodicScavenge):
(WTF::TCMalloc_PageHeap::scavengerThread):
(WTF::setThreadHeap):
(WTF::TCMalloc_Central_FreeList::Init):
(WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
(WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
(WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
(WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
(WTF::TCMalloc_Central_FreeList::ShrinkCache):
(WTF::TCMalloc_Central_FreeList::InsertRange):
(WTF::TCMalloc_Central_FreeList::RemoveRange):
(WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
(WTF::TCMalloc_Central_FreeList::FetchFromSpans):
(WTF::TCMalloc_Central_FreeList::Populate):
(WTF::TCMalloc_ThreadCache::SampleAllocation):
(WTF::TCMalloc_ThreadCache::Init):
(WTF::TCMalloc_ThreadCache::Cleanup):
(WTF::TCMalloc_ThreadCache::Allocate):
(WTF::TCMalloc_ThreadCache::Deallocate):
(WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
(WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
(WTF::TCMalloc_ThreadCache::Scavenge):
(WTF::TCMalloc_ThreadCache::PickNextSample):
(WTF::TCMalloc_ThreadCache::InitModule):
(WTF::TCMalloc_ThreadCache::NewHeap):
(WTF::TCMalloc_ThreadCache::GetThreadHeap):
(WTF::TCMalloc_ThreadCache::GetCache):
(WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
(WTF::TCMalloc_ThreadCache::InitTSD):
(WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
* wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
(WTF):
(WTF::TryMallocReturnValue::TryMallocReturnValue):
(WTF::TryMallocReturnValue::~TryMallocReturnValue):
(TryMallocReturnValue):
(WTF::TryMallocReturnValue::operator PossiblyNull<T>):
(WTF::TryMallocReturnValue::getValue):
(FastMallocStatistics):
(ValidationHeader):
(Internal):
(WTF::Internal::fastMallocValidationHeader):
(WTF::Internal::fastMallocValidationSuffix):
(WTF::Internal::fastMallocMatchValidationType):
(WTF::Internal::setFastMallocMatchValidationType):
(WTF::fastMallocMatchValidateMalloc):
(WTF::fastMallocMatchValidateFree):
(WTF::fastMallocValidate):
(throw):
* wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
(WTF):
(FixedArray):
(WTF::FixedArray::operator[]):
(WTF::FixedArray::data):
(WTF::FixedArray::size):
* wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
(WTF):
(Float32Array):
(WTF::Float32Array::set):
(WTF::Float32Array::item):
(WTF::Float32Array::isFloatArray):
(WTF::Float32Array::create):
(WTF::Float32Array::Float32Array):
(WTF::Float32Array::subarray):
* wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
(WTF):
(Float64Array):
(WTF::Float64Array::set):
(WTF::Float64Array::item):
(WTF::Float64Array::isDoubleArray):
(WTF::Float64Array::create):
(WTF::Float64Array::Float64Array):
(WTF::Float64Array::subarray):
* wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
(WTF):
* wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
(WTF):
(HasRefAndDeref):
(NoType):
(BaseMixin):
(WTF::R):
(WTF::C::):
(WTF::RefAndDeref::ref):
(WTF::RefAndDeref::deref):
(ParamStorageTraits):
(WTF::ParamStorageTraits::wrap):
(WTF::ParamStorageTraits::unwrap):
(FunctionImplBase):
(WTF::FunctionImplBase::~FunctionImplBase):
(FunctionBase):
(WTF::FunctionBase::isNull):
(WTF::FunctionBase::FunctionBase):
(WTF::FunctionBase::impl):
(WTF::bind):
* wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
(WTF):
(WTF::getPtr):
* wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
(WTF):
(HashCountedSet):
(WTF::HashCountedSet::HashCountedSet):
(WTF::::size):
(WTF::::capacity):
(WTF::::isEmpty):
(WTF::::begin):
(WTF::::end):
(WTF::::find):
(WTF::::contains):
(WTF::::count):
(WTF::::add):
(WTF::::remove):
(WTF::::removeAll):
(WTF::::clear):
(WTF::copyToVector):
* wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
(WTF):
(WTF::intHash):
(WTF::IntHash::hash):
(WTF::IntHash::equal):
(IntHash):
(WTF::FloatHash::hash):
(WTF::FloatHash::equal):
(FloatHash):
(WTF::PtrHash::hash):
(WTF::PtrHash::equal):
(PtrHash):
(WTF::PairHash::hash):
(WTF::PairHash::equal):
(PairHash):
* wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
(WTF):
(HashTableConstKeysIterator):
(WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
(WTF::HashTableConstKeysIterator::get):
(WTF::HashTableConstKeysIterator::operator*):
(WTF::HashTableConstKeysIterator::operator->):
(WTF::HashTableConstKeysIterator::operator++):
(HashTableConstValuesIterator):
(WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
(WTF::HashTableConstValuesIterator::get):
(WTF::HashTableConstValuesIterator::operator*):
(WTF::HashTableConstValuesIterator::operator->):
(WTF::HashTableConstValuesIterator::operator++):
(HashTableKeysIterator):
(WTF::HashTableKeysIterator::HashTableKeysIterator):
(WTF::HashTableKeysIterator::get):
(WTF::HashTableKeysIterator::operator*):
(WTF::HashTableKeysIterator::operator->):
(WTF::HashTableKeysIterator::operator++):
(WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
(HashTableValuesIterator):
(WTF::HashTableValuesIterator::HashTableValuesIterator):
(WTF::HashTableValuesIterator::get):
(WTF::HashTableValuesIterator::operator*):
(WTF::HashTableValuesIterator::operator->):
(WTF::HashTableValuesIterator::operator++):
(WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
(WTF::operator==):
(WTF::operator!=):
* wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
(WTF):
(ReferenceTypeMaker):
(HashMap):
(WTF::HashMap::keys):
(WTF::HashMap::values):
(HashMapKeysProxy):
(WTF::HashMap::HashMapKeysProxy::begin):
(WTF::HashMap::HashMapKeysProxy::end):
(HashMapValuesProxy):
(WTF::HashMap::HashMapValuesProxy::begin):
(WTF::HashMap::HashMapValuesProxy::end):
(WTF::PairFirstExtractor::extract):
(WTF::HashMapTranslator::hash):
(WTF::HashMapTranslator::equal):
(WTF::HashMapTranslator::translate):
(WTF::HashMapTranslatorAdapter::hash):
(WTF::HashMapTranslatorAdapter::equal):
(WTF::HashMapTranslatorAdapter::translate):
(WTF::::swap):
(WTF::::size):
(WTF::::capacity):
(WTF::::isEmpty):
(WTF::::begin):
(WTF::::end):
(WTF::::find):
(WTF::::contains):
(WTF::::inlineAdd):
(WTF::::set):
(WTF::::add):
(WTF::::get):
(WTF::::remove):
(WTF::::clear):
(WTF::::take):
(WTF::::checkConsistency):
(WTF::operator==):
(WTF::operator!=):
(WTF::deleteAllPairSeconds):
(WTF::deleteAllValues):
(WTF::deleteAllPairFirsts):
(WTF::deleteAllKeys):
(WTF::copyKeysToVector):
(WTF::copyValuesToVector):
* wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
(WTF):
(HashSet):
(WTF::IdentityExtractor::extract):
(WTF::HashSetTranslatorAdapter::hash):
(WTF::HashSetTranslatorAdapter::equal):
(WTF::HashSetTranslatorAdapter::translate):
(WTF::::swap):
(WTF::::size):
(WTF::::capacity):
(WTF::::isEmpty):
(WTF::::begin):
(WTF::::end):
(WTF::::find):
(WTF::::contains):
(WTF::::add):
(WTF::::remove):
(WTF::::clear):
(WTF::deleteAllValues):
(WTF::fastDeleteAllValues):
(WTF::copyToVector):
* wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
(WTF):
(WTF::hashTableStatsMutex):
(WTF::HashTableStats::~HashTableStats):
(WTF::HashTableStats::recordCollisionAtCount):
* wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
(WTF):
(HashTableStats):
(WTF::addIterator):
(WTF::removeIterator):
(HashTableConstIterator):
(WTF::HashTableConstIterator::skipEmptyBuckets):
(WTF::HashTableConstIterator::HashTableConstIterator):
(WTF::HashTableConstIterator::~HashTableConstIterator):
(WTF::HashTableConstIterator::operator=):
(WTF::HashTableConstIterator::get):
(WTF::HashTableConstIterator::operator*):
(WTF::HashTableConstIterator::operator->):
(WTF::HashTableConstIterator::operator++):
(WTF::HashTableConstIterator::operator==):
(WTF::HashTableConstIterator::operator!=):
(WTF::HashTableConstIterator::checkValidity):
(HashTableIterator):
(WTF::HashTableIterator::HashTableIterator):
(WTF::HashTableIterator::get):
(WTF::HashTableIterator::operator*):
(WTF::HashTableIterator::operator->):
(WTF::HashTableIterator::operator++):
(WTF::HashTableIterator::operator==):
(WTF::HashTableIterator::operator!=):
(WTF::HashTableIterator::operator const_iterator):
(WTF::hashTableSwap):
(IdentityHashTranslator):
(WTF::IdentityHashTranslator::hash):
(WTF::IdentityHashTranslator::equal):
(WTF::IdentityHashTranslator::translate):
(HashTable):
(WTF::HashTable::~HashTable):
(WTF::HashTable::begin):
(WTF::HashTable::end):
(WTF::HashTable::size):
(WTF::HashTable::capacity):
(WTF::HashTable::isEmpty):
(WTF::HashTable::add):
(WTF::HashTable::find):
(WTF::HashTable::contains):
(WTF::HashTable::isEmptyBucket):
(WTF::HashTable::isDeletedBucket):
(WTF::HashTable::isEmptyOrDeletedBucket):
(WTF::HashTable::lookup):
(WTF::HashTable::checkTableConsistency):
(WTF::HashTable::internalCheckTableConsistency):
(WTF::HashTable::internalCheckTableConsistencyExceptSize):
(WTF::HashTable::lookupForWriting):
(WTF::HashTable::shouldExpand):
(WTF::HashTable::mustRehashInPlace):
(WTF::HashTable::shouldShrink):
(WTF::HashTable::shrink):
(WTF::HashTable::deleteBucket):
(WTF::HashTable::makeLookupResult):
(WTF::HashTable::makeIterator):
(WTF::HashTable::makeConstIterator):
(WTF::HashTable::makeKnownGoodIterator):
(WTF::HashTable::makeKnownGoodConstIterator):
(WTF::HashTable::checkTableConsistencyExceptSize):
(WTF::HashTable::invalidateIterators):
(WTF::::HashTable):
(WTF::doubleHash):
(WTF::::checkKey):
(WTF::::lookup):
(WTF::::lookupForWriting):
(WTF::::fullLookupForWriting):
(WTF::::initializeBucket):
(WTF::::add):
(WTF::::addPassingHashCode):
(WTF::::reinsert):
(WTF::::find):
(WTF::::contains):
(WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
(WTF::::removeAndInvalidate):
(WTF::::remove):
(WTF::::removeWithoutEntryConsistencyCheck):
(WTF::::allocateTable):
(WTF::::deallocateTable):
(WTF::::expand):
(WTF::::rehash):
(WTF::::clear):
(WTF::::swap):
(WTF::=):
(WTF::::checkTableConsistency):
(WTF::::checkTableConsistencyExceptSize):
(WTF::::invalidateIterators):
(WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
(HashTableConstIteratorAdapter):
(WTF::HashTableConstIteratorAdapter::get):
(WTF::HashTableConstIteratorAdapter::operator*):
(WTF::HashTableConstIteratorAdapter::operator->):
(WTF::HashTableConstIteratorAdapter::operator++):
(WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
(HashTableIteratorAdapter):
(WTF::HashTableIteratorAdapter::get):
(WTF::HashTableIteratorAdapter::operator*):
(WTF::HashTableIteratorAdapter::operator->):
(WTF::HashTableIteratorAdapter::operator++):
(WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
(WTF::operator==):
(WTF::operator!=):
* wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
(WTF):
(GenericHashTraits):
(WTF::GenericHashTraits::emptyValue):
(WTF::GenericHashTraits::store):
(WTF::GenericHashTraits::passOut):
(WTF::GenericHashTraits::peek):
(FloatHashTraits):
(WTF::FloatHashTraits::emptyValue):
(WTF::FloatHashTraits::constructDeletedValue):
(WTF::FloatHashTraits::isDeletedValue):
(UnsignedWithZeroKeyHashTraits):
(WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
(WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
(WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
(SimpleClassHashTraits):
(WTF::SimpleClassHashTraits::constructDeletedValue):
(WTF::SimpleClassHashTraits::isDeletedValue):
(PairHashTraits):
(WTF::PairHashTraits::emptyValue):
(WTF::PairHashTraits::constructDeletedValue):
(WTF::PairHashTraits::isDeletedValue):
* wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
(WTF):
(Internal):
(WTF::Internal::hexDigitsForMode):
(WTF::appendByteAsHex):
(WTF::placeByteAsHexCompressIfPossible):
(WTF::placeByteAsHex):
(WTF::appendUnsignedAsHex):
(WTF::appendUnsignedAsHexFixedSize):
* wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
* wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
(WTF):
(Int16Array):
(WTF::Int16Array::set):
(WTF::Int16Array::isShortArray):
(WTF::Int16Array::create):
(WTF::Int16Array::Int16Array):
(WTF::Int16Array::subarray):
* wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
(WTF):
(Int32Array):
(WTF::Int32Array::set):
(WTF::Int32Array::isIntArray):
(WTF::Int32Array::create):
(WTF::Int32Array::Int32Array):
(WTF::Int32Array::subarray):
* wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
(WTF):
(Int8Array):
(WTF::Int8Array::set):
(WTF::Int8Array::isByteArray):
(WTF::Int8Array::create):
(WTF::Int8Array::Int8Array):
(WTF::Int8Array::subarray):
* wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
(WTF):
(IntegralTypedArrayBase):
(WTF::IntegralTypedArrayBase::set):
(WTF::IntegralTypedArrayBase::item):
(WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
* wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
(WTF):
(ListHashSet):
(ListHashSetNodeAllocator):
(WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
(WTF::ListHashSetNodeAllocator::allocate):
(WTF::ListHashSetNodeAllocator::deallocate):
(WTF::ListHashSetNodeAllocator::pool):
(WTF::ListHashSetNodeAllocator::pastPool):
(WTF::ListHashSetNodeAllocator::inPool):
(ListHashSetNode):
(WTF::ListHashSetNode::ListHashSetNode):
(WTF::ListHashSetNode::operator new):
(WTF::ListHashSetNode::destroy):
(WTF::ListHashSetNodeHashFunctions::hash):
(WTF::ListHashSetNodeHashFunctions::equal):
(ListHashSetNodeHashFunctions):
(ListHashSetIterator):
(WTF::ListHashSetIterator::ListHashSetIterator):
(WTF::ListHashSetIterator::get):
(WTF::ListHashSetIterator::operator*):
(WTF::ListHashSetIterator::operator->):
(WTF::ListHashSetIterator::operator++):
(WTF::ListHashSetIterator::operator--):
(WTF::ListHashSetIterator::operator==):
(WTF::ListHashSetIterator::operator!=):
(WTF::ListHashSetIterator::operator const_iterator):
(WTF::ListHashSetIterator::node):
(ListHashSetConstIterator):
(WTF::ListHashSetConstIterator::ListHashSetConstIterator):
(WTF::ListHashSetConstIterator::get):
(WTF::ListHashSetConstIterator::operator*):
(WTF::ListHashSetConstIterator::operator->):
(WTF::ListHashSetConstIterator::operator++):
(WTF::ListHashSetConstIterator::operator--):
(WTF::ListHashSetConstIterator::operator==):
(WTF::ListHashSetConstIterator::operator!=):
(WTF::ListHashSetConstIterator::node):
(ListHashSetReverseIterator):
(WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
(WTF::ListHashSetReverseIterator::get):
(WTF::ListHashSetReverseIterator::operator*):
(WTF::ListHashSetReverseIterator::operator->):
(WTF::ListHashSetReverseIterator::operator++):
(WTF::ListHashSetReverseIterator::operator--):
(WTF::ListHashSetReverseIterator::operator==):
(WTF::ListHashSetReverseIterator::operator!=):
(WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
(WTF::ListHashSetReverseIterator::node):
(ListHashSetConstReverseIterator):
(WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
(WTF::ListHashSetConstReverseIterator::get):
(WTF::ListHashSetConstReverseIterator::operator*):
(WTF::ListHashSetConstReverseIterator::operator->):
(WTF::ListHashSetConstReverseIterator::operator++):
(WTF::ListHashSetConstReverseIterator::operator--):
(WTF::ListHashSetConstReverseIterator::operator==):
(WTF::ListHashSetConstReverseIterator::operator!=):
(WTF::ListHashSetConstReverseIterator::node):
(WTF::ListHashSetTranslator::hash):
(WTF::ListHashSetTranslator::equal):
(WTF::ListHashSetTranslator::translate):
(WTF::::ListHashSet):
(WTF::=):
(WTF::::swap):
(WTF::::~ListHashSet):
(WTF::::size):
(WTF::::capacity):
(WTF::::isEmpty):
(WTF::::begin):
(WTF::::end):
(WTF::::rbegin):
(WTF::::rend):
(WTF::::first):
(WTF::::last):
(WTF::::removeLast):
(WTF::::find):
(WTF::ListHashSetTranslatorAdapter::hash):
(WTF::ListHashSetTranslatorAdapter::equal):
(WTF::::contains):
(WTF::::add):
(WTF::::insertBefore):
(WTF::::remove):
(WTF::::clear):
(WTF::::unlinkAndDelete):
(WTF::::appendNode):
(WTF::::insertNodeBefore):
(WTF::::deleteAllNodes):
(WTF::::makeReverseIterator):
(WTF::::makeConstReverseIterator):
(WTF::::makeIterator):
(WTF::::makeConstIterator):
(WTF::deleteAllValues):
* wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
(WTF):
(ListRefPtr):
(WTF::ListRefPtr::ListRefPtr):
(WTF::ListRefPtr::~ListRefPtr):
(WTF::ListRefPtr::operator=):
(WTF::getPtr):
* wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
(WTF):
(Locker):
(WTF::Locker::Locker):
(WTF::Locker::~Locker):
* wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
(WTF):
(WTF::testMD5):
(WTF::expectMD5):
(WTF::reverseBytes):
(WTF::MD5Transform):
(WTF::MD5::MD5):
(WTF::MD5::addBytes):
(WTF::MD5::checksum):
* wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
(WTF):
(MD5):
(WTF::MD5::addBytes):
* wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
(WTF):
(FunctionWithContext):
(WTF::FunctionWithContext::FunctionWithContext):
(WTF::FunctionWithContext::operator == ):
(FunctionWithContextFinder):
(WTF::FunctionWithContextFinder::FunctionWithContextFinder):
(WTF::FunctionWithContextFinder::operator()):
(WTF::mainThreadFunctionQueueMutex):
(WTF::functionQueue):
(WTF::initializeMainThread):
(WTF::initializeMainThreadOnce):
(WTF::initializeMainThreadToProcessMainThreadOnce):
(WTF::initializeMainThreadToProcessMainThread):
(WTF::dispatchFunctionsFromMainThread):
(WTF::callOnMainThread):
(WTF::callOnMainThreadAndWait):
(WTF::cancelCallOnMainThread):
(WTF::callFunctionObject):
(WTF::setMainThreadCallbacksPaused):
(WTF::isMainThread):
(WTF::initializeGCThreads):
(WTF::registerGCThread):
(WTF::isMainThreadOrGCThread):
* wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
(WTF):
(WTF::isMainThreadOrGCThread):
* wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
(WTF):
(RemoteMemoryReader):
(WTF::RemoteMemoryReader::RemoteMemoryReader):
(WTF::RemoteMemoryReader::operator()):
(WTF::RemoteMemoryReader::nextEntryInLinkedList):
* wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
(wtf_ceil):
(isfinite):
(isinf):
(signbit):
(round):
(roundf):
(llround):
(llroundf):
(lround):
(lroundf):
(trunc):
(abs):
(isnan):
(nextafter):
(nextafterf):
(copysign):
(log2):
(log2f):
(wtf_atan2):
(wtf_fmod):
(wtf_pow):
(deg2rad):
(rad2deg):
(deg2grad):
(grad2deg):
(turn2deg):
(deg2turn):
(rad2grad):
(grad2rad):
(defaultMinimumForClamp):
(defaultMaximumForClamp):
(clampTo):
(clampToInteger):
(clampToFloat):
(clampToPositiveInteger):
(isWithinIntRange):
(decomposeDouble):
(doubleToInteger):
* wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
(WTF):
(MessageQueue):
(WTF::MessageQueue::MessageQueue):
(WTF::MessageQueue::infiniteTime):
(WTF::MessageQueue::alwaysTruePredicate):
(WTF::::~MessageQueue):
(WTF::::append):
(WTF::::appendAndCheckEmpty):
(WTF::::prepend):
(WTF::::waitForMessage):
(WTF::::waitForMessageFilteredWithTimeout):
(WTF::::tryGetMessage):
(WTF::::tryGetMessageIgnoringKilled):
(WTF::::removeIf):
(WTF::::isEmpty):
(WTF::::kill):
(WTF::::killed):
* wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
(WTF):
(WTF::MetaAllocator::~MetaAllocator):
(WTF::MetaAllocatorTracker::notify):
(WTF::MetaAllocatorTracker::release):
(WTF::MetaAllocator::release):
(WTF::MetaAllocatorHandle::MetaAllocatorHandle):
(WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
(WTF::MetaAllocatorHandle::shrink):
(WTF::MetaAllocator::MetaAllocator):
(WTF::MetaAllocator::allocate):
(WTF::MetaAllocator::currentStatistics):
(WTF::MetaAllocator::findAndRemoveFreeSpace):
(WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
(WTF::MetaAllocator::addFreshFreeSpace):
(WTF::MetaAllocator::debugFreeSpaceSize):
(WTF::MetaAllocator::addFreeSpace):
(WTF::MetaAllocator::incrementPageOccupancy):
(WTF::MetaAllocator::decrementPageOccupancy):
(WTF::MetaAllocator::roundUp):
(WTF::MetaAllocator::allocFreeSpaceNode):
(WTF::MetaAllocator::freeFreeSpaceNode):
(WTF::MetaAllocator::dumpProfile):
* wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
(WTF):
(MetaAllocatorTracker):
(WTF::MetaAllocatorTracker::find):
(MetaAllocator):
(WTF::MetaAllocator::trackAllocations):
(WTF::MetaAllocator::bytesAllocated):
(WTF::MetaAllocator::bytesReserved):
(WTF::MetaAllocator::bytesCommitted):
(Statistics):
(WTF::MetaAllocator::dumpProfile):
(FreeSpaceNode):
(WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
(WTF::MetaAllocator::FreeSpaceNode::key):
* wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
(WTF):
(MetaAllocatorHandle):
(WTF::MetaAllocatorHandle::start):
(WTF::MetaAllocatorHandle::end):
(WTF::MetaAllocatorHandle::sizeInBytes):
(WTF::MetaAllocatorHandle::isManaged):
(WTF::MetaAllocatorHandle::allocator):
(WTF::MetaAllocatorHandle::ownerUID):
(WTF::MetaAllocatorHandle::key):
* wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
(WTF):
(WTF::siftDown):
(WTF::heapify):
(WTF::heapSort):
(WTF::nonCopyingSort):
* wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
* wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
(WTF):
* wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
* wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
* wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
(WTF):
(WTF::numberOfProcessorCores):
* wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
(WTF):
* wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
(WTF):
(OSAllocator):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::decommitAndRelease):
(WTF::OSAllocator::reallocateCommitted):
* wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
(WTF):
(WTF::OSAllocator::reserveUncommitted):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):
(WTF::OSAllocator::releaseDecommitted):
* wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
(WTF):
(WTF::protection):
(WTF::OSAllocator::reserveUncommitted):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):
(WTF::OSAllocator::releaseDecommitted):
* wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
(WTF):
(WTF::cryptographicallyRandomValuesFromOS):
* wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
(WTF):
* wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
(WTF):
(OwnArrayPtr):
(WTF::OwnArrayPtr::OwnArrayPtr):
(WTF::OwnArrayPtr::~OwnArrayPtr):
(WTF::OwnArrayPtr::get):
(WTF::OwnArrayPtr::operator*):
(WTF::OwnArrayPtr::operator->):
(WTF::OwnArrayPtr::operator[]):
(WTF::OwnArrayPtr::operator!):
(WTF::OwnArrayPtr::operator UnspecifiedBoolType):
(WTF::OwnArrayPtr::operator=):
(WTF::OwnArrayPtr::swap):
(WTF::::OwnArrayPtr):
(WTF::::clear):
(WTF::::release):
(WTF::::leakPtr):
(WTF::=):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::getPtr):
* wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
(WTF):
(OwnPtr):
(WTF::OwnPtr::OwnPtr):
(WTF::OwnPtr::~OwnPtr):
(WTF::OwnPtr::get):
(WTF::OwnPtr::operator*):
(WTF::OwnPtr::operator->):
(WTF::OwnPtr::operator!):
(WTF::OwnPtr::operator UnspecifiedBoolType):
(WTF::OwnPtr::operator=):
(WTF::OwnPtr::swap):
(WTF::OwnPtr::operator==):
(WTF::OwnPtr::operator!=):
(WTF::::OwnPtr):
(WTF::::clear):
(WTF::::release):
(WTF::::leakPtr):
(WTF::=):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::getPtr):
* wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
(WTF):
(WTF::deleteOwnedPtr):
* wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
(WTF):
(PackedIntVector):
(WTF::PackedIntVector::PackedIntVector):
(WTF::PackedIntVector::operator=):
(WTF::PackedIntVector::size):
(WTF::PackedIntVector::ensureSize):
(WTF::PackedIntVector::resize):
(WTF::PackedIntVector::clearAll):
(WTF::PackedIntVector::get):
(WTF::PackedIntVector::set):
(WTF::PackedIntVector::mask):
* wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
(WTF):
(PageAllocation):
(WTF::PageAllocation::PageAllocation):
(WTF::PageAllocation::operator bool):
(WTF::PageAllocation::allocate):
(WTF::PageAllocation::deallocate):
* wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
(WTF):
(WTF::PageAllocationAligned::allocate):
(WTF::PageAllocationAligned::deallocate):
* wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
(WTF):
(PageAllocationAligned):
(WTF::PageAllocationAligned::PageAllocationAligned):
* wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
(WTF):
(WTF::systemPageSize):
(WTF::pageSize):
(WTF::pageMask):
* wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
(WTF):
(WTF::isPageAligned):
(WTF::isPowerOfTwo):
(PageBlock):
(WTF::PageBlock::base):
(WTF::PageBlock::size):
(WTF::PageBlock::operator bool):
(WTF::PageBlock::contains):
(WTF::PageBlock::PageBlock):
* wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
(WTF):
(PageReservation):
(WTF::PageReservation::PageReservation):
(WTF::PageReservation::operator bool):
(WTF::PageReservation::commit):
(WTF::PageReservation::decommit):
(WTF::PageReservation::committed):
(WTF::PageReservation::reserve):
(WTF::PageReservation::reserveWithGuardPages):
(WTF::PageReservation::deallocate):
* wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
(WTF):
(ParallelJobs):
(WTF::ParallelJobs::ParallelJobs):
(WTF::ParallelJobs::numberOfJobs):
(WTF::ParallelJobs::parameter):
(WTF::ParallelJobs::execute):
* wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
(WTF):
(WTF::ParallelEnvironment::ParallelEnvironment):
(WTF::ParallelEnvironment::execute):
(WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
(WTF::ParallelEnvironment::ThreadPrivate::execute):
(WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
(WTF::ParallelEnvironment::ThreadPrivate::workerThread):
* wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
(WTF):
(ParallelEnvironment):
(WTF::ParallelEnvironment::numberOfJobs):
(ThreadPrivate):
(WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
(WTF::ParallelEnvironment::ThreadPrivate::create):
* wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
(WTF):
(ParallelEnvironment):
(WTF::ParallelEnvironment::ParallelEnvironment):
(WTF::ParallelEnvironment::numberOfJobs):
(WTF::ParallelEnvironment::execute):
* wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
(WTF):
(ParallelEnvironment):
(WTF::ParallelEnvironment::ParallelEnvironment):
(WTF::ParallelEnvironment::numberOfJobs):
(WTF::ParallelEnvironment::execute):
* wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
(WTF):
(PassOwnArrayPtr):
(WTF::PassOwnArrayPtr::PassOwnArrayPtr):
(WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
(WTF::PassOwnArrayPtr::get):
(WTF::PassOwnArrayPtr::operator*):
(WTF::PassOwnArrayPtr::operator->):
(WTF::PassOwnArrayPtr::operator!):
(WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
(WTF::PassOwnArrayPtr::operator=):
(WTF::::leakPtr):
(WTF::operator==):
(WTF::operator!=):
(WTF::adoptArrayPtr):
(WTF::deleteOwnedArrayPtr):
(WTF::static_pointer_cast):
(WTF::const_pointer_cast):
(WTF::getPtr):
* wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
(WTF):
(PassOwnPtr):
(WTF::PassOwnPtr::PassOwnPtr):
(WTF::PassOwnPtr::~PassOwnPtr):
(WTF::PassOwnPtr::get):
(WTF::PassOwnPtr::operator*):
(WTF::PassOwnPtr::operator->):
(WTF::PassOwnPtr::operator!):
(WTF::PassOwnPtr::operator UnspecifiedBoolType):
(WTF::PassOwnPtr::operator=):
(WTF::PassOwnPtr::operator==):
(WTF::PassOwnPtr::operator!=):
(WTF::::leakPtr):
(WTF::operator==):
(WTF::operator!=):
(WTF::adoptPtr):
(WTF::static_pointer_cast):
(WTF::const_pointer_cast):
(WTF::getPtr):
* wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
(WTF):
(WTF::adopted):
(WTF::refIfNotNull):
(WTF::derefIfNotNull):
(PassRefPtr):
(WTF::PassRefPtr::PassRefPtr):
(WTF::PassRefPtr::~PassRefPtr):
(WTF::PassRefPtr::get):
(WTF::PassRefPtr::operator*):
(WTF::PassRefPtr::operator->):
(WTF::PassRefPtr::operator!):
(WTF::PassRefPtr::operator UnspecifiedBoolType):
(WTF::PassRefPtr::operator=):
(NonNullPassRefPtr):
(WTF::NonNullPassRefPtr::NonNullPassRefPtr):
(WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
(WTF::NonNullPassRefPtr::get):
(WTF::NonNullPassRefPtr::operator*):
(WTF::NonNullPassRefPtr::operator->):
(WTF::NonNullPassRefPtr::operator=):
(WTF::::PassRefPtr):
(WTF::::leakRef):
(WTF::operator==):
(WTF::operator!=):
(WTF::adoptRef):
(WTF::static_pointer_cast):
(WTF::const_pointer_cast):
(WTF::getPtr):
* wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
(WTF):
(PassTraits):
(WTF::PassTraits::transfer):
* wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
* wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
* wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
* wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
(WTF):
(WTF::PossiblyNull::PossiblyNull):
(WTF::PossiblyNull::~PossiblyNull):
(PossiblyNull):
(WTF::::getValue):
* wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
(WTF):
(WTF::randomNumber):
* wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
(WTF):
* wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
(WTF):
(WTF::initializeRandomNumberGenerator):
* wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
(WTF):
(RedBlackTree):
(Node):
(WTF::RedBlackTree::Node::successor):
(WTF::RedBlackTree::Node::predecessor):
(WTF::RedBlackTree::Node::reset):
(WTF::RedBlackTree::Node::parent):
(WTF::RedBlackTree::Node::setParent):
(WTF::RedBlackTree::Node::left):
(WTF::RedBlackTree::Node::setLeft):
(WTF::RedBlackTree::Node::right):
(WTF::RedBlackTree::Node::setRight):
(WTF::RedBlackTree::Node::color):
(WTF::RedBlackTree::Node::setColor):
(WTF::RedBlackTree::RedBlackTree):
(WTF::RedBlackTree::insert):
(WTF::RedBlackTree::remove):
(WTF::RedBlackTree::findExact):
(WTF::RedBlackTree::findLeastGreaterThanOrEqual):
(WTF::RedBlackTree::findGreatestLessThanOrEqual):
(WTF::RedBlackTree::first):
(WTF::RedBlackTree::last):
(WTF::RedBlackTree::size):
(WTF::RedBlackTree::isEmpty):
(WTF::RedBlackTree::treeMinimum):
(WTF::RedBlackTree::treeMaximum):
(WTF::RedBlackTree::treeInsert):
(WTF::RedBlackTree::leftRotate):
(WTF::RedBlackTree::rightRotate):
(WTF::RedBlackTree::removeFixup):
* wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
(WTF):
(RefCountedBase):
(WTF::RefCountedBase::ref):
(WTF::RefCountedBase::hasOneRef):
(WTF::RefCountedBase::refCount):
(WTF::RefCountedBase::turnOffVerifier):
(WTF::RefCountedBase::relaxAdoptionRequirement):
(WTF::RefCountedBase::addressOfCount):
(WTF::RefCountedBase::RefCountedBase):
(WTF::RefCountedBase::~RefCountedBase):
(WTF::RefCountedBase::derefBase):
(WTF::RefCountedBase::deletionHasBegun):
(WTF::adopted):
(RefCounted):
(WTF::RefCounted::deref):
(WTF::RefCounted::RefCounted):
(WTF::RefCounted::~RefCounted):
(RefCountedCustomAllocated):
(WTF::RefCountedCustomAllocated::deref):
(WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
(WTF::RefCountedBase::setMutexForVerifier):
(WTF::RefCountedBase::setDispatchQueueForVerifier):
* wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
(WTF):
(RefCountedArray):
(WTF::RefCountedArray::RefCountedArray):
(WTF::RefCountedArray::operator=):
(WTF::RefCountedArray::~RefCountedArray):
(WTF::RefCountedArray::size):
(WTF::RefCountedArray::data):
(WTF::RefCountedArray::begin):
(WTF::RefCountedArray::end):
(WTF::RefCountedArray::at):
(WTF::RefCountedArray::operator[]):
(Header):
(WTF::RefCountedArray::Header::size):
(WTF::RefCountedArray::Header::payload):
(WTF::RefCountedArray::Header::fromPayload):
* wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
(WTF):
(WTF::RefCountedLeakCounter::suppressMessages):
(WTF::RefCountedLeakCounter::cancelMessageSuppression):
(WTF::RefCountedLeakCounter::RefCountedLeakCounter):
(WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
(WTF::RefCountedLeakCounter::increment):
(WTF::RefCountedLeakCounter::decrement):
* wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
(WTF):
(RefCountedLeakCounter):
* wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
(WTF):
(RefPtr):
(WTF::RefPtr::RefPtr):
(WTF::RefPtr::isHashTableDeletedValue):
(WTF::RefPtr::~RefPtr):
(WTF::RefPtr::get):
(WTF::RefPtr::release):
(WTF::RefPtr::operator*):
(WTF::RefPtr::operator->):
(WTF::RefPtr::operator!):
(WTF::RefPtr::operator UnspecifiedBoolType):
(WTF::RefPtr::operator=):
(WTF::RefPtr::hashTableDeletedValue):
(WTF::::RefPtr):
(WTF::::clear):
(WTF::=):
(WTF::::swap):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::static_pointer_cast):
(WTF::const_pointer_cast):
(WTF::getPtr):
* wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
(WTF):
(WTF::::swap):
(WTF::::size):
(WTF::::capacity):
(WTF::::isEmpty):
(WTF::::begin):
(WTF::::end):
(WTF::::find):
(WTF::::contains):
(WTF::::inlineAdd):
(WTF::::set):
(WTF::::add):
(WTF::::get):
(WTF::::inlineGet):
(WTF::::remove):
(WTF::::clear):
(WTF::::take):
* wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
(WTF):
(WTF::adoptNSReference):
(RetainPtr):
(WTF::RetainPtr::RetainPtr):
(WTF::RetainPtr::isHashTableDeletedValue):
(WTF::RetainPtr::~RetainPtr):
(WTF::RetainPtr::get):
(WTF::RetainPtr::operator->):
(WTF::RetainPtr::operator!):
(WTF::RetainPtr::operator UnspecifiedBoolType):
(WTF::RetainPtr::operator=):
(WTF::RetainPtr::hashTableDeletedValue):
(WTF::::RetainPtr):
(WTF::::clear):
(WTF::::leakRef):
(WTF::=):
(WTF::::adoptCF):
(WTF::::adoptNS):
(WTF::::swap):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::adoptCF):
(WTF::adoptNS):
(WTF::retainPtr):
* wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
(WTF):
(WTF::testSHA1):
(WTF::expectSHA1):
(WTF::f):
(WTF::k):
(WTF::rotateLeft):
(WTF::SHA1::SHA1):
(WTF::SHA1::addBytes):
(WTF::SHA1::computeHash):
(WTF::SHA1::finalize):
(WTF::SHA1::processBlock):
(WTF::SHA1::reset):
* wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
(WTF):
(SHA1):
(WTF::SHA1::addBytes):
* wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
(WTF):
(SegmentedVectorIterator):
(WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
(WTF::SegmentedVectorIterator::operator*):
(WTF::SegmentedVectorIterator::operator->):
(WTF::SegmentedVectorIterator::operator++):
(WTF::SegmentedVectorIterator::operator==):
(WTF::SegmentedVectorIterator::operator!=):
(WTF::SegmentedVectorIterator::operator=):
(WTF::SegmentedVectorIterator::SegmentedVectorIterator):
(SegmentedVector):
(WTF::SegmentedVector::SegmentedVector):
(WTF::SegmentedVector::~SegmentedVector):
(WTF::SegmentedVector::size):
(WTF::SegmentedVector::isEmpty):
(WTF::SegmentedVector::at):
(WTF::SegmentedVector::operator[]):
(WTF::SegmentedVector::last):
(WTF::SegmentedVector::append):
(WTF::SegmentedVector::alloc):
(WTF::SegmentedVector::removeLast):
(WTF::SegmentedVector::grow):
(WTF::SegmentedVector::clear):
(WTF::SegmentedVector::begin):
(WTF::SegmentedVector::end):
(WTF::SegmentedVector::deleteAllSegments):
(WTF::SegmentedVector::segmentExistsFor):
(WTF::SegmentedVector::segmentFor):
(WTF::SegmentedVector::subscriptFor):
(WTF::SegmentedVector::ensureSegmentsFor):
(WTF::SegmentedVector::ensureSegment):
* wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
(WTF):
(BasicRawSentinelNode):
(WTF::BasicRawSentinelNode::BasicRawSentinelNode):
(WTF::BasicRawSentinelNode::setPrev):
(WTF::BasicRawSentinelNode::setNext):
(WTF::BasicRawSentinelNode::prev):
(WTF::BasicRawSentinelNode::next):
(WTF::BasicRawSentinelNode::isOnList):
(SentinelLinkedList):
(WTF::SentinelLinkedList::isEmpty):
(WTF::::remove):
(WTF::::SentinelLinkedList):
(WTF::::begin):
(WTF::::end):
(WTF::::push):
* wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
(WTF):
(SimpleStats):
(WTF::SimpleStats::SimpleStats):
(WTF::SimpleStats::add):
(WTF::SimpleStats::operator!):
(WTF::SimpleStats::count):
(WTF::SimpleStats::sum):
(WTF::SimpleStats::sumOfSquares):
(WTF::SimpleStats::mean):
(WTF::SimpleStats::variance):
(WTF::SimpleStats::standardDeviation):
* wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
(WTF):
(SinglyLinkedList):
(WTF::::SinglyLinkedList):
(WTF::::isEmpty):
(WTF::::push):
(WTF::::pop):
* wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
(WTF):
(SameSizeAsRefCounted):
* wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
(WTF):
(Spectrum):
(WTF::Spectrum::Spectrum):
(WTF::Spectrum::add):
(WTF::Spectrum::get):
(WTF::Spectrum::begin):
(WTF::Spectrum::end):
(WTF::Spectrum::KeyAndCount::KeyAndCount):
(KeyAndCount):
(WTF::Spectrum::KeyAndCount::operator<):
(WTF::Spectrum::buildList):
* wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
(WTF):
(WTF::estimateStackBound):
(WTF::StackBounds::initialize):
(WTF::detectGrowingDownward):
(WTF::isPageWritable):
(WTF::getLowerStackBound):
(WTF::getUpperStackBound):
* wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
(WTF):
(StackBounds):
(WTF::StackBounds::StackBounds):
(WTF::StackBounds::currentThreadStackBounds):
(WTF::StackBounds::origin):
(WTF::StackBounds::current):
(WTF::StackBounds::recursionLimit):
(WTF::StackBounds::recursionCheck):
(WTF::StackBounds::isGrowingDownward):
(WTF::StackBounds::checkConsistency):
* wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
* wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
(isPointerTypeAlignmentOkay):
(reinterpret_cast_ptr):
(WTF):
(WTF::isPointerAligned):
(WTF::is8ByteAligned):
(WTF::bitwise_cast):
(WTF::safeCast):
(WTF::bitCount):
(WTF::roundUpToMultipleOf):
(WTF::binarySearch):
(WTF::binarySearchWithFunctor):
(WTF::genericBinarySearch):
(operator new):
* wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
(strcasecmp):
(strncasecmp):
* wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
(snprintf):
(wtf_vsnprintf):
(strnicmp):
(stricmp):
(strdup):
(strncasecmp):
(strcasecmp):
(strnstr):
* wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
(WTF):
(StringHasher):
(WTF::StringHasher::StringHasher):
(WTF::StringHasher::addCharacters):
(WTF::StringHasher::addCharacter):
(WTF::StringHasher::hash):
(WTF::StringHasher::computeHash):
(WTF::StringHasher::hashMemory):
(WTF::StringHasher::defaultConverter):
(WTF::StringHasher::addCharactersToHash):
* wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
(PackedCache):
(PackedCache::PackedCache):
(PackedCache::Put):
(PackedCache::Has):
(PackedCache::GetOrDefault):
(PackedCache::Clear):
(PackedCache::EntryToValue):
(PackedCache::EntryToUpper):
(PackedCache::KeyToUpper):
(PackedCache::UpperToPartialKey):
(PackedCache::Hash):
(PackedCache::KeyMatch):
* wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
(TCMalloc_PageMap1):
(TCMalloc_PageMap1::init):
(TCMalloc_PageMap1::Ensure):
(TCMalloc_PageMap1::PreallocateMoreMemory):
(TCMalloc_PageMap1::get):
(TCMalloc_PageMap1::set):
(TCMalloc_PageMap2):
(Leaf):
(TCMalloc_PageMap2::init):
(TCMalloc_PageMap2::get):
(TCMalloc_PageMap2::set):
(TCMalloc_PageMap2::Ensure):
(TCMalloc_PageMap2::PreallocateMoreMemory):
(TCMalloc_PageMap2::visitValues):
(TCMalloc_PageMap2::visitAllocations):
(TCMalloc_PageMap3):
(Node):
(TCMalloc_PageMap3::NewNode):
(TCMalloc_PageMap3::init):
(TCMalloc_PageMap3::get):
(TCMalloc_PageMap3::set):
(TCMalloc_PageMap3::Ensure):
(TCMalloc_PageMap3::PreallocateMoreMemory):
(TCMalloc_PageMap3::visitValues):
(TCMalloc_PageMap3::visitAllocations):
* wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
(TCMalloc_SpinLock):
(TCMalloc_SpinLock::Lock):
(TCMalloc_SpinLock::Unlock):
(TCMalloc_SpinLock::IsHeld):
(TCMalloc_SpinLock::Init):
(TCMalloc_SpinLock::Finalize):
(TCMalloc_SlowLock):
(TCMalloc_SpinLockHolder):
(TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
(TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
* wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
(TrySbrk):
(TryMmap):
(TryVirtualAlloc):
(TryDevMem):
(TCMalloc_SystemAlloc):
(TCMalloc_SystemRelease):
(TCMalloc_SystemCommit):
* wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
(TCMalloc_SystemRelease):
(TCMalloc_SystemCommit):
* wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
(WTF):
(TemporaryChange):
(WTF::TemporaryChange::TemporaryChange):
(WTF::TemporaryChange::~TemporaryChange):
* wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
(WTF):
(WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
(ThreadFunctionInvocation):
* wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
(WTF):
(WTF::ThreadIdentifierData::~ThreadIdentifierData):
(WTF::ThreadIdentifierData::initializeOnce):
(WTF::ThreadIdentifierData::identifier):
(WTF::ThreadIdentifierData::initialize):
(WTF::ThreadIdentifierData::destruct):
* wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
(WTF):
(ThreadIdentifierData):
(WTF::ThreadIdentifierData::ThreadIdentifierData):
* wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
(WTF):
(ThreadRestrictionVerifier):
(WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
(WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
(WTF::ThreadRestrictionVerifier::setMutexMode):
(WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
(WTF::ThreadRestrictionVerifier::turnOffVerification):
(WTF::ThreadRestrictionVerifier::setShared):
(WTF::ThreadRestrictionVerifier::isSafeToUse):
* wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
(WTF):
(ThreadSafeRefCountedBase):
(WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
(WTF::ThreadSafeRefCountedBase::ref):
(WTF::ThreadSafeRefCountedBase::hasOneRef):
(WTF::ThreadSafeRefCountedBase::refCount):
(WTF::ThreadSafeRefCountedBase::derefBase):
(ThreadSafeRefCounted):
(WTF::ThreadSafeRefCounted::deref):
(WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
* wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
(WTF):
(ThreadSpecific):
(Data):
(WTF::ThreadSpecific::Data::Data):
(WTF::::ThreadSpecific):
(WTF::::get):
(WTF::::set):
(WTF::::~ThreadSpecific):
(WTF::::destroy):
(WTF::::isSet):
(WTF::T):
(WTF::::operator):
* wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
(WTF):
(WTF::tlsKeyCount):
(WTF::tlsKeys):
(WTF::ThreadSpecificThreadExit):
* wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
(WTF):
(NewThreadContext):
(WTF::NewThreadContext::NewThreadContext):
(WTF::threadEntryPoint):
(WTF::createThread):
(WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
(ThreadFunctionWithReturnValueInvocation):
(WTF::compatEntryPoint):
(WTF::waitForThreadCompletion):
* wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
(WTF):
* wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
* wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
(WTF):
(PlatformMutex):
(PlatformCondition):
(Mutex):
(WTF::Mutex::impl):
(ReadWriteLock):
(ThreadCondition):
* wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
(WTF):
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::lockAtomicallyInitializedStaticMutex):
(WTF::unlockAtomicallyInitializedStaticMutex):
(WTF::threadMap):
(WTF::identifierByPthreadHandle):
(WTF::establishIdentifierForPthreadHandle):
(WTF::pthreadHandleForIdentifier):
(WTF::clearPthreadHandleForIdentifier):
(WTF::wtfThreadEntryPoint):
(WTF::createThreadInternal):
(WTF::initializeCurrentThreadInternal):
(WTF::waitForThreadCompletion):
(WTF::detachThread):
(WTF::yield):
(WTF::currentThread):
(WTF::Mutex::Mutex):
(WTF::Mutex::~Mutex):
(WTF::Mutex::lock):
(WTF::Mutex::tryLock):
(WTF::Mutex::unlock):
(WTF::ReadWriteLock::ReadWriteLock):
(WTF::ReadWriteLock::~ReadWriteLock):
(WTF::ReadWriteLock::readLock):
(WTF::ReadWriteLock::tryReadLock):
(WTF::ReadWriteLock::writeLock):
(WTF::ReadWriteLock::tryWriteLock):
(WTF::ReadWriteLock::unlock):
(WTF::ThreadCondition::ThreadCondition):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::ThreadCondition::signal):
(WTF::ThreadCondition::broadcast):
* wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
(WTF):
(tagTHREADNAME_INFO):
(WTF::initializeCurrentThreadInternal):
(WTF::lockAtomicallyInitializedStaticMutex):
(WTF::unlockAtomicallyInitializedStaticMutex):
(WTF::threadMapMutex):
(WTF::initializeThreading):
(WTF::threadMap):
(WTF::storeThreadHandleByIdentifier):
(WTF::threadHandleForIdentifier):
(WTF::clearThreadHandleForIdentifier):
(WTF::wtfThreadEntryPoint):
(WTF::createThreadInternal):
(WTF::waitForThreadCompletion):
(WTF::detachThread):
(WTF::yield):
(WTF::currentThread):
(WTF::Mutex::Mutex):
(WTF::Mutex::~Mutex):
(WTF::Mutex::lock):
(WTF::Mutex::tryLock):
(WTF::Mutex::unlock):
(WTF::PlatformCondition::timedWait):
(WTF::PlatformCondition::signal):
(WTF::ThreadCondition::ThreadCondition):
(WTF::ThreadCondition::~ThreadCondition):
(WTF::ThreadCondition::wait):
(WTF::ThreadCondition::timedWait):
(WTF::ThreadCondition::signal):
(WTF::ThreadCondition::broadcast):
(WTF::absoluteTimeToWaitTimeoutInterval):
* wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
(WTF):
* wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
(WTF):
(IsConvertibleToInteger):
(IsArray):
(IsSameType):
(IsSubclass):
(NoType):
(IsSubclassOfTemplate):
(RemoveTemplate):
(RemoveConst):
(RemoveVolatile):
(RemoveConstVolatile):
(RemovePointer):
(RemoveReference):
(RemoveExtent):
(DecayArray):
(IntegralConstant):
* wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
(WTF):
(TypedArrayBase):
(WTF::TypedArrayBase::data):
(WTF::TypedArrayBase::set):
(WTF::TypedArrayBase::setRange):
(WTF::TypedArrayBase::zeroRange):
(WTF::TypedArrayBase::length):
(WTF::TypedArrayBase::byteLength):
(WTF::TypedArrayBase::TypedArrayBase):
(WTF::TypedArrayBase::create):
(WTF::TypedArrayBase::subarrayImpl):
(WTF::TypedArrayBase::neuter):
* wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
(WTF):
(Uint16Array):
(WTF::Uint16Array::set):
(WTF::Uint16Array::isUnsignedShortArray):
(WTF::Uint16Array::create):
(WTF::Uint16Array::Uint16Array):
(WTF::Uint16Array::subarray):
* wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
(WTF):
(Uint32Array):
(WTF::Uint32Array::set):
(WTF::Uint32Array::isUnsignedIntArray):
(WTF::Uint32Array::create):
(WTF::Uint32Array::Uint32Array):
(WTF::Uint32Array::subarray):
* wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
(WTF):
(Uint8Array):
(WTF::Uint8Array::set):
(WTF::Uint8Array::isUnsignedByteArray):
(WTF::Uint8Array::create):
(WTF::Uint8Array::Uint8Array):
(WTF::Uint8Array::subarray):
* wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
(WTF):
(Uint8ClampedArray):
(WTF::Uint8ClampedArray::set):
(WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
(WTF::Uint8ClampedArray::create):
(WTF::Uint8ClampedArray::Uint8ClampedArray):
(WTF::Uint8ClampedArray::subarray):
* wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
(WTF):
(UnionFind):
(WTF::UnionFind::UnionFind):
(WTF::UnionFind::find):
(WTF::UnionFind::unify):
* wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
(unusedParam):
* wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
* wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
(WTF):
(ValueCheck):
(WTF::ValueCheck::checkConsistency):
* wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
(WTF):
(WTF::VectorTypeOperations::destruct):
(VectorTypeOperations):
(WTF::VectorTypeOperations::initialize):
(WTF::VectorTypeOperations::move):
(WTF::VectorTypeOperations::moveOverlapping):
(WTF::VectorTypeOperations::uninitializedCopy):
(WTF::VectorTypeOperations::uninitializedFill):
(WTF::VectorTypeOperations::compare):
(VectorBufferBase):
(WTF::VectorBufferBase::allocateBuffer):
(WTF::VectorBufferBase::tryAllocateBuffer):
(WTF::VectorBufferBase::deallocateBuffer):
(WTF::VectorBufferBase::buffer):
(WTF::VectorBufferBase::bufferSlot):
(WTF::VectorBufferBase::capacity):
(WTF::VectorBufferBase::releaseBuffer):
(WTF::VectorBufferBase::VectorBufferBase):
(WTF::VectorBufferBase::~VectorBufferBase):
(VectorBuffer):
(WTF::VectorBuffer::VectorBuffer):
(WTF::VectorBuffer::~VectorBuffer):
(WTF::VectorBuffer::allocateBuffer):
(WTF::VectorBuffer::tryAllocateBuffer):
(WTF::VectorBuffer::deallocateBuffer):
(WTF::VectorBuffer::swap):
(WTF::VectorBuffer::restoreInlineBufferIfNeeded):
(WTF::VectorBuffer::releaseBuffer):
(WTF::VectorBuffer::inlineBuffer):
(Vector):
(WTF::Vector::Vector):
(WTF::Vector::~Vector):
(WTF::Vector::size):
(WTF::Vector::capacity):
(WTF::Vector::isEmpty):
(WTF::Vector::at):
(WTF::Vector::operator[]):
(WTF::Vector::data):
(WTF::Vector::dataSlot):
(WTF::Vector::begin):
(WTF::Vector::end):
(WTF::Vector::rbegin):
(WTF::Vector::rend):
(WTF::Vector::reversed):
(WTF::Vector::first):
(WTF::Vector::last):
(WTF::Vector::shrinkToFit):
(WTF::Vector::clear):
(WTF::Vector::removeLast):
(WTF::Vector::fill):
(WTF::Vector::swap):
(VectorReverseProxy):
(WTF::Vector::VectorReverseProxy::begin):
(WTF::Vector::VectorReverseProxy::end):
(WTF::operator<<):
(WTF::operator>>):
(WTF::::Vector):
(WTF::=):
(WTF::typelessPointersAreEqual):
(WTF::::contains):
(WTF::::find):
(WTF::::reverseFind):
(WTF::::fill):
(WTF::::appendRange):
(WTF::::expandCapacity):
(WTF::::tryExpandCapacity):
(WTF::::resize):
(WTF::::shrink):
(WTF::::grow):
(WTF::::reserveCapacity):
(WTF::::tryReserveCapacity):
(WTF::::reserveInitialCapacity):
(WTF::::shrinkCapacity):
(WTF::::append):
(WTF::::tryAppend):
(WTF::::appendSlowCase):
(WTF::::uncheckedAppend):
(WTF::::insert):
(WTF::::prepend):
(WTF::::remove):
(WTF::::reverse):
(WTF::::releaseBuffer):
(WTF::::checkConsistency):
(WTF::deleteAllValues):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
* wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
(WTF):
(SimpleClassVectorTraits):
* wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
(WTF):
(WTF::WTFThreadData::WTFThreadData):
(WTF::WTFThreadData::~WTFThreadData):
(JSC):
(JSC::IdentifierTable::~IdentifierTable):
(JSC::IdentifierTable::add):
* wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
(JSC):
(IdentifierTable):
(JSC::IdentifierTable::remove):
(JSC::IdentifierTable::literalTable):
(WTF):
(WTFThreadData):
(WTF::WTFThreadData::atomicStringTable):
(WTF::WTFThreadData::currentIdentifierTable):
(WTF::WTFThreadData::setCurrentIdentifierTable):
(WTF::WTFThreadData::resetCurrentIdentifierTable):
(WTF::WTFThreadData::stack):
(WTF::wtfThreadData):
* wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
(WTF):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
(WTF):
(ChromiumThreading):
* wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
(WTF):
(WTF::initializeMainThread):
(WTF::callOnMainThread):
(WTF::callOnMainThreadAndWait):
(WTF::setMainThreadCallbacksPaused):
(WTF::isMainThread):
* wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
(WTF):
(WTF::storeInc):
(WTF::BigInt::BigInt):
(BigInt):
(WTF::BigInt::clear):
(WTF::BigInt::size):
(WTF::BigInt::resize):
(WTF::BigInt::words):
(WTF::BigInt::append):
(WTF::multadd):
(WTF::hi0bits):
(WTF::lo0bits):
(WTF::i2b):
(WTF::mult):
(P5Node):
(WTF::P5Node::P5Node):
(WTF::pow5mult):
(WTF::lshift):
(WTF::cmp):
(WTF::diff):
(WTF::d2b):
(WTF::strtod):
(WTF::quorem):
(WTF::dtoa):
* wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
(WTF):
* wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
* wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
* wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
* wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
* wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
(WTF):
(double_conversion):
* wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
* wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
(WTF):
(double_conversion):
(Bignum):
(WTF::double_conversion::Bignum::Times10):
(WTF::double_conversion::Bignum::Equal):
(WTF::double_conversion::Bignum::LessEqual):
(WTF::double_conversion::Bignum::Less):
(WTF::double_conversion::Bignum::PlusEqual):
(WTF::double_conversion::Bignum::PlusLessEqual):
(WTF::double_conversion::Bignum::PlusLess):
(WTF::double_conversion::Bignum::EnsureCapacity):
(WTF::double_conversion::Bignum::BigitLength):
* wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
* wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
(WTF):
(double_conversion):
(PowersOfTenCache):
* wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
* wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
(WTF):
(double_conversion):
(DiyFp):
(WTF::double_conversion::DiyFp::DiyFp):
(WTF::double_conversion::DiyFp::Subtract):
(WTF::double_conversion::DiyFp::Minus):
(WTF::double_conversion::DiyFp::Times):
(WTF::double_conversion::DiyFp::Normalize):
(WTF::double_conversion::DiyFp::f):
(WTF::double_conversion::DiyFp::e):
(WTF::double_conversion::DiyFp::set_f):
(WTF::double_conversion::DiyFp::set_e):
* wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
* wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
(WTF):
(double_conversion):
(DoubleToStringConverter):
(WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
(StringToDoubleConverter):
(WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
* wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
(WTF):
(double_conversion):
(WTF::double_conversion::double_to_uint64):
(WTF::double_conversion::uint64_to_double):
(Double):
(WTF::double_conversion::Double::Double):
(WTF::double_conversion::Double::AsDiyFp):
(WTF::double_conversion::Double::AsNormalizedDiyFp):
(WTF::double_conversion::Double::AsUint64):
(WTF::double_conversion::Double::NextDouble):
(WTF::double_conversion::Double::Exponent):
(WTF::double_conversion::Double::Significand):
(WTF::double_conversion::Double::IsDenormal):
(WTF::double_conversion::Double::IsSpecial):
(WTF::double_conversion::Double::IsNan):
(WTF::double_conversion::Double::IsInfinite):
(WTF::double_conversion::Double::Sign):
(WTF::double_conversion::Double::UpperBoundary):
(WTF::double_conversion::Double::NormalizedBoundaries):
(WTF::double_conversion::Double::value):
(WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
(WTF::double_conversion::Double::Infinity):
(WTF::double_conversion::Double::NaN):
(WTF::double_conversion::Double::DiyFpToUint64):
* wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
* wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
(WTF):
(double_conversion):
* wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
* wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
(WTF):
(double_conversion):
* wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
* wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
(WTF):
(double_conversion):
* wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
(WTF):
(double_conversion):
(WTF::double_conversion::Max):
(WTF::double_conversion::Min):
(WTF::double_conversion::StrLength):
(Vector):
(WTF::double_conversion::Vector::Vector):
(WTF::double_conversion::Vector::SubVector):
(WTF::double_conversion::Vector::length):
(WTF::double_conversion::Vector::is_empty):
(WTF::double_conversion::Vector::start):
(WTF::double_conversion::Vector::operator[]):
(WTF::double_conversion::Vector::first):
(WTF::double_conversion::Vector::last):
(StringBuilder):
(WTF::double_conversion::StringBuilder::StringBuilder):
(WTF::double_conversion::StringBuilder::~StringBuilder):
(WTF::double_conversion::StringBuilder::size):
(WTF::double_conversion::StringBuilder::position):
(WTF::double_conversion::StringBuilder::SetPosition):
(WTF::double_conversion::StringBuilder::Reset):
(WTF::double_conversion::StringBuilder::AddCharacter):
(WTF::double_conversion::StringBuilder::AddString):
(WTF::double_conversion::StringBuilder::AddSubstring):
(WTF::double_conversion::StringBuilder::AddPadding):
(WTF::double_conversion::StringBuilder::Finalize):
(WTF::double_conversion::StringBuilder::is_finalized):
(WTF::double_conversion::BitCast):
* wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
(WTF):
(WTF::pipeObject):
(WTF::monitorDispatchFunctions):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
(WTF):
(WTF::deleteOwnedPtr):
* wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
(WTF):
(WTF::GError):
(WTF::GList):
(WTF::GSList):
(WTF::GPatternSpec):
(WTF::GDir):
(WTF::GTimer):
(WTF::GKeyFile):
* wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
(WTF):
(GOwnPtr):
(WTF::GOwnPtr::GOwnPtr):
(WTF::GOwnPtr::~GOwnPtr):
(WTF::GOwnPtr::get):
(WTF::GOwnPtr::release):
(WTF::GOwnPtr::outPtr):
(WTF::GOwnPtr::set):
(WTF::GOwnPtr::clear):
(WTF::GOwnPtr::operator*):
(WTF::GOwnPtr::operator->):
(WTF::GOwnPtr::operator!):
(WTF::GOwnPtr::operator UnspecifiedBoolType):
(WTF::GOwnPtr::swap):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::getPtr):
(WTF::freeOwnedGPtr):
* wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
(WTF):
(WTF::refGPtr):
(WTF::derefGPtr):
(_GVariant):
* wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
(WTF):
(GRefPtr):
(WTF::GRefPtr::GRefPtr):
(WTF::GRefPtr::~GRefPtr):
(WTF::GRefPtr::clear):
(WTF::GRefPtr::isHashTableDeletedValue):
(WTF::GRefPtr::get):
(WTF::GRefPtr::operator*):
(WTF::GRefPtr::operator->):
(WTF::GRefPtr::operator!):
(WTF::GRefPtr::operator UnspecifiedBoolType):
(WTF::GRefPtr::hashTableDeletedValue):
(WTF::=):
(WTF::::swap):
(WTF::swap):
(WTF::operator==):
(WTF::operator!=):
(WTF::static_pointer_cast):
(WTF::const_pointer_cast):
(WTF::getPtr):
(WTF::adoptGRef):
(WTF::refGPtr):
(WTF::derefGPtr):
* wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
* wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
(getCurrentExecutablePath):
* wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
* wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
(WTF):
(WTF::initializeMainThreadPlatform):
(WTF::timeoutFired):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
(-[JSWTFMainThreadCaller call]):
(WTF):
(WTF::initializeMainThreadPlatform):
(WTF::initializeMainThreadToProcessMainThreadPlatform):
(WTF::timerFired):
(WTF::postTimer):
(WTF::scheduleDispatchFunctionsOnMainThread):
(WTF::isMainThread):
* wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
(WTF):
(MainThreadInvoker):
(WTF::MainThreadInvoker::MainThreadInvoker):
(WTF::MainThreadInvoker::event):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
(WTF):
(WTF::String::String):
(WTF::String::operator QString):
(WTF::operator<<):
(WTF::operator>>):
* wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
(escapeHtml):
* wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
* wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
(QGuiApplication):
(QGuiApplication::styleHints):
* wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
(WTF):
(WTF::isAlignedToMachineWord):
(WTF::alignToMachineWord):
(WTF::isAllASCII):
(WTF::charactersAreAllASCII):
* wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
(WTF):
(AtomicStringTable):
(WTF::AtomicStringTable::create):
(WTF::AtomicStringTable::table):
(WTF::AtomicStringTable::destroy):
(WTF::stringTable):
(WTF::addToStringTable):
(WTF::CStringTranslator::hash):
(CStringTranslator):
(WTF::CStringTranslator::equal):
(WTF::CStringTranslator::translate):
(WTF::AtomicString::add):
(UCharBuffer):
(WTF::UCharBufferTranslator::hash):
(UCharBufferTranslator):
(WTF::UCharBufferTranslator::equal):
(WTF::UCharBufferTranslator::translate):
(HashAndCharacters):
(WTF::HashAndCharactersTranslator::hash):
(HashAndCharactersTranslator):
(WTF::HashAndCharactersTranslator::equal):
(WTF::HashAndCharactersTranslator::translate):
(HashAndUTF8Characters):
(WTF::HashAndUTF8CharactersTranslator::hash):
(HashAndUTF8CharactersTranslator):
(WTF::HashAndUTF8CharactersTranslator::equal):
(WTF::HashAndUTF8CharactersTranslator::translate):
(SubstringLocation):
(WTF::SubstringTranslator::hash):
(SubstringTranslator):
(WTF::SubstringTranslator::equal):
(WTF::SubstringTranslator::translate):
(WTF::AtomicString::addSlowCase):
(WTF::AtomicString::find):
(WTF::AtomicString::remove):
(WTF::AtomicString::lower):
(WTF::AtomicString::fromUTF8Internal):
(WTF::AtomicString::show):
* wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
(WTF):
(AtomicString):
(WTF::AtomicString::AtomicString):
(WTF::AtomicString::isHashTableDeletedValue):
(WTF::AtomicString::operator const String&):
(WTF::AtomicString::string):
(WTF::AtomicString::impl):
(WTF::AtomicString::characters):
(WTF::AtomicString::length):
(WTF::AtomicString::operator[]):
(WTF::AtomicString::contains):
(WTF::AtomicString::find):
(WTF::AtomicString::startsWith):
(WTF::AtomicString::endsWith):
(WTF::AtomicString::upper):
(WTF::AtomicString::toInt):
(WTF::AtomicString::toDouble):
(WTF::AtomicString::toFloat):
(WTF::AtomicString::percentage):
(WTF::AtomicString::isNull):
(WTF::AtomicString::isEmpty):
(WTF::AtomicString::createCFString):
(WTF::AtomicString::operator NSString*):
(WTF::AtomicString::operator QString):
(WTF::AtomicString::add):
(WTF::operator==):
(WTF::operator!=):
(WTF::equalIgnoringCase):
(WTF::AtomicString::fromUTF8):
* wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
(WTF):
(WTF::AtomicStringHash::hash):
(AtomicStringHash):
(WTF::AtomicStringHash::equal):
* wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
(WTF):
(AtomicStringImpl):
(WTF::AtomicStringImpl::AtomicStringImpl):
* wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
(WTF):
(WTF::CString::CString):
(WTF::CString::init):
(WTF::CString::mutableData):
(WTF::CString::newUninitialized):
(WTF::CString::copyBufferIfNeeded):
(WTF::operator==):
* wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
(WTF):
(CStringBuffer):
(WTF::CStringBuffer::data):
(WTF::CStringBuffer::length):
(WTF::CStringBuffer::create):
(WTF::CStringBuffer::CStringBuffer):
(WTF::CStringBuffer::mutableData):
(CString):
(WTF::CString::CString):
(WTF::CString::data):
(WTF::CString::length):
(WTF::CString::isNull):
(WTF::CString::buffer):
(WTF::operator!=):
* wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
(WTF):
(StringBuffer):
(WTF::StringBuffer::StringBuffer):
(WTF::StringBuffer::~StringBuffer):
(WTF::StringBuffer::shrink):
(WTF::StringBuffer::resize):
(WTF::StringBuffer::length):
(WTF::StringBuffer::characters):
(WTF::StringBuffer::operator[]):
(WTF::StringBuffer::release):
* wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
(WTF):
(WTF::StringBuilder::reifyString):
(WTF::StringBuilder::resize):
(WTF::StringBuilder::allocateBuffer):
(WTF::StringBuilder::allocateBufferUpConvert):
(WTF::LChar):
(WTF::UChar):
(WTF::StringBuilder::reserveCapacity):
(WTF::StringBuilder::appendUninitialized):
(WTF::StringBuilder::appendUninitializedSlow):
(WTF::StringBuilder::append):
(WTF::StringBuilder::canShrink):
(WTF::StringBuilder::shrinkToFit):
* wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
(WTF):
(StringBuilder):
(WTF::StringBuilder::StringBuilder):
(WTF::StringBuilder::append):
(WTF::StringBuilder::toString):
(WTF::StringBuilder::toStringPreserveCapacity):
(WTF::StringBuilder::toAtomicString):
(WTF::StringBuilder::length):
(WTF::StringBuilder::isEmpty):
(WTF::StringBuilder::capacity):
(WTF::StringBuilder::operator[]):
(WTF::StringBuilder::characters8):
(WTF::StringBuilder::characters16):
(WTF::StringBuilder::characters):
(WTF::StringBuilder::is8Bit):
(WTF::StringBuilder::clear):
(WTF::StringBuilder::swap):
(WTF::LChar):
(WTF::UChar):
(WTF::equal):
(WTF::operator==):
(WTF::operator!=):
* wtf/text/StringConcatenate.h: Renamed from Source/JavaScriptCore/wtf/text/StringConcatenate.h.
(WTF):
(WTF::sumWithOverflow):
(WTF::tryMakeString):
(WTF::makeString):
* wtf/text/StringHash.h: Renamed from Source/JavaScriptCore/wtf/text/StringHash.h.
(WTF):
(WTF::StringHash::hash):
(WTF::StringHash::equal):
(StringHash):
(CaseFoldingHash):
(WTF::CaseFoldingHash::foldCase):
(WTF::CaseFoldingHash::hash):
(WTF::CaseFoldingHash::equal):
(WTF::AlreadyHashed::hash):
(AlreadyHashed):
(WTF::AlreadyHashed::avoidDeletedValue):
* wtf/text/StringImpl.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.cpp.
(WTF):
(WTF::StringImpl::~StringImpl):
(WTF::StringImpl::createUninitialized):
(WTF::StringImpl::reallocate):
(WTF::StringImpl::create):
(WTF::StringImpl::getData16SlowCase):
(WTF::StringImpl::upconvertCharacters):
(WTF::StringImpl::containsOnlyWhitespace):
(WTF::StringImpl::substring):
(WTF::StringImpl::characterStartingAt):
(WTF::StringImpl::lower):
(WTF::StringImpl::upper):
(WTF::StringImpl::fill):
(WTF::StringImpl::foldCase):
(WTF::StringImpl::stripMatchedCharacters):
(UCharPredicate):
(WTF::UCharPredicate::UCharPredicate):
(WTF::UCharPredicate::operator()):
(SpaceOrNewlinePredicate):
(WTF::SpaceOrNewlinePredicate::operator()):
(WTF::StringImpl::stripWhiteSpace):
(WTF::StringImpl::removeCharacters):
(WTF::StringImpl::simplifyMatchedCharactersToSpace):
(WTF::StringImpl::simplifyWhiteSpace):
(WTF::StringImpl::toIntStrict):
(WTF::StringImpl::toUIntStrict):
(WTF::StringImpl::toInt64Strict):
(WTF::StringImpl::toUInt64Strict):
(WTF::StringImpl::toIntPtrStrict):
(WTF::StringImpl::toInt):
(WTF::StringImpl::toUInt):
(WTF::StringImpl::toInt64):
(WTF::StringImpl::toUInt64):
(WTF::StringImpl::toIntPtr):
(WTF::StringImpl::toDouble):
(WTF::StringImpl::toFloat):
(WTF::equalIgnoringCase):
(WTF::StringImpl::find):
(WTF::StringImpl::findIgnoringCase):
(WTF::findInner):
(WTF::StringImpl::reverseFind):
(WTF::reverseFindInner):
(WTF::StringImpl::reverseFindIgnoringCase):
(WTF::StringImpl::endsWith):
(WTF::StringImpl::replace):
(WTF::equal):
(WTF::equalIgnoringNullity):
(WTF::StringImpl::defaultWritingDirection):
(WTF::StringImpl::adopt):
(WTF::StringImpl::createWithTerminatingNullCharacter):
* wtf/text/StringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/StringImpl.h.
(JSC):
(WTF):
(StringImpl):
(WTF::StringImpl::StringImpl):
(WTF::StringImpl::create):
(WTF::StringImpl::create8):
(WTF::StringImpl::tryCreateUninitialized):
(WTF::StringImpl::flagsOffset):
(WTF::StringImpl::flagIs8Bit):
(WTF::StringImpl::dataOffset):
(WTF::StringImpl::adopt):
(WTF::StringImpl::length):
(WTF::StringImpl::is8Bit):
(WTF::StringImpl::characters8):
(WTF::StringImpl::characters16):
(WTF::StringImpl::characters):
(WTF::StringImpl::cost):
(WTF::StringImpl::has16BitShadow):
(WTF::StringImpl::isIdentifier):
(WTF::StringImpl::setIsIdentifier):
(WTF::StringImpl::hasTerminatingNullCharacter):
(WTF::StringImpl::isAtomic):
(WTF::StringImpl::setIsAtomic):
(WTF::StringImpl::setHash):
(WTF::StringImpl::rawHash):
(WTF::StringImpl::hasHash):
(WTF::StringImpl::existingHash):
(WTF::StringImpl::hash):
(WTF::StringImpl::hasOneRef):
(WTF::StringImpl::ref):
(WTF::StringImpl::deref):
(WTF::StringImpl::copyChars):
(WTF::StringImpl::operator[]):
(WTF::StringImpl::find):
(WTF::StringImpl::findIgnoringCase):
(WTF::StringImpl::startsWith):
(WTF::StringImpl::bufferOwnership):
(WTF::StringImpl::isStatic):
(WTF::LChar):
(WTF::UChar):
(WTF::equal):
(WTF::equalIgnoringCase):
(WTF::equalIgnoringNullity):
(WTF::codePointCompare):
(WTF::codePointCompare8):
(WTF::codePointCompare16):
(WTF::codePointCompare8To16):
(WTF::isSpaceOrNewline):
(WTF::StringImpl::isolatedCopy):
* wtf/text/StringOperators.h: Renamed from Source/JavaScriptCore/wtf/text/StringOperators.h.
(WTF):
(StringAppend):
(WTF::StringAppend::StringAppend):
(WTF::StringAppend::operator String):
(WTF::StringAppend::operator AtomicString):
(WTF::StringAppend::is8Bit):
(WTF::StringAppend::writeTo):
(WTF::StringAppend::length):
(WTF::operator+):
* wtf/text/StringStatics.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringStatics.cpp.
(WTF):
(WTF::StringImpl::empty):
(WTF::StringImpl::hashSlowCase):
(WTF::AtomicString::init):
* wtf/text/TextPosition.h: Renamed from Source/JavaScriptCore/wtf/text/TextPosition.h.
(WTF):
(OrdinalNumber):
(WTF::OrdinalNumber::fromZeroBasedInt):
(WTF::OrdinalNumber::fromOneBasedInt):
(WTF::OrdinalNumber::OrdinalNumber):
(WTF::OrdinalNumber::zeroBasedInt):
(WTF::OrdinalNumber::oneBasedInt):
(WTF::OrdinalNumber::operator==):
(WTF::OrdinalNumber::operator!=):
(WTF::OrdinalNumber::first):
(WTF::OrdinalNumber::beforeFirst):
(TextPosition):
(WTF::TextPosition::TextPosition):
(WTF::TextPosition::operator==):
(WTF::TextPosition::operator!=):
(WTF::TextPosition::minimumPosition):
(WTF::TextPosition::belowRangePosition):
* wtf/text/WTFString.cpp: Renamed from Source/JavaScriptCore/wtf/text/WTFString.cpp.
(WTF):
(WTF::String::String):
(WTF::String::append):
(WTF::codePointCompare):
(WTF::String::insert):
(WTF::String::characterStartingAt):
(WTF::String::truncate):
(WTF::String::remove):
(WTF::String::substring):
(WTF::String::substringSharingImpl):
(WTF::String::lower):
(WTF::String::upper):
(WTF::String::stripWhiteSpace):
(WTF::String::simplifyWhiteSpace):
(WTF::String::removeCharacters):
(WTF::String::foldCase):
(WTF::String::percentage):
(WTF::String::charactersWithNullTermination):
(WTF::String::format):
(WTF::String::number):
(WTF::String::toIntStrict):
(WTF::String::toUIntStrict):
(WTF::String::toInt64Strict):
(WTF::String::toUInt64Strict):
(WTF::String::toIntPtrStrict):
(WTF::String::toInt):
(WTF::String::toUInt):
(WTF::String::toInt64):
(WTF::String::toUInt64):
(WTF::String::toIntPtr):
(WTF::String::toDouble):
(WTF::String::toFloat):
(WTF::String::isolatedCopy):
(WTF::String::split):
(WTF::String::ascii):
(WTF::String::latin1):
(WTF::putUTF8Triple):
(WTF::String::utf8):
(WTF::String::fromUTF8):
(WTF::String::fromUTF8WithLatin1Fallback):
(WTF::isCharacterAllowedInBase):
(WTF::toIntegralType):
(WTF::lengthOfCharactersAsInteger):
(WTF::charactersToIntStrict):
(WTF::charactersToUIntStrict):
(WTF::charactersToInt64Strict):
(WTF::charactersToUInt64Strict):
(WTF::charactersToIntPtrStrict):
(WTF::charactersToInt):
(WTF::charactersToUInt):
(WTF::charactersToInt64):
(WTF::charactersToUInt64):
(WTF::charactersToIntPtr):
(WTF::toDoubleType):
(WTF::charactersToDouble):
(WTF::charactersToFloat):
(WTF::charactersToFloatIgnoringJunk):
(WTF::emptyString):
(String::show):
(string):
(asciiDebug):
* wtf/text/WTFString.h: Renamed from Source/JavaScriptCore/wtf/text/WTFString.h.
(WebKit):
(WTF):
(String):
(WTF::String::String):
(WTF::String::~String):
(WTF::String::swap):
(WTF::String::adopt):
(WTF::String::isNull):
(WTF::String::isEmpty):
(WTF::String::impl):
(WTF::String::length):
(WTF::String::characters):
(WTF::String::characters8):
(WTF::String::characters16):
(WTF::String::is8Bit):
(WTF::String::operator[]):
(WTF::String::find):
(WTF::String::reverseFind):
(WTF::String::findIgnoringCase):
(WTF::String::reverseFindIgnoringCase):
(WTF::String::contains):
(WTF::String::startsWith):
(WTF::String::endsWith):
(WTF::String::append):
(WTF::String::replace):
(WTF::String::makeLower):
(WTF::String::makeUpper):
(WTF::String::fill):
(WTF::String::left):
(WTF::String::right):
(WTF::String::createUninitialized):
(WTF::String::operator NSString*):
(WTF::String::fromUTF8):
(WTF::String::fromUTF8WithLatin1Fallback):
(WTF::String::defaultWritingDirection):
(WTF::String::containsOnlyWhitespace):
(WTF::String::isHashTableDeletedValue):
(WTF::operator+=):
(WTF::operator==):
(WTF::operator!=):
(WTF::equalIgnoringCase):
(WTF::equalPossiblyIgnoringCase):
(WTF::equalIgnoringNullity):
(WTF::operator!):
(WTF::swap):
(WTF::LChar):
(WTF::UChar):
(WTF::String::containsOnlyLatin1):
(WTF::nsStringNilIfEmpty):
(WTF::String::containsOnlyASCII):
(WTF::codePointCompareLessThan):
(WTF::find):
(WTF::reverseFind):
(WTF::append):
(WTF::appendNumber):
(WTF::isAllSpecialCharacters):
(WTF::String::isAllSpecialCharacters):
* wtf/threads/BinarySemaphore.cpp: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.cpp.
(WTF):
(WTF::BinarySemaphore::BinarySemaphore):
(WTF::BinarySemaphore::~BinarySemaphore):
(WTF::BinarySemaphore::signal):
(WTF::BinarySemaphore::wait):
* wtf/threads/BinarySemaphore.h: Renamed from Source/JavaScriptCore/wtf/threads/BinarySemaphore.h.
(WTF):
(BinarySemaphore):
(WTF::BinarySemaphore::event):
* wtf/threads/win/BinarySemaphoreWin.cpp: Renamed from Source/JavaScriptCore/wtf/threads/win/BinarySemaphoreWin.cpp.
(WTF):
(WTF::BinarySemaphore::BinarySemaphore):
(WTF::BinarySemaphore::~BinarySemaphore):
(WTF::BinarySemaphore::signal):
(WTF::BinarySemaphore::wait):
* wtf/unicode/CharacterNames.h: Renamed from Source/JavaScriptCore/wtf/unicode/CharacterNames.h.
(Unicode):
* wtf/unicode/Collator.h: Renamed from Source/JavaScriptCore/wtf/unicode/Collator.h.
(WTF):
(Collator):
* wtf/unicode/CollatorDefault.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/CollatorDefault.cpp.
(WTF):
(WTF::Collator::Collator):
(WTF::Collator::~Collator):
(WTF::Collator::setOrderLowerFirst):
(WTF::Collator::userDefault):
(WTF::Collator::collate):
* wtf/unicode/ScriptCodesFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/ScriptCodesFromICU.h.
* wtf/unicode/UTF8.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.cpp.
(Unicode):
(WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
(WTF::Unicode::inlineUTF8SequenceLength):
(WTF::Unicode::UTF8SequenceLength):
(WTF::Unicode::decodeUTF8Sequence):
(WTF::Unicode::convertLatin1ToUTF8):
(WTF::Unicode::convertUTF16ToUTF8):
(WTF::Unicode::isLegalUTF8):
(WTF::Unicode::readUTF8Sequence):
(WTF::Unicode::convertUTF8ToUTF16):
(WTF::Unicode::calculateStringHashAndLengthFromUTF8):
(WTF::Unicode::equalUTF16WithUTF8):
* wtf/unicode/UTF8.h: Renamed from Source/JavaScriptCore/wtf/unicode/UTF8.h.
(Unicode):
* wtf/unicode/Unicode.h: Renamed from Source/JavaScriptCore/wtf/unicode/Unicode.h.
* wtf/unicode/UnicodeMacrosFromICU.h: Renamed from Source/JavaScriptCore/wtf/unicode/UnicodeMacrosFromICU.h.
* wtf/unicode/glib/UnicodeGLib.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.cpp.
(Unicode):
(WTF::Unicode::foldCase):
(WTF::Unicode::getUTF16LengthFromUTF8):
(WTF::Unicode::convertCase):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::direction):
(WTF::Unicode::umemcasecmp):
* wtf/unicode/glib/UnicodeGLib.h: Renamed from Source/JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h.
(Unicode):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::isArabicChar):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::isFormatChar):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isDigit):
(WTF::Unicode::isPunct):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::category):
(WTF::Unicode::isLower):
(WTF::Unicode::digitValue):
(WTF::Unicode::combiningClass):
(WTF::Unicode::decompositionType):
* wtf/unicode/icu/CollatorICU.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp.
(WTF):
(WTF::cachedCollatorMutex):
(WTF::Collator::Collator):
(WTF::Collator::userDefault):
(WTF::Collator::~Collator):
(WTF::Collator::setOrderLowerFirst):
(WTF::Collator::collate):
(WTF::Collator::createCollator):
(WTF::Collator::releaseCollator):
* wtf/unicode/icu/UnicodeIcu.h: Renamed from Source/JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h.
(Unicode):
(WTF::Unicode::foldCase):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::isArabicChar):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isPunct):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::category):
(WTF::Unicode::direction):
(WTF::Unicode::isLower):
(WTF::Unicode::combiningClass):
(WTF::Unicode::decompositionType):
(WTF::Unicode::umemcasecmp):
* wtf/unicode/qt4/UnicodeQt4.h: Renamed from Source/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h.
(Properties):
(QUnicodeTables):
(Unicode):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::foldCase):
(WTF::Unicode::isArabicChar):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::isPunct):
(WTF::Unicode::isLower):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::combiningClass):
(WTF::Unicode::decompositionType):
(WTF::Unicode::umemcasecmp):
(WTF::Unicode::direction):
(WTF::Unicode::category):
* wtf/unicode/wince/UnicodeWinCE.cpp: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.cpp.
(Unicode):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::foldCase):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isSpace):
(WTF::Unicode::isLetter):
(WTF::Unicode::isUpper):
(WTF::Unicode::isLower):
(WTF::Unicode::isDigit):
(WTF::Unicode::isPunct):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::direction):
(WTF::Unicode::category):
(WTF::Unicode::decompositionType):
(WTF::Unicode::combiningClass):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::digitValue):
* wtf/unicode/wince/UnicodeWinCE.h: Renamed from Source/JavaScriptCore/wtf/unicode/wince/UnicodeWinCE.h.
(Unicode):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::isHighSurrogate):
(WTF::Unicode::isLowSurrogate):
(WTF::Unicode::isArabicChar):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::umemcasecmp):
(WTF::Unicode::surrogateToUcs4):
* wtf/url/api/ParsedURL.cpp: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.cpp.
(WTF):
(WTF::ParsedURL::ParsedURL):
(WTF::ParsedURL::isolatedCopy):
(WTF::ParsedURL::scheme):
(WTF::ParsedURL::username):
(WTF::ParsedURL::password):
(WTF::ParsedURL::host):
(WTF::ParsedURL::port):
(WTF::ParsedURL::path):
(WTF::ParsedURL::query):
(WTF::ParsedURL::fragment):
(WTF::ParsedURL::baseAsString):
(WTF::ParsedURL::segment):
* wtf/url/api/ParsedURL.h: Renamed from Source/JavaScriptCore/wtf/url/api/ParsedURL.h.
(WTF):
(ParsedURL):
(WTF::ParsedURL::ParsedURL):
(WTF::ParsedURL::isValid):
(WTF::ParsedURL::spec):
* wtf/url/api/URLString.h: Renamed from Source/JavaScriptCore/wtf/url/api/URLString.h.
(WTF):
(URLString):
(WTF::URLString::URLString):
(WTF::URLString::string):
* wtf/url/src/RawURLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/RawURLBuffer.h.
(WTF):
(RawURLBuffer):
(WTF::RawURLBuffer::RawURLBuffer):
(WTF::RawURLBuffer::~RawURLBuffer):
(WTF::RawURLBuffer::resize):
* wtf/url/src/URLBuffer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLBuffer.h.
(WTF):
(URLBuffer):
(WTF::URLBuffer::URLBuffer):
(WTF::URLBuffer::~URLBuffer):
(WTF::URLBuffer::at):
(WTF::URLBuffer::set):
(WTF::URLBuffer::capacity):
(WTF::URLBuffer::length):
(WTF::URLBuffer::data):
(WTF::URLBuffer::setLength):
(WTF::URLBuffer::append):
(WTF::URLBuffer::grow):
* wtf/url/src/URLCharacterTypes.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.cpp.
(WTF):
* wtf/url/src/URLCharacterTypes.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLCharacterTypes.h.
(WTF):
(URLCharacterTypes):
(WTF::URLCharacterTypes::isQueryChar):
(WTF::URLCharacterTypes::isIPv4Char):
(WTF::URLCharacterTypes::isHexChar):
(WTF::URLCharacterTypes::isCharOfType):
* wtf/url/src/URLComponent.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLComponent.h.
(WTF):
(URLComponent):
(WTF::URLComponent::URLComponent):
(WTF::URLComponent::fromRange):
(WTF::URLComponent::isValid):
(WTF::URLComponent::isNonEmpty):
(WTF::URLComponent::isEmptyOrInvalid):
(WTF::URLComponent::reset):
(WTF::URLComponent::operator==):
(WTF::URLComponent::begin):
(WTF::URLComponent::setBegin):
(WTF::URLComponent::length):
(WTF::URLComponent::setLength):
(WTF::URLComponent::end):
* wtf/url/src/URLEscape.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.cpp.
(WTF):
* wtf/url/src/URLEscape.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLEscape.h.
(WTF):
(WTF::appendURLEscapedCharacter):
* wtf/url/src/URLParser.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLParser.h.
(WTF):
(URLParser):
(WTF::URLParser::isPossibleAuthorityTerminator):
(WTF::URLParser::parseAuthority):
(WTF::URLParser::extractScheme):
(WTF::URLParser::parseAfterScheme):
(WTF::URLParser::parseStandardURL):
(WTF::URLParser::parsePath):
(WTF::URLParser::parsePathURL):
(WTF::URLParser::parseMailtoURL):
(WTF::URLParser::parsePort):
(WTF::URLParser::extractFileName):
(WTF::URLParser::extractQueryKeyValue):
(WTF::URLParser::isURLSlash):
(WTF::URLParser::shouldTrimFromURL):
(WTF::URLParser::trimURL):
(WTF::URLParser::consecutiveSlashes):
(WTF::URLParser::isPortDigit):
(WTF::URLParser::nextAuthorityTerminator):
(WTF::URLParser::parseUserInfo):
(WTF::URLParser::parseServerInfo):
* wtf/url/src/URLQueryCanonicalizer.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLQueryCanonicalizer.h.
(WTF):
(URLQueryCanonicalizer):
(WTF::URLQueryCanonicalizer::canonicalize):
(WTF::URLQueryCanonicalizer::isAllASCII):
(WTF::URLQueryCanonicalizer::isRaw8Bit):
(WTF::URLQueryCanonicalizer::appendRaw8BitQueryString):
(WTF::URLQueryCanonicalizer::convertToQueryEncoding):
* wtf/url/src/URLSegments.cpp: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.cpp.
(WTF):
(WTF::URLSegments::length):
(WTF::URLSegments::charactersBefore):
* wtf/url/src/URLSegments.h: Renamed from Source/JavaScriptCore/wtf/url/src/URLSegments.h.
(WTF):
(URLSegments):
(WTF::URLSegments::URLSegments):
* wtf/win/MainThreadWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/MainThreadWin.cpp.
(WTF):
(WTF::ThreadingWindowWndProc):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/win/OwnPtrWin.cpp: Renamed from Source/JavaScriptCore/wtf/win/OwnPtrWin.cpp.
(WTF):
(WTF::deleteOwnedPtr):
* wtf/wince/FastMallocWinCE.h: Renamed from Source/JavaScriptCore/wtf/wince/FastMallocWinCE.h.
(operator new):
(operator delete):
(operator new[]):
(operator delete[]):
(throw):
(WTF):
(Internal):
(WTF::Internal::fastMallocMatchValidationType):
(WTF::Internal::fastMallocMatchValidationValue):
(WTF::Internal::setFastMallocMatchValidationType):
(WTF::fastMallocMatchValidateMalloc):
(WTF::fastMallocMatchValidateFree):
* wtf/wince/MemoryManager.cpp: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.cpp.
(WTF):
(WTF::memoryManager):
(WTF::MemoryManager::MemoryManager):
(WTF::MemoryManager::~MemoryManager):
(WTF::MemoryManager::createCompatibleBitmap):
(WTF::MemoryManager::createDIBSection):
(WTF::MemoryManager::m_malloc):
(WTF::MemoryManager::m_calloc):
(WTF::MemoryManager::m_realloc):
(WTF::MemoryManager::m_free):
(WTF::MemoryManager::resizeMemory):
(WTF::MemoryManager::allocate64kBlock):
(WTF::MemoryManager::free64kBlock):
(WTF::MemoryManager::onIdle):
(WTF::MemoryManager::virtualAlloc):
(WTF::MemoryManager::virtualFree):
(WTF::fastMalloc):
(WTF::fastCalloc):
(WTF::fastFree):
(WTF::fastRealloc):
(WTF::fastMallocForbid):
(WTF::fastMallocAllow):
(WTF::fastZeroedMalloc):
(WTF::tryFastMalloc):
(WTF::tryFastZeroedMalloc):
(WTF::tryFastCalloc):
(WTF::tryFastRealloc):
(WTF::fastStrDup):
* wtf/wince/MemoryManager.h: Renamed from Source/JavaScriptCore/wtf/wince/MemoryManager.h.
(WTF):
(MemoryManager):
(WTF::MemoryManager::allocationCanFail):
(WTF::MemoryManager::setAllocationCanFail):
(MemoryAllocationCanFail):
(WTF::MemoryAllocationCanFail::MemoryAllocationCanFail):
(WTF::MemoryAllocationCanFail::~MemoryAllocationCanFail):
(MemoryAllocationCannotFail):
(WTF::MemoryAllocationCannotFail::MemoryAllocationCannotFail):
(WTF::MemoryAllocationCannotFail::~MemoryAllocationCannotFail):
* wtf/wx/MainThreadWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/MainThreadWx.cpp.
(wxCallAfter):
(wxCallAfter::wxCallAfter):
(wxCallAfter::OnCallback):
(WTF):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/wx/StringWx.cpp: Renamed from Source/JavaScriptCore/wtf/wx/StringWx.cpp.
(WTF):
(WTF::String::String):
(WTF::String::operator wxString):

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

9 years ago[chromium] LayerRendererChromium should use GpuMemoryAllocationChanged callback to...
commit-queue@webkit.org [Thu, 22 Mar 2012 22:43:19 +0000 (22:43 +0000)]
[chromium] LayerRendererChromium should use GpuMemoryAllocationChanged callback to explicitly manage framebuffer.
https://bugs.webkit.org/show_bug.cgi?id=81823

Patch by Michal Mocny <mmocny@google.com> on 2012-03-22
Reviewed by Adrienne Walker.

Source/WebCore:

New UnitTests: LayerRendererChromiumTest

* platform/graphics/chromium/LayerRendererChromium.cpp:
(LayerRendererGpuMemoryAllocationChangedCallbackAdapter):
(WebCore::LayerRendererGpuMemoryAllocationChangedCallbackAdapter::create):
(WebCore::LayerRendererGpuMemoryAllocationChangedCallbackAdapter::~LayerRendererGpuMemoryAllocationChangedCallbackAdapter):
(WebCore::LayerRendererGpuMemoryAllocationChangedCallbackAdapter::onGpuMemoryAllocationChanged):
(WebCore::LayerRendererGpuMemoryAllocationChangedCallbackAdapter::LayerRendererGpuMemoryAllocationChangedCallbackAdapter):
(WebCore):
(WebCore::LayerRendererChromium::LayerRendererChromium):
(WebCore::LayerRendererChromium::initialize):
(WebCore::LayerRendererChromium::~LayerRendererChromium):
(WebCore::LayerRendererChromium::setVisible):
(WebCore::LayerRendererChromium::swapBuffers):
(WebCore::LayerRendererChromium::discardFramebuffer):
(WebCore::LayerRendererChromium::ensureFramebuffer):
* platform/graphics/chromium/LayerRendererChromium.h:
(WebCore):
(LayerRendererChromiumClient):
(LayerRendererChromium):
(WebCore::LayerRendererChromium::isFramebufferDiscarded):
(ScopedEnsureFramebufferAllocation):
(WebCore::ScopedEnsureFramebufferAllocation::ScopedEnsureFramebufferAllocation):
(WebCore::ScopedEnsureFramebufferAllocation::~ScopedEnsureFramebufferAllocation):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::LayerRendererCapabilities::LayerRendererCapabilities):
(LayerRendererCapabilities):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::setVisible):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
* platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::compositeAndReadback):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::compositeAndReadback):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/LayerRendererChromiumTest.cpp: Added.
(FrameCountingMemoryAllocationSettingContext):
(FrameCountingMemoryAllocationSettingContext::FrameCountingMemoryAllocationSettingContext):
(FrameCountingMemoryAllocationSettingContext::prepareTexture):
(FrameCountingMemoryAllocationSettingContext::setMemoryAllocationChangedCallbackCHROMIUM):
(FrameCountingMemoryAllocationSettingContext::getString):
(FrameCountingMemoryAllocationSettingContext::frameCount):
(FrameCountingMemoryAllocationSettingContext::setMemoryAllocation):
(FakeLayerRendererChromiumClient):
(FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
(FakeLayerRendererChromiumClient::viewportSize):
(FakeLayerRendererChromiumClient::settings):
(FakeLayerRendererChromiumClient::rootLayer):
(FakeLayerRendererChromiumClient::didLoseContext):
(FakeLayerRendererChromiumClient::onSwapBuffersComplete):
(FakeLayerRendererChromiumClient::setFullRootLayerDamage):
(FakeLayerRendererChromiumClient::setFullRootLayerDamageCount):
(FakeLayerRendererChromium):
(FakeLayerRendererChromium::FakeLayerRendererChromium):
(LayerRendererChromiumTest):
(LayerRendererChromiumTest::LayerRendererChromiumTest):
(LayerRendererChromiumTest::SetUp):
(LayerRendererChromiumTest::swapBuffers):
(TEST_F):

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

9 years agoUnreviewed rebaseline for chromium leopard.
eae@chromium.org [Thu, 22 Mar 2012 22:43:16 +0000 (22:43 +0000)]
Unreviewed rebaseline for chromium leopard.

* platform/chromium-mac-leopard/css3/selectors3/html/css3-modsel-2-expected.png: Added.
* platform/chromium-mac-leopard/css3/selectors3/html/css3-modsel-6-expected.png: Added.

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

9 years agoContainerNode::insertedIntoTree and removedFromTree use weak iteration patterns
abarth@webkit.org [Thu, 22 Mar 2012 22:39:39 +0000 (22:39 +0000)]
ContainerNode::insertedIntoTree and removedFromTree use weak iteration patterns
https://bugs.webkit.org/show_bug.cgi?id=80570

Reviewed by Ryosuke Niwa.

These functions use weak iteration patterns, but as far as I can tell,
we never execute script below these functions.  This patch adds ASSERTs
to help us avoid adding events in the future.

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::insertedIntoTree):
(WebCore::ContainerNode::removedFromTree):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::loadInternal):
    - There's a somewhat complex call chain from insertedIntoTree into
      HTMLMediaElement, and somewhat complex control flow below
      loadInternal that eventually leads to the BeforeLoad event being
      fired.  In studying this code, I don't see a way for the
      BeforeLoad event to be fired during insertedIntoTree, but I've
      added this assert here to make sure we don't call loadInternal
      when we're not supposed to dispatch events.  This ASSERT should
      help us catch these BeforeLoad errors more quickly.

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

9 years ago[BlackBerry] DeviceDPI Scaling is broken on mobile.
commit-queue@webkit.org [Thu, 22 Mar 2012 22:32:54 +0000 (22:32 +0000)]
[BlackBerry] DeviceDPI Scaling is broken on mobile.
https://bugs.webkit.org/show_bug.cgi?id=81966

Fix our viewport argument handling to only override the
targetDensityDpi on tablet devices. Allow WebCore to use
dpi scaling for smaller screen mobile devices.

Patch by Mike Lattanzio <mlattanzio@rim.com> on 2012-03-22
Reviewed by Rob Buis.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments):

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

9 years agoFont fallback in WebKitTestRunner depends on user settings
mitz@apple.com [Thu, 22 Mar 2012 22:30:52 +0000 (22:30 +0000)]
Font fallback in WebKitTestRunner depends on user settings
https://bugs.webkit.org/show_bug.cgi?id=81978

Reviewed by Jessie Berlin.

* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize): Added an AppleLanguages key
with a value consisting of the array ("en") to the override defaults
dictionary. This is the same value used in DumpRenderTree, and it
ensures that font fallback follows a consistent path that is not
affected by the language preferences of the user running the test.

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

9 years ago[BlackBerry] Add pattern matching for hexadecimal type input fields
mifenton@rim.com [Thu, 22 Mar 2012 22:12:23 +0000 (22:12 +0000)]
[BlackBerry] Add pattern matching for hexadecimal type input fields
https://bugs.webkit.org/show_bug.cgi?id=81944

Reviewed by Rob Buis.

PR 98504.

Add mapping of patterns matching hexadecimal input
to a specialized type and provide input styling based
on that format.

Reviewed Internally by Gen Mak.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::elementPatternIndicatesHexadecimal):
(DOMSupport):
* WebKitSupport/DOMSupport.h:
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):
(BlackBerry::WebKit::inputStyle):

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

9 years agocheck-for-inappropriate-objc-class-names should ignore the class defined by libarclite.
aestes@apple.com [Thu, 22 Mar 2012 22:05:04 +0000 (22:05 +0000)]
check-for-inappropriate-objc-class-names should ignore the class defined by libarclite.
https://bugs.webkit.org/show_bug.cgi?id=81971

Reviewed by Dan Bernstein.

Xcode will automatically link ObjC binaries against libarclite in some
cases, which defines a class called __ARCLite__.
check-for-inappropriate-objc-class-names shouldn't complain about this
class name.

* Scripts/check-for-inappropriate-objc-class-names:

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

9 years agoCrash in fast/dom/navigator-detached-nocrash.html
kubo@profusion.mobi [Thu, 22 Mar 2012 22:03:20 +0000 (22:03 +0000)]
Crash in fast/dom/navigator-detached-nocrash.html
https://bugs.webkit.org/show_bug.cgi?id=81773

Reviewed by Adam Barth.

BatteryManager::create() blindly assumes the Navigator* it
receives has a valid Frame, which is not always the case, as made
evident by the crashing test.

Follow abarth's suggestion and just stop
NavigatorBattery::webkitBattery() before it reaches the call to
BatteryManager::create() if that's the case.

No new tests, covered by fast/dom/navigator-detached-nocrash.html.

* Modules/battery/NavigatorBattery.cpp:
(WebCore::NavigatorBattery::webkitBattery):

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

9 years agoOLD_COMPILE_FLAGS was set incorrectly in WebKitHelpers.cmake
commit-queue@webkit.org [Thu, 22 Mar 2012 22:01:39 +0000 (22:01 +0000)]
OLD_COMPILE_FLAGS was set incorrectly in WebKitHelpers.cmake
https://bugs.webkit.org/show_bug.cgi?id=81961

Patch by Ming Xie <mxie@rim.com> on 2012-03-22
Reviewed by Rob Buis.

This fixes the regression introduced by r109292

* Source/cmake/WebKitHelpers.cmake:

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

9 years agoUnreviewed, add missing include statement for CSSValueList.h.
eae@chromium.org [Thu, 22 Mar 2012 21:53:05 +0000 (21:53 +0000)]
Unreviewed, add missing include statement for CSSValueList.h.

* css/CSSStyleSelector.h:

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

9 years agoflexbox flexing implementation should match the spec
tony@chromium.org [Thu, 22 Mar 2012 21:45:58 +0000 (21:45 +0000)]
flexbox flexing implementation should match the spec
https://bugs.webkit.org/show_bug.cgi?id=70796

Reviewed by Ojan Vafai.

Source/WebCore:

Match the algorithm in the spec. Handling min/max constraints are slightly improved.
http://dev.w3.org/csswg/css3-flexbox/#resolve-the-flexible-lengths

New test cases in css3/flexbox/flex-algorithm-min-max.html.

* rendering/RenderFlexibleBox.cpp:
(WebCore::adjustFlexSizeForMinAndMax): Step 5 of resolving flexible lengths.
(WebCore):
(WebCore::RenderFlexibleBox::Violation::Violation):
(RenderFlexibleBox::Violation):
(WebCore::RenderFlexibleBox::freezeViolations): Used by step 6.
(WebCore::RenderFlexibleBox::resolveFlexibleLengths):
* rendering/RenderFlexibleBox.h:

LayoutTests:

* css3/flexbox/flex-algorithm-min-max-expected.txt:
* css3/flexbox/flex-algorithm-min-max.html:

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

9 years agoMake reference result added in r111755 compatible with Qt and GTK ports.
robert@webkit.org [Thu, 22 Mar 2012 21:27:33 +0000 (21:27 +0000)]
Make reference result added in r111755 compatible with Qt and GTK ports.

Unreviewed.

* fast/css/heightless-list-item-expected.html:

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

9 years agonew-run-webkit-tests blames the wrong test for crashing
dpranke@chromium.org [Thu, 22 Mar 2012 21:24:28 +0000 (21:24 +0000)]
new-run-webkit-tests blames the wrong test for crashing
https://bugs.webkit.org/show_bug.cgi?id=81951

Reviewed by Adam Barth.

NRWT wasn't extracting the WebProcess pid correct; should've
used re.search instead of re.match :(. Add more tests!

* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort._get_crash_log):
* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver.has_crashed):
(WebKitDriver._check_for_driver_crash):
* Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitDriverTest.test_no_timeout):
(WebKitDriverTest):
(WebKitDriverTest.test_check_for_driver_crash):
(WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess):
(WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.__init__):
(WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.pid):
(WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.name):
(WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.has_crashed):
(WebKitDriverTest.test_check_for_driver_crash.assert_crash):

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

9 years agoUnreviewed, add missing import.
eae@chromium.org [Thu, 22 Mar 2012 21:19:08 +0000 (21:19 +0000)]
Unreviewed, add missing import.

* rendering/RenderThemeMac.mm:

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

9 years agoASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
andersca@apple.com [Thu, 22 Mar 2012 21:14:49 +0000 (21:14 +0000)]
ASSERT(!needsLayout) in RenderView.cpp when visiting panic.com/blog/
https://bugs.webkit.org/show_bug.cgi?id=81953
<rdar://problem/11086998>

Reviewed by Sam Weinig.

Source/WebCore:

If a page ends up creating CATiledLayers, CA transactions can be committed outside of the normal
CA run loop observer, so we can't call setNeedsDisplay on tile cache layers directly because then
we'll end up calling into painting code before all the layers have been flushed.

Fix this by adding a list of dirty rects to platformCALayerDidCreateTiles and change GraphicsLayerCA to
mark them as dirty. This ensures that any CA transaction commits won't cause newly added layers to be painted.

* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::LayerClient::platformCALayerDidCreateTiles):
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::platformCALayerDidCreateTiles):
* platform/graphics/ca/GraphicsLayerCA.h:
(GraphicsLayerCA):
* platform/graphics/ca/PlatformCALayerClient.h:
(PlatformCALayerClient):
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setScale):
(WebCore::TileCache::revalidateTiles):
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::LayerClient::platformCALayerDidCreateTiles):

Source/WebKit/win:

Update for changes to WebCore.

* FullscreenVideoController.cpp:
(FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):

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

9 years agoAdded fast/events/suspend-timers.html to the Mac WebKit2 skipped list, and removed the
mitz@apple.com [Thu, 22 Mar 2012 21:10:52 +0000 (21:10 +0000)]
Added fast/events/suspend-timers.html to the Mac WebKit2 skipped list, and removed the
failing results checked in as expected results. The results vary across runs.

* platform/mac-wk2/Skipped:
* platform/mac-wk2/fast/events: Removed.
* platform/mac-wk2/fast/events/suspend-timers-expected.txt: Removed.

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

9 years ago[BlackBerry] DOMSupport isPositionInNode should have early returns for null nodes
mifenton@rim.com [Thu, 22 Mar 2012 20:58:15 +0000 (20:58 +0000)]
[BlackBerry] DOMSupport isPositionInNode should have early returns for null nodes
https://bugs.webkit.org/show_bug.cgi?id=81929

Reviewed by Rob Buis.

Make suggested style clean up and move int offset = 0 directly
above is actual usage.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isPositionInNode):

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

9 years ago[EFL] [DRT] Implement LayoutTestController::markerTextForListItem()
commit-queue@webkit.org [Thu, 22 Mar 2012 20:51:48 +0000 (20:51 +0000)]
[EFL] [DRT] Implement LayoutTestController::markerTextForListItem()
https://bugs.webkit.org/show_bug.cgi?id=81512

Source/WebKit/efl:

Add missing implementation markerTextForListItem to EFL's
DumpRenderTreeSupport.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Antonio Gomes.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::markerTextForListItem):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

Adding missing implementation markerTextForListItem to EFL's
LayoutTestController so that we can unskip related tests from
the skip list.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Antonio Gomes.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::markerTextForListItem): Implemented.

LayoutTests:

Unskip tests connected with markerTextForListItem().

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Antonio Gomes.

* platform/efl/Skipped:

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

9 years agoText should overflow when list item height set to 0
robert@webkit.org [Thu, 22 Mar 2012 20:49:24 +0000 (20:49 +0000)]
Text should overflow when list item height set to 0
https://bugs.webkit.org/show_bug.cgi?id=78726

Reviewed by Julien Chaffraix.

Source/WebCore:

Tests: css2.1/20110323/height-applies-to-010a-expected.html
       fast/css/heightless-list-item-expected.html
       fast/css/heightless-list-item.html

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::paint):
   If the list item has height:0, only paint it if the list item allows any block or inline content
   to overflow unclipped. The zero-height check is a shortcut to avoid unnecessary painting and
   this seems to be the only case where there's something to do.

LayoutTests:

* css2.1/20110323/height-applies-to-010a-expected.html: Added.
* css2.1/20110323/height-applies-to-010a.htm: Added.
* fast/css/heightless-list-item-expected.html: Added.
* fast/css/heightless-list-item.html: Added.

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

9 years agoHTMLPluginElement is not destroyed on reload or navigation if getNPObject is called
commit-queue@webkit.org [Thu, 22 Mar 2012 20:45:36 +0000 (20:45 +0000)]
HTMLPluginElement is not destroyed on reload or navigation if getNPObject is called
https://bugs.webkit.org/show_bug.cgi?id=80428

Patch by Dave Michael <dmichael@chromium.org> on 2012-03-22
Reviewed by Eric Seidel.

.:

Test: plugins/netscape-dom-access-and-reload.html

* Source/autotools/symbols.filter: Export a symbol for InspectorCounters::counterValue.

Source/WebCore:

Make HTMLPluginElement release its m_NPObject in detach() to break a
reference-counting cycle that happens on reload or navigation. With this
change, HTMLPlugInElement::removedFromDocument is unnecessary, so it
was removed. Note that Releasing m_NPObject does not result in a call to
the plugin; it simply releases a reference count on the wrapper object
for this HTMLPlugInElement. (The plugin's NPP_Deallocate is invoked
when the render tree is destroyed, when PluginView calls
PluginPackage::unload.) Thus, it is safe to release m_NPObject in
detach, because it can not result in layout or style changes.

Also added numberOfLiveNodes() and numberOfLiveDocuments() to
window.internals to enable testing.

Test: plugins/netscape-dom-access-and-reload.html

* WebCore.exp.in:
* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::detach):
* html/HTMLPlugInElement.h:
(HTMLPlugInElement):
* testing/Internals.cpp:
(WebCore::Internals::numberOfLiveDocuments):
(WebCore::Internals::numberOfLiveNodes):
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

Source/WebKit2:

Test: plugins/netscape-dom-access-and-reload.html

* win/WebKit2.def: Export a symbol for InspectorCounters::counterValue
* win/WebKit2CFLite.def: Export a symbol for InspectorCounters::counterValue

LayoutTests:

* plugins/netscape-dom-access-and-reload-expected.txt: Added.
* plugins/netscape-dom-access-and-reload.html: Added.

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

9 years ago[EFL] Enable view mode media feature layout tests
commit-queue@webkit.org [Thu, 22 Mar 2012 20:43:12 +0000 (20:43 +0000)]
[EFL] Enable view mode media feature layout tests
https://bugs.webkit.org/show_bug.cgi?id=81205

Tools:

Adding missing implementation setViewModeMediaFeature to EFL's
LayoutTestController so that we can unskip view mode
media feature layout tests.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Antonio Gomes.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setViewModeMediaFeature): Implemented.

LayoutTests:

Unskip tests connected with setViewModeMediaFeature.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Antonio Gomes.

* platform/efl/Skipped:

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

9 years ago[chromium] Make CCDamageTracker robust to empty layer lists
shawnsingh@chromium.org [Thu, 22 Mar 2012 20:42:38 +0000 (20:42 +0000)]
[chromium] Make CCDamageTracker robust to empty layer lists
https://bugs.webkit.org/show_bug.cgi?id=81831

Reviewed by Adrienne Walker.

Source/WebCore:

Added a unit test in CCDamageTrackerTest that causes a crash in
the old code. With this patch applied, the crash will not occur.
In theory, that crash should never occur anyway, unless there is a
bug outside the damage tracker, but for robustness it's
appropriate to handle it properly.

In addition to this fix, performed some trivial maintenance on the
damage tracker code.

* platform/graphics/chromium/cc/CCDamageTracker.cpp:
(WebCore::CCDamageTracker::updateDamageTrackingState): removed
unclean code that accessed the targetSurface to get necessary
information. Instead, we now pass those args through the damage
tracker's API.

* platform/graphics/chromium/cc/CCDamageTracker.h:
(CCDamageTracker): modified args passed to damage tracker on update.

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::trackDamageForAllSurfaces):
modified args passed to damage tracker on update.

Source/WebKit/chromium:

* tests/CCDamageTrackerTest.cpp:
(WebKitTests::emulateDrawingOneFrame): modified args passed to damage tracker on update.

(WebKitTests::TEST_F): Added another unit test.
(WebKitTests):

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

9 years agoEnable style sharing for elements with a style attribute
jchaffraix@webkit.org [Thu, 22 Mar 2012 20:36:34 +0000 (20:36 +0000)]
Enable style sharing for elements with a style attribute
https://bugs.webkit.org/show_bug.cgi?id=81523

Reviewed by Antti Koivisto.

Memory improvement change only.

Overall, this is a performance wash (some benchmarks may regress a bit due to the increase in time taken
by CSSStyleSelector::locateSharedStyle as we try more nodes, others increase their performance due to style sharing).

Instrumenting our style sharing, this should give us some nice memory shavings on some benchmarks:
- HTML5 isn't impacted as it doesn't use much inline style
- page cyclers' intl1 showed a 6% increase in style sharing.

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::canShareStyleWithElement):
This method now handles inline style like presentation attributes on the element.

(WebCore::CSSStyleSelector::collectMatchingRulesForList):
(WebCore::CSSStyleSelector::locateSharedStyle):
Don't bail out for an element with an inline style declaration.

(WebCore::CSSStyleSelector::stylesEqual):
Generalized attributeStylesEqual to share the logic between attribute and
inline style property set. This means that attribute checks are actually
doing a little extra more work but that didn't impact our benchmarks.

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

9 years agonrwt: crash while stopping layout test helper on apple mac lion
dpranke@chromium.org [Thu, 22 Mar 2012 20:29:22 +0000 (20:29 +0000)]
nrwt: crash while stopping layout test helper on apple mac lion
https://bugs.webkit.org/show_bug.cgi?id=81949

Reviewed by Eric Seidel.

stop_helper() didn't work right if the helper process wasn't
still running or didn't respond properly to being shut down. Fix
this and add some tests. Also add code to MockExecutive() to be
able to mock executive.popen() properly.

* Scripts/webkitpy/common/system/executive_mock.py:
(MockProcess.__init__):
(MockProcess.wait):
(MockExecutive.__init__):
(MockExecutive.popen):
* Scripts/webkitpy/common/system/systemhost_mock.py:
(MockSystemHost.__init__):
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.start_helper):
(MacPort.stop_helper):
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_get_crash_log):
(test_helper_starts):
(test_helper_fails_to_start):
(test_helper_fails_to_stop):
(test_helper_fails_to_stop.bad_waiter):

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

9 years ago[GTK] Add make to the jhbuild moduleset
kov@webkit.org [Thu, 22 Mar 2012 20:23:01 +0000 (20:23 +0000)]
[GTK] Add make to the jhbuild moduleset
https://bugs.webkit.org/show_bug.cgi?id=81769

Reviewed by Martin Robinson.

Mostly based on a patch by Carlos Garcia Campos <cgarcia@igalia.com>.
Add GNU make with custom patches to fix several issues:

- make-3.82-arg-list-length.patch: Patch by Ralf Wildenhues to
  fix the argument list limit of GNU make when running make
  distcheck.
- make-3.82-parallel-build.patch: Patch by Kamil Mierzejewski
  and Jeremy Devenport to fix parallel build issues present in
  GNU make 3.82

* gtk/jhbuild.modules: Added make with patches.
* gtk/patches/make-3.82-arg-list-length.patch: Added.
* gtk/patches/make-3.82-parallel-build.patch: Added.

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

9 years agoAdded all tests that failed on the Lion WebKit2 Debug bot in r111739 to the Mac WebKit2
mitz@apple.com [Thu, 22 Mar 2012 20:03:05 +0000 (20:03 +0000)]
Added all tests that failed on the Lion WebKit2 Debug bot in r111739 to the Mac WebKit2
skip list (except those already on the list because they failed on the WebKit2 Releast bot).
Removed fast/events/suspend-timers.html from the list since its failure was addressed in a
later revision.

Rubber-stamped by Geoff Garen.

* platform/mac-wk2/Skipped:

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

9 years agoAdded all tests that failed on the Lion WebKit2 Release bot in r111739 to the Mac...
mitz@apple.com [Thu, 22 Mar 2012 19:57:46 +0000 (19:57 +0000)]
Added all tests that failed on the Lion WebKit2 Release bot in r111739 to the Mac WebKit2
skip list.

Rubber-stamped by Geoff Garen.

* platform/mac-wk2/Skipped:

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

9 years ago[wx] Unreviewed. Adding Source/WTF to the build and updating waf port list.
kevino@webkit.org [Thu, 22 Mar 2012 19:43:29 +0000 (19:43 +0000)]
[wx] Unreviewed. Adding Source/WTF to the build and updating waf port list.

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

9 years ago[wx] Unreviewed. WebDOM build fix after array type changes.
kevino@webkit.org [Thu, 22 Mar 2012 19:37:22 +0000 (19:37 +0000)]
[wx] Unreviewed. WebDOM build fix after array type changes.

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

9 years agoInitial triage pass of css3/selectors3/html for the Chromium ports.
ojan@chromium.org [Thu, 22 Mar 2012 19:23:02 +0000 (19:23 +0000)]
Initial triage pass of css3/selectors3/html for the Chromium ports.
All changes done to the non-chromium ports were done automatically
by "webkit-patch optimize-baselines".

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

9 years agoWeb Inspector: text gutter decorations should move upon edits.
pfeldman@chromium.org [Thu, 22 Mar 2012 19:11:07 +0000 (19:11 +0000)]
Web Inspector: text gutter decorations should move upon edits.
https://bugs.webkit.org/show_bug.cgi?id=81932

Reviewed by Vsevolod Vlasov.

Decorations set by the line number now shift as editing inserts / removes lines.

* inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._syncLineHeight):
(WebInspector.TextEditorGutterPanel):
(WebInspector.TextEditorGutterPanel.prototype.textChanged):
(WebInspector.TextEditorGutterPanel.prototype.syncClientHeight):
(WebInspector.TextEditorGutterPanel.prototype.addDecoration):
(WebInspector.TextEditorGutterPanel.prototype.removeDecoration):

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

9 years agoCSS 2.1 failure: fixed-table-layout-006 fails
robert@webkit.org [Thu, 22 Mar 2012 19:07:32 +0000 (19:07 +0000)]
CSS 2.1 failure: fixed-table-layout-006 fails
https://bugs.webkit.org/show_bug.cgi?id=78412

Reviewed by Julien Chaffraix.

Source/WebCore:

Tests: css2.1/20110323/fixed-table-layout-006.htm
       fast/css/fixed-table-layout-cell-padding.htm

In fixed tables, positive width specified on a column should include borders and padding.
See the thread at http://lists.w3.org/Archives/Public/www-style/2011Oct/0502.html. The discussion
there resulted in a whole new set of tests for section 17.5.2.1 in the CSS 2.1 spec. See
http://test.csswg.org/harness/test/CSS21_DEV/section/17.5.2.1/. This patch allows WebKit
to pass all of them, and all tests for the 17.5.2.1 section as a whole. I'll land them all separately.

* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcWidthArray): Include border width and cell padding in the width of the column.
 Note that borderAndPaddingLogicalWidth() returns the border width for separate and collapsed borders as appropriate.

LayoutTests:

* css2.1/20110323/fixed-table-layout-006-expected.html: Added.
* css2.1/20110323/fixed-table-layout-006.htm: Added.
* css2.1/20110323/fixed-table-layout-013-expected.html: The reference test relied on the broken behaviour we're fixing here.
* fast/css/fixed-table-layout-cell-padding-expected.html: Added.
* fast/css/fixed-table-layout-cell-padding.htm: Added.
* platform/chromium-linux/fast/repaint/scroll-inside-table-cell-expected.png:
* platform/chromium-linux/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2123-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2509-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug34176-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug44505-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug44505-expected.txt:
   Progression against FF is most evident in this test. The table with the black 'div' cell
   content is proportioned the same as mozilla now.
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
* platform/chromium-win/fast/table/cell-pref-width-invalidation-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug2123-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug2509-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug34176-expected.txt:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug59252-expected.txt:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
* platform/chromium/test_expectations.txt: Update expectations until rebaseline
* platform/gtk/test_expectations.txt: ditto
* platform/mac/Skipped: Skip until rebaselined
* platform/qt/test_expectations.txt: Update expectations until rebaseline
* platform/win/Skipped: Skip until rebaselined
* tables/hittesting/filltable-stress.html: Adjusted to traverse the cells for hit-testing given their new dimensions.

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

9 years agoAdded Mac WebKit2 expected results for this test. <http://webkit.org/b/81945> tracks the
mitz@apple.com [Thu, 22 Mar 2012 19:04:18 +0000 (19:04 +0000)]
Added Mac WebKit2 expected results for this test. <webkit.org/b/81945> tracks the
fact that these results are wrong.

* platform/mac-wk2/fast/events: Added.
* platform/mac-wk2/fast/events/suspend-timers-expected.txt: Added.

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

9 years agoFactor compositing layer updates after scroll into a new method
simon.fraser@apple.com [Thu, 22 Mar 2012 19:01:10 +0000 (19:01 +0000)]
Factor compositing layer updates after scroll into a new method
https://bugs.webkit.org/show_bug.cgi?id=81943

Reviewed by Dean Jackson.

Move some code that updates compositing layers after scrolling
into its own method, for cleanliness.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollTo):
(WebCore::RenderLayer::updateCompositingLayersAfterScroll):
(WebCore):
* rendering/RenderLayer.h:
(RenderLayer):

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

9 years agoAdd JSValue::isFunction
barraclough@apple.com [Thu, 22 Mar 2012 18:54:50 +0000 (18:54 +0000)]
Add JSValue::isFunction
https://bugs.webkit.org/show_bug.cgi?id=81935

Reviewed by Geoff Garen.

This would be useful in the WebCore bindings code.
Also, remove asFunction, replace with jsCast<JSFunction*>.

Source/JavaScriptCore:

* API/JSContextRef.cpp:
* debugger/Debugger.cpp:
* debugger/DebuggerCallFrame.cpp:
(JSC::DebuggerCallFrame::functionName):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::valueOfFunctionConstant):
* dfg/DFGOperations.cpp:
* interpreter/CallFrame.cpp:
(JSC::CallFrame::isInlineCallFrameSlow):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
(JSC::jitCompileFor):
(JSC::lazyLinkFor):
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::traceFunctionPrologue):
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(JSC::LLInt::setUpCall):
* runtime/Arguments.h:
(JSC::Arguments::finishCreation):
* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncFilter):
(JSC::arrayProtoFuncMap):
(JSC::arrayProtoFuncEvery):
(JSC::arrayProtoFuncForEach):
(JSC::arrayProtoFuncSome):
(JSC::arrayProtoFuncReduce):
(JSC::arrayProtoFuncReduceRight):
* runtime/CommonSlowPaths.h:
(JSC::CommonSlowPaths::arityCheckFor):
* runtime/Executable.h:
(JSC::FunctionExecutable::compileFor):
(JSC::FunctionExecutable::compileOptimizedFor):
* runtime/FunctionPrototype.cpp:
(JSC::functionProtoFuncToString):
* runtime/JSArray.cpp:
(JSC::JSArray::sort):
* runtime/JSFunction.cpp:
(JSC::JSFunction::argumentsGetter):
(JSC::JSFunction::callerGetter):
(JSC::JSFunction::lengthGetter):
* runtime/JSFunction.h:
(JSC):
(JSC::asJSFunction):
(JSC::JSValue::isFunction):
* runtime/JSGlobalData.cpp:
(WTF::Recompiler::operator()):
(JSC::JSGlobalData::releaseExecutableMemory):
* runtime/JSValue.h:
* runtime/StringPrototype.cpp:
(JSC::replaceUsingRegExpSearch):

Source/WebCore:

* bindings/js/JSInjectedScriptHostCustom.cpp:
(WebCore::JSInjectedScriptHost::functionDetails):
* bindings/js/ScriptCallStackFactory.cpp:
(WebCore::createScriptCallStack):

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

9 years agoRevert back the device DPI to 160.
pierre.rossi@gmail.com [Thu, 22 Mar 2012 18:53:45 +0000 (18:53 +0000)]
Revert back the device DPI to 160.

This corresponds to a device pixel ratio of 1, which
is nicer on the eye in many cases.

Rubber-stamped by Kenneth Rohde Christiansen.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewFlickablePrivate::computeViewportConstraints):

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

9 years ago[Qt][WK2] Remember to initialize databaseQuotaDialog https://bugs.webkit.org/show_bug...
ahf@0x90.dk [Thu, 22 Mar 2012 18:50:31 +0000 (18:50 +0000)]
[Qt][WK2] Remember to initialize databaseQuotaDialog https://bugs.webkit.org/show_bug.cgi?id=81942

Reviewed by Kenneth Rohde Christiansen.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):

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

9 years agoRe-land fix for r81603 yet again (!) with latest build fix.
dpranke@chromium.org [Thu, 22 Mar 2012 18:44:10 +0000 (18:44 +0000)]
Re-land fix for r81603 yet again (!) with latest build fix.
https://bugs.webkit.org/show_bug.cgi?id=81603

Unreviewed, build fix.

The latest problem was a bad sprintf() in
BasePort._get_crash_log(). I've reworked that routine and added
unit tests for coverage.

* Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
(SingleTestRunner._handle_error):
* Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
(write_test_result):
(TestResultWriter.write_crash_log):
* Scripts/webkitpy/layout_tests/port/base.py:
(Port.diff_text):
(Port._get_crash_log):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumDriver.run_test):
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumDriverTest.test_crash_log):
* Scripts/webkitpy/layout_tests/port/driver.py:
(DriverOutput.__init__):
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.is_lion):
(MacPort._get_crash_log):
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_default_child_processes):
(test_get_crash_log):
* Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
(MockDRTPortTest.test_get_crash_log):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_get_crash_log):
* Scripts/webkitpy/layout_tests/port/test.py:
(TestDriver.run_test):
* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver.__init__):
(WebKitDriver._start):
(WebKitDriver.has_crashed):
(WebKitDriver._check_for_driver_crash):
(WebKitDriver.run_test):

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

9 years agoTiledBackingStore: Fix test regressions that appeared with r111560.
jocelyn.turcotte@nokia.com [Thu, 22 Mar 2012 18:32:49 +0000 (18:32 +0000)]
TiledBackingStore: Fix test regressions that appeared with r111560.
https://bugs.webkit.org/show_bug.cgi?id=81519

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

The visible rect wasn't intersected with the contents rect anymore which
could lead to an astronomical layer size to check for intersecting tiles.

Add a visibleContentsRect that doesn't do the conversion and use it
in visibleAreaIsCovered.

* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::visibleContentsRect):
(WebCore):
(WebCore::TiledBackingStore::visibleRect):
(WebCore::TiledBackingStore::visibleAreaIsCovered):
* platform/graphics/TiledBackingStore.h:
(TiledBackingStore):

LayoutTests:

* platform/qt-5.0-wk2/Skipped:

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

9 years ago[chromium] Plug-in failing to load shouldn't say "Missing Plug-in"
commit-queue@webkit.org [Thu, 22 Mar 2012 18:23:16 +0000 (18:23 +0000)]
[chromium] Plug-in failing to load shouldn't say "Missing Plug-in"
https://bugs.webkit.org/show_bug.cgi?id=81907

Patch by Bernhard Bauer <bauerb@google.com> on 2012-03-22
Reviewed by Adam Barth.

Adding a MissingPluginText value to WebLocalizedString which can be used to override the "Missing Plug-in" message.

* public/platform/WebLocalizedString.h:
* src/LocalizedStrings.cpp:
(WebCore::missingPluginText):

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

9 years agoMake Length Calculation functions non-inline
commit-queue@webkit.org [Thu, 22 Mar 2012 18:10:55 +0000 (18:10 +0000)]
Make Length Calculation functions non-inline
https://bugs.webkit.org/show_bug.cgi?id=81733

Currently length calculation functions in LengthFunctions.h are inline. These functions are pretty big to be inline.
And these functions are expected to grow again when new length units will be introduced in bug 27160.

A decent rule of thumb is to not inline a function if it is more than 10 lines long. Also it's typically not cost effective to inline
functions with loops or switch statements. (Reference: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Inline_Functions).

Ran PerformanceTests/Parser/html5-full-render.html on Mac Snow-Leopard with and without the patch and did not see much performance difference.

Patch by Joe Thomas <joethomas@motorola.com> on 2012-03-22
Reviewed by Antti Koivisto.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/LengthFunctions.cpp: Added.
(WebCore):
(WebCore::miminumValueForLength):
(WebCore::valueForLength):
(WebCore::floatValueForLength):
* css/LengthFunctions.h:
(WebCore):

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

9 years agoAdded fast/events/drag-link.html to the Mac WebKit2 skip list, because running it has
mitz@apple.com [Thu, 22 Mar 2012 18:02:00 +0000 (18:02 +0000)]
Added fast/events/drag-link.html to the Mac WebKit2 skip list, because running it has
the undesireable side effect of dropping a URL into another application’s window or the
desktop. <http://webkit.org/b/81833> tracks this test.

* platform/mac-wk2/Skipped:
* platform/mac-wk2/fast/events: Removed.
* platform/mac-wk2/fast/events/drag-link-expected.txt: Removed.

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

9 years agoIncrease code sharing between CSSParser and CSSPropertyLonghand.
alexis.menard@openbossa.org [Thu, 22 Mar 2012 17:54:50 +0000 (17:54 +0000)]
Increase code sharing between CSSParser and CSSPropertyLonghand.
https://bugs.webkit.org/show_bug.cgi?id=81587

Reviewed by Antti Koivisto.

Expose the longhands declaration for a given shorthand in CSSPropertyLonghand and
make CSSParser use them. It will make the declaration of longhands in one place only.
Remove the map of CSSPropertyLonghand and replace it by a regular switch/case.
The map doesn't bring much here and it's cleaner and faster to use the switch.
It also shows a little performance improvement in CSS/CSSPropertySetterGetter.html.

No new tests : no behavior change.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseAnimationShorthand):
(WebCore::CSSParser::parseTransitionShorthand):
(WebCore::CSSParser::parseShorthand):
Modify the prototype of this function to directly use the CSSPropertyLonghand.
* css/CSSParser.h:
(WebCore):
(CSSParser):
* css/CSSPropertyLonghand.cpp:
(WebCore):
(WebCore::backgroundLonghand):
(WebCore::backgroundPositionLonghand):
(WebCore::backgroundRepeatLonghand):
(WebCore::borderLonghand):
(WebCore::borderBottomLonghand):
(WebCore::borderColorLonghand):
(WebCore::borderImageLonghand):
(WebCore::borderLeftLonghand):
(WebCore::borderRadiusLonghand):
(WebCore::borderRightLonghand):
(WebCore::borderSpacingLonghand):
(WebCore::borderStyleLonghand):
(WebCore::borderTopLonghand):
(WebCore::borderWidthLonghand):
(WebCore::listStyleLonghand):
(WebCore::fontLonghand):
(WebCore::marginLonghand):
(WebCore::outlineLonghand):
(WebCore::overflowLonghand):
(WebCore::paddingLonghand):
(WebCore::webkitAnimationLonghand):
(WebCore::webkitBorderAfterLonghand):
(WebCore::webkitBorderBeforeLonghand):
(WebCore::webkitBorderEndLonghand):
(WebCore::webkitBorderStartLonghand):
(WebCore::webkitColumnsLonghand):
(WebCore::webkitColumnRuleLonghand):
(WebCore::webkitFlexFlowLonghand):
(WebCore::webkitMarginCollapseLonghand):
(WebCore::webkitMarqueeLonghand):
(WebCore::webkitMaskLonghand):
(WebCore::webkitMaskPositionLonghand):
(WebCore::webkitMaskRepeatLonghand):
(WebCore::webkitTextEmphasisLonghand):
(WebCore::webkitTextStrokeLonghand):
(WebCore::webkitTransitionLonghand):
(WebCore::webkitTransformOriginLonghand):
(WebCore::webkitWrapLonghand):
(WebCore::longhandForProperty):
* css/CSSPropertyLonghand.h:
(WebCore):

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

9 years agoFixed a typo in the change log
mitz@apple.com [Thu, 22 Mar 2012 17:47:41 +0000 (17:47 +0000)]
Fixed a typo in the change log

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

9 years agoAdded Mac expected results for this test from r110938, and removed the render tree...
mitz@apple.com [Thu, 22 Mar 2012 17:46:26 +0000 (17:46 +0000)]
Added Mac expected results for this test from r110938, and removed the render tree dump
results from the cross-platform location, because this test contains text, so the render
varies by platform.

* fast/events/resize-events-expected.txt: Removed.
* platform/mac/fast/events/resize-events-expected.png: Added.
* platform/mac/fast/events/resize-events-expected.txt: Added.

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

9 years agoUse stereo AudioBuffer instead of RealtimeAnalyserNode in the layout test of stereo2m...
commit-queue@webkit.org [Thu, 22 Mar 2012 17:41:53 +0000 (17:41 +0000)]
Use stereo AudioBuffer instead of RealtimeAnalyserNode in the layout test of stereo2mono-down-mixing
https://bugs.webkit.org/show_bug.cgi?id=81881

Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-03-22
Reviewed by Chris Rogers.

* webaudio/stereo2mono-down-mixing.html:

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

9 years agoUnreviewed, touching file to force bots to pick up CSS_SHADERS flag change.
eae@chromium.org [Thu, 22 Mar 2012 17:41:16 +0000 (17:41 +0000)]
Unreviewed, touching file to force bots to pick up CSS_SHADERS flag change.

* css/CSSStyleSelector.h:
(CSSStyleSelector):

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

9 years ago[BlackBerry] DOMSupport isPositionInNode should have early returns for null nodes
mifenton@rim.com [Thu, 22 Mar 2012 17:38:36 +0000 (17:38 +0000)]
[BlackBerry] DOMSupport isPositionInNode should have early returns for null nodes
https://bugs.webkit.org/show_bug.cgi?id=81929

Reviewed by Rob Buis.

Add early returns in isPositionInNode when either
node or the position node is null.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isPositionInNode):

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

9 years agoReverbConvolver::latencyFrames() should return 0.
commit-queue@webkit.org [Thu, 22 Mar 2012 17:28:06 +0000 (17:28 +0000)]
ReverbConvolver::latencyFrames() should return 0.
https://bugs.webkit.org/show_bug.cgi?id=81806

Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-03-22
Reviewed by Chris Rogers.

* platform/audio/ReverbConvolver.cpp:
(WebCore::ReverbConvolver::latencyFrames):

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

9 years agoUnreviewed test_expectations update for chromium.
eae@chromium.org [Thu, 22 Mar 2012 17:25:36 +0000 (17:25 +0000)]
Unreviewed test_expectations update for chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoAdded fast/events/remove-target-with-shadow-in-drag.html to the Mac WebKit2 skip...
mitz@apple.com [Thu, 22 Mar 2012 17:24:22 +0000 (17:24 +0000)]
Added fast/events/remove-target-with-shadow-in-drag.html to the Mac WebKit2 skip list, since
it relies on dragging using EventSender, which doesn’t work in WebKitTestRunner.
<http://webkit.org/b/68552> tracks this issue.

* platform/mac-wk2/Skipped:

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

9 years ago[Qt] Enable support for handling database quota's in the MiniBrowser
ahf@0x90.dk [Thu, 22 Mar 2012 17:23:02 +0000 (17:23 +0000)]
[Qt] Enable support for handling database quota's in the MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=81928

Reviewed by Simon Hausmann.

* MiniBrowser/qt/qml/BrowserWindow.qml:

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

9 years ago[Qt][WK2] Pass Origin information to the DatabaseQuotaDialogContextObject https:...
ahf@0x90.dk [Thu, 22 Mar 2012 17:22:38 +0000 (17:22 +0000)]
[Qt][WK2] Pass Origin information to the DatabaseQuotaDialogContextObject https://bugs.webkit.org/show_bug.cgi?id=81910

Reviewed by Simon Hausmann.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::exceededDatabaseQuota):
* UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
* UIProcess/qt/QtDialogRunner.cpp:
(DatabaseQuotaDialogContextObject):
(DatabaseQuotaDialogContextObject::DatabaseQuotaDialogContextObject):
(DatabaseQuotaDialogContextObject::securityOrigin):
(QtDialogRunner::initForDatabaseQuotaDialog):
* UIProcess/qt/QtDialogRunner.h:
(QtDialogRunner):
* UIProcess/qt/QtWebPageUIClient.cpp:
(QtWebPageUIClient::exceededDatabaseQuota):
* UIProcess/qt/QtWebPageUIClient.h:

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

9 years agorefactor flexbox in preparation for flex-line-pack
tony@chromium.org [Thu, 22 Mar 2012 17:16:30 +0000 (17:16 +0000)]
refactor flexbox in preparation for flex-line-pack
https://bugs.webkit.org/show_bug.cgi?id=81843

Reviewed by Ojan Vafai.

Replace WrapReverseContext with a vector of LineContexts that contain
the same information, plus values needed for flex-align.

alignChildren has been moved to after all the lines have been
positioned. We want to align children after flex-line-pack has changed
the size of each line to avoid unnecessary layouts.

Take 2: Remove the assert. If there are no children, then there are no
flex lines. Instead, assert that child is not null.

No new tests, just refactoring.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::LineContext::LineContext): New struct,
holds information needed for wrap-reverse and aligning children.
(RenderFlexibleBox::LineContext):
(WebCore::RenderFlexibleBox::layoutFlexItems): alignChildren after layout out all the lines rather than after each line.
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren): don't alignChildren
(WebCore::RenderFlexibleBox::alignChildren): align all flex items, not just a line at a time.
(WebCore::RenderFlexibleBox::flipForWrapReverse): Update to use LineContext
* rendering/RenderFlexibleBox.h:

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

9 years ago[EFL] Gardening, add and update animations/, fast/css,
kubo@profusion.mobi [Thu, 22 Mar 2012 17:12:24 +0000 (17:12 +0000)]
[EFL] Gardening, add and update animations/, fast/css,
fast/line-grid and fast/repaint baselines and expectations.

* platform/efl/animations/cross-fade-background-image-expected.png: Added.
* platform/efl/animations/cross-fade-background-image-expected.txt: Added.
* platform/efl/animations/cross-fade-border-image-source-expected.png: Added.
* platform/efl/animations/cross-fade-border-image-source-expected.txt: Added.
* platform/efl/animations/cross-fade-list-style-image-expected.png: Added.
* platform/efl/animations/cross-fade-list-style-image-expected.txt: Added.
* platform/efl/animations/cross-fade-webkit-mask-image-expected.png: Added.
* platform/efl/animations/cross-fade-webkit-mask-image-expected.txt: Added.
* platform/efl/fast/css/003-expected.txt:
* platform/efl/fast/css/004-expected.txt:
* platform/efl/fast/css/005-expected.txt:
* platform/efl/fast/css/acid2-expected.txt:
* platform/efl/fast/css/acid2-pixel-expected.txt:
* platform/efl/fast/css/bidi-override-in-anonymous-block-expected.txt:
* platform/efl/fast/css/color-correction-backgrounds-and-text-expected.txt:
* platform/efl/fast/css/color-correction-on-text-expected.txt:
* platform/efl/fast/css/css2-system-fonts-expected.txt:
* platform/efl/fast/css/empty-inline-003-quirksmode-expected.txt: Added.
* platform/efl/fast/css/empty-inline-line-height-first-line-expected.txt: Added.
* platform/efl/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt: Added.
* platform/efl/fast/css/first-letter-first-line-hover-expected.txt:
* platform/efl/fast/css/font-face-woff-expected.txt:
* platform/efl/fast/css/font-weight-1-expected.txt:
* platform/efl/fast/css/font_property_normal-expected.txt:
* platform/efl/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Added.
* platform/efl/fast/css/hover-subselector-expected.txt:
* platform/efl/fast/css/hsl-color-expected.txt:
* platform/efl/fast/css/ignore-text-zoom-expected.png: Added.
* platform/efl/fast/css/inline-properties-important-expected.txt:
* platform/efl/fast/css/invalidation-errors-3-expected.txt:
* platform/efl/fast/css/non-empty-span-expected.png: Added.
* platform/efl/fast/css/non-empty-span-expected.txt: Added.
* platform/efl/fast/css/preserve-user-specified-zoom-level-on-reload-expected.png: Added.
* platform/efl/fast/css/pseudo-first-line-border-width-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png: Added.
* platform/efl/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt: Added.
* platform/efl/fast/css/selector-set-attribute-expected.txt:
* platform/efl/fast/css/transform-default-parameter-expected.txt:
* platform/efl/fast/css/zoom-body-scroll-expected.txt: Added.
* platform/efl/fast/css/zoom-font-size-expected.txt:
* platform/efl/fast/line-grid/line-align-left-edges-expected.png: Added.
* platform/efl/fast/line-grid/line-align-left-edges-expected.txt: Added.
* platform/efl/fast/line-grid/line-align-right-edges-expected.png: Added.
* platform/efl/fast/line-grid/line-align-right-edges-expected.txt: Added.
* platform/efl/fast/line-grid/line-grid-contains-value-expected.png: Added.
* platform/efl/fast/line-grid/line-grid-contains-value-expected.txt: Added.
* platform/efl/fast/line-grid/line-grid-into-columns-expected.png: Added.
* platform/efl/fast/line-grid/line-grid-into-columns-expected.txt: Added.
* platform/efl/fast/repaint/scroll-inside-table-cell-expected.png: Added.
* platform/efl/fast/repaint/table-hover-on-link-expected.png: Added.
* platform/efl/fast/repaint/transform-rotate-and-remove-expected.png: Added.

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

9 years agoUnreviewed test_expectations update for chromium. Marking a couple of tests as SLOW...
eae@chromium.org [Thu, 22 Mar 2012 17:06:44 +0000 (17:06 +0000)]
Unreviewed test_expectations update for chromium. Marking a couple of tests as SLOW on SNOWLEOPARD DEBUG.

* platform/chromium/test_expectations.txt:

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

9 years agoEvent dispatching in XMLHttpRequestProgressEventThrottle should go through XMLHttpReq...
commit-queue@webkit.org [Thu, 22 Mar 2012 17:01:48 +0000 (17:01 +0000)]
Event dispatching in XMLHttpRequestProgressEventThrottle should go through XMLHttpRequestProgressEventThrottle::dispatchEvent
https://bugs.webkit.org/show_bug.cgi?id=46743

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-22
Reviewed by Julien Chaffraix
Based on original patch by Anton D'Auria

In preparation for platform-specific queuing of XMLHttpRequest events,
this patch changes all calls to m_target->dispatchEvent to
XMLHttpRequestProgressEventThrottle::dispatchEvent.
Currently, we queue only one progress event on suspend() if we have
throttled progress events. We should be able to queue all XHR events
that can be generated after suspend(), if the platform network layer
continues to receive data.
XMLHttpRequest uses XMLHttpRequestProgressEventThrottle to dispatch only
download events, so this doesn't change behavior of upload events, which
aren't throttled or queued.

* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::callReadyStateChangeListener):
* xml/XMLHttpRequestProgressEventThrottle.cpp:
(WebCore::XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent):
(WebCore::XMLHttpRequestProgressEventThrottle::dispatchEvent):
(WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent):
(WebCore::XMLHttpRequestProgressEventThrottle::dispatchPausedEvent):
(WebCore::XMLHttpRequestProgressEventThrottle::fired):
* xml/XMLHttpRequestProgressEventThrottle.h:
(XMLHttpRequestProgressEventThrottle):

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

9 years ago[EFL] Map BackSpace key code to Unicode value
commit-queue@webkit.org [Thu, 22 Mar 2012 16:59:46 +0000 (16:59 +0000)]
[EFL] Map BackSpace key code to Unicode value
https://bugs.webkit.org/show_bug.cgi?id=81130

Source/WebCore:

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Gustavo Noronha Silva.

Test: fast/events/backspace-navigates-back.html

* platform/efl/EflKeyboardUtilities.cpp:
(WebCore::createKeyMap): Map BackSpace to Unicode value

LayoutTests:

Unskip fast/events/backspace-navigates-back.html

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Gustavo Noronha Silva.

* platform/efl/Skipped:

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

9 years ago[Qt] Gardening, skip failing tests after r111560.
kkristof@inf.u-szeged.hu [Thu, 22 Mar 2012 16:57:57 +0000 (16:57 +0000)]
[Qt] Gardening, skip failing tests after r111560.
https://bugs.webkit.org/show_bug.cgi?id=81519

Reviewed by Csaba Osztrogonác.

* platform/qt-5.0-wk2/Skipped:

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

9 years agoIncorrect beforeChild parent calculation in RenderRubyBase::moveChildren.
inferno@chromium.org [Thu, 22 Mar 2012 16:52:55 +0000 (16:52 +0000)]
Incorrect beforeChild parent calculation in RenderRubyBase::moveChildren.
https://bugs.webkit.org/show_bug.cgi?id=80297

Reviewed by Julien Chaffraix.

Source/WebCore:

beforeChild might share the same anonymous block parent with other previous
siblings. Before moving the children across ruby bases, we need to make sure
to split the tree across the beforeChild correctly.

Test: fast/ruby/ruby-text-before-child-split.html

* rendering/RenderRubyBase.cpp:
(WebCore::RenderRubyBase::moveChildren):

LayoutTests:

Test passes if you see the inline continuation in the first ruby base and only the
simple text in the second ruby base.

* fast/ruby/ruby-text-before-child-split-expected.png: Added.
* fast/ruby/ruby-text-before-child-split-expected.txt: Added.
* fast/ruby/ruby-text-before-child-split.html: Added.

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

9 years ago[EFL] Gardening, update a few more fast/forms baselines.
kubo@profusion.mobi [Thu, 22 Mar 2012 16:16:30 +0000 (16:16 +0000)]
[EFL] Gardening, update a few more fast/forms baselines.

* platform/efl/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.png: Added.
* platform/efl/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Added.
* platform/efl/fast/forms/file/file-input-pressed-state-expected.png: Added.
* platform/efl/fast/forms/input-placeholder-text-indent-expected.png:
* platform/efl/fast/forms/isindex-placeholder-expected.png:
* platform/efl/fast/forms/placeholder-with-positioned-element-expected.png:
* platform/efl/fast/forms/select-overflow-scroll-expected.png: Added.
* platform/efl/fast/forms/select-overflow-scroll-expected.txt: Added.
* platform/efl/fast/forms/select-overflow-scroll-inherited-expected.png: Added.
* platform/efl/fast/forms/select-overflow-scroll-inherited-expected.txt: Added.
* platform/efl/fast/forms/textarea-placeholder-wrapping-expected.png:

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

9 years ago[Qt] Gardening, skip failing tests after r111560.
kkristof@inf.u-szeged.hu [Thu, 22 Mar 2012 16:13:45 +0000 (16:13 +0000)]
[Qt] Gardening, skip failing tests after r111560.
https://bugs.webkit.org/show_bug.cgi?id=81519

Reviewed by Csaba Osztrogonác.

* platform/qt-5.0-wk2/Skipped:

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

9 years ago[Qt] Fix Qt minimal build after r111692
kkristof@inf.u-szeged.hu [Thu, 22 Mar 2012 16:01:58 +0000 (16:01 +0000)]
[Qt] Fix Qt minimal build after r111692

Reviewed by Csaba Osztrogonác.

* bindings/js/JSScriptProfileNodeCustom.cpp:

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

9 years ago[EFL] Implement LayoutTestController::setEditingBehavior
commit-queue@webkit.org [Thu, 22 Mar 2012 15:50:48 +0000 (15:50 +0000)]
[EFL] Implement LayoutTestController::setEditingBehavior
https://bugs.webkit.org/show_bug.cgi?id=81124

Source/WebKit/efl:

Add missing implementation setEditingBehavior to EFL's
DumpRenderTreeSupport. This setting controls various editing
behaviors that differ between platforms.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Martin Robinson.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setEditingBehavior):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

Adding missing implementation setEditingBehavior to EFL's
LayoutTestController. This implementation allows us to
unskip some tests from the skip list.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Martin Robinson.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setEditingBehavior): Implemented.

LayoutTests:

Unskip tests connected with setEditingBehavior.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
Reviewed by Martin Robinson.

* platform/efl/Skipped:

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

9 years ago[chromium] Fix scrollbar layers holding onto invalid textures after lost context
enne@google.com [Thu, 22 Mar 2012 15:37:30 +0000 (15:37 +0000)]
[chromium] Fix scrollbar layers holding onto invalid textures after lost context
https://bugs.webkit.org/show_bug.cgi?id=81841

Reviewed by James Robinson.

Source/WebCore:

Unit test: CCLayerTreeHostImplTest.scrollbarLayerLostContext

* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::willDraw):

Source/WebKit/chromium:

* tests/CCLayerTreeHostImplTest.cpp:
(WebKitTests::TEST_F):
(WebKitTests):

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

9 years ago[GTK] Add MediaStream feature to avoid MediaStream test failure
commit-queue@webkit.org [Thu, 22 Mar 2012 15:36:10 +0000 (15:36 +0000)]
[GTK] Add MediaStream feature to avoid MediaStream test failure
https://bugs.webkit.org/show_bug.cgi?id=81727

Patch by Mao Yujie <yujie.mao@intel.com> on 2012-03-22
Reviewed by Martin Robinson.

* GNUmakefile.am:
* WebCoreSupport/UserMediaClientGtk.cpp: Added.
(WebKit):
(WebKit::UserMediaClientGtk::UserMediaClientGtk):
(WebKit::UserMediaClientGtk::~UserMediaClientGtk):
(WebKit::UserMediaClientGtk::pageDestroyed):
(WebKit::UserMediaClientGtk::requestUserMedia):
(WebKit::UserMediaClientGtk::cancelUserMediaRequest):
* WebCoreSupport/UserMediaClientGtk.h: Added.
(WebKit):
(UserMediaClientGtk):
* webkit/webkitwebview.cpp:
(webkit_web_view_init):

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

9 years ago[GTK] ASSERT bug in WebAudio (AudioFileReader)
philn@webkit.org [Thu, 22 Mar 2012 15:30:26 +0000 (15:30 +0000)]
[GTK] ASSERT bug in WebAudio (AudioFileReader)
https://bugs.webkit.org/show_bug.cgi?id=81777

Reviewed by Martin Robinson.

* platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
(WebCore::AudioFileReader::decodeAudioForBusCreation): Don't steal
the GstBus floating reference.
(WebCore::AudioFileReader::createBus): Ditto.

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

9 years ago[Qt] Don't resume the suspended page if the user is continuously flicking.
jocelyn.turcotte@nokia.com [Thu, 22 Mar 2012 15:24:26 +0000 (15:24 +0000)]
[Qt] Don't resume the suspended page if the user is continuously flicking.
https://bugs.webkit.org/show_bug.cgi?id=81895

Reviewed by Kenneth Rohde Christiansen.

Create an additional suspend deferrer between TouchBegin and TouchEnd to
relay with the one kept while the flick animation is running.
This allows the page to be suspended when a pan gesture starts and stay
that way until the last flick animation ends.

* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::touchBegin):
(WebKit):
(WebKit::QtViewportInteractionEngine::touchEnd):
(WebKit::QtViewportInteractionEngine::pinchGestureStarted):
* UIProcess/qt/QtViewportInteractionEngine.h:
(QtViewportInteractionEngine):
* UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::doneWithTouchEvent):

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

9 years agoUnreviewed: Web Inspector: fix syntax error in text.
loislo@chromium.org [Thu, 22 Mar 2012 15:22:54 +0000 (15:22 +0000)]
Unreviewed: Web Inspector: fix syntax error in text.

* English.lproj/localizedStrings.js:
* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotWorker.prototype._messageReceived):

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

9 years ago[EFL] Change returned view mode in case of NULL of ewkView.
commit-queue@webkit.org [Thu, 22 Mar 2012 15:17:57 +0000 (15:17 +0000)]
[EFL] Change returned view mode in case of NULL of ewkView.
https://bugs.webkit.org/show_bug.cgi?id=81636

Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-03-22
Reviewed by Eric Seidel.

Function ewk_view_mode_get returns wrong view mode in case of NULL of ewkView.

* ewk/ewk_view.cpp:
(_Ewk_View_Private_Data):
(ewk_view_mode_get):

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

9 years agoUnreviewed, rolling out r111688.
yurys@chromium.org [Thu, 22 Mar 2012 15:15:52 +0000 (15:15 +0000)]
Unreviewed, rolling out r111688.
http://trac.webkit.org/changeset/111688
https://bugs.webkit.org/show_bug.cgi?id=81912

"Heap profiler test fails" (Requested by yurys on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-22

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._buildRetainers):

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

9 years ago[chromium] Early out in a new prepareToDraw() step if checkerboarding an accelerated...
commit-queue@webkit.org [Thu, 22 Mar 2012 15:09:08 +0000 (15:09 +0000)]
[chromium] Early out in a new prepareToDraw() step if checkerboarding an accelerated animation in order to skip the frame
https://bugs.webkit.org/show_bug.cgi?id=81437

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-22
Reviewed by Adrienne Walker.

Source/WebCore:

Split CCLayerTreeHostImpl::drawLayers() into two phases:
prepareToDraw() and drawLayers().

When calculating a RenderPass, and we checkerboard a quad on a
layer, bubble this info back up to CCLayerTreeHostImpl. If the
layer is transforming in an animation, then abort the prepareToDraw()
phase and cause it to return false back to the thread proxy.

Unit test: CCLayerTreeHostImplTest.prepareToDrawFailsWhenAnimationUsesCheckerboard

* platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
(WebCore::CCLayerTreeHostImpl::prepareToDraw):
(WebCore):
(WebCore::CCLayerTreeHostImpl::drawLayers):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
(FrameData):
* platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::append):
* platform/graphics/chromium/cc/CCQuadCuller.h:
(CCQuadCuller):
* platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsForLayer):
* platform/graphics/chromium/cc/CCRenderPass.h:
(CCRenderPass):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
(CCScrollbarLayerImpl):
* platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::doComposite):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
(WebCore::CCSolidColorLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
(CCSolidColorLayerImpl):
* platform/graphics/chromium/cc/CCTextureLayerImpl.cpp:
(WebCore::CCTextureLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTextureLayerImpl.h:
(CCTextureLayerImpl):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
* platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCVideoLayerImpl.h:
(CCVideoLayerImpl):

Source/WebKit/chromium:

* tests/CCAnimationTestCommon.cpp:
(WebCore):
(WebCore::addAnimatedTransform):
(WebKitTests::addOpacityTransitionToLayer):
(WebKitTests):
(WebKitTests::addAnimatedTransformToLayer):
* tests/CCAnimationTestCommon.h:
(WebCore):
(WebKitTests):
* tests/CCLayerTreeHostImplTest.cpp:
(WebKitTests::TEST_F):
(DidDrawCheckLayer):
(WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
(MissingTextureAnimatingLayer):
(WebKitTests::MissingTextureAnimatingLayer::create):
(WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
(WebKitTests):
(WebKitTests::BlendStateCheckLayer::appendQuads):
* tests/CCLayerTreeHostTest.cpp:
(WTF::TestHooks::prepareToDrawOnCCThread):
(WTF::MockLayerTreeHostImpl::prepareToDraw):
(MockLayerTreeHostImpl):
(WTF::MockLayerTreeHostImpl::drawLayers):
* tests/CCQuadCullerTest.cpp:
(WebCore::appendQuads):
* tests/CCSolidColorLayerImplTest.cpp:
(CCLayerTestCommon::TEST):
* tests/CCTiledLayerImplTest.cpp:
(CCLayerTestCommon::TEST):
(CCLayerTestCommon::getQuads):
* tests/MockCCQuadCuller.h:
(WebCore::MockCCQuadCuller::append):

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

9 years agoCorrect LayoutUnit usage in Accessibility code
leviw@chromium.org [Thu, 22 Mar 2012 15:07:02 +0000 (15:07 +0000)]
Correct LayoutUnit usage in Accessibility code
https://bugs.webkit.org/show_bug.cgi?id=81789

Reviewed by Eric Seidel.

Reverting Accessibility hit testing code back to integers. Accessibility hit tests originate from
the embedder and don't accumulate offsets, so we get nothing from using LayoutUnits, and needlessly
expose them to the embedder.

No new tests. No change in behavior.

* accessibility/AccessibilityListBox.cpp:
(WebCore::AccessibilityListBox::elementAccessibilityHitTest): See above.
* accessibility/AccessibilityListBox.h:
(AccessibilityListBox):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::clickPoint): This value is only ever used to display a context menu,
which is always done with integer coordinates.
(WebCore::AccessibilityObject::boundingBoxForQuads): This is a bounding box built from floats. We
don't pixel snap floats, so we return an integer bounding box.
(WebCore::AccessibilityObject::elementAccessibilityHitTest): See above.
(WebCore::AccessibilityObject::scrollToMakeVisible): Pixel snapping the bounding box and simplifying
up the code to position it at (0,0).
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::accessibilityHitTest): See above.
(AccessibilityObject):
(WebCore::AccessibilityObject::pixelSnappedBoundingBoxRect): Convenience method for embedder callers.
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::visiblePositionForPoint): The point passed in here is comes from
screen coordinates and originates in embedder code. Reverting it to take an integer.
(WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest): See above.
(WebCore::AccessibilityRenderObject::accessibilityHitTest): See above.
* accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::accessibilityHitTest): See above.
* accessibility/AccessibilityScrollView.h:
(AccessibilityScrollView):
* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::elementAccessibilityHitTest): See above.
* accessibility/AccessibilitySlider.h:
(AccessibilitySlider):

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