Contribution: show different icon for icon for binary (-kb) files and show keyword expansion mode on the log page

Paul Gelderblom paulgelderblom at bigfoot.com
Sun Jun 22 12:23:29 PDT 2003


Hi all,

Attached is a patch that makes cvsweb display a different icon for files that are -according to the cvs server- binary files.
Until now, cvsweb merely ignored keyword expansion lines in the (r)log, but after this patch it uses them as follows:
- in the directory page binary files get a different icon
- in the log page, the keyword expansion type is shown, with an additional note if it's a binary file.

Of course, you need an icon for this; my 'artwork' is included  (put it in the cvsweb/icons folder) (based on the other icons already present there; am I not infringing anyone's copyright?)
For those who use the Apache icons ( in /icons by default on an apache server) it will use the binary.gif already present there.

The patch file included is a context diff against the current head revision in the freebsd repository.

Ville: It's a relatively small change so I hope it can be included there ....

Greetings,
Paul Gelderblom
paulgelderblom at bigfoot.com






-------------- next part --------------
A non-text attachment was scrubbed...
Name: binicon.patch
Type: application/octet-stream
Size: 7636 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-cvsweb/attachments/20030622/2aad89ca/binicon.obj


More information about the freebsd-cvsweb mailing list