]> sjero.net Git - wget/blobdiff - src/ChangeLog
Fix GCC warnings.
[wget] / src / ChangeLog
index 994f8957d95661ed1abd6cd1b413d8aeab964ee6..aacce5d17d2c5248499ec5d24ffc435c96824e94 100644 (file)
@@ -1,3 +1,146 @@
+2011-04-24  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * html-url.c: Include "exists.h".
+       * gnutls.c (wgnutls_peek): Remove local variable `ret'.
+
+2011-04-21  Daniel Manrique <roadmr@tomechangosubanana.com> (tiny change)
+       * main.c (main): Set exit status when invalid host name given in
+       command line.
+       * html-url.c (get_urls_file): Set exit status when invalid host
+       name given in input file.
+
+2011-04-19  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c: Do not include <fcntl.h>.
+       * gnutls.c (wgnutls_peek): Ensure there is data available before attempt
+       a read on the blocking socket.
+
+       * Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME)
+       * utils.c: Include <sys/stat.h>.  Do not include <sys/time.h>.
+       (touch): Use `futimens' instead of `utimes'.
+
+       * mswindows.h: Do not include <direct.h>.  Remove macro definition for
+       mkdir.
+
+2011-04-18  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * utils.c: Include <sys/time.h>.  Do not include <sys/utime.h>.
+       (touch): Use `utimes' instead of `utime'.
+
+       * openssl.c (openssl_read): Fix build error.
+
+2011-04-17  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * wget.h [HAVE_LIBSSL32]: Define HAVE_SSL.
+
+       * gnutls.c (wgnutls_peek): Use correctly FIONBIO codes under Mingw32.
+       Reported by: Ray Satiro <raysatiro@yahoo.com>
+
+2011-04-13  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * openssl.c (openssl_poll): Check if the specified timeout is zero after
+       SSL_pending.
+       (openssl_peek): Make the call non-blocking.
+
+2011-04-11  Cristian Rodríguez  <crrodriguez@opensuse.org> (tiny change)
+
+       * openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when
+       available.
+
+2011-04-07  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c (ssl_init): Allow X509 v1 certificates.
+       Suggested by: Ray Satiro <raysatiro@yahoo.com>
+
+       (wgnutls_peek): Remove tight loop around gnutls_record_recv.
+
+2011-04-07  Ray Satiro  <raysatiro@yahoo.com> (tiny change)
+
+       (wgnutls_read): Check for the GNUTLS_E_AGAIN return code in the recv
+       tight loop.
+       (wgnutls_write): Likewise.
+       (wgnutls_peek): Likewise.
+
+2011-04-07  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c (wgnutls_peek): New local variable `read'.
+       Use `read' instead of `ret' to store the number of read bytes.
+       Reported by: Ray Satiro <raysatiro@yahoo.com>
+
+2011-04-04  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * openssl.c [WINDOWS]: Include <w32sock.h>.
+       (openssl_read): Retry the read on SSL_ERROR_WANT_READ.
+
+       * host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
+       Suggested by: Ray Satiro <raysatiro@yahoo.com>.
+
+       * Makefile.am (LIBS): Remove  @LIBSSL@ @W32LIBS@
+
+2011-04-03  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * gnutls.c: Include <fcntl.h>.
+       (wgnutls_peek): Make the socket non blocking before attempt a read.
+
+       * gnutls.c: Include <sys/ioctl.h>.
+       (wgnutls_peek) [F_GETFL]: Use fcntl.
+       (wgnutls_peek) [! F_GETFL]: Use ioctl.
+
+
+2011-03-31  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * recur.c (download_child_p): When --no-parent is used, check that the
+       ports are the same only in case the same protocol is used.
+       Reported by: Karl Berry <karl@freefriends.org>
+
+       * res.c (res_parse): Add new line to debug messages.
+
+2011-03-21  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a
+       compiler warning.
+
+       * iri.h: Declare `dummy_iri' as extern not static.
+       * main.c [!ENABLE_IRI]: Define `dummy_iri'.
+       (main) [!ENABLE_IRI]: Initialize `dummy_iri'.
+
+2011-03-11  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * ftp.c (getftp): Fix some memory leaks.
+       * ftp-ls.c (ftp_parse_winnt_ls): Likewise.
+       Reported by: Zhenbo Xu <zhenbo1987@gmail.com>.
+
+2010-11-20  Filipe Brandenburger <filbranden@gmail.com> (tiny change)
+
+       * http.c (gethttp): Repeat a POST request on a 307 response.
+       * retr.c (retrieve_url): Use NEWLOCATION_KEEP_POST.
+       * wget.h: Define NEWLOCATION_KEEP_POST.
+
+2011-03-02  Tomasz Buchert <tomek.buchert@gmail.com> (tiny change)
+
+       * http.c (ensure_extension): Do not adjust the extension if the file
+       ends in .htm.
+
+2011-02-22  Gilles Carry  <gilles dot carry at st dot com>
+
+       * main.c (prompt_for_password): Use stderr instead of stdout
+       to prompt password. This allows to use --output-document=- and
+       --ask-password simultaneously. Without this, redirecting stdout
+       makes password prompt invisible and mucks up payload such as in
+       this example:
+       wget --output-document=- --ask-password -user=foo \
+               http://foo.com/tarball.tgz | tar zxf -
+
+2011-02-22  Steven Schubiger  <stsc@member.fsf.org>
+
+       * http.c (gethttp, http_loop): Move duplicated code which is run
+       when an existing file is not to be clobbered to a function.
+       (get_file_flags): New static function.
+
+2010-12-10  Evgeniy Philippov <egphilippov@googlemail.com> (tiny change)
+
+       * main.c (main): Initialize `total_downloaded_bytes'.
+
 2010-12-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * main.c (main): If --no-clobber and --convert-links are used at the