After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539891 - Can't use doxygen commands in *_override.xml
Can't use doxygen commands in *_override.xml
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: documentation
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-06-24 07:58 UTC by Murray Cumming
Modified: 2008-09-29 21:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.01 KB, patch)
2008-09-19 13:54 UTC, Armin Burgmeier
none Details | Review

Description Murray Cumming 2008-06-24 07:58:18 UTC
DocParser.pm's convert_tags_to_doxygen() converts all @something to @a something, breaking, for instance, @throw and @param. See:
http://svn.gnome.org/viewvc/glibmm/trunk/tools/pm/DocsParser.pm?view=markup

Someone with enough perl expertise needs to stop it from doing that. Alternatively, we could add a no_docs option to _WRAP_METHOD() and just put the documentation in the .hg file.
Comment 1 Dave Foster 2008-06-24 19:09:05 UTC
The line in question is 355, as seen in the annotation:
http://svn.gnome.org/viewvc/glibmm/trunk/tools/pm/DocsParser.pm?annotate=676

I don't have enough context to know what to change it to, however.  It seems that its designed to be translating gtkdoc style var references to doxygen style var references, but if it is translating things like @throw and @param, that would indicate this function is being run on files it shouldn't be running on?  

Given the limited context, it could be possible to blacklist that substitution from running given certain keywords, but that may not be the best solution.
Comment 2 Murray Cumming 2008-06-25 06:22:24 UTC
Yes, that's the line.

> It seems that its designed to be translating gtkdoc style var references to doxygen style var references, but if it is translating things like @throw and @param, that would indicate this function is being run on files it shouldn't be running on?  

We want the *_docs_overrides.xml file to be as much like the *_docs.xml (C documentation) files as possible, with only small changes where necessary. I suppose we could stop this function from running on the *_docs_overrides.xml files, but then we would have to go through those files and manually convert them all from gtk-doc to doxygen syntax. 
Comment 3 Armin Burgmeier 2008-09-19 13:54:36 UTC
Created attachment 118999 [details] [review]
Proposed patch

This is a very simple, but working, patch.
Comment 4 Murray Cumming 2008-09-29 21:55:04 UTC
Thanks. Sorry for not seeing this until now.