X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=d5b70f092ff8710490ff1afa700027844d23d38d;hp=0dbabfa2f38d279614d4fe6ed0a4319f57879f15;hb=b718128b4f3eb8473fb3b31c8397b49854e74ab7;hpb=1e09ee5ea8d903c49f2b465f5f459b0746f17a3a diff --git a/src/ChangeLog b/src/ChangeLog index 0dbabfa2..d5b70f09 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,530 @@ -2011-07-26 Giuseppe Scrivano +2012-08-28 Tim Ruehsen + + * gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t. + +2012-07-07 Giuseppe Scrivano + + * html-url.c (cleanup_html_url): Remove "static" modifier. + * init.c (cleanup_html_url): Likewise. + Reported by: Mike Frysinger . + +2012-08-25 Hrvoje Niksic + + * warc.c (warc_find_duplicate_cdx_record): Use hash_table_get + instead of hash_table_get_pair. + +2012-08-21 (tiny change) + + * connect.c (connect_to_ip) [ENABLE_IPV6]: Attempt to use IPv6. + * http.c (gethttp): Likewise. + +2012-07-03 Steven Schubiger + + * init.c: Include warc.h for warc_close in cleanup function. + +2012-07-08 Steven Schubiger + + * exits.h: Fix comment. + * exits.c: Likewise. + +2012-07-07 Tim Ruehsen + + (digest_authentication_encode): Add support for RFC 2617 Digest + Access Authentication. + +2012-07-07 Giuseppe Scrivano + + * http.c (http_loop): Fix log message. + * main.c (main): Likewise. + Reported by: Petr Pisar + +2012-06-17 Giuseppe Scrivano + + * 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 + + * 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 . + +2012-06-09 Giuseppe Scrivano + + * main.c (print_help): Move --report-speed under the section + "Logging and input file". + +2012-06-06 Giuseppe Scrivano + + * 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 + + * 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 + + * connect.c: Include and . + +2012-05-30 Gijs van Tulder + + * warc.c: Fix segfault if CDX record is not found. + +2011-05-26 Steven Schweda + * connect.c [HAVE_SYS_SOCKET_H]: Include . + [HAVE_SYS_SELECT_H]: Include . + +2012-05-26 Mike Frysinger + + * warc.c: Change type of `warc_current_gzfile' to gzFile. + +2012-05-26 Giuseppe Scrivano + + * warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to + ssize_t. + Suggested by: Ángel González + +2012-05-18 Tim Ruehsen + + * gnutls.c (wgnutls_poll): Honor the specified `timeout' value. + (wgnutls_peek): Likewise. + +2012-05-19 illusionoflife (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 + + * warc.h: Cut length lines to 80 columns. + * warc.c: Likewise. + +2012-05-14 Tim Ruehsen + + * 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 + + * 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 + + * 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 + + * 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 + + * url.c: Use empty query in local filenames. + +2012-04-22 Tim Ruehsen + + * main.c (main): Dynamically allocate `opt.progress_type'. + +2012-04-21 Tim Ruehsen + + * 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 (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 (tiny change) + + * warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing + `lineptr'. + +2012-04-07 Daniel Kahn Gillmor (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 + + * html-url.c: Prevent crash on incomplete STYLE tag. + +2012-04-01 Giuseppe Scrivano + + * 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 + +2012-03-30 Tim Ruehsen (tiny change) + + * warc.c: make warc_uuid_str() implementation depend on HAVE_LIBUUID. + +2012-03-29 Tim Ruehsen (tiny change) + + * utils.c (library): Include . + +2012-03-25 Giuseppe Scrivano + + * utils.c: Include . + + * ptimer.c: Include . + + * connect.c: Include , , . + Reported by: Ray Satiro . + +2012-03-25 Ray Satiro + + * build_info.c.in: Check that HAVE_LIBSSL32 is defined when OpenSSL + is used. + +2012-03-07 Steven Schubiger + + * init.c (wgetrc_user_file_name): Correct typo. + +2012-03-06 Sasikantha Babu + + * 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 + + * main.c: Include "closeout.h" + (main): Register close_stdout at exit. + +2012-02-01 Gijs van Tulder + + * 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 + + * 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 + + * warc.c: Add license header. + +2012-01-27 Gijs van Tulder + + * 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 + + * 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 + + * 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 (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 + + * warc.c: Call gzdopen() with wb9 instead of wb+9, which fails on + zlib version >= 1.2.4. + +2011-11-04 Steven Schweda + + * warc.c [! WINDOWS]: Include . + (warc_write_warcinfo_record): Assign a new allocated buffer and + free it on errors. + +2011-11-01 Steven Schweda + + * gnutls.c (ssl_init): Ensure GNU TLS is loaded only once. + +2011-10-07 Steven Schweda + + * connect.c: Add HAVE_SYS_SELECT_H and HAVE_SYS_SOCKET_H conditions + on includes of and , 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 (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 + + * main.c (print_version): Update copyright year. + (print_version): Fix typo. + +2011-09-13 Giuseppe Scrivano + + * ftp.c (ftp_retrieve_glob): Propagate correctly the `res' error + code. + +2011-09-07 Giuseppe Scrivano + + * http.c (gethttp): Don't inhibit arest request if opt.timestamping is + set. + Reported by + +2011-09-06 Jakob Matthes (tiny change) + + * main.c (print_version): Do not exit prematurely when --help is passed. + +2011-09-04 Christian Jullien (tiny change) + + * gnutls.c: Include . + +2011-09-02 Mojca Miklavec (tiny change) + + * main.c (print_version): Do not exit prematurely when --version is passed. + +2011-08-30 Giuseppe Scrivano + + * 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 + + * gnutls.c (wgnutls_read_timeout): New function. + (wgnutls_read): Use wgnutls_read_timeout. + (wgnutls_peek): Likewise. + +2011-08-27 Giuseppe Scrivano + + * 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 + + * gnutls.c: Include "ptimer.h". + (wgnutls_read): Honor read timeout. + + * openssl.c (ssl_init): Make `meth' const. + +2011-08-25 Giuseppe Scrivano + + * utils.c [HAVE_UTIME && HAVE_UTIME_H]: Include . + [HAVE_UTIME && HAVE_SYS_UTIME_H]: Include . + (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 + + * init.c (home_dir) [MSDOS]: Move local variable `len' here. + +2011-08-18 Giuseppe Scrivano + + * 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 + + * retr.c (fd_read_body): Ensure max is not already defined. + + * mswindows.h (snprintf): Remove definition. + (vsnprintf): Likewise. + +2011-08-12 Giuseppe Scrivano + + * css.l: Remove include "wget.h". + Reported by: Perry Smith . + +2011-08-11 Giuseppe Scrivano + + * 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 + + 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 + +2011-08-06 Jochen Roderburg + + * host.c (lookup_host): Ensure it doesn't print more IPs than available + ones. + +2011-08-06 Giuseppe Scrivano + + * 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 + + * http.c (gethttp): Add the Cache-Control HTTP header when --no-cache + is specified. + Reported by: Коренберг Марк . + +2011-08-05 Giuseppe Scrivano + + * utils.c (acceptable): Accept always the file if it is the specified + output destination. + Reported by: Shai Berger + +2011-08-05 Giuseppe Scrivano + + * gnutls.c (ssl_connect_wget): Use `gnutls_priority_set_direct' instead + of the deprecated `gnutls_protocol_set_priority'. + +2011-08-02 Giuseppe Scrivano + + * cookies.c (parse_set_cookie): If the value is quoted, do not modify + it. + Reported by: Nirgal Vourgère + +2011-07-29 Giuseppe Scrivano + + * log.c (logprintf): Exit immediately on a SIGPIPE error. + Reported by: Noèl Köthe . + +2011-07-26 Carlos Martín Nieto (tiny change) + + * init.c (home_dir): Allocate path buffer dinamically. + +2011-07-26 Giuseppe Scrivano * retr.c (retrieve_url): Do not register redirects when in spider mode. @@ -8,7 +534,7 @@ UTF-8 URI encoding. * res.c (res_retrieve_file): Fix url_parse call. -2011-06-08 Giuseppe Scrivano +2011-06-08 Giuseppe Scrivano * retr.c (retrieve_from_file): Parse the url careless if IRI is enabled. Reported by: Volker Kuhlmann . @@ -83,7 +609,7 @@ SSL_pending. (openssl_peek): Make the call non-blocking. -2011-04-11 Cristian Rodríguez (tiny change) +2011-04-11 Cristian Rodríguez (tiny change) * openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when available. @@ -1610,7 +2136,7 @@ * html-url.c, http.c: Avoid casts in a couple spots. -2008-05-30 Henri Häkkinen +2008-05-30 Henri Häkkinen * 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, @@ -8601,7 +9127,7 @@ 2001-02-16 Dan Harkless - * init.c (commands): Hack Kampbjørn discovered + * init.c (commands): Hack Kampbjørn discovered that "httpsproxy" had been inserted into commands[] out of alphabetical order, causing "BUG: unknown command `httpuser'". @@ -8653,7 +9179,7 @@ characters. (skip_uname): Ditto. -2001-02-11 Hack Kampbjørn +2001-02-11 Hack Kampbjørn * url.c (parseurl): Debug-print u->ftp_type. @@ -8761,7 +9287,7 @@ 2000-12-30 Dan Harkless - * ftp.c, http.c: Applied Hack Kampbjørn 's + * ftp.c, http.c: Applied Hack Kampbjørn 's patch to deal with h_errno not being defined in netdb.h under Cygwin. 2000-12-18 Csaba Raduly