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 750016 - FILE_PATTERNS ignores arbitrary extensions
FILE_PATTERNS ignores arbitrary extensions
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.9.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2015-05-28 09:25 UTC by Eugene
Modified: 2015-06-27 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example where *.xx file is ignored (3.10 KB, application/x-zip-compressed)
2015-05-28 09:25 UTC, Eugene
Details

Description Eugene 2015-05-28 09:25:25 UTC
Created attachment 304133 [details]
Example where *.xx file is ignored

It seems FILE_PATTERNS ignores arbitrary extensions, only "known" ones are recognized. I set it like this:

FILE_PATTERNS = *.hh *.xx

But all *.xx files are ignored.
Example is attached. There are "index.hh" and "index.xx"; in "Related pages" only "index.hh" is listed. I tested also 1.8.9 and 1.8.8 - the same problem. Though in 1.7.6.1 all is OK - both "index.hh" and "index.xx" are listed in "Related pages".
Comment 1 albert 2015-05-28 16:48:21 UTC
There has been a change in newer versions of doxygen in respect to extensions. In the past unknown extensions were treated as (by head) C code. By defining in the EXTENSION_MAPPING the correct language for the xx file  extension it should work again.

I suggest to set this to RESOLVED - NOT A BUG
Comment 2 Eugene 2015-05-29 07:24:21 UTC
After I set the EXTENSION_MAPPING, custom extensions could be processed. However it is not written anywhere in the manual. I believe the following note has to be added to FILE_PATTERNS description:

<
Note that for custom extensions you also need to set EXTENSION_MAPPING otherwise the files are not read by doxygen.
>
Comment 3 albert 2015-05-30 11:35:03 UTC
I've just pushed a proposed patch to github (pull request 346)
Comment 4 albert 2015-06-07 07:34:54 UTC
Changes have been incorporated in github version.
Comment 5 Dimitri van Heesch 2015-06-27 19:01:45 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.10. 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 (preferably in the form of a self-contained example).