X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=03a1f6ad2107aef49d6d7322b95c922d7b24db0d;hp=11566b4f5a564d7f2895811731254193a5977ace;hb=42c78fdd71c311cf96210b709ec0a18ef45ef87f;hpb=4fe805a7ecad8a1717cdba78710fba2c543d39ce diff --git a/src/ChangeLog b/src/ChangeLog index 11566b4f..03a1f6ad 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,383 @@ +2013-08-22 Tim Ruehsen + + * main.c: Add new option --https-only. + * options.h: Likewise. + * recur.c (download_child_p): add check for HTTPS. + +2013-08-09 Tim Ruehsen + + * 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 (tiny change): + + * main.c (format_and_print_line): Wrap correctly long tokens. + +2013-07-16 Darshit Shah + + * 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 + + * 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 and . + (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 . + +2013-07-13 Steven M. Schweda + + * warc.c (warc_tempfile): Fix a portability issue on VMS. + +2013-07-10 Giuseppe Scrivano + + * 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 + + * retr.c (rotate_backups): Support for VMS files. + +2013-07-12 Giuseppe Scrivano + + * 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 + + * 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 + + * gnutls.c (ssl_connect_wget): respect connect timeout. + +2013-07-11 Tomas Hozza + + * ftp.c (ftp_loop): Use ftp_retrieve_glob() also in case + --preserve-permissions was specified. + +2013-03-20 Tomas Hozza + + * http.c (gethttp): Set "sock" to -1 if it's not and we have no + persistent connection + +2013-04-26 Tomas Hozza (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 + + * http.c (gethttp): Reverse change by commit 90896 that prevented + downloading response body data to non-GET Request methods. + +2013-06-19 Ciprian Vieru (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 + + * init.c (cmd_string_uppercase): Rewrite function. + +2013-06-19 Tim Ruehsen + + * 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 + + * url.c (url_file_name): Use MAX_PATH in Windows. + +2013-06-13 Darshit Shah + + * 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 + + * 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 + + * 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 + + * 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 (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 + + * init.c (cmd_string_uppercase): Fix issue that cased invalid headers + when converting to uppercase. + +2013-05-01 Gijs van Tulder + + * 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 + + * 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 + +2013-04-24 Darshit Shah + + * 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 + + * http.c: Copy opt.body_data to the WARC file, instead of + opt.post_data (the old option). + +2013-04-12 Gijs van Tulder + + * 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 + + * 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 + + * 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 + + * 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 + + * cookies.c (cookie_handle_set_cookie): Set cookie->discard_requested + to true on domain mismatch. + +2012-12-20 Tim Ruehsen + + * gnutls.c (ssl_connect_wget): added +VERS-SSL3.0 to fix + --secure-protocol=SSLv2/SSLv3. + +2012-12-09 Giuseppe Scrivano + + * main.c (main): Keep looking for "config" until there are + arguments to parse. + Reported by: Adrien Dumont + + * test.c: Include "wget.h". + +2012-12-08 Michael Stapelberg (tiny change) + + * retr.c (retrieve_url): Set iri->orig_url to NULL after it is + freed. + +2012-11-26 Giuseppe Scrivano + + * 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 + + * http.c (digest_authentication_encode): Add support for RFC 2617 + MD5-sess authentication algorithm. + Feature request and testing by: Avinash + +2012-11-14 Ángel González + + * warc.c (warc_sha1_stream_with_payload): Fix compilation under + gcc -std=c89. + +2012-11-24 Gijs van Tulder + + * warc.c (warc_write_cdx_record): Use `number_to_string' to + convert the offset to a string. + +2012-11-24 Giuseppe Scrivano + + * warc.c (warc_write_block_from_file): Use `number_to_string' to + convert the content-length to a string. + +2012-11-15 Giuseppe Scrivano + + * retr.c (write_data): Fix comment. + +2012-11-13 Giuseppe Scrivano + + * retr.c (fd_read_body): Correctly check the return code from + write_data. + Reported by: Torsten Scheck + +2012-08-29 Rohit Mathulla (tiny change) + + * html-url.c (get_urls_file): Convert shorthand URLs. + +2012-10-07 Ray Satiro + + * 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 + + * ftp.c (ftp_loop_internal): Ignore --no-clobber option when + receiving directory listing. + +2012-10-07 Tim Ruehsen + Giuseppe Scrivano + + * utils.c (get_max_length): If `pathconf' is not available + fallback to PATH_MAX. + +2012-10-06 Giuseppe Scrivano + + * http.c (http_loop): Send a HEAD request when -c and + --content-disposition are used together. + +2012-09-29 Merinov Nikolay + + * ftp-ls.c (ftp_parse_winnt_ls): Support filename extracting with + new listing format. + +2012-09-29 Tim Ruehsen + + * 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 + + * src/recur.c (retrieve_tree): Combine duplicated code. + +2012-09-02 Nguyễn Thái Ngọc Duy (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 + + * 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 + + * 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