Ignore:
Timestamp:
Sep 7, 2012, 10:46:29 PM (13 years ago)
Author:
[email protected]
Message:

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.

  • API/JSBase.cpp:

(JSEvaluateScript):
(JSCheckScriptSyntax):

  • API/JSObjectRef.cpp:

(JSObjectMakeFunctionWithCallback):
(JSObjectMakeFunction):
(JSObjectCopyPropertyNames):

  • API/JSProfilerPrivate.cpp:

(JSStartProfiling):
(JSEndProfiling):

  • API/JSValueRef.cpp:

(JSValueMakeString):
(JSValueMakeFromJSONString):

  • API/OpaqueJSString.cpp:

(OpaqueJSString::string):

  • API/OpaqueJSString.h:

(OpaqueJSString):

  • bytecode/CodeBlock.cpp:

(JSC::idName):
(JSC::CodeBlock::dump):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitLoad):
(JSC::BytecodeGenerator::addStringConstant):

  • bytecompiler/NodesCodegen.cpp:

(JSC::RegExpNode::emitBytecode):
(JSC::processClauseList):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dump):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):

  • jsc.cpp:

(GlobalObject::addFunction):
(GlobalObject::addConstructableFunction):

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::LLINT_SLOW_PATH_DECL):

  • parser/ASTBuilder.h:

(JSC::ASTBuilder::createRegExp):

  • parser/Parser.cpp:

(JSC::::parsePrimaryExpression):

  • parser/Parser.h:

(JSC::Scope::declareVariable):
(JSC::Scope::declareParameter):
(JSC::Scope::useVariable):

  • parser/SyntaxChecker.h:

(JSC::SyntaxChecker::createRegExp):

  • runtime/ExceptionHelpers.cpp:

(JSC::createUndefinedVariableError):

  • runtime/Executable.cpp:

(JSC::FunctionExecutable::paramString):

  • runtime/Executable.h:

(JSC::FunctionExecutable::finishCreation):

  • runtime/FunctionPrototype.cpp:

(JSC::FunctionPrototype::addFunctionProperties):

  • runtime/Identifier.h:

(JSC::Identifier::string):

  • runtime/JSFunction.cpp:

(JSC::JSFunction::calculatedDisplayName):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::reset):

  • runtime/JSONObject.cpp:

(JSC::PropertyNameForFunctionCall::value):
(JSC::Stringifier::Holder::appendNextProperty):
(JSC::Walker::walk):

  • runtime/JSPropertyNameIterator.h:

(JSC::JSPropertyNameIterator::finishCreation):

  • runtime/JSScope.cpp:

(JSC::JSScope::resolveBase):

  • runtime/JSString.h:

(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):

  • bridge/NP_jsobject.cpp:

(_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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r127944 r127958  
     12012-09-07  Benjamin Poulain  <[email protected]>
     2
     3        Rename the ustring() accessor to string()
     4        https://bugs.webkit.org/show_bug.cgi?id=95919
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Rename ustring() to string() to make the accessor name more logical after
     9        r127191.
     10
     11        * API/JSBase.cpp:
     12        (JSEvaluateScript):
     13        (JSCheckScriptSyntax):
     14        * API/JSObjectRef.cpp:
     15        (JSObjectMakeFunctionWithCallback):
     16        (JSObjectMakeFunction):
     17        (JSObjectCopyPropertyNames):
     18        * API/JSProfilerPrivate.cpp:
     19        (JSStartProfiling):
     20        (JSEndProfiling):
     21        * API/JSValueRef.cpp:
     22        (JSValueMakeString):
     23        (JSValueMakeFromJSONString):
     24        * API/OpaqueJSString.cpp:
     25        (OpaqueJSString::string):
     26        * API/OpaqueJSString.h:
     27        (OpaqueJSString):
     28        * bytecode/CodeBlock.cpp:
     29        (JSC::idName):
     30        (JSC::CodeBlock::dump):
     31        * bytecompiler/BytecodeGenerator.cpp:
     32        (JSC::BytecodeGenerator::emitLoad):
     33        (JSC::BytecodeGenerator::addStringConstant):
     34        * bytecompiler/NodesCodegen.cpp:
     35        (JSC::RegExpNode::emitBytecode):
     36        (JSC::processClauseList):
     37        * dfg/DFGGraph.cpp:
     38        (JSC::DFG::Graph::dump):
     39        * interpreter/Interpreter.cpp:
     40        (JSC::Interpreter::privateExecute):
     41        * jit/JITStubs.cpp:
     42        (JSC::DEFINE_STUB_FUNCTION):
     43        * jsc.cpp:
     44        (GlobalObject::addFunction):
     45        (GlobalObject::addConstructableFunction):
     46        * llint/LLIntSlowPaths.cpp:
     47        (JSC::LLInt::LLINT_SLOW_PATH_DECL):
     48        * parser/ASTBuilder.h:
     49        (JSC::ASTBuilder::createRegExp):
     50        * parser/Parser.cpp:
     51        (JSC::::parsePrimaryExpression):
     52        * parser/Parser.h:
     53        (JSC::Scope::declareVariable):
     54        (JSC::Scope::declareParameter):
     55        (JSC::Scope::useVariable):
     56        * parser/SyntaxChecker.h:
     57        (JSC::SyntaxChecker::createRegExp):
     58        * runtime/ExceptionHelpers.cpp:
     59        (JSC::createUndefinedVariableError):
     60        * runtime/Executable.cpp:
     61        (JSC::FunctionExecutable::paramString):
     62        * runtime/Executable.h:
     63        (JSC::FunctionExecutable::finishCreation):
     64        * runtime/FunctionPrototype.cpp:
     65        (JSC::FunctionPrototype::addFunctionProperties):
     66        * runtime/Identifier.h:
     67        (JSC::Identifier::string):
     68        * runtime/JSFunction.cpp:
     69        (JSC::JSFunction::calculatedDisplayName):
     70        * runtime/JSGlobalObject.cpp:
     71        (JSC::JSGlobalObject::reset):
     72        * runtime/JSONObject.cpp:
     73        (JSC::PropertyNameForFunctionCall::value):
     74        (JSC::Stringifier::Holder::appendNextProperty):
     75        (JSC::Walker::walk):
     76        * runtime/JSPropertyNameIterator.h:
     77        (JSC::JSPropertyNameIterator::finishCreation):
     78        * runtime/JSScope.cpp:
     79        (JSC::JSScope::resolveBase):
     80        * runtime/JSString.h:
     81        (JSC::inlineJSValueNotStringtoString):
     82        * runtime/LiteralParser.cpp:
     83        (JSC::::parse):
     84        * runtime/ObjectConstructor.cpp:
     85        (JSC::ObjectConstructor::finishCreation):
     86        (JSC::objectConstructorGetOwnPropertyNames):
     87        (JSC::objectConstructorKeys):
     88        * runtime/RegExpConstructor.cpp:
     89        (JSC::RegExpConstructor::finishCreation):
     90
    1912012-09-07  Gavin Barraclough  <[email protected]>
    292
Note: See TracChangeset for help on using the changeset viewer.