[webkit-changes] [WebKit/WebKit] efec6c: Clean up UTF-8 conversion code

EWS noreply at github.com
Mon Oct 10 09:56:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: efec6c1b6e6da5be8d38c5d3f76b5be71db8f195
      https://github.com/WebKit/WebKit/commit/efec6c1b6e6da5be8d38c5d3f76b5be71db8f195
  Author: Alex Christensen <achristensen at webkit.org>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M Source/JavaScriptCore/API/JSStringRef.cpp
    M Source/JavaScriptCore/runtime/ConsoleClient.cpp
    M Source/WTF/wtf/URL.cpp
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/text/UTF8ConversionError.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h
    M Source/WTF/wtf/unicode/UTF8Conversion.cpp
    M Source/WTF/wtf/unicode/UTF8Conversion.h
    M Source/WebCore/dom/TextEncoder.cpp
    M Source/WebCore/platform/SharedBuffer.cpp
    M Source/WebCore/platform/generic/KeyedEncoderGeneric.cpp
    M Source/WebCore/workers/ScriptBuffer.cpp
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
    M Source/WebKit/Shared/API/c/WKString.cpp

  Log Message:
  -----------
  Clean up UTF-8 conversion code
https://bugs.webkit.org/show_bug.cgi?id=233612

Reviewed by Yusuke Suzuki.

* Source/JavaScriptCore/API/JSStringRef.cpp:
(JSStringGetUTF8CString):
* Source/JavaScriptCore/runtime/ConsoleClient.cpp:
(JSC::ConsoleClient::printConsoleMessageWithArguments):
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::putUTF8Triple):
(WTF::StringImpl::utf8ForCharacters):
(WTF::StringImpl::utf8Impl): Deleted.
(WTF::StringImpl::tryGetUTF8ForRange const): Deleted.
(WTF::StringImpl::tryGetUTF8 const): Deleted.
(WTF::StringImpl::utf8 const): Deleted.
(WTF::StringImpl::hashSlowCase const): Deleted.
(WTF::StringImpl::concurrentHash const): Deleted.
* Source/WTF/wtf/text/UTF8ConversionError.h:
* Source/WTF/wtf/text/WTFString.cpp:
* Source/WTF/wtf/text/WTFString.h:
* Source/WTF/wtf/unicode/UTF8Conversion.cpp:
(WTF::Unicode::convertLatin1ToUTF8):
(WTF::Unicode::convertUTF16ToUTF8):
* Source/WTF/wtf/unicode/UTF8Conversion.h:
(): Deleted.
* Source/WebCore/platform/SharedBuffer.cpp:
(WebCore::utf8Buffer):
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::convertUTF16EntityToUTF8):
* Source/WebKit/Shared/API/c/WKString.cpp:
(WKStringGetUTF8CStringImpl):

Canonical link: https://commits.webkit.org/255348@main




More information about the webkit-changes mailing list