112 Commits

Author SHA1 Message Date
endico%mozilla.org
b38a1bbdc3 make the credits at the end of each page more terse
git-svn-id: svn://10.0.0.236/trunk@17697 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 04:53:30 +00:00
endico%mozilla.org
fad62ea3b8 fix regexps to fix shaver's xpcom/tools/xpidl/ description bustage
git-svn-id: svn://10.0.0.236/trunk@17695 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 03:52:10 +00:00
leaf%mozilla.org
99e1c93a53 Adding dawn@cannibal.mi.org's mods to add the option to grab file
and directory descriptions from README.html files. Descriptions of
directories are enclosed by <SPAN CLASS=LXRLONGDESC>...</SPAN> and file
descriptions by <SPAN CLASS=LXRSHORTDESC>...</SPAN>


git-svn-id: svn://10.0.0.236/trunk@14426 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 17:33:24 +00:00
jwz%mozilla.org
a35e03ab51 paragraph break after README (from dawn)
git-svn-id: svn://10.0.0.236/trunk@9593 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 05:14:57 +00:00
jwz%netscape.com
c9bb816841 from Dawn Endico <dawn@cannibal.mi.org>:
Make the url prefix for bonsai configurable.


git-svn-id: svn://10.0.0.236/trunk@6638 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:18:54 +00:00
jwz%netscape.com
7024b10684 from Dawn Endico <dawn@cannibal.mi.org>:
add bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6637 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:42 +00:00
jwz%netscape.com
0c7f1b1eb1 from Dawn Endico <dawn@cannibal.mi.org>:
export $Path variable. Local.pm needs it as a global variable.

htmlify file names and email addresses


git-svn-id: svn://10.0.0.236/trunk@6636 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:30 +00:00
jwz%netscape.com
9252ea44ab from Dawn Endico <dawn@cannibal.mi.org>:
remove the hard space from the template. Its now the job of the
description function to provide a space in case of a blank desc.


git-svn-id: svn://10.0.0.236/trunk@6635 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:14 +00:00
jwz%netscape.com
bbaf60067d from Dawn Endico <dawn@cannibal.mi.org>:
move description functions to the new Local.pm module


git-svn-id: svn://10.0.0.236/trunk@6634 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:03 +00:00
jwz%netscape.com
467e984c7d from Dawn Endico <dawn@cannibal.mi.org>:
use the new bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6633 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:48 +00:00
jwz%netscape.com
3019692d1a from Dawn Endico <dawn@cannibal.mi.org>:
Place installation specific subroutines into their own module.
New improved file/directory description hackery goes here.


git-svn-id: svn://10.0.0.236/trunk@6632 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:34 +00:00
jwz
2d3b8bb1f0 dawn@cannibal.mi.org:
htmlify descriptions in directory listings

   remove some more style file stuff


git-svn-id: svn://10.0.0.236/trunk@4255 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:39 +00:00
jwz
9c9afb7761 dawn@cannibal.mi.org:
</TD> was getting gobbled up


git-svn-id: svn://10.0.0.236/trunk@4254 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:26 +00:00
jwz
283951a1c5 dawn@cannibal.mi.org:
yet another attempt at adding descriptions to directory listings.
This time use the following search criterion for rcs variables
which hopefully won't confuse cvs.  /Id: $filename/

mozilla/README directory was confusing lxr. Added a check
that README is a regular file before its displayed in the directory
listing.


git-svn-id: svn://10.0.0.236/trunk@4253 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:11 +00:00
jwz
2059495936 oh, fuck me
git-svn-id: svn://10.0.0.236/trunk@4198 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:31:01 +00:00
jwz
f0cfa012a8 backed out the last few changes; it's all messed up and I don't feel like messing with it right now.
git-svn-id: svn://10.0.0.236/trunk@4197 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:29:23 +00:00
jwz
6f0c951205 fixed cvs botch
git-svn-id: svn://10.0.0.236/trunk@4195 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:09:35 +00:00
jwz
6d400b0656 from dawn: cleverly generate stuff for the "Description" column in LXR directory listings.
git-svn-id: svn://10.0.0.236/trunk@4169 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:06:50 +00:00
jwz
40dcf39805 emit a mostly-correct Last-Modified header on the generated pages.
git-svn-id: svn://10.0.0.236/trunk@3913 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 20:23:42 +00:00
jwz
77ec0869a9 Recognise .jpeg, .pjpg, and .pjpeg as JPEG extensions.
Put a label next to embedded images.

When the extension of a file is unrecognised, look at the first
line of the file to guess whether it is text or binary; if it
looks binary, emit a link, instead of dumping out the whole file.


git-svn-id: svn://10.0.0.236/trunk@3911 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:53:43 +00:00
jwz
b4e5f72dc3 use "checkout -P" to prune empty unused directories
(like cmd/xfe/icons/anim-sgi/)


git-svn-id: svn://10.0.0.236/trunk@3905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:10:03 +00:00
jwz
380d355469 lose the useless search boxes; they're clutter.
git-svn-id: svn://10.0.0.236/trunk@3883 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:13:15 +00:00
jwz
0a7ce4cd79 use the $baseurl symbolic name instead of /webtools/lxr/
git-svn-id: svn://10.0.0.236/trunk@3882 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:47 +00:00
jwz
b91205199d maintain the illusion of directoryhood; refer to "source/" not "source".
git-svn-id: svn://10.0.0.236/trunk@3881 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:13 +00:00
jwz
dc20ae98f4 Well basically, I hate those layers popups that-aren't-quite-menus.
They've got to go.  The information that was on them is only one
click away anyhow.


git-svn-id: svn://10.0.0.236/trunk@3880 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:03:40 +00:00
jwz
96528ae3cd allow the $banner file names to wrap, by emitting a space after each slash.
git-svn-id: svn://10.0.0.236/trunk@3879 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 08:42:22 +00:00
jwz
d7afec3b45 dawn says she didn't write the intro blurb that I assumed she had.
took out the attribution.


git-svn-id: svn://10.0.0.236/trunk@3864 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 04:19:05 +00:00
jwz
950468895a go hog-wild: let's check out the whole "mozilla" directory, instead of just
what's in the "MozillaSource" module.


git-svn-id: svn://10.0.0.236/trunk@3861 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:17:27 +00:00
jwz
78d33cb85f template-source-tail was identical to template-tail; nuked it.
git-svn-id: svn://10.0.0.236/trunk@3857 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:51 +00:00
jwz
a7b53c51c0 made the "changes" links show only the HEAD revisions.
added a "full change log" link.


git-svn-id: svn://10.0.0.236/trunk@3856 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:26 +00:00
jwz
aa1782248f made the "changes" links show only the HEAD revisions.
git-svn-id: svn://10.0.0.236/trunk@3855 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:13 +00:00
jwz
709de5de5d yuck. you can't use ".." in otherwise-fully-qualified URLs, so I had
to add another template variable, $dotdoturl, that is just like $baseurl
but points to one directory higher.  Sucks!


git-svn-id: svn://10.0.0.236/trunk@3852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:18:34 +00:00
jwz
1e81e5631f patches from dawn to sync with latest official lxr
git-svn-id: svn://10.0.0.236/trunk@3849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:48 +00:00
jwz
796d715059 added a number of new template files:
instead of just "htmlhead" and "htmltail" there are now:

    "sourcehead" and "sourcetail"
    "sourcedirhead" and "sourcedirtail"
    "findhead" and "findtail"
    "identhead" and "identtail"
    "searchhead" and "searchtail"

so that each CGI can have its own custom headers and footers.
If (for example) identhead isn't configured in lxr.conf, then
htmlhead will be used instead.

"sourcedir*" is used in preference to "source*" when the output
of the "source" script is a CGI.  If sourcedir* aren't configured,
then it falls back to "source*" (and from there to "html*")


git-svn-id: svn://10.0.0.236/trunk@3846 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:51:27 +00:00
jwz
cb985ad9da If a file is less than 1k, print its size in bytes.
git-svn-id: svn://10.0.0.236/trunk@3829 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:18:06 +00:00
jwz
2117acdd16 Print the date flush-right; leave about one space between columns.
git-svn-id: svn://10.0.0.236/trunk@3823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:52:14 +00:00
jwz
964207a394 Print the date like ls does: "Mmm dd hh:mm" if it is newer than six months,
else "Mmm dd yyyy" if it is older.

Use the internal-gopher-* images instead of the GIFs in /icons/.

Print a "-" for the size of directories.


git-svn-id: svn://10.0.0.236/trunk@3822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:51:41 +00:00
jwz
9e854f3e3f I'm a chimp; I didn't test the last change, and left out the blank line after
the headers.


git-svn-id: svn://10.0.0.236/trunk@3792 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 17:15:35 +00:00
jwz
c63806cecc don't send last-modified headers with a static date...
git-svn-id: svn://10.0.0.236/trunk@3781 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 05:08:14 +00:00
jwz
82650fafb0 Wow, how lame. The only way I could get the table columns to line up was
to increase the field size from 6 to 8!  That's robust...  It seems that
</FORM> inserts a paragraph break even when it comes just before </TD>,
so the "use this field" text must be inside the </FORM> in order to be
snugly against the text field.  But, if "Text Search" isn't in the same
<TR> as the text field, they won't line up properly vertically.  So
I can't figure out how to combine all of the <FORM>s into one table to
make the columns all line up without introducing lots of vertical space.


git-svn-id: svn://10.0.0.236/trunk@3774 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:47:35 +00:00
jwz
8618f75641 I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches.  Updated the instructions to reflect this.


git-svn-id: svn://10.0.0.236/trunk@3773 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:26:54 +00:00
jwz
9133959599 "text" is more meaningful than "glimpse"
git-svn-id: svn://10.0.0.236/trunk@3751 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:38:31 +00:00
jwz
1733061310 thank the authors, too
git-svn-id: svn://10.0.0.236/trunk@3750 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:25:58 +00:00
jwz
670f3b0caf apparently glimpseindex wants to run "whereis", so I added /usr/ucb to $PATH
git-svn-id: svn://10.0.0.236/trunk@3749 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:15:11 +00:00
jwz
114ebcdc2d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3748 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:12:23 +00:00
jwz
ca06e848ee reformatted
git-svn-id: svn://10.0.0.236/trunk@3747 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:11:09 +00:00
jwz
3e5690ef7b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3745 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:45:02 +00:00
jwz
07a11059eb print date to log; know where cvs is
git-svn-id: svn://10.0.0.236/trunk@3744 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:43:15 +00:00
jwz
4c27757921 lose cvs1.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@3738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:27:22 +00:00
jwz
433811f789 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3731 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:06:58 +00:00