Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9fb6599ff25c6305a75f2213d87c54a8d476c625
https://github.com/WebKit/WebKit/commit/9fb6599ff25c6305a75f2213d87c54a8d476c625
Author: Chris Dumez <[email protected]>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
M Source/JavaScriptCore/API/JSStringRef.cpp
M Source/JavaScriptCore/API/JSStringRefCF.cpp
M Source/JavaScriptCore/API/OpaqueJSString.h
M Source/WTF/wtf/text/StringImpl.cpp
M Source/WTF/wtf/text/StringImpl.h
M Source/WTF/wtf/unicode/UTF8Conversion.cpp
M Source/WTF/wtf/unicode/UTF8Conversion.h
M Source/WebCore/platform/SharedBuffer.cpp
M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
M Source/WebKit/Shared/API/c/WKString.cpp
Log Message:
-----------
Replace OpaqueJSString::characters8() / characters16() with span equivalents
https://bugs.webkit.org/show_bug.cgi?id=273096
Reviewed by Darin Adler.
* Source/JavaScriptCore/API/JSStringRef.cpp:
(JSStringGetUTF8CString):
* Source/JavaScriptCore/API/JSStringRefCF.cpp:
(JSStringCopyCFString):
* Source/JavaScriptCore/API/OpaqueJSString.h:
(OpaqueJSString::span8):
(OpaqueJSString::span16):
(OpaqueJSString::characters8): Deleted.
(OpaqueJSString::characters16): Deleted.
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::utf8ForCharactersIntoBuffer):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::tryGetUTF8ForCharacters):
* Source/WTF/wtf/unicode/UTF8Conversion.cpp:
(WTF::Unicode::convertLatin1ToUTF8):
(WTF::Unicode::convertUTF16ToUTF8):
* Source/WTF/wtf/unicode/UTF8Conversion.h:
* 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/277880@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes