2005-02-14 Andrew M. Bishop Version 2.8f of WWWOFFLE not released. 2005-02-14 Andrew M. Bishop * src/connect.c: Add the missing parameter to the PrintMessage() call when executing change mode script. 2005-01-31 Andrew M. Bishop * src/wwwoffles.c: Use the new GetAliasURL() function instead of IsAliased(). * src/htmlmodify.l: Modify the HTML around anchors to aliases of cached pages. * src/config.h, src/configfunc.c: Change the IsAliased() function to GetAliasURL() to return the alias. 2005-01-29 Andrew M. Bishop Version 2.8e of WWWOFFLE released. 2005-01-29 Andrew M. Bishop * src/version.h, doc/NEWS: Update to version 2.8e. 2005-01-26 Andrew M. Bishop * src/wwwoffle-tools.c: Fix previous wwwoffle-mv change and preserve timestamps. 2004-12-09 Andrew M. Bishop * src/configdata.c: Make the default value for reply-chunked-data match the documentation. 2004-11-29 Andrew M. Bishop * src/info.c: Indicate on the info page if the URL has been requested. 2004-11-28 Andrew M. Bishop * src/wwwoffles.c: Handle HEAD requests more intelligently. When online send HEAD don't cache them, when offline convert to GET if not cached. 2004-11-22 Andrew M. Bishop * doc/README: Updated description of wwwoffle-mv program. * src/configdata.c, src/wwwoffles.c, conf/upgrade-config.pl, conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF, src/config.h: Added a new option cache-control-max-age-0 to OnlineOptions and OfflineOptions. * doc/FAQ: Another solution to the infamous libc resolver problem. 2004-11-21 Andrew M. Bishop * src/wwwoffles.c: No functional changes. Added more comments relating to Fetch mode, and on mode for else statements. Rearranged code so that mode==Fetch is evaluated with others in else branch. * src/wwwoffles.c: Fix two places where being in Fetch mode would go wrong (aliased URL and unauthenticated proxy request). 2004-11-09 Andrew M. Bishop * doc/README, doc/README.CONF: Some text changes. 2004-11-07 Andrew M. Bishop * src/wwwoffle-tools.c: Allow moving files and changing the path. 2004-11-06 Andrew M. Bishop * src/control.c: Fix spurious error message. 2004-10-24 Andrew M. Bishop * doc/wwwoffle.conf.man.template: Updated the dates in the footer/header. 2004-10-23 Andrew M. Bishop * src/spool.c: Only print an error for a missing monitor time file if the URL is monitored. 2004-10-17 Andrew M. Bishop Version 2.8d of WWWOFFLE released. 2004-10-17 Andrew M. Bishop * doc/NEWS, src/version.h: Update to version 2.8d. 2004-10-14 Andrew M. Bishop * doc/README: Update acknowledgements section (removal of old GIF code). * src/gifmodify.c: All new GIF modification code (handles GIF87a and GIF89a). 2004-09-30 Andrew M. Bishop * doc/README.CONF: Make sure that all lines are less than 78 characters long. 2004-09-29 Andrew M. Bishop * src/htmlmodify.l, conf/upgrade-config.pl, conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF, src/config.h, src/configdata.c: Add a new option to remove HTML "marquee" effect (scrolling text). 2004-09-28 Andrew M. Bishop * src/Makefile.in, src/configedit.c, src/control.c, src/index.c, src/monitor.c, src/refresh.c: Give warnings if processing URL arguments and an unexpected one is seen. 2004-09-26 Andrew M. Bishop * conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README, doc/README.CONF, src/config.h, src/configdata.c, src/htmlmodify.l, conf/upgrade-config.pl: Add an HTMLModify option to fix bad cyrillic coding. 2004-09-08 Andrew M. Bishop * src/wwwoffle-tools.c: Return an error status in case of a failure. 2004-09-06 Andrew M. Bishop * src/wwwoffles.c: Make sure that there is a message from 'wwwoffle -fetch' for all URLs. 2004-09-01 Andrew M. Bishop * src/miscurl.c: Fix hostname character checking. 2004-08-25 Andrew M. Bishop * src/document.c: Parse xhtml pages for links and images. * src/info.c: Display source of xhtml and xml pages. * src/wwwoffles.c: Add cache information to xhtml pages. 2004-07-17 Andrew M. Bishop * doc/README.CONF: Clarify the try-without-password option wording. * src/miscurl.c: When splitting a URL disallow invalid characters in hostnames. 2004-07-05 Andrew M. Bishop * src/wwwoffled.c: Change log file ownership before changing uid/gid. Close stdin/stdout/stderr after detaching from terminal not before. Don't open log file again after detaching from terminal. Don't force usage of stderr when re-initialising error handler. 2004-07-03 Andrew M. Bishop * doc/README.CONF, src/configmisc.c: A URL-SPEC path like '/*/foo*' matches '/foo*' and '/*/foo*' as a special case. 2004-06-17 Andrew M. Bishop * src/cgi.c, src/search.c: Fix bug with setting up stdout for CGI program. * src/errors.c: Fix bug that left file descriptor open on log file. 2004-06-14 Andrew M. Bishop * src/document.h, src/htmlmodify.l, src/wwwoffles.c: Disable the demoronise-ms-html option if the HTML is UTF-8 or other multibyte charset. 2004-06-12 Andrew M. Bishop Version 2.8c of WWWOFFLE released. 2004-06-12 Andrew M. Bishop * doc/NEWS, src/version.h: Update to version 2.8c. 2004-05-21 Andrew M. Bishop * src/configrdwr.c: Create the temporary new files with user-only read/write permissions when creating them. Fix bug that could cause a crash when adding an item to an empty section. * src/errors.c: Create the log files with user-only read/write permissions. 2004-05-15 Andrew M. Bishop * doc/README.CONF: Added some FetchOptions/ModifyHTML clarifications. 2004-04-25 Andrew M. Bishop * src/control.c: Fix confusing error message if outgoing request already deleted. 2004-04-19 Andrew M. Bishop * src/index.c: Fix problem with missing spacers when sorting by date changed. 2004-04-17 Andrew M. Bishop * src/wwwoffles.c: Fix problem with passworded pages online of the compression/chunking is different for both parts. 2004-04-02 Andrew M. Bishop * src/wwwoffle.c: Make '-d 0' and '-d0' work the same. 2004-03-28 Andrew M. Bishop * src/wwwoffles.c: Fix bug with the keep-cache-if-not-found option (incorrect template filename). 2004-03-19 Andrew M. Bishop * conf/upgrade-config.pl: Better fix for lines in DOS format. 2004-03-17 Andrew M. Bishop * conf/wwwoffle.conf.template: Add in the referer-self* and force-user-agent options to the CensorHeader section. * conf/upgrade-config.pl: Remove the no-lasttime-index option from the configuration file (version 2.7g change). * conf/upgrade-config.pl: Be more careful about handling files in DOS format or UNIX format. 2004-03-07 Andrew M. Bishop * src/search.c: Bug fix for search script changes. 2004-03-01 Andrew M. Bishop * src/wwwoffles.c: Remove fatal error when FTP directory redirect used. * src/ftp.c: Make sure directory redirect message has Content-Type header. * src/cgi.c: Removed memory leak (found by valgrind). * src/ftp.c: Fix bug with number of bytes read from server. Remove unnecessary piece of code for handling HTML directories. 2004-02-26 Andrew M. Bishop * src/cgi.c: Don't output the HTML page warning of CGI error if the CGI already output an error message. 2004-02-25 Andrew M. Bishop * src/search.c: Make sure that stdin, stdout and stderr point somewhere when calling search script. Change warnings in CGI execution to fatal errors. Make all search options use common search script pseudo-CGI function. * src/cgi.c: Don't close stdout by mistake. Make sure that stdin, stdout and stderr point somewhere when calling script. Change warnings in CGI execution to fatal errors. * src/wwwoffled.c: Close stdin, stdout and stderr (if not using -l option) when starting. 2004-02-24 Andrew M. Bishop * src/ssl.c: Don't hang up when reply-chunked-data is true and doing SSL connections. 2004-02-14 Andrew M. Bishop Version 2.8b of WWWOFFLE released. 2004-02-14 Andrew M. Bishop * doc/NEWS, src/version.h: Update to version 2.8b. * src/index.c, src/monitor.c, src/purge.c, src/search.c, src/spool.c, src/uncompress-cache.c, src/wwwoffle-tools.c, src/convert-cache.c: Handle file systems where the directory entries are not in the conventional order. 2004-02-13 Andrew M. Bishop * src/wwwoffle.c: Change "Getting" to "Requesting" in output message. 2004-02-12 Andrew M. Bishop * src/wwwoffles.c: Don't overwrite the existing outgoing file when requesting URL. 2004-02-01 Andrew M. Bishop * src/configedit.c: Add some splint annotations (after running splint on the code). Add some extra pointer checks (after running splint on the code). Free some unfreed memory (after running splint on the code). 2004-01-31 Andrew M. Bishop * src/purge.c: Minor fix to output text. 2004-01-25 Andrew M. Bishop * doc/README.lang: Updated the Dutch translated message pages (from Paul Slootman). 2004-01-17 Andrew M. Bishop * src/wwwoffles.c, src/cgi.c: Add some splint annotations (after running splint on the code). Add some extra pointer checks (after running splint on the code). * src/ftp.c: Add some splint annotations (after running splint on the code). Add a safety check variable assignment (after running splint on the code). * src/monitor.c: Be more careful when to free memory (after running splint on the code). * src/parse.c: Add an extra pointer check (after running splint on the code). * src/refresh.c: Add some splint annotations (after running splint on the code). Free some unfreed memory (after running splint on the code). * src/wwwoffled.c, src/io.c, src/iochunk.c, src/iopriv.c, src/sockets4.c, src/sockets6.c, src/wwwoffle.c: Add some splint annotations (after running splint on the code). * src/info.c: Add some splint annotations (after running splint on the code). Remove some unused function arguments. * src/index.c, src/iozlib.c, src/miscurl.c, src/configrdwr.c: Some trivial changes suggested by splint (after running splint on the code). * src/configmisc.c: Remove the #define for CONFIG_VERIFY_ABORT; always do these tests now. Some trivial changes suggested by splint (after running splint on the code). * src/configfunc.c: Remove the #define for CONFIG_VERIFY_ABORT; always do these tests now. * src/configpriv.h, src/document.h, src/errors.h, src/io.h, src/iopriv.h, src/misc.h, src/sockets.h, src/wwwoffle.h, src/config.h: Add more splint annotations to header files (after running splint on code). 2004-01-11 Andrew M. Bishop * src/Makefile.in: Change the dependency for cgi.o. * src/cgi.c: Fix existing comments (after running cxref on source code). Calculate remote client hostname/ip just before running CGI instead of using global variables. * src/wwwoffled.c: Remove global variables that are only used by CGI function. * src/iozlib.c: Make sure that io_errno is set when io_strerror is set. * src/iochunk.c: Fix existing comments (after running cxref on source code). Make sure that io_errno is set when io_strerror is set. * src/errors.c, src/javaclass.c: Change functions to static instead of global (after running cxref on source code). * src/connect.c: Remove unused variable (after running cxref on source code). * src/sockets4.c, src/sockets6.c, src/spool.c, src/wwwoffles.c, src/configdata.c, src/configfunc.c, src/configmisc.c, src/configpriv.h, src/configrdwr.c, src/controledit.c, src/headbody.c, src/htmlmodify.l, src/index.c, src/io.c, src/iopriv.c, src/local.c, src/miscencdec.c, src/purge.c, src/refresh.c, src/config.h: Fix existing comments and add new ones (after running cxref on source code). 2004-01-10 Andrew M. Bishop * src/wwwoffles.c: Don't let the WDG HTML validator request any pages. 2004-01-04 Andrew M. Bishop * src/wwwoffle.c: Remove the socket timeouts (because they are in the server) (prompted by Nils Kassube). * doc/FAQ: Added a note about restarting WWWOFFLE after changing /etc/resolv.conf. 2003-12-29 Andrew M. Bishop * doc/INSTALL: Add a note about making sure that the installed files are owned by the right user. 2003-12-21 Andrew M. Bishop * doc/README, doc/README.CONF, src/config.h, src/configdata.c, src/parse.c, src/spool.c, src/wwwoffle.h, src/wwwoffles.c, conf/upgrade-config.pl, conf/wwwoffle.conf.template, doc/CHANGES.CONF: Add in the keep-cache-if-not-found option (based on Paul Rombouts patch from v2.7f). 2003-12-15 Andrew M. Bishop * src/connect.c: Allow 'wwwoffle -online' and 'wwwoffle -fetch' to restart fetching if it had already been started but was stopped by going offline. * src/info.c: Don't fiddle with the compression headers, but do remove the content-length. * audit-usage.pl: Correct the order of the read and write information. 2003-12-14 Andrew M. Bishop * audit-usage.pl: Include the number of bytes read/written to server/client. Lots of changes to internal workings using more Perl features. * src/wwwoffles.c: Remove the number of bytes read/written from server to log file. Write out the number of bytes read/written from client to log file. Add some more comments for messages used in audit-usage.pl. * src/finger.c, src/ftp.c, src/http.c: Write out the number of bytes read/written from server to log file. 2003-12-13 Andrew M. Bishop * src/info.c: Stop crash when showing source code of pages with no Content-Type header. 2003-12-11 Andrew M. Bishop * src/io.c, src/io.h: Add a function to finish with the IO context for a file descriptor and report the bytes read/written. * src/cgi.c: Fix memory handling problem (suggested by BlaisorBlade). 2003-12-09 Andrew M. Bishop * doc/README.compress: Some small changes. * conf/Makefile.in: Give a warning about using /etc/wwwoffle.conf. 2003-12-07 Andrew M. Bishop * conf/wwwoffle.conf.template: Added a few missing values, added an example of negated URLs. * src/md5.h: Changed typedef of unint32 to work on AMD64 machines (patch from Mads Martin Joergensen). 2003-12-06 Andrew M. Bishop * audit-usage.pl: Remove the IP address and add the number of bytes downloaded from the server. 2003-12-04 Andrew M. Bishop * doc/wwwoffled.man: Add a note about the HUP signal. 2003-12-04 Andrew M. Bishop * src/io.c, src/io.h, src/iopriv.h: Add a function to provide a count of the raw bytes read/written. * src/wwwoffles.c: Print out the bytes read from the server into the log file. Fix the handling of the intr-download-size/percent options when data from server is compressed. Don't modify data when head request only. Simplify the modify read/write callbacks due to head only and interruption changes. * src/index.c: Allow the monitor index to display dates up to 1 year instead of 1 month. 2003-12-04 Andrew M. Bishop * src/errors.c, src/errors.h: Added a -l option to specify a log file location. Replace write_formatted(STDERR_FILENO,...) with fprintf(stderr,...). * doc/wwwoffled.man, src/wwwoffled.c: Added a -l option to specify a log file location. * src/messages.l: Fix trivial indentation problem. 2003-12-03 Andrew M. Bishop * src/errors.c: Replace 2 (when refering to stderr file descriptor) with STDERR_FILENO. Replace fprintf(stderr,...) with write_formatted(STDERR_FILENO,...). * src/convert-cache.c, src/uncompress-cache.c, src/wwwoffle-tools.c, src/wwwoffle.c, src/wwwoffled.c: Replace 2 (when refering to stderr file descriptor) with STDERR_FILENO. * src/configdata.c, src/errors.c, src/errors.h, src/iozlib.c, src/wwwoffled.c, src/wwwoffles.c: Rename the variables containing the error logging level. 2003-12-03 Andrew M. Bishop * audit-usage.pl, src/connect.c, src/wwwoffle.c, src/configpriv.h, src/configrdwr.c, src/configmisc.c, doc/wwwoffle.man, src/config.h: Added an option to the wwwoffle program to dump the current configuration. 2003-12-03 Andrew M. Bishop * src/wwwoffled.c: Rename the signal handling variables. * src/connect.c: Handle a 'wwwoffle -kill' by sending a signal rather than setting a flag. * src/wwwoffles.c: Don't write compressed or chunked error messages to the cache. 2003-12-02 Andrew M. Bishop Version 2.8a of WWWOFFLE released. 2003-12-02 Andrew M. Bishop * src/version.h, doc/NEWS: Update to version 2.8a. 2003-11-23 Andrew M. Bishop * doc/FAQ, doc/INSTALL, doc/NEWS, doc/README, doc/README.CONF, doc/README.compress, doc/README.win32: Change browser to client, correct spelling mistakes, minor text cleanups. 2003-11-16 Andrew M. Bishop * doc/README.CONF: Clarify the description of the DontGet section as not serving even if cached. 2003-11-05 Andrew M. Bishop * src/wwwoffles.c: Don't use shutdown() on socket if in fetch mode. 2003-11-03 Andrew M. Bishop * src/configrdwr.c: Remove possibility of calling init_io(-1) in case of error. * src/wwwoffles.c, src/io.c, src/sockets.h, src/sockets4.c, src/sockets6.c: Use a cleaner socket shutdown on all systems, not just cygwin. 2003-11-02 Andrew M. Bishop * src/errors.c: Don't exit if the cygwin syslog file cannot be opened. * src/iozlib.c: Better detection of zlib compression header. * src/connect.c: Fix change with ForkServer() function. 2003-11-01 Andrew M. Bishop * src/errors.c: Changed #include for fcntl.h. 2003-10-31 Andrew M. Bishop * doc/Makefile.in: Make sure that the auto-generated HTML pages have world readable permissions. 2003-10-25 Andrew M. Bishop * src/wwwoffles.c: Modify the response before deciding if HTML modifications are performed. 2003-10-19 Andrew M. Bishop * src/wwwoffles.c: Change 'browser' to 'client' in comments and message strings. Change wwwoffles() function arguments to use 'fetching' rather than 'browser'. * src/wwwoffled.c: Change ForkServer() function arguments to not use 'browser'. * src/connect.c, src/wwwoffle.h: Change wwwoffles() function arguments to use 'fetching' rather than 'browser'. Change ForkServer() function arguments to not use 'browser'. * src/cgi.c, src/configdata.c, src/configedit.c, src/configfunc.c, src/local.c, src/messages.l, src/monitor.c, src/parse.c, src/refresh.c: Change 'browser' to 'client' in comments. * src/iozlib.c: Fix handling of broken deflate format (with gzip header) to avoid corrupting real gzip data. 2003-10-18 Andrew M. Bishop * doc/FAQ: Minor updates to answer about Content-Length. 2003-10-12 Andrew M. Bishop * doc/FAQ: Add a question about the missing Content-Length headers. * doc/README: Renamed SpoolInternal to InternalPage and removed Content-Length comment. 2003-10-10 Andrew M. Bishop * conf/upgrade-config-2.6-2.7.pl, conf/upgrade-config.pl: Fix the updating of the User-Agent = WWWOFFLE/version option. 2003-10-08 Andrew M. Bishop * src/spool.c: Fix to allow compilation on Win32. 2003-10-06 Andrew M. Bishop Version 2.8 of WWWOFFLE released. 2003-10-06 Andrew M. Bishop * doc/NEWS, src/version.h: Update to version 2.8. 2003-09-06 Andrew M. Bishop * src/io.c: Remove C++ style comments. * src/refresh.c: Increase the maximum amount of recursion for following Location headers to 8. * src/css.l, src/html.l, src/htmlmodify.l, src/messages.l, src/vrml.l, src/xml.l: Don't call *_yylex_destroy() (it is recent flex specific cleanup function). 2003-09-04 Andrew M. Bishop Version 2.8-beta of WWWOFFLE released. 2003-09-04 Andrew M. Bishop * doc/NEWS, src/version.h: Update to version 2.8-beta. 2003-09-02 Andrew M. Bishop * doc/README: More updates. * src/Makefile.in: Delete css.c when running 'make clean'. * doc/FAQ, doc/README: Update the documentation for version 2.8-beta. * src/iozlib.c: Do check for gzip CRC and length errors, fix rare bug in gzip code. 2003-08-31 Andrew M. Bishop * src/iozlib.c: Ignore any errors in the gzip crc and length. 2003-08-28 Andrew M. Bishop * src/config.h, src/refresh.c, src/wwwoffle.c, src/wwwoffle.h, src/wwwoffles.c: Stop infinite recursion when following Location headers. Stop infinite recursion if images are actually HTML. Fetch images etc in pages with error status codes. 2003-08-25 Andrew M. Bishop * src/configedit.c, src/control.c, src/misc.h, src/miscencdec.c, src/monitor.c, src/refresh.c: Check parameters entered in forms to ensure no odd whitespace. * src/iozlib.c: Fix debug messages about compression type. 2003-08-24 Andrew M. Bishop * src/headbody.c: Fix the RemoveFromHeader2() function. * src/htmlmodify.l: Blank any title tags when removing DontGet images. * src/wwwoffle.c, src/wwwoffles.c: Send 'Pragma: wwwoffle-client' when wwwoffle program makes request. 2003-08-23 Andrew M. Bishop * doc/README.compress, src/iozlib.c, src/iopriv.h: Guess what the compression type is, don't believe the HTTP headers. 2003-08-22 Andrew M. Bishop * src/css.l: Remove YY_NO_UNPUT definition (since we now use unput()). 2003-08-20 Andrew M. Bishop * src/htmlmodify.l: Rename some variables. * conf/upgrade-config.pl, doc/CHANGES.CONF, doc/README.CONF, src/config.h, src/configdata.c, src/htmlmodify.l: Add an option to disable cookies from being set by HTML meta tags. * src/wwwoffles.c: Check for an HTTP "100 Continue" header and discard it. 2003-08-19 Andrew M. Bishop * src/wwwoffles.c: Request compression from the server as gzip prefered over deflate, but either better than none. * src/parse.c: Use deflate when sending data to clients as a last resort. * src/iozlib.c: Handle deflate compression but only by using the wrong, but generally used method. 2003-08-16 Andrew M. Bishop * src/wwwoffles.c: Remove problem where WWWOFFLE error message was partially visible following end of shorter new page when backup already existed. 2003-08-15 Andrew M. Bishop * src/local.c: Allow files on the local web server with spaces in them. 2003-08-14 Andrew M. Bishop * doc/README.htdig: Add comment about robots.txt and 'Disallow: /index'. 2003-08-13 Andrew M. Bishop * doc/README.htdig: Include nomatch.html in the list that need changing. 2003-08-03 Andrew M. Bishop * conf/wwwoffle.conf.template, doc/README.CONF, doc/CHANGES.CONF, src/configdata.c, src/wwwoffles.c, conf/upgrade-config.pl: Remove the enable-modify-online option. * src/wwwoffles.c: Allow modification of HTML to work if cached file is compressed. 2003-08-02 Andrew M. Bishop * src/wwwoffle.c, src/wwwoffles.c: Running 'wwwoffle http://aaa:bbb@www.foo/bar' now does the right thing. 2003-08-01 Andrew M. Bishop * src/wwwoffles.c: Correctly handle the options passed in for recursive fetches. * src/messages.l: Add $version as a variable containing the WWWOFFLE version number. 2003-07-31 Andrew M. Bishop * doc/wwwoffle.man, src/wwwoffle.c: Updated '-h' description of -F, -(d|r|R) and -g usage. Allow '-g' alone to mean get nothing else. 2003-07-28 Andrew M. Bishop * src/wwwoffle.c: Running 'wwwoffle http://www.foo/bar#foo' now does the right thing. 2003-07-27 Andrew M. Bishop * doc/README.CONF: Remove comment about enable-modify-online option delaying data. * src/document.h, src/gifmodify.c, src/htmlmodify.l: Modify read and write operations to use new callback functions. * src/wwwoffle.h, src/wwwoffles.c: Add callback functions so that HTML modification lex code can be used as a pipe when online. 2003-07-26 Andrew M. Bishop * src/proto.h, src/wwwoffle.h: Update the splint annotations for functions that use the new GetPrintMessage(). * src/control.c, src/wwwoffles.c: Handle the functions that use the new GetPrintMessage() function. * src/spool.c, src/finger.c, src/ftp.c, src/http.c, src/ssl.c: Use the new GetPrintMessage() function. * src/errors.c, src/errors.h: Make PrintMessage() return nothing and add a new function GetPrintMessage() that returns an allocated string. 2003-07-21 Andrew M. Bishop * src/ftp.c: Add code to handle re-requesting with a password if required (patch from Marc Boucher). 2003-07-20 Andrew M. Bishop * doc/wwwoffle.man: Update to state what -R0 does. * src/wwwoffle.c: Allow for recursive fetching of depth 0. * src/html.l, src/css.l, src/htmlmodify.l: Fix bug with handling C style comments in Javascript and CSS. 2003-07-07 Andrew M. Bishop * src/wwwoffle.c: Make the '-d', '-r' or '-R' options work with a space before the number. 2003-06-30 Andrew M. Bishop * src/wwwoffle.h: Add in the message and parsing tidy up functions. * src/headbody.c: Make sure that all of the Header structure is freed. * src/parse.c: Add a function to free the reusable headers. * src/wwwoffles.c: Make sure that Protocol->close() is called in error conditions. Free up memory from messages and header parsing. * src/messages.l: Free a missing header and add a function to call yylex_destory(). * src/css.l, src/html.l, src/htmlmodify.l, src/vrml.l, src/xml.l: Call yylex_destroy() when parsing is finished. * src/document.c, src/misc.h, src/miscencdec.c, src/miscurl.c: Handle the fact that in HTML '&' is the same as '&'. * doc/README.URL: Update with '&' to '&' conversion. 2003-06-28 Andrew M. Bishop * src/wwwoffle.c: Initialise the file descriptor for stdin before using it for POST or PUT. 2003-06-27 Andrew M. Bishop * src/info.c: Change the messages for the info pages to simplify and re-organise them. * src/index.c: Use case-insensitive sorting for the file type (file extension). 2003-06-22 Andrew M. Bishop * src/miscurl.c: Fix bug that mangled links with relative paths starting '../' when the original URL is the root of the server. * doc/FAQ: Put e-mail addresses in '<' ... '>'. * src/css.l, src/html.l: Handle bad CSS better (missing ';'). * src/document.c, src/document.h, src/info.c, src/miscurl.c, src/wwwoffles.c: Add an option to document parsing to get all links for info page. 2003-06-15 Andrew M. Bishop * doc/scripts/README.CONF-msg.pl, doc/scripts/FAQ-html.pl, doc/scripts/README.CONF-conf.pl, doc/scripts/README.CONF-html.pl, doc/scripts/README.CONF-man.pl: Don't force emacs to use perl mode and indent the file with emacs cperl mode. 2003-06-15 Andrew M. Bishop * src/css.l, src/html.l, src/htmlmodify.l: Bug fix for URL parsing. 2003-05-31 Andrew M. Bishop * src/css.l, src/html.l, src/htmlmodify.l: Handle non-ascii characters in HTML parsing. * src/wwwoffles.c: More changes for the new lockfile handling. 2003-05-26 Andrew M. Bishop * src/spool.c: Create the cache directory before creating the lock file. Make sure that the times of the cached files in the prevtime directories are updated. * src/wwwoffles.c: Fix a case where the lockfile was not deleted in fetch mode. 2003-05-24 Andrew M. Bishop * src/wwwoffle.c: Give an error message if no URLs were specified. 2003-05-18 Andrew M. Bishop * conf/upgrade-config.pl, conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF, src/config.h, src/configdata.c, src/wwwoffles.c: Add separate options pragma-no-cache and cache-control-no-cache to the OnlineOptions section that work like the ones in the OfflineOptions section. Each option now only works when online or offline depending on where it is set. 2003-05-17 Andrew M. Bishop * src/spool.c: Create lock files as a new file rather than linking to existing file. * src/htmlmodify.l: Bug fix for optimisation changes. * src/configrdwr.c, src/controledit.c: Change the default WWWOFFLE configuration file directory to /etc/wwwoffle. Make sure that included file names are in same directory. * doc/FAQ: Change the default WWWOFFLE configuration file directory to /etc/wwwoffle. Add description of security requirements for configuration files directory. * src/autoconfig.h.in.in, doc/wwwoffle.man, doc/wwwoffled.man, doc/README.win32, configure.in, doc/INSTALL, doc/README: Change the default WWWOFFLE configuration file directory to /etc/wwwoffle. 2003-05-05 Andrew M. Bishop * src/wwwoffles.c: Some code cleanups for handling lockfiles and touching spool files (suggested by Marc Boucher). * src/wwwoffle.h, src/spool.c: The function to create a lock file returns an error if it can't (because one already exists). * src/wwwoffled.c: Include missing header file . * src/css.l, src/html.l, src/htmlmodify.l, src/messages.l, src/vrml.l, src/xml.l, src/Makefile.in: Update to work with newer version of flex. 2003-05-03 Andrew M. Bishop * src/css.l, src/html.l, src/htmlmodify.l, src/messages.l, src/vrml.l, src/xml.l: Be more consistent with lex usage of yywrap, yyrestart and EOF. * src/htmlmodify.l, src/css.l: Parser speed optimisations. * src/html.l: Include the CSS parser in the HTML parser for handling