diff --git a/ChangeLog b/ChangeLog index 3ecf2909..50afcdda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1403,8 +1403,8 @@ 2001-03-20 Dan Harkless <wget@harkless.org> * TODO: Oops. Hostless absolute link conversion _is_ working. My - test that led me to believe it wasn't was exposing a different bug - -- URLs specified on the commandline as opposed to being recursed + test that led me to believe it wasn't was exposing a different bug + -- URLs specified on the commandline as opposed to being recursed to don't always get re-converted at the end of the Wget run. 2001-03-17 Dan Harkless <wget@harkless.org> @@ -1442,7 +1442,7 @@ 2001-03-12 Dan Harkless <wget@harkless.org> * TODO: Only normal recursion should respect -np -- page-requisite - recursion should not. + recursion should not. 2001-03-07 Jan Prikryl <prikryl@cg.tuwien.ac.at> @@ -1456,10 +1456,10 @@ 2001-03-01 Dan Harkless <wget@harkless.org> * ChangeLog.README: Renamed from README.branches and added a note - that Wget has multiple ChangeLog files (currently ./ChangeLog, - doc/ChangeLog, and src/ChangeLog), since this is unusual and - people have complained their patches hadn't been applied after - checking only the top-level ChangeLog. + that Wget has multiple ChangeLog files (currently ./ChangeLog, + doc/ChangeLog, and src/ChangeLog), since this is unusual and + people have complained their patches hadn't been applied after + checking only the top-level ChangeLog. 2001-02-28 Dan Harkless <wget@harkless.org> @@ -1478,10 +1478,10 @@ moving -nr to a different category. * TODO: "Timestamps are sometimes not copied over on files - retrieved by FTP." removed. Hopefully all the failures I was - seeing were due to the fact that it wasn't documented that - non-globbing, non-recursive FTP downloads need -N to get the - remote timestamp to be preserved. + retrieved by FTP." removed. Hopefully all the failures I was + seeing were due to the fact that it wasn't documented that + non-globbing, non-recursive FTP downloads need -N to get the + remote timestamp to be preserved. 2001-02-22 Dan Harkless <wget@harkless.org> @@ -1525,7 +1525,7 @@ 2001-01-11 Dan Harkless <wget@harkless.org> * TODO: If -c used with -N, check to make sure a file hasn't - changed on the server before "continuing" to download it. + changed on the server before "continuing" to download it. 2001-01-11 Adrian Aichner <Adrian.Aichner@t-online.de> @@ -1542,7 +1542,7 @@ directory got fixed without the TODO entry for it being removed. * TODO: Add a "rollback" option to have --continue throw away X - corrupted (e.g. by proxy) bytes from end of file before resuming. + corrupted (e.g. by proxy) bytes from end of file before resuming. * po/*.po*: Updated after changing --help's description of -c. @@ -1556,8 +1556,8 @@ * README.branches: Explains the 1.6_branch.ChangeLog files. * README.cvs: Falsely claimed you only needed GNU autoconf to - build from the CVS sources. You also need GNU gettext and - texinfo. I also did a bunch of general re-writing of this file. + build from the CVS sources. You also need GNU gettext and + texinfo. I also did a bunch of general re-writing of this file. 2001-01-03 Dan Harkless <wget@harkless.org> diff --git a/doc/ChangeLog b/doc/ChangeLog index 19efd53c..fa94d0c7 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -671,26 +671,26 @@ 2001-02-22 Dan Harkless <wget@harkless.org> * Makefile.in: Make wget man page and install it if we have - pod2man. Added some missing '$(srcdir)/'s. Added missing - dependencies on install targets (allowing you to just do `make - install' rather than forcing you to do `make && make install'). - Also, Makefile rules should always use output file parameters if - available rather than redirecting stdout with '>', or you falsely - satisfy dependencies if the tool you're running is missing or - fails -- fixed call of texi2pod.pl that did this wrong. + pod2man. Added some missing '$(srcdir)/'s. Added missing + dependencies on install targets (allowing you to just do `make + install' rather than forcing you to do `make && make install'). + Also, Makefile rules should always use output file parameters if + available rather than redirecting stdout with '>', or you falsely + satisfy dependencies if the tool you're running is missing or + fails -- fixed call of texi2pod.pl that did this wrong. * texi2pod.pl: Removed from CVS. Now automatically generated. * texi2pod.pl.in: This new file is processed into texi2pod.pl, - getting the appropriate path to the Perl 5+ executable on this - system and becoming executable (CVS files, by contrast, don't - arrive executable). + getting the appropriate path to the Perl 5+ executable on this + system and becoming executable (CVS files, by contrast, don't + arrive executable). 2001-02-19 Dan Harkless <wget@harkless.org> * wget.texi (Download Options): Further improvement to --continue - documentation -- explain interaction with -r and -N, mention - usefulness for downloading new sections of appended-to files, etc. + documentation -- explain interaction with -r and -N, mention + usefulness for downloading new sections of appended-to files, etc. 2001-01-06 Jan Prikryl <prikryl@cg.tuwien.ac.at> @@ -713,7 +713,7 @@ 2001-01-09 Dan Harkless <wget@harkless.org> * wget.texi (Download Options): Did a bunch of clarification and - correction to the description of --continue. + correction to the description of --continue. 2001-01-06 Dan Harkless <wget@harkless.org> @@ -739,7 +739,7 @@ looking at the dates would make you think that things went into 1.6 that actually just went into the 1.7-dev branch. Added "[Not in 1.6 branch.]" where appropriate to clarify. - + 2000-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * Makefile.in (install.info): Info files are *not* in $(srcdir), @@ -827,22 +827,22 @@ 2000-08-22 Dan Harkless <wget@harkless.org> * wget.texi (Download Options): --no-clobber's documentation was - severely lacking -- ameliorated the situation. Some of the - previously-undocumented stuff (like the multiple-file-version - numeric-suffixing) that's now mentioned for the first (and only) - time in the -nc documentation should probably be mentioned - elsewhere, but due to the way that wget.texi's hierarchy is laid - out, I had a hard time finding anywhere else appropriate. + severely lacking -- ameliorated the situation. Some of the + previously-undocumented stuff (like the multiple-file-version + numeric-suffixing) that's now mentioned for the first (and only) + time in the -nc documentation should probably be mentioned + elsewhere, but due to the way that wget.texi's hierarchy is laid + out, I had a hard time finding anywhere else appropriate. 2000-07-17 Dan Harkless <wget@harkless.org> * wget.texi (HTTP Options): Minor clarification in "download a - single HTML page and all files necessary to display it" example. + single HTML page and all files necessary to display it" example. 2000-05-22 Dan Harkless <wget@harkless.org> * wget.texi (HTTP Options): Damir Dzeko <ddzeko@zesoi.fer.hr> did - not document his new --referer option. Did so. + not document his new --referer option. Did so. 2000-04-18 Dan Harkless <wget@harkless.org> @@ -865,27 +865,27 @@ 2000-04-12 Dan Harkless <wget@harkless.org> * Makefile.in (install.wgetrc): I completely missed the message - that the new wgetrc wasn't being installed the first couple of - times I ran `make install' after changing sample.wgetrc. Added - blank lines around the message and a "<Hit RETURN to - acknowledge>", and reworded the message to be a bit more clear. + that the new wgetrc wasn't being installed the first couple of + times I ran `make install' after changing sample.wgetrc. Added + blank lines around the message and a "<Hit RETURN to + acknowledge>", and reworded the message to be a bit more clear. * sample.wgetrc: Added entries for backup_converted and waitretry. * wget.texi (Download Options and Wgetrc Commands): Herold Heiko - <Heiko.Herold@previnet.it>'s new --waitretry option was - undocumented until now. Reworded the suggested documentation he - sent to the list. + <Heiko.Herold@previnet.it>'s new --waitretry option was + undocumented until now. Reworded the suggested documentation he + sent to the list. 2000-03-10 Dan Harkless <wget@harkless.org> * wget.texi (Recursive Retrieval Options): In -K description, - added a link to the discussion of interaction with -N. + added a link to the discussion of interaction with -N. (Recursive Accept/Reject Options): Did some alphabetizing and added descriptions of new --follow-tags and -G / --ignore-tags options. (Following Links): Changed "the loads of" to "loads of". (Wgetrc Commands): Added descriptions of new follow_tags and - ignore_tags commands. + ignore_tags commands. 2000-03-02 Daniel S. Lewart <d-lewart@uiuc.edu> @@ -898,7 +898,7 @@ 2000-03-01 Dan Harkless <wget@harkless.org> * wget.texi (HTTP Time-Stamping Internals): Added a note about my - newly-implemented interaction between -K and -N. + newly-implemented interaction between -K and -N. 2000-02-29 Dan Harkless <wget@harkless.org> @@ -909,7 +909,7 @@ 2000-02-18 Dan Harkless <wget@harkless.org> * wget.texi (Recursive Retrieval Options): Documented my new -K / - --backup-converted option. + --backup-converted option. (Wgetrc Commands): Documented backup_converted equivalent. 1998-09-10 Hrvoje Niksic <hniksic@srce.hr> @@ -936,7 +936,7 @@ 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> * wget.texi (Recursive Retrieval): Fix typo. Suggested by - Francois Pinard. + Francois Pinard. 1998-04-18 Hrvoje Niksic <hniksic@srce.hr> @@ -953,7 +953,7 @@ 1998-03-29 Hrvoje Niksic <hniksic@srce.hr> * wget.texi (Invoking): Split into more sections, analogous to - output of `wget --help'. + output of `wget --help'. (HTTP Options): Document --user-agent. 1998-03-16 Hrvoje Niksic <hniksic@srce.hr> @@ -1004,7 +1004,7 @@ 1997-02-17 Hrvoje Niksic <hniksic@srce.hr> * wget.texi (Advanced Options): Document --proxy-user and - --proxy-passwd. + --proxy-passwd. 1997-02-14 Karl Eichwalder <ke@ke.Central.DE> @@ -1051,7 +1051,7 @@ 1996-12-12 Dieter Baron <dillo@danbala.tuwien.ac.at> * wget.texi (Advanced Usage): Would reference prep instead of - wuarchive. + wuarchive. 1996-11-25 Hrvoje Niksic <hniksic@srce.hr> @@ -1064,7 +1064,7 @@ 1996-11-22 Hrvoje Niksic <hniksic@srce.hr> * wget.texi (Portability): Add IRIX and FreeBSD as the "regular" - platforms. + platforms. 1996-11-20 Hrvoje Niksic <hniksic@srce.hr> diff --git a/src/ChangeLog b/src/ChangeLog index c10b34ce..826a02b4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3906,8 +3906,8 @@ before statements. 2003-10-02 Gisle Vanem <giva@bgnett.no> - - * mswindows.c (run_with_timeout): For Windows: Run the 'fun' in a + + * mswindows.c (run_with_timeout): For Windows: Run the 'fun' in a thread via a helper function. Continually query the thread's exit-code until finished or timed out. @@ -6621,7 +6621,7 @@ 2001-02-23 Dan Harkless <wget@harkless.org> * main.c (print_help): --help documentation for -N said it would - re-download files if they had the _same_ timestamp on server. + re-download files if they had the _same_ timestamp on server. (print_help): -nr belongs in "FTP options" section of --help output, not "Recursive retrieval" section. Alphabetized FTP options by long option name. @@ -6629,8 +6629,8 @@ 2001-02-16 Dan Harkless <wget@harkless.org> * init.c (commands): Hack Kampbj�rn <hack@hackdata.com> discovered - that "httpsproxy" had been inserted into commands[] out of - alphabetical order, causing "BUG: unknown command `httpuser'". + that "httpsproxy" had been inserted into commands[] out of + alphabetical order, causing "BUG: unknown command `httpuser'". 2001-02-13 Jan Prikryl <prikryl@cg.tuwien.ac.at> @@ -6714,19 +6714,19 @@ 2001-02-08 Christian Fraenkel <christian.fraenkel@gmx.net> - * gen_sslfunc.c: verify_callback is now static + * gen_sslfunc.c: verify_callback is now static - * gen_sslfunc.c (init_ssl): load certificate if specified + * gen_sslfunc.c (init_ssl): load certificate if specified - * gen_sslfunc.c (ssl_printerr): new function + * gen_sslfunc.c (ssl_printerr): new function - * init.c: added new --sslcertfile and --sslcertkey switches + * init.c: added new --sslcertfile and --sslcertkey switches - * main.c: ditto + * main.c: ditto - * options.h: ditto + * options.h: ditto - * http.c (gethttp): abort when init_ssl fails + * http.c (gethttp): abort when init_ssl fails 2001-01-23 Herold Heiko <Heiko.Herold@previnet.it> @@ -6747,8 +6747,8 @@ 2001-01-09 Dan Harkless <wget@harkless.org> * html-url.c: A bunch of fixup of `--page-requisites'-related - comments to reflect Hrvoje's changes to my code when transplanting - it into this new file, to fix spelling mistakes, to clarify, etc. + comments to reflect Hrvoje's changes to my code when transplanting + it into this new file, to fix spelling mistakes, to clarify, etc. * url.c (write_backup_file): Clarified a comment. (str_url): Henrik van Ginhoven pointed out on the list that we @@ -6756,12 +6756,12 @@ replacing each character with a 'x'. Use "<password>" instead. * ftp.c (ftp_retrieve_dirs): The bug where recursion into FTP - directories didn't work if logging in put you in a directory other - than "/" is fixed now. Removed the comment here warning of the bug. + directories didn't work if logging in put you in a directory other + than "/" is fixed now. Removed the comment here warning of the bug. * main.c (print_help): --continue's description was misleading. - We don't "restart", we "resume". Also, better to say - "partially-downloaded file" rather than just "existing file". + We don't "restart", we "resume". Also, better to say + "partially-downloaded file" rather than just "existing file". 2001-01-06 Dan Harkless <wget@harkless.org> @@ -6969,13 +6969,13 @@ 2000-11-30 Jan Prikryl <prikryl@cg.tuwien.ac.at> - * ftp-ls.c (ftp_parse_unix_ls): Added second parameter - "ignore_perms" to ignore file and directory permissions for - Windows NT FTP server listings. - (ftp_parse_winnt_ls): New function. - (ftp_parse_ls): Parses UNIX and Windows NT listings - separately. Simple heuristics for distinguishing between UNIX - and MS-DOS-like FTP listing provided by Windows NT FTP service. + * ftp-ls.c (ftp_parse_unix_ls): Added second parameter + "ignore_perms" to ignore file and directory permissions for + Windows NT FTP server listings. + (ftp_parse_winnt_ls): New function. + (ftp_parse_ls): Parses UNIX and Windows NT listings + separately. Simple heuristics for distinguishing between UNIX + and MS-DOS-like FTP listing provided by Windows NT FTP service. 2000-11-29 John Summerfield <summer@OS2.ami.com.au> @@ -7476,29 +7476,29 @@ 2000-10-27 Dan Harkless <wget@harkless.org> * retr.c (retrieve_url): Manually applied T. Bharath - <TBharath@responsenetworks.com>'s patch to get wget to grok - illegal relative URL redirects. Reformatted and re-commented it. + <TBharath@responsenetworks.com>'s patch to get wget to grok + illegal relative URL redirects. Reformatted and re-commented it. 2000-10-23 Dan Harkless <wget@harkless.org> * connect.c (make_connection and bindport): Manually applied Rob - Mayoff <mayoff@dqd.com>'s 1.5.3 patch to add --bind-address, - changing coding style to GNU's. + Mayoff <mayoff@dqd.com>'s 1.5.3 patch to add --bind-address, + changing coding style to GNU's. * ftp.c (ftp_loop_internal): --delete-after wasn't implemented for - files downloaded via FTP. Per a comment, .listing files were not + files downloaded via FTP. Per a comment, .listing files were not counted towards number of bytes and files downloaded because they're deleted anyway. Well, they aren't under -nr, so count them then. * init.c: Manually applied Rob Mayoff's 1.5.3 patch to add - --bind-address, alphabetizing, changing coding style to GNU's, - commenting, and renaming cmd_ip_address() to cmd_address() to - imply hostnames also okay. + --bind-address, alphabetizing, changing coding style to GNU's, + commenting, and renaming cmd_ip_address() to cmd_address() to + imply hostnames also okay. * main.c (main): --delete-after didn't delete the root of the - tree. Ignore --convert-links if --delete-after was specified. - Manually applied Rob Mayoff's 1.5.3 patch to add --bind-address, - fixing duplicate use of added-since-1.5.3 case value. + tree. Ignore --convert-links if --delete-after was specified. + Manually applied Rob Mayoff's 1.5.3 patch to add --bind-address, + fixing duplicate use of added-since-1.5.3 case value. (print_help): Clarified that --delete-after deletes local files. Rob forgot to add a line for his new --bind-address option. @@ -7561,7 +7561,7 @@ * ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define. * html.c: htmlfindurl() now takes final `dash_p_leaf_HTML' parameter. - Wrapped some > 80-column lines. When -p is specified and we're at a + Wrapped some > 80-column lines. When -p is specified and we're at a leaf node, do not traverse <A>, <AREA>, or <LINK> tags other than <LINK REL="stylesheet">. @@ -7577,8 +7577,8 @@ * options.h (struct options): Added new page_requisites field. * recur.c: Changed "URL-s" to "URLs" and "HTML-s" to "HTMLs". - Calculate and pass down new `dash_p_leaf_HTML' parameter to - get_urls_html(). Use new INFINITE_RECURSION #define. + Calculate and pass down new `dash_p_leaf_HTML' parameter to + get_urls_html(). Use new INFINITE_RECURSION #define. * retr.c: Changed "URL-s" to "URLs". get_urls_html() now takes final `dash_p_leaf_HTML' parameter. @@ -7627,10 +7627,10 @@ 2000-05-22 Dan Harkless <wget@harkless.org> * main.c (print_help): Added --help line for Damir Dzeko - <ddzeko@zesoi.fer.hr>'s until-now-undocumented --referer option. - Removed comments that --referer and --waitretry were undocumented. - Changed "`.wgetrc' command" to "`.wgetrc'-style command" on --help - line for --execute. + <ddzeko@zesoi.fer.hr>'s until-now-undocumented --referer option. + Removed comments that --referer and --waitretry were undocumented. + Changed "`.wgetrc' command" to "`.wgetrc'-style command" on --help + line for --execute. 2000-05-18 Hrvoje Niksic <hniksic@iskon.hr> @@ -7732,17 +7732,17 @@ braces to avoid ambiguous `else'" warnings. Eliminated them. * http.c (gethttp): Dan Berger's query string patch is totally - bogus. If you have two different URLs, gen_page.cgi?page1 and - get_page.cgi?page2, they'll both be saved as get_page.cgi and the - second will overwrite the first. Also, parameters to implicit - CGIs, like "http://www.host.com/db/?2000-03-02" cause the URLs to - be printed with trailing garbage characters, and could seg fault. - Backing out the patch, which Dan B. informed me by email was just - a kludge to download StarOffice from Sun made necessary due to - wget's unconditional escaping of certain characters (room for an - option there?). + bogus. If you have two different URLs, gen_page.cgi?page1 and + get_page.cgi?page2, they'll both be saved as get_page.cgi and the + second will overwrite the first. Also, parameters to implicit + CGIs, like "http://www.host.com/db/?2000-03-02" cause the URLs to + be printed with trailing garbage characters, and could seg fault. + Backing out the patch, which Dan B. informed me by email was just + a kludge to download StarOffice from Sun made necessary due to + wget's unconditional escaping of certain characters (room for an + option there?). (http_loop): Heiko introduced "suggest explicit braces to avoid - ambiguous `else'" warnings. Eliminated them. + ambiguous `else'" warnings. Eliminated them. * main.c: Heiko's --wait / --waitretry backwards compatibility code looks to have been totally untested -- automatic variable @@ -7804,16 +7804,16 @@ * http.c (http_loop): Fixed a typo and clarified a comment. (http_loop): When -K and -N are specified together, compare size - and timestamp of server file X against local file X.orig (if - extant) rather than converted local file X. + and timestamp of server file X against local file X.orig (if + extant) rather than converted local file X. (http_loop): "Local file '%s' is more recent," is sometimes a lie - -- reworded as "Server file no newer than local file '%s' --". + -- reworded as "Server file no newer than local file '%s' --". (http_loop): Call new downloaded_file() function to prevent wrongful overwriting of .orig file when -N is specified. * url.c (convert_links): When -K specified, only rename X to - X.orig if downloaded_file() returns TRUE. Otherwise when we skip - file X due to -N, we clobber an X.orig from a previous invocation. + X.orig if downloaded_file() returns TRUE. Otherwise when we skip + file X due to -N, we clobber an X.orig from a previous invocation. (convert_links): Call the failsafe xstrdup(), not the real strdup(). (convert_links): Added a note asking anyone who understands how multiple URLs can correspond to a single file to comment it. @@ -7872,7 +7872,7 @@ 1998-09-10 Howard Gayle <howard@fjst.com> * url.c (get_urls_html): Would drop the last character of the - link. + link. 1998-09-10 Hrvoje Niksic <hniksic@srce.hr> @@ -7920,7 +7920,7 @@ 1998-06-16 Hrvoje Niksic <hniksic@srce.hr> * url.c (get_urls_html): Use malloc() instead of alloca in the - loop. + loop. 1998-06-13 Hrvoje Niksic <hniksic@srce.hr> @@ -7963,7 +7963,7 @@ 1998-05-27 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (getftp): Added `break'; suggested by Lin Zhe Min - <ljm@ljm.wownet.net>. + <ljm@ljm.wownet.net>. 1998-05-24 Hrvoje Niksic <hniksic@srce.hr> @@ -7998,7 +7998,7 @@ 1998-05-05 Hrvoje Niksic <hniksic@srce.hr> * http.c (parse_http_status_line): Avoid `minor' and `major' - names. + names. 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> @@ -8038,11 +8038,11 @@ (numdigit): Use `while' loop. * http.c (create_authorization_line): Detect authentication - schemes case-insensitively. + schemes case-insensitively. * http.c (extract_header_attr): Use strdupdelim(). (digest_authentication_encode): Move declaration of local - variables to smaller scope. + variables to smaller scope. (digest_authentication_encode): Reset REALM, OPAQUE and NONCE. (create_authorization_line): Detect authentication schemes case-insensitively. @@ -8089,7 +8089,7 @@ * headers.c (header_get): New argument FLAGS. * http.c (gethttp): If request is malformed, bail out of the - header loop. + header loop. (gethttp): Check for empty header *after* the status line checks. (gethttp): Disallow continuations for status line. @@ -8172,7 +8172,7 @@ * utils.c (mkdirhier): Use 0777 instead of opt.dirmode. * init.c (cmd_spec_dotstyle): Use 48 dots per line for binary - style. + style. (cmd_permissions): Removed. * config.h.in: Add template for WORDS_BIGENDIAN. @@ -8233,7 +8233,7 @@ 1998-03-17 Hrvoje Niksic <hniksic@srce.hr> * utils.c (memfatal): Set save_log_p to 0 to avoid potential - infloop. + infloop. * log.c: do_logging -> save_log_p. @@ -8275,7 +8275,7 @@ 1998-03-07 Tim Adam <tma@osa.com.au> * recur.c (parse_robots): Correctly reset `entries' on empty - disallow. + disallow. 1998-03-07 Hrvoje Niksic <hniksic@srce.hr> @@ -8317,7 +8317,7 @@ * url.c (add_url): Add to the head of the list. * ftp.c (ftp_retrieve_list): Set the permissions to downloaded - file. + file. (getftp): Set the default permissions to 0600. 1998-02-21 Hrvoje Niksic <hniksic@srce.hr> @@ -8396,9 +8396,9 @@ * wget.h (FREE_MAYBE): New macro. * http.c (create_authorization_line): Don't use ANSI C string - concatenation feature. + concatenation feature. (basic_authentication_encode): Use alloca() for temporary - variables. + variables. * recur.h: Ditto. @@ -8423,7 +8423,7 @@ (calculate_skey_response): Use alloca(). * http.c (create_authorization_line): Work with FSF's version of - md5.c. + md5.c. * md5.c: New file, from GNU libc. @@ -8467,7 +8467,7 @@ * ftp.c (ftp_loop): Determine `filename' more precisely. * init.c (setval): Don't set `opt.quiet' if output-document is - `-'. + `-'. * log.c (log_init): Print to STDERR instead of STDOUT. (vlogmsg): Use STDERR by default. @@ -8592,8 +8592,8 @@ * main.c (print_help): Rearranged. (main): New long options for -n* short options: --no-directories, - --no-host-directories, --non-verbose, --no-host-lookup and - --dont-remove-listing. + --no-host-directories, --non-verbose, --no-host-lookup and + --dont-remove-listing. 1998-02-01 Hrvoje Niksic <hniksic@srce.hr> @@ -8602,7 +8602,7 @@ * log.c: New variable LOGFP. (vlogmsg): Use it. (redirect_output): Don't open /dev/null; set LOGFP to stdin - instead. + instead. (log_close): New function. * options.h (struct options): Removed LFILE. @@ -8661,7 +8661,7 @@ * host.c (ftp_getaddress): Use STRDUP_ALLOCA. (ftp_getaddress): Add diagnostics when reverse-lookup yields only - hostname. + hostname. 1998-01-31 Hrvoje Niksic <hniksic@srce.hr> @@ -8672,7 +8672,7 @@ * utils.c (proclist): Pass FNM_PATHNAME to fnmatch(). * ftp-basic.c (ftp_pasv): Avoid unnecessary casting to unsigned - char. + char. * log.c: Don't attempt to hide arguments from ansi2knr. @@ -8685,9 +8685,9 @@ * http.c (gethttp): Use it. * retr.c (get_contents): New argument EXPECTED; pass it to - show_progress(). + show_progress(). (show_progress): New argument EXPECTED; use it to display - percentages. + percentages. * init.c (setval): Ditto. @@ -8729,7 +8729,7 @@ * all: Use them. * sysdep.h: Add wrappers to ctype macros to make them - eight-bit-clean: + eight-bit-clean: 1998-01-30 Hrvoje Niksic <hniksic@srce.hr> @@ -8743,7 +8743,7 @@ 1997-02-27 Fila Kolodny <fila@ibi.com> * ftp.c (ftp_retrieve_list): If retrieving symlink and the proper - one already exists, just skip it. + one already exists, just skip it. 1998-01-30 Hrvoje Niksic <hniksic@srce.hr> @@ -8778,7 +8778,7 @@ (haccepts_none): Ditto. * main.c (main): Updated `--version' and `--help' output, as per - Francois Pinard's suggestions. + Francois Pinard's suggestions. * main.c: Include locale.h; call setlocale(), bindtextdomain() and textdomain(). @@ -8844,7 +8844,7 @@ * mswindows.c (ws_hangup): Use redirect_output(). * main.c (redirect_output_signal): New function; use - redirect_output(). + redirect_output(). * log.c (redirect_output): New function, based on hangup(), which is deleted. @@ -8917,7 +8917,7 @@ 1998-01-24 Karl Heuer <kwzh@gnu.org> * netrc.c (search_netrc): Initialize `l' only after processing - netrc. + netrc. * main.c (main): Don't trap SIGHUP if it's being ignored. @@ -8945,7 +8945,7 @@ (buf_fd): Ditto. * http.c (fetch_next_header): Use the BUF_READCHAR macro for - efficiency. + efficiency. (gethttp): Use alloca() where appropriate. * retr.c (buf_readchar): Use it. @@ -8999,7 +8999,7 @@ 1997-12-18 Hrvoje Niksic <hniksic@srce.hr> * all: Renamed nmalloc(), nrealloc() and nstrdup() to xmalloc(), - xrealloc() and xstrdup(). Use the new functions. + xrealloc() and xstrdup(). Use the new functions. * url.c (decode_string): Made static. (has_proto): Ditto. @@ -9105,7 +9105,7 @@ 1997-06-12 Hrvoje Niksic <hniksic@srce.hr> * cmpt.c (strptime_internal): Handle years more correctly for - `%y'. + `%y'. 1997-06-09 Mike Thomas <mthomas@reality.ctron.com> @@ -9172,7 +9172,7 @@ * http.c (check_end): New function. (http_atotm): Use it. - + 1997-02-13 gilles Cedoc <gilles@cedocar.fr> * http.c (gethttp): Use them. @@ -9186,10 +9186,10 @@ 1997-02-10 Hrvoje Niksic <hniksic@srce.hr> * recur.c (recursive_retrieve): Lowercase the host name, if the - URL is not "optimized". + URL is not "optimized". * host.c (realhost): Return l->hostname, even if it matches with - host. + host. 1997-02-10 Marin Purgar <pmc@asgard.hr> @@ -9208,15 +9208,15 @@ (skip_proto): Skip `//' correctly for FTP and HTTP. * url.c (get_urls_html): Handle bogus `http:' things a little - different. + different. * main.c (main): Removed `follow-ftp' from `f'. (main): Dumped the `prefix-files' and `file-prefix' options and - features; old and bogus. + features; old and bogus. (main): Exit on failed setval() in `-e'. * http.c (fetch_next_header): Use it to detect header continuation - correctly. + correctly. * retr.c (buf_peek): New function. @@ -9316,7 +9316,7 @@ * url.c (parseurl): New argument STRICT. * http.c (hparsestatline): Be a little-bit less strict about - status line format. + status line format. 1997-01-21 Hrvoje Niksic <hniksic@srce.hr> @@ -9347,24 +9347,24 @@ * version.c: "Released" 1.4.3-pre2. * recur.c (recursive_retrieve): Bypass host checking only if URL - is ftp AND parent URL is not ftp. + is ftp AND parent URL is not ftp. * ftp-basic.c (ftp_request): Print out Turtle Power. * ftp.c (ftp_loop): Call ftp_retrieve_glob with 0 if there's no - wildcard. + wildcard. (ftp_retrieve_glob): Call ftp_loop_internal even on empty list, if - not glob. + not glob. * http.c (gethttp): Be a little bit smarter about status codes. * recur.c (recursive_retrieve): Always reset opt.recursive when - dealing with FTP. + dealing with FTP. 1997-01-18 Hrvoje Niksic <hniksic@srce.hr> * retr.c (retrieve_url): New variable location_changed; use it for - tests instead of mynewloc. + tests instead of mynewloc. (retrieve_url): Allow heuristic adding of html. * url.c (url_filename): Don't use the `%' in Windows file names. @@ -9378,7 +9378,7 @@ * utils.c (my_touch): New function. * ftp.c (ftp_retrieve_list): Use #ifdef HAVE_STRUCT_UTIMBUF - instead of #ifndef NeXT. + instead of #ifndef NeXT. * utils.c (strptime): New version, by Ulrich Drepper. @@ -9393,7 +9393,7 @@ 1997-01-15 Hrvoje Niksic <hniksic@srce.hr> * html.c (ftp_index): Don't print minutes and seconds if we don't - know them; beautify the output. + know them; beautify the output. * ftp.c (getftp): Don't close the socket on FTPNSFOD. @@ -9426,7 +9426,7 @@ (ftp_parse_ls): Moved from ftp.c. (ftp_parse_unix_ls): Recognize seconds in time spec. (ftp_parse_unix_ls): Recognize year-less dates of the previous - year. + year. 1997-01-08 Hrvoje Niksic <hniksic@srce.hr> @@ -9441,7 +9441,7 @@ 1996-12-23 Hrvoje Niksic <hniksic@srce.hr> * url.c: Recognize finger, rlogin, tn3270, mid and cid as valid - schemes. + schemes. 1996-12-22 Hrvoje Niksic <hniksic@srce.hr> @@ -9492,18 +9492,18 @@ 1996-12-17 Hrvoje Niksic <hniksic@srce.hr> * retr.c (retrieve_url): Reset opt.recursion before calling - ftp_loop if it is reached through newloc. + ftp_loop if it is reached through newloc. * init.c (run_wgetrc): Print the wgetrc path too, when reporting - error; don't use "Syntax error", since we don't know if it is - really a syntax error. + error; don't use "Syntax error", since we don't know if it is + really a syntax error. 1996-12-16 Hrvoje Niksic <hniksic@srce.hr> * utils.c (acceptable): Extract the filename part of the path. * recur.c (recursive_retrieve): Call acceptable() with the right - argument; would bug out on wildcards. + argument; would bug out on wildcards. * init.c (parse_line): Likewise. @@ -9523,7 +9523,7 @@ * url.c (parseurl): Debug output. * utils.c (path_simplify): New one, adapted from bash's - canonicalize_pathname(). + canonicalize_pathname(). 1996-12-14 Hrvoje Niksic <hniksic@srce.hr> @@ -9540,7 +9540,7 @@ 1996-12-13 Hrvoje Niksic <hniksic@srce.hr> * init.c: Make excludes and includes under CVECDIR instead of - CVEC. + CVEC. 1996-12-13 Shawn McHorse <riffraff@txdirect.net> @@ -9557,7 +9557,7 @@ 1996-12-12 Shawn McHorse <riffraff@txdirect.net> * recur.c (retrieve_robots): Print the warning message only if - verbose. + verbose. 1996-12-12 Gregor Hoffleit <flight@mathi.uni-heidelberg.DE> @@ -9579,24 +9579,24 @@ 1996-12-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * (configure.in, config.h.in, src/Makefile.in, src/*.[ch]): Add - ansi2knr support for compilers which don't support ANSI style - function prototypes and signatures. + ansi2knr support for compilers which don't support ANSI style + function prototypes and signatures. * (aclocal.m4, src/ansi2knr.c, src/ansi2knr.1): New files. 1996-11-26 Hrvoje Niksic <hniksic@srce.hr> * url.c: Use it; Recognize paths ending with "." and ".." as - directories. + directories. (url_filename): Append .n whenever file exists and could be a - directory. + directory. * url.h (ISDDOT): New macro. * init.c (parse_line): Use unsigned char. * url.c (get_urls_html): Cast to unsigned char * when calling - htmlfindurl. + htmlfindurl. * html.c (htmlfindurl): Use unsigned char. @@ -9609,10 +9609,10 @@ * ftp.c (getftp): Simplified assertion. (ftp_loop_internal): Remove symlink before downloading. (ftp_retrieve_list): Unlink the symlink name before attempting to - create a symlink! + create a symlink! * options.h (struct options): Renamed print_server_response to - server_response. + server_response. * ftp.c (rel_constr): Removed. (ftp_retrieve_list): Don't use it. @@ -9627,12 +9627,12 @@ 1996-11-24 Hrvoje Niksic <hniksic@srce.hr> * http.c (http_loop): Reset newloc in the beginning of function; - would cause FMR in retrieve_url. + would cause FMR in retrieve_url. 1996-11-23 Hrvoje Niksic <hniksic@srce.hr> * recur.c (convert_all_links): Find the URL of each HTML document, - and feed it to get_urls_html; would bug out. + and feed it to get_urls_html; would bug out. (convert_all_links): Check for l2 instead of dl; removed dl. * url.c (convert_links): Don't refer to freed newname. @@ -9652,7 +9652,7 @@ * Makefile.in (wget): Make `wget' the default target. * ftp.c (ftp_loop_internal): Move noclobber checking out of the - loop. + loop. (ftp_retrieve_list): Warn about non-matching sizes. * http.c (http_loop): Made -nc non-dependent on opt.recursive. @@ -9666,7 +9666,7 @@ 1996-11-21 Shawn McHorse <riffraff@txdirect.net> * html.c (htmlfindurl): Reset s->in_quote after getting out of - quotes. + quotes. 1996-11-20 Hrvoje Niksic <hniksic@srce.hr> @@ -9685,7 +9685,7 @@ * init.c: New command htmlify. * ftp.c (getftp): Nicer error messages, with `'-encapsulated - strings. + strings. (ftp_loop): Print size of index.html. * init.c (setval): Implement "styles". @@ -9694,14 +9694,14 @@ 1996-11-19 Hrvoje Niksic <hniksic@srce.hr> - * ftp.c (getftp): Close the master socket in case of errors, after - bindport(). + * ftp.c (getftp): Close the master socket in case of errors, after + bindport(). - * connect.c (bindport): Initialize msock to -1. + * connect.c (bindport): Initialize msock to -1. - * ftp.c (getftp): Initialize dtsock to -1. + * ftp.c (getftp): Initialize dtsock to -1. - * connect.c (closeport): Don't close sock if sock == -1. + * connect.c (closeport): Don't close sock if sock == -1. 1996-11-18 Hrvoje Niksic <hniksic@srce.hr> @@ -9719,7 +9719,7 @@ * ftp.c (getftp): Initialize con->dltime. * recur.c (recursive_retrieve): Use same_host instead of - try_robots; simply load robots_txt whenever the host is changed. + try_robots; simply load robots_txt whenever the host is changed. (recursive_retrieve): Free forbidden before calling parse_robots. 1996-11-16 Hrvoje Niksic <hniksic@srce.hr> @@ -9727,12 +9727,12 @@ * retr.c (show_progress): Use them. * options.h (struct options): New options dot_bytes, dots_on_line - and dot_spacing. + and dot_spacing. 1996-11-16 Mark Boyns <boyns@sdsu.edu> * recur.c (recursive_retrieve): Retrieve directories regardless of - acc/rej rules; check for empty u->file. + acc/rej rules; check for empty u->file. 1996-11-14 Hrvoje Niksic <hniksic@srce.hr> @@ -9741,12 +9741,12 @@ * utils.c (merge_vecs): New function. * init.c (setval): Reset the list-type functions when encountering - "". + "". 1996-11-14 Shawn McHorse <riffraff@txdirect.net> * recur.c (recursive_retrieve): Use base_url instead of this_url - for no_parent. + for no_parent. 1996-11-14 Shawn McHorse <riffraff@txdirect.net> @@ -9757,7 +9757,7 @@ * utils.c (sepstring): Rewrote; don't use strtok. * recur.c (recursive_retrieve): Enter assorted this_url to slist - when running the first time. + when running the first time. (retrieve_robots): Warn to ignore errors when robots are loaded. * utils.c (load_file): Moved from url.c. @@ -9777,7 +9777,7 @@ * ftp.c (ftp_retrieve_dirs): Implemented opt.includes. * init.c (setval): Free the existing opt.excludes and - opt.includes, if available. + opt.includes, if available. * main.c (main): New option -I. @@ -9813,7 +9813,7 @@ * http.c (gethttp): Free all_headers -- would leak. * recur.c (recursive_retrieve): Initialize depth to 1 instead of - 0 -- this fixes a long-standing bug in -rl. + 0 -- this fixes a long-standing bug in -rl. 1996-11-09 Hrvoje Niksic <hniksic@srce.hr> @@ -9832,12 +9832,12 @@ 1996-11-08 Hrvoje Niksic <hniksic@srce.hr> * url.c (url_filename): Do not create numbered suffixes if - opt.noclobber -- would bug out on -nc. + opt.noclobber -- would bug out on -nc. 1996-11-07 Hrvoje Niksic <hniksic@srce.hr> * recur.c (parse_robots): Don't chuck out the commands without - arguments (`Disallow:<empty>' didn't work). + arguments (`Disallow:<empty>' didn't work). (parse_robots): Compare versions lowercase. (parse_robots): Match on base_version, not version_string! (parse_robots): Handle comments properly. @@ -9854,7 +9854,7 @@ * init.c (run_wgetrc): Close fp. * ftp.c (ftp_retrieve_dirs): Allocate the correct length for - u->dir. + u->dir. 1996-11-06 Hrvoje Niksic <hniksic@srce.hr> @@ -9866,12 +9866,12 @@ (ftp_retrieve_glob): Return QUOTEXC on quota exceeded. * main.c (main): Check for quota by comparison with downloaded - stuff, not from status. + stuff, not from status. * connect.c (select_fd): Should compile on HPUX without warnings now. * ftp.c (ftp_get_listing): Check whether ftp_loop_internal - returned RETROK. + returned RETROK. 1996-11-04 Hrvoje Niksic <hniksic@srce.hr> @@ -9887,7 +9887,7 @@ 1996-11-02 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_loop): Check for opt.ftp_glob too before calling - ftp_retrieve_glob. + ftp_retrieve_glob. * version.c: Changed version to 1.4.0-test2. @@ -9896,7 +9896,7 @@ * version.c: Released 1.4.0-test1. * url.c (str_url): Don't use sprintf when creating %2F-prefixed - directory. + directory. (convert_links): Removed definition of make_backup. * http.h: Removed definition of MAX_ERROR_LENGTH. @@ -9908,7 +9908,7 @@ * http.c (gethttp): Use ou->referer instead of u->referer. * retr.c (retrieve_url): Reset u to avoid freeing pointers twice; - this was known to cause coredumps on Linux. + this was known to cause coredumps on Linux. * html.c (ftp_index): Cast the argument to local_time to time_t *. @@ -9917,14 +9917,14 @@ * connect.c (select_fd): Use exceptfds -- once and for all. * retr.c (retrieve_from_file): Free filename after - recursive_retrieve. + recursive_retrieve. (retrieve_from_file): Send RFIRST_TIME to recursive_retrieve on - first-time retrieval. + first-time retrieval. (retrieve_from_file): Return uerr_t; new argument, count. (retrieve_from_file): Break on QUOTEXC. * init.c (setquota): Fixed a bug that caused rejection of - non-postfixed values.. + non-postfixed values.. 1996-10-30 Hrvoje Niksic <hniksic@srce.hr> @@ -9932,33 +9932,33 @@ * connect.c (iread): Smarter use of select. (select_fd): Set errno on timeout. If not timeout, return 1 - instead of 0. + instead of 0. 1996-10-29 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_loop_internal): Don't use con->cmd before - establishing it. + establishing it. 1996-10-26 Hrvoje Niksic <hniksic@srce.hr> * http.c (gethttp): Send correct referer when using proxy. (gethttp): Use struct urlinfo ou to access the relevant data; send - correct authorization in all cases. + correct authorization in all cases. * host.c (same_host): Use skip_uname to skip username and - password. + password. * url.c (skip_uname): New function. (parseurl): Use it. * host.c (same_host): Do not assume HTTP -- same_host should now - be totally foolproof. + be totally foolproof. * url.c (skip_proto): New function. (parse_uname): Use it. * http.c (gethttp): Create local user and passwd from what is - given. + given. * url.c (parseurl): Check for HTTP username and password too. @@ -9983,13 +9983,13 @@ * options.h (struct options): New variable no_parent. * recur.c (recursive_retrieve): Only files are checked for - opt.accepts and opt.rejects. + opt.accepts and opt.rejects. (recursive_retrieve): Check directories for opt.excludes. (recursive_retrieve): Make the dir absolute when checking - opt.excludes. + opt.excludes. * html.c (htmlfindurl): Recognize <applet code=...> and <script - src=...> + src=...> 1996-10-18 Hrvoje Niksic <hniksic@srce.hr> @@ -10005,7 +10005,7 @@ * version.c: "Released" 1.4b28. * ftp.c (ftp_loop_internal): Check whether f->size == len and - don't continue the loop if it is. + don't continue the loop if it is. (ftp_get_listing): Remove list_filename on unsuccesful loop. 1996-10-17 Hrvoje Niksic <hniksic@srce.hr> @@ -10014,7 +10014,7 @@ (getftp): Do not use multiline assert. * http.c (hparsestatline): Use mjr and mnr instead of major and - minor, which don't compile on Ultrix. + minor, which don't compile on Ultrix. (http_loop): Use strcpy() to initialize tmp. * all: Geturl -> Fetch @@ -10022,10 +10022,10 @@ 1996-10-17 Hrvoje Niksic <hniksic@srce.hr> * recur.c (parse_robots): Fixed an off-by-one bug when looking for - ':'. + ':'. * html.c (htmlfindurl): Fixed several possible off-by-one bugs by - moving `bufsize &&' to the beginning of each check in for-loops. + moving `bufsize &&' to the beginning of each check in for-loops. * recur.c (parse_robots): Close fp on exit. @@ -10044,7 +10044,7 @@ * ftp.c (ftp_loop): Change FTPOK to RETROK before exiting. (delelement): Use next instead of f->next and prev instead of - f->prev. + f->prev. (delelement): Free the members of the deleted element. * http.c (http_loop): Do not return RETROK on code != 20x. @@ -10057,14 +10057,14 @@ * http.c (hparsestatline): Docfix. * main.c (main): Return with error status on unsuccesful - retrieval. + retrieval. * init.c (setval): Do not remove listing when mirroring. * url.c (url_filename): Use opt.fileprefix. * ftp.c (ftp_get_listing): Use url_filename to get filename for - .listing. + .listing. * main.c (main): New option: -rn. @@ -10082,25 +10082,25 @@ * version.c: "Released" 1.4b26. * retr.c (retrieve_from_file): If call get_urls_html with - opt.spider to make it silent in spider mode. + opt.spider to make it silent in spider mode. * url.c (str_url): Use CLEANDUP instead of URL_CLEANSE. * url.h (CLEANDUP): New macro. * http.c (gethttp): Fixed a bug that freed location only when it - was NULL. + was NULL. * retr.c (retrieve_url): Free url if it will not be stored, - i.e. newloc is NULL. + i.e. newloc is NULL. * html.c (htmlfindurl): Handle exiting from quotes correctly; the - old version would bug out on <a href="x#a"href="y">. + old version would bug out on <a href="x#a"href="y">. * html.h (state_t): New member in_quote. * html.c (htmlfindurl): Free s->attr at the beginning of - attr-loop. + attr-loop. * recur.c (recursive_retrieve): Recognize RCLEANUP. (tried_robots): Make hosts a global variable. @@ -10110,7 +10110,7 @@ * utils.c (free_slist): New function. * recur.c (recursive_retrieve): Use flags to add cleanup - possibility. + possibility. * main.c (main): Free filename after recursive_retrieve. @@ -10119,8 +10119,8 @@ 1996-10-12 Hrvoje Niksic <hniksic@srce.hr> * all: Constified the whole source. This required some minor - changes in many functions in url.c, possibly introducing bugs -- I - hope not. + changes in many functions in url.c, possibly introducing bugs -- I + hope not. * ftp-basic.c: Removed last_respline. @@ -10135,10 +10135,10 @@ * main.c (main): Sorted the options. * connect.c (iread): Set errno to ETIMEDOUT only if it was left - uninitialized by select(). + uninitialized by select(). * http.c (http_loop): Print the time when the connection is - closed. + closed. (gethttp): Debug-print the HTTP request. 1996-10-11 Hrvoje Niksic <hniksic@srce.hr> @@ -10157,7 +10157,7 @@ * version.c: "Released" 1.4b25. * ftp-unix.c (ftp_parse_unix_ls): Ignore lines without file name - or link name. + or link name. * http.c (gethttp): Add errcode to struct hstat. (http_loop): Use it. @@ -10192,21 +10192,21 @@ (elapsed_time): New function. * retr.c (show_progress): Make bytes_in_line and offs long; should - work on 16-bit machines. + work on 16-bit machines. 1996-10-08 Hrvoje Niksic <hniksic@srce.hr> * url.c (in_acclist): New argument backward. * ftp.c (ftp_retrieve_glob): Use acceptable() to determine whether - a file should be retrieved according to suffix. + a file should be retrieved according to suffix. (ftp_get_listing): Check the return value of unlink; Do not call - ftp_retrieve_dirs if depth reached maxreclevel. + ftp_retrieve_dirs if depth reached maxreclevel. (ftp_retrieve_dirs): Check whether the directory is in - exclude-list. + exclude-list. * main.c (main): Print the version number at the beginning of - DEBUG output. + DEBUG output. (main): Use strrchr when creating exec_name. * ftp.c (ftp_retrieve_glob): Do not close control connection. @@ -10224,7 +10224,7 @@ * retr.c (time_str): Check for failed time(). * html.c (htmlfindurl): Recognize <fig src> and <overlay src> from - HTML3.0. + HTML3.0. * retr.c (time_str): Return time_t *. @@ -10282,7 +10282,7 @@ * geturl.texi: New file. * main.c (main): Do not print the warnings and download summary if - opt.quiet is set. + opt.quiet is set. * version.c: Changed version to 1.4b23. @@ -10291,10 +10291,10 @@ * "Released" 1.4b22. * atotm.c (atotm): Use True and False instead of TRUE and FALSE, - to avoid redefinition warnings. + to avoid redefinition warnings. * host.c (store_hostaddress): Use memcpy() to copy the address - returned by inet_addr. + returned by inet_addr. * version.c: Changed version to 1.4b22. @@ -10320,19 +10320,19 @@ * ftp-unix.c (ftp_parse_ls): Recognize time in h:mm format. * ftp.c (ftp_retrieve_dirs): Fixed a bug that caused incorrect - CWDs to be sent with recursive FTP retrievals. + CWDs to be sent with recursive FTP retrievals. 1996-10-03 Hrvoje Niksic <hniksic@srce.hr> * recur.c (parse_robots): Made it more compliant with "official" - specifications. + specifications. * http.c: New function. * ftp-unix.c (ftp_parse_ls): Added better debug output. * ftp.c (getftp): Print out the LIST in case of - opt.print_server_response. + opt.print_server_response. * version.c: Changed version to 1.4b21. @@ -10343,7 +10343,7 @@ * README: Update. * http.c (gethttp): Preset lengths of various headers instead of - calculating them dynamically. + calculating them dynamically. (gethttp): Check for 206 partial contents. 1996-09-30 Hrvoje Niksic <hniksic@srce.hr> @@ -10357,7 +10357,7 @@ * http.c (gethttp): Send host: header. (gethttp): Add the possibility of user-defined headers. (gethttp): Move decision about pragma: no-cache to http_loop, - where it belongs. + where it belongs. (gethttp): Pass a struct instead of enormous argument list. (http_loop): Use a new, fancier display format. (ftp_loop): Likewise. @@ -10391,11 +10391,11 @@ * http.c (http_loop): Add restart capabilities. * ftp.c (ftp_retrieve_glob): Fixed a bug that could cause matchres - being used uninitialized. + being used uninitialized. (ftp_retrieve_list): Similar fix. * host.c (add_hlist): Fixed a bug that could cause cmp being used - uninitialized. + uninitialized. * url.c (construct_relative): New function. @@ -10420,11 +10420,11 @@ * init.c (setval): New option: SAVEHEADERS * ftp.c (ftp_loop_internal): Do not set restval if listing is to - be retrieved. Lack of this test caused bugs when the connection - was lost during listing. + be retrieved. Lack of this test caused bugs when the connection + was lost during listing. * retr.c (retrieve_url): Fixed a bug that caused - coredumps. *newloc is now reset by default. + coredumps. *newloc is now reset by default. (retrieve_url): Lift the twenty-tries limit on proxies. * version.c: Changed version to 1.4b20. @@ -10441,7 +10441,7 @@ 1996-09-17 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_retrieve_list): Fixed a bug that caused setting - incorrect values to files pointed to by symbolic links. + incorrect values to files pointed to by symbolic links. (ftp_1fl_loop): Do not count listings among the downloaded URL-s. 1996-09-16 Hrvoje Niksic <hniksic@srce.hr> @@ -10459,7 +10459,7 @@ * main.c (main): Rename "server-headers" to "server-response". * ftp-unix.c (ftp_parse_ls): Check for asterisks at the end of - executables in 'ls -F' listings. + executables in 'ls -F' listings. 1996-09-15 Hrvoje Niksic <hniksic@srce.hr> @@ -10467,7 +10467,7 @@ (str_url): Get rid of sprintf(). * recur.c (recursive_retrieve): Enable FTP recursion through proxy - servers. + servers. * url.h (URL_CLEANSE): Made it else-resistant. (USE_PROXY): New macro. @@ -10487,12 +10487,12 @@ 1996-09-14 Drazen Kacar <dave@fly.cc.fer.hr> * html.c (htmlfindurl): Added <frame src> and <iframe src> among - the list of stuff to fetch. + the list of stuff to fetch. 1996-09-13 Hrvoje Niksic <hniksic@srce.hr> * url.c (get_urls_html): Fixed a bug that caused SIGSEGV's with - -Fi. + -Fi. * html.c (htmlfindurl): Rewrite. @@ -10501,13 +10501,13 @@ * main.c (main): Added --cache option. * ftp.c (ftp_response): Print server response if opt.print_server - response is set. + response is set. (getftp): Print newlines after each request if the server response - is to be printed. + is to be printed. (ftp_response): Copy the last response line to last_respline. * http.c (gethttp): Add Pragma: nocache for retried - proxy-retrievals. + proxy-retrievals. * ftp.c (getftp): Use it. @@ -10515,7 +10515,7 @@ * ftp.c (ftp_response): Use buf_readchar(). (getftp): Flush the control connection buffer before calling - get_contents(). + get_contents(). * retr.c (buf_readchar): New function. (buf_flush): New function. @@ -10527,14 +10527,14 @@ * ftp.c: Incorporate changes to ftp_response. * ftp.c (ftp_response): Allocate the server response dynamically, - as in read_whole_line and fetch_next_header. + as in read_whole_line and fetch_next_header. * utils.c (read_whole_line): Fixed a bug that prevented reading - the last line if it is not \n-terminated. Also fixed a possible - memory overflow. + the last line if it is not \n-terminated. Also fixed a possible + memory overflow. * http.c (fetch_next_header): Return malloc-ed string as large as - needed. + needed. (gethttp): Use new fetch_next_header. 1996-09-12 Hrvoje Niksic <hniksic@srce.hr> @@ -10561,19 +10561,19 @@ * version.c: "Released" 1.4b17. * ftp-unix.c (ftp_parse_ls): If unable to open file, return NULL - instead of failed assertion. + instead of failed assertion. 1996-09-09 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_get_listing): Add a numbered suffix to LIST_FILENAME - if a file of that name already exists. + if a file of that name already exists. 1996-09-05 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_1fl_loop): Handler FTPPORTERR and FOPENERR correctly. * config.h.in: Define gethostbyname as Rgethostbyname when using - Socks. + Socks. * configure.in: Check for -lresolv if using Socks. @@ -10584,7 +10584,7 @@ * version.c: "Released" 1.4b16. * http.c (gethttp): More intelligent check for first line of HTTP - response. + response. (gethttp): Would bug out on time-stamping. * version.c: Changed version to 1.4b16. @@ -10600,7 +10600,7 @@ * url.h (ISDOT): New macro. * recur.c (recursive_retrieve): Change only opt.recursive for - following FTP. + following FTP. 1996-07-11 Antonio Rosella <antonio.rosella@agip.it> @@ -10613,7 +10613,7 @@ 1996-07-11 Hrvoje Niksic <hniksic@srce.hr> * url.c (url_filename): Check for opt.dirstruct instead for - opt.recursive && opt.dirstruct. + opt.recursive && opt.dirstruct. * init.c (defaults): Ditto. (defaults): Reset dirstruct by default. @@ -10649,15 +10649,15 @@ * socks/geturl.cgi: Changed /pub/bin/perl to /usr/bin/perl. * socks/download.html: Created from download-netscape.html, made - HTML-2.0 compliant. + HTML-2.0 compliant. * recur.c (recursive_retrieve): Set opt.force_dir_hier when - following FTP links from recursions. + following FTP links from recursions. 1996-07-09 Hrvoje Niksic <hniksic@srce.hr> * url.c (mymkdir): Fixed a bug that prevented mymkdir() to create - absolute directories correctly. + absolute directories correctly. * version.c: Changed version to 1.4b14. @@ -10668,7 +10668,7 @@ * url.c (make_backup): New function. * http.c (http_loop): Make a backup copy of the local file (using - rename(2)) before opening it. + rename(2)) before opening it. * main.c (main): Added --backups. @@ -10677,28 +10677,28 @@ (ftp_getaddress): Check for empty, null or (null) domain. * url.c (get_urls_html): If this_url is NULL, the base must have a - protocol. + protocol. (parseurl): Use has_proto. * retr.c (retrieve_url): Warn when proxy is used with more than 20 - retries. + retries. * url.c (mkstruct): Create the directory (calling mymkdir()) only - if it is not already there. + if it is not already there. (has_proto): New function. (get_urls_html): Eliminate the remaining call to findurl -- use - has_proto. + has_proto. * geturl.1: Ditto. * main.c: Change -X to -x. * url.c (url_filename): Simplify creation of filename if - prefix_files is set. + prefix_files is set. (url_filename): Simplify everything. And I do mean *everything*. (mkstruct): Add dir_prefix before hostname. (path_simplify): Fixed a bug that caused writing outside the path - string in case of "." and ".." path strings. + string in case of "." and ".." path strings. 1996-07-06 Hrvoje Niksic <hniksic@srce.hr> @@ -10714,7 +10714,7 @@ * http.c (gethttp): Use referer if present. * recur.c (recursive_retrieve): Set u->referer before calling - retrieve_url. + retrieve_url. * url.c (newurl): Use memset to nullify the struct members. (freeurl): Free the referer field too. @@ -10732,17 +10732,17 @@ * configure.in: Add the support for socks. * url.c (url_filename): If the dir_prefix is ".", work with just - the file name. + the file name. (url_filename): Do not look for .n extensions if timestamping if - turned on. + turned on. * retr.c (show_progress): Skip the over-abundant restval data, and - print the rest of it with ',' instead of '.'. + print the rest of it with ',' instead of '.'. 1996-07-05 Hrvoje Niksic <hniksic@srce.hr> * retr.c (show_progress): Changed second arg. to long (as it - should be). + should be). (show_progress): Moved to retr.c. (get_contents): Moved to retr.c. @@ -10760,7 +10760,7 @@ (get_urls_html): Use new parameters for htmlfindurl. * html.c: Removed memorizing "parser states", since the new - organization does not require them. + organization does not require them. * init.c (run_geturlrc): Use read_whole_line. @@ -10773,20 +10773,20 @@ * recur.c (tried_robots): Use add_slist/in_slist, *much* cleaner. * host.c (ngethostbyname): Call inet_addr just once. Yet to be - tested on OSF and Ultrix. + tested on OSF and Ultrix. (add_hlist): New function. (free_hlist): New function. (search_host): New function. (search_address): New function. (realhost): Use search_host, search_address and add_hlist. (same_host): Replaced realloc() with strdupdelim(), made - case-insensitive, fixed a memory leak. + case-insensitive, fixed a memory leak. * html.c (ftp_index): Fixed tm_min and tm_sec to be tm_hour and - tm_min, like intended. + tm_min, like intended. * version.c: Change user agent information to - Geturl/version. + Geturl/version. 1996-07-03 Hrvoje Niksic <hniksic@srce.hr> @@ -10795,8 +10795,8 @@ * url.c (acceptable): Always accept directories. * ftp-unix.c (ftp_parse_ls): Support brain-damaged "ls -F"-loving - servers by stripping trailing @ from symlinks and trailing / from - directories. + servers by stripping trailing @ from symlinks and trailing / from + directories. * ftp.c (ftp_loop): Debugged the "enhanced" heuristics. :-) @@ -10806,14 +10806,14 @@ * url.c (match_backwards_or_pattern): Fixed i == -1 to j == -1. (match_backwards): New function, instead of - match_backwards_or_pattern. + match_backwards_or_pattern. * recur.c (recursive_retrieve): Increased performance by - introducing inl, which reduces number of calls to in_slist to only - one. + introducing inl, which reduces number of calls to in_slist to only + one. * ftp.c (ftp_loop): Enhanced the heuristics that decides which - routine to use. + routine to use. * main.c (printhelp): Removed the warranty stuff. @@ -10827,29 +10827,29 @@ 1996-06-30 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (ftp_loop): Call ftp_index on empty file names, if not - recursive. + recursive. * html.c (ftp_index): Fixed to work. Beautified the output. * ftp.c (ftp_retrieve_glob): Another argument to control whether - globbing is to be used. + globbing is to be used. (ftp_retrieve_list): Compare the time-stamps of local and remote - files to determine whether to download. + files to determine whether to download. 1996-06-29 Hrvoje Niksic <hniksic@srce.hr> * ftp.c (rel_constr): New function. * retr.c (retrieve_from_file): Check for text/html before - retrieving recursively. + retrieving recursively. * main.c (main): Check whether the file is HTML before going into - recursive HTML retrieving. + recursive HTML retrieving. * ftp.c (ftp_retrieve_list): Manage directories. (ftp_retrieve_glob): Pass all the file-types to ftp_retrieve_list. (ftp_1fl_loop): Fixed a bug that caused con->com to be incorrectly - initialized, causing bugchecks in getftp to fail. + initialized, causing bugchecks in getftp to fail. * configure.in: Check for symlink. @@ -10878,10 +10878,10 @@ * version.c: 1.4b9 "released". * recur.c (recursive_retrieve): Used linked list (ulist) for - faster storing of URLs. + faster storing of URLs. * url.c (get_urls_html): Removed the old kludge with comparing the - outputs of htmlfindurl and findurl. + outputs of htmlfindurl and findurl. (get_urls_html): Added better protocol support here. (create_hash): Removed, as well as add_hash and in_hash. (addslist): New function. @@ -10916,8 +10916,8 @@ * version.c: New version. * main.c (hangup): New function, that handles hangup. Hangup - signal now causes geturl to stop writing on stdout, and to write - to a log file. + signal now causes geturl to stop writing on stdout, and to write + to a log file. * ftp.c (getftp): "Released" 1.4b7. @@ -10954,15 +10954,15 @@ * retr.c (retrieve_from_file): New function. * url.c (parseurl): Modified to return URLOK if all OK. Protocol - can be found in u->proto. + can be found in u->proto. * ftp.c (ftp_response): Fixed to accept multi-line responses as - per RFC 959. + per RFC 959. * recr.c (recursive_retrieve): Take newloc from retrieve_url. * url.c (mymkdir): Removed the file of the same name, if one - exists. + exists. (isfile): New function. (mkstruct): Fixed the '/' glitches. (path_simplify): Hacked to treat something/.. correctly. @@ -10973,7 +10973,7 @@ (http_loop): HEOF no longer a fatal header. * loop.c (retrieve_url): When dt is NULL, do not modify it. This - simplifies the syntax of calling retrieve_url. + simplifies the syntax of calling retrieve_url. * recr.c (recursive_retrieve): Modified to use get_urls_html. @@ -10981,7 +10981,7 @@ (get_urls_html): New function. * recr.c (recursive_retrieve): Patched up to conform to the - standards. + standards. * http.c (gethttp): Synched with the rest... (gethttp): Treat only CONREFUSED specially, with connection @@ -10996,7 +10996,7 @@ * loop.c: Removed *lots* of stuff from retrieve_url. * url.c (parseurl): Changed to work with urlinfo. Integrated - username finding and path parsing. + username finding and path parsing. (newurl): New function. (freeurl): New function. (mkstruct): Removed the old bogosities, made it urlinfo-compliant. @@ -11016,32 +11016,32 @@ 1996-06-19 Hrvoje Niksic <hniksic@srce.hr> * url.c (hide_url): Thrown out the protocol assertion. Do not - change the URL if the protocol if not recognized. + change the URL if the protocol if not recognized. (findurl): Put continue instead of break. 1996-06-18 Hrvoje Niksic <hniksic@srce.hr> * sample.geturlrc: Changed the defaults to be commented out and - harmless (previous defaults caused pains if copied to - ~/.geturlrc). + harmless (previous defaults caused pains if copied to + ~/.geturlrc). * http.c (gethttp): Print the HTTP request in debug mode. * connect.c (iread): Added EINTR check loop to select-ing - too. EINTR is now correctly handled with select(). + too. EINTR is now correctly handled with select(). * TODO: new file 1996-05-07 Hrvoje Niksic <hniksic@srce.hr> * host.c (same_host): Made the function a little bit more - intelligent regarding diversified URL syntaxes. + intelligent regarding diversified URL syntaxes. * url.c (skip_url): Spaces are now skipped after URL: * Released 1.3.1 with the patch to prevent crashing when sending - NULL to robot* functions and the patch to compile "out of the box" - on AIX. + NULL to robot* functions and the patch to compile "out of the box" + on AIX. * recr.c (recursive_retrieve): Added checking whether this_url is NULL when calling the robot functions.