+2014-05-03 Tim Ruehsen <tim.ruehsen@gmx.de>
+
+ * ftp-ls.c (ftp_parse_vms_ls): Explicitly typecast strlen's output
+ * ftp.c (getftp): Prevent declaration of shadow variable
+ * html-url.c (tag_handle_base, tag_handle_form, tag_handle_link,
+ tag_handle_meta): Compiler directive to ignore unused variable
+ * html-url.h (cleanup_html_url): Add function declaration
+ * http-ntlm.c (ntlm_input, mkhash): Use ssize_t to declare variables that store
+ sizes.
+ (mkhash): Explicitly typecast output of c_toupper
+ (short_pair): Add typecasts to prevent compiler warnings
+ (ntlm-output): Fix datatypes of various variables
+ * http.c (gethttp): Prevent declaration of shadow variable err
+ (gethttp): remove unreachable code
+ (test_parse_content_disposition): Fix variable declarations and use
+ countof() macro
+ * init.c (run_command): Prevent declaration of ghost variable
+ (cmd_string, cmd_string_uppercase, cmd_file, cnd_vector,
+ cmd_directory_vector, cmd_spec_dirstruct, cmd_spec_header,
+ cmd_spec_warc_header, cmd_spec_htmlify, cmd_spec_mirror,
+ cmd_spec_prefer_family, cmd_spec_progress, cmd_spec_recursive,
+ cmd_spec_regex_type, cmd_spec_restrict_file_names, cmd_spec_report_speed,
+ cmd_spec_timeout, cmd_spec_useragent, cmd_spec_verbose): Add compiler
+ directive to ignore unused variable
+ (cleanup_html_url, spider_cleanup): Remove declarations
+ (test_commands_sorted): Cleanup code
+ (test_cmd_spec_restrict_file_names): Use correct data types
+ * iri.c (remote_to_utf8): Use more verbose variable name
+ * main.c (init_switches): Prevent declaration of ghost variable
+ * netrc.c (netrc_cleanup): Create cleanup function on common naming scheme
+ * netrc.h (netrc_cleanup): Declare function
+ * openssl.c (openssl_write, openssl_errstr): Compiler directive to ignore
+ unused parameter
+ (openssl_errstr): Explcicitly typecasr output of ASN1_STRING_length
+ * options.h (struct options): Declare includes and excludes as const char **
+ * progress.c (progress_interactive_p, progress_handle_sigwinch): Compiler
+ directive to ignore unused parameter
+ * res.c (test_is_robots_txt_url): Fix datatypes
+ * retr.c (line_terminator): Add compiler directive for ignoring unused
+ paramter. Remove unused variable.
+ * spider.h (spider_cleanup): Declare function
+ * test,c (main): declare unused paramter
+ * test.h (test_*): Declare functions
+ * url.c (url_string): Explicit typecast of password strings
+ (run_test): Declare *test, struct tests and *expected_result as const
+ (test_path_simplify, test_append_uri_pathl, test_are_urls_equal): Fix datatypes
+ * utls.c (fork_to_background): Be more verbose when errors occur
+ (dir_matches_p, test_dir_matches_p): Declare char * as const as required
+ (base64_encode, base64_decode, get_max_length): Set correct return type
+ (match_pcre_regex, match_posix_regex): Use correct datatypes and typecasts
+ (test_subdir_p): static const struct
+ * utils.h (base64_encode, base64_decode, get_max_length): Fix return type
+ * warc.c (ward_write_cdx_record): unused parameter
+ (struct hash_table *warc_cdx_dedup_table): Declare as static
+
+2014-05-01 Benjamin Goose <gans+wget@tngtech.com>
+
+ * http.c: Fix small memory leak
+
+2014-05-01 Darshit Shah <darnir@gmail.com> (tiny change)
+
+ * progress.c (dot_finish): Do not print extra newlines when not in verbose
+ mode. (Purely aesthetic change)
+ (get_eta): Add extra space when eta is printed.
+ (create_image): Remove erroneous space from being added to progress bar when
+ filename > MAX_FILENAME_LEN
+ (create_image): Remove extra space before printed download speeds
+ Make the filename a fixed width column.
+
+2014-04-19 Darshit Shah <darnir@gmail.com>
+
+ * log.h (log_options): Add new logging options, LOG_PROGRESS. All progress
+ bar related output should use LOG_PROGRESS.
+ * log.c (CHECK_VERBOSE): Implement LOG_PROGRESS output
+ * progress.c (dot_create, print_row_stats, dot_update, dot_finish,
+ bar_finish, display_image): Output progress information through LOG_PROGRESS
+ (progress_implementation, dot_create, bar_create, progress_create): The
+ progress bar create functions accept an extra paramter for the filename of the
+ local file
+ (bar_progress): Add new variable to store filename of currently downloading
+ file
+ (bar_finish): Aesthetic change. Print two newlines if in verbose mode, else
+ only one.
+ (MACRO): Define new macro, MIN
+ (create_image): Implement displaying filename in progress bar output
+ Filename tick implementation copied from Giuseppe's patch on parallel-wget
+ * progress.h (progress_create): Accept another parameter for filename
+ * http.c (gethttp): Remove unnecessary conditional
+ (read_response_body): Send local filename to fd_read_body so that it can be
+ printed on the progress bar
+ * main.c (option_data): Add new switch, --show-progress
+ (main): If in verbose output, show progress bar by default
+ (main): Set progress implemetation when displaying progress bar
+ (no_prefix): Increase buffer size to 2048 to prevent overflows
+ * init.c (commands): Add new command, showprogress
+ (defaults): By default initialize show_progress to false
+ * options.h (options): Add new option, show_progress
+ * retr.c (fd_read_body): Accept new parameter for filename of currently
+ downlaoding file
+ (fd_read_body): Create and update progress bar when opt.show_progress is set
+ (fd_read_body): Display progress information in Windows console titlebars
+ * retr.h (fd_read_body): Update declaration
+ * ftp.c (getftp): Send filename of the local file so that it can be printed
+ with the progress bar.
+
+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.
+
+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,
+ send, select, getsockname, getpeername, setsockopt, closesocket.
+ 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 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.
+
+2010-05-06 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * Makefile.am (build_info.c): Generate build_info.c in the builddir,
+ not srcdir.
+
+2010-05-05 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (gethttp): Give a nicer message on a malformed status line.
+
+2010-05-04 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (gethttp): Check `resp_status' return code and handle
+ errors.
+
+2010-05-01 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * http.c (request_send): Specify 1.1 as HTTP version for requests.
+ (skip_short_body): Accept new parameter `chunked'. New variable
+ `remaining_chunk_size'. Handle the chunked transfer encoding.
+ (gethttp): New variable `chunked_transfer_encoding`. Set `keepalive'
+ by default to true. Check if the server is using the chunked transfer
+ encoding.
+
+ * retr.h: Define `rb_chunked_transfer_encoding'.
+
+ * retr.c (fd_read_body): New variable `chunked'. New variable
+ `remaining_chunk_size'. Handle the chunked transfer encoding.
+
+2010-03-04 Steven Schubiger <stsc@member.fsf.org>
+
+ * ftp.c (ftp_loop_internal): Omit input file from being
+ deleted after retrieval.
+
+ * retr.c (input_file_url): New function.
+
+ * retr.h: Add declaration for input_file_url.
+
2010-03-02 Steven Schubiger <stsc@member.fsf.org>
* retr.c (retrieve_from_file): Improve checking for a URL
2010-03-01 Steven Schubiger <stsc@member.fsf.org>
- * retr.c (retrieve_url): Retrieve the local filename from ftp_loop.
+ * retr.c (retrieve_url): Retrieve the local filename from ftp_loop.
(retrieve_from_file): Return if there's no input file.
* ftp.c (ftp_loop_internal): Duplicate the local filename into
reference to the local filename, elsewhere with NULL.
* ftp.h: Adjust declaration of ftp_loop.
-
+
2010-01-27 Paul Townsend <aab@purdue.edu> (tiny change)
* retr.c (fd_read_body): Be sure to measure timer when time has
2009-09-08 Steven Schubiger <stsc@member.fsf.org>
- * main.c, init.c: Mark the --preserve-permissions and
+ * main.c, init.c: Mark the --preserve-permissions and
--html-extension option as deprecated.
2009-09-06 Micah Cowan <micah@cowan.name>
(http_loop): Handle newly-created VERIFCERTERR error code.
* exits.c, exits.h: Newly added.
-
+
* Makefile.am (wget_SOURCES): Add exits.c and exits.h.
2009-08-27 Micah Cowan <micah@cowan.name>
* main.c (option_data): Rename --html-extension to
--adjust-extension.
(print_help): Ditto.
-
+
* options.h (struct option): Rename html_extension to
adjust_extension.
* http.c (gethttp): Ditto.
* wget.h (ORIG_SFX): Macro added, to supply an alternative "_orig"
suffix on VMS.
-
+
* connect.c, host.c, host.h, main.c: Include "vms_ip.h" rather
than <netdb.h> on VMS systems.
* Makefile.am: Add a rule to generate build_info.c and list
the build_info.c.in file in EXTRA_DIST. Adjust elsewhere
where needed.
-
+
* build_info.c: Remove this static source file.
-
+
* build_info.c.in: Data for generation of build_info.c.
2009-06-29 Micah Cowan <micah@cowan.name>
* host.c: Declare h_errno if no declaration is provided. Idea
thanks to Maciej W. Rozycki.
-2009-06-11 Xin Zou <zouxin2008@gmail.com>
-
+2009-06-11 Xin Zou <zouxin2008@gmail.com>
+
* http.c (gethttp): Fix some memory leaks.
-
+
2009-06-11 Micah Cowan <micah@cowan.name>
* http.c (http_atotm): Handle potential for setlocale's return
2009-05-28 Steven Schubiger <stsc@member.fsf.org>
- * ftp.c (ftp_get_listing): Update the "listing file"
+ * ftp.c (ftp_get_listing): Update the "listing file"
string after calling ftp_loop_internal().
2009-05-27 Steven Schubiger <stsc@member.fsf.org>
* connect.c: stdint.h inclusion added.
Thanks to Markus Duft <mduft@gentoo.org> for a similar patch.
-
+
2009-04-20 Micah Cowan <micah@cowan.name>
* Makefile.am (version.c): Fix unportable use of "echo -n".
* ftp.c (ftp_retrieve_list): Move the duplicated code that
determines the local file to a function.
-
+
* http.c (http_loop): Likewise.
* retr.c (set_local_file): New function.
2009-04-11 Steven Schubiger <stsc@member.fsf.org>
- * init.c (initialize): Run a custom SYSTEM_WGETRC when
+ * init.c (initialize): Run a custom SYSTEM_WGETRC when
provided as an environment variable.
2009-02-27 Gisle Vanem <gvanem@broadpark.no>
2009-02-21 Steven Schubiger <stsc@member.fsf.org>
- * http.c (http_loop): When a document is written to
+ * http.c (http_loop): When a document is written to
standard output, don't claim it has been saved to a file.
Addresses bug #20520.
* main.c: Declare and initialize the numurls counter.
* ftp.c, http.c: Make the counter visible here and use it.
-
+
* options.h: Remove old declaration from options struct.
2008-11-15 Steven Schubiger <stsc@members.fsf.org>
2008-11-14 Steven Schubiger <stsc@members.fsf.org>
- * main.c (format_and_print_line): Use a custom format
+ * main.c (format_and_print_line): Use a custom format
string for printing leading spaces.
2008-11-12 Micah Cowan <micah@cowan.name>
2008-09-09 Gisle Vanem <gvanem@broadpark.no>
* url.c (url_error): Use aprintf, not asprintf.
-
+
2008-09-09 Micah Cowan <micah@cowan.name>
* init.c (home_dir): Save the calculated value for home,
* 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,
2008-04-22 Rabin Vincent <rabin@rab.in>
* ftp.c (ftp_get_listing): Only remove .listing if it has been
- created.
+ created.
2008-04-22 Alain Guibert <alguibert+bts@free.fr>
2008-04-16 Steven Schubiger <schubiger@gmail.com>
- * sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE
+ * sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE
out, because they're now defined independently by config.h.
2008-04-14 Steven Schubiger <schubiger@gmail.com>
* utils.c (aprintf): Now we are setting limits (1 Mb) for text
buffer when we use non-C99 vsnprintf.
-
+
2008-04-11 Micah Cowan <micah@cowan.name>
* ftp.c (getftp, ftp_loop_internal): Don't append to an existing
* Makefile.am: Converted from Makefile.in.
2007-10-02 Gisle Vanem <gvanem@broadpark.no>
-
+
* ftp.c: Use "_listing" for MSDOS (".listing" is illegal).
* url.c: Update comment for 'filechr_not_windows'.
error code.
2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
-
+
* http.c (http_loop): Send preliminary HEAD request if -N is given and
the destination file exists already.
2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
- * http.c (http_loop): Fixed the HTTP requests logic. Now it skips the
- preliminary HEAD request if either -O or --no-content-disposition are
+ * http.c (http_loop): Fixed the HTTP requests logic. Now it skips the
+ preliminary HEAD request if either -O or --no-content-disposition are
given, and neither --spider and -N are given.
2007-07-05 Micah Cowan <micah@cowan.name>
2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
- * convert.c (downloaded_file): Fixed bug which used to break -E -k -K
+ * convert.c (downloaded_file): Fixed bug which used to break -E -k -K
mode.
2006-08-28 Mauro Tortonesi <mauro@ferrara.linux.it>
* init.c (commands): Correctly place "contentdisposition".
2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
-
+
* sysdep.h: If intptr_t isn't defined, simply typedef it to long.
* http.c: Added explicit cast to int in logprintf call to remove
* connect.c: Added a few casts to intptr_t to remove compiler warnings
on 64-bit platforms.
-
+
* main.c: Disable -r, -p and -N when -O is used. Disable -k when -O is
used and multiple URLs are given. Update maintainer information.
-
+
* all: Update copyright information.
-
+
2006-07-10 KJKHyperion <hackbunny@reactos.com>
* url.c (filechr_table): Mark DEL (0x7f) as a control character
non-existing robots.txt as a broken link, and use are_urls_equal
instead of strcasecmp for referrer URLs comparison.
- * test.c: Call tests routines for are_urls_equal and
+ * test.c: Call tests routines for are_urls_equal and
is_robots_txt_url.
2006-06-26 Hrvoje Niksic <hniksic@xemacs.org>
of HTTP Content-Disposition header.
* init.c: Ditto.
-
+
* main.c: Ditto.
2006-04-11 Hrvoje Niksic <hniksic@xemacs.org>
testcases for subdir_p and dir_matches_p.
* utils.h: Changed all frontcmp occurrences to subdir_p.
-
+
* recur.c: Ditto.
-
+
* test.c: Changed type returned by test functions from char * to const
char *. Added test_subdir_p and test_dir_matches_p to the list of
tests to run.
* http.c (test_parse_content_disposition): Changed return type from
- char * to const char *.
+ char * to const char *.
2006-03-14 Mauro Tortonesi <mauro@ferrara.linux.it>
* recur.c (struct queue_element): Changed type of html_allowed member
to bool.
-
+
2006-03-09 Mauro Tortonesi <mauro@ferrara.linux.it>
* ftp.c (ftp_list): Try `LIST -a' command first and revert to `LIST'
2005-12-07 Mauro Tortonesi <mauro@ferrara.linux.it>
- * http.c: Fixed pre-download verbose output which was broken by
+ * http.c: Fixed pre-download verbose output which was broken by
HTTP code refactoring.
2005-11-23 Mauro Tortonesi <mauro@ferrara.linux.it>
* http.c: Refactored HTTP code. If -O is not used, the new code
delays the choice of the file name where the downloaded resource
will be saved until the HTTP headers have been retrieved.
- Added support for Content-Disposition header.
+ Added support for Content-Disposition header.
2005-11-19 Hrvoje Niksic <hniksic@xemacs.org>
* Makefile.in: Added basic support for unit testing.
* test.c: Ditto.
-
+
* test.h: Ditto.
-
+
2005-10-13 Daniel Stenberg <daniel@haxx.se>
* http-ntlm.c (ntlm_output): Fixed buffer overflow vulnerability.
the new ftppassword, httppassword and proxypassword commands
respectively. Document the --user and --password options in the help
string.
-
+
2005-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
* ftp.c: Add support for --user and --password.
-
+
* http.c: Add support for --user and --password.
-
+
* init.c: Deprecated ftppasswd, httppasswd, login, passwd and
proxypasswd commands. Added ftppassword, ftpuser, httppassword,
password, proxypassword and user commands.
--http-password, --password, --proxy-password and --user. Deprecated
--http-passwd and --proxy-passwd. Added documentation for new options
and removed documentation for deprecated options in the help string.
-
+
* options.h (struct options): Added user and passwd members to handle
--user and --password respectively. Renamed ftp_acc and ftp_pass
members to ftp_user and ftp_passwd for consistency.
2005-04-04 Mauro Tortonesi <mauro@ferrara.linux.it>
* string_t.c: Removed.
-
+
* string_t.h: Removed.
2005-04-02 Hrvoje Niksic <hniksic@xemacs.org>
* init.c: Renamed command passwd to ftppasswd.
2005-02-11 Mauro Tortonesi <mauro@ferrara.linux.it>
-
+
* string_t.c: Fixed a bug in do_escape and triggered escape of
backslashes in string_escape to avoid ambiguities in the result
string.
-
+
2005-02-10 Mauro Tortonesi <mauro@ferrara.linux.it>
- * string.h: Renamed to string_t.h to fix a compilation conflict
+ * string.h: Renamed to string_t.h to fix a compilation conflict
with the string.h header in the standard C library.
-
+
* string.c: Renamed to string_t.c for consistency with string.h.
-
+
* string_t.c: Ditto.
* string_t.h: Ditto.
-
+
2004-12-31 Mauro Tortonesi <mauro@ferrara.linux.it>
* string.c: New file.
before statements.
2003-10-02 Gisle Vanem <giva@bgnett.no>
-
+
* mswindows.c (run_with_timeout): For Windows: Run the 'fun' in a
thread via a helper function. Continually query the thread's
exit-code until finished or timed out.
2001-12-04 Herold Heiko <Heiko.Herold@previnet.it>
- * gen_sslfunc.c: on windows provide ssl crypto random
+ * gen_sslfunc.c: on windows provide ssl crypto random
initialization through RAND_screen(); could possibly
- be not enough for strong ssl communication (see the
+ be not enough for strong ssl communication (see the
relevant manual page from the openssl package).
2001-12-04 Hrvoje Niksic <hniksic@arsdigita.com>
* retr.c (register_all_redirections): New function.
(register_redirections_mapper): Ditto.
(retrieve_url): Register the redirections.
- (retrieve_url): Make the string "Error parsing proxy ..."
+ (retrieve_url): Make the string "Error parsing proxy ..."
translatable.
* res.c (add_path): Strip leading slash from robots.txt paths so
* main.c: Remove --wait / --waitretry backwards compatibility
code.
-
+
2001-11-19 Hrvoje Niksic <hniksic@arsdigita.com>
* main.c (main): Use it.
2001-04-10 Jan Prikryl <prikryl@cg.tuwien.ac.at>
* ftp.c (getftp): Convert initial FTP directory from VMS to UNIX
- notation for VMS servers.
+ notation for VMS servers.
(ftp_retrieve_dirs): Do not prepend '/' to f->name when
odir is an empty string.
* Makefile.in: Include @SSL_INCLUDES@ substition in INCLUDES.
Define top_builddir. Link wget with libtool so the user doesn't
- have to supply a bunch of custom environment variables to
+ have to supply a bunch of custom environment variables to
correctly link with the OpenSSL shared libraries.
2001-03-06 Hack Kampbjorn <hack@hackdata.com>
* url.c: move the #define of DEFAULT_HTTP_PORT, DEFAULT_FTP_PORT
and DEFAULT_HTTPS_PORT to the header file so it can be use in the
- rest of the code.
+ rest of the code.
* url.h: Ditto
2001-03-01 Jonas Jensen <bones@huleboer.dk>
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'".
listing without correct permissons).
* ftp.h (stype): Added ST_MACOS to identify the NetPresenz MacOS
- FTP server.
+ FTP server.
* ftp.c (ftp_retrieve_list): New mirroring logic: A remote file
shall be donwloaded only when it's newer than the local copy or
when it has the same timeestamp but its size is different. ST_VMS
- and ST_MACOS as special cases that lie about file size.
+ and ST_MACOS as special cases that lie about file size.
* ftp-ls.c (ftp_parse_ls): Support for ST_MACOS.
* Makefile.in: Removed dependency on ftpparse library due to unclear
- copyright issues and absence of any feedback to our queries.
+ copyright issues and absence of any feedback to our queries.
* ftp-ls.c: Removed dependency on ftpparse library due to unclear
- copyright issues and absence of any feedback to our queries.
+ copyright issues and absence of any feedback to our queries.
(ftp_parse_ls): Added a warning message when remote server system
- does not seem to be suported by wget.
+ does not seem to be suported by wget.
(ftp_parse_vms_ls): New function for parsing VMS ftp
server listing output.
(clean_line): New function responsible for removing
end-of-line characters from FTP listing texts.
* ftp.c (getftp): Global variables pwd and host_type are now
- member of the ccon structure under names ccon.id and ccon.rs.
+ member of the ccon structure under names ccon.id and ccon.rs.
* ftp.h (struct ccon): Added formed global variables from ftp.c,
enum stype rs (remote system identification) and char *id (initial
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.
looking at the dates would make you think that things went into
1.6 that actually just went into the 1.7-dev branch. Added "[Not
in 1.6 branch.]" where appropriate to clarify.
-
+
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>
* ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other"
FTP servers.
- * ftp.c: New static wariables host_type, pwd, and pwd_len.
+ * ftp.c: New static wariables host_type, pwd, and pwd_len.
(getftp): Support for VMS. Support for FTP servers that do not
place you in the root directory after login.
(ftp_retrieve_list): VMS is silent about the real file size, issue
* ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other"
FTP servers.
- * ftp.c: New static wariables host_type, pwd, and pwd_len.
+ * ftp.c: New static wariables host_type, pwd, and pwd_len.
(getftp): Support for VMS. Support for FTP servers that do not
place you in the root directory after login.
(ftp_retrieve_list): VMS is silent about the real file size, issue
* ftp.c (ftp_loop_internal): --delete-after wasn't implemented for
files downloaded via FTP. Per a comment, .listing files were not
- counted towards number of bytes and files downloaded because they're
+ counted towards number of bytes and files downloaded because they're
deleted anyway. Well, they aren't under -nr, so count them then.
* init.c: Manually applied Rob Mayoff's 1.5.3 patch to add
--bind-address, alphabetizing, changing coding style to GNU's,
commenting, and renaming cmd_ip_address() to cmd_address() to
imply hostnames also okay.
-
+
* main.c (main): --delete-after didn't delete the root of the
tree. Ignore --convert-links if --delete-after was specified.
Manually applied Rob Mayoff's 1.5.3 patch to add --bind-address,
fixing duplicate use of added-since-1.5.3 case value.
(print_help): Clarified that --delete-after deletes local files.
Rob forgot to add a line for his new --bind-address option.
-
+
* options.h (struct options): Manually applied Rob Mayoff's patch
to add --bind-address (bind_address structure member).
-
+
* recur.c (recursive_retrieve): Improved comment; added DEBUGP().
Ignore --convert-links if --delete-after was specified.
-
+
* retr.c (retrieve_from_file): Just added a DEBUGP().
-
+
2000-10-19 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_loop_internal): downloaded_file() enumerators changed.
(getftp): Applied Piotr Sulecki <Piotr.Sulecki@ios.krakow.pl>'s
patch to work around FTP servers that incorrectly respond to the
"REST" command with the remaining size rather than the total file size.
-
+
* http.c (gethttp): Improved a comment and added code to tack on
".html" to text/html files without that extension when -E specified.
(http_loop): Use new downloaded_file() enumerators and deal with
(downloaded_file): Now takes and returns a downloaded_file_t.
* wget.h (unnamed "dt" enum): Added ADDED_HTML_EXTENSION enumerator.
-
+
2000-10-09 Dan Harkless <wget@harkless.org>
* html.c (htmlfindurl): Added unneeded initialization to quiet warning.
-
+
* main.c (print_help): Clarified what --retr-symlinks does.
-
+
2000-09-15 John Daily <jdaily@cyberdude.com>
* init.c: Add support for "always" and "never" values to allow
2000-08-30 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define.
-
+
* html.c: htmlfindurl() now takes final `dash_p_leaf_HTML' parameter.
- Wrapped some > 80-column lines. When -p is specified and we're at a
- leaf node, do not traverse <A>, <AREA>, or <LINK> tags other than
+ Wrapped some > 80-column lines. When -p is specified and we're at a
+ leaf node, do not traverse <A>, <AREA>, or <LINK> tags other than
<LINK REL="stylesheet">.
-
+
* html.h (htmlfindurl): Now takes final `dash_p_leaf_HTML' parameter.
-
+
* init.c: Added new -p / --page-requisites / page_requisites option.
* main.c (print_help): Clarified that -l inf and -l 0 both allow
infinite recursion. Changed the unhelpful --mirrior description
to simply give the options it's equivalent to. Added new -p option.
(main): Added some comments; handle new -p / --page-requisites.
-
+
* options.h (struct options): Added new page_requisites field.
* recur.c: Changed "URL-s" to "URLs" and "HTML-s" to "HTMLs".
* url.h (get_urls_html): Now takes final `dash_p_leaf_HTML' parameter.
* wget.h: Added some comments and new INFINITE_RECURSION #define.
-
+
2000-08-23 Dan Harkless <wget@harkless.org>
* main.c (print_help): -B / --base was not mentioned.
* host.c (store_hostaddress): R. K. Owen's patch introduces a
"left shift count >= width of type" warning on 32-bit
architectures. Got rid of it by tricking the compiler w/ a variable.
-
+
* url.c (UNSAFE_CHAR): The macro didn't include all the illegal
characters per RFC1738, namely everything above '~'. It also
generated a warning on OSes where char =~ unsigned char. Fixed.
-
+
1998-10-17 Hrvoje Niksic <hniksic@srce.hr>
* http.c (http_process_type): Removed needless strdup(), a memory
* html.c (idmatch): Implemented checking of my new --follow-tags
and --ignore-tags options.
-
+
* init.c (commands): Added comment reminding people adding new
entries doing allocation to add corresponding freeing in cleanup().
(commands): Added new followtags and ignoretags commands.
(cleanup): Free storage for new followtags and ignoretags.
-
+
* main.c: Use of "comma-separated list" was random -- normalized
it. Did some alphabetization. Added comments pointing out
"Options without arguments" and "Options accepting an argument"
currently undocumented. Added comment that Heiko's --waitretry is
partially undocumented (mentioned in --help but not in
wget.texi). Moved improperly sorted 24, 129, and 'G' cases.
-
+
* options.h (struct options): Added new fields follow_tags and
- ignore_tags.
-
+ ignore_tags.
+
* wget.h: Added "#define EQ 0" so we can say "strcmp(a, b) == EQ".
-
+
2000-03-02 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_loop_internal): Heiko introduced "suggest explicit
braces to avoid ambiguous `else'" warnings. Eliminated them.
-
+
* http.c (gethttp): Dan Berger's query string patch is totally
bogus. If you have two different URLs, gen_page.cgi?page1 and
get_page.cgi?page2, they'll both be saved as get_page.cgi and the
option there?).
(http_loop): Heiko introduced "suggest explicit braces to avoid
ambiguous `else'" warnings. Eliminated them.
-
+
* main.c: Heiko's --wait / --waitretry backwards compatibility
code looks to have been totally untested -- automatic variable
'wr' was used without being initialized, and a long int was passed
into setval()'s char* val parameter.
-
+
* recur.c (parse_robots): Applied Edward J. Sabol
<sabol@alderaan.gsfc.nasa.gov>'s patch for Guan Yang's reported
problem with "User-agent:<space>*<space>" lines in robots.txt.
-
+
* url.c (parseurl, str_url): Removing Dan Berger's code (see
http.c above for explanation).
-
+
1999-08-25 Heiko Herold <Heiko.Herold@previnet.it>
* ftp.c: Respect new option waitretry.
* ftp.c (ftp_loop_internal): Call new downloaded_file() function,
even though we don't do conversion on HTML files retrieved via
- FTP, so _current_ usage of downloaded_file() makes this call unneeded.
+ FTP, so _current_ usage of downloaded_file() makes this call unneeded.
(ftp_retrieve_list): Added a comment saying where we need to
stat() a .orig file if FTP'd HTML file conversion is ever implemented.
(ftp_retrieve_list): "Local file '%s' is more recent," is sometimes
a lie -- reworded as "Server file no newer than local file '%s' --".
-
+
* http.c (http_loop): Fixed a typo and clarified a comment.
(http_loop): When -K and -N are specified together, compare size
and timestamp of server file X against local file X.orig (if
-- reworded as "Server file no newer than local file '%s' --".
(http_loop): Call new downloaded_file() function to prevent
wrongful overwriting of .orig file when -N is specified.
-
+
* url.c (convert_links): When -K specified, only rename X to
X.orig if downloaded_file() returns TRUE. Otherwise when we skip
file X due to -N, we clobber an X.orig from a previous invocation.
(convert_links): Added a note asking anyone who understands how
multiple URLs can correspond to a single file to comment it.
(downloaded_file): Added this new function.
-
+
* url.h (downloaded_file): Added prototype for this new function
as well as its downloaded_file_t enum type.
1998-09-21 Hrvoje Niksic <hniksic@srce.hr>
- * host.c (ftp_getaddress): Don't warn when reverse-lookup of local
+ * host.c (ftp_getaddress): Don't warn when reverse-lookup of local
address doesn't yield FQDN.
1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1998-09-10 Howard Gayle <howard@fjst.com>
- * ftp.c (ftp_retrieve_list): Don't update the time stamp of a file
+ * ftp.c (ftp_retrieve_list): Don't update the time stamp of a file
not retrieved.
1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
* main.c (main): Updated `--version' and `--help' output, as per
Francois Pinard's suggestions.
- * main.c: Include locale.h; call setlocale(), bindtextdomain() and
+ * main.c: Include locale.h; call setlocale(), bindtextdomain() and
textdomain().
* config.h.in: Define stubs for I18N3.