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 760970 - CASE_SENSE_NAMES ignored
CASE_SENSE_NAMES ignored
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.12-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-01-22 05:37 UTC by Stefan Vigerske
Modified: 2016-09-05 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Vigerske 2016-01-22 05:37:54 UTC
Since doxygen 1.8.11, the setting of the CASE_SENSE_NAMES flag seems to be ignored.

Consider a file blub.dox with the following content:

/** \mainpage UG_Main Mainpage

\subpage UG_Blub

*/

/** \page UG_Blub Huhu

Text

*/


Running doxygen 1.8.11 or the current version (a2cc3499) from git with a Doxyfile that has FILE_PATTERNS = *.dox  and CASE_SENSE_NAMES = NO on Linux generates an HTML output with the file UG_Blub.html, while it was _u_g__blub.html with previous doxygen versions (e.g., 1.8.10 was ok).
Comment 1 albert 2016-01-23 15:09:25 UTC
Fix looks like to be pagedef.cpp (constructor):
-  static bool shortNames = Config_getBool(SHORT_NAMES);
-  m_fileName = shortNames ? convertNameToFile(n) : QCString(n);
+  m_fileName = convertNameToFile(n);

but this breaks test 055.
Comment 2 Dimitri van Heesch 2016-01-23 16:39:04 UTC
Note that the change in pagedef.cpp was made for bug #755080
https://github.com/doxygen/doxygen/commit/af5c5b37c5464afb6a2df71edf6f9e82ece75187
Comment 3 albert 2016-01-23 17:02:31 UTC
I've just pushed a proposed patch to github (pull request 446), also taking into consideration bug #755080
Comment 4 albert 2016-01-24 10:35:57 UTC
Patch has been included in github version
Comment 5 Dimitri van Heesch 2016-09-05 13:46:36 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. 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).