+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.
+
+ * ftp-ls.c (ftp_parse_unix_ls): Default to TT_DAY. Change to TT_HOUR_MIN
+ if hours/minutes parsed.
+ (ftp_parse_winnt_ls): Default to TT_HOUR_MIN.
+ (ftp_parse_vms_ls): Default to TT_HOUR_MIN.
+ (ftp_index): Print only if fileinfo struct value ttype set to TT_HOUR_MIN.
+
+2010-07-30 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * html-url.h (struct map_context): Remove member `tail'.
+
+ * html-url.c (append_url): Append the new url ordered by `position'.
+ (get_urls_html): Do not initialize `ctx.tail'.
+
+ * css-url.c (get_urls_css_file): Do not initialize `ctx.tail'.
+
+2010-07-29 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c (wgnutls_peek): Don't read more data if the buffered peek
+ data is sufficient.
+
+2010-07-28 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.h (http_loop): Add new argument `original_url'
+ * http.c (http_loop): Add new argument `original_url'. Use
+ `original_url' to get a filename if `trustservernames' is false.
+
+ * init.c (commands): Add "trustservernames".
+
+ * options.h (library): Add variable `trustservernames'.
+
+ * main.c (option_data): Add trust-server-names.
+ (print_help): Describe --trust-server-names.
+
+ * retr.c (retrieve_url): Pass new argument to `http_loop'.
+
+2010-07-20 Alan Jenkins <alan-jenkins@tuffmail.co.uk> (tiny change)
+
+ * http.c (gethttp): Check content-length was set before trying to
+ compare it with the already downloded filesize.
+
+2010-07-20 Leonid Petrov <nouser@lpetrov.net>
+
+ * ftp.c (getftp): Don't attempt to retrieve the file if it is already
+ completely.
+ (ftp_loop_internal): Force the length to be zero for symlinks.
+
+2010-07-18 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (gethttp): If -N is used, don't exit immediately if the content
+ length is less or equal than the existing file size. Specify "Range"
+ only if -N is not used.
+ Reported by: Caleb Cushing <xenoterracide@gmail.com>.
+
+2010-07-14 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * ftp.c (max): Remove definition.
+ (getftp): New variable `got_expected_bytes'. Let `expected_bytes' be
+ the value SIZE returns, otherwise use the bytes count returned by RETR.
+ Suggested by Daniel Stenberg <daniel@haxx.se>.
+
+2010-07-14 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * ftp.c (max): Add definition.
+ (getftp): Consider for `expected_bytes' the greatest value between the
+ bytes count returned by SIZE and the bytes count returned by RETR.
+ Reported by: Jozua <jozua@sparky.za.net>.
+
+2010-07-11 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): New variable `force_full_retrieve'. If the remote
+ file is newer that the local one then inhibit -c.
+ Reported by: Caleb Cushing <xenoterracide@gmail.com>.
+
+2010-07-09 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * css-url.c (get_urls_css_file): Use `wget_read_file' instead of
+ `read_file'. Use `wget_read_file_free' instead of `read_file_free'.
+ * convert.c (convert_links): Likewise.
+ * html-url.c (get_urls_html, get_urls_file): Likewise.
+ * res.c (res_parse_from_file): Likewise.
+
+ * utils.h: Rename `read_file' to `wget_read_file'. Rename
+ `read_file_free' to `wget_read_file_free'.
+
+ * utils.c (wget_read_file): Renamed from `read_file'.
+ (wget_read_file_free): Renamed from `read_file_free'.
+
+2010-07-05 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c (ssl_init): New local variables `ca_directory' and `dir'.
+ Load default root certificates under the `ca_directory' directory.
+
+2010-07-03 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c (ssl_connect_wget): New local variable `allowed_protocols'.
+ Honor the --secure-protocol flag.
+
+2010-06-20 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_help): Fix help string for --random-wait. Its range is
+ [0.5*wait, 1.5*wait) not [0, 2*wait).
+ Reported by: Tom Mizutani <gombei1970@gmail.com>.
+
+2010-06-15 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c [WIN32]: Include "w32sock.h".
+ (FD_TO_SOCKET): Add definition.
+ (ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET.
+ Define FD_TO_SOCKET if it is not yet defined.
+
+2010-06-14 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c: Include <stdlib.h>.
+ (struct wgnutls_transport_context): Remove `peekstart'.
+ (ssl_connect_wget): Renamed from `ssl_connect'.
+ (wgnutls_poll): New variable `ctx'.
+ (wgnutls_read): Don't use `ctx->peekstart'.
+ (wgnutls_peek): Likewise. Don't attempt to read if there is not
+ ready data.
+
+2010-06-14 Giuseppe Scrivano <gscrivano@gnu.org>
+ * http.c (http_loop): Always send a HEAD request when -N is used
+ together with --content-disposition.
+ Reported by: Jochen Roderburg <Roderburg@Uni-Koeln.DE>.
+
+2010-06-10 Muthu Subramanian K <muthusuba@gmail.com> (tiny change)
+
+ * http.c (http_loop): Increase `total_downloaded_bytes' by
+ `hstat.rd_size', not `hstat.len'.
+
+2010-06-10 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_version): Drop the current maintainer line.
+
+2010-06-10 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am (build_info.c): Generate the `build_info.c' file under
+ the build directory.
+ Patch by: Daniel Stenberg <daniel@haxx.se>.
+
+2010-06-03 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): Do not send a HEAD request before the GET request
+ when --content-disposition is used.
+ Reported by: alex_wh@mail.ru.
+
+2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * css.l: Use option "nounput".
+ (YY_NO_INPUT): Add macro definition.
+
+2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * html-parse.c (map_html_tags): Fix condition for closed tag. Handle
+ the case '>' is not specified after '/'.
+
+2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * sysdep.h (_SVID_SOURCE): Remove definition.
+ (_BSD_SOURCE): Remove definition.
+
+2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * recur.c (retrieve_tree): Remove variable `up_error_code'.
+
+ * iri.c (open_locale_to_utf8): Remove function.
+
+2010-05-30 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * html-parse.c (NAME_CHAR_P): Consider '<' an invalid character.
+ (advance_declaration): Close the tag if '<' is found.
+ (map_html_tags): Likewise.
+
+2010-05-27 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_usage): Accept a new parameter `error'.
+ (main): Print diagnostic messages to stderr, not stdout.
+
+2010-05-27 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am (wget_SOURCES): Remove `snprintf.c'.
+
+ * snprintf.c: Remove file.
+
+2010-05-27 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (main): Exit with failure when -k is specified and -O is not
+ a regular file.
+
+2010-05-27 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (gethttp): Consider new cookies retrieved when the
+ authorization fails.
+
+2010-05-25 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * host.c (sufmatch): Do not consider zero length entries.
+
+ * http.c (H_10X): New macro.
+ (gethttp): Silently ignore 1xx responses.
+
+2010-05-24 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * iri.h (dummy_iri): Define static.
+
+ * css-tokens.h (css_tokens): Remove variable.
+
+2010-05-23 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_atotm): Count the NUL character when copying the locale
+ string.
+ Reported by: Florian Weimer <fw@deneb.enyo.de>
+
+2010-05-16 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am (LDADD): Remove MD5_LDADD.
+ (MD5_LDADD): Remove definition.
+ (AM_CPPFLAGS): Remove MD5_CPPFLAGS.
+ (version.c): Remove dependency from MD5_LDADD.
+ (../md5/libmd5.a): Remove rule.
+
+ * ftp-opie.c: Include "md5.h". Do not include "gen-md5.h".
+ (skey_response): New variable ctx. Use md5 functions from the gnulib
+ module instead of functions defined previously in the "gen-md5.h" file.
+
+ * gen-md5.h: Remove file.
+ * gen-md5.c: Likewise.
+
+ * http.c: Include "md5.h". Do not include "gen-md5.h".
+ (digest_authentication_encode): New variable ctx. Use md5 functions
+ from the gnulib module instead of functions defined previously in the
+ "gen-md5.h" file.
+
+2010-05-15 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am: Quote any path using $(top_srcdir) or $(top_builddir).
+ (version.c): Remove dependency from configure.ac and Makefile.am.
+
+ * css.l: Include "wget.h".
+
+2010-05-08 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am: Update copyright years.
+
+ * cmpt.c: Likewise.
+
+ * connect.h: Likewise.
+
+ * convert.c: Likewise.
+
+ * convert.h: Likewise.
+
+ * cookies.c: Likewise.
+
+ * cookies.h: Likewise.
+
+ * css-tokens.h: Likewise.
+
+ * css-url.c: Likewise.
+
+ * css-url.h: Likewise.
+
+ * css.l: Likewise.
+
+ * exits.c: Likewise.
+
+ * exits.h: Likewise.
+
+ * ftp-basic.c: Likewise.
+
+ * ftp-ls.c: Likewise.
+
+ * ftp-opie.c: Likewise.
+
+ * ftp.c: Likewise.
+
+ * ftp.h: Likewise.
+
+ * gen-md5.c: Likewise.
+
+ * gen-md5.h: Likewise.
+
+ * gettext.h: Likewise.
+
+ * gnutls.c: Likewise.
+
+ * hash.c: Likewise.
+
+ * hash.h: Likewise.
+
+ * host.c: Likewise.
+
+ * host.h: Likewise.
+ * html-parse.c: Likewise.
+
+ * html-parse.h: Likewise.
+
+ * html-url.c: Likewise.
+
+ * html-url.h: Likewise.
+
+ * http-ntlm.c: Likewise.
+
+ * http-ntlm.h: Likewise.
+
+ * http.c: Likewise.
+
+ * http.h: Likewise.
+
+ * init.c: Likewise.
+
+ * init.h: Likewise.
+
+ * iri.c: Likewise.
+
+ * iri.h: Likewise.
+
+ * log.c: Likewise.
+
+ * log.h: Likewise.
+
+ * main.c: Likewise.
+
+ * mswindows.c: Likewise.
+
+ * mswindows.h: Likewise.
+
+ * netrc.c: Likewise.
+
+ * netrc.h: Likewise.
+
+ * openssl.c: Likewise.
+
+ * options.h: Likewise.
+ * progress.c: Likewise.
+
+ * progress.h: Likewise.
+
+ * ptimer.c: Likewise.
+
+ * ptimer.h: Likewise.
+
+ * recur.c: Likewise.
+
+ * recur.h: Likewise.
+
+ * res.c: Likewise.
+
+ * res.h: Likewise.
+
+ * retr.c: Likewise.
+
+ * retr.h: Likewise.
+
+ * spider.c: Likewise.
+
+ * spider.h: Likewise.
+
+ * ssl.h: Likewise.
+
+ * sysdep.h: Likewise.
+
+ * test.c: Likewise.
+
+ * test.h: Likewise.
+
+ * url.c: Likewise.
+
+ * url.h: Likewise.
+
+ * utils.c: Likewise.
+
+ * utils.h: Likewise.
+
+ * wget.h: Likewise.
+
2010-05-07 Giuseppe Scrivano <gscrivano@gnu.org>
+ * gnutls.c (wgnutls_close): Use always `close', not `closesocket'.
+
+ * openssl.c (openssl_close): Use always `close', not `closesocket'.
+ (ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET.
+ Define FD_TO_SOCKET if it is not yet defined.
+
* Makefile.am (libunittest_a_CPPFLAGS): Add -I$(top_builddir)/lib.
* mswindows.h: Always include <winsock2.h> and <ws2tcpip.h>. Do not