2016-04-23 [r2223-2225]  Andrew M. Bishop <amb>

	* doc/NEWS: Update to version 2.9j (with correct release date).

	* FILES, doc/NEWS, src/version.h: Update to version 2.9j.

	* cache/html/de/Welcome.html,
	  cache/html/de/messages/ServerError.html,
	  cache/html/en/Welcome.html, cache/html/es/FAQ.html,
	  cache/html/es/Welcome.html, cache/html/fr/Welcome.html,
	  cache/html/it/FAQ.html, cache/html/it/Welcome.html,
	  cache/html/pl/Welcome.html, cache/html/ru/FAQ.html,
	  cache/html/ru/Welcome.html, doc/README, doc/README.CONF,
	  doc/de/README.CONF, doc/de/README.CONF.html, doc/de/README.html,
	  doc/es/README, doc/es/README.CONF, doc/es/contrib/README,
	  doc/es/wwwoffle.conf, doc/fr/README.CONF,
	  doc/fr/wwwoffle.conf.man.template: Update all foreign language
	  translations of WWWOFFLE documentation to the new web-site
	  address (even though most files are out of date).

2016-04-23 [r2222]  Andrew M. Bishop <amb>

	* conf/wwwoffle.conf.template: Fix an error with the new web-page
	  address.

2016-03-06 [r2221]  Andrew M. Bishop <amb>

	* src/version.h: Change version number so that it reflects last
	  released version plus unspecified subversion updates.

2016-03-04 [r2220]  Andrew M. Bishop <amb>

	* src/css.l, src/html.l: Remove the CSS media sub-parser because it
	  caused more problems than it solved. Handle C++ style comments in
	  CSS.

2016-02-28 [r2219]  Andrew M. Bishop <amb>

	* src/io.c: Fix a bug with the server using chunked encoding and
	  compression where a slow server (that sends chunk headers but not
	  data in a packet) can cause the uncompressor to think that it has
	  reached the end of the data.

2016-02-27 [r2218]  Andrew M. Bishop <amb>

	* src/iognutls.c: Fix comment.

2016-02-26 [r2217]  Andrew M. Bishop <amb>

	* src/configrdwr.c, src/connect.c, src/htmlmodify.l,
	  src/wwwoffle-tools.c, src/wwwoffles.c: Fix warnings raised if
	  compiled with clang rather than gcc.

2016-02-26 [r2216]  Andrew M. Bishop <amb>

	* src/errors.c, src/errors.h, src/wwwoffled.c: Add a new ErrorLevel
	  value indicating no logging (to replace a bogus value of -1 that
	  was used in the code).

2016-02-26 [r2214-2215]  Andrew M. Bishop <amb>

	* src/wwwoffles.c: Fix gcc warnings.

	* src/miscencdec.c: Fix bug with handling ASCII characters with the
	  top-bit set in link URLs.

2016-02-25 [r2213]  Andrew M. Bishop <amb>

	* src/io.h: Increase the buffer size from 4kiB to 16kiB.

2016-02-15 [r2211-2212]  Andrew M. Bishop <amb>

	* src/iognutls.c: Handle gnutls returning GNUTLS_E_INVALID_SESSION
	  at the end of the socket data for some web sites.

	* src/css.l, src/html.l, src/htmlmodify.l, src/messages.l,
	  src/vrml.l, src/xml.l: Fix bug with parser YY_INPUT read function
	  returning negative values into an unsigned variable.

2016-02-13 [r2210]  Andrew M. Bishop <amb>

	* src/certificates.c: Fix some of the most recent error checking
	  changes.

2016-02-13 [r2209]  Andrew M. Bishop <amb>

	* src/certificates.c, src/iognutls.c: Change error checking of
	  gnutls functions to use GNUTLS_E_SUCCESS instead of 0.

2016-02-13 [r2207-2208]  Andrew M. Bishop <amb>

	* src/certificates.c: Re-factor the code to remove some
	  duplication.

	* src/io.c, src/iognutls.c, src/iopriv.h, src/wwwoffles.c:
	  Re-implement the timeout for SSL/TLS connections including during
	  the handshake to the user-configurable amount.

2016-02-13 [r2206]  Andrew M. Bishop <amb>

	* src/iognutls.c, src/iopriv.h: Use the SNI TLS extension on
	  fake-proxied connections just in case the proxy connect parameter
	  doesn't match the real tunnelled request.

2016-02-13 [r2205]  Andrew M. Bishop <amb>

	* src/iognutls.c: Use the SNI TLS extension on outgoing connections
	  so that multiple https servers on the same IP address can be
	  distinguished.

2016-02-13 [r2204]  Andrew M. Bishop <amb>

	* src/iognutls.c, src/iopriv.h: Handle the SNI TLS extension on
	  incoming connections so that multiple names for the WWWOFFLE
	  internal https server can be used. (This change disables the TLS
	  handshake timeout).

2016-02-12 [r2203]  Andrew M. Bishop <amb>

	* src/iognutls.c: Improve the error messages for gnutls problems;
	  no more "Unknown Alert" error messages.

2016-01-15 [r2202]  Andrew M. Bishop <amb>

	* src/certificates.c: Add "signing" to the key usage of the created
	  certificates.

2016-01-08 [r2201]  Andrew M. Bishop <amb>

	* src/certificates.c: Use SHA256 for the certificates that are
	  created now that SHA1 is considered insecure.

2015-05-16 [r2200]  Andrew M. Bishop <amb>

	* src/certificates.c: Change to 2048 bit certificates to satisfy
	  recent Firefox versions.

2015-04-11 [r2198-2199]  Andrew M. Bishop <amb>

	* src/iognutls.c: Set a default gnutls handshake timeout. Handle
	  another type of error at the end of the data as being non-fatal.

	* src/certificates.c: Resize the buffer for exporting certificates
	  if not long enough to start with.

2014-11-10 [r2197]  Andrew M. Bishop <amb>

	* src/certificates.c: Remove RSA parameters code (deprecated in
	  gnutls and mostly commented out in WWWOFFLE).

2014-05-22 [r2196]  Andrew M. Bishop <amb>

	* src/iozlib.c: Accept compressed data from servers that use gzip
	  encoding but don't send the tail.

2014-04-30 [r2195]  Andrew M. Bishop <amb>

	* src/md5.c: Fix obvious but harmless error detected by gcc 4.8.2.

2013-12-31 [r2191]  Andrew M. Bishop <amb>

	* doc/scripts/README.CONF-html.pl, doc/scripts/FAQ-html.pl: Produce
	  better HTML formatting.

2013-07-27 [r2190]  Andrew M. Bishop <amb>

	* cache/Makefile.in: Don't try to install the files that were
	  deleted for being obsolete.

2013-04-20 [r2189]  Andrew M. Bishop <amb>

	* doc/NEWS, src/version.h: Updated for SVN release.

2013-04-05 [r2188]  Andrew M. Bishop <amb>

	* src/sockets4.c, src/sockets6.c: Increase the listen() backlog
	  parameter to avoid exceeding it and hitting Linux SYN flood
	  detection/protection limits.

2013-03-26 [r2187]  Andrew M. Bishop <amb>

	* src/wwwoffles.c: Accept 'Transfer-Encoding: Chunked' instead of
	  '... chunked'.

2013-03-16 [r2186]  Andrew M. Bishop <amb>

	* doc/FAQ: Fix error with section numbering.

2013-03-16 [r2184-2185]  Andrew M. Bishop <amb>

	* cache/outgoing/U98hgItueyIbW8udnZuMjpg (removed),
	  cache/outgoing/Ux3oAN7UMcBN5bQi-qYGkoA (removed),
	  cache/outgoing/Uh-W1UuCia4-wLoZYEnRrXw (removed), doc/es/LSM
	  (removed), doc/de/LSM (removed),
	  cache/outgoing/O98hgItueyIbW8udnZuMjpg (removed),
	  cache/outgoing/Ox3oAN7UMcBN5bQi-qYGkoA (removed), doc/pl/LSM
	  (removed), cache/outgoing/Oh-W1UuCia4-wLoZYEnRrXw (removed):
	  Delete obsolete files.

	* contrib/README, contrib-win32/README,
	  doc/wwwoffle.conf.man.template, doc/wwwoffle.man,
	  contrib/dontget/README, contrib/redhat2/wwwoffle.spec,
	  doc/README, conf/wwwoffle.conf.template,
	  contrib/redhat3/wwwoffle.spec, doc/wwwoffled.man,
	  cache/html/en/Welcome.html, src/wwwoffle.c, doc/FAQ,
	  src/wwwoffled.c: Change web-page and e-mail addresses from
	  gedanken.demon.co.uk to gedanken.org.uk.

2013-03-09 [r2183]  Andrew M. Bishop <amb>

	* src/htmlmodify.l: Don't delete newlines from within quoted
	  strings (e.g. attribute values).

2013-01-09 [r2181-2182]  Andrew M. Bishop <amb>

	* doc/FAQ: Trivial documentation fix.

	* src/cgi.c, src/wwwoffled.c: Patch from Jeroen Roovers to remove
	  compilation warning for [gs]etres[ug]id() functions.

2012-10-22 [r2180]  Andrew M. Bishop <amb>

	* doc/FAQ: Remove mailing lists from FAQ (except as historical
	  note).

2012-10-15  Andrew M. Bishop <amb>

	Version 2.9i of WWWOFFLE released.

2012-10-15 [r2179]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* doc/NEWS, FILES, src/version.h: Update to version 2.9i.

2012-10-15 [r2178]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/certificates.c: Fix to last change to make it re-read the new
	  certificate.

2012-10-07 [r2177]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/certificates.c: Fix problem with infinite loop when root
	  certificate expires.

2012-09-01 [r2176]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* conf, doc: Ignore files generated for installation.

2012-08-28 [r2175]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l: Don't detect webbugs for images with width and
	  height set to auto.

2012-06-17 [r2174]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c: Revert part of the 'pass-url-unchanged' option
	  change because https files in the outgoing directory don't say
	  that they are https in the request.

2012-02-07 [r2172-2173]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* doc/INSTALL: Clarify the configure instructions.

	* configure.in: Test that the lex or flex programs are actually
	  found.

2011-10-03 [r2170]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* FILES, ANNOUNCE (removed), LSM (removed), doc/ANNOUNCE (removed):
	  Don't include the ANNOUNCE or LSM files in future releases.

2011-10-03 Andrew M. Bishop <amb@gedanken.demon.co.uk>

	Version 2.9h of WWWOFFLE released.

2011-10-03 [r2167-2169]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* doc/ANNOUNCE: Update for version 2.9h.

	* LSM: Update for version 2.9h.

	* doc/NEWS, FILES, src/version.h: Update for version 2.9h.

2011-09-04 [r2166]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/iognutls.c: Use the gnutls function to check for pending data
	  first then use select() on the socket.

2011-08-27 [r2165]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/certificates.c: Create version 3 certificates instead of
	  version 1.

2011-08-26 [r2161-2164]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/certificates.c, src/io.c, src/iognutls.c: Update the source
	  code header for the last three changes.

	* src/io.c: Try and uncompress the data that is already available
	  before asking for more data.

	* src/iognutls.c: Use the gnutls error message as the main error
	  message if there is a gnutls error status (found during
	  investigation of Debian bug #638595).

	* src/certificates.c: Free the server private keys and certificates
	  at a different time and in a different way (see Debian bug
	  #638595).

2011-06-18 [2158]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/vrml.l, src/xml.l: Remove some gcc warning messages.

2011-06-18 [r2157]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/wwwoffle.c: Better handling of the command line recursive
	  options. [Note: this was in released version 2.9g but not in SVN]

2011-03-27 Andrew M. Bishop <amb@gedanken.demon.co.uk>

	Version 2.9g of WWWOFFLE released.

2011-03-27 [r2154]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* FILES, LSM: Updated for version 2.9g final release.

2011-03-27 [r2147]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* doc/CHANGES.CONF, doc/NEWS, FILES, doc/README,
	  conf/upgrade-config.pl, doc/ANNOUNCE: Update for version 2.9g.

2011-03-27 [r2145]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* src/testprogs/Makefile.in: Fixed Makefile for libgcrypt.

2010-12-28 [r2137]  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* config.sub, config.guess: Updated the autoconf/automake files.

2010-12-28  Andrew M. Bishop <amb@gedanken.demon.co.uk>

	Changed version control environment from RCS to CVS to SVN.

2010-12-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS:
	Temporary checkin to allow transition from RCS to CVS to SVN.

	* src/wwwoffles.c, src/version.h: Update version number to 2.9g.

2010-10-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/Makefile.in, src/autoconfig.h.in.in, src/certificates.c:
	Check for libgnutls and libgcrypt separately at configure time.

	* configure.in:
	Check for libgnutls and libgcrypt separately at configure time.
	Improve the code that checks for all libraries.

2010-09-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF, conf/wwwoffle.conf.template, conf/upgrade-config.pl, src/miscurl.c,
	src/parse.c, src/wwwoffles.c, src/config.h, src/configdata.c, src/misc.h:
	Add a new option 'pass-url-unchanged' to not modify the outgoing URL from the
	browser to the server.

2010-05-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/purge.c:
	Allow a one hour margin on the current time when warning about future timestamps
	and deleting temporary files (based on a patch from Michael Foerster).

2010-03-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c: Fix 2038 UNIX time_t problem.

2010-01-31  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9f of WWWOFFLE released.

2010-01-31  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS: Updated with news for this version.

	* src/version.h: Updated version number.

2010-01-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/document.c: Perform the MIME type check case insensitively.

	* src/document.c:
	Fix segmentation fault when getting list of references in parsed document.

	* src/connect.c:
	Clarify Last-Online and Last-Offline messages if never been online since
	starting.

2010-01-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c, src/ssl.c, src/https.c, doc/README.CONF:
	Clarified documentation (SSL vs https) and improved error messages for https
	failures.

2009-11-29  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF:
	Clarify the meaning of the DontCompress:mime-type option.

2009-08-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* conf/wwwoffle.conf.template: Updated version number.

2009-07-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF:
	The webbugs are defined by what the HTML says, not what they actually are.

2009-06-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Return a 304 reply if online and the cached page won't be refreshed and meets
	the conditions for this header.

	* doc/README.CONF:
	Clarification to request-conditional and validate-with-etag options.

2009-06-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/parse.c:
	Only remove "authorization" header if it is "basic" authentication.

2009-05-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/INSTALL, configure.in:
	Remove the use of the libgnutls-config program and search for the library in the
	normal configure script method.

2009-04-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/FAQ: Remove link to internet feedback form.

2009-03-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	When making a HEAD request use the cached version if possible.

2009-03-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/wwwoffle.man, src/connect.c, src/wwwoffle.c, src/wwwoffled.c:
	Add a new option to the wwwoffle program to close and re-open the log file.

	* src/css.l, src/html.l, src/htmlmodify.l:
	Remove compilation warning with newer version of flex.

	* conf/upgrade-config.pl, doc/CHANGES.CONF, doc/README.CONF, src/certificates.c,
	src/config.h, src/configdata.c:
	Add an option to expire certificates after a longer than default time.

	* src/config.h, src/configdata.c, conf/upgrade-config.pl, doc/CHANGES.CONF, doc/README.CONF,
	src/certificates.c:
	Add an option to use a faster but weaker source of random numbers for key
	generation (/dev/urandom instead of /dev/random).

2009-01-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9e of WWWOFFLE released.

2009-01-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS, doc/FAQ, doc/README, src/version.h: Update to version 2.9e.

2009-01-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Create the backup of the URL that is going to be deleted, not the original URL.

2008-11-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/monitor.c:
	Display a message on the monitor form if the page is already monitored.

2008-10-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/misc.h, src/miscencdec.c, src/miscurl.c, src/document.c:
	Fix problems with numeric character representations in URLs inside HTML
	documents (e.g. '&#038;' -> '&'), also handle non-7-bit characters and fix
	'&amp;' -> '&' conversions properly.

2008-08-26  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/wwwoffle.conf.man.template:
	Added a few more items to the example configuration file.

2008-08-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/FAQ: Removed wwwoffle-win32 mailing list.

2008-05-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iozlib.c: Stop when a deflate decompression error is seen.

2008-05-03  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF:
	Make sure that generated wwwoffle.conf doesn't have lines with more than 80
	characters.

2008-03-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	If running 'wwwoffle URL' and it is in the DontCache list then don't store the
	request.

	* src/wwwoffle.c: Fix the last change.

2008-02-26  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffle.c:
	Give an error if too many command line arguments are given.

2008-02-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF: Added clarification to DontCache option.

2008-01-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9d of WWWOFFLE released.

2008-01-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS, src/version.h: Updated to version 2.9d.

2007-12-05  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/html.l: Fetch image URLs stored in style attributes
	(e.g. <p style="background-image: url(foo);">).

	* src/controledit.c:
	Ensure that open() has a mode and that stat() was successful before using its
	results.

2007-11-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certinfo.c:
	Print out the full certificate information (based on Debian mailing list patch
	from Simon Josefsson).

2007-11-26  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iozlib.c: Fix bug with decompressing zlib data.

2007-11-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certinfo.c:
	Remove the generation and display of the XML format certificate.

2007-11-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF:
	Make the description of http-port and https-port options clearer.

2007-10-05  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c:
	In case of failure to create directory check it hasn't been made simultaneously
	by another server.

2007-09-29  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF, doc/wwwoffle.conf.man.template, src/config.h, src/configdata.c,
	src/document.h, src/html.l, src/info.c, src/refresh.c, src/wwwoffle.c, src/wwwoffle.h,
	conf/upgrade-config.pl, conf/wwwoffle.conf.template:
	Add a new option to the FetchOptions section called iframes.

2007-09-08  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* conf/wwwoffle.conf.template, doc/README, doc/README.CONF, src/config.h, src/configdata.c,
	src/parse.c:
	Added a new option referer-from that will censor the outgoing Referer header
	based on the referring URL (not the target URL).

2007-07-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l:
	Don't output an extra space before an XHTML closing tag.

	* doc/README.CONF:
	Add some clarifications on IPv6 addresses in config file and how matching is
	performed.

2007-07-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9c of WWWOFFLE released.

2007-07-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/version.h, doc/NEWS: Update for version 2.9c.

2007-07-08  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l, src/html.l:
	Find the end of the script by searching for "</script".

	* src/certificates.c:
	Add some more information to the fatal error messages.

2007-07-03  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF: Grammatical correction and clarification.

2007-06-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/https.c: Don't try securing link if socket connection failed.

2007-06-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/sockets6.c:
	Use the AI_ADDRCONFIG flag when calling getaddrinfo().

2007-05-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configmisc.c:
	Fix bug with case-insensitive wildcard matching in the configuration file
	(Bug reported by Paul Rombouts).

2007-04-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/info.c: Fix some warnings & errors splint detected.

	* src/certificates.c, src/certinfo.c:
	Add some splint annotations, fix some warnings & errors splint detected.

	* src/certificates.h, src/iopriv.h, src/io.h:
	Add some splint annotations.

2007-04-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/connect.c: Fix memory leak (hint from P. Rombouts).

	* src/connect.c: Remove some dead code and trivial bug fix.

2007-04-18  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/cgi.c, src/certinfo.c:
	More changes for compilation warnings on a system where size_t!=int (hint from
	P. Rombouts).

2007-04-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Defer de-initialisation of chunked or compressed sockets until end to ensure
	memory is freed.

	* src/certinfo.c: Free memory.

	* src/certificates.c:
	De-initialise gnutls data structures to free memory.

2007-04-01  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/finger.c: Make code same as http.c for opening socket connection.

	* src/info.c:
	Fix problems with cached page contents info if it is being stored compressed.

2007-03-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iopriv.c: Fix comment error.

	* src/wwwoffled.c:
	Print message when ready to start after initialisation.

	* src/document.c: Free allocated memory.

	* src/io.c: Free memory at file close.

	* src/certificates.c: Free memory at exit.

2007-03-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/errors.c: Don't truncate the log file when opening it.

2007-02-16  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9b of WWWOFFLE released.

2007-02-16  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/version.h, doc/NEWS: Update to version 2.9b.

2007-02-16  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF: Change wording of lock-files description.

	* src/wwwoffles.c: Fix source code indentation.

2006-12-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/FAQ: Updated question about https.

2006-12-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/monitor.c:
	Display a non-empty value in the hour-of-day field for default setting.

2006-11-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c, src/errors.c, src/purge.c, src/certificates.c:
	Make sure that files are truncated when opening them.

2006-10-30  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/io.c: Make sure that buffer size is OK.

2006-10-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/html.l, src/htmlmodify.l:
	Fix HTML parsing of '\' characters outside strings (in script tags).

2006-10-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/html.l, src/htmlmodify.l:
	Fix HTML parsing of '\' characters within quoted strings (in script tags and
	quoted HTML attributes).

	* src/iochunk.c, src/iopriv.c, src/iopriv.h, src/iozlib.c, src/io.c:
	Changes to allow turning zlib and chunked encoding off and returning to plain text.
	Fixed most of the FIXMEs in io.c.

2006-09-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Handle expired certificates by deleting them and creating a new one.
	If the root certificate is changed then it will need to be reloaded into the browser.

2006-09-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c, src/spool.c:
	Don't delete the lasttime cached spool file if the page is unchanged this time
	but new sometime in this session.

2006-08-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c: Make sure that allocated strings are long enough.

2006-08-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9a of WWWOFFLE released.

2006-08-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS, src/version.h: Update to version 2.9a.

2006-08-04  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l:
	Keep attribute values that contain '()' but no quote characters.

2006-07-29  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF:
	Mention that the run-* programs must be the full pathname and are run in the background.

2006-07-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iognutls.c, src/iopriv.h:
	Make more functions return ssize_t types.

	* src/local.c, src/wwwoffle.h:
	Replace global function FindLanguageFile() with static function find_language_file().

	* src/configfunc.c, src/io.c, src/purge.c:
	Make sure that static functions are defined as static.

	* src/certificates.c, src/io.c, src/iognutls.c, src/iozlib.c, src/spool.c:
	Correct some comments.

2006-07-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/proto.h, src/wwwoffles.c:
	Fix code that mixed ssize_t and int variable types.

2006-07-16  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Remove the latest new header to keep IIS servers happy.

	* src/configrdwr.c: Make sure that allocated strings are long enough.

	* src/headbody.c:
	Remove any spaces between the header keyword and the ':'.

2006-07-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/control.c: Remove misleading warning message.

2006-06-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/parse.c: Delete the 'Keep-Alive' header if it is present.

2006-06-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Add a new header to keep the 'bad-behaviour' PHP script happy.

2006-06-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/io.c, src/iozlib.c:
	Handle the special case of compressed chunk body of zero length.

2006-04-24  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/scripts/README.CONF-man.pl:
	Fix mis-formatting in wwwoffle.conf manual page created from README.CONF.

2006-04-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README, src/wwwoffle-tools.c:
	Change the behaviour of wwwoffle-ls so that 'wwwoffle-ls http://foo/' lists just
	the one URL and 'wwwoffle-ls http/foo' lists the whole directory.

	* conf/Makefile.in:
	Make the error messages about using /etc/wwwoffle/wwwoffle.conf instead of
	/etc/wwwoffle.conf less confusing (especially if CONFDIR = /etc).

2006-04-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/parse.c: Fix bug where a forced refresh didn't force a reload.

2006-04-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/info.c: If a URL is aliased show the information for the alias.

2006-04-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.CONF, src/config.h, src/configdata.c,
	src/htmlmodify.l, conf/upgrade-config.pl, doc/CHANGES.CONF:
	Add an option to disable all iframes in HTML output.

2006-04-03  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certinfo.c: Fix bug with serving CA certificate.

2006-04-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9 of WWWOFFLE released.

2006-04-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/version.h, doc/NEWS: Update to version 2.9.

	* src/certificates.c: Replace C++ style comments with C style ones.

	* src/certificates.c: Fix to allow compilation with Cygwin.

2006-02-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c, src/certificates.h, src/certinfo.c:
	Verify certificates when displaying the certificate info.

2006-02-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c: Code tidy up, no functional changes.

	* src/certificates.c:
	Fix race condition with creating keys and certificates.

2006-02-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Use a level of 'Inform' not 'Warning' for the "Cannot write to client;
	disconnected?" message.

2006-02-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/html.l:
	Handle icon link tags labelled as "icon" as well as "shortcut icon".

2006-02-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/wwwoffle.man: Some clarifications.

2006-02-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffle.h, src/wwwoffles.c, doc/CHANGES.CONF,
	doc/README.CONF, src/config.h, src/configdata.c, src/parse.c:
	Added the cookies-force-refresh option to the OnlineOptions section.

2006-02-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/miscurl.c:
	For links that consist of just an anchor name return just the current URL.

2006-02-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l:
	Shuffle the enumerated types for tags and attributes.

	* src/html.l: Detect background images in <td> tags.
	Shuffle the enumerated types for tags and attributes.

2006-02-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Fix potential crash if error when creating root certificate.

2006-02-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certinfo.c:
	More error checking when printing certificate information.

	* src/certificates.c:
	Ignore trusted certificates whose activation and expiration dates do not cover now.

2006-02-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Make sure that loading the root credentials is performed first.

2006-02-01  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* audit-usage.pl: Fix so that it works with syslog output.

	* src/certificates.c:
	Simplify hostname to filename translation (s/:/!/g).

	* src/certinfo.c:
	Add filename to hostname translation (s/!/:/g) for Cygwin.
	Simplify hostname to filename translation (s/:/!/g).

2006-01-31  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/Makefile.in, src/Makefile.in: Formatting fix.

	* src/htmlmodify.l: Fix script removal tag attribute confusion.

2006-01-30  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9-beta-ssl released.

2006-01-30  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/version.h, doc/NEWS: Updated to version 2.9-beta-ssl.

	* src/certificates.c:
	Add a message that creating a private key may take a long time.

2006-01-29  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Fix bug with creation of certificates/root directory and files in it.

	* src/messages.l:
	Change the configure_io_*() functions so that there is a separate one for each type
	of configuration (timeout, zlib, chunked) and not one for each direction (read, write).

	* src/wwwoffles.c: Remove compilation warning without gnutls.

	* src/certificates.c, src/certinfo.c:
	Replace ':' in filename for cygwin.

2006-01-26  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README: Add information about caching of HTTPS.

2006-01-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certinfo.c: Display chain of certificates for real server.

	* src/certificates.c, src/certificates.h:
	Add function to load multiple certificates from a file.
	Split function to save multiple certificates to a file.

2006-01-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c: Fix memory leak.

	* src/iognutls.c: Handle gnutls errors better when reading/writing.

2006-01-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Don't change directory.  Make the error messages common between functions.

	* src/certinfo.c: Fix bug with finding correct certificate file.

	* src/info.c: Add link to certificate info for https pages.

2006-01-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/https.c, src/io.c, src/io.h, src/iognutls.c, src/iopriv.h, src/wwwoffles.c:
	Change the io_init_gnutls() and configure_io_gnutls() functions to pass the
	hostname when making a client connection.

	* src/certificates.h, src/certificates.c:
	Store the server's certificate chain for offline checking.

	* src/iopriv.c, src/iognutls.c:
	If there is no timeout then don't split large writes into small chunks.

2006-01-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Handle race conditions when creating certificate and key file.

2006-01-16  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Abort if the secure connection to the client cannot be started.

2006-01-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c, src/certificates.h, src/Makefile.in,
	src/wwwoffle.h, src/wwwoffles.c:
	Add hooks to the functions in certinfo.c to display certificate information.

	* src/certinfo.c: New file.

	* src/info.c:
	Change HTMLMessage() to HTMLMessageHead() and HTMLMessageBody().

	* src/miscencdec.c:
	Allow four dates to be returned without overwriting each other.

2006-01-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c:
	Make the certificate files world readable when creating them.

2006-01-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* conf/upgrade-config.pl, conf/wwwoffle.conf.template:
	Add MIME-Type for .pem certificate files.

2006-01-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l:
	Fix bug that caused corruption of link and style tags if disable-script=yes.

2006-01-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Fix error with mode checking of tunnel or cache selection.

	* src/ssl.c: Fix error with proxy configuration item lookup.

	* src/https.c: Add support for proxying cached https connections.

2006-01-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configfunc.c:
	Fix problem with allowing SSL caching of hosts using port 443.

2006-01-08  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/config.h, src/configfunc.c, src/wwwoffles.c:
	Rename IsSSLAllowedPort() to IsSSLAllowed().

	* src/miscencdec.c, src/https.c, src/misc.h, src/miscurl.c,
	src/parse.c, src/purge.c, src/ssl.c, src/wwwoffle-tools.c,
	src/wwwoffle.c, src/wwwoffles.c, doc/README.URL, src/configfunc.c,
	src/finger.c, src/ftp.c, src/http.c:
	Don't parse the "parameters" part of a URL separately from the path
	(See README.URL for details).

2006-01-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.https:
	Added information about what GNUTLS adds to WWWOFFLE.

	* doc/FAQ: Add information about security implications of SSL caching.

	* audit-usage.pl: Handle new format log file message line.

	* src/wwwoffles.c:
	Check if tunnelling or caching is allowed for each SSL URL when handling it.

	* doc/README.CONF, conf/wwwoffle.conf.template,
	conf/upgrade-config.pl, doc/wwwoffle.conf.man.template,
	doc/CHANGES.CONF, src/config.h, src/configdata.c,
	src/configfunc.c:
	Added a new SSLOptions section with options for enable-caching and
	(allow|disallow)-(tunnel|cache), removed the ssl-allow-port option.

	* src/configmisc.c, src/configpriv.h, src/configrdwr.c:
	Allow a HostAndPortWild type of configuration value.

2006-01-04  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Handle SSL URLs after checking for proxy authentication.

2005-12-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c, src/certificates.h, src/iognutls.c, src/iopriv.h:
	Change the type name from gnutls v1.0 format to v1.2 format (append '_t').

2005-12-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/https.c: New file.

	* src/proto.c, src/proto.h, src/wwwoffles.c, src/Makefile.in:
	Added caching of https protocol.

2005-12-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/io.c, src/io.h, src/iognutls.c, src/iopriv.h:
	Allow using a fake certificate for the server.

2005-12-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/certificates.c, src/certificates.h, src/iognutls.c:
	Add in client side secure connection support.

2005-12-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/parse.c, src/purge.c, src/ssl.c, src/wwwoffle-tools.c,
	src/wwwoffled.c, src/wwwoffles.c, src/control.c, src/finger.c,
	src/ftp.c, src/http.c, src/info.c, src/io.c, src/io.h:
	Change the configure_io_*() functions so that there is a separate one for each type
	of configuration (timeout, zlib, chunked) and not one for each direction (read, write).

	* src/ssl.c, src/finger.c, src/ftp.c, src/http.c:
	Use the DefaultPort() function instead of hard-coded port numbers.

2005-12-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c, src/wwwoffle.h, src/wwwoffles.c, src/monitor.c, src/refresh.c:
	When fetching a POST request use the hash calculated when it was requested.

2005-12-03  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iognutls.c:
	Use size_t variables instead of int where appropriate.

	* src/iopriv.h, src/wwwoffles.c, src/io.c, src/io.h, configure.in:
	Merge gnutls branch back in with changes after beta release.

2005-11-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/miscurl.c: Don't get confused with links like javascript:*.

2005-11-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/io.c: Fix error found by compiling with -pedantic option.

	* src/htmlmodify.l: Block more javascript from appearing.

2005-11-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* configure.in:
	Call AC_INIT() properly and include sys/params.h when testing for sys/mount.h.

	* src/miscencdec.c:
	Cast constants from int to size_t where appropriate.

	* src/htmlmodify.l:
	Remove any 'onerror' attributes from HTML tags when removing Javascript.

2005-11-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iochunk.c, src/iozlib.c, src/misc.h:
	Use size_t variables instead of int where appropriate.

	* src/configmisc.c: Fix error found by compiling with -pedantic option.

	* src/wwwoffle.h, src/wwwoffles.c:
	Make the wwwoffles_read,write_data() functions have types more like read,write_data().

	* src/ftp.c, src/http.c, src/proto.h, src/finger.c:
	Make the *_ReadBody() functions have types more like read_data().

2005-11-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/index.c, src/io.c, src/io.h, src/iochunk.c, src/misc.h, src/miscencdec.c:
	More changes to remove lots of compilation warnings on a system where
	sizeof(long)!=sizeof(int) (size_t!=int, time_t!=long).

2005-11-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	Version 2.9-beta released.

2005-11-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS: Remove gnutls for version 2.9-beta.
	Update to version 2.9-beta.

	* src/version.h: Update to version 2.9-beta.

	* src/document.c: Ignore links that start with '#'.

	* doc/README.1st: Remove gnutls for version 2.9-beta.

2005-11-05  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c, src/wwwoffled.c, src/iopriv.h, src/io.h,
	src/io.c, src/connect.c, src/configfunc.c, src/configdata.c,
	src/config.h:
	Remove gnutls for version 2.9-beta.

2005-11-03  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/NEWS: Almost ready for version 2.9-beta.

2005-11-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README: Remove gnutls for version 2.9-beta.

	* doc/README: Added description of HTTPS support for internal pages.

	* doc/README: Rename the Cancel button on internal web pages to Delete.

	* audit-usage.pl: Remove gnutls for version 2.9-beta.

	* audit-usage.pl: Handle HTTP and HTTPS connections.

	* conf/wwwoffle.conf.template: Remove gnutls for version 2.9-beta.

	* conf/wwwoffle.conf.template:
	Add the https-port option, change some comments.

	* src/certificates.c:
	Changes to comments (added a FIXME, removed unused code).

	* src/Makefile.in, src/autoconfig.h.in.in, conf/upgrade-config.pl,
	doc/README.CONF, doc/CHANGES.CONF, doc/INSTALL, configure.in:
	Remove gnutls for version 2.9-beta.

2005-11-01  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* conf/upgrade-config.pl: Fix comment to refer to version 2.8.

	* doc/INSTALL:
	Specify the minimum versions of the libgnutls and libgcrypt libraries.

2005-10-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configfunc.c: Handle http and https ports for IsLocalHost().

2005-10-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/sockets6.c, src/certificates.c, src/configfunc.c,
	src/iochunk.c, src/iozlib.c, src/parse.c, src/sockets4.c:
	Fix gcc-4.0 signed/unsigned pointer warnings.

2005-10-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/wwwoffle.conf.man.template, doc/wwwoffle.man, doc/wwwoffled.man:
	Spelling corrections, WWWOFFLE version update.

	* doc/README.CONF:
	Clarify description of 'age=0' option in Purge section.

	* doc/README.hyperestraier:
	Update note about version of hyperestraier program to use.

	* src/configrdwr.c: Perform some more error checking.

	* src/purge.c: Fix bug with PrintMessage() format string.

2005-10-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/sockets6.c:
	Make sure that sprintf() with short arguments have enough memory allocated.

	* src/io.c, src/errors.c:
	Make sure when creating a string that enough memory is allocated.

	* src/wwwoffles.c, src/configfunc.c, src/configmisc.c,
	src/configrdwr.c, src/ftp.c, src/htmlmodify.l, src/index.c,
	src/messages.l, src/misc.h, src/purge.c, src/refresh.c,
	src/spool.c, src/cgi.c, src/configdata.c, src/configedit.c:
	Make sure that sprintf() with integer arguments have enough memory allocated.

2005-10-08  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/purge.c:
	Improve the purge output, print more information about what is happening.

	* src/purge.c:
	Purge files from the lasttime and prevtime directories if the URLs were deleted
	from the main cache.

2005-09-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/document.c, src/htmlmodify.l, src/miscurl.c, src/wwwoffle-tools.c, src/wwwoffle.c:
	Chop '#' from the end of URLs in only one place, SplitURL().

2005-09-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iognutls.c, src/iopriv.c:
	Fix bug when asked to write huge amounts of data on slow connection with timeout.

	* src/control.c: Fix bug with deleteing all pages for a host.

2005-09-18  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/purge.c:
	When purging to get a fixed cache size or disk free scale ages on a percentage basis.

2005-09-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/purge.c:
	Reorganised the code, added some more comments, functionally the same.

2005-09-11  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c:
	Don't create directory when trying to read non-existent cached page.

	* doc/README.https: New file.

2005-09-10  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/miscurl.c:
	Move the URL canonicalisation functions from SplitURL to CreateURL function.
	Undo any URL-encoding of the hostname.

2005-09-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.1st, doc/README.htdig, doc/README.mnogosearch,
	doc/README.namazu, doc/README:
	Updated all documentation for cache indexing and searching programs.

	* doc/README.hyperestraier: New file.

2005-09-04  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/search.c: Add the ability to search using Hyper Estraier.

2005-09-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffled.c:
	Swap around the loading of CA certs and creating of own certs.

	* src/iognutls.c: Unconditionally free the credentials when finished.

	* src/certificates.c: Added lots of error checking that was missing.
	Initialise the dh_params only once at startup.
	Don't use rsa_params for key exchange, too slow to generate.

2005-08-30  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iognutls.c:
	Move the certificate handling to iognutls.c from io.c.
	Retry handshake if a retryable error status.

	* src/wwwoffles.c, src/io.c, src/io.h, src/iopriv.h:
	Move the certificate handling to iognutls.c from io.c.

2005-08-23  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configrdwr.c, src/configpriv.h, src/configdata.c, src/configfunc.c:
	Read the configuration file twice the first time, once for StartUp and once for
	the rest.

2005-08-19  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iognutls.c, src/certificates.h, src/certificates.c: New file.

	* src/io.c, src/io.h, src/iopriv.h:
	Integrate io_gnutls functions into io library.

	* src/connect.c: Close https sockets when forking child.

	* src/wwwoffles.c: Use SSL/TLS if connection is from https socket.

	* src/wwwoffled.c: Open the https listening socket if requested.

	* src/config.h, src/configdata.c, src/configfunc.c:
	Add the HTTPS_Port configuration option.

	* src/autoconfig.h.in.in, src/Makefile.in:
	Added the configuration changes if configured to compile with gnutls.

	* conf/upgrade-config.pl: New file.

	* doc/CHANGES.CONF, doc/README.CONF:
	Added the https-port option to the configuration file.

	* doc/INSTALL, configure.in:
	Added the option to select compiling with gnutls.

2005-08-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configedit.c, src/configfunc.c, src/control.c,
	src/htmlmodify.l, src/index.c, src/local.c, src/messages.l,
	src/miscurl.c, src/proto.c, src/wwwoffle.c, src/cgi.c,
	src/config.h:
	Replace the function GetLocalHost(int) with three new functions;
	GetLocalHost(), GetLocalHostPort() and GetLocalURL().
	Replace $localhost in HTML messages with $localurl.

2005-07-24  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* conf/upgrade-config-2.5-2.6.pl, conf/upgrade-config-2.6-2.7.pl,
	conf/upgrade-config-2.7-2.8.pl:
	Rename upgrade-config-2.x-2.5.pl to upgrade-config-2.0-2.5.pl.

	* src/io.c, src/iochunk.c, src/iopriv.h, src/iozlib.c:
	Move extern declaration of io_errno and io_strerror into iopriv.h.

	* src/index.c: Removed the URL counter from HTML indexes.

	* src/control.c:
	Changed the delete URLs, added a delete-multiple url-all option for protocol indexes.
	Removed the URL counter from HTML indexes.

2005-07-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iopriv.h, src/iozlib.c, src/io.c:
	Remove all traces of zlib functions and structures when compiling without zlib.

2005-07-18  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/INSTALL, configure.in: Default to using IPv6 if it is available.

2005-07-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/proto.h, src/ssl.c, src/wwwoffle.h, src/finger.c, src/ftp.c,
	src/http.c, src/misc.h:
	Make some changes found from using splint, add some more annotations.

	* src/io.c:
	Stop the io_tell() function crashing if no line reading was performed.

	* src/config.h, src/configfunc.c, src/wwwoffles.c:
	Remove unused 'host' argument from function IsSSLAllowedPort().

2005-07-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	Fix potential crash on NULL pointer in error message.

	* src/wwwoffle-tools.c: Fix missing comment.

2005-07-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/cgi.c, src/purge.c, src/spool.c, src/wwwoffle.h:
	Don't create any temporary files, don't need to purge them either.

2005-07-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/iozlib.c, src/misc.h, src/miscencdec.c, src/miscurl.c,
	src/parse.c, src/proto.c, src/proto.h, src/spool.c,
	src/wwwoffle.h, src/wwwoffles.c, src/config.h, src/configfunc.c,
	src/configmisc.c, src/configpriv.h, src/configrdwr.c,
	src/document.c, src/errors.c, src/headbody.c, src/html.l,
	src/htmlmodify.l, src/index.c, src/iochunk.c:
	Use 'const' for fixed, non-writeable arrays and function parameters in low-level
	functions.

2005-06-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/htmlmodify.l, src/wwwoffle-tools.c, src/wwwoffle.c:
	Be more consistent with chopping '#' from the end of URLs.

2005-06-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffle-tools.c, src/spool.c:
	Allocate the size of string needed when reading the U* files.

2005-06-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configedit.c:
	Add headers to make sure that page expires from browser cache.

2005-06-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/messages.l:
	Print out the internal page headers when in ExtraDebug mode.

2005-06-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/Makefile.in, src/wwwoffle-tools.c, doc/README:
	Removed the uncompress-cache and convert-cache programs.
	Merged the functionality of these programs into wwwoffle-tools.

2005-05-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* doc/README.1st: Remove the file called CONVERT.
	Tidy up the list of other files.

	* doc/INSTALL, doc/Makefile.in:
	Remove the file called CONVERT and all references to converting old cache
	format.

2005-05-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffled.c:
	Make 'wwwoffle -fetch' in autodial mode work as expected.

2005-04-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/monitor.c:
	Give a warning message if the timestamp of the monitored file cannot be changed.

2005-04-21  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c:
	Fix problem with URLToFileName() incorrect length allocation.

2005-04-17  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configfunc.c:
	When a POST/PUT request has an alias then remove WWWOFFLE's fake URL arguments.

	* src/parse.c: Fix SSL tunnelling to port 443 again.

2005-03-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/spool.c: Bug fix, remove double free of memory.

2005-03-24  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/proto.c: Add a missing comment.

	* src/parse.c: Bug fix for non-http protocols.

	* src/wwwoffle-tools.c, src/wwwoffle.h, src/convert-cache.c,
	src/index.c, src/misc.h, src/miscurl.c, src/monitor.c,
	src/purge.c, src/search.c, src/spool.c:
	Make Url->dir private data.
	Add in private data for the hashed filename.
	Add functions to return these two pieces of private data.
	Make the FileNameToURL() function return a URL* not string.

2005-03-15  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/index.c:
	Move common code to new functions for special directory indexes.

2005-03-14  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/miscurl.c, src/search.c, src/errors.c:
	Bug fixes for compilation with CYGWIN.

2005-03-13  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffled.c, src/wwwoffles.c, src/monitor.c, src/parse.c,
	src/purge.c, src/refresh.c, src/search.c, src/sockets4.c,
	src/sockets6.c, src/spool.c, src/ssl.c, src/wwwoffle-tools.c,
	src/wwwoffle.c, src/info.c, src/io.c, src/io.h, src/iochunk.c,
	src/iopriv.c, src/iopriv.h, src/iozlib.c, src/javaclass.c,
	src/local.c, src/misc.h, src/miscencdec.c, src/miscurl.c,
	src/connect.c, src/control.c, src/controledit.c, src/document.c,
	src/errors.c, src/ftp.c, src/gifmodify.c, src/headbody.c,
	src/html.l, src/htmlmodify.l, src/index.c, src/cgi.c,
	src/configedit.c, src/configfunc.c, src/configmisc.c,
	src/configrdwr.c:
	Make lots of small changes to remove lots of compilation warnings on
	a system where sizeof(long)!=sizeof(int) (size_t!=int, time_t!=long).

	* src/configfunc.c:
	Make the ssl-allow-port config file option work for port 80.

	* src/parse.c, src/refresh.c, src/wwwoffle.h, src/wwwoffles.c:
	Make the ParseRequest() and RefreshPage() functions return URL*.

2005-03-12  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c:
	A POST/PUT request is not fetched if confirm-requests is enabled.

	* src/miscurl.c: Fixed bug with hosts having a port number.

	* src/spool.c: Move common code to new functions (chdir/mkdir).

2005-03-09  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/miscurl.c, src/proto.c, src/proto.h, src/wwwoffles.c, src/index.c, src/misc.h:
	Don't use URL->link directly, create only if needed in new function
	CreateProxyableLink().

2005-03-07  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configdata.c, src/configmisc.c, src/configpriv.h, src/configrdwr.c:
	Add a new configuration file data type 'UrlWild' for wildcard Urls.

	* src/sockets6.c, src/wwwoffled.c:
	Make the sockets6.c functions handle IP addresses in '[...]'.

2005-03-06  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configrdwr.c:
	Add a new configuration file data type 'HostWild' for wildcard hosts.
	Check and simplify the parsing of Host, HostAndPort types, add HostWild.

	* src/configdata.c, src/configmisc.c, src/configpriv.h:
	Add a new configuration file data type 'HostWild' for wildcard hosts.

	* src/cgi.c, src/misc.h, src/miscurl.c, src/wwwoffled.c:
	CanonicaliseHost() always returns an allocated string.

2005-03-05  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffle.c, src/configrdwr.c, src/misc.h, src/miscurl.c:
	Remove the SplitHostPort() and RejoinHostPort() functions.

2005-03-04  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/misc.h, src/miscurl.c:
	Remove the Protocol item from the URL data structure.

	* src/proto.c, src/proto.h:
	Add helper functions now that Url->Protocol does not work.

	* src/wwwoffles.c, src/configrdwr.c, src/htmlmodify.l,
	src/refresh.c, src/wwwoffle.c:
	Don't use Url->Protocol, use the helper functions.

	* src/Makefile.in: Update the dependencies.

2005-03-02  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/finger.c, src/ftp.c, src/http.c, src/ssl.c:
	Hard-code the port number into the function instead of using Protocol structure.

2005-03-01  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/Makefile.in: Remove '-L' from FLEXFLAGS.

	* src/parse.c, src/refresh.c, src/wwwoffle.h, src/wwwoffles.c:
	The RequestURL() and RecurseFetchRelocation() functions take a
	URL* argument instead of char*.

	* src/miscurl.c, src/misc.h:
	Remove the local item from the URL data structure.

	* src/info.c, src/refresh.c, src/wwwoffles.c:
	Don't use Url->local, use IsLocalHost(Url).

	* src/config.h, src/configfunc.c:
	Change the argument to the IsLocalHost() function to take URL*.
	Check all of the proto, host and port in most efficient order.

2005-02-28  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configedit.c: Replace READ_BUFFER_SIZE with REWIND_STEP.

	* src/io.h, src/iochunk.c, src/local.c, src/parse.c, src/purge.c,
	src/ssl.c, src/uncompress-cache.c, src/wwwoffle-tools.c,
	src/wwwoffle.c, src/wwwoffles.c, src/cgi.c, src/gifmodify.c,
	src/info.c, src/io.c:
	Replace READ_BUFFER_SIZE with IO_BUFFER_SIZE.

	* src/wwwoffles.c:
	Relabelled some log messages with 'hostport' instead of 'host'.

	* src/miscurl.c: Bug fix for AddPasswordURL() breakage.

2005-02-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffles.c, src/messages.l:
	Use the buffered write because the written data blocks are likely to be small.

	* src/iopriv.h:
	Change to using an io_buffer instead of char*,int for chunk data buffer.
	Change to using an io_buffer instead of char*,int for read line data.
	Add a new io_buffer for the buffered write.

	* src/iochunk.c:
	Change to using an io_buffer instead of char*,int for chunk data buffer.

	* src/io.h: Add a new function that buffers before writing.

	* src/io.c: Add a new function that buffers before writing.
	Change to using an io_buffer instead of char*,int for read line data.
	Increase the read line buffer length.

2005-02-27  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/wwwoffle.h: MovedLocation() now returns URL*.

	* src/refresh.c, src/wwwoffle.c, src/info.c, src/html.l, src/document.h, src/document.c:
	GetReferences() now returns URL** instead of char**.
	GetReference() now handles base URL and meta refresh URL.

	* src/css.l: Don't call SetBaseURL().

	* src/htmlmodify.l: LinkURL() now returns URL*.

	* src/control.c: Renamed AddURLPassword() to AddPasswordURL().

	* src/wwwoffles.c: Renamed AddURLPassword() to AddPasswordURL().
	MovedLocation() now returns URL*.

	* src/parse.c: Renamed AddURLPassword() to AddPasswordURL().
	LinkURL() now returns URL*.
	MovedLocation() now returns URL*.

	* src/misc.h, src/miscurl.c:
	Rename AddURLPassword() to AddPasswordURL() and make it use CreateURL().
	The LinkURL() function now returns URL* by calling SplitURL().

	* src/configfunc.c, src/configmisc.c, src/configpriv.h:
	Added new macros for accessing UrlSpec data.

2005-02-26  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/control.c, src/search.c:
	Don't use Url->Protocol where it can be avoided.

	* src/finger.c, src/ftp.c, src/http.c, src/parse.c, src/ssl.c, src/wwwoffle.h:
	Proxy information is stored as URL instead of hostport string.
	MakeRequestProxyAuthorised() updated to take URL instead of hostport.

	* src/config.h, src/configfunc.c, src/miscurl.c:
	IsLocalHost() function now takes host and port instead of hostport.

	* src/configfunc.c, src/wwwoffle-tools.c, src/wwwoffle.c, src/wwwoffles.c:
	Use the CreateURL() function where previously URL strings were formed from their
	constituent parts and SplitURL() was called on them.

	* src/parse.c, src/purge.c:
	Use the CreateURL() function where previously URLs were faked.

	* src/misc.h, src/miscurl.c:
	Split up the SplitURL() function into SplitURL() and CreateURL() (the former
	calls the latter to maintain compatibility).

	* src/index.c: Bug fix with URL encoding.

2005-02-25  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/purge.c:
	Replace function arguments called host with ones called hostport to reflect
	their true meaning.

	* src/config.h, src/configfunc.c, src/finger.c, src/ftp.c,
	src/htmlmodify.l, src/http.c, src/miscurl.c, src/purge.c,
	src/ssl.c, src/wwwoffles.c:
	Changed the IsSSLAllowedPort(), IsLocalHost(), IsLocalNetHost() and
	IsAllowedConnectHost() functions to replace hostport argument by separate host
	and port or change to just host.

2005-02-24  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/configedit.c, src/configfunc.c, src/configmisc.c, src/configpriv.h:
	Modify MatchUrlSpecification() function to take separate host and port arguments.

2005-02-22  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/refresh.c, src/ssl.c, src/wwwoffle-tools.c, src/wwwoffle.c,
	src/wwwoffles.c, src/cgi.c, src/configedit.c, src/configfunc.c,
	src/finger.c, src/ftp.c, src/htmlmodify.l, src/http.c,
	src/index.c, src/misc.h, src/miscurl.c, src/parse.c, src/purge.c:
	Change the URL data structure; rename host to hostport, add separate host and port.

2005-02-20  Andrew M. Bishop  <amb@gedanken.demon.co.uk>

	* src/gifmodify.c, src/misc.h: Added some extra splint annotations.

	* src/uncompress-cache.c, src/wwwoffle-tools.c, src/wwwoffle.c,
	src/autoconfig.h.in.in, src/cgi.c, src/configdata.c,
	src/configfunc.c, src/configrdwr.c, src/controledit.c,
	src/convert-cache.c, src/errors.c, src/errors.h, src/local.c,
	src/messages.l, src/monitor.c, src/purge.c, src/refresh.c,
	src/search.c, src/spool.c:
	Tidy up some comments, move some minor code around, no functional changes.
