2000-10-21 00:46 knu
* cvsweb.cgi: Always give options to click on a non-colored diff
_and_ a colored diff.
Requested by: SO many people :>
2000-10-20 22:59 knu
* TODO.knu: Hyperlinking was properly fixed.
2000-10-20 21:28 knu
* TODO.knu, cvsweb.cgi: Fix htmllify so that <A href="...">...</A>
won't nest. :)
Do not show additional "(colored)" diff links when long colored
diff is the default.
Reduce the use of `.' operator that is known to be expensive. Fix
indent, clean up.
2000-10-11 06:14 knu
* cvsweb.cgi: Introduce a new function: htmlquote().
Clean up hyperlink tags.
- Use &link() instead of <a href="...">...</a>.
- Do urlencode() or htmlquote() as appropriate.
2000-10-11 03:48 knu
* cvsweb.cgi:
- Recognize "links" as another text mode browser.
- Fix the revision links in the annotation view of a file.
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
2000-10-07 16:44 knu
* cvsweb.cgi: Fix &link() not to put a redundant trailing LF.
Improve manpage linking to support "foo.1" as well as "foo(1)".
2000-10-07 16:35 knu
* cvsweb.cgi: Fix screwups in the last commit.
Parse rlog's output explicitly. Recognize 77 ='s as a file
separator, and 28 -'s as revision separator.
Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-10-03 04:07 knu
* cvsweb.cgi: Cleanup $barequery generation. Undefine "my"
variables when they are done.
2000-10-01 05:10 knu
* cvsweb.cgi: Fix annotation bugs.
- Do not pass gzip'ed directives to cvs. (it never worked, sigh)
- Fix mis-spacing. Now it should look pretty well.
2000-10-01 03:48 knu
* INSTALL, cvsweb.cgi: Specify -R (Read-only mode) and -l (Do not
log in history) flags when doing a cvs annotation so that one does
not need to turn on the write permission on CVSROOT/history for the
user which httpd runs cvsweb.cgi as. (typically "nobody")
2000-10-01 03:27 knu
* cvsweb.cgi: Fix the comment to make how to set $config clear.
Inspired by: "Dan Langille" <dan@langille.org>
2000-09-29 03:06 knu
* cvsweb.cgi: Trap errors in the configuration files on loading and
show error messages. (Previously it failed silently)
Submitted by: Sean Scarff <sean@pavilion.net>
2000-09-20 05:07 knu
* cvsweb.cgi: Follow tab-width/tabstop/ts directives when expanding
tabs into spaces. Currently, only first 10 lines are scanned for
the directives.
2000-09-20 04:57 knu
* cvsweb.cgi: MFZ: 1.101.
- Fix a few bugs under mod_perl.
- Use the Compress::Zlib module if available.
- Embed PDF files inside the cvs markup view.
2000-09-20 03:35 knu
* cvsweb.cgi: s/ts/tabstop/ that I forgot to substitute in the last
update.
2000-09-12 02:11 knu
* cvsweb.cgi: Allow one to set the default diff type.
Inspired by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-10 20:54 knu
* cvsweb.cgi: Clean up spacedHtmlText().
2000-09-04 03:25 knu
* README.knu, cvsweb.cgi, cvsweb.conf: Introduce manpage
hyperlinking.
2000-09-04 02:33 knu
* cvsweb.cgi: Get all mail URLs and addresses as hyperlinks, not
just the first one. (s/// --> s///g)
Install ChangeLog file.
2000-08-25 18:01 knu
* cvsweb.cgi: Get side-by-side diff working when $showfunc is true,
noting that `-p' option of diff(1) can only be used with context
and unified diffs.
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
Allow to specify CVS tags or branch names (including `.' and
`HEAD') on cvs checkout.
e.g. http://foo/cvsweb.cgi/bar/dood.c?rev=.
http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4_1_0_RELEASE
Not for diff currently, as rcsdiff does not grok CVS tags.
Inspired by: Folks at the FreeBSD cvs-all list.
Specify `-R' (turn on read-only repository mode) and `-l' (do not
log in the command history) on cvs checkout, so that one does not
need a write permission with the repository.
2000-08-25 00:53 knu
* cvsweb.cgi: MFZ 1.94. (Fix a typo in JavaScript code)
- Use cvsweb.conf* in the current directory when they don't exist in
/usr/local/etc/.
- Declare function prototypes to shut up runtime warnings.
- Remove redundant white space at the end of lines.
PORTVERSION 1.93.1.9 indicates that it's knu's cvsweb rev. 1.9, based
on Zeller's cvsweb rev. 1.93. I'll keep merging all the changes that
will be made on Zeller's version as well as enhancing it to meet our
needs. :)
Below is an excerpt from README.knu.
----
Added features over Zeller's version:
o Customizable "show functions" option
You can specify a regexp for each file type to teach rcsdiff(1) to
recognize function lines.
o Customizable PR categories
o Move $prcgi to cvsweb.conf
Now each repository can have its own PR categories and
query-pr.cgi URL, which can be defined in cvsweb.conf-${cvstree}.
It is useful when you have such as NetBSD and/or OpenBSD
repositories.
o Improved support for text-based browsers
Unidiff is the default format for diffs, for text-based browsers.
o Enhance hyperlinking PR # feature.
The following PR numbers will all be hyperlinked. :)
PR: 12345, 67890, ..
PR: #12345, #67890, ..
PR# sparc/12345, i386/67890
PR: ports/43210
kern/98765
.. is related to bin/4567, which is ...
This port does not explicitly depend on a specific version of Apache
nor other www servers but leaves the option for users, since cvsweb
should work on most cgi capable www servers.
If you prefer as simple view as before, you can easily customize so. Enjoy it.
PR: ports/17388
Submitted by: myself
Approved by: Bill Fenner <fenner@freebsd.org> (The original author of cvsweb)
Changes:
- get to install README
- change the maintainter
And because Apache isn't the only web server and the configurations may vary;
- stop trying to check if any web server is installed
- allow a user to specify a cgi-bin directory to install
- stop using icons that Apache installs by default
- rename the script from cvsweb to cvsweb.cgi
Approved by: sada