Commit graph

10 commits

Author SHA1 Message Date
Wolfram Schneider
c97e6997ab Add support for multiple cvs root directories. This allow
to use one script for different cvs trees, e.g.

learn:
cvsweb.cgi?cvsroot=learn

freebsd:
cvsweb.cgi?cvsroot=freebsd

openbsd:
cvsweb.cgi/src/bin/cat/cat.c?cvsroot=openbsd

The default cvs root is `freebsd'.
1997-11-14 17:36:47 +00:00
Bill Fenner
2437b7a96d Hide Attic directories by default; show files that are in the Attic in their
old location with an "(in the Attic)" notation.
Make queries sticky so that only_on_branch &c can live across directory
 traversals.
Learn about file death.
1997-07-19 00:54:40 +00:00
Bill Fenner
519481482d Teach cvsweb about the "branch:" RCS header
Print out information about branch points as well as branches.
Don't use user input in regexp's (e.g. turned /^${module}\s+(\S+)/o
    into /^(\S+)\s+(\S+)/o && $module eq $1) to avoid "foo.c++"
    regex error
Add to safeglob() a little (although it's still not used yet)
1997-07-01 22:19:57 +00:00
Bill Fenner
92aaee87ef Stefan's cvsweb commit made me realize that I forgot to committed this
stuff after testing it, since I had fixed that bug already.  Oops!

- Added "?only_on_branch=RELENG_2_2" (e.g.) support and form to select
- Make diff requests refer to foo.diff so browsers don't tend to overwrite
  source files with diff's
- Get rid of content-transfer-encoding: x-gzip since it's not sufficiently
  standard
- Parse PR references in log messages
- Add side-by-side as a diff option (?f=s)
- Use &html_header() to get consistent look for error messages
- Make checkout and diff into functions for flexibility
1997-04-30 18:25:05 +00:00
Stefan Bethke
98fe3939f7 When entering a path starting with a valid module name, but ending in an
non-existing  file or directory, a redirect to exactly the same locations
was issued, instead of an error messages.
Reported by Jan Schreiber <akira@loopback.org>
1997-04-30 07:35:11 +00:00
Bill Fenner
3d32f310e8 Allow module name followed by a filename, e.g.
http://www.freebsd.org/cgi/cvsweb.cgi/mrouted/main.c
Fix the revision comparison function; diff's between branch and head
	are no longer reversed.
1997-03-20 01:36:20 +00:00
Bill Fenner
81d2c6707f Add tags and branches to the list of things that get anchors, e.g.
you can also say things like #RELENG_2_2 or #RELENG_2_1_6_1_RELEASE

Allow specifying a module name, e.g. http://.../cvsweb.cgi/mrouted
will give you a redirect to .../cvsweb.cgi/src/usr.sbin/mrouted
1997-02-03 20:47:12 +00:00
Martin Cracauer
14c342489f Adds a <a NAME="..."> tag for each revision, so that outside
programs can add links to individual revisions.
i.e: http://www.freebsd.org/cgi/cvsweb.cgi/src/Makefile#1.117
1997-02-03 15:14:22 +00:00
John Fieber
15be435f08 Hook up cvsweb.cgi to cgi-style.pl so it inherits the proper
"look and feel".
1996-09-29 02:19:30 +00:00
John Fieber
dc37032eca Sweep some more web stuff into cvs. 1996-09-28 23:31:12 +00:00