Annotation of cvsweb/ChangeLog, Revision 3.4
3.4 ! knu 1: 2001-03-23 Akinori MUSHA <knu@iDaemons.org>
! 2:
! 3: * cvsweb.cgi: Encode colons in file names properly.
! 4:
! 5: FreeBSD PR: 25963
! 6: Submitted by: Marc van Woerkom <3d@FreeBSD.org>
! 7:
3.3 knu 8: 2001-01-29 Akinori MUSHA <knu@iDaemons.org>
9:
10: * cvsweb.cgi: Remove an obsolete notice: CVSWEB_CONFIG is disused.
11: One leftover substitution: "cvs" -> $CMD{cvs}
12:
3.2 knu 13: 2001-01-13 Akinori MUSHA <knu@iDaemons.org>
14:
15: * cvsweb.conf: Add some knu-cvsweb info.
16:
17: * cvsweb.cgi: MFZ: 1.105.
18:
19: * README.knu, TODO.knu, cvsweb.cgi, cvsweb.conf,
20: cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd,
21: cvsweb.conf-ruby: Change CVS tags: "Id" -> "Idaemons".
22:
3.1 knu 23: 2001-01-12 08:42 knu
24:
25: * cvsweb.cgi, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
26: cvsweb.conf-openbsd: Clean up URI parser.
27:
28: Workaround thttpd's buggy SCRIPT_NAME / PATH_INFO parser.
29:
30: Requested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
31:
32: Allow downloading a single port/pkgsrc in tarball by default.
33:
34: 2001-01-12 03:17 knu
35:
36: * cvsweb.cgi, cvsweb.conf: D'oh, forgot to chomp the result of
37: `uname`.
38:
39: Submitted by: Christian Weisgerber <naddy@mips.inka.de>
40:
41: 2001-01-11 11:00 knu
42:
43: * cvsweb.cgi, cvsweb.conf: Oops.
44:
45: 2001-01-11 10:52 knu
46:
47: * cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
48: cvsweb.conf-openbsd: Run "tar cf - ... | gzip -c" rather than "tar
49: zcf - ..." to avoid tar(1)'s automatic padding of nulls to align
50: with the block size, which is just garbage for a receiver.
51:
52: Noted by: Katsuyuki Komatsu <komatsu@sarion.co.jp>
53:
54: Have $uname variable to hold the OS implementation name.
55:
56: Move %CMD's initialization part to the beginning of cvsweb.conf so
57: it can use $uname and configure properly for the OS.
58:
59: Wrap FreeBSD or OpenBSD specific features in conditional blocks
60: using $uname.
61:
62: Fix some open() calls in good manners.
63:
64: 2001-01-05 09:00 knu
65:
66: * cvsweb.cgi: Delete $ENV{PATH} before everything. (against -T
67: paranoia) It's nothing to worry since cvsweb.cgi always invokes
68: executables by full paths, though.
69:
70: Correct the error messages regarding $command_path.
71:
72: 2001-01-03 17:57 knu
73:
74: * cvsweb.cgi, cvsweb.conf: Don't rely on perl's $ENV{PATH} search.
75: Search commands for itself and specify them by full paths.
76:
77: 2001-01-03 11:55 knu
78:
79: * README.knu, cvsweb.cgi: Don't forget to add $query to the URL
80: when redirecting. Now module alias redirection and Attic
81: redirection work with all sticky variables preserved. (Previously
82: they didn't work against a non-default cvsroot)
83:
84: Put a text field on each directory view that allows user to jump
85: directly to an arbitrary module, which can be specified either by a
86: full module/file path or by a module alias.
87:
88: 2001-01-03 08:34 knu
89:
90: * README.knu, cvsweb.cgi, cvsweb.conf: List CVS repository entries
91: in the specified order, not alphabetical.
92:
93: Now /usr/local/etc/cvsweb/ is the default directory for
94: configuration files.
95:
96: 2001-01-02 21:23 knu
97:
98: * cvsweb.cgi, cvsweb.conf: Get cvsweb.cgi to run under perl -T.
99:
100: Change perl command line:
101:
102: Change perl5 to perl and just declare `require 5.000'.
103:
104: Remove -s option that was intended for debug use.
105:
106: Add -T option to perform security checks.
107:
108: Change search paths for cvsweb.conf:
109:
110: Don't adopt the value of $ENV{CVSWEB_CONFIG} that was intended
111: for
112: debug use.
113:
114: Search the same directory that cvsweb.cgi is in instead of the
115: current directory.
116:
117: Invoking `last' in `do { ... } while (0);' is wrong. Change the
118: loop to `while (1) { ... last; }'.
119:
120: Don't do chdir. Instead, use tar(1)'s -C option and cvs(1)
121: export's -d option.
122:
123: Explicitly define $ENV{PATH}.
124:
125: Turn $allow_compress off by default so user can debug cvsweb.cgi
126: easily.
127:
128: 2001-01-02 08:15 knu
129:
130: * cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
131: cvsweb.conf-openbsd, cvsweb.conf-ruby: Add $prkeyword variable to
132: allow user to use (e.g.) `Bug' instead of `PR' as the bug report
133: identifier.
134:
135: Add cvsweb.conf-{freebsd,openbsd,netbsd,ruby} files, and move
136: rather FreeBSD specific configuration values to
137: cvsweb.conf-freebsd.
138:
139: Add a %funcline_regexp entry for Ruby. (*.rb)
140:
141: 2001-01-02 06:24 knu
142:
143: * cvsweb.conf: Add `pending' to the list of PR categories.
144:
145: 2001-01-02 05:57 knu
146:
147: * cvsweb.cgi: Reduce 'Use of uninitialized value' warnings.
148:
149: Noticed by: Wolfram Schneider <wosch@schneider.org>
150:
151: 2000-12-30 08:56 knu
152:
153: * cvsweb.cgi: Oops, I forgot "cvs export" always need a -r/-D.
154: Specify -rHEAD when no tag/branch is defaulted.
155:
156: 2000-12-30 08:35 knu
157:
158: * cvsweb.cgi, cvsweb.conf: Add $preformat_in_markup variable and
159: turn it off by default. This option should be turned off when you
160: have files in the repository that are in a multibyte encoding which
161: uses HTML special characters ([<>&"]) as part of a multi-byte
162: character. (such as iso-2022-jp, ShiftJIS, etc.) Otherwise those
163: files will get screwed up in markup.
164:
165: Fix for those systems which tar(1)'s are not GNU tar(1).
166:
167: - Add @@tar_options variable and make the --ignore-failed-read flag
168: optional.
169:
170: - Use cvs export instead of cvs checkout, so the --exclude 'CVS'
171: flag isn't needed.
172:
173: Noticed by: Christian Weisgerber <naddy@mips.inka.de>
174:
175: Fix for those systems which cvs(1)'s don't support -R option.
176: (Actually, only FreeBSD's and OpenBSD's cvs(1) support it)
177:
178: - Add @@cvs_options and make the -R flag optional.
179:
180: 2000-12-29 22:29 knu
181:
182: * cvsweb.cgi: Add charset to all text/* output, including diffs.
183:
184: Submitted by: Alexey Zelkin <phantom@cris.net>
185:
186: 2000-12-29 18:12 knu
187:
188: * cvsweb.cgi: The use of `do "file"' is obsolete. Use require
189: instead.
190:
191: 2000-12-29 17:47 knu
192:
193: * cvsweb.cgi: Add the prototype declaration for hrefquote().
194:
195: 2000-12-29 03:17 knu
196:
197: * README.knu: Mention automatic tarball generation feature.
198:
199: 2000-12-29 03:16 knu
200:
201: * TODO.knu: Directory sorting was fixed at the same time that "show
202: only tags" feature was fixed.
203:
204: 2000-12-29 03:07 knu
205:
206: * cvsweb.cgi: Specify --ignore-failed-read on invoking tar(1).
207:
208: 2000-12-29 02:49 knu
209:
210: * cvsweb.cgi, cvsweb.conf: Add "automatic tarball generation"
211: feature. You can check out a whole directory in gzipped tarball.
212:
213: Obtained from: Debian package: cvsweb_1.93-1
214:
215: Allow space characters in file names. (not tested yet)
216:
217: 2000-12-18 13:25 knu
218:
219: * TODO.knu, cvsweb.cgi: Revert MFZ: 1.103 -> 1.104 which introduced
220: a bogus bug. As noone seems to need to use 0.X revisions, I'd just
221: drop it. This should fix the "show only tags" feature.
222:
223: 2000-12-18 12:47 knu
224:
225: * cvsweb.cgi: Silence the warnings.
226:
227: 2000-12-18 11:48 knu
228:
229: * cvsweb.cgi: Add meta tags to prevent WWW robots from crawling
230: over the cvsweb.
231:
232: Submitted by: Wolfram Schneider <wolfram@schneider.org>
233:
234: 2000-12-08 00:11 knu
235:
236: * cvsweb.cgi: Silence `Use of uninitialized value' warnings.
237: (again)
238:
239: 2000-12-07 03:20 knu
240:
241: * TODO.knu: Mention "show only tags" feature breakage.
242:
243: 2000-12-07 03:19 knu
244:
245: * cvsweb.cgi: Emit a rather better error message when a user
246: requests to check out a deleted file.
247:
248: Pointed out by: Chris Faulhaber <jedgar@fxp.org>
249:
250: Cut an out-of-date error message. (adding -R and -l options to the
251: cvs command line should have obsoleted it)
252:
253: Optimize, clean up.
254:
255: 2000-11-23 04:26 knu
256:
257: * cvsweb.cgi, cvsweb.conf: Add a new variable $charset to specify
258: the charset for HTML output.
259:
260: Submitted by: SADA Kenji <sada@bsdclub.org>
261:
262: 2000-11-05 00:32 knu
263:
264: * cvsweb.cgi: Silence `Use of uninitialized value' warnings.
265:
266: 2000-11-03 02:36 knu
267:
268: * README.knu: Mention cat.1 is hyperlinked as well as cat(1).
269:
270: 2000-11-03 02:34 knu
271:
272: * cvsweb.cgi: MFZ: 1.104:
273:
274: 2000-11-02 07:05 hnordstrom
275:
276: * cvsweb.cgi: Allow for 0.X versions. CVS accepts such
277: version
278: numbers in import -b even if not strictly legal...
279:
280: 2000-11-03 02:33 knu
281:
282: * cvsweb.conf: Set the default diff type to unidiff for all
283: browsers, not only text-based ones.
284:
285: 2000-10-21 00:46 knu
286:
287: * cvsweb.cgi: Always give options to click on a non-colored diff
288: _and_ a colored diff.
289:
290: Requested by: SO many people :>
291:
292: 2000-10-20 22:59 knu
293:
294: * TODO.knu: Hyperlinking was properly fixed.
295:
296: 2000-10-20 21:28 knu
297:
298: * TODO.knu, cvsweb.cgi: Fix htmllify so that <A href="...">...</A>
299: won't nest. :)
300:
301: Do not show additional "(colored)" diff links when long colored
302: diff is the default.
303:
304: Reduce the use of `.' operator that is known to be expensive. Fix
305: indent, clean up.
306:
307: 2000-10-11 06:14 knu
308:
309: * cvsweb.cgi: Introduce a new function: htmlquote().
310:
311: Clean up hyperlink tags. - Use &link() instead of <a
312: href="...">...</a>. - Do urlencode() or htmlquote() as
313: appropriate.
314:
315: 2000-10-11 03:48 knu
316:
317: * cvsweb.cgi: - Recognize "links" as another text mode browser. -
318: Fix the revision links in the annotation view of a file.
319:
320: Submitted by: Christian Weisgerber <naddy@mips.inka.de>
321:
322: 2000-10-07 16:44 knu
323:
324: * cvsweb.cgi: Fix &link() not to put a redundant trailing LF.
325:
326: Improve manpage linking to support "foo.1" as well as "foo(1)".
327:
328: 2000-10-07 16:35 knu
329:
330: * cvsweb.cgi: Fix screwups in the last commit.
331:
332: Parse rlog's output explicitly. Recognize 77 ='s as a file
333: separator, and 28 -'s as revision separator.
334:
335: Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
336:
337: 2000-10-03 04:07 knu
338:
339: * cvsweb.cgi: Cleanup $barequery generation. Undefine "my"
340: variables when they are done.
341:
342: 2000-10-01 05:10 knu
343:
344: * cvsweb.cgi: Fix annotation bugs. - Do not pass gzip'ed
345: directives to cvs. (it never worked, sigh) - Fix mis-spacing.
346: Now it should look pretty well.
347:
348: 2000-10-01 03:48 knu
349:
350: * INSTALL, cvsweb.cgi: Specify -R (Read-only mode) and -l (Do not
351: log in history) flags when doing a cvs annotation so that one does
352: not need to turn on the write permission on CVSROOT/history for the
353: user which httpd runs cvsweb.cgi as. (typically "nobody")
354:
355: 2000-10-01 03:27 knu
356:
357: * cvsweb.cgi: Fix the comment to make how to set $config clear.
358:
359: Inspired by: "Dan Langille" <dan@langille.org>
360:
361: 2000-09-29 03:06 knu
362:
363: * cvsweb.cgi: Trap errors in the configuration files on loading and
364: show error messages. (Previously it failed silently)
365:
366: Submitted by: Sean Scarff <sean@pavilion.net>
367:
368: 2000-09-22 20:13 knu
369:
370: * cvsweb.cgi, cvsweb.conf: Remove $backcolor and introduce
371: $body_tag_for_src to allow to set the foreground color.
372:
373: Noticed by: dcs@FreeBSD.org
374:
375: 2000-09-22 00:30 knu
376:
377: * cvsweb.cgi: MFZ: 1.103.
378:
379: 2000-09-20 05:07 knu
380:
381: * cvsweb.cgi: Follow tab-width/tabstop/ts directives when expanding
382: tabs into spaces. Currently, only first 10 lines are scanned for
383: the directives.
384:
385: 2000-09-20 04:57 knu
386:
387: * cvsweb.cgi: MFZ: 1.101. - Fix a few bugs under mod_perl. -
388: Use the Compress::Zlib module if available. - Embed PDF files
389: inside the cvs markup view.
390:
391: 2000-09-20 03:35 knu
392:
393: * cvsweb.cgi: s/ts/tabstop/ that I forgot to substitute in the last
394: update.
395:
396: 2000-09-12 02:11 knu
397:
398: * cvsweb.cgi: Allow one to set the default diff type.
399:
400: Inspired by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
401:
402: 2000-09-10 20:54 knu
403:
404: * cvsweb.cgi: Clean up spacedHtmlText().
405:
406: 2000-09-05 00:55 knu
407:
408: * README.knu: Mention revision numbers hyperlinking in annotation.
409:
410: 2000-09-05 00:53 knu
411:
412: * cvsweb.cgi: Get the revision numbers in annotation available as
413: hyperlinks.
414:
415: Requested by: Josef Karthauser <joe@pavilion.net>
416:
417: 2000-09-04 23:50 knu
418:
419: * cvsweb.cgi: Fix previously introduced incorrect fix.
420: s/\s+\n$//; --> s/\s+$/\n/;
421:
422: FreeBSD PR: misc/20989 Submitted by: Tony Finch
423: <dot@dotat.at>
424:
425: 2000-09-04 03:25 knu
426:
427: * README.knu, cvsweb.cgi, cvsweb.conf: Introduce manpage
428: hyperlinking.
429:
430: 2000-09-04 02:33 knu
431:
432: * cvsweb.cgi: Get all mail URLs and addresses as hyperlinks, not
433: just the first one. (s/// --> s///g)
434:
435: 2000-08-25 18:01 knu
436:
437: * cvsweb.cgi: Get side-by-side diff working when $showfunc is true,
438: noting that `-p' option of diff(1) can only be used with context
439: and unified diffs.
440:
441: Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
442:
443: Allow to specify CVS tags or branch names (including `.' and
444: `HEAD') on cvs checkout.
445:
446: e.g. http://foo/cvsweb.cgi/bar/dood.c?rev=.
447: http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4
448: http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4_1_0_RELEASE
449:
450: Not for diff currently, as rcsdiff does not grok CVS tags.
451:
452: Inspired by: Folks at the FreeBSD cvs-all list.
453:
454: Specify `-R' (turn on read-only repository mode) and `-l' (do not
455: log in the command history) on cvs checkout, so that one does not
456: need a write permission with the repository.
457:
458: 2000-08-25 00:53 knu
459:
460: * cvsweb.cgi: MFZ 1.94.
461:
462: 2000-08-16 05:39 knu
463:
464: * cvsweb.conf: Turn evil $hr_ignwhite off.
465:
466: 2000-08-15 17:35 knu
467:
468: * cvsweb.cgi: Fix cvsweb.cgi's hidden bug: s/\s+$//; -->
469: s/\s+\n$//;
470:
471: Whitespace cleanup.
472:
473: 2000-08-15 15:54 knu
474:
475: * cvsweb.cgi: Declare prototypes and shut up warnings.
476:
477: Remove redundant white space at the end of lines.
478:
479: 2000-08-14 03:58 knu
480:
481: * cvsweb.cgi: Use cvsweb.conf* in the current directory when they
482: don't exist in /usr/local/etc/.
483:
484: 2000-08-01 21:42 knu
485:
486: * cvsweb.cgi: #!/usr/bin/perl -> #!/usr/bin/perl5
487:
488: 2000-07-29 21:41 knu
489:
490: * cvsweb.cgi: Resurrect $Revision$ tags of Zeller's version.
491:
492: 2000-07-29 21:10 knu
493:
494: * cvsweb.cgi: Change $prcgi to include `?pr=' part for such as
495: NetBSD.
496:
497: 2000-07-29 21:04 knu
498:
499: * cvsweb.conf: Change $prcgi to include `?pr=' part for such as
500: NetBSD.
501:
502: 2000-07-29 20:16 knu
503:
504: * README.knu: Add an RCS tag.
505:
506: 2000-07-29 20:07 knu
507:
508: * README.knu: Add README.knu to document the enhancements over
509: Zeller's version.
510:
511: 2000-07-29 18:24 knu
512:
513: * cvsweb.cgi: Another STDERR bit. (I only did 1/2 previously..)
514:
515: 2000-07-29 06:38 knu
516:
517: * cvsweb.cgi: D'oh. Correct @stickyvars.
518:
519: 2000-07-29 04:38 knu
520:
521: * cvsweb.cgi, cvsweb.conf: Output diffs in unidiff format for
522: text-based browsers. (by default)
523:
524: Convert freebsd.org to FreeBSD.org.
525:
526: 2000-07-29 02:24 knu
527:
528: * cvsweb.cgi: Merge From Zeller: 1.93 - Use CR LF in HTTP header.
529: - Redirect STDERR to /dev/null before executing rlog instead of
530: closing it.
531:
532: 2000-07-28 01:16 knu
533:
534: * cvsweb.cgi, cvsweb.conf: Clean up.
535:
536: Replace $hr_funout with $showfunc and always show function names if
537: defined. (It has been only for human readable format until this
538: change)
539:
540: 2000-07-20 20:52 knu
541:
542: * cvsweb.cgi: Allow to use `!!CVSROOTdescr!!' in $long_intro to
543: embed per CVSROOT description.
544:
545: 2000-07-20 20:14 knu
546:
547: * cvsweb.conf: Make $hr_funout default.
548:
549: 2000-07-20 20:06 knu
550:
551: * cvsweb.conf: Display my mail address instead of Zeller's.
552:
553: 2000-07-20 06:59 knu
554:
555: * INSTALL, README, TODO, cvsweb.cgi, cvsweb.conf, icons/back.gif,
556: icons/dir.gif, icons/miniback.gif, icons/minidir.gif,
557: icons/minitext.gif, icons/text.gif: Start point.
558:
CVSweb