[webkit-changes] [WebKit/WebKit] 9047d6: Replace makeprop.pl with a more structured parser/...
Sam Weinig
noreply at github.com
Mon Nov 7 10:22:42 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9047d68a603f31c0aadda6b7e42f3d9fff946006
https://github.com/WebKit/WebKit/commit/9047d68a603f31c0aadda6b7e42f3d9fff946006
Author: Sam Weinig <weinig at apple.com>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/CSSProperties.json
R Source/WebCore/css/makeprop.pl
A Source/WebCore/css/process-css-properties.py
Log Message:
-----------
Replace makeprop.pl with a more structured parser/code generator
https://bugs.webkit.org/show_bug.cgi?id=247470
rdar://101940205
Reviewed by Darin Adler.
Replaces makeprop.pl with new script, process-css-properties.py, written
in python rather than perl to make it a bit more friendly to approach for
more people.
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/makeprop.pl: Removed.
* Source/WebCore/css/process-css-properties.py: Added.
Replace makeprop.pl with process-css-properties.py
* Source/WebCore/css/CSSProperties.json:
process-css-properties.py is a bit more strict than makeprop.pl was, and
requires all declared longhands for a property to actually exist in an
enabled form. The flipside is that process-css-properties.py supports
conditionally excluded longhands like done with other parts of the format.
Canonical link: https://commits.webkit.org/256414@main
More information about the webkit-changes
mailing list