Commit Graph

58 Commits

Author SHA1 Message Date
jwz%netscape.com
b7934e9a91 from Dawn Endico <dawn@cannibal.mi.org>:
Make the url prefix for bonsai configurable.
1998-07-28 19:18:54 +00:00
jwz%netscape.com
f1d8366b20 from Dawn Endico <dawn@cannibal.mi.org>:
add bonsaihome configuration variable
1998-07-28 19:17:42 +00:00
jwz%netscape.com
cf371de941 from Dawn Endico <dawn@cannibal.mi.org>:
export $Path variable. Local.pm needs it as a global variable.

htmlify file names and email addresses
1998-07-28 19:17:30 +00:00
jwz%netscape.com
76541b4016 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.
1998-07-28 19:17:14 +00:00
jwz%netscape.com
389c07fd5e from Dawn Endico <dawn@cannibal.mi.org>:
move description functions to the new Local.pm module
1998-07-28 19:17:03 +00:00
jwz%netscape.com
955aefac9c from Dawn Endico <dawn@cannibal.mi.org>:
use the new bonsaihome configuration variable
1998-07-28 19:16:48 +00:00
jwz%netscape.com
b731e4f4c7 from Dawn Endico <dawn@cannibal.mi.org>:
Place installation specific subroutines into their own module.
New improved file/directory description hackery goes here.
1998-07-28 19:16:34 +00:00
jwz
a4ead17823 dawn@cannibal.mi.org:
htmlify descriptions in directory listings

   remove some more style file stuff
1998-06-23 01:01:39 +00:00
jwz
aa038b375a dawn@cannibal.mi.org:
</TD> was getting gobbled up
1998-06-23 01:01:26 +00:00
jwz
60ff38a615 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.
1998-06-23 01:01:11 +00:00
jwz
16188fe64f oh, fuck me 1998-06-20 01:31:01 +00:00
jwz
2eabc03b21 backed out the last few changes; it's all messed up and I don't feel like messing with it right now. 1998-06-20 01:29:23 +00:00
jwz
fa762dbebf fixed cvs botch 1998-06-20 01:09:35 +00:00
jwz
9e7aae58c2 from dawn: cleverly generate stuff for the "Description" column in LXR directory listings. 1998-06-19 23:06:50 +00:00
jwz
f8f2d4698a emit a mostly-correct Last-Modified header on the generated pages. 1998-06-16 20:23:42 +00:00
jwz
58820a85b4 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.
1998-06-16 19:53:43 +00:00
jwz
51dd41a680 use "checkout -P" to prune empty unused directories
(like cmd/xfe/icons/anim-sgi/)
1998-06-16 19:10:03 +00:00
jwz
674ab716d8 lose the useless search boxes; they're clutter. 1998-06-16 09:13:15 +00:00
jwz
59d58e6253 use the $baseurl symbolic name instead of /webtools/lxr/ 1998-06-16 09:12:47 +00:00
jwz
e469d6f8b6 maintain the illusion of directoryhood; refer to "source/" not "source". 1998-06-16 09:12:13 +00:00
jwz
2b58f49fcf 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.
1998-06-16 09:03:40 +00:00
jwz
a5a626f3f8 allow the $banner file names to wrap, by emitting a space after each slash. 1998-06-16 08:42:22 +00:00
jwz
22f773c6b6 dawn says she didn't write the intro blurb that I assumed she had.
took out the attribution.
1998-06-16 04:19:05 +00:00
jwz
ab537238f1 go hog-wild: let's check out the whole "mozilla" directory, instead of just
what's in the "MozillaSource" module.
1998-06-16 03:17:27 +00:00
jwz
fd5b2bc1f0 template-source-tail was identical to template-tail; nuked it. 1998-06-16 02:15:51 +00:00
jwz
2606c95348 made the "changes" links show only the HEAD revisions.
added a "full change log" link.
1998-06-16 02:15:26 +00:00
jwz
3335a5c2d2 made the "changes" links show only the HEAD revisions. 1998-06-16 02:15:13 +00:00
jwz
54f1974d08 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!
1998-06-16 01:18:34 +00:00
jwz
f4dbb69b71 patches from dawn to sync with latest official lxr 1998-06-16 00:57:48 +00:00
jwz
29748e5b2f 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*")
1998-06-16 00:51:27 +00:00
jwz
800884f8d3 If a file is less than 1k, print its size in bytes. 1998-06-15 22:18:06 +00:00
jwz
538c1fcd04 Print the date flush-right; leave about one space between columns. 1998-06-15 21:52:14 +00:00
jwz
08ea4455e3 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.
1998-06-15 21:51:41 +00:00
jwz
6c9f8e579a I'm a chimp; I didn't test the last change, and left out the blank line after
the headers.
1998-06-15 17:15:35 +00:00
jwz
62b8204d80 don't send last-modified headers with a static date... 1998-06-15 05:08:14 +00:00
jwz
617fc42dfb 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.
1998-06-13 18:47:35 +00:00
jwz
21ebac08bd I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches.  Updated the instructions to reflect this.
1998-06-13 18:26:54 +00:00
jwz
751a2ca385 "text" is more meaningful than "glimpse" 1998-06-13 01:38:31 +00:00
jwz
458727e7a4 thank the authors, too 1998-06-13 01:25:58 +00:00
jwz
ee53495e02 apparently glimpseindex wants to run "whereis", so I added /usr/ucb to $PATH 1998-06-13 01:15:11 +00:00
jwz
71ed1a5d83 *** empty log message *** 1998-06-13 01:12:23 +00:00
jwz
0dc52cc827 reformatted 1998-06-13 01:11:09 +00:00
jwz
274c4ea37a *** empty log message *** 1998-06-13 00:45:02 +00:00
jwz
ea1e30c8b1 print date to log; know where cvs is 1998-06-13 00:43:15 +00:00
jwz
05045ca24d lose cvs1.mozilla.org 1998-06-12 22:27:22 +00:00
jwz
5272cf4440 *** empty log message *** 1998-06-12 22:06:58 +00:00
jwz
78988a9559 update the lxr sources too; and log. 1998-06-12 22:03:28 +00:00
jwz
5d14338256 *** empty log message *** 1998-06-12 21:58:38 +00:00
jwz
951f5fd94a *** empty log message *** 1998-06-12 21:48:51 +00:00
jwz
6a9fd84fda linked in dawn's search help doc 1998-06-12 21:42:37 +00:00