]> sjero.net Git - wget/blobdiff - src/ChangeLog
Merge with mainline
[wget] / src / ChangeLog
index 6b562001a9e46d0ee21a573f00918ffd8da33ddb..d9223c5f02c310ac80ed2f2d1df14acf11b80251 100644 (file)
@@ -1,3 +1,181 @@
+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.
+
+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-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: