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

  Changed paths:
    M Source/JavaScriptCore/API/ObjcRuntimeExtras.h
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/parser/UnlinkedSourceCode.cpp
    M Source/JavaScriptCore/runtime/IntlLocale.cpp
    M Source/WTF/wtf/StringHashDumpContext.h
    M Source/WTF/wtf/StringPrintStream.cpp
    M Source/WTF/wtf/cf/FileSystemCF.cpp
    M Source/WTF/wtf/cocoa/NSURLExtras.mm
    M Source/WTF/wtf/glib/FileSystemGlib.cpp
    M Source/WTF/wtf/text/CString.cpp
    M Source/WTF/wtf/text/CString.h
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringView.cpp
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WebCore/Modules/webtransport/WebTransport.cpp
    M Source/WebKit/UIProcess/API/gtk/WebKitInputMethodContextImplGtk.cpp
    M Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
    M Tools/TestWebKitAPI/Tests/WTF/CString.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/CryptoDigest.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitNetworkSession.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp

  Log Message:
  -----------
  Drop CString constructors taking in a raw pointer and a length
https://bugs.webkit.org/show_bug.cgi?id=272179

Reviewed by Darin Adler.

Drop CString constructors taking in a raw pointer and a length, in favor of the
ones taking in a std::span.

* Source/JavaScriptCore/API/ObjcRuntimeExtras.h:
(StringRange::StringRange):
* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::inferredName const):
* Source/JavaScriptCore/parser/UnlinkedSourceCode.cpp:
(JSC::UnlinkedSourceCode::toUTF8 const):
* Source/JavaScriptCore/runtime/IntlLocale.cpp:
(JSC::LocaleIDBuilder::toCanonical):
* Source/WTF/wtf/StringHashDumpContext.h:
(WTF::StringHashDumpContext::getID):
* Source/WTF/wtf/StringPrintStream.cpp:
(WTF::StringPrintStream::toCString):
* Source/WTF/wtf/cf/FileSystemCF.cpp:
(WTF::FileSystem::fileSystemRepresentation):
* Source/WTF/wtf/cocoa/NSURLExtras.mm:
(WTF::userVisibleString):
* Source/WTF/wtf/text/CString.cpp:
(WTF::CString::CString):
(WTF::CString::init):
* Source/WTF/wtf/text/CString.h:
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::utf8ForCharacters):
* Source/WTF/wtf/text/StringView.cpp:
(WTF::StringView::tryGetUTF8 const):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::latin1 const):
(WTF::String::tryGetUTF8 const):
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
(WebCore::trimToValidUTF8Length1024):
* Tools/TestWebKitAPI/Tests/WTF/CString.cpp:
(TEST(WTF, CStringNullStringConstructor)):
(TEST(WTF, CStringEmptyEmptyConstructor)):
(TEST(WTF, CStringEmptyRegularConstructor)):
(TEST(WTF, CStringZeroTerminated)):
* Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp:
(TestWebKitAPI::TEST(CBORWriterTest, TestWriteUint)):
(TestWebKitAPI::TEST(CBORWriterTest, TestWriteNegativeInteger)):

Canonical link: https://commits.webkit.org/277140@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