X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=aca389f10e1e39161314e13536d036c0f95ae0d9;hp=5be96475e2ac56a9bfa00190be28b82abe3b6c92;hb=1df3a351069dae4614ef23af6a08aab6d94a5cfb;hpb=a358b3b69a4c4c1d311366d2205b9a69d414d49a diff --git a/src/ChangeLog b/src/ChangeLog index 5be96475..aca389f1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,437 @@ +2009-05-27 Steven Schubiger + + * ftp.c (ftp_get_listing): Duplicate the "listing file" + string to avoid memory corruption when FOPEN_EXCL_ERR is + encountered. + +2009-05-17 Steven Schubiger + + * progress.c (eta_to_human_short): Fix the remaining hours + to be displayed. Spotted by Tadeu Martins (#26411). + +2009-04-24 Micah Cowan + + * hash.c: Change stdint.h inclusion to use HAVE_STDINT_H, not C99 + check. + + * connect.c: stdint.h inclusion added. + + Thanks to Markus Duft for a similar patch. + +2009-04-20 Micah Cowan + + * Makefile.am (version.c): Fix unportable use of "echo -n". + +2009-04-13 Steven Schubiger + + * 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 + + * init.c (initialize): Run a custom SYSTEM_WGETRC when + provided as an environment variable. + +2009-02-27 Gisle Vanem + + * main.c (main): "freopen (NULL,.." causes an assertion in MSVC + debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works + fine. + +2009-02-27 Steven Schubiger + + * ftp.c (ftp_loop_internal): Don't claim for FTP retrievals + when writing to standard output either that the document + has been saved. Addresses bug #20520 again. + +2009-02-21 Steven Schubiger + + * 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. + +2009-02-18 Steven Schubiger + + * recur.h: Remove the dangling declaration for recursive_cleanup(). + +2008-11-13 Micah Cowan + + * http.c (gethttp): Don't do anything when content-length >= our + requested range. + +2008-11-27 Saint Xavier + + * http.c (gethttp): Move authentication code before filename + allocation avoiding fallbacking on default filename because + "Content-Disposition" header wasn't present before authentcation + has been completed. Fixes bug #24862. + +2008-11-16 Steven Schubiger + + * 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 + + * init.c (defaults): Set default waitretry value. + +2008-11-14 Steven Schubiger + + * main.c (format_and_print_line): Use a custom format + string for printing leading spaces. + +2008-11-12 Micah Cowan + + * ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href. + +2008-11-12 Alexander Belopolsky + + * url.c, url.h (url_escape_unsafe_and_reserved): Added. + + * ftp-ls.c (ftp_index): URL-escape, rather than HTML-escape, the + filename appearing in the link. + +2008-11-12 Steven Schubiger + + * main.c (print_version): Hand the relevant + xstrdup/xfree calls back to format_and_print_line(). + +2008-11-11 Steven Schubiger + + * main.c (format_and_print_line): Move both the memory + allocating and freeing bits upwards to print_version(). + +2008-11-10 Saint Xavier + + * http.c: Make --auth-no-challenge works with user:pass@ in URLs. + +2008-11-05 Micah Cowan + + * ftp.c (print_length): Should print humanized "size remaining" + only when it's at least 1k. + +2008-10-31 Micah Cowan + + * main.c (print_version): Add information about the mailing list. + +2008-10-31 Alexander Drozdov + + * retr.c (fd_read_hunk): Make assert deal with maxsize == 0. + + * ftp-ls.c (clean_line): Prevent underflow on empty lines. + +2008-10-26 Gisle Vanem + + * main.c (format_and_print_line): Put variables on top of + blocks (not all compilers are C99). Add an extra '\n' if + SYSTEM_WGETRC isn't defined and printed. + +2008-09-09 Gisle Vanem + + * url.c (url_error): Use aprintf, not asprintf. + +2008-09-09 Micah Cowan + + * init.c (home_dir): Save the calculated value for home, + to avoid duplicated work on repeated calls. + (wgetrc_file_name) [WINDOWS]: Define and initialize home var. + + * build_info.c, main.c: Remove unnecessary extern vars + system_wgetrc and locale_dir. + + * main.c: Define program_name for lib/error.c. + +2008-09-02 Gisle Vanem + + * mswindows.h: Must ensure is included before + we redefine ?vsnprintf(). + +2008-08-08 Steven Schubiger + + * main.c, utils.h: Removed some dead conditional DEBUG_MALLOC code. + +2008-08-03 Micah Cowan + + * main.c (print_help): Added --default-page. + +2008-08-01 Joao Ferreira + + * init.c, main.c, options.h, url.c: Added option --default-page + to support alternative default names for index.html + +2008-08-03 Micah Cowan + + * build_info.c, css-url.c: #include wget.h, not config.h. + +2008-08-03 Steven Schubiger + + * url.c, url.h (url_error): Better messages for unsupported + schemes, especially https. + + * html-url.c, recur.c, retr.c: Adjust to new url_error + invocation, and free result. + +2008-07-17 Steven Schubiger + + * retr.c (retrieve_from_file): When given an URL as input file, + use it as baseref if none was specified and treat the input file + as HTML if its content type is text/html. + + * init.c (cleanup): Free the memory associated with the base + option (when DEBUG_MALLOC is defined). + +2008-06-28 Steven Schubiger + + * retr.c (retrieve_from_file): Allow for reading the links from + an external file (HTTP/FTP). + +2008-06-25 Steven Schubiger + + * ftp.c (getftp): When spidering a FTP URL, emit a diagnostic + message if the remote file exists. + +2008-06-24 Steven Schubiger + + * http.c (http_loop): Replace escnonprint() occurence with + a quotearg_style() call. + +2008-06-24 Micah Cowan + + * ftp-ls.c (ftp_index): Don't assume time_t* is compatible with + long*. Fixes crash on Windows, and probably other systems. + +2008-06-22 Steven Schubiger + + * http.c: Explicitly initialize and deallocate the message + string used by the -nv --spider functionality. + +2008-06-22 Steven Schubiger + + * http.c: Make -nv --spider include the file's name when it + exists. + +2008-06-22 Micah Cowan + + * Makefile.am (version.c): Fixed version string invocation so it + once again can't result in unterminated strings, made all the + string vars pointers-to-const, and moved line lengths + below 80 (in Makefile.am, not in version.c). + +2008-06-16 Micah Cowan + + * http.c (http_loop): When hstat.len is higher than the + successfully completed content's length, but it's because we + _set_ it that way, don't abort. + +2008-06-13 Micah Cowan + + * build_info.c: ENABLE_NTLM, not HAVE_NTLM; distinguish OpenSSL + from "ssl". + +2008-06-13 Madhusudan Hosaagrahara + + * Makefile.am, main.c, init.c, init.h, build_info.c: Adds build + information to the --version command line option. Fixes bug + #20636. + +2008-06-01 Micah Cowan + + * main.c [WINDOWS]: Reopen stdout in binary mode, when -O - is + given. + +2008-05-31 Micah Cowan + + * html-url.c, http.c: Avoid casts in a couple spots. + +2008-05-30 Henri Häkkinen + + * cookies.c, ftp-basic.c, hash.c, html-url.c, http-ntlm.c, http.c, + init.c, log.c, main.c, progress.c, ptimer.c, spider.c, url.c, + utils.c: Minor changes to silence warnings when using -Wall. + +2008-05-26 Steven Schubiger + + * ftp.c (getftp): Replace last remaining invocation of escnonprint + with gnulib quote. + +2008-05-19 Micah Cowan + + * main.c (main): Password prompt should be done only once (not + once per argument), and should be done prior to the background + fork. + +2008-05-17 Steven Schubiger + + * init.c (defaults): Set the preferred IP family to `none' by + default. + +2008-05-17 Kenny Parnell + + (cmd_spec_prefer_family): Initialize prefer_family to prefer_none. + +2008-05-17 Micah Cowan + + * main.c (main): Handle Ctrl-D on command-line. + +2008-05-15 Steven Schubiger + + * ftp.c (getftp): Verify that the file actually exists in FTP, by + checking it against the listing. + +2008-05-15 Micah Cowan + + * main.c (prompt_for_password): Use the quote module. + +2008-05-14 Micah Cowan + + * ftp.c (ftp_retrieve_list): Symlinks and other filenames + should be fully quoted. + +2008-05-12 Micah Cowan + + * main.c (main): Downgrade "-N with -O" to a warning, and switch + it off to avoid confusing messages. + +2008-04-30 Micah Cowan + + * progress.c (create_image): Fix glitch where too many spaces are + printed on lines that don't display the ETA, in multibyte + locales. + +2008-04-30 Steven Schubiger + + * main.c (main): New code that handles prompting for passwords + when specified explicitly via command-line option (using gnulib's + getpass-gnu module). + (main): Include the getpass header. + + * init.c: Add "ask-password" to the list of recognized commands. + + * options.h: Add an according boolean member to the options + struct. + + * sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE + out, because they're now defined independently by config.h. + +2008-04-27 Rabin Vincent + + * http.c (http_loop): Fix return for the case where we don't + download a file because of -nc. + +2008-04-27 Micah Cowan + + * url.c (path_simplify): Go back to allowing leading ".." in + paths, but only for FTP URLs. + (test_path_simplify): Add scheme-specificness to tests, adapt for + mu_run_test. + + * test.c (all_tests): Add test_path_simplify. + + * main.c (main): Downgrade -r, -p with -O to a warning rather than + an error; elaborate just a bit more for other -O combination + cases. + +2008-04-26 Micah Cowan + + * http.c (gethttp): Move proxy CONNECT handling to below the + retry_with_auth label, to deal with properly reconnecting to + proxies when we need to authenticate. + +2008-04-25 Micah Cowan + + * Makefile.am: -I foo -> -Ifoo. + +2008-04-24 Micah Cowan + + * main.c: Revised usage description of --convert-links to apply + to CSS as well as to HTML. + +2008-04-23 Micah Cowan + + * utils.c (test_dir_matches_p): Added a test for the case + described in issue #20518. + +2008-04-22 Micah Cowan + + * Makefile.am, css.lex, css.l: Renamed css.lex to css.l. + * recur.c (retrieve_tree): Fix typo to allow text/css files to + be parsed. + +2008-04-22 Ted Mielczarek + + * css.lex, css-url.c, css-url.h: Added to implement support for + parsing CSS in Wget. + * convert.c: Convert links in CSS files, too. + * convert.h (convert_options): Added for options link_css_p, + link_expect_css. + * convert.h: Added prototype for new register_css function. + * html-parse.c: Added support for parsing element content, in + addition to tag starts and ends. + * html-parse.h (taginfo): Added delimiter fields for element + content. + * html-url.h: Added. + * html-url.c (append_url): No longer internal-linkage only. Now + takes position and size as explicit parameters. + * html-url.c: Use new html-url.h header, add support for + handling of "style" HTML attributes. Mark URIs obtained from + link tags with rel="stylesheet" with link_expect_css. Adapt + uses of append_url to supply the newly-added parameters for + position and size. + * http.c: Add detection for when the content-type is text/css; + and ensure that such files have the ".css" filename extension, + when --convert-links is active. + * recur.h: Remove declarations for functions found in + html-url.c (moved to html-url.h). + * recur.c: Add support for culling links from CSS files, too, + and tracking for when we're expecting the file to be CSS (even + when its content type isn't text/css). + * retr.c (retrieve_url): Add registration of CSS files. + * wget.h: Added TEXTCSS to dt flags enum. + * Makefile.am: Added css.lex, css-url.c, css-url.h, html-url.h + to wget_SOURCES. + +2008-04-22 Jim Paris + + * openssl.c (ssl_init): Enable combined certificate/key in + single file (apparent regression from ~1.9). Resolves issue + #22767. + +2008-04-22 Steven Schubiger + + * http.c (print_response_line): Changed to make responses always + be logged, even in --quiet mode, if --server-response was + specified. This is to bring http.c's handling of the situation + in line with ftp.c's. + +2008-04-22 Pranab Shenoy + + * init.c: Added test_commands_sorted unit test to check is + commands are sorted. Fixes bug #21245. + + * test.c: Added test_commands_sorted to the test suite. + +2008-04-22 Rabin Vincent + + * ftp.c (ftp_get_listing): Only remove .listing if it has been + created. + +2008-04-22 Alain Guibert + + * test.h (mu_run_test): Move declaration before statements, for + C90 conformance. Fixes bug #22789. + +2008-04-22 Mike Frysinger + + * Makefile.am: Move @LIBS@ after other libraries, for better + static-linking support. Fixes bug #22143. + 2008-04-16 Steven Schubiger * ftp.c: Use Gnulib's quote function for printing filenames and @@ -14,6 +448,7 @@ * progress.c: Likewise. * recur.c: Likewise. * res.c: Likewise. + * utils.c: Likewise. 2008-04-16 Steven Schubiger