From a140bc5473edb3ac26dbe3ac9bbec60fe7c97c0a Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Thu, 25 Oct 2001 01:05:07 +0000 Subject: [PATCH] Bug 104540 LXR updates for .idl collaboration diagrams by mozilla@elemental.com (Brian Bramlett) r=endico git-svn-id: svn://10.0.0.236/trunk@106222 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/lxr/source | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/mozilla/webtools/lxr/source b/mozilla/webtools/lxr/source index e3815e04b8e..0349f068f1e 100755 --- a/mozilla/webtools/lxr/source +++ b/mozilla/webtools/lxr/source @@ -1,5 +1,5 @@ #!/usr/bonsaitools/bin/perl -# $Id: source,v 1.15 1999-11-23 21:59:13 endico%mozilla.org Exp $ +# $Id: source,v 1.16 2001-10-25 01:05:07 timeless%mac.com Exp $ # source -- Present sourcecode as html, complete with references # # Arne Georg Gleditsch @@ -251,12 +251,22 @@ sub printfile { my $base = basename($Path->{'file'}, ".idl"); my $dir = $Path->{'virt'}; $dir =~ s#([^/]+)(.*)#$1#; - print("
\n"); - print("\n"); - print("
"); - print("\n"); - print($base . "Interface Reference" . "\n"); - print("
\n"); + my $doxRoot = "http://unstable.elemental.com/mozilla/build/latest/mozilla/" . $dir . "/dox/"; + print("

Inheritance diagram for " . $base . ":

\n"); + print("

\n"); + print("\"Inheritance\n"); + print("

\n"); + print("

Collaboration diagram for " . $base . ":

\n"); + print("

\n"); + print("\"Collaboration\n"); + print("

\n"); + print("

\n"); + print("[ \n"); + print("" . $base . " Interface Reference |"); + print(" Graph Legend ]\n"); + print("

\n"); } print("
");
 		&markupfile(\*SRCFILE, $Path->{'virt'}, $Path->{'file'},