Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 71722b6d074a9916f2bce4c4d9d567f5daf0a60c
      
https://github.com/WebKit/WebKit/commit/71722b6d074a9916f2bce4c4d9d567f5daf0a60c
  Author: Chris Dumez <[email protected]>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M Source/JavaScriptCore/API/JSScript.mm
    M Source/JavaScriptCore/jsc.cpp
    M Source/JavaScriptCore/runtime/CachedTypes.cpp
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/FileHandle.cpp
    M Source/WTF/wtf/FileHandle.h
    M Source/WTF/wtf/FileSystem.cpp
    M Source/WTF/wtf/FileSystem.h
    M Source/WTF/wtf/PlatformGTK.cmake
    M Source/WTF/wtf/PlatformJSCOnly.cmake
    M Source/WTF/wtf/PlatformMac.cmake
    M Source/WTF/wtf/PlatformPlayStation.cmake
    M Source/WTF/wtf/PlatformWPE.cmake
    M Source/WTF/wtf/PlatformWin.cmake
    A Source/WTF/wtf/posix/FileHandlePOSIX.cpp
    M Source/WTF/wtf/posix/FileSystemPOSIX.cpp
    A Source/WTF/wtf/win/FileHandleWin.cpp
    M Source/WTF/wtf/win/FileSystemWin.cpp
    M Source/WebCore/contentextensions/SerializedNFA.cpp
    M Source/WebKit/NetworkProcess/cache/NetworkCacheData.cpp

  Log Message:
  -----------
  Move some of the FileSystem API inside FileSystem::FileHandle
https://bugs.webkit.org/show_bug.cgi?id=289769

Reviewed by Darin Adler.

* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/FileHandle.cpp:
(WTF::FileSystemImpl::FileHandle::closeIfNecessary):
(WTF::FileSystemImpl::FileHandle::read): Deleted.
(WTF::FileSystemImpl::FileHandle::write): Deleted.
(WTF::FileSystemImpl::FileHandle::lock): Deleted.
(WTF::FileSystemImpl::FileHandle::truncate): Deleted.
(WTF::FileSystemImpl::FileHandle::seek): Deleted.
(WTF::FileSystemImpl::FileHandle::flush): Deleted.
(WTF::FileSystemImpl::FileHandle::id): Deleted.
* Source/WTF/wtf/FileHandle.h:
* Source/WTF/wtf/FileSystem.h:
* Source/WTF/wtf/PlatformGTK.cmake:
* Source/WTF/wtf/PlatformJSCOnly.cmake:
* Source/WTF/wtf/PlatformMac.cmake:
* Source/WTF/wtf/PlatformPlayStation.cmake:
* Source/WTF/wtf/PlatformWPE.cmake:
* Source/WTF/wtf/PlatformWin.cmake:
* Source/WTF/wtf/posix/FileHandlePOSIX.cpp: Added.
(WTF::FileSystemImpl::FileHandle::read):
(WTF::FileSystemImpl::FileHandle::write):
(WTF::FileSystemImpl::FileHandle::truncate):
(WTF::FileSystemImpl::FileHandle::flush):
(WTF::FileSystemImpl::FileHandle::seek):
(WTF::FileSystemImpl::FileHandle::id):
(WTF::FileSystemImpl::FileHandle::close):
(WTF::FileSystemImpl::FileHandle::lock):
(WTF::FileSystemImpl::FileHandle::unlock):
* Source/WTF/wtf/posix/FileSystemPOSIX.cpp:
(WTF::FileSystemImpl::closeFile): Deleted.
(WTF::FileSystemImpl::seekFile): Deleted.
(WTF::FileSystemImpl::truncateFile): Deleted.
(WTF::FileSystemImpl::flushFile): Deleted.
(WTF::FileSystemImpl::writeToFile): Deleted.
(WTF::FileSystemImpl::readFromFile): Deleted.
(WTF::FileSystemImpl::lockFile): Deleted.
(WTF::FileSystemImpl::unlockFile): Deleted.
(WTF::FileSystemImpl::fileID): Deleted.
* Source/WTF/wtf/win/FileHandleWin.cpp: Added.
(WTF::FileSystemImpl::FileHandle::read):
(WTF::FileSystemImpl::FileHandle::write):
(WTF::FileSystemImpl::FileHandle::flush):
(WTF::FileSystemImpl::FileHandle::truncate):
(WTF::FileSystemImpl::FileHandle::seek):
(WTF::FileSystemImpl::FileHandle::id):
(WTF::FileSystemImpl::FileHandle::close):
(WTF::FileSystemImpl::FileHandle::lock):
(WTF::FileSystemImpl::FileHandle::unlock):
* Source/WTF/wtf/win/FileSystemWin.cpp:
(WTF::FileSystemImpl::fileID): Deleted.
(WTF::FileSystemImpl::closeFile): Deleted.
(WTF::FileSystemImpl::seekFile): Deleted.
(WTF::FileSystemImpl::truncateFile): Deleted.
(WTF::FileSystemImpl::flushFile): Deleted.
(WTF::FileSystemImpl::writeToFile): Deleted.
(WTF::FileSystemImpl::readFromFile): Deleted.

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

Reply via email to