Skip to content

Conversation

@pascoej
Copy link
Member

@pascoej pascoej commented Jan 29, 2024

2b8626d

Generate serialization for CFCharacterSetRef
https://bugs.webkit.org/show_bug.cgi?id=268338
rdar://121884571

Reviewed by Alex Christensen.

This patch moves from using a hand-rolled serializer for CFCharacterSetRef to
a generated one and expands a test to exercise it.

* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/cf/ArgumentCodersCF.cpp:
(IPC::ArgumentCoder<CFCharacterSetRef>::encode): Deleted.
(IPC::ArgumentCoder<RetainPtr<CFCharacterSetRef>>::decode): Deleted.
* Source/WebKit/Shared/cf/ArgumentCodersCF.h:
* Source/WebKit/Shared/cf/CFTypes.serialization.in:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(TEST):

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

94a8e17

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 🧪 api-mac ✅ 🧪 api-wpe
🧪 ios-wk2-wpt 🧪 mac-wk1 ✅ 🛠 gtk
✅ 🧪 api-ios 🧪 mac-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 tv ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🛠 tv-sim
✅ 🛠 🧪 merge ✅ 🛠 watch
✅ 🛠 watch-sim

@pascoej pascoej self-assigned this Jan 29, 2024
@pascoej pascoej added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label Jan 29, 2024
@pascoej pascoej force-pushed the eng/Generate-serialization-for-CFCharacterSetRef branch from a1f1c63 to bf1bed9 Compare January 29, 2024 23:18
Copy link
Contributor

@achristensen07 achristensen07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me after 2 comments addressed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2024

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should add any RELEASE_ASSERTs.

@pascoej pascoej force-pushed the eng/Generate-serialization-for-CFCharacterSetRef branch from bf1bed9 to c946f49 Compare February 2, 2024 20:20
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 2, 2024
@pascoej pascoej removed the merging-blocked Applied to prevent a change from being merged label Feb 6, 2024
@pascoej pascoej force-pushed the eng/Generate-serialization-for-CFCharacterSetRef branch from c946f49 to 6b17a19 Compare February 6, 2024 19:09
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 6, 2024
@pascoej pascoej removed the merging-blocked Applied to prevent a change from being merged label Feb 6, 2024
@pascoej pascoej force-pushed the eng/Generate-serialization-for-CFCharacterSetRef branch from 6b17a19 to 94a8e17 Compare February 6, 2024 21:06
@pascoej pascoej added the merge-queue Applied to send a pull request to merge-queue label Feb 6, 2024
https://bugs.webkit.org/show_bug.cgi?id=268338
rdar://121884571

Reviewed by Alex Christensen.

This patch moves from using a hand-rolled serializer for CFCharacterSetRef to
a generated one and expands a test to exercise it.

* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/cf/ArgumentCodersCF.cpp:
(IPC::ArgumentCoder<CFCharacterSetRef>::encode): Deleted.
(IPC::ArgumentCoder<RetainPtr<CFCharacterSetRef>>::decode): Deleted.
* Source/WebKit/Shared/cf/ArgumentCodersCF.h:
* Source/WebKit/Shared/cf/CFTypes.serialization.in:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(TEST):

Canonical link: https://commits.webkit.org/274177@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Generate-serialization-for-CFCharacterSetRef branch from 94a8e17 to 2b8626d Compare February 6, 2024 23:51
@webkit-commit-queue webkit-commit-queue merged commit 2b8626d into WebKit:main Feb 6, 2024
@webkit-commit-queue
Copy link
Collaborator

Committed 274177@main (2b8626d): https://commits.webkit.org/274177@main

Reviewed commits have been landed. Closing PR #23470 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants