Commit Graph

25 Commits

Author SHA1 Message Date
myk%mozilla.org
ec70db0d68 Fix for bug 41917: Gets LXR working again on systems with only one sourceroot.
Patch by Gregory Leblanc <gleblanc@linuxweasel.com>.
r=kiko
2002-08-16 01:31:20 +00:00
myk%mozilla.org
fa5bdf3a03 Fix for bug 26189: "cannot view images with lxr". The image-handling code was running too early and didn't have access to the "raw" URL parameter by which images get displayed.
Patch by Dawn Endico <endico@mozilla.org>
r=myk@mozilla.org
2001-08-31 00:46:09 +00:00
endico%mozilla.org
4d847abd11 fixing breakage from previous change 2000-08-24 22:43:47 +00:00
endico%mozilla.org
348fed84d9 Stop labeling charset of each page since this label might be wrong. Tao Cheng says: "By default, the Browser assumes incoming pages w/o charset labelling are in iso-8859-1. Explicit labelling prevents the users from manually switching it to other view charset." 2000-08-24 22:29:52 +00:00
endico%mozilla.org
313ddc4e98 Rework the init subroutine in Common.pm so glimpse doesn't go through the normal http_wash stuff so now you can do regexp searches and search->for pointers. Reworked the search form so that searching for literals is the default. Meta characters automatically escaped unless the regexp button is pushed. Changed the docs so it no longer says to use double backslashes to escape metachars. That's only needed from the shell. 1999-09-10 19:03:39 +00:00
mccabe%netscape.com
7b41c58819 Fix spelling; 'identfier' -> 'identifier' 1999-08-07 09:28:37 +00:00
endico%mozilla.org
d9c22277a3 index idl files too 1999-04-26 19:42:35 +00:00
endico%mozilla.org
d31070aeae A 4AcK to get this working with gtk+. Normally plus signs in urls are used to represent spaces. Here we need to actaully use plus signs so i'm disabling the plus->space conversion. Hopefully this doesn't break anything. 1999-04-23 19:55:04 +00:00
endico%mozilla.org
13fa9ab7dc Add support for indexing multiple trees from the same lxr directory. 1999-03-10 22:58:57 +00:00
jwz%mozilla.org
2f220e6576 more of the above -- for the ?raw=1 link in
http://cvs-mirror.mozilla.org/webtools/lxr/source/build/mac/client.mac/Client.Mac%20READ%20ME
1999-01-31 11:18:32 +00:00
jwz%mozilla.org
f3dc1dfade changed `fileref' to do URL quoting, so that (for example)
http://cvs-mirror.mozilla.org/webtools/lxr/source/build/mac/client.mac/
links "Client.Mac READ ME" to
".../client.mac/Client.Mac%20READ%20ME" instead of
".../client.mac/Client.Mac READ ME"
1999-01-31 10:52:32 +00:00
endico%mozilla.org
e4f65a92b1 Add java support 1999-01-21 00:42:26 +00:00
endico%mozilla.org
88b6e54339 fix regexps to fix shaver's xpcom/tools/xpidl/ description bustage 1999-01-14 03:52:10 +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
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
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
a5a626f3f8 allow the $banner file names to wrap, by emitting a space after each slash. 1998-06-16 08:42:22 +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
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
2dd3df9069 initial revision of lxr (note that this code is under the GPL.) 1998-06-11 23:56:23 +00:00