Rename the ustring() accessor to string()
https://bugs.webkit.org/show_bug.cgi?id=95919
Patch by Benjamin Poulain <[email protected]> on 2012-09-07
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
Rename ustring() to string() to make the accessor name more logical after
r127191.
(JSEvaluateScript):
(JSCheckScriptSyntax):
(JSObjectMakeFunctionWithCallback):
(JSObjectMakeFunction):
(JSObjectCopyPropertyNames):
- API/JSProfilerPrivate.cpp:
(JSStartProfiling):
(JSEndProfiling):
(JSValueMakeString):
(JSValueMakeFromJSONString):
(OpaqueJSString::string):
(OpaqueJSString):
(JSC::idName):
(JSC::CodeBlock::dump):
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitLoad):
(JSC::BytecodeGenerator::addStringConstant):
- bytecompiler/NodesCodegen.cpp:
(JSC::RegExpNode::emitBytecode):
(JSC::processClauseList):
(JSC::DFG::Graph::dump):
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
(JSC::DEFINE_STUB_FUNCTION):
(GlobalObject::addFunction):
(GlobalObject::addConstructableFunction):
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(JSC::ASTBuilder::createRegExp):
(JSC::::parsePrimaryExpression):
(JSC::Scope::declareVariable):
(JSC::Scope::declareParameter):
(JSC::Scope::useVariable):
(JSC::SyntaxChecker::createRegExp):
- runtime/ExceptionHelpers.cpp:
(JSC::createUndefinedVariableError):
(JSC::FunctionExecutable::paramString):
(JSC::FunctionExecutable::finishCreation):
- runtime/FunctionPrototype.cpp:
(JSC::FunctionPrototype::addFunctionProperties):
(JSC::Identifier::string):
(JSC::JSFunction::calculatedDisplayName):
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
(JSC::PropertyNameForFunctionCall::value):
(JSC::Stringifier::Holder::appendNextProperty):
(JSC::Walker::walk):
- runtime/JSPropertyNameIterator.h:
(JSC::JSPropertyNameIterator::finishCreation):
(JSC::JSScope::resolveBase):
(JSC::inlineJSValueNotStringtoString):
- runtime/LiteralParser.cpp:
(JSC::::parse):
- runtime/ObjectConstructor.cpp:
(JSC::ObjectConstructor::finishCreation):
(JSC::objectConstructorGetOwnPropertyNames):
(JSC::objectConstructorKeys):
- runtime/RegExpConstructor.cpp:
(JSC::RegExpConstructor::finishCreation):
Source/WebCore:
- bindings/js/Dictionary.cpp:
(WebCore::Dictionary::getOwnPropertiesAsStringHashMap):
(WebCore::Dictionary::getOwnPropertyNames):
- bindings/js/SerializedScriptValue.cpp:
Simplify a few String constructions which were still using type conversion
through StringImpl.
(WebCore::CloneSerializer::write):
(WebCore::CloneDeserializer::CachedString::string):
(WebCore::CloneDeserializer::readFile):
(WebCore::CloneDeserializer::readTerminal):
(WebCore::CloneDeserializer::deserialize):
(_NPN_Enumerate):
Source/WebKit/efl:
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::sendWebIntentResponse):
(DumpRenderTreeSupportEfl::deliverWebIntent):
Aslo update the code from the UString->String conversion through StringImpl.
Source/WebKit/mac:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::enumerate):
Source/WebKit2:
- WebProcess/Plugins/Netscape/NPJSObject.cpp:
(WebKit::NPJSObject::enumerate):
Tools:
Update EFL's DRT.
Fix some string conversion that have been made useless
with recent changes.
- DumpRenderTree/efl/EventSender.cpp:
(keyPadNameFromJSValue):
(keyNameFromJSValue):
- DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::queueLoad):
(TestRunner::addOriginAccessWhitelistEntry):
(TestRunner::removeOriginAccessWhitelistEntry):
(TestRunner::setUserStyleSheetLocation):
(TestRunner::setValueForUser):
(TestRunner::elementDoesAutoCompleteForElementWithId):
(TestRunner::execCommand):
(TestRunner::findString):
(TestRunner::isCommandEnabled):
(TestRunner::clearApplicationCacheForOrigin):
(TestRunner::setDomainRelaxationForbiddenForURLScheme):
(TestRunner::pauseAnimationAtTimeOnElementWithId):
(TestRunner::pauseTransitionAtTimeOnElementWithId):
(toInt):
(TestRunner::overridePreference):
(TestRunner::addUserScript):
(TestRunner::addUserStyleSheet):
(TestRunner::evaluateInWebInspector):
(TestRunner::evaluateScriptInIsolatedWorld):
(TestRunner::setTextDirection):
- DumpRenderTree/efl/WorkQueueItemEfl.cpp:
(LoadItem::invoke):
(LoadHTMLStringItem::invoke):
(ScriptItem::invoke):