-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95919 Patch by Benjamin Poulain <bpoulain@apple.com> 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): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c9b7a208