[webkit-changes] [WebKit/WebKit] d1b0dd: Support #else and conditional using statements in ...
Alex Christensen
noreply at github.com
Tue Sep 19 21:53:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d1b0dd2cdba0f0f9c9c4d3a0521067eb183fb96a
https://github.com/WebKit/WebKit/commit/d1b0dd2cdba0f0f9c9c4d3a0521067eb183fb96a
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M Source/WebKit/Scripts/generate-serializers.py
M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp
M Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp
M Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in
Log Message:
-----------
Support #else and conditional using statements in messages.in files
https://bugs.webkit.org/show_bug.cgi?id=261779
rdar://115749632
Reviewed by Brady Eidson.
This will be useful for the serialization of things like WTF::ProcessID.
* Source/WebCore/workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::postMessageToWorkerObject):
* Source/WebKit/Scripts/generate-serializers.py:
(SerializedEnum.is_webkit_platform):
(EnumMember.__init__):
(ConditionalHeader.__hash__):
(UsingStatement):
(UsingStatement.__init__):
(generate_serialized_type_info):
(parse_serialized_types):
(main):
(generate_serialized_type_info.in): Deleted.
(main.in): Deleted.
* Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp:
(WTF::isValidOptionSet<EnumNamespace2::OptionSetEnumType>):
* Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp:
(WebKit::allSerializedTypes):
(WebKit::allSerializedEnums):
* Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in:
Canonical link: https://commits.webkit.org/268177@main
More information about the webkit-changes
mailing list