Basic support for IPDL works again in SearchFox

29 views
Skip to first unread message

Andrew McCreight

unread,
Jun 13, 2022, 9:32:59 AMJun 13
to dev-pl...@mozilla.org
I finally got around to updating my Rust vanity project, an IPDL parser ( https://github.com/amccreight/ipdl_parser ), to catch up with all of the changes to IPDL that have happened in the last 3 years. Thanks to Andrew Sutherland, this update has now been integrated into SearchFox, so you can click on a message in an .ipdl file and find the send and/or receive message implementations.

Here's an example IPDL file if you want to try it out:

asuth also implemented some basic smoke test coverage so hopefully we'll notice if the integration breaks.

Files like PContent.ipdl that require pre-processing due to #ifdefs and the like are still not supported.

Going forward, hopefully the IPDL parser will be less fragile due to Nika's work on making IPDL use a more uniform attribute syntax. Longer term, we may move towards having the Python IPDL compiler emit records directly.

If you have comments or questions about this or any other aspect of SearchFox, we're in the #SearchFox channel on Element. There's also a few more technical details about this update in that channel from asuth. You can also file bugs in Webtools::Searchfox in Bugzilla.

Thanks,
Andrew
Reply all
Reply to author
Forward
0 new messages