+2013-11-02 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * progress.c (struct progress_implementation): New method draw.
+ (bar_update): Split into...
+ (bar_draw): ...this new function.
+ (dot_update): Split into...
+ (dot_draw): New function.
+ (progress_update): Also invoke draw on `current_impl'.
+
+2014-04-22 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * http.c (gethttp): Fix 204 response handling
+
+2014-03-26 Darshit Shah <darnir@gmail.com>
+
+ * ftp.c (getftp): Rearrange parameters to fix compiler warning
+ * utils.c (get_dir_matches_p): Do not pass a const char** to a function that
+ expects char**
+
+2014-03-25 Daniel Stenberg <daniel@haxx.se>
+
+ * url.c (shorten_length): Remove unused function.
+
+2014-03-19 Yousong Zhou <yszhou4tech@gmail.com>
+
+ * init.c, main.c, options.h: Add option --start-pos for specifying
+ start position of a download.
+ * http.c: Utilize opt.start_pos for HTTP download.
+ * ftp.c: Utilize opt.start_pos for FTP retrieval.
+
+2014-03-04 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * http.c (modify_param_value, extract_param): Aesthetic change.
+
+2014-02-14 Vladimír Pýcha <vpycha@gmail.com> (tiny change)
+
+ * http.c (parse_content_disposition, extract_param)
+ (append_value_to_filename, digest_authentication_encode): URL-decode the
+ filename parameter of Content-Disposition HTTP header if it is encoded. This
+ is related to --content-disposition.
+ New parameter of extract_param(), "is_url_encoded".
+ Add argument NULL to the call of extract_param() in
+ digest_authentication_encode().
+ * http.h: Add the new parameter to the declaration of extract_param().
+ * cookies.c (parse_set_cookie, test_cookies): Add argument NULL to the calls
+ of extract_param().
+ * url.c (url_unescape): Remove "static" modifier.
+ * url.h: Add declaration of url_unescape().
+
+2014-02-06 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * main.c (print_version): Move copyright year out of the localized
+ string and update it.
+
+2014-01-29 Darshit Shah <darnir@gmail.com>
+
+ * main.c: Remove pre-processor variable WHEN_DEBUG
+ (option_data[]): Do not fail on --debug even if debug support is not
+ compiled in.
+ (main): Explicitly set opt.debug to false in case debugging support was not
+ compiled.
+ * init.c (commands[]): Support --debug wven when support is not compiled in.
+ * options.h: Same
+
+2014-01-17 Darshit Shah <darnir@gmail.com>
+
+ * init.c (commands[]): Add --no-config.
+ * options.h: Same.
+ * main.c (option_data[]): Same.
+ (print_help): Same.
+ (main): If --no-config is set, then do not read the wgetrc files.
+
+2014-01-05 Håkon Vågsether <hauk142@gmail.com> (tiny change)
+
+ * http.c (http_loop): Fix checking the URL length when filename is
+ specified.
+
+2013-12-29 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * init.c (home_dir): Remove useless 'if'.
+ * warc.c (warc_start_new_file): Likewise.
+ (warc_process_cdx_line): Likewise.
+ (warc_write_response_record): Likewise.
+
+2013-12-26 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_connect_wget): Fix connect timeout failure
+
+2013-11-02 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * http.c (gethttp): Increase max header value length to 512.
+
+2013-01-30 Pavel Mateja <pavel@netsafe.cz> (tiny change)
+
+ * http.c (gethttp): Specify "Host" for CONNECT method.
+
+2013-10-30 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * http.c (skip_short_body): Remove assert which is always true.
+ Reported by: David Binderman <dcb314@hotmail.com>
+
+2013-10-17 Andrea Urbani <matfanjol@mail.com>
+
+ * ftp.c (getftp): force "LIST" or "LIST -a"
+ according to the remote system type. If the remote
+ system is not known, it tries, only the first time,
+ "LIST -a", after "LIST" and decides which one to use.
+ For more information look for "__LIST_A_EXPLANATION__"
+ * ftp.h (enum ustype): New ustype enum.
+ * ftp.h (ftp_syst): New enum ustype *unix_type parameter.
+ * ftp.h (ftp_list): Removed enum stype rs parameter, added.
+ bool avoid_list_a, bool avoid_list, bool *list_a_used
+ parameters.
+ * ftp.h (wget_ftp_fstatus): New AVOID_LIST_A, AVOID_LIST,
+ LIST_AFTER_LIST_A_CHECK_DONE values.
+ * ftp-basic.c (ftp_list): it handles the new avoid_list_a,
+ avoid_list and list_a_used parameters.
+ * ftp.h (ftp_syst): it stores information about the "215 UNIX"
+ systems into the new unix_type parameter.
+
+2013-10-26 Bykov Aleksey <gnfalex@rambler.ru>
+
+ * utils.c (match_tail): Fix cookies reject
+
+ * ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase
+
+2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_connect_wget): changed checking of option "PFS"
+ to be better prepared for some kinds of backports.
+ Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+2013-10-10 Giuseppe Scrivano <gscrivan@redhat.com>
+
+ * url.c (url_parse): Try to convert UTF-8 URLs to IDN.
+ * html-url.c (append_url): Parse URLs specifying an IRI structure.
+
+2013-09-13 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * recur.c (download_child_p): fix compile error when
+ configured using --without-ssl.
+
+2013-09-07 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_connect_wget): use gnutls_check_version()
+ to check if option "PFS" is available
+ Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+2013-09-03 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * main.c: Add new value 'PFS' to --secure-protocol to
+ enforce the so-called Perfect Forward Security.
+ * init.c (cmd_spec_secure_protocol): added secure_protocol_pfs
+ * openssl.c, gnutls.c, options.h: likewise
+
+2013-08-22 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * main.c: Add new option --https-only.
+ * options.h: Likewise.
+ * recur.c (download_child_p): add check for HTTPS.
+
+2013-08-09 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_init): Prevent CA files from being loaded twice
+ if possible.
+ * gnutls.c (ssl_check_certificate): Added some error messages
+ * gnutls.c: Fixed some compiler warnings
+
+2013-08-08 Will Dietz <w@wdtz.org> (tiny change):
+
+ * main.c (format_and_print_line): Wrap correctly long tokens.
+
+2013-07-16 Darshit Shah <darnir@gmail.com>
+
+ * wget.h (err_t): Added new errors, ATTRMISSING and UNKNOWNATTR to
+ handle missing attributes and Unknown attribute values respectively in
+ HTTP Headers.
+ * exits.c (get_status_for_err): ATTRMISSING is a Protocol Error while
+ UNKNOWNATTR is a general error, presumably because of a feature that
+ is not yet implemented.
+ * http.c (gethttp): Call create_authorization_line () separately. In
+ case the auth_err flag has been set with an error, handle it and exit.
+ * http.c (create_authorization_line): Pass a pointer, auth_err to set
+ the flag for different kinds of errors encountered.
+ * http.c (http_loop): Handle the errors raised by the authentication
+ handlers.
+ * http.c (digest_authentication_encode): Pass pointer auth_err to set
+ the error flags.
+ Set qop to NULL in case the value of the qop / algorithm attribute is
+ unknown to Wget. Set an appropriate error too.
+
+2013-07-13 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * http.c (digest_authentication_encode): Fix a crash when the algorithm
+ is not specified in the server response. Free dynamic memory used by
+ the function when the function exits.
+ * http-ntlm.c [HAVE_NETTLE]: Include <nettle/md4.h> and <nettle/des.h>.
+ (setup_des_key) [HAVE_NETTLE]: New function to deal with
+ libnettle.
+ (calc_resp) [HAVE_NETTLE]: Add support for libnettle.
+ (mkhash) [HAVE_NETTLE]: Likewise.
+ Reported by: Tim Ruehsen <tim.ruehsen@gmx.de>.
+
+2013-07-13 Steven M. Schweda <sms@antinode.info>
+
+ * warc.c (warc_tempfile): Fix a portability issue on VMS.
+
+2013-07-10 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (read_response_body) [ALLOW_CLOBBER]: Move definition to..
+ * options.h (struct options): Make `backups' an int.
+ * url.h [ALLOW_CLOBBER]: .. Here. Do not clobber when backups are used.
+ * url.c (url_file_name): Use the ALLOW_CLOBBER macro instead of
+ repeating the code.
+
+2013-07-08 Steven M. Schweda <sms@antinode.info>
+
+ * retr.c (rotate_backups): Support for VMS files.
+
+2013-07-12 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (digest_authentication_encode): Set default value of
+ `algorithm' to "MD5". Check if `qop' is not-NULL before access it.
+
+2013-07-11 Karsten Hopp <karsten@redhat.com>
+
+ * openssl.c (struct openssl_read_args, struct scwt_context): New struct.
+ (openssl_read, ssl_connect_with_timeout_callback): New function.
+ (ssl_connect_wget): respect connect timeout.
+
+2013-07-11 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_connect_wget): respect connect timeout.
+
+2013-07-11 Tomas Hozza <thozza@redhat.com>
+
+ * ftp.c (ftp_loop): Use ftp_retrieve_glob() also in case
+ --preserve-permissions was specified.
+
+2013-03-20 Tomas Hozza <thozza@redhat.com>
+
+ * http.c (gethttp): Set "sock" to -1 if it's not and we have no
+ persistent connection
+
+2013-04-26 Tomas Hozza <thozza@redhat.com> (tiny change)
+
+ * log.c (redirect_output): Use DEFAULT_LOGFILE in diagnostic message
+ when `logfile' is NULL.
+ * utils.c (unique_create): Ensure `logfile' has always a value.
+
+2013-06-26 Darshit Shah <darnir@gmail.com>
+
+ * http.c (gethttp): Reverse change by commit 90896 that prevented
+ downloading response body data to non-GET Request methods.
+
+2013-06-19 Ciprian Vieru <devel.php@gmail.com> (tiny change)
+
+ * html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE.
+ (tag_url_attributes, known_tags): Likewise.
+
+2013-06-22 Ángel González <keisial@gmail.com>
+
+ * init.c (cmd_string_uppercase): Rewrite function.
+
+2013-06-19 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * connect.c (socket_ip_address): zero out ip address structure to
+ avoid access to uninitialized values by inet_ntop().
+ * ftp.c (ftp_loop_internal): fix segfault caused by warc_tmp NULL pointer.
+
+2013-05-21 Ray Satiro <raysatiro@yahoo.com>
+
+ * url.c (url_file_name): Use MAX_PATH in Windows.
+
+2013-06-13 Darshit Shah <darnir@gmail.com>
+
+ * http.c (gethttp): Follow RFC 2616 and httpbis specifications when
+ handling redirections. Do not suspend the method on 301/302 redirects.
+ (gethttp): If method if not GET, we do not intend to download
+ anything.
+ * main.c (main): Set spider mode when opt.method is HEAD. This will
+ prevent Wget from downloading any file.
+ * retr.c (SUSPEND_METHOD): Rename macro SUSPEND_POST_DATA to
+ SUSPEND_METHOD to more accurately reflect its use. Similarly rename
+ related variables.
+
+2013-05-14 Bykov Aleksey <gnfalex@rambler.ru>
+
+ * warc.c (warc_tempfile): For fix "Could not open temporary WARC manifest
+ file." issue in Win system force to use `mkostemp(filename, O_TEMPORARY)'
+ instead of `mkstemp(filename)'. Thank to Angel Gonzalez for help.
+
+2013-05-14 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * cookies.c (cookie_jar_load): Replaced read_whole_file() by getline().
+ * init.c (run_wgetrc): Likewise.
+ * netrc.c (parse_netrc): Likewise.
+ * utils.c: Likewise.
+ * ftp.c (getftp): Likewise.
+ * ftp-ls.c (ftp_parse_unix_ls, ftp_parse_winnt_ls, ftp_parse_vms_ls): Likewise.
+ * ftp-ls.c (clean_line): Accept the string length as parameter.
+ * ftp-ls.c: Replaced indent tabs by spaces.
+ * ftp.c: Likewise.
+ * utils.c: Removed read_whole_file() definition.
+ * netrc.c: Removed read_whole_file() definition for STANDALONE.
+ * utils.h: Removed read_whole_file() declaration.
+
+2013-05-09 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * utils.c (acceptable): use standard string functions instead of
+ self-written code.
+ (match_tail): Likewise.
+ (suffix): Likewise.
+ (has_wildcards_p): Likewise.
+ (test_subdir_p): Fix some warnings.
+ (test_dir_matches_p): Likewise.
+
+2013-05-05 mancha <mancha1@hush.com> (tiny change)
+
+ * gnutls.c (ssl_connect_wget): Don't abort on non-fatal alerts
+ received during handshake. For example, when connecting to servers
+ using TSL-SNI that send warning-level unrecognized_name alerts.
+
+2013-05-04 Darshit Shah <darnir@gmail.com>
+
+ * init.c (cmd_string_uppercase): Fix issue that cased invalid headers
+ when converting to uppercase.
+
+2013-05-01 Gijs van Tulder <gvtulder@gmail.com>
+
+ * retr.c (retrieve_url): New variable `saved_method'.
+ (SUSPEND_POST_DATA): Save the method to `saved_method'.
+ (RESTORE_POST_DATA): Restore the method from `saved_method'.
+
+2013-05-01 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * init.c: Declare `cmd_string_uppercase'.
+ (commands): Now `method' uses cmd_string_uppercase.
+ (cmd_string_uppercase): New method
+ * http.c (gethttp): Do not transform opt.method to uppercase.
+ Reported by: Stefano Lattarini <stefano.lattarini@gmail.com>
+
+2013-04-24 Darshit Shah <darnir@gmail.com>
+
+ * http.c (gethttp): Remove check for opt.post_data and
+ opt.post_file_name.
+ * main.c (main): Change location in code where --post-data and
+ --post-file options are converted to --body-data --body-file.
+
+2013-04-21 Gijs van Tulder <gvtulder@gmail.com>
+
+ * http.c: Copy opt.body_data to the WARC file, instead of
+ opt.post_data (the old option).
+
+2013-04-12 Gijs van Tulder <gvtulder@gmail.com>
+
+ * warc.c: Generate unique UUIDs for the manifest and the record
+ holding the command-line arguments.
+ Write the manifest to a "metadata" record to follow the WARC
+ implementation guidelines.
+ * warc.h: Declare new function warc_write_metadata_record.
+
+2013-03-15 Darshit Shah <darnir@gmail.com>
+
+ * http.c (post_file): Rename function to body_file_send to more
+ accurately reflect its use.
+ * http.c (gethttp): Add support for --method, --body-data and
+ --body-file
+ * init.c (commands): Same.
+ * options.h (options): Same.
+ * main.c (option_data): Same.
+ * main.c (print_help): Add --method command.
+ * main.c (main): Make old --post-{data,file} commands aliases to
+ --method.
+ Add sanity checks for --method, --body-data and --body-file.
+ * retr.c (SUSPEND_POST_DATA): Edit Macro Definition to use body_data.
+ * retr.c (RESTORE_POST_DATA): Same.
+
+2013-03-31 Gijs van Tulder <gvtulder@gmail.com>
+
+ * warc.c: Correctly write the field length in the skip length field
+ of .warc.gz files. (Following the GZIP spec in RFC 1952.)
+
+2013-03-12 Darshit Shah <darnir@gmail.com>
+
+ * http.c (gethttp): Make wget return FILEBADFILE error and abort if
+ post-file does not exist.
+
+ * http.c (http_loop): Handle FILEBADFILE as a valid err.
+
+ * exits.c (get_status_for_err): Mark FILEBADFILE as an IO error.
+
+2013-02-15 Darshit Shah <darnir@gmail.com>
+
+ * cookies.c (cookie_handle_set_cookie): Set cookie->discard_requested
+ to true on domain mismatch.
+
+2012-12-20 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_connect_wget): added +VERS-SSL3.0 to fix
+ --secure-protocol=SSLv2/SSLv3.
+
+2012-12-09 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (main): Keep looking for "config" until there are
+ arguments to parse.
+ Reported by: Adrien Dumont <adr.dum@hotmail.fr>
+
+ * test.c: Include "wget.h".
+
+2012-12-08 Michael Stapelberg <michael@stapelberg.de> (tiny change)
+
+ * retr.c (retrieve_url): Set iri->orig_url to NULL after it is
+ freed.
+
+2012-11-26 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * wget.h (MAX_INT_TO_STRING_LEN): Define macro.
+ * warc.c (warc_write_block_from_file): Use `MAX_INT_TO_STRING_LEN'
+ to find the buffer size.
+ (warc_write_cdx_record): Likewise.
+
+2012-09-03 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * http.c (digest_authentication_encode): Add support for RFC 2617
+ MD5-sess authentication algorithm.
+ Feature request and testing by: Avinash <pavinash@gmail.com>
+
+2012-11-14 Ángel González <keisial@gmail.com>
+
+ * warc.c (warc_sha1_stream_with_payload): Fix compilation under
+ gcc -std=c89.
+
+2012-11-24 Gijs van Tulder <gvtulder@gmail.com>
+
+ * warc.c (warc_write_cdx_record): Use `number_to_string' to
+ convert the offset to a string.
+
+2012-11-24 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * warc.c (warc_write_block_from_file): Use `number_to_string' to
+ convert the content-length to a string.
+
+2012-11-15 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * retr.c (write_data): Fix comment.
+
+2012-11-13 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * retr.c (fd_read_body): Correctly check the return code from
+ write_data.
+ Reported by: Torsten Scheck <torsten.scheck@gmx.de>
+
+2012-08-29 Rohit Mathulla <rohit_mathulla@yahoo.com> (tiny change)
+
+ * html-url.c (get_urls_file): Convert shorthand URLs.
+
+2012-10-07 Ray Satiro <raysatiro@yahoo.com>
+
+ * url.c: Change the functions of a growable string object to null
+ terminate the string.
+ * url.c (append_null): New function to null terminate a growable
+ string object.
+ * url.c (shorten_length): New function to shorten the length of a
+ growable string object.
+
+2012-10-03 Merinov Nikolay <kim.roader@gmail.com>
+
+ * ftp.c (ftp_loop_internal): Ignore --no-clobber option when
+ receiving directory listing.
+
+2012-10-07 Tim Ruehsen <tim.ruehsen@gmx.de>
+ Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * utils.c (get_max_length): If `pathconf' is not available
+ fallback to PATH_MAX.
+
+2012-10-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): Send a HEAD request when -c and
+ --content-disposition are used together.
+
+2012-09-29 Merinov Nikolay <kim.roader@gmail.com>
+
+ * ftp-ls.c (ftp_parse_winnt_ls): Support filename extracting with
+ new listing format.
+
+2012-09-29 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * url.h (CHOMP_BUFFER): Add definition.
+ * url.c (url_file_name): New local variables `fname_len_check' and
+ `max_length'. Check that the length of the file name is acceptable.
+ * utils.h (get_max_length): Declare function.
+ * utils.c (get_max_length): New function.
+
+2012-09-28 Steven Schubiger <stsc@member.fsf.org>
+
+ * src/recur.c (retrieve_tree): Combine duplicated code.
+
+2012-09-02 Nguyễn Thái Ngọc Duy <pclouds@gmail.com> (tiny change)
+
+ * src/main.c (main): mark more strings for translation.
+ * src/mswindows.c (fork_to_background): Likewise.
+ * src/recur.c (download_child_p): Likewise.
+
+2012-08-28 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t.
+ * gnutls.c (ssl_init): don't error if CA directory is empty.
+
+2012-07-07 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * html-url.c (cleanup_html_url): Remove "static" modifier.
+ * init.c (cleanup_html_url): Likewise.
+ Reported by: Mike Frysinger <vapier@gentoo.org>.
+
+2012-08-25 Hrvoje Niksic <hniksic@gmail.com>
+
+ * warc.c (warc_find_duplicate_cdx_record): Use hash_table_get
+ instead of hash_table_get_pair.
+
+2012-08-21 <y-iida@secom.co.jp> (tiny change)
+
+ * connect.c (connect_to_ip) [ENABLE_IPV6]: Attempt to use IPv6.
+ * http.c (gethttp): Likewise.
+
+2012-07-03 Steven Schubiger <stsc@member.fsf.org>
+
+ * init.c: Include warc.h for warc_close in cleanup function.
+
+2012-07-08 Steven Schubiger <stsc@member.fsf.org>
+
+ * exits.h: Fix comment.
+ * exits.c: Likewise.
+
+2012-07-07 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ (digest_authentication_encode): Add support for RFC 2617 Digest
+ Access Authentication.
+
+2012-07-07 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (http_loop): Fix log message.
+ * main.c (main): Likewise.
+ Reported by: Petr Pisar <petr.pisar@atlas.cz>
+
+2012-06-17 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * wget.h: Define `CLOSEFAILED'.
+ * init.c: Include "exits.h".
+ (cleanup): Check `fclose' failure.
+ * exits.c (get_status_for_err): Handle `CLOSEFAILED'.
+
+2012-06-16 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (main): Move some cleanup related function to...
+ * init.c (cleanup): ...here.
+
+ * main.c: Do not include "stdout.h".
+ (main): Do not register `close_stdout' at exit.
+ Reported by: Micah Cowan <micah@cowan.name>.
+
+2012-06-09 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_help): Move --report-speed under the section
+ "Logging and input file".
+
+2012-06-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c (print_help): Rename --bits to --report-bps.
+ (cmdline_options): Likewise.
+ * init.c (commands): Rename --report-bps to --report-speed.
+ (cmd_spec_report_speed): New function.
+
+ * options.h (struct options): Rename `bits_fmt' to `report_bps'.
+ * main.c (print_help): Rename --bits to --report-bps.
+ (cmdline_options): Likewise.
+ * init.c (commands): Likewise
+
+ * progress.c (create_image): Adjust caller.
+ * retr.c (retr_rate): Likewise.
+ * utils.c (convert_to_bits): Likewise.
+
+2012-06-04 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * main.c (main): Check for filename != NULL.
+ * warc.c (warc_process_cdx_line): Fix memory leak.
+ * utils.c (match_posix_regex, compile_posix_regex): Remove dead
+ assignment.
+ * openssl.c (ssl_init): Fix old-style function definition.
+
+2012-06-02 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * connect.c: Include <sys/socket.h> and <sys/select.h>.
+
+2012-05-30 Gijs van Tulder <gvtulder@gmail.com>
+
+ * warc.c: Fix segfault if CDX record is not found.
+
+2011-05-26 Steven Schweda <sms@antinode.info>
+ * connect.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h>.
+ [HAVE_SYS_SELECT_H]: Include <sys/select.h>.
+
+2012-05-26 Mike Frysinger <vapier@gentoo.org>
+
+ * warc.c: Change type of `warc_current_gzfile' to gzFile.
+
+2012-05-26 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to
+ ssize_t.
+ Suggested by: Ángel González <keisial@gmail.com>
+
+2012-05-18 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (wgnutls_poll): Honor the specified `timeout' value.
+ (wgnutls_peek): Likewise.
+
+2012-05-19 illusionoflife <illusion.of.life92@gmail.com> (tiny change)
+
+ * convert.c (register_html,register_css): Fixed functions signature to
+ not accept unused argument
+ * retr.c (retrieve_url): Changed register_{css,html} usage according
+ new signature.
+
+2012-05-16 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * warc.h: Cut length lines to 80 columns.
+ * warc.c: Likewise.
+
+2012-05-14 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (wgnutls_read_timeout): removed warnings, moved fcntl stuff
+ outside loop.
+
+ * hash.h (hash_table_put): Make argument "value" const.
+ * hash.c (hash_table_put): Make argument value const. Cast `value' to
+ void.
+ * http.c (request_set_header): Make argument `name' const. Cast `value'
+ and `name' to void*.
+ (request_remove_header): Make argument `name' const.
+ * url.c (url_file_name): Make `index_filename' static.
+ * warc.h (warc_write_cdx_record): Make `url', `timestamp', `mime_type',
+ `payload_digest', `redirect_location', `warc_filename', response_uuid'
+ arguments const. Make `checksum' const.
+ * warc.c (warc_write_date_header): Make the `timestamp' argument const.
+ Make `extension' const.
+ (warc_write_cdx_record): Make `url', `timestamp', `mime_type',
+ `payload_digest', `redirect_location', `warc_filename', response_uuid'
+ arguments const. Make `checksum' const.
+
+2012-05-13 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * gnutls.c (credentials): Change type to
+ gnutls_certificate_credentials_t.
+ (ssl_init): Do not use deprecated types.
+ (ssl_connect_wget): Likewise.
+
+2012-04-11 Gijs van Tulder <gvtulder@gmail.com>
+
+ * init.c: Add --accept-regex, --reject-regex and --regex-type.
+ * main.c: Likewise.
+ * options.c: Likewise.
+ * recur.c: Likewise.
+ * utils.c: Add regex-related functions.
+ * utils.h: Add regex-related functions.
+
+2012-03-30 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * convert.c (convert_links_in_hashtable): Mmake it static.
+ * cookies.c (parse_set_cookie): Remove empty else branches.
+ * css-url.c: Include "css-url.h".
+ (get_uri_string): Make it static.
+ * css-url.h (get_urls_css): Add protoype.
+ * gnutls.c (ssl_init): Add prototype.
+ * html-parse.c (tagstack_push): Make it static.
+ * html-parse.c (tagstack_pop): Make it static.
+ * html-parse.c (tagstack_find): Make it static.
+ * html-url.c (cleanup_html_url): Make it static.
+ * progress.c (count_cols): Make it static.
+ * progress.c (get_eta): Make it static.
+ * retr.h (convert_to_bits): Remove prototype.
+ * util.h (convert_to_bits): Add prototype.
+ * spider.c (spider_cleanup): Make it static.
+ * warc.c (warc_write_start_record): Add prototype.
+ * warc.c (warc_write_end_record): Add prototype.
+ * warc.c (warc_start_cdx_file): Add prototype.
+ * warc.c (warc_init): Add prototype.
+ * warc.c (warc_load_cdx_dedup_file): Add prototype.
+ * warc.c (warc_write_metadata): Add prototype.
+ * warc.c (warc_close): Add prototype.
+ * warc.c (warc_tempfile): Add prototype.
+ * warc.c (warc_write_warcinfo_record): Make it static.
+ * warc.c (warc_load_cdx_dedup_file): Make it static.
+ * warc.c (warc_write_metadata): Make it static.
+ * warc.h (warc_init): Fix prototype.
+ * warc.h (warc_close): Fix prototype.
+ * warc.h (warc_tempfile): Fix prototype.
+
+2012-03-30 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * url.c: Use empty query in local filenames.
+
+2012-04-22 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * main.c (main): Dynamically allocate `opt.progress_type'.
+
+2012-04-21 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * ftp-basic.c (ftp_pasv): Fix memory leak.
+
+ * http.c (gethttp): Fix memory leak.
+
+ * ftp.c (getftp): Silent compiler warning.
+
+2009-06-14 Phil Pennock <mutt-dev@spodhuis.org> (tiny change)
+ * host.h: Declare `is_valid_ip_address'.
+ * host.c (is_valid_ip_address): New function.
+ * http.c (gethttp): Specify the hostname to ssl_connect_wget.
+ * gnutls.c (ssl_connect_wget): Specify the server name.
+ * openssl.c (ssl_connect_wget): Likewise.
+ * ssl.h: Change method signature for ssl_connect_wget.
+
+2012-04-13 Tim Ruehsen <tim.ruehsen@gmx.de> (tiny change)
+
+ * warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing
+ `lineptr'.
+
+2012-04-07 Daniel Kahn Gillmor <dkg@fifthhorseman.net> (tiny change)
+
+ * gnutls.c (key_type_to_gnutls_type): New function.
+ (ssl_init): Use correctly the specified gnutls certificate.
+
+2012-04-01 Gijs van Tulder <gvtulder@gmail.com>
+
+ * html-url.c: Prevent crash on incomplete STYLE tag.
+
+2012-04-01 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * gnutls.c (wgnutls_read_timeout): Ensure timer is freed.
+
+ * gnutls.c (wgnutls_read_timeout): Do not use timer if it is not
+ allocated.
+ Reported by: Xu Zhongxing <xu_zhong_xing@163.com>
+
+2012-03-30 Tim Ruehsen <tim.ruehsen@gmx.de> (tiny change)
+
+ * warc.c: make warc_uuid_str() implementation depend on HAVE_LIBUUID.
+
+2012-03-29 Tim Ruehsen <tim.ruehsen@gmx.de> (tiny change)
+
+ * utils.c (library): Include <sys/time.h>.
+
+2012-03-25 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * utils.c: Include <sys/ioctl.h>.
+
+ * ptimer.c: Include <sys/time.h>.
+
+ * connect.c: Include <sys/socket.h>, <sys/select.h>, <sys/time.h>.
+ Reported by: Ray Satiro <raysatiro@yahoo.com>.
+
+2012-03-25 Ray Satiro <raysatiro@yahoo.com>
+
+ * build_info.c.in: Check that HAVE_LIBSSL32 is defined when OpenSSL
+ is used.
+
+2012-03-07 Steven Schubiger <stsc@member.fsf.org>
+
+ * init.c (wgetrc_user_file_name): Correct typo.
+
+2012-03-06 Sasikantha Babu <sasikanth.v19@gmail.com>
+
+ * utils.c (convert_to_bits): Added new function convert_to_bits to
+ convert bytes to bits.
+ * retr.c (calc_rate): Modified the function to handle --bits
+ option and download rate calculated as bits per sec (SI-prefix)
+ for --bits otherwise bytes (IEC-prefix).
+ (retr_rate): Rates will display in bits per sec for --bits.
+ * options.h (struct opt): Added --bit option bool variable bits_fmt.
+ * main.c (print_help) : Added help for --bit.
+ * init.c: Defined command for --bit option.
+ * retr.h: Added function prototype.
+
+2012-02-26 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * main.c: Include "closeout.h"
+ (main): Register close_stdout at exit.
+
+2012-02-01 Gijs van Tulder <gvtulder@gmail.com>
+
+ * warc.c: Fix large file support with ftello, fseeko.
+ * warc.h: Fix large file support.
+ * http.c: Fix large file support.
+
+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.
+