ChangeLog for WebLint 1.011 28-july-1995 neilb * Changed the Makefile so that weblint.ps is not included as part of the distribution. A postscript version of the man page is available from a link on the weblint home page. 26-july-1995 neilb * Added a command-line switch -urlget, to specify the command which weblint should use to pull down a URL. * Added a warning, `attribute-delimiter', which warns about use of ' as a delimiter for attribute values, since this is not correctly parsed by all browsers. * Weblint now understands attribute values with are quoted with '...' as well as "...". Reported by Abigail 25-july-1995 neilb * Added a new warning, `netscape-attribute', which generates a warning if you use netscape specific attributes for a non netscape-specific tag. For example: Previously this would generate an "unknown attribute" warning, but you now get a warning that this is netscape specific, and you should enable the netscape extension to suppress the warning. Suggested out by Larry W. Virden * Added a weblint variable `message-style', which can be used to specify the style of warning message to generate lint (default) lint-style warning messages short -s short messages (no filename) terse -t format for parsing (eg by testsuite) So for example, in the sample weblintrc: set message-style = lint Suggested by Philip Hallstrom . * Weblint will now check pages specified by URL, for example: weblint http://www.khoral.com/staff/neilb/weblint.html Weblint uses a 'url getter', which can be specified in your .weblintrc: # command to use to pull back URLs for checking set url_get = httpget -nofollow * Added a general feature for setting weblint variables in the weblintrc. * Added a warning, 'closing-attribute', which warns if you have attributes for a closing tag of a container. For example:

This is a heading

20-july-1995 neilb * Added a warning, `directory-index', which checks to see if every directory has an index file when recursing. By default the index file is expected to be called `index.html', but this can be over-ridden in your .weblintrc: directory-index home.html The warning is enabled by default. Suggested by John F. Whitehead . * Added a new warning, `empty-container', which generates a warning if you have an empty container element. For example: Added a testsuite case for this example. It will also catch empty optional container elements, such as:
  • blah
  • blah blah
Added a test case for this as well. 19-july-1995 neilb * Added a -warnings switch, which tells weblint to list all supported warnings, in the following format: ([ enabled | disabled ]) Suggested by Tom Neff 18-july-1995 neilb * Added a warning `must-follow', which is used to check situations where an element must immediately follow an other. This checks: - Shouldn't have anything appearing between the HEAD and BODY elements. - LH (list heading) must be the first element in an OL, UL, or DL element. - OVERLAY first in a FIG - HEAD immediately follow HTML - BODY immediately follow /HTML - /HTML immediately follow /BODY Added a couple'a test cases for these. * Added a check for known warnings when enabling or disabling warnings. The check is performed for `enable' and `disable' keywords in your configuration file, and also for the -d and -e switches. Suggested by Barry Bakalor . * Fixed the bug where weblint would complain about a comment (claiming it was not a valid comment), if it was the last thing in the file. 1.010 11-july-1995 neilb * Fixed a bug whereby the - option on the command-line (to specify that weblint should read from standard input) did not work. 1.009 10-july-1995 neilb * Some warnings started capitalized, some lower case. Now consistently lower case. Pointed out by Larry W. Virden 9-july-1995 neilb * Added a warning `repeated-attribute' which warns about an attribute being repeated in the same tag. For example: Contributed by Axel Boldt . * Changed the format of the data in the __DATA__ section at the end of weblint. Rather than being a colon separated list, each field appears on a line of its own. 8-july-1995 neilb * Added a warning `physical-font' which generates warnings if you use any of the following physical font markup: , , or . The warning message reminds the user of possible logical markup to use instead. The warning is disabled by default. Suggested by Chris Siebenmann ) * Added more explicit context checks now that optional containers are supported: Element Appear in Which appears in -------- -------------- ---------------- TD, TH TR TABLE ITEM ROW ARRAY * Weblint now supports elements which are optional containers: DD, DT, LI, P, ROW, TD, TH, TR * Added an option to tell weblint to ignore symlinks when recursing in a directory. From the command-line: % weblint -l foo/ or in your .weblintrc: ignore symlinks Added this to the weblintrc, but commented out by default. Suggested by John F. Whitehead . * Got rid of the -R switch: if weblint is run on a directory, then it will automatically recurse in the directory. This means that files and directories can be mixed on the command line; they couldn't with previous versions of weblint. Suggestion and code from Axel Boldt * Added a warning `illegal-closing', for unexpected use of a closing tag. For example: ... Bug reported by David Begley * The man page didn't say that "weblint -" specifies that weblint should read from standard input. Noted by Stephen Fitzpatrick * Now use newgetopt.pl rather than getopts.pl for command-line parsing, since it supports long command-line switches. Added the following switches: New Switch Same As Function ---------- ------- -------------------- -version -v display weblint version -help -U display usage statement Turns out that newgetopt.pl is case-insensitive, so -todo *replaces* the -T switch. New Switch Replaces Function ---------- ------- -------------------- -todo -T display todo list -stderr -E warnings to STDERR, not STDOUT * Added a warning `unclosed-comment', which flags an unterminated comment. For example