Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc25bb5d4a2f1e9c8b1deed9546d6a8bdf38a6cf
      
https://github.com/WebKit/WebKit/commit/dc25bb5d4a2f1e9c8b1deed9546d6a8bdf38a6cf
  Author: Ryosuke Niwa <[email protected]>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/WebCoreMacros.cmake
    R Source/WebCore/dom/EventNames.cpp
    R Source/WebCore/dom/EventNames.h
    A Source/WebCore/dom/EventNames.json
    A Source/WebCore/dom/make-event-names.py
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp

  Log Message:
  -----------
  Generate EventNames.h and EventNames.cpp from a JSON file
https://bugs.webkit.org/show_bug.cgi?id=267125

Reviewed by Elliott Williams, Tim Nguyen and David Kilzer.

This PR replaces EventNames.h with EventNames.json to generate EventNames.h and 
EventNames.cpp.

The newly introduced JSON file contains a dictionary of event names to their 
entries.
Each entry optionally specifies build condition and a set of types it belongs 
such as
"Gamepad" and "TouchRelated".

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/WebCoreMacros.cmake:
* Source/WebCore/dom/EventNames.cpp: Removed.
* Source/WebCore/dom/EventNames.h: Removed.
* Source/WebCore/dom/EventNames.json: Added.
* Source/WebCore/dom/make-event-names.py: Added.
(lowercaseFirstLetter):
(main):
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::getSupportedEventNames):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to