Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4f1bb7dd2dc7e776450937be0190abfff8cecc4
      
https://github.com/WebKit/WebKit/commit/e4f1bb7dd2dc7e776450937be0190abfff8cecc4
  Author: Chris Dumez <[email protected]>
  Date:   2026-04-05 (Sun, 05 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp
    M Source/JavaScriptCore/runtime/IdentifierInlines.h
    M Source/JavaScriptCore/runtime/IntlObjectInlines.h
    M Source/JavaScriptCore/runtime/JSString.h
    M Source/JavaScriptCore/runtime/JSStringInlines.h
    M Source/JavaScriptCore/runtime/RegExpCachedResult.cpp
    M Source/JavaScriptCore/runtime/RegExpObjectInlines.h
    M Source/JavaScriptCore/runtime/RegExpSubstringGlobalAtomCache.cpp
    M Source/JavaScriptCore/runtime/StringPrototype.cpp
    M Source/WTF/wtf/URLHelpers.cpp
    M Source/WTF/wtf/text/ASCIILiteral.h
    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/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/css/CSSMarkup.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/dom/KeyboardEvent.cpp
    M Source/WebCore/editing/cocoa/NodeHTMLConverter.mm
    M Source/WebCore/inspector/InspectorStyleSheet.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
    M Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
    M Source/WebCore/page/EventHandler.cpp
    M Source/WebCore/platform/KeyboardScrollingAnimator.cpp
    M Source/WebCore/platform/PlatformKeyboardEvent.cpp
    M Source/WebCore/platform/graphics/AV1Utilities.cpp
    M Source/WebCore/platform/graphics/TextMeasurementCache.h
    M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
    M Source/WebCore/platform/network/curl/CookieJarDB.cpp
    M Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp
    M Source/WebKit/Shared/TextExtractionToStringConversion.cpp
    M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
    M Source/WebKit/UIProcess/Automation/win/WebAutomationSessionWin.cpp
    M Tools/TestWebKitAPI/Tests/WTF/StringImpl.cpp
    M Tools/TestWebKitAPI/Tests/WTF/StringView.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp

  Log Message:
  -----------
  [WTF] Rename characterAt() / characterStartingAt() to codeUnitAt() / 
codePointAt()
https://bugs.webkit.org/show_bug.cgi?id=311504

Reviewed by Yusuke Suzuki.

Rename characterAt() / characterStartingAt() to codeUnitAt() / codePointAt() on
String and StringView.

* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileStringIndexOf):
* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(JSC::sortBucketSort):
* Source/JavaScriptCore/runtime/IdentifierInlines.h:
(JSC::Identifier::add):
* Source/JavaScriptCore/runtime/IntlObjectInlines.h:
(JSC::computeTwoCharacters16Code):
* Source/JavaScriptCore/runtime/JSString.h:
(JSC::jsString):
(JSC::jsSubstring):
(JSC::jsOwnedString):
* Source/JavaScriptCore/runtime/JSStringInlines.h:
(JSC::jsSubstringOfResolved):
* Source/JavaScriptCore/runtime/RegExpCachedResult.cpp:
(JSC::RegExpCachedResult::lastResult):
* Source/JavaScriptCore/runtime/RegExpObjectInlines.h:
(JSC::collectGlobalAtomMatches):
* Source/JavaScriptCore/runtime/RegExpSubstringGlobalAtomCache.cpp:
(JSC::RegExpSubstringGlobalAtomCache::collectMatches):
* Source/WTF/wtf/URLHelpers.cpp:
(WTF::URLHelpers::escapeUnsafeCharacters):
* Source/WTF/wtf/text/ASCIILiteral.h:
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::codePointAt):
(WTF::StringImpl::characterStartingAt): Deleted.
* Source/WTF/wtf/text/StringImpl.h:
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::codeUnitAt const):
(WTF::StringView::operator[] const):
(WTF::StringView::codePointAt const):
(WTF::StringView::CodeUnits::Iterator::operator* const):
(WTF::StringView::characterAt const): Deleted.
(WTF::StringView::characterStartingAt const): Deleted.
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::codePointAt const):
(WTF::String::characterStartingAt const): Deleted.
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::codeUnitAt const):
(WTF::String::characterAt const): Deleted.
* Source/WebCore/css/CSSMarkup.cpp:
(WebCore::serializeIdentifier):
(WebCore::serializeString):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::isCustomPropertyName):
* Source/WebCore/dom/KeyboardEvent.cpp:
(WebCore::KeyboardEvent::charCode const):
* Source/WebCore/editing/cocoa/NodeHTMLConverter.mm:
(HTMLConverter::_processText):
* Source/WebCore/inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::setRuleHeaderText):
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::InlineItemsBuilder::computeInlineBoxBoundaryTextSpacings):
(WebCore::Layout::handleTextSpacing):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::lastBaseCharacterFromText):
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::internalKeyEvent):
* Source/WebCore/platform/KeyboardScrollingAnimator.cpp:
(WebCore::keyboardScrollingKeyForKeyboardEvent):
* Source/WebCore/platform/PlatformKeyboardEvent.cpp:
(WebCore::lookup):
* Source/WebCore/platform/graphics/AV1Utilities.cpp:
(WebCore::parseAV1CodecParameters):
* Source/WebCore/platform/graphics/TextMeasurementCache.h:
(WebCore::TextMeasurementCache::invalidateCacheForTextSpacing):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:
(WebCore::ParsedResponseMessage::ParsedResponseMessage):
* Source/WebCore/platform/network/curl/CookieJarDB.cpp:
(WebCore::CookieJarDB::searchCookies):
* Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp:
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
* Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp:
(WebCore::RenderTreeBuilder::FirstLetter::createRenderers):
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::handleRunOpenPanel):
(WebKit::pressedCharKey):
* Source/WebKit/UIProcess/Automation/win/WebAutomationSessionWin.cpp:
(WebKit::WebAutomationSession::platformSimulateKeySequence):
* Tools/TestWebKitAPI/Tests/WTF/StringImpl.cpp:
(TestWebKitAPI::TEST(WTF, StringImplCodePointAtASCII)):
(TestWebKitAPI::TEST(WTF, StringImplCodePointAtBMP)):
(TestWebKitAPI::TEST(WTF, StringImplCodePointAtSupplementary)):
(TestWebKitAPI::TEST(WTF, StringImplCodePointAtLoneSurrogate)):
(TestWebKitAPI::TEST(WTF, StringImplCodePointAtNUL)):
(TestWebKitAPI::TEST(WTF, StringImplCharacterStartingAtASCII)): Deleted.
(TestWebKitAPI::TEST(WTF, StringImplCharacterStartingAtBMP)): Deleted.
(TestWebKitAPI::TEST(WTF, StringImplCharacterStartingAtSupplementary)): Deleted.
(TestWebKitAPI::TEST(WTF, StringImplCharacterStartingAtLoneSurrogate)): Deleted.
(TestWebKitAPI::TEST(WTF, StringImplCharacterStartingAtNUL)): Deleted.
* Tools/TestWebKitAPI/Tests/WTF/StringView.cpp:
(TestWebKitAPI::TEST(WTF, StringViewCodePointAtASCII)):
(TestWebKitAPI::TEST(WTF, StringViewCodePointAtBMP)):
(TestWebKitAPI::TEST(WTF, StringViewCodePointAtSupplementary)):
(TestWebKitAPI::TEST(WTF, StringViewCodePointAtLoneSurrogate)):
(TestWebKitAPI::TEST(WTF, StringViewCodePointAtNUL)):
(TestWebKitAPI::TEST(WTF, StringViewCharacterStartingAtASCII)): Deleted.
(TestWebKitAPI::TEST(WTF, StringViewCharacterStartingAtBMP)): Deleted.
(TestWebKitAPI::TEST(WTF, StringViewCharacterStartingAtSupplementary)): Deleted.
(TestWebKitAPI::TEST(WTF, StringViewCharacterStartingAtLoneSurrogate)): Deleted.
(TestWebKitAPI::TEST(WTF, StringViewCharacterStartingAtNUL)): Deleted.
* Tools/TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
(TestWebKitAPI::sequenceInstances):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to