Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67a879c31de358001ebd9ab1006d534c14bd8de5
      
https://github.com/WebKit/WebKit/commit/67a879c31de358001ebd9ab1006d534c14bd8de5
  Author: Chris Dumez <cdu...@apple.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/CachedTypes.cpp
    M Source/JavaScriptCore/runtime/JSONObject.cpp
    M Source/JavaScriptCore/runtime/JSString.cpp
    M Source/JavaScriptCore/runtime/StringPrototype.cpp
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/URLParser.cpp
    M Source/WTF/wtf/text/AtomString.cpp
    M Source/WTF/wtf/text/AtomStringImpl.cpp
    M Source/WTF/wtf/text/StringBuilder.cpp
    M Source/WTF/wtf/text/StringBuilder.h
    M Source/WTF/wtf/text/StringBuilderInternals.h
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/WTFString.h
    M Source/WTF/wtf/text/cf/StringImplCF.cpp
    M Source/WebCore/css/parser/CSSTokenizerInputStream.cpp
    M Source/WebCore/css/parser/CSSTokenizerInputStream.h
    M Source/WebCore/dom/DatasetDOMStringMap.cpp
    M Source/WebCore/platform/text/SegmentedString.h
    M Tools/TestWebKitAPI/Tests/WTF/StringImpl.cpp
    M Tools/TestWebKitAPI/cocoa/HTTPServer.mm

  Log Message:
  -----------
  Drop StringImpl::characters8() / characters16()
https://bugs.webkit.org/show_bug.cgi?id=273376

Reviewed by Darin Adler.

Drop StringImpl::characters8() / characters16() in favor of span equivalents.

* Source/JavaScriptCore/runtime/CachedTypes.cpp:
(JSC::CachedUniquedStringImplBase::encode):
* Source/JavaScriptCore/runtime/JSONObject.cpp:
(JSC::FastStringifier<CharType>::append):
* Source/JavaScriptCore/runtime/JSString.cpp:
(JSC::JSString::dumpToStream):
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::spanConstCast):
* Source/WTF/wtf/URLParser.cpp:
(WTF::URLParser::domainToASCII):
* Source/WTF/wtf/text/AtomString.cpp:
(WTF::AtomString::convertASCIICase const):
* Source/WTF/wtf/text/AtomStringImpl.cpp:
(WTF::HashAndUTF8CharactersTranslator::equal):
* Source/WTF/wtf/text/StringBuilder.cpp:
(WTF::StringBuilder::shrink):
(WTF::StringBuilder::extendBufferForAppendingWithUpconvert):
* Source/WTF/wtf/text/StringBuilder.h:
(WTF::StringBuilder::append):
(WTF::StringBuilder::characters const):
* Source/WTF/wtf/text/StringBuilderInternals.h:
(WTF::StringBuilder::extendBufferForAppending):
(WTF::StringBuilder::extendBufferForAppendingSlowCase):
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::simplifyMatchedCharactersToSpace):
(WTF::StringImpl::find):
(WTF::equalInner):
(WTF::equalInternal):
(WTF::equal):
(WTF::equalIgnoringNullity):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::span8 const):
(WTF::StringImpl::span16 const):
(WTF::StringImpl::span<LChar> const):
(WTF::StringImpl::span<UChar> const):
(WTF::StringImpl::containsOnlyLatin1 const):
(WTF::StringImpl::removeCharactersImpl):
(WTF::StringImpl::removeCharacters):
(WTF::StringImpl::characters8 const): Deleted.
(WTF::StringImpl::characters16 const): Deleted.
(WTF::StringImpl::span const): Deleted.
(WTF::StringImpl::characters<LChar> const): Deleted.
(WTF::StringImpl::characters<UChar> const): Deleted.
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::characterAt const):
* Source/WTF/wtf/text/cf/StringImplCF.cpp:
(WTF::StringImpl::createCFString):
* Source/WTF/wtf/unicode/UTF8Conversion.cpp:
(WTF::Unicode::equalUTF16WithUTF8):
(WTF::Unicode::equalLatin1WithUTF8):
* Source/WTF/wtf/unicode/UTF8Conversion.h:
* Source/WebCore/css/parser/CSSTokenizerInputStream.cpp:
(WebCore::CSSTokenizerInputStream::advanceUntilNonWhitespace):
* Source/WebCore/css/parser/CSSTokenizerInputStream.h:
(WebCore::CSSTokenizerInputStream::characterPredicate):
* Source/WebCore/dom/DatasetDOMStringMap.cpp:
(WebCore::convertPropertyNameToAttributeName):
* Source/WebCore/platform/text/SegmentedString.h:
(WebCore::SegmentedString::Substring::Substring):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to