X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=f53b6d49d25d926ca0ca2910e5f27856743f3563;hp=e1ee60822bb9e8171862f8114b883bcb069c8a34;hb=9dadbf6fe9577a6a6b7e7bab4e4b782fc1a6f86c;hpb=90a2d106cd5ed579cf86136cb34814427b3f33a3 diff --git a/src/ChangeLog b/src/ChangeLog index e1ee6082..f53b6d49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,443 @@ +2009-07-28 Micah Cowan + + * 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. + * convert.c (local_quote_string): Ditto. + + * init.c (commands): Add "adjustextension", and reflect rename + change for opt.adjust_extension, for both "adjustextension" and + "htmlextension". + +2009-07-27 Micah Cowan + + * options.h (struct options): Added restrict_files_nonascii + boolean field. + + * url.c (FILE_CHAR_TEST): Add check for chars outside the ASCII + range. + + * init.c (defaults): Add restrict_files_nonascii to initialization. + (cmd_spec_restrict_file_names): Allow parsing of "ascii" keyword. + +2009-07-27 Marcel Telka + + * iri.c (do_conversion): Typo: invalide -> invalid + +2009-07-27 Petr Pisar + + * main.c (print_help): Fixed a couple typos. + +2009-07-26 Micah Cowan + + * main.c (option_data): Rename --locale option to --local-encoding + (print_help): Document --no-iri, --local-encoding, and + --remote-encoding, within usage message. Remove defunct + --preserve-permissions. + +2009-07-23 Micah Cowan + + * progress.c (get_eta): Change "Translation note" in comment to + "TRANSLATORS", so it actually appears in wget.pot. + +2009-07-06 Micah Cowan + + * main.c (print_help): Improve documentation of --base. + +2009-07-05 Micah Cowan + + * html-url.c (tag_handle_meta): Handle meta name="robots" + properly: deal with whitespace, commas after... + + * netrc.c (parse_netrc): Rename local-scope variable "quote" to + "qmark", to avoid conflict with the function name. + +2009-07-05 Petr Pisar + + * main.c (print_version): Mark initial line for translation, along + with (env), (user), and (system). Change copyright year to 2009. + + * http.c (http_loop): Space after colon. + + * gnutls.c (ssl_check_certificate): Use quote function, rather + than explicit quotes. + +2009-07-05 Micah Cowan + + * Makefile.am (version.c): Add dependency on configure.ac. + + * iri.c: Mark some strings for translation. + +2009-07-04 Steven Schweda + + * 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 on VMS systems. + + * convert.c (write_backup_file): Use "_orig" rather than ".orig" + on VMS. + + * ftp-basic.c (ftp_list): Don't use LIST -a on VMS servers. + + * ftp.c [__VMS]: Include "vms.h" + * ftp.c (getftp): Disable some unhelpful "for VMS" code. Pass the + OS type to ftp_list. + (getftp) [__VMS]: Alter the filename as required, and invoke fopen + with extra optional arguments. + (ftp_retrieve_list): Set permissions before setting the times. + + * ftp-ls.c [__VMS]: Various improvements. + + * http.c (SET_USER_AGENT): Added. Include operating-system info in + the User-Agent header. + (gethttp): Use ORIG_SFX macro. + (gethttp) [__VMS]: invoke fopen with extra arguments to + communicate file type. + (http_loop): Add cast to time_t. + + * init.c (wgetrc_user_file_name) [__VMS]: Adjustments for where to + find the .wgetrc. + + * log.c: Adjustments to improve handling of log files on VMS. + + * main.c [__VMS]: Added --ftp-stmlf option (and associated + documentation). Adjust description of backup-suffixes, as they now + differ for VMS. + (print_help, print_version): Include OS type in version + information. + (main) [__VMS]: Invoke fopen with extra options, to specify file + type information. + + * netrc.c (search_netrc) [__VMS]: Fix .netrc-finding. + + * openssl.c, openssl.h (ssl_connect_wget): Renamed from ssl_connect. + + * options.h (struct options): Add ftp_stmlf field. + + * retr.c (write_data) [__VMS]: Avoid fflush. + + * url.c [__VMS]: Include vms.h. + * url.c (url_file_name) [__VMS]: Handle naming as required for VMS. + + * utils.c [__VMS]: Include vms.h. Various added facilities for VMS + needs. + +2009-07-04 Micah Cowan + + * main.c (print_version): Allow localization of the version-info + labels, eschew attempts at alignment (which is complicated when + handling translated strings), and avoid using printf() with + variable-stored format strings that lack conversion + specifications. + (format_and_print_line): For similar reasons, don't calculate + line-continuation tabulation based on the number of bytes in a + string. + +2009-07-04 Steven Schubiger + + * url.c (url_parse): If an URL scheme is invalid, distinguish + between an unsupported or missing scheme. + + * url.c: Add a "missing scheme" entry to parse_errors. + +2009-07-03 Micah Cowan + + * iri.h (iri_dup): Provide macro definition for when IRIs are + disabled. + + * Makefile.am (LIBS): Added @LIBICONV@. + (wget_SOURCES): Added iri.h. + (EXTRA_wget_SOURCES): Added iri.c, so it gets packaged even if IRI + support was disabled. + +2009-07-02 Micah Cowan + + * recur.c (url_enqueue): Quote enqueue/dequeue debug messages. + + * html-url.c (append_url): Change "merge()" quoting style from + locale_quoting_style to escape_quoting_style. + +2009-07-01 Micah Cowan + + * retr.c (retrieve_url): Use the existing "redirect" label, + instead of superfluous "second_try". Removed no-longer-accurate + debug statement. Use the "newloc" parameter to store the fallback + URL, when IRI version was rejected. + + * recur.c (retrieve_tree): Always use the parsed URL for tracking + the Referer, since that's the one we actually requested (if + there's a difference in terms of percent-encodings and such). + +2009-07-01 Steven Schubiger + + * 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 + + * html-url.c (append_url): Quote some more arguments that might + contain characters that are inappropriate to display for the + current locale. + + * retr.c (retrieve_from_file): Be sure to pass iri information + when parsing an input-fle url, and be sure to hand a clean iri + struct, off to retrieve_tree and retrieve_url. + + * iri.c, iri.h (iri_dup): Added. + + * retr.c (retrieve_url): Re-parse for IRI fallback. + + * main.c (main): Set up iri before the url_parse invocation (so we + can use it). + +2009-06-20 Jay Krell + + * sysdep.h (_ALL_SOURCE): (small change) Define the _ALL_SOURCE + macro on INTERIX systems. (I switched the location from ftp.c to + sysdep.h --mjc) + +2009-06-15 Micah Cowan + + * ftp.c (getftp): If we can't accept the connection, return + CONERROR, not whatever the contents of err happens to be. Fixes + bug #25015. + + * retr.c (fd_read_body): Make both args to progress_create + consistent, resulting in an accurate progress display. Fixes bug + #24948. + +2009-06-14 Micah Cowan + + * Makefile.am (wget_SOURCES): css-tokens.h needs to ship with + dist, too. + +2009-06-13 Micah Cowan + + * init.c: Rename setval_internal_wrapper to setval_internal_tilde, + ensure we don't "replace" the tilde unless it's actually + present. Clean up some minor GNU style issues. + +2009-06-13 Julien Pichon + + * init.c: Handle tilde-expansion in wgetrc commands, without + resorting to setting/unsetting globals to change behavior in one + call location. + +2009-06-12 Micah Cowan + + * host.c: Include before . Not + required by POSIX any more, but some older systems (such as + FreeBSD 4.1) still need it, and it doesn't seem like it could + hurt... + + * build_info.c (library): Handle "https" as a feature in its own + right, apart from "gnutls" and "openssl". + + * host.c: Declare h_errno if no declaration is provided. Idea + thanks to Maciej W. Rozycki. + +2009-06-11 Xin Zou + + * http.c (gethttp): Fix some memory leaks. + +2009-06-11 Micah Cowan + + * http.c (http_atotm): Handle potential for setlocale's return + value to be static storage. Thanks to Benjamin Wolsey + . + + * sysdep.h: Need NAMESPACE_TWEAKS on non-Linux glibc-based + systems, too. Thanks to Robert Millan. + +2009-05-28 Steven Schubiger + + * ftp.c (ftp_get_listing): Update the "listing file" + string after calling ftp_loop_internal(). + +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(). + +2009-02-01 Gerardo E. Gidoni + + * main.c, recur.c, recur.h, res.c, retr.c, retr.h: restructured code to + avoid multiple 'url_parse' calls. + +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. @@ -19,11 +459,27 @@ * init.c (cleanup): Free the memory associated with the base option (when DEBUG_MALLOC is defined). +2008-07-02 Xavier Saint + + * iri.c, iri.h : New function idn_decode() to decode ASCII + encoded hostname to the locale. + + * host.c : Show hostname to be resolved both in locale and + ASCII encoded. + 2008-06-28 Steven Schubiger * retr.c (retrieve_from_file): Allow for reading the links from an external file (HTTP/FTP). +2008-06-26 Xavier Saint + + * iri.c, iri.h : New functions locale_to_utf8() and + idn_encode() adding basic capabilities of IRI/IDN. + + * url.c : Convert URLs from locale to UTF-8 allowing a basic + support of IRI/IDN + 2008-06-25 Steven Schubiger * ftp.c (getftp): When spidering a FTP URL, emit a diagnostic @@ -48,7 +504,7 @@ * 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 @@ -56,12 +512,57 @@ string vars pointers-to-const, and moved line lengths below 80 (in Makefile.am, not in version.c). +2008-06-19 Xavier Saint + + * iri.c, iri.h : New function check_encoding_name() as + a preliminary encoding name check. + + * main.c, iri.c : Make use of check_encoding_name(). + +2008-06-19 Xavier Saint + + * iri.c : Include missing stringprep.h file and add a + cast. + + * init.c : set a default initial value for opt.enable_iri, + opt.locale and opt.encoding_remote. + +2008-06-19 Xavier Saint + + * iri.c, iri.h : Add a new function find_locale() to find + out the local system encoding. + + * main.c : Make use of find_locale(). + +2008-06-19 Xavier Saint + + * html-url.c : Add "content-type" meta tag parsing for + retrieving page encoding. + + * iri.h : Make no-op version of parse_charset() return + NULL. + 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-14 Xavier Saint + + * iri.c, iri.h : New files. + + * Makefile.am : Add files iri.h and conditional iri.c. + + * build_info.c : Add compiled feature "iri". + + * http.c : include iri.h and parse charset from Content-Type + header. + + * init.c, main.c, options.h : if an options isn't supported + at compiled time, don't get rid off it and show a dummy + message instead if they are used. + 2008-06-13 Micah Cowan * build_info.c: ENABLE_NTLM, not HAVE_NTLM; distinguish OpenSSL @@ -105,11 +606,11 @@ 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 @@ -148,7 +649,7 @@ * 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.