Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7a039c8cf8011ef0a2a405b7a3ada7dbd0db6f43
https://github.com/WebKit/WebKit/commit/7a039c8cf8011ef0a2a405b7a3ada7dbd0db6f43
Author: Chris Dumez <[email protected]>
Date: 2024-11-16 (Sat, 16 Nov 2024)
Changed paths:
M Source/JavaScriptCore/API/OpaqueJSString.cpp
M Source/JavaScriptCore/runtime/IntlLocale.cpp
M Source/JavaScriptCore/runtime/JSString.cpp
M Source/JavaScriptCore/runtime/JSStringInlines.h
M Source/JavaScriptCore/runtime/JSStringJoiner.cpp
M Source/JavaScriptCore/runtime/StringPrototype.cpp
M Source/JavaScriptCore/runtime/StringPrototypeInlines.h
M Source/WTF/wtf/HexNumber.h
M Source/WTF/wtf/ObjectIdentifier.h
M Source/WTF/wtf/UUID.h
M Source/WTF/wtf/text/Base64.h
M Source/WTF/wtf/text/MakeString.h
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/StringBuilderJSON.cpp
M Source/WTF/wtf/text/StringConcatenate.h
M Source/WTF/wtf/text/StringConcatenateNumbers.h
M Source/WTF/wtf/text/StringImpl.h
M Source/WTF/wtf/text/StringView.h
M Source/WTF/wtf/text/cf/StringConcatenateCF.h
M Source/WTF/wtf/text/cocoa/ContextualizedNSString.mm
M
Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
M Source/WebCore/platform/ProcessQualified.h
M Source/WebCore/platform/graphics/StringTruncator.cpp
M Source/WebCore/platform/graphics/win/FontCacheWin.cpp
M Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp
M Source/WebCore/platform/win/PasteboardWin.cpp
M Source/WebGPU/WGSL/Types.h
M Source/WebKit/Shared/API/c/WKString.cpp
M Tools/TestWebKitAPI/Tests/WTF/MoveOnly.h
M Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
Log Message:
-----------
Update StringView::getCharacters() to take in a span
https://bugs.webkit.org/show_bug.cgi?id=283099
Reviewed by Geoffrey Garen.
* Source/JavaScriptCore/API/OpaqueJSString.cpp:
(OpaqueJSString::characters):
* Source/JavaScriptCore/runtime/IntlLocale.cpp:
(JSC::LocaleIDBuilder::setKeywordValue):
* Source/JavaScriptCore/runtime/JSString.cpp:
(JSC::JSRopeString::resolveRopeInternalNoSubstring const):
(JSC::JSRopeString::resolveRopeToAtomString const):
(JSC::JSRopeString::resolveRopeToExistingAtomString const):
(JSC::JSRopeString::resolveRopeWithFunction const):
* Source/JavaScriptCore/runtime/JSString.h:
* Source/JavaScriptCore/runtime/JSStringInlines.h:
(JSC::repeatCharacter):
(JSC::JSRopeString::resolveToBufferSlow):
(JSC::JSRopeString::resolveToBuffer):
(JSC::jsAtomString):
* Source/JavaScriptCore/runtime/JSStringJoiner.cpp:
(JSC::appendStringToData):
(JSC::appendStringToDataWithOneCharacterSeparatorRepeatedly):
(JSC::joinStrings):
* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::jsSpliceSubstrings):
(JSC::normalize):
* Source/JavaScriptCore/runtime/StringPrototypeInlines.h:
(JSC::jsSpliceSubstringsWithSeparators):
* Source/WTF/wtf/HexNumber.h:
(WTF::StringTypeAdapter<HexNumberBuffer>::writeTo const):
* Source/WTF/wtf/ObjectIdentifier.h:
(WTF::ObjectIdentifierGenericBaseStringTypeAdapter<uint64_t>::writeTo const):
* Source/WTF/wtf/UUID.h:
(WTF::StringTypeAdapter<UUID>::writeTo const):
* Source/WTF/wtf/text/Base64.h:
(WTF::StringTypeAdapter<Base64Specification>::writeTo const):
* Source/WTF/wtf/text/MakeString.h:
(WTF::tryMakeStringImplFromAdaptersInternal):
(WTF::tryMakeAtomStringFromAdapters):
* Source/WTF/wtf/text/StringBuilder.cpp:
(WTF::StringBuilder::extendBufferForAppendingLChar):
(WTF::StringBuilder::extendBufferForAppendingWithUpconvert):
(WTF::StringBuilder::append):
* Source/WTF/wtf/text/StringBuilder.h:
(WTF::StringBuilder::appendFromAdapters):
* Source/WTF/wtf/text/StringBuilderInternals.h:
(WTF::StringBuilder::allocateBuffer):
(WTF::StringBuilder::extendBufferForAppending):
(WTF::StringBuilder::extendBufferForAppendingSlowCase):
* Source/WTF/wtf/text/StringBuilderJSON.cpp:
(WTF::StringBuilder::appendQuotedJSONString):
* Source/WTF/wtf/text/StringConcatenate.h:
(WTF::StringTypeAdapter<std::tuple<StringTypes::writeTo const):
(WTF::StringTypeAdapter<PaddingSpecification<UnderlyingElementType>>::writeTo
const):
(WTF::stringTypeAdapterAccumulator):
* Source/WTF/wtf/text/StringConcatenateNumbers.h:
(WTF::StringTypeAdapter<FormattedNumber>::writeTo const):
(WTF::StringTypeAdapter<FormattedCSSNumber>::writeTo const):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::tryCreateUninitialized):
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::getCharacters8 const):
(WTF::StringView::getCharacters16 const):
(WTF::StringView::getCharacters const):
(WTF::append):
* Source/WTF/wtf/text/cf/StringConcatenateCF.h:
(WTF::StringTypeAdapter<CFStringRef>::writeTo<LChar> const):
(WTF::StringTypeAdapter<CFStringRef>::writeTo<UChar> const):
* Source/WTF/wtf/text/cocoa/ContextualizedNSString.mm:
(-[WTFContextualizedNSString getCharacters:range:]):
* Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
(WebCore::ThreadableWebSocketChannelClientWrapper::setSubprotocol):
(WebCore::ThreadableWebSocketChannelClientWrapper::setExtensions):
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::normalizeSpaces):
* Source/WebCore/platform/ProcessQualified.h:
(WTF::ProcessQualifiedStringTypeAdapter::writeTo const):
* Source/WebCore/platform/graphics/StringTruncator.cpp:
(WebCore::centerTruncateToBuffer):
(WebCore::rightTruncateToBuffer):
(WebCore::rightClipToCharacterBuffer):
(WebCore::rightClipToWordBuffer):
(WebCore::leftTruncateToBuffer):
(WebCore::truncateString):
* Source/WebCore/platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::systemFallbackForCharacterCluster):
(WebCore::createGDIFont):
(WebCore::FontCache::getFontSelectionCapabilitiesInFamily):
* Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp:
(WebCore::createGlobalData):
* Source/WebCore/platform/win/PasteboardWin.cpp:
(WebCore::fileSystemPathFromURLOrTitle):
(WebCore::Pasteboard::writeURLToDataObject):
(WebCore::createGlobalImageFileDescriptor):
* Source/WebGPU/WGSL/Types.h:
* Source/WebKit/Shared/API/c/WKString.cpp:
(WKStringGetCharacters):
* Tools/TestWebKitAPI/Tests/WTF/MoveOnly.h:
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTF::StringTypeAdapter<WKStringRef>::writeTo<LChar> const):
(WTF::StringTypeAdapter<WKStringRef>::writeTo<UChar> const):
Canonical link: https://commits.webkit.org/286694@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