]> sjero.net Git - wget/blobdiff - src/ChangeLog
Print some diagnostic messages to stderr not to stdout.
[wget] / src / ChangeLog
index bd10d2f1e9031d7d5c5dd26dd39c73e3b13a24db..e5def2a83508fac568b33b3a197c688f073ac00a 100644 (file)
+2012-02-23  Giuseppe Scrivano  <giuseppe@southpole.se>
+
+       * main.c (main): Write diagnostic messages to `stderr' not to `stdout'.
+
+       * main.c (main): Fail gracefully if `malloc' fails.
+
+       * gnutls.c (wgnutls_read): Remove unused variables `timer' and `flags'.
+
+2012-02-17  Steven Schubiger  <stsc@member.fsf.org>
+
+       * warc.c: Add license header.
+
+2012-01-27  Gijs van Tulder  <gvtulder@gmail.com>
+
+       * retr.c (fd_read_body): If the response is chunked, the chunk
+       headers are now written to the WARC file, making the WARC file
+       an exact copy of the HTTP response.
+
+2012-01-27  Gijs van Tulder  <gvtulder@gmail.com>
+
+       * retr.c (fd_read_body): Fix a memory leak with chunked responses.
+       * http.c (skip_short_body): Fix the same memory leak.
+
+2012-01-09  Gijs van Tulder  <gvtulder@gmail.com>
+
+       * init.c: Disable WARC compression if zlib is disabled.
+       * main.c: Do not show the 'no-warc-compression' option if zlib is
+       disabled.
+       * warc.c: Do not compress WARC files if zlib is disabled.
+
+2012-01-09  Sasikantha Babu   <sasikanth.v19@gmail.com> (tiny change)
+       * connect.c (connect_to_ip): properly formatted ipv6 address display.
+       (socket_family): New function - returns socket family type.
+       * http.c (gethttp): properly formatted ipv6 address display.
+
+2011-11-09  Gijs van Tulder  <address@hidden>
+
+       * warc.c: Call gzdopen() with wb9 instead of wb+9, which fails on
+       zlib version >= 1.2.4.
+
+2011-11-04  Steven Schweda  <address@hidden>
+
+       * warc.c [! WINDOWS]: Include <libgen.h>.
+       (warc_write_warcinfo_record): Assign a new allocated buffer and
+       free it on errors.
+
+2011-11-01  Steven Schweda  <address@hidden>
+
+       * gnutls.c (ssl_init): Ensure GNU TLS is loaded only once.
+
+2011-10-07  Steven Schweda  <address@hidden>
+
+       * connect.c: Add HAVE_SYS_SELECT_H and HAVE_SYS_SOCKET_H conditions
+       on includes of <sys/select.h> and <sys/socket.h>, respectively.
+       * ftp.c (getftp): Move BIN_TYPE_TRANSFER macro into VMS-specific
+       section.  On VMS, use Stream_LF attributes for listing files.  Pass
+       BIN_TYPE_FILE to fopen_excl() instead of constant-everywhere "true".
+       * ftp.c (ftp_retrieve_list): Restore lost test of opt.preserve_perm
+       (--preserve-permissions) on the chmod() operation.
+       * init.c, main.c: Remove "deprecated" from opt.preserve_perm
+       (--preserve-permissions).
+       * init.c (initialize): Use distinct messages for errors in C macro
+       SYSTEM_WGETRC and environment-variable SYSTEM_WGETRC.  Avoid use of
+       C macro SYSTEM_WGETRC when it's not defined.
+       * log.c (log_close): Avoid closing logfp when it's stderr.
+       * main.c (print_help):  Restore --preserve-permissions.
+       * main.c (main): Avoid using a negative value of longindex as a
+       subscript (for long_options[]) when searching for "--config".
+       * main.c (main): Exit the program using exit() instead of "return".
+       (VMS handles these differently, and exit() is better.)
+       * openssl.c (ssl_init): Add type cast (SSL_METHOD *) to newly "const"
+       "meth" argument to accommodate OpenSSL version 0.9.8, where that
+       argument is not "const" in the OpenSSL function (SSL_CTX_new).
+       * test.c: Declare "program_argstring".
+       * utils.c (fopen_excl): Comment typography.
+       * warc.h: New file.
+       * warc.c: New file.
+
+2011-10-02  Henrik Holst <henrik.holst@millistream.com> (tiny change)
+       * http.c (gethttp): If 'contentonerror' is used then do not
+        skip the http body on 4xx and 5xx errors.
+
+       * init.c (commands): Add 'contentonerror'.
+
+       * main.c (print_help, option_data): Add new option 'contentonerror'
+        to make wget not skip the http content on 4xx and 5xx errors.
+
+       * options.h: New variable 'content_on_error'.
+
+2011-09-19  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * main.c (print_version): Update copyright year.
+       (print_version): Fix typo.
+
+2011-09-13  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * ftp.c (ftp_retrieve_glob): Propagate correctly the `res' error
+       code.
+
+2011-09-07  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * http.c (gethttp): Don't inhibit arest request if opt.timestamping is
+       set.
+       Reported by <natrio@list.ru>
+
+2011-09-06  Jakob Matthes <jakob.matthes@gmail.com> (tiny change)
+
+       * main.c (print_version): Do not exit prematurely when --help is passed.
+
+2011-09-04  Christian Jullien <eligis@orange.fr> (tiny change)
+
+       * gnutls.c: Include <sys/fcntl.h>.
+
+2011-09-02  Mojca Miklavec <mojca.miklavec.lists@gmail.com> (tiny change)
+
+       * main.c (print_version): Do not exit prematurely when --version is passed.
+
+2011-08-30  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c (wgnutls_read_timeout): Use the non blocking socket only for
+       `gnutls_record_recv'.  Set errno to ETIMEDOUT on a read timeout.
+
+2011-08-29  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c (wgnutls_read_timeout): New function.
+       (wgnutls_read): Use wgnutls_read_timeout.
+       (wgnutls_peek): Likewise.
+
+2011-08-27  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * main.c (print_help): Exit with an error status if print to stdout
+       fails.
+       (print_usage): Change method signature and return a status code.
+       (print_version): Likewise.
+
+2011-08-26  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c: Include "ptimer.h".
+       (wgnutls_read): Honor read timeout.
+
+       * openssl.c (ssl_init): Make `meth' const.
+
+2011-08-25  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * utils.c [HAVE_UTIME && HAVE_UTIME_H]: Include <utime.h>.
+       [HAVE_UTIME && HAVE_SYS_UTIME_H]: Include <sys/utime.h>.
+       (touch) [HAVE_UTIME: Prefers utime over futimens when it is available.
+       It was reported that Cygwin has a not working futimens.
+
+2011-08-19  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * init.c (home_dir) [MSDOS]: Move local variable `len' here.
+
+2011-08-18  Giuseppe Scrivano  <giuseppe@southpole.se>
+
+       * http.c (gethttp): Fix a memory leak on some errors.  Free the head
+       buffer.
+
+       * Makefile.am: Use an additional file "css_.c" which in turn includes
+       "wget.h" and immediately "css.c".
+
+       * http.c (gethttp): Reset chunked_transfer_encoding on redirections.
+
+2011-08-13  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * retr.c (fd_read_body): Ensure max is not already defined.
+
+       * mswindows.h (snprintf): Remove definition.
+       (vsnprintf): Likewise.
+
+2011-08-12  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * css.l: Remove include "wget.h".
+       Reported by: Perry Smith <pedzsan@gmail.com>.
+
+2011-08-11  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * utils.c (abort_run_with_timeout): Use sigprocmask instead of
+       sigsetmask.
+
+       * gnutls.c (ssl_connect_wget): Remove call to deprecated function
+       `gnutls_certificate_type_set_priority'.
+
+       * Makefile.am (version.c): Don't invoke hg to set version string.
+
+2011-08-10  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       Fix a linker error on systems with an older gnutls version.
+       * gnutls.c (ssl_connect_wget)
+       [HAVE_GNUTLS_PRIORITY_SET_DIRECT]:  Use gnutls_priority_set_direct.
+       [! HAVE_GNUTLS_PRIORITY_SET_DIRECT]:  Use gnutls_protocol_set_priority.
+       Reported by: Karl Berry <karl@freefriends.org>
+
+2011-08-06  Jochen Roderburg <Roderburg@Uni-Koeln.DE>
+
+       * host.c (lookup_host): Ensure it doesn't print more IPs than available
+       ones.
+
+2011-08-06  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * init.c (defaults): Set default value for show_all_dns_entries.
+
+       * host.c (lookup_host): If `showalldnsentries' is used then print all
+       the IP corresponding to a DNS entry.
+       * init.c (commands): Add `showalldnsentries'.
+       Suggested by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
+
+       * http.c (gethttp): Add the Cache-Control HTTP header when --no-cache
+       is specified.
+       Reported by: Коренберг Марк <socketpair@gmail.com>.
+
+2011-08-05  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * utils.c (acceptable): Accept always the file if it is the specified
+       output destination.
+       Reported by: Shai Berger <shai@platonix.com>
+
+2011-08-05  Giuseppe Scrivano  <giuseppe@southpole.se>
+
+       * gnutls.c (ssl_connect_wget): Use `gnutls_priority_set_direct' instead
+       of the deprecated `gnutls_protocol_set_priority'.
+
 2011-08-02  Giuseppe Scrivano  <giuseppe@southpole.se>
 
        * cookies.c (parse_set_cookie): If the value is quoted, do not modify
        it.
-       Reported by: Nirgal Vourgère <jmv_deb@nirgal.com>
+       Reported by: Nirgal Vourgère <jmv_deb@nirgal.com>
 
 2011-07-29  Giuseppe Scrivano  <giuseppe@southpole.se>
 
        * log.c (logprintf): Exit immediately on a SIGPIPE error.
-       Reported by: Noèl Köthe  <noel@debian.org>.
+       Reported by: Noèl Köthe  <noel@debian.org>.
 
-2011-07-26  Carlos Martín Nieto  <carlos@cmartin.tk>  (tiny change)
+2011-07-26  Carlos Martín Nieto  <carlos@cmartin.tk>  (tiny change)
 
        * init.c (home_dir): Allocate path buffer dinamically.
 
        SSL_pending.
        (openssl_peek): Make the call non-blocking.
 
-2011-04-11  Cristian Rodríguez  <crrodriguez@opensuse.org> (tiny change)
+2011-04-11  Cristian Rodríguez  <crrodriguez@opensuse.org> (tiny change)
 
        * openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when
        available.
 
        * html-url.c, http.c: Avoid casts in a couple spots.
 
-2008-05-30 Henri Häkkinen  <henux@users.sourceforge.net>
+2008-05-30 Henri Häkkinen  <henux@users.sourceforge.net>
 
        * cookies.c, ftp-basic.c, hash.c, html-url.c, http-ntlm.c, http.c,
        init.c, log.c, main.c, progress.c, ptimer.c, spider.c, url.c,
 
 2001-02-16  Dan Harkless  <wget@harkless.org>
 
-       * init.c (commands): Hack Kampbjørn <hack@hackdata.com> discovered
+       * 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'".
 
        characters.
        (skip_uname): Ditto.
 
-2001-02-11  Hack Kampbjørn  <hack@hackdata.com>
+2001-02-11  Hack Kampbjørn  <hack@hackdata.com>
 
        * url.c (parseurl): Debug-print u->ftp_type.
 
 
 2000-12-30  Dan Harkless  <wget@harkless.org>
 
-       * ftp.c, http.c:  Applied Hack Kampbjørn <hack@hackdata.com>'s
+       * ftp.c, http.c:  Applied Hack Kampbjørn <hack@hackdata.com>'s
        patch to deal with h_errno not being defined in netdb.h under Cygwin.
 
 2000-12-18  Csaba Raduly  <csaba.raduly@sophos.com>