Additional underscore character added in links to included files 1.8.12

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Additional underscore character added in links to included files 1.8.12

didje
Hi,

In 1.8.10, whenever there was a line as follows in a source file:
include "folderA/fileX.h"
the link was constructed as follows:
href="../folderA/fileX_8h.html"

However, since I upgraded to 1.8.12, the link changes, and becomes:
href="../folderA/fileX__8h.html"

An additional underscore is added before the "8h.html".

As a result I have lots of broken links.

It looks like a bug in Doxygen 1.8.12. If there is any way around it you can suggest, I would greatly appreciate it, as I'd rather not go back to the previous Doxygen version.

Thanks,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Additional underscore character added in links to included files 1.8.12

Dimitri van Heesch-2

> On 18 Oct 2016, at 12:34 , didje <[hidden email]> wrote:
>
> Hi,
>
> In 1.8.10, whenever there was a line as follows in a source file:
> include "folderA/fileX.h"
> the link was constructed as follows:
> href="../folderA/fileX_8h.html"
>
> However, since I upgraded to 1.8.12, the link changes, and becomes:
> href="../folderA/fileX__8h.html"
>
> An additional underscore is added before the "8h.html".
>
> As a result I have lots of broken links.

I haven't been able to reproduce this. So please create a self-contained
example (source + config file) that allows me to reproduce the problem and
attach that to a bug report filed here https://bugzilla.gnome.org/enter_bug.cgi?product=doxygen

Regards,
  Dimitri


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Additional underscore character added in links to included files 1.8.12

didje
This post was updated on .
I have added an example to the bug report.
https://bugzilla.gnome.org/show_bug.cgi?id=773162
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Additional underscore character added in links to included files 1.8.12

trosh
I don't know to what extent this is related, but I have other issues in name mangling for includes. (This happens to me when working with tagfiles across projects.)

On top of _ characters being doubled, I have more complex weird reinterpretation of urls : for example, a link which should point to
    .../html/d6/d40/err_8h.html
in another project actually points to
    .../html/d1/d4c/d6_2d40_2err__8h.html

This seems to happen because of subfolder includes like "proj/base/err.h"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Additional underscore character added in links to included files 1.8.12

Dimitri van Heesch-2
Please check if things work properly again in the latest version from Github.
In particular with this commit included:
https://github.com/doxygen/doxygen/commit/dc02bb977ebc6c683012c106e16e0190ac72b454

Regards,
  Dimitri

> On 28 Nov 2016, at 13:59 , trosh <[hidden email]> wrote:
>
> I don't know to what extent this is related, but I have other issues in name
> mangling for includes. (This happens to me when working with tagfiles across
> projects.)
>
> On top of _ characters being doubled, I have more complex weird
> reinterpretation of urls : for example, a link which should point to
>    .../html/d6/d40/err_8h.html
> in another project actually points to
>    .../html/d1/d4c/d6_2d40_2err__8h.html
>
> This seems to happen because of subfolder includes like "proj/base/err.h"
>
>
>
> --
> View this message in context: http://doxygen.10944.n7.nabble.com/Additional-underscore-character-added-in-links-to-included-files-1-8-12-tp7734p7762.html
> Sent from the Doxygen - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Doxygen-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Additional underscore character added in links to included files 1.8.12

trosh
> Please check if things work properly again in the latest version from Github.

That fixed my problems !

Thanks a bunch for the fast fix :-)

Regards,
John
Loading...