Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aaab02499929aec8c40826df583b709382e1cf56
      
https://github.com/WebKit/WebKit/commit/aaab02499929aec8c40826df583b709382e1cf56
  Author: Richard Robinson <richard_robins...@apple.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M Configurations/CommonBase.xcconfig
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h
    M Source/JavaScriptCore/heap/CellAttributes.h
    M Source/WTF/Scripts/modulemap-from-tapi-filelist.py
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/accessibility/mac/CocoaAccessibilityConstants.h
    M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
    M Source/WebCore/contentextensions/ContentExtensionActions.h
    M Source/WebCore/crypto/CryptoAlgorithm.h
    M Source/WebCore/css/MediaQueryList.cpp
    M Source/WebCore/dom/AddEventListenerOptions.h
    A Source/WebCore/dom/AddEventListenerOptionsInlines.h
    M Source/WebCore/dom/EventListenerMap.cpp
    M Source/WebCore/dom/EventTarget.cpp
    M Source/WebCore/dom/EventTarget.h
    M Source/WebCore/html/HTMLAttachmentElement.cpp
    M Source/WebCore/html/ImageDocument.cpp
    M Source/WebCore/html/PDFDocument.cpp
    M Source/WebCore/html/canvas/WebGLExtension.h
    M Source/WebCore/html/canvas/WebGLExtensionAny.h
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp
    M Source/WebCore/page/cocoa/WebTextIndicatorLayer.h
    M Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.mm
    M Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm
    M Source/WebCore/platform/graphics/Color.h
    M Source/WebCore/platform/graphics/ColorSpace.h
    M Source/WebCore/platform/graphics/ColorTypes.h
    M Source/WebCore/platform/graphics/DestinationColorSpace.h
    M Source/WebCore/platform/graphics/Path.h
    M Source/WebCore/platform/graphics/transforms/AffineTransform.h
    R Source/WebCore/platform/ios/wak/WAKAppKitStubs.m
    A Source/WebCore/platform/ios/wak/WAKAppKitStubs.mm
    R Source/WebCore/platform/ios/wak/WAKClipView.m
    A Source/WebCore/platform/ios/wak/WAKClipView.mm
    R Source/WebCore/platform/ios/wak/WAKResponder.m
    A Source/WebCore/platform/ios/wak/WAKResponder.mm
    R Source/WebCore/platform/ios/wak/WKUtilities.c
    A Source/WebCore/platform/ios/wak/WKUtilities.cpp
    M Source/WebCore/platform/ios/wak/WebCoreThreadInternal.h
    R Source/WebCore/platform/mac/WebCoreView.m
    A Source/WebCore/platform/mac/WebCoreView.mm
    M Source/WebCore/rendering/EventRegion.h
    M Source/WebCore/style/values/text-decoration/StyleTextDecorationLine.h
    M Source/WebCore/svg/SVGTRefElement.cpp
    M Source/WebCore/svg/animation/SVGSMILElement.cpp
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/workers/service/ServiceWorkerContainer.cpp
    M Source/WebCore/workers/service/ServiceWorkerContainer.h
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.mm
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm
    M Source/WebKitLegacy/mac/DOM/DOMNode.mm

  Log Message:
  -----------
  [Swift in WebKit] Work towards modularizing WebCore private headers (Part 10)
https://bugs.webkit.org/show_bug.cgi?id=298068
rdar://159395829

Reviewed by Aditya Keerthi.

More changes to support modularization of WebCore; details inline.

* Configurations/CommonBase.xcconfig:

Add __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 to 
GCC_PREPROCESSOR_DEFINITIONS; this is needed so that it is 0
when building with modules (it's already defined as 0 in wtf/Platform.h, but 
that does not affect modules).

* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:

Make some headers project instead of private.

* Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:
* Source/JavaScriptCore/heap/CellAttributes.h:
* Source/WebCore/contentextensions/ContentExtensionActions.h:
* Source/WebCore/crypto/CryptoAlgorithm.h:
* Source/WebCore/page/cocoa/WebTextIndicatorLayer.h:
* Source/WebCore/platform/graphics/Color.h:
* Source/WebCore/platform/graphics/ColorSpace.h:
* Source/WebCore/platform/graphics/ColorTypes.h:
* Source/WebCore/platform/graphics/DestinationColorSpace.h:
* Source/WebCore/platform/graphics/Path.h:
* Source/WebCore/platform/graphics/transforms/AffineTransform.h:
* Source/WebCore/style/values/text-decoration/StyleTextDecorationLine.h:
* Source/WebCore/svg/SVGTRefElement.cpp:
* Source/WebCore/svg/animation/SVGSMILElement.cpp:
* Source/WebCore/testing/Internals.cpp:
* Source/WebCore/workers/service/ServiceWorkerContainer.cpp:
* Source/WebCore/workers/service/ServiceWorkerContainer.h:

- Fix some quoted imports.
- Add missing includes

* Source/WTF/Scripts/modulemap-from-tapi-filelist.py:

All modules and sub-modules should always `export *` so that transitive 
dependency behavior remains intact.
Consequently, update the script to add this.

* Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp:
* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
(WriteData):
* Source/WebCore/css/MediaQueryList.cpp:
* Source/WebCore/dom/EventListenerMap.cpp:
* Source/WebCore/dom/EventTarget.cpp:
* Source/WebCore/html/HTMLAttachmentElement.cpp:
* Source/WebCore/html/ImageDocument.cpp:
* Source/WebCore/html/PDFDocument.cpp:
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
* Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp:
* Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.mm:
* Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm:
* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.mm:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm:
* Source/WebKitLegacy/mac/DOM/DOMNode.mm:

Use the AddEventListenerOptionsInlines.h file instead of 
AddEventListenerOptions.h

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

* Source/WebCore/accessibility/mac/CocoaAccessibilityConstants.h:

Fix typo and missed #define.

* Source/WebCore/dom/AddEventListenerOptions.h:
(WebCore::AddEventListenerOptions::AddEventListenerOptions): Deleted.
* Source/WebCore/dom/AddEventListenerOptionsInlines.h: Copied from 
Source/WebCore/dom/AddEventListenerOptions.h.
(WebCore::AddEventListenerOptions::AddEventListenerOptions):

Refactor the AddEventListenerOptions slightly to avoid an #include ordering 
issue due to a cycle.

* Source/WebCore/dom/EventTarget.h:

Include AddEventListenerOptions instead of using a forward declaration since 
the full type is needed for the variant
that uses it.

* Source/WebCore/html/canvas/WebGLExtension.h:
* Source/WebCore/html/canvas/WebGLExtensionAny.h:

Add missing newline and remove unnecessary forward declaration

* Source/WebCore/platform/ios/wak/WAKAppKitStubs.mm: Renamed from 
Source/WebCore/platform/ios/wak/WAKAppKitStubs.m.
* Source/WebCore/platform/ios/wak/WAKClipView.mm: Renamed from 
Source/WebCore/platform/ios/wak/WAKClipView.m
* Source/WebCore/platform/ios/wak/WAKResponder.mm: Renamed from 
Source/WebCore/platform/ios/wak/WAKResponder.m.
* Source/WebCore/platform/ios/wak/WKUtilities.cpp: Renamed from 
Source/WebCore/platform/ios/wak/WKUtilities.c.
* Source/WebCore/platform/mac/WebCoreView.mm: Renamed from 
Source/WebCore/platform/mac/WebCoreView.m.

Make these files .cpp/.mm for consistency, to avoid module issues.

* Source/WebCore/platform/ios/wak/WebCoreThreadInternal.h:

Add a guard for a function that only is implemented on iOS.

* Source/WebCore/rendering/EventRegion.h:

Use NodeIdentifier include instead of Node.

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