+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@
+
+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
+ same time, use only the latter.
+ Reported by: Romain Vimont <rom@rom1v.com>
+
+2010-12-07 Jessica McKellar <jesstess@mit.edu> (tiny change)
+
+ * main.c: Make help message clearer.
+
+2010-12-02 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * build_info.c.in: Do not list md5.
+
+2010-12-01 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * cmpt.c: Include <unistd.h> inconditionally.
+ * connect.c: Likewise.
+ * convert.c: Likewise.
+ * ftp-basic.c: Likewise.
+ * ftp-ls.c: Likewise.
+ * ftp.c: Likewise.
+ * gnutls.c: Likewise.
+ * http.c: Likewise.
+ * init.c: Likewise.
+ * log.c: Likewise.
+ * main.c: Likewise.
+ * openssl.c: Likewise.
+ * progress.c: Likewise.
+ * ptimer.c: Likewise.
+ * recur.c: Likewise.
+ * retr.c: Likewise.
+ * url.c: Likewise.
+ * utils.c: Likewise.
+
+
+ * retr.c (fd_read_body): Dinamically allocate `dlbuf'.
+
+2010-11-27 Reza Snowdon <vivi@mage.me.uk>
+
+ * init.c (initialize): If 'ok' is not zero; exit, as this
+ indicates there was a problem parsing 'SYSTEM_WGETRC'.
+ Fixes bug #20370.
+
+2010-11-22 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ Revert last commit.
+ * ftp.c (getftp): When count > 0, don't append to the existing file.
+ * http.c (gethttp): Likewise.
+
+2010-11-21 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * ftp.c (getftp): If `count' is bigger than zero, try to resume the
+ download, not restart it.
+ * http.c (gethttp): Likewise.
+ Suggested by: Evgeny Kapun <abacabadabacaba@gmail.com>.
+
+2010-11-19 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * ftp.c (getftp): Accept new argument `count'. When `count' is
+ bigger than zero, assume the file can be overwritten.
+ (ftp_loop_internal): Pass new argument `count' to `getftp'.
+
+ * http.c (gethttp): Accept new argument `count'. When `count' is
+ bigger than zero, assume the file can be overwritten.
+ (http_loop): Pass new argument `count' to `gethttp'.
+ Reported by: Evgeny Kapun <abacabadabacaba@gmail.com>.
+
+2010-08-08 Reza Snowdon <vivi@mage.me.uk>
+
+ * main.c (main): inserted 'defaults'.
+ Added additional 'getopt_long' while loop to search and apply a
+ user specified config file before any other options.
+ New variables 'retconf', 'use_userconfig',
+ 'confval', 'userrc_ret', 'config_opt'.
+ * init.c: Include stdbool.h.
+ (commands): Added config details.
+ (defaults): Removed static.
+ (wgetrc): Removed static.
+ (initialize): Removed 'defaults ()',
+ changed 'int ok' to 'bool ok'.
+ * options.h: New variable 'choose_config'.
+ * init.h (defaults): exported function.
+ (run_wgetrc): exported function.
+
+2010-10-24 Jessica McKellar <jesstess@mit.edu> (tiny change)
+
+ * main.c (main): Print the total download time as part of the
+ summary for downloads using the recursive or page requisites
+ options. Fixes bug #21359.
+
+2010-10-24 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c (wgnutls_peek): Do not return an error when
+ `gnutls_record_recv' fails but some data is already available.
+
+2010-10-23 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last
+ component.
+
+ * gnutls.c (wgnutls_peek): Block until data is available.
+
+2010-10-21 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * retr.c (retrieve_url): Do not register HTML files twice.
+ Reported by: Manfred Koizar <mkoi-pg@aon.at>.
+
+2010-10-18 Manfred Koizar <mkoi-pg@aon.at> (tiny change)
+
+ * html-url.c (tag_handle_link): Do not assume external links type
+ to be always "text/html".
+
+2010-10-16 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * connect.c (socket_ip_address): Initialize `sockaddr' to zero.
+ * ftp-basic.c (ftp_epsv): Remove dead assignment to `s'.
+ * ftp-ls.c (ftp_parse_vms_ls): Remove dead assignment to `len'.
+ * http.c (skip_short_body): Remove dead assignment to `ret'.
+ * init.c (wgetrc_user_file_name): Remove dead assignment to `home'.
+ * main.c (main): Silent warning reported by clang.
+ (http_loop): Silent warning reported by clang.
+ * retr.c (retrieve_url): Likewise.
+ * url.c (init_seps): Remove dead assignment to `p'.
+
+2010-10-11 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * ftp.c (getftp): Fix indentation.
+
+2010-10-11 Steven Schubiger <stsc@member.fsf.org>
+
+ * ftp.c (getftp): Initialize `targ'.
+
+2010-10-08 Ivanov Anton <x86mail@gmail.com> (tiny change)
+
+ * src/html-url.c (check_style_attr): Skip quotes when they are present.
+
+2010-10-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (main): Remove unused variable `status'.
+
+2010-09-25 Merinov Nikolay <kim.roader@gmail.com>
+
+ * init.c: Add "unlink" command into command list.
+ * main.c: Add "unlink" option into option_data list.
+ * options.h: Adding unlink field into struct options.
+ * wget.h: Addind UNLINKERR error into uerr_t enum.
+ * exits.c (get_status_for_err): define status for UNLINKERR.
+ * ftp.c (getftp): unlink file if exists, instead clobbering.
+ (ftp_loop_internal): processing UNLINKERR.
+ * http.c (gethttp): unlink file if exists, instead clobbering.
+ (http_loop): processing UNLINKERR.
+
+2010-09-24 Dennis, CHENG Renquan <crquan@fedoraproject.org>
+
+ Fix problem when content-disposition is used with recursive downloading.
+ * url.h (url_file_name): Add a new argument `replaced_filename'.
+ * url.c (url_file_name): Likewise.
+ * http.c (parse_content_disposition): Do not add a prefix to the return
+ value.
+ (test_parse_content_disposition): Adjust tests.
+ (gethttp): Pass additional parameter to `url_file_name'.
+ (http_loop): Likewise.
+ * ftp.c (ftp_loop_internal, ftp_get_listing, ftp_retrieve_list)
+ (ftp_loop): Likewise.
+
+2010-09-14 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * convert.c (local_quote_string): Accept new parameter `no_html_quote'.
+ Inhibit HTML quoting when `no_html_quote'.
+ (convert_links): Disable HTML quoting in CSS files.
+ Reported by: Manuel Reinhardt <reinhardt@syslab.com>.
+
+2010-09-12 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_help): Align --trust-server-names help text with
+ the rest of the text.
+ Suggested by: Mike Frysinger <vapier@gentoo.org>.
+
+2010-08-20 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * convert.c: Include "iri.h".
+ (convert_links_in_hashtable): Parse the url, if
+ necessary, before check if it is present in the dowloaded url
+ map.
+ Reported by: <sk.random@gmail.com>.
+
+2010-08-09 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ Fix a problem with HTTP/1.0 proxies.
+ * http.c (gethttp): Specify the connection header when keep alive
+ connections are not used.
+
+ Use persistent connections with proxies supporting them.
+ * http.c (gethttp): Specify Proxy-Connection to the HTTP proxy.
+
+2010-08-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * css-url.c (get_uri_string): Skip empty urls.
+
2010-07-25 John Trengrove <jtrengrove@gmail.com> (tiny change)
* ftp.h: Added enum `parsetype'. Modified struct to hold parsetype.