Closed Bug 498440 Opened 16 years ago Closed 13 years ago

[DXR] Add xpidl_xref for data extraction from idl

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: humph, Assigned: humph)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached patch xpidl_xref patch (obsolete) — Splinter Review
In order to obtain proper loc and naming info from idl, dxr uses xpidl_xref. Currently I do this by writing my own rule for idl generation in a myrules file, and patch my tree's xpcom/typelib/xpidl. However, if this is something we can take in the tree, it makes it easier to do this without having to alter your tree or build system. Ted first started this, and I've extended it. There are still a few cases I don't handle yet, for example inline C++. But most of it is done now.
Attachment #383316 - Flags: review?(benjamin)
Attached patch patch v2Splinter Review
Same patch, but all uses of _line are replaced with _line - 1 in order to fix the fact that I'm off by one whenever I don't.
Attachment #383316 - Attachment is obsolete: true
Attachment #385297 - Flags: review?(benjamin)
Attachment #383316 - Flags: review?(benjamin)
Benjamin, should we consider changing reviewers on this to Ted instead of you?
How about this instead? There may be something missing for typedefs, because I didn't get any sample output for that, but I think this matches the sample output that I saw.
Attachment #405566 - Flags: review?(david.humphrey)
Attachment #385297 - Flags: review?(benjamin)
Attachment #405566 - Flags: review?(david.humphrey)
Not necessary for DXR anymore (with the python parser and some myrules.mk changes, there's no need to modify mozilla's build system).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: