New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dia diagrams (Origin: bugzilla #707713) #5291

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity enhancement in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-09-08 11:12:21 +0000, Jan Danielsson wrote:

Created attachment 254391
Adds dia support to doxygen

The attached patch adds support for including .dia-files directly in doxygen documentation using a \diafile keyword.

The support for dia-files is heavily based on \mscfile.

Notes:

  • I don't think there's much point in supporting \dia \enddia, so there's only an \diafile.
  • I only tested html and latex output. I am unsure how docbook output should look, but I added docbook-support modeled on the msc-support.

This patch was done as a part of my first serious look into the doxygen source code, so assume that there are things I have missed to update.

On 2013-10-07 19:18:47 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next GIT update.

On 2013-12-24 19:00:10 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.6. 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).

On 2014-01-06 22:02:05 +0000, Scott Hansohn wrote:

Created attachment 265479
Bug demonstration

Unzip and run doxygen. View the generated html/index.html.

On 2014-01-06 22:02:55 +0000, Scott Hansohn wrote:

Re: previously attached attachment:

Png generated from Dia does not display correctly in FireFox 26.0, but does in IE 11.

The new Dia handler is inserting an absolute rather than relative path for the img src, which Firefox considers a security issue.
@see http://stackoverflow.com/questions/13802244/firefox-doesnt-show-image-on-ie-works-fine

Proposed Fix: Teach doxygen to use relative paths for Dia img src.

On 2014-01-09 16:55:12 +0000, Scott Hansohn wrote:

Corrected mistaken closed-bug-hijack by moving problem report to https://bugzilla.gnome.org/show_bug.cgi?id=721878.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment