]> sjero.net Git - wget/blobdiff - src/ChangeLog
Use gnulib's MD5.
[wget] / src / ChangeLog
index e17229ebcd5a97e224460c0603ffd0b553f0ab23..3bae231edd535e5982c64b5080ff77f5a8500781 100644 (file)
@@ -1,3 +1,434 @@
+2007-10-14  Micah Cowan  <micah@cowan.name>
+
+       * cmpt.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, hash.c,
+       host.c, html-parse.c, html-url.c, http-ntlm.c, http.c, init.c,
+       log.c, main.c, netrc.c, openssl.c, res.c, url.c, utils.c,
+       wget.h: Replace uses of ISSPACE, etc with c_isspace, etc.
+       * gnu-md5.c, gnu-md5.h: Removed, in deference to gnulib.
+       * Makefile.am: Removed gnu-md5.h from wget_SOURCES.
+       * gen-md5.c: Changed #inclusion of gnu-md5.h to md5.h (gnulib's).
+
+2007-10-13  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am: Make version.c depend on Wget dependencies (source
+       files, plus such things as LIBOBJS so we get things like
+       http-ntlm.c). Removed getopt.[ch], as we're now using gnulib for
+       these.
+
+2007-10-10  Micah Cowan  <micah@cowan.name>
+
+       * http-ntlm.c: Include openssl/opensslv.h explicitly, instead of
+       hoping it'll be included by accident in openssl/des.h.
+
+2007-10-09  Gisle Vanem  <gvanem@broadpark.no>
+
+       * mswindows.c: 'argc' and 'argv' in 'windows_main()' are no longer
+       needed.  Hence simply the prototype. Free 'exec_name' at exit.
+
+2007-10-09  Micah Cowan  <micah@cowan.name>
+
+       * gettext.h: Imported from /usr/share/gettext, fuller handling
+       of --disable-nls.
+       * wget.h: Remove logic for handling lack of NLS (now in
+       gettext.h).
+       * main.c: Use gettext's ENABLE_NLS rather than HAVE_NLS.
+       * Makefile.am: added @LIBINTL@ to LIBS (though it probably
+       belongs in LDADD, along with everything else currently assigned
+       to LIBS).
+
+2007-10-08  Micah Cowan  <micah@cowan.name>
+
+       * http.c (http_loop): Add send_head_first conditional back
+       around code that needs it, but not around the last-modified
+       header-parsing stuff this time. Removed no-longer-useful (was it
+       ever?) restart_loop boolean, continuing unconditionally at end
+       of send_head_first conditional block (if we haven't jumped out).
+
+2007-10-04  Micah Cowan  <micah@cowan.name>
+
+       * http.c (http_loop): We've got_name if content_disposition
+       support isn't on; make sure we continue properly in that case,
+       even though we're not sending HEAD.
+       * Makefile.in: Removed, replaced by Makefile.am.
+       * Makefile.am: Converted from Makefile.in.
+
+2007-10-02  Gisle Vanem  <gvanem@broadpark.no>
+       
+       * ftp.c: Use "_listing" for MSDOS (".listing" is illegal).
+
+       * url.c: Update comment for 'filechr_not_windows'.
+
+       * utils.c: Include <process.h> for 'getpid()' on Watcom.
+
+2007-10-02  Micah Cowan  <micah@cowan.name>
+
+       * ftp.c (getftp, ftp_loop_internal), http.c (http_loop), main
+       (main): Use datetime_str instead of time_str, for those who have
+       potentially long-running sessions. Based on suggestions by Saso
+       Tomat <miskox@hotmail.com> and Steven M. Schweda
+       <sms@antinode.org>.
+       * http.c (gethttp): Warn about host lookup failures. Adjusted
+       from Stephen Gildea's patch.
+
+2007-10-02  Stephen Gildea  <stepheng+wget@gildea.com>
+
+       * connect.c (connect_to_host): Warn about host lookup failures.
+
+2007-09-25  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.in: Use EXEEXT instead of exeext.
+
+2007-09-24  Gisle Vanem  <giva@bgnett.no>
+
+       * connect.c, init.c, main.c, openssl.c, options.h, sysdep.h,
+       url.c, utils.c: Added support for building on MS-DOS.
+
+2007-09-24  Jochen Roderburg  <roderburg@uni-koeln.de>
+
+       * http.c (http_zero): Remove no-longer-used local_size variable.
+       Fixes bug #21057.
+
+2007-09-12  Micah Cowan  <micah@cowan.name>
+
+       * http.c (http_loop): Remove send_head_first from condition for
+       parsing timestamp.
+
+2007-08-29  Micah Cowan  <micah@cowan.name>
+
+       * openssl.c (ssl_init): Re un-const-ified the meth local
+       variable, to match current versions of openssl.
+       * spider.c: Removed visited_url function, as it may be very
+       inefficient.
+       (print_broken_links): Removed traversal of referrers, until such
+       time as a more efficient implementation can be written.
+       * spider.h: Replaced declaration of visited_url with an
+       empty-bodied, function-like macro.
+
+2007-08-27  Gisle Vanem         <giva@bgnett.no>
+
+       * mswindows.c (run_with_timeout): Ensure that the correct
+       conversion specification is used for the return result of
+       the GetLastError function.
+       * getopt.c: Fix missing (but, accidentally, legal) comment
+       delimiter after licensing text.
+       * recur.c (retrieve_tree): Inserted missing cast for strip_auth.
+       Includes adjustment by Ralf Wildenhues.
+       * openssl.c (ssl_init): const-ified the meth local variable.
+       * main.c: Include all the static function definitions in the
+       "#ifndef TESTING" clause, leaving just the definitions for
+       exec_name (not set), and opt.
+       * utils.c (run_with_timeout): Now returns bool, to align with
+       declaration in utils.h.
+
+2007-08-27  Micah Cowan  <micah@cowan.name>
+
+       * wget.h: Added macro replacement for ngettext, for environs
+       that lack NLS.
+
+2007-08-26  Micah Cowan  <micah@cowan.name>
+
+       * spider.c (print_broken_links): Fixed incorrect plurals msgid
+       usage, switched to use ngettext function.
+
+2007-08-24  Micah Cowan  <micah@cowan.name>
+
+       * http.c (http_loop): Introduced time_came_from_head boolean
+       flag, to help avoid parsing the same Last-Modified header twice.
+       Replaced spidering returns of RETRUNNEEDED for some situations,
+       to RETROK, as otherwise it will be interpreted as an error.
+       RETRUNNEEDED appears never to be referenced outside of
+       http.c (and wget.h), and, when returned by gethttp, is
+       translated by http_loop to RETROK.
+       * url.c (are_urls_equal): Don't call getchar_from_escaped_string
+       if u2 is shorter than u1.
+       (getchar_from_escaped_string): Don't decode reserved characters.
+       Handle illegally appearing '%'s as literal '%'s. Ensure hex
+       digits before attempting to decode.
+       (test_are_urls_equal): Added tests to handle u2 shorter than u1,
+       and %2f not treated the same as /.
+       * spider.c (in_url_list_p): Don't call are_urls_equal if one of
+       them is NULL.
+
+2007-08-23  Joshua David Williams  <yurimxpxman@gmail.com>
+
+       * spider.c (in_url_list_p): Removed the bool verbose argument
+
+2007-08-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c (http_loop): Fall back to GET if HEAD fails with a 500 or 501
+       error code.
+
+2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
+       
+       * http.c (http_loop): Send preliminary HEAD request if -N is given and
+       the destination file exists already.
+
+2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c (http_loop): Fixed HTTP HEAD requests logic when --spider is
+       given.
+
+2007-08-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * url.c (append_uri_pathel): Do not assume dest string to be
+       zero-terminated.
+       (test_append_uri_pathel): Terminate string to fix test failure.
+
+2007-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * url.c (url_string): Use comparison, not assignment, in
+       check for auth_mode == URL_AUTH_HIDE_PASSWD.
+
+2007-08-09  Micah Cowan  <micah@cowan.name>
+
+       * http.c (http_loop): If we got a HEAD and then a GET, and the
+       GET had a timestamp, use that one, not any we may have gotten
+       from the HEAD.
+
+2007-08-08  Micah Cowan  <micah@cowan.name>
+
+       * init.c (defaults): Content disposition will not be default,
+       since it currently results in extra round-trips.
+
+2007-07-31  Micah Cowan  <micah@cowan.name>
+
+       * http.c (gethttp): Set contlen = -1 when we encounter a
+       negative-valued Content-Length header, so we don't consider it
+       an internal error later on and call abort().
+
+2007-07-29  Micah Cowan  <micah@cowan.name>
+
+       * url.h, url.c (url_string): Replaced bool arg of the url_string
+       function with enum url_auth_mode, with added option to
+       completely remove user/pass auth information.
+       * http.c, ftp.c, url.c, recur.c: Adapted call to url_string
+       function to fit new usage.
+       * recur.c (retrieve_tree): Remove auth info from Referer header.
+
+2007-07-28  Micah Cowan  <micah@cowan.name>
+
+       * options.h, init.c, retr.c, main.c: renamed opt maxredirect
+       field to max_redirect, for improved consistency.
+       * init.c: changed max_redirect parser from cmd_number_inf to
+       cmd_number, as infinite redirects may not be appropriate.
+       Alternatively, if cmd_number_inf should be used, then
+       opt.max_redirect's value should be checked a bit differently in
+       retr.c, to allow for the "infinite" meaning of zero.
+
+2007-07-25  Micah Cowan  <micah@cowan.name>
+
+       * http.c (create_authorization_line)
+       (basic_authentication_encode, known_authentication_scheme_p)
+       (load_cookies): Moved declarations up.
+       (basic_authed_hosts): Added. Tracks what hosts have issued Basic
+       challenge and been given the global username, password.
+       (maybe_send_basic_creds): Added. Sends Basic creds for hosts that
+       have issued Basic challenges.
+       (register_basic_auth_host): Added. Instantiates
+       basic_authed_hosts if necessary, then registers the host that
+       has issued a challenge.
+       (gethttp) <auth>: Only send authentication credentials after
+       we've received a challenge from that host. This is a stop-gap
+       fix until a proper fix can be implemented; still isn't quite
+       right, as we should only be sending credentials automatically
+       for authenticated paths and below, and not for the entire host.
+
+2007-07-16  Joshua David Williams  <yurimxpxman@gmail.com>
+
+       * options.h: added maxredirect to options struct
+       * init.c: added maxredirect to list of variables
+       * retr.c (retrieve_url): replaced MAX_REDIRECTIONS with opt.maxredirect
+       * main.c: added option --max-redirect
+
+2007-07-16  Joshua David Williams  <yurimxpxman@gmail.com>
+
+       * test.h: tests made more verbose; now displays the name
+       of each test run.
+
+2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c (http_loop): Fixed the HTTP requests logic. Now it skips the 
+       preliminary HEAD request if either -O or --no-content-disposition are 
+       given, and neither --spider and -N are given.
+
+2007-07-05  Micah Cowan  <micah@cowan.name>
+
+       * cmpt.c, connect.c, connect.h, convert.c, convert.h:
+       * cookies.c, cookies.h, ftp-basic.c, ftp.c, ftp.h, ftp-ls.c:
+       * ftp-opie.c, gen-md5.c, gen-md5.h, getopt.c, getopt.h, gnu-md5.c:
+       * gnu-md5.h, gnutls.c, hash.c, hash.h, host.c, host.h:
+       * html-parse.c, html-parse.h, html-url.c, http.c, http.h:
+       * http-ntlm.c, http-ntlm.h, init.c, init.h, log.c, log.h, main.c:
+       * Makefile.in, mswindows.c, mswindows.h, netrc.c, netrc.h:
+       * openssl.c, options.h, progress.c, progress.h, ptimer.c:
+       * ptimer.h, recur.c, recur.h, res.c, res.h, retr.c, retr.h:
+       * safe-ctype.c, safe-ctype.h, spider.c, spider.h, ssl.h, sysdep.h:
+       * test.c, test.h, url.c, url.h, utils.c, utils.h, wget.h:
+       * xmalloc.c, xmalloc.h:
+       Updated GPL reference to version 3 or later, removed FSF
+       address.
+
+2007-07-04  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c (http_loop): Skip HEAD request and start immediately with GET
+       if -O is given.
+
+2007-02-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (print_server_response): Escape non-printable characters
+       in server respone.
+
+2007-02-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * netrc.c: Don't make netrc_list static, as it prevents
+       compilation with DEBUG_MALLOC.
+
+       * utils.c (aprintf): Don't use vasprintf when DEBUG_MALLOC is
+       requested because, in that case, we want the calls to malloc to be
+       coming from us.
+
+2007-01-23  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cookies.c (parse_set_cookie): Would erroneously discard cookies
+       with unparsable expiry time.
+
+2007-01-23  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (create_image): Check for ETA overflow.
+       (print_row_stats): Ditto.
+
+2007-01-09  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * init.c (cmd_spec_prefer_family): Small fix to get rid of a gcc
+       warning about strict-aliasing violation.
+
+2007-01-09  Steven M. Schweda  <sms@antinode.org>
+
+       * ftp-basic.c (ftp_syst): Fixed segfault if response text is missing.
+
+2006-12-29  Gisle Vanem  <giva@bgnett.no>
+
+       * mswindows.c: Avoid a warning if 'ws_hangup()' is unused.
+
+2006-12-27  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c (parse_content_disposition): Consider directory prefix, if
+       specified.
+
+2006-11-21  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * retr.c (retrieve_from_file): Ditto.
+       (url_uses_proxy): New function.
+
+       * main.c (main): Don't check for opt.use_proxy when deciding
+       whether to call retrieve_url or retrieve_tree; check whether the
+       proxy would be used for *this* URL.
+
+2006-10-17  Mike Grant  <mggr@pml.ac.uk>
+
+       * ftp.c (ftp_loop_internal): Would incorrectly skip changing
+       working directory when retrying after a failed FTP attempt.
+       Originally reported by Nate Eldredge.
+
+2006-10-12  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * convert.c (downloaded_file): Fixed bug which used to break -E -k -K 
+       mode.
+
+2006-08-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c: #include'd spider.h to get rid of compiler warnings.
+
+       * main.c: Ditto.
+
+       * recur.c: Ditto.
+
+2006-08-24  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * Makefile.in: Added spider.c to the list of files to compile and
+       spider.h to the list of header files. Updated copyright information.
+
+       * http.c: Major changes to recursive spider mode. Now for every
+       resource we are supposed to check, we send a HEAD request to find out
+       if it exists. If the resource is a HTML file, we retrieve it and parse
+       it to discover links to other resources.
+
+       * recur.c: Ditto.
+
+       * res.c (res_retrieve_file): Disable opt.timestamping and opt.spider
+       when retrieving robots.txt. Updated copyright information.
+
+       * convert.c: Moved code tracking broken links to spider.c.
+
+       * convert.h: Ditto.
+
+       * spider.c: Created new file to keep track of visited URLs in spider
+       mode.
+
+       * spider.h: Ditto.
+
+2006-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c: Fixed timestamping-related bug.
+
+2006-08-16  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * http.c: Fixed bug which broke --continue feature. Now if -c is
+       given, http_loop sends a HEAD request to find out the destination
+       filename before resuming download.
+
+2006-08-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (datetime_str): Avoid code repetition with time_str.
+
+2006-07-21  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * init.c (commands): Correctly place "contentdisposition".
+
+2006-07-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
+       
+       * sysdep.h: If intptr_t isn't defined, simply typedef it to long.
+
+       * http.c: Added explicit cast to int in logprintf call to remove
+       compiler warnings on 64-bit platforms.
+
+       * connect.c: Added a few casts to intptr_t to remove compiler warnings
+       on 64-bit platforms.
+       
+       * main.c: Disable -r, -p and -N when -O is used. Disable -k when -O is
+       used and multiple URLs are given. Update maintainer information.
+       
+       * all: Update copyright information.
+       
+2006-07-10  KJKHyperion  <hackbunny@reactos.com>
+
+       * url.c (filechr_table): Mark DEL (0x7f) as a control character
+       and | as a character Windows can't handle.
+
+2006-06-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * res.c: Implemented is_robots_txt_url function for detection of
+       robots.txt URLs and related test routine.
+
+       * res.h: Ditto.
+
+       * url.c: Implemented are_urls_equal function for URL comparison and
+       related testing routine.
+
+       * url.h: Ditto.
+
+       * convert.c: Fixes for recursive spider mode: don't consider
+       non-existing robots.txt as a broken link, and use are_urls_equal
+       instead of strcasecmp for referrer URLs comparison.
+
+       * test.c: Call tests routines for are_urls_equal and 
+       is_robots_txt_url.
+
+2006-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h (wgint): Typedef to any 64-bit (or larger) type we can
+       find, not necessarily off_t or long.
+
 2006-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * cmpt.c (strtoll): Check for overflow and underflow without