]> sjero.net Git - wget/blobdiff - src/ChangeLog
Fix -c with servers that don't specify a content-length
[wget] / src / ChangeLog
index 265fdc11ed6dd009929304a71be1d1f272d8a560..b7663aed7964dedd3705760cacd3748be583ff9d 100644 (file)
@@ -1,3 +1,323 @@
+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.