Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#576 closed enhancement (fixed)

[PATCH] mime renderer support

Reported by: moo Owned by: Peter Kropf
Priority: high Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9


render dot files in trac browser

Attachments (1)

graphviz-renderer.patch (1.2 KB) - added by moo 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by moo

Attachment: graphviz-renderer.patch added

comment:1 Changed 12 years ago by moo

you might want to update GraphvizMacro to GraphvizPlugin or so, as it's not just a macro now.

comment:2 Changed 12 years ago by Peter Kropf

I'm not sure how I can go about testing this patch. Any suggestions?

comment:3 Changed 12 years ago by Peter Kropf

(In [1133]) Added IHTMLPreviewRenderer to the supported interfaces. References #576.

comment:4 Changed 12 years ago by Peter Kropf

Ok, I've figured out a bit more about the IHTMLPreviewRendered interface. More specifically, that I needed to add mimetypes for graphviz files so that they can be rendered via GraphvizMacro. I'm not certain if this is the best method but it seems to work. I'll check in a changeset in a bit.

comment:5 Changed 12 years ago by Peter Kropf

Resolution: fixed
Status: newclosed

(In [1169]) Fixed the IHTMLPreviewRenderer support by adding mimetypes for the graphviz extensions to the MIME_MAP from trac.mimeview.api. Fixes #576.

comment:6 Changed 12 years ago by moo

thanks, and sorry that i didn't visit back the ticket to give u comment. :)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Peter Kropf.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.