+2012-06-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * 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.
+
+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@
+
+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.carry@st.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.
+
+ * 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
include <winsock.h>.
[! INHIBIT_WRAP]: Remove macro's socket, bind, connect, accept, recv,
wrapped_accept, wrapped_recv, wrapped_send, wrapped_select,
wrapped_getsockname, wrapped_getpeername, wrapped_setsockopt,
wrapped_closesocket prototypes.
-
* mswindows.c: Remove wrapped_socket, wrapped_bind, wrapped_connect,
wrapped_listen, wrapped_accept, wrapped_recv, wrapped_send,
wrapped_select, wrapped_getsockname, wrapped_getpeername,
wrapped_setsockopt, wrapped_closesocket functions. Remove WRAP macro.
-
* host.h [WINDOWS]: Include <winsock2.h> not <winsock.h>.
-
* connect.c: Include <sys/socket.h> and <sys/select.h> on any platform,
gnulib ensures they exist. Remove `read', `write', `close' macros.
-
* Makefile.am: Copy build_info.c.in only if we are working in a VPATH.
(AM_CPPFLAGS): Add directory with generated gnulib files.
* html-url.c, http.c: Avoid casts in a couple spots.
-2008-05-30 Henri Häkkinen <henux@users.sourceforge.net>
+2008-05-30 Henri Häkkinen <henux@users.sourceforge.net>
* cookies.c, ftp-basic.c, hash.c, html-url.c, http-ntlm.c, http.c,
init.c, log.c, main.c, progress.c, ptimer.c, spider.c, url.c,
2001-02-16 Dan Harkless <wget@harkless.org>
- * init.c (commands): Hack Kampbjørn <hack@hackdata.com> discovered
+ * init.c (commands): Hack Kampbjørn <hack@hackdata.com> discovered
that "httpsproxy" had been inserted into commands[] out of
alphabetical order, causing "BUG: unknown command `httpuser'".
characters.
(skip_uname): Ditto.
-2001-02-11 Hack Kampbjørn <hack@hackdata.com>
+2001-02-11 Hack Kampbjørn <hack@hackdata.com>
* url.c (parseurl): Debug-print u->ftp_type.
2000-12-30 Dan Harkless <wget@harkless.org>
- * ftp.c, http.c: Applied Hack Kampbjørn <hack@hackdata.com>'s
+ * ftp.c, http.c: Applied Hack Kampbjørn <hack@hackdata.com>'s
patch to deal with h_errno not being defined in netdb.h under Cygwin.
2000-12-18 Csaba Raduly <csaba.raduly@sophos.com>