+2009-09-11 Steven Schweda <sms@antinode.info>
+
+ * utils.c, utils.h (fopen_excl): Make second argument an int,
+ rather than a bool (so it can handle the appropriate VMS version
+ of the flag).
+
+ * main.c (print_version): Don't print LOCALEDIR unless NLS is
+ enabled.
+
+ * http.c (gethttp): Pass FOPEN_BIN_FLAG, instead of true.
+
+ * ftp.c (ftp_retrieve_glob): Cast strcmp to assign to cmp, for a
+ silly HP build environment.
+
+2009-09-08 Steven Schubiger <stsc@member.fsf.org>
+
+ * main.c, init.c: Mark the --preserve-permissions and
+ --html-extension option as deprecated.
+
+2009-09-06 Micah Cowan <micah@cowan.name>
+
+ * ftp.c (getftp, ftp_loop_internal): Separate "len" input/output
+ parameter (with different meanings for input and output), into two
+ separate parameters, one input (passed_expected_bytes) and one
+ output (qtyread). Fixes bug #26870.
+
+2009-09-05 Steven Schubiger <stsc@member.fsf.org>
+
+ * retr.h: Declare set_local_file() to avoid build warnings.
+
+2009-09-05 Gisle Vanem <gvanem@broadpark.no>
+
+ * connect.c, init.c, main.c, openssl.c, options.h: Replace
+ "ifdef MSDOS" with "ifdef USE_WATT32" since DOS-targets in fact
+ use the Watt-32 tcp/ip stack.
+
+2009-09-04 Micah Cowan <micah@cowan.name>
+
+ * Makefile.am: Move build_info.c to wget_SOURCES from
+ nodist_wget_SOURCES, reduce dependencies, and invoke build_info.pl
+ in its new home, $(top_srcdir)/build-aux.
+
+2009-09-03 Micah Cowan <micah@cowan.name>
+
+ * ftp-ls.c (ftp_parse_vms_ls): Replace use of localtime_r with
+ localtime, as not all platforms have localtime_r.
+
+ * Makefile.am (wget_SOURCES): Rearranged some of the file order,
+ so .c files and .h files are apart. Added gettext.h, so that it
+ shows up in the dist.
+
+2009-09-02 Micah Cowan <micah@cowan.name>
+
+ * gettext.h: Refreshed from gettext 0.17.
+
+ * test.c: Added definition of program_name variable, required by
+ lib/error.c (libgnu.a). Doesn't cause problems until you try to
+ build on a non-GNU system...
+
+ * build_info.c.in: Removed useless "+gettext" feature ad.
+
+2009-08-29 Steven Schubiger <stsc@member.fsf.org>
+
+ * convert.c (local_quote_string): Percent-encode semicolons
+ in local file strings.
+
+2009-08-27 Micah Cowan <micah@cowan.name>
+
+ * wget.h (uerr_t): added new VERIFCERTERR code for SSL certificate
+ problems. Marked exit codes that are defined but never used (at
+ least, the ones I could find).
+
+ * retr.c, retr.h (retrieve_url): Added a new boolean argument to
+ determine whether an exit status should be recorded.
+ (retrieve_from_file): Adjust to new retrieve_url signature.
+
+ * res.c (res_retrieve_file): Don't have retrieve_url record an
+ exit status for robots.txt.
+
+ * recur.c (retrieve_tree): Adjust to new retrieve_url signature.
+
+ * main.c (main): Use the exit status stored by retrieve_url.
+
+ * http.c (gethttp): Distinguish certificate verification problems
+ from SSL connection issues.
+ (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>
+
+ * http.c (gethttp): Make sure Wget heeds cookies when they
+ are sent with a 401 response; or any other sort of response for
+ that matter (#26775).
+
+2009-08-19 Micah Cowan <micah@cowan.name>
+
+ * openssl.c (ssl_check_certificate): Only warn about an attack if
+ the hostname would otherwise have matched. Also some formatting
+ cleanup.
+
+2009-08-19 Joao Ferreira <joao@joaoff.com>
+
+ * openssl.c (ssl_check_certificate): Detect embedded NUL
+ characters in the SSL certificate common name.
+
+2009-08-17 Tony Lewis <tlewis@exelana.com>
+
+ * http.c (gethttp): Ensure that we parse Content-Length before we
+ attempt to refer to its value. Without this fix, NTLM support was
+ completely buggered. #27192
+
+2009-08-09 Michael Baeuerle <michael.baeuerle@gmx.net>
+
+ * ftp.c: #include <strings.h> for strcasecmp.
+
+2009-07-28 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.
+ * 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 <micah@cowan.name>
+
+ * 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 <marcel@telka.sk>
+
+ * iri.c (do_conversion): Typo: invalide -> invalid
+
+2009-07-27 Petr Pisar <petr.pisar@atlas.cz>
+
+ * main.c (print_help): Fixed a couple typos.
+
+2009-07-26 Micah Cowan <micah@cowan.name>
+
+ * 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 <micah@cowan.name>
+
+ * progress.c (get_eta): Change "Translation note" in comment to
+ "TRANSLATORS", so it actually appears in wget.pot.
+
+2009-07-06 Micah Cowan <micah@cowan.name>
+
+ * main.c (print_help): Improve documentation of --base.
+
+2009-07-05 Micah Cowan <micah@cowan.name>
+
+ * 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 <petr.pisar@atlas.cz>
+
+ * 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 <micah@cowan.name>
+
+ * Makefile.am (version.c): Add dependency on configure.ac.
+
+ * iri.c: Mark some strings for translation.
+
+2009-07-04 Steven Schweda <sms@antinode.info>
+
+ * 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.
+
+ * 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 <micah@cowan.name>
+
+ * 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 <stsc@member.fsf.org>
+
+ * 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 <micah@cowan.name>
+
+ * 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 <micah@cowan.name>
+
+ * 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 <micah@cowan.name>
+
+ * 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 <stsc@member.fsf.org>
+
+ * 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>
+
+ * 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 <jay.krell@cornell.edu>
+
+ * 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 <micah@cowan.name>
+
+ * 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 <micah@cowan.name>
+
+ * Makefile.am (wget_SOURCES): css-tokens.h needs to ship with
+ dist, too.
+
+2009-06-13 Micah Cowan <micah@cowan.name>
+
+ * 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 <julienpichon7@gmail.com>
+
+ * 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 <micah@cowan.name>
+
+ * host.c: Include <sys/types.h> before <sys/socket.h>. 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 <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
+ value to be static storage. Thanks to Benjamin Wolsey
+ <bwy@benjaminwolsey.de>.
+
+ * sysdep.h: Need NAMESPACE_TWEAKS on non-Linux glibc-based
+ systems, too. Thanks to Robert Millan.
+
+2009-05-28 Steven Schubiger <stsc@member.fsf.org>
+
+ * ftp.c (ftp_get_listing): Update the "listing file"
+ string after calling ftp_loop_internal().
+
+2009-05-27 Steven Schubiger <stsc@member.fsf.org>
+
+ * 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 <stsc@member.fsf.org>
+
+ * progress.c (eta_to_human_short): Fix the remaining hours
+ to be displayed. Spotted by Tadeu Martins (#26411).
+
+2009-04-24 Micah Cowan <micah@cowan.name>
+
+ * hash.c: Change stdint.h inclusion to use HAVE_STDINT_H, not C99
+ check.
+
+ * 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".
+
+2009-04-13 Steven Schubiger <stsc@member.fsf.org>
+
+ * 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
+ provided as an environment variable.
+
2009-02-27 Gisle Vanem <gvanem@broadpark.no>
* 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 <stsc@member.fsf.org>
+
+ * 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 <stsc@member.fsf.org>
* http.c (http_loop): When a document is written to
* recur.h: Remove the dangling declaration for recursive_cleanup().
+2009-02-01 Gerardo E. Gidoni <gerel@gnu.org>
+
+ * 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 <micah@cowan.name>
* http.c (gethttp): Don't do anything when content-length >= our
* init.c (cleanup): Free the memory associated with the base
option (when DEBUG_MALLOC is defined).
+2008-07-02 Xavier Saint <wget@sxav.eu>
+
+ * 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 <stsc@members.fsf.org>
* retr.c (retrieve_from_file): Allow for reading the links from
an external file (HTTP/FTP).
+2008-06-26 Xavier Saint <wget@sxav.eu>
+
+ * 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 <stsc@members.fsf.org>
* ftp.c (getftp): When spidering a FTP URL, emit a diagnostic
* http.c: Make -nv --spider include the file's name when it
exists.
-
+
2008-06-22 Micah Cowan <micah@cowan.name>
* Makefile.am (version.c): Fixed version string invocation so it
string vars pointers-to-const, and moved line lengths
below 80 (in Makefile.am, not in version.c).
+2008-06-19 Xavier Saint <wget@sxav.eu>
+
+ * 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 <wget@sxav.eu>
+
+ * 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 <wget@sxav.eu>
+
+ * 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 <wget@sxav.eu>
+
+ * 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 <micah@cowan.name>
* 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 <wget@sxav.eu>
+
+ * 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 <micah@cowan.name>
* build_info.c: ENABLE_NTLM, not HAVE_NTLM; distinguish OpenSSL
default.
2008-05-17 Kenny Parnell <k.parnell@gmail.com>
-
+
(cmd_spec_prefer_family): Initialize prefer_family to prefer_none.
2008-05-17 Micah Cowan <micah@cowan.name>
-
+
* main.c (main): Handle Ctrl-D on command-line.
2008-05-15 Steven Schubiger <schubiger@gmail.com>
* 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.