• paroga@webkit.org's avatar
    Add StringBuilder::appendNumber() and use it · 4d255977
    paroga@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=96030
    
    Reviewed by Eric Seidel.
    
    Also fix a bunch of append() vs. appendLiteral() issues in the surrounding code.
    
    Source/JavaScriptCore:
    
    * API/JSContextRef.cpp:
    (JSContextCreateBacktrace):
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * interpreter/Interpreter.h:
    (JSC::StackFrame::toString):
    
    Source/WebCore:
    
    * Modules/websockets/WebSocketHandshake.cpp:
    (WebCore::hostName):
    * bindings/v8/ScriptController.cpp:
    (WebCore::resourceString):
    * css/FontFeatureValue.cpp:
    (WebCore::FontFeatureValue::customCssText):
    * dom/Position.cpp:
    (WebCore::Position::formatForDebugger):
    * dom/Range.cpp:
    (WebCore::Range::formatForDebugger):
    * html/FormController.cpp:
    (WebCore::FormKeyGenerator::formKey):
    * html/HTMLAnchorElement.cpp:
    (WebCore::appendServerMapMousePosition):
    * html/canvas/CanvasRenderingContext2D.cpp:
    (WebCore::CanvasRenderingContext2D::font):
    * inspector/IdentifiersFactory.cpp:
    (WebCore::IdentifiersFactory::addProcessIdPrefixTo):
    * page/FrameTree.cpp:
    (WebCore::FrameTree::uniqueChildName):
    * page/SecurityOrigin.cpp:
    (WebCore::SecurityOrigin::toRawString):
    * platform/Decimal.cpp:
    (WebCore::Decimal::toString):
    * platform/network/ProxyServer.cpp:
    (WebCore::appendProxyServerString):
    * platform/text/TextStream.cpp:
    (WebCore::TextStream::operator<<):
    * platform/text/TextStream.h:
    * rendering/RenderTreeAsText.cpp:
    (WebCore::nodePosition):
    * xml/XMLErrors.cpp:
    (WebCore::XMLErrors::appendErrorMessage):
    
    Source/WTF:
    
    * wtf/DateMath.cpp:
    (WTF::makeRFC2822DateString):
    * wtf/text/StringBuilder.cpp:
    (WTF::StringBuilder::appendNumber):
    * wtf/text/StringBuilder.h:
    (StringBuilder):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4d255977
JavaScriptCore.def 22.9 KB