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 651848 - Missing spaces in man page output
Missing spaces in man page output
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.4
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-06-04 11:47 UTC by Mattias Ellert
Modified: 2014-12-25 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example header (813 bytes, text/x-chdr)
2011-06-04 11:47 UTC, Mattias Ellert
  Details
Generated man page (998 bytes, application/x-troff-man)
2011-06-04 11:49 UTC, Mattias Ellert
  Details
fix/patch for missing space in man-page argument-list (800 bytes, patch)
2012-10-31 18:51 UTC, Robin Gareus
none Details | Review

Description Mattias Ellert 2011-06-04 11:47:20 UTC
Created attachment 189208 [details]
Example header

A. No-pointer arguments to functions lack a space between the type and the name in the Function Documentation section of a man page:

Function Documentation
   void testfunc (int *arg1, intarg2) Test


B. There are no spaces after the commas in a Defines declaration which prevents proper line breaks in when the man page is displayed:

   Defines
       #define
           LongDef(longargument1,longargument2,longargument3,longargument4,longargument5)
Comment 1 Mattias Ellert 2011-06-04 11:49:00 UTC
Created attachment 189209 [details]
Generated man page
Comment 2 Robin Gareus 2012-10-31 18:50:19 UTC
The problem persists with 1.8.2.

This is related to "bool hasFuncPtrType=FALSE;" never being set (legacy? cruft?).

attached patch "doxygen_1.8.2-man_page_argument_list_fix.diff" works for me.
Comment 3 Robin Gareus 2012-10-31 18:51:34 UTC
Created attachment 227750 [details] [review]
fix/patch for missing space in man-page argument-list
Comment 4 Matteo Cypriani 2014-02-11 20:17:39 UTC
This bug is still present as of Doxygen 1.8.6. Was Robin's patch ever reviewed?
Comment 5 Mattias Ellert 2014-08-31 17:33:03 UTC
https://github.com/doxygen/doxygen/pull/214
Comment 6 Dimitri van Heesch 2014-09-03 20:40:15 UTC
Thanks, I've just merged the pull request.
Comment 7 Dimitri van Heesch 2014-12-25 16:03:07 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferrably in the form of a self-contained example).