[webkit-changes] [WebKit/WebKit] 51549f: Reduce use of strstr() in the codebase

Chris Dumez noreply at github.com
Tue Jan 21 12:24:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51549f23c7f2ef9ae0c98ddb9581b4793de4f49f
      https://github.com/WebKit/WebKit/commit/51549f23c7f2ef9ae0c98ddb9581b4793de4f49f
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/Assertions.cpp
    M Source/WTF/wtf/DataLog.cpp
    M Source/WTF/wtf/DateMath.cpp
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm
    M Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
    M Source/WebKit/Shared/API/c/WKURL.cpp
    M Source/WebKit/Shared/API/c/WKURL.h
    M Source/WebKit/UIProcess/ResponsivenessTimer.cpp
    M Tools/DumpRenderTree/mac/DumpRenderTree.mm
    M Tools/Scripts/webkitpy/style/checkers/cpp.py
    M Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
    M Tools/WebKitTestRunner/TestController.cpp
    M Tools/WebKitTestRunner/TestController.h

  Log Message:
  -----------
  Reduce use of strstr() in the codebase
https://bugs.webkit.org/show_bug.cgi?id=286276

Reviewed by Darin Adler.

* Source/WTF/wtf/Assertions.cpp:
(WTF::createWithFormatAndArguments):
* Source/WTF/wtf/DataLog.cpp:
(WTF::initializeLogFileOnce):
(WTF::setDataFile):
* Source/WTF/wtf/DateMath.cpp:
(WTF::findMonth):
* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::initializeEGLDisplay):
(WebCore::GraphicsContextGLCocoa::platformInitializeContext):
* Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:
(WebCore::GraphicsContextGLTextureMapperANGLE::platformInitializeContext):
* Source/WebKit/UIProcess/ResponsivenessTimer.cpp:
(WebKit::ResponsivenessTimer::mayBecomeUnresponsive const):
* Tools/DumpRenderTree/mac/DumpRenderTree.mm:
(shouldLogFrameLoadDelegates):
(shouldLogHistoryDelegates):
(shouldDumpAsText):
(shouldMakeViewportFlexible):
(shouldUseEphemeralSession):
(runTest):
* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_safer_cpp):
(CppChecker):
* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_safer_cpp):
* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::createTestURL):
* Tools/WebKitTestRunner/TestController.h:

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



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


More information about the webkit-changes mailing list