home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-13 | 35.2 KB | 1,023 lines |
-
- ChangeLog for WebLint
-
- 1.014
-
- 13-february-1996 neilb
-
- * Weblint 1.014 released.
-
- 12-february-1996 neilb
-
- * The attribute checking code now allows percentage widths
- if the netscape extension is enabled. For example: WIDTH=50%
- Added a testcase, natch.
-
- 10-february-1996 neilb
-
- * The SIZE attribute is now accepted for the SELECT element.
- Added a test case to the testsuite.
-
- * Added support for the SCRIPT element if the netscape extension
- is enabled.
-
- 3-february-1996 neilb
-
- * Released beta to weblint-victims.
-
- * Created a file rc.new for the distribution, which is the part
- of the sample weblintrc which is new with this version.
- Suggested by Doug Grinbergs <dougg@qualcomm.com>.
-
- * Added support for new netscape elements: FRAMESET, FRAME and NOFRAMES.
- Added testcases for these.
- Suggested by Jens Thordarson <thordurh@rhi.hi.is> and others.
-
- * Added support for new netscape attributes:
- TARGET attribute for A, BASE, AREA, and FORM elements
- COLOR attribute for FONT element
- WRAP attribute for TEXTAREA element
- Also added an attribute format for the WRAP attribute.
-
- * Changed the way netscape attributes are handled. Information about
- netscape attributes used to be in two places -- an associative
- array which holds regular expressions to check for the
- 'netscape attribute' warning, and the code in the AddExtension()
- routine. Now the latter uses the former, which keeps things
- in sync internally, and makes it easier to update.
-
- * Added a new warning, 'attribute-format', which is generated for
- badly formatted attribute values. For example:
- <IMG SRC="foo.gif" ALIGN=MIDLE ALT="alt text">
- will result in the warning:
- f.html(4): illegal value for ALIGN attribute of IMG (MIDLE)
- Code submitted by Axel Boldt <axel@uni-paderborn.de>.
-
- 2-february-1996 neilb
-
- * Added a blurb to the README and man page about certain versions of
- perl having bugs which are triggered by weblint.
- Suggested by Jeff Schave <schave@engr.wisc.edu>.
-
- * Added a warning, 'bad-text-context', which warns if text appears
- in certain illegal contexts, such as UL, HEAD, etc.
- Added testcase to testsuite. At the moment the warning is given
- with the line number of the line which contains the start of the
- next element. For example:
- <UL>
- This is not legal
- </UL>
- This will generate a warning with the line number as the 3rd line,
- rather than the third, as you might expect. The warning is enabled
- by default.
- Suggested by Richard Finegold <goldfndr@eskimo.com>.
-
- * Fixed the extension handling code so you can specify multiple
- extensions:
- weblint -x netscape,java foo.html
- Added a testcase for this. For this particular example, you could
- argue that java should be automatically enabled if you enable
- the netscape extension . . .
- Suggested by a number of people, several of whom supplied patches.
-
- * Added the LOWSRC attribute for IMG element when the netscape
- extension is enabled. Added case to testsuite.
- Patch from David Koblas <koblas@homepages.com>
-
- 29-january-1996 neilb
-
- * Added a new warning `heading-mismatch', which flags the common
- mistake of closing a header with a different level tag. Eg:
- <H2>Level two heading</H1>
- This used to result in two warnings: one because no closing </H2>
- was seen, and the other because </H1> was seen without a matching
- prior <H1>. You now get one warning that the heading tags are
- mismatched:
- Malformed header - open tag is <H2>, but closing is </H1>
- Modified the test case in the test suite. The warning is enabled
- by default.
-
- 1.013
-
- 1-january-1996 neilb
-
- * Changed the output format when running the testsuite to be more
- terse, so everything stays on screen. You can always look at the
- log file for greater verbosity.
-
- * Added a function PickTmpdir() to the testsuite, which is used to
- determine a valid temporary working directory. Previously the
- testsuite assumed that /usr/tmp would be present, which is not true
- on all systems.
- Patch submitted by Charles F. Randall <crandall@dmacc.cc.ia.us>
-
- * Updated the text at the head of the sample configuration file,
- weblintrc, to clarify that the enable'd warnings in the file are
- enabled by default, so you don't really have to enabled them in
- your config file, unless you like explicitness.
-
- * Added entry to weblintrc for variable 'directory-index'.
-
- 21-december-1995 neilb
-
- * Changed the default for the 'url-get' variable to be undefined,
- rather than "lynx -source". This means that "weblint -todo" will
- print the URL of the todo list, unless you explicitly set the
- url-get variable.
-
- 16-december-1995 neilb
-
- * Added a warning 'literal-metacharacter', which warns about
- metacharacters included literally, where they should be represented
- using entities. Currently just warns about >. Warning is enabled by
- default. Simple testcase added to testsuite.
- Suggested by Michael P. Gerlek <gerlek@dat.cse.ogi.edu>
-
- * The variable 'directory-index' can now be set to a comma-separated
- list of filenames, if you want to allow multiple names for directory
- index files, such as welcome.html or index.html. In your .weblintrc:
- set directory-index = welcome.html, index.html
- Suggested by Eric Maryniak <E.Maryniak@rgd.nl>.
-
- 15-december-1995 neilb
-
- * Fixed a bug in the testsuite for testcases where warnings are
- expected. If you got more warnings than expected, but the extraneous
- warnings were on the same line as expected warnings, then the
- test was not marked as unsuccessful, as it should have been.
-
- * Added a warning 'require-doctype', which if results in a warning if a
- page does not have a DOCTYPE as the first element. Disabled by default.
- Two cases added to testsuite. Not enabled with -pedantic.
- Suggested by Larry Virden <lvirden@cas.org>
-
- * Running "weblint -todo" will now pull down the latest todo list
- from our ftp server if you have set the 'url-get' variable.
- Otherwise it prints the URL of the webified version of the ToDo list.
-
- * Reformatted the text displayed with the -help and -U switches,
- so that it will fit on a standard sized tty or PC.
- Suggested by Frank Steinke <fsteinke@zeta.org.au>
-
- * Fixed bug related to container elements where the closing tag
- is optional, such as LI. If a comment was the last thing,
- then weblint would warn that the container was empty. E.g.
- <UL>
- <LI>line 9
- <!-- line 10 -->
- <LI>line 11
- </UL>
- Added regression test case to testsuite.
- Reported by Mark Gates <mr-gates@uiuc.edu>
-
- 10-december-1995 neilb
-
- * Added a semi-colon to a single statement in an else clause,
- which was apparently causing problems under perl 4.019.
- Frank Steinke <fsteinke@zeta.org.au>
-
- * The README was still claiming that weblint.ps was included with the
- distribution. It now gives the URL for the copy on our ftp server.
-
- 9-december-1995 neilb
-
- * Added support for the netscape extensions added in netscape 2:
- - ENCTYPE attribute for FORM element
- - USEMAP attribute for IMG element (client side image maps)
- - MAP and AREA elements
-
- * Removed the todo list from the weblint script. The -todo switch
- now echoes the URL for the online todo list. Maybe in the future
- weblint -todo will grab an ascii version from a web/ftp site,
- and spit it out. This will keep the todo list current.
-
- * Fixed a bug where enabling the java extension would also enable
- the netscape extension.
-
- 1.012
-
- 9-december-1995 neilb
- * Added an EXTENSIONS section to the man page, which describes
- the supported html extensions, and how to enable them.
-
- 6-december-1995 neilb
- * Changed the way the symlink check works, so a single file is still
- checked if it is a symlink and you specified -l, but you get a
- warning to that effect.
- Suggested by John F. Whitehead <jfw@wral-tv.com>.
-
- 4-december-1995 neilb
- * If you give the -l switch and an explicit list of files, weblint
- will now ignore any which are symlinks. If you give only one file,
- specify -l, and the file is a symlink, then you get a warning that
- the file is being ignored.
- Suggested by John F. Whitehead <jfw@wral-tv.com>.
-
- 3-december-1995 neilb
- * Created a web page version of the Artistic License, which is linked
- to the weblint home page. Weblint -v also prints the URL of this page.
-
- * Added support for the Java elements APPLET and PARAM,
- as an extension 'java'. For weblint to accept the java elements:
- % weblint -x java
- or the following in your .weblintrc:
- extension java
- Added a testcase for a valid applet with param, and a testcase
- which checks that PARAM appears in an APPLET.
- Suggested by Jon Thackray <jrmt@uk.gdscorp.com>
-
- * Changed the version string printed for the -v/-version switch,
- so the following information is printed:
- - version of weblint
- - copyright me
- - weblint is covered by the artistic license, and where to get
- a copy of the license.
- Suggested by Eric de Mund <ead@ixian.com>
-
- * Changed the way the testsuite determines the version of weblint,
- so that it will work for old and new format version string.
-
- 10-november-1995 neilb
- * Changed the pedantic option so that the bad link check is not
- enabled, since it needs some work ;-)
-
- 7-november-1995 neilb
-
- * Added a warning, 'container-whitespace', which flags leading and
- trailing whitespace for specific container elements, currently
- A, TITLE, H1 through H6.
- Suggested by Richard Finegold <goldfndr@eskimo.com>
-
- * Added a -pedantic command-line switch, which turns on all warnings
- except case-sensitive checking of element tags. This can be combined
- with -e and -d to turn on or off specific warnings.
-
- * Fixed bug in the testsuite where ExpectWARN() wouldn't flag a
- failure if not all the expected warnings were seen, but all the
- warnings seen were expected.
-
- * Fixed the bug whereby a container element would be reported as
- empty if the last thing in the container was a valid comment.
- Reported by Craig Leres <leres@ee.lbl.gov> and others.
-
- 29-july-1995 neilb
-
- * We now check for the -v, -U, -help, -version, and -todo switches
- before checking for a .weblintrc and reading the warning information.
- Suggested by Richard Finegold <goldfndr@eskimo.com>.
-
- * Added a warning `img-size' which suggests you set WIDTH and HEIGHT
- attributes on IMG elements, since this can apparently improve
- rendering time on some browsers. Warning is disabled by default.
- Suggested by Richard Finegold <goldfndr@eskimo.com>
-
- 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 <abigail@mars.ic.iaf.nl>
-
- 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:
-
- <BODY BGCOLOR="#fefefe">
-
- 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 <lvirden@cas.org>
-
- * 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 <philip@wolfe.net>.
-
- * 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:
-
- <H1>This is a heading<H1 ALIGN=CENTER>
-
- 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 <jfw@wral-tv.com>.
-
- * Added a new warning, `empty-container', which generates a warning if
- you have an empty container element. For example:
-
- <TITLE></TITLE>
-
- Added a testsuite case for this example. It will also catch empty
- optional container elements, such as:
-
- <UL>
- <LI>blah
- <LI>
- <LI>blah blah
- </UL>
-
- 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:
-
- <warning-id> ([ enabled | disabled ])
- <test of warning message>
-
- Suggested by Tom Neff <tneff@panix.com>
-
- 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 <barry@hal.com>.
-
- * 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 <lvirden@cas.org>
-
- 9-july-1995 neilb
-
- * Added a warning `repeated-attribute' which warns about an attribute
- being repeated in the same tag. For example:
- <IMG SRC="foo.gif" SRC="bar.gif">
- Contributed by Axel Boldt <axel@uni-paderborn.de>.
-
- * 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: <B>, <I>, or <TT>.
- The warning message reminds the user of possible logical markup
- to use instead. The warning is disabled by default.
- Suggested by Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>)
-
- * 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 <jfw@wral-tv.com>.
-
- * 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 <axel@uni-paderborn.de>
-
- * Added a warning `illegal-closing', for unexpected use of a closing
- tag. For example: <IMG ...> ... </IMG>
- Bug reported by David Begley <david@bacall.nepean.uws.edu.au>
-
- * The man page didn't say that "weblint -" specifies that weblint
- should read from standard input.
- Noted by Stephen Fitzpatrick <S.Fitzpatrick@cs.qub.ac.uk>
-
- * 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 <!-- blah blah > is not a legal comment.
- Previously weblint would hit this and suck in the rest of the file,
- and then warn that it hadn't seen </BODY>, </HTML> etc.
- Added test case to testsuite.
- Reported by Laurent Demailly <dl@hplyot.obspm.fr>
-
- * Changed &whine() to take the line number as the first argument,
- rather than just assuming $. is the correct line number. This
- means that warnings can be given for the right line, with a little
- work.
-
-
- 1.008
-
- 4-july-1995 neilb
-
- * Rewrote the man page with some custom macros to facilitate
- generation of HTML version of the man page.
-
- * Fixed a number of typos in the ChangeLog, weblintrc.
- Added the "extension netscape" command to the weblintrc, commented
- out by default. Barry Bakalor <barry@hal.com>.
-
- * Changed the version of tar used to create the distribution, since
- some people were having problems extracting from the archive.
- Thanks to Barry Bakalor and Anthony Thyssen for helping with this.
-
- 2-july-1995 neilb
-
- * Added CONTRIBUTIONS section at the end of the man page, listing
- everyone who has contributed something to weblint.
-
- * Weblint now exits with an exit status of 1 if any warnings were
- given. Suggestion and code from John Labovitz <johnl@ora.com>.
-
- * Fixed bug where weblint wouldn't complain about nested FORM
- elements. Added test case to testsuite.
-
- * Fixed bug where the following MATH elements were not recognized:
- ITEM element, used within the ARRAY element
- OVER, ATOP, CHOOSE, LEFT, and RIGHT tags, used with BOX
- Added test case for MATH elements to testsuite.
-
- * Added more context checks for HTML 3 elements:
- - OVERLAY must appear inside a FIG
- - TD, TH, and TR can only appear in a TABLE
- - ABOVE, BOX, BELOW, VEC, BAR, DOT, DDOT, HAT, TILDE, SQRT,
- ROOT, OF, ARRAY, TEXT, T, and BT can only appear in MATH
- - LH must appear in OL, UL, or DL.
- Added some context test cases to testsuite.
-
- * Fixed the bug where the VALIGN attribute was not recognized for the
- TD and TH elements of tables. Bug report and fix from
- David Begley <david@bacall.nepean.uws.edu.au>
-
- * Changed a couple of the regular expressions to be associative
- arrays, for a slight speedup.
-
- * Added a `required-context' warning, which is a generalized case
- of existing warnings such as `form-item'. It specifies a required
- context for an element, such as the ROOT element can only appear
- in the MATH element. The following warnings were removed:
- form-item
- select-option
- defn-list-elements
- list-item
- Code contributed by Axel Boldt <axel@uni-paderborn.de>
-
- * Added -i switch to specify that case should be ignored when checking
- element tags. This is equivalent to:
- weblint -d lower-case -d upper-case
- Suggested by Tom Neff <tneff@panix.com>
-
- * Changed the wording of the `heading-order' warning to mention that
- this is a "bad style" warning.
-
- * More updates to the netscape support:
- - CELLSPACING attribute for TABLE
- - CELLPADDING attribute for TABLE
- - WIDTH attribute for TD and TH
- - TEXT, LINK, VLINK, and ALINK attributes for BODY
-
- 29-june-1995 neilb
-
- * Updated the testsuite so individual tests can specify flags which
- should be added to the weblint command line, eg to enable the
- netscape extensions.
-
- * Added two test cases to check that netscape HTML extensions are
- (only) correctly recognized when weblint is run with the netscape
- extension enabled.
-
- * Finally got around to making weblint accept the BLINK element
- when the netscape extensions are enabled.
- Noted by Bruce Speyer <bspeyer@texas-one.org>.
-
- * Fixed bug where <> would confuse weblint, resulting in spurious
- warnings. Reported by Gil Citro, and others. Added test case
- to the testsuite.
-
- * Fixed bug in netscape support where the WIDTH attribute was not
- recognized for the HR element.
-
- * Updated netscape support to include new attributes:
- - START attribute for OL
- - VALUE attribute for LI
- - BGCOLOR attribute for BODY
- (noted by Richard Lloyd <R.K.Lloyd@csc.liv.ac.uk>)
-
- 1.007
-
- 26-june-1995 neilb
-
- * Improved performance by adding /o modifier to appropriate regular
- expression matches. Weblint on a fairly complex table went from
- ~8.9 seconds to ~1.9. Suggested by Dana Jacobsen <dana@acm.org>.
- Shame on me for not doing this in the first place!
-
- * Fixed bug where the 'unknown-attribute' warning would never be
- generated for unknown element attributes. Added test case to
- testsuite. Bug reported by Dana Jacobsen <dana@acm.org>.
-
- * Fixed bug in testsuite where user's .weblintrc could be configured
- to make certain tests fail. Now set WEBLINTRC = /dev/null, to
- over-ride user's configuration.
- Reported by Barry Bakalor <barry@hal.com>
-
- * Fixed bug where the <B> element was not recognized. Added a simple
- test case to testsuite for the information type and font style
- elements (B, I, TT, CODE, etc).
-
- 1.006
-
- 25-june-1995 neilb
-
- * First cut at HTML 3 support. All elements are supported, but not
- all the right context checks are performed yet (for example, a
- warning is not generated if you use something like <SQRT> outside of
- a MATH element, or <TR> outside of a TABLE.
-
- * If you don't have a TITLE element, but *do* have a HEAD element,
- then you'll only get one warning now, instead of the previous two.
-
- * Weblint no longer complains about not seeing the HTML element,
- unless you enable the 'html-outer' warning (which is enabled by
- default). It used to generate an additional (unsuppressable)
- warning about expected HTML tag not seen.
- Reported by Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>.
-
- * Fixed bug where obsolete elements generated warnings about unknown
- tags, and never generated the `obsolete' warning.
- Reported by Axel Boldt.
-
- * Added -E switch, which specifies that warnings should be printed
- to STDERR rather than STDOUT.
-
- 24-june-1995 neilb
-
- * Added a regression testsuite for weblint, in test.pl. Run with:
- % make test
- The status of each test (pass/fail) is printed to STDERR, with a more
- complete log written to weblint-test.log.
-
- * Fixed bug in man page for `head-element' description. It now says
- that the warning is `enabled' by default, instead of `head-element',
- which is what it said before.
- Reported by Anthony Thyssen <anthony@cit.gu.edu.au>
-
- * Fixed bug where enabling the netscape extensions would result in
- VAR and NOBR not being recognized as legal. Bug report and fix
- from David J. MacKenzie <djm@va.pubnix.com>
-
- 23-june-1995 neilb
-
- * Added -t switch for terse output, to facilitate testing.
- If -t is specified, warnings are reported as:
- filename:line:id
-
- * Fixed the bug where weblint would complain that the META element
- was not allowed to appear in the HEAD element. In fact that's
- the only place it can appear :-)
- Reported by Thomas Leavitt <leavitt@webcom.com> and others.
-
-
- 1.005
-
- 21-nov-1994 neilb
-
- * Fixed bug whereby unknown tags were always given as </...>,
- whether they were opening or closing tags.
- (reported by Larry Virden <lvirden@cas.org>)
-
- * Changed the `bad-link' warning to be disabled by default, since
- there is at least one situation in which it will generate bogus
- warnings.
-
- 20-nov-1994 neilb
-
- * Giving the -R switch with no files/directories specified now
- defaults to `.', the current directory.
- (suggested by Barry Bakalor <barry@hal.com>)
-
- * Fixed bug whereby required attributes were being checked on closing
- tags as well as opening tags.
- (reported by Barry Bakalor <barry@hal.com>)
-
- * Fixed bugs in `bad-link' check for non-existent targets:
- - mailto:
- - news:
- - directories
- - absolute paths, eg cgi-scripts (HREF="/cgi-bin/foo")
- (reported by Barry Bakalor <barry@hal.com>)
-
- * Fixed typos in weblintrc.
- (reported by Barry Bakalor <barry@hal.com>)
-
- 1.004
-
- 19-nov-1994 neilb
-
- * Added an Announce file to distribution, which contains verbose
- announcement for the current version, listing all new warnings and
- their identifiers.
-
- * First attempt at check for potentially unclosed elements ---
- checking for:
- < ... < ... >
- for example:
- <A HREF="..." anchor text</A>
- Warning has identifier `unexpected-open'. This might not catch all
- cases at the moment, since I didn't want it to generate bogus warnings
- where < appears in an attribute value (eg ALT="<-").
-
- * Changed the 'expected-attribute' identifier to 'required-attribute',
- and added a warning with identifier 'expected-attribute'. This is
- for elements which have no *required* attributes, but for which you
- expect to see at least one attribute, such as anchors.
-
- * Added a Makefile, with targets for install, preview, tar, clean,
- and a postscript version of the man page.
- (suggested by Richard Lloyd <R.K.Lloyd@csc.liv.ac.uk>)
-
- 18-nov-1994 neilb
-
- * Added support for `proposed' items: REL and REV attributes of anchors,
- META, DFN, STRIKE, and U.
- (noted by Robert Schmunk <pcrxs@nasagiss.giss.nasa.gov>)
-
- 17-nov-1994 neilb
-
- * Added a check for relative local links, to generate a warning if
- the target does not exist. Warning identifier: bad-link
-
- * Added -d and -e switches to enable and disable warnings.
- The argument can be one or more warning identifiers, with multiple
- identifiers separated with commas. For example:
- weblint -e upper-case foo.html
- A pseudo identifier `mixed-case' is now supported:
- weblint -e mixed-case foo.html
- Turns off upper-case and lower-case checking.
-
- * Warning added for heading which is more than one level deeper than
- the most recent heading. I.e. <H1> followed by <H3> results in
- warning, with identifier 'heading-order'.
- (suggested by Bill Arnett <billa@netcom.com>)
-
- 16-nov-1994 neilb
-
- * Changed the extension switch from -e to -x, so that -e and -d
- can be used for enable/disable warning(s).
-
- 15-nov-1994 neilb
-
- * Added a check for an odd number of quotes in an element, so the
- following now generates a warning:
- <A HREF="http://www.foobar.com/>
-
- 14-nov-1994 neilb
-
- * If an element is not recognized, then any element attributes are
- not checked for validity.
- (suggested by Victor Parada <vparada@inf.utfsm.cl>)
-
- * All keywords in the configuration file can now take multiple
- arguments. I.e., you can enable multiple warnings with:
- enable mailto-link upper-case
-
- * The illegal element check wasn't being performed on closing
- tags, so </XYZ> wouldn't generate a warning.
- (reported by Victor Parada <vparada@inf.utfsm.cl>)
-
- * Added a sample configuration file `weblintrc', with
- comments describing everything which can be configured.
- Configuration matches the built-in defaults.
-
- * Use of <!doctype ...> would generate a bunch of bogus whines.
- (reported by several people :-)
-
- 1.003
-
- 11-nov-1994 neilb
-
- * Added support for HTML extensions. Currently only the
- netscape extensions are supported, either by:
-
- weblint -e netscape ....
-
- or, in your .weblintrc:
-
- # enable the netscape HTML extensions
- extension netscape
-
- Weblint will not complain that <CENTER> is an unknown element,
- and also knows about the additional element attributes.
-
- * Fixed the bug in the -R code whereby it would get confused
- about where it was.
- (reported by Victor Parada <vparada@inf.utfsm.cl>, and
- Bob Friesenhahn <bfriesen@simple.dallas.tx.us>)
-
- * Removed the generic context check added on 6-nov-1994.
- I need to learn more about implied context before this is
- added back in. It currently whines about *everything* :-(
-
- 6-nov-1994 neilb
-
- * Generalized the context checks; they are now table driven,
- and based on the HTML spec. Warning identifier is
- `illegal-context'.
-
- 5-nov-1994 neilb
-
- * Made the usage slightly more verbose, giving example usage.
- (suggested by Douglas Brick <dbrick@u.washington.edu>)
-
- * Added a check for illegal elements, with warning identifier
- of 'unknown-element', enabled by default. So
- <\PRE> and <CENTER>
- will generate this warning. (suggested by Joerg Heitkoetter
- <Joerg.Heitkoetter\@germany.eu.net>)
-
- * For non-nestable elements (such as anchors), the warning
- now gives the line number of the still open element.
-
- * Weblint now correctly recognizes SGML comments where there
- is whitespace between the -- and > closing the comment. Eg:
- <!-- this is a valid comment -- >
- (reported by Paul Black <black@lal.cs.byu.edu>)
-
- 3-nov-1994 neilb
-
- * Removed the warning with identifier 'tag-args':
- expected argument for tag <...>.
- and replaced it with a general check for required attributes,
- with identifier 'expected-attribute':
- sample.html(9): SRC attribute is required for <IMG>.
-
- * Added a -s command-line switch, for short warnings. Short
- warnings do not include the filename:
- line 5: no <TITLE> in HEAD element.
- (suggested by Clay Webster <clay@unipress.com>)
-
- * Added a check and warning (identifier: leading-whitespace)
- for whitespace between < and tag name, for example:
- < TITLE>
- will generate warning:
- Should not have whitespace between "<" and "TITLE>".
-
- * The usage statement is now printed if weblint is invoked
- without any command-line arguments.
-
- * Fixed bug whereby
- <IMG SRC="foo.gif" ISMAP ALT="alt text">
- would generate a warning that element had no ALT text.
-
- * Added a check for legal attributes. So the following
- <A HROF="...">
- generates a warning:
- Unknown attribute "HROF" for element <A>.
- with warning identifier of 'unknown-attribute'.
-
- * Messages are now written to STDOUT rather than STDERR.
-
- 1.002
-
- 2-nov-1994 neilb
-
- * Now correctly (or more correctly at least) recognizes SGML
- comments, and doesn't get confused by markup embedded in
- comments. Added a new warning for markup embedded in a
- comment, since this confuses some browsers. The warning,
- with identifier 'markup-in-comment', is enabled by default.
-
- * Modified the checks on element closing tags </...>,
- performed for </HEAD>, </BODY> and </HTML> -- the following
- used to generate a bogus warning that no </UL> was seen:
-
- <HTML><HEAD><TITLE>sample</TITLE></HEAD><BODY>
- <UL>
- <LI><I>unclosed italic
- </UL>
- </BODY></HTML>
-
- * Slight re-arrangement of man page sections, to follow
- traditional UNIX conventions (reported by Joerg Heitkoetter
- <Joerg.Heitkoetter@germany.eu.net>)
-
- * No longer complains if you have more than one ADDRESS
- element on a page.
-
- 1-nov-1994 neilb
-
- * added a -R switch, which is used to recurse down directories,
- checking any files found with a file extension of .html or
- .htm; for example:
- weblint -R .
- Weblint now depends on find.pl from the standard perl library.
- (suggested by Thomas Leavitt <leavitt@webcom.com>)
-
- * changed logic of the check for elements which can and can't
- appear in the HEAD element. Weblint previously complained
- that ISINDEX could only appear in the HEAD, which was not
- true (reported by Victor Parada <vparada@inf.utfsm.cl>)
-
- 29-oct-1994 neilb
-
- * attributes were not being seen in multi-line tags if they
- appeared after the first newline. Eg:
- <IMG SRC="foo.gif"
- ALT="alt text>
- generated a warning that the IMG had no ALT text.
- (reported by Barry Bakalor <barry@hal.com>)
-
- * Now handles whitespace around the = of tag attributes.
- The following used to generate a warning:
- <IMG SRC = "foo.gif" ALT="alt text>
- (reported by Barry Bakalor <barry@hal.com>)
-
- * No longer complains about comments in the HEAD element.
- (reported by Douglas Brick <dbrick@u.washington.edu>)
-
- * Certain variables were not declared local to the WebLint()
- function, which meant that when weblint'ing more than one
- file on the command-line, some state variables would roll
- over to the next file, causing bogus warnings.
- (reported by Barry Bakalor <barry@hal.com>)
-
- * Now handles case where a tag attribute does not have
- a value (attribute = value), as is the case with ISMAP.
- Weblint was getting confused over things like:
- <IMG SRC="foo.gif" ISMAP ALT="alt text">
- and complaining that the IMG had no ALT text.
- (reported by Richard Lloyd <R.K.Lloyd@csc.liv.ac.uk>)
-
- * If you give `-' as a filename, weblint will read from
- standard input. Warnings will be given for `stdin'.
- (suggested by Ryan Waldron <rew@nuance.com>)
-
-
- 1.001
-
- 24-oct-1994 neilb
-
- * Added a man page (initial man page supplied by
- Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>)
-
- * Added a check for FORM elements:
- - INPUT, SELECT, and TEXTAREA must appear in a FORM.
- - OPTION must be within a SELECT element.
-
- * Added code which checks for overlapped elements. E.g.:
- <H1> ... <A HREF="foobar"> ... </H1> </A>
- This now results in one warning rather than six :-)
- Multiply overlapped elements (more than two) don't always
- generated the `correct' number of warnings, but you should
- get at least one :-)
-
- * Improved check for unclosed elements. Following example
- now generates one warning, instead of the multitude
- generated by weblint 1.0:
- <HTML><HEAD><TITLE>...</TITLE></HEAD>
- <BODY> <B> unclosed bold element
- </BODY></HTML>
-
- 23-oct-1994 neilb
-
- * fixed the whine generated if you have a <!DOCTYPE ...>
- at the start of your page.
-
- * added support for a configuration file. WEBLINTRC,
- or $HOME/.weblintrc. Changed the whine() function to use
- warning identifiers. Defined whines, with identifiers,
- and default enabling are stored beyond the end of the script.
- Can enable or disable warnings in your .weblintrc.
-
- * added check for illegally nested elements (eg anchors).
-
- * additional check for items which should not appear in HEAD.
-
- * check that <DT> and <DD> appear in a definition list (DL).
-
- * added COMMENT to list of obsolete elements.
-
- * added check for elements which must be in a FORM element.
-
- * added check for <LINK REV=MADE HREF="mailto:...">,
- which is not enabled by default.
-
- 21-oct-1994 neilb
-
- * added check for LI, that it appears within DIR, MENU,
- OL or UL elements
-
- * Fixed bug whereby weblint wasn't seeing tags with
- embedded newlines. Eg:
- <A
- HREF="...."
- >
-
- 20-oct-1994 neilb
-
- * fixed bug in the code which keeps track of currently `open'
- elements. It was getting confused on line numbers.
- (reported by Barry Bakalor <barry@hal.com>)
-
- * checks at end of file for unclosed elements were giving
- message:
- tag <...> has no matching </HTML>.
- rather than correct closing tag.
- (reported by Barry Bakalor <barry@hal.com>)
-
-
- 1.000
-
- First version made publically available.
-
-