+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>
+
+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>.
+
+2011-07-26 Carlos Martín Nieto <carlos@cmartin.tk> (tiny change)
+
+ * init.c (home_dir): Allocate path buffer dinamically.
+
+2011-07-26 Giuseppe Scrivano <giuseppe@southpole.se>
+
+ * retr.c (retrieve_url): Do not register redirects when in spider mode.
+
+2011-07-20 Merinov Nikolay <kim.roader@gmail.com>
+
+ * iri.c (remote_to_utf8): Add test for non-ASCII symbols with
+ UTF-8 URI encoding.
+ * res.c (res_retrieve_file): Fix url_parse call.
+
+2011-06-08 Giuseppe Scrivano <giuseppe@southpole.se>
+
+ * retr.c (retrieve_from_file): Parse the url careless if IRI is enabled.
+ Reported by: Volker Kuhlmann <list0570@paradise.net.nz>.
+
+2011-05-24 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * retr.c (fd_read_body): Define max.
+
+2010-12-28 Adrien Nader <adrien@notk.org> (tiny change)
+
+ * main.c [WINDOWS]: Include <io.h> and <fcntl.h>.
+ (main) [WINDOWS]: Set the stdout file mode to binary.
+ Submitted also by: Martin Panter <vadmium@gmail.com>
+
+2011-05-23 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * retr.c (fd_read_body): Be sure the buffer size is at least 8Kb.
+ BUFSIZ may assume very small values with a negative impact on the
+ performances.
+
+ * mswindows.h [NEED_GAI_STRERROR]: remove definition for gai_strerror.
+
+2011-05-15 Ray Satiro <raysatiro@yahoo.com>
+
+ * connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking.
+ * mswindows.h: Add declaration for set_windows_fd_as_blocking_socket.
+ * mswindows.c (set_windows_fd_as_blocking_socket): New function.
+
+ * openssl.c (openssl_read): Prevent loops on read errors.
+
+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@
+