+2006-07-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * 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
+ compiler warnings on 64-bit platforms.
+
+ * 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
+ and | as a character Windows can't handle.
+
+2006-06-28 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * res.c: Implemented is_robots_txt_url function for detection of
+ robots.txt URLs and related test routine.
+
+ * res.h: Ditto.
+
+ * url.c: Implemented are_urls_equal function for URL comparison and
+ related testing routine.
+
+ * url.h: Ditto.
+
+ * convert.c: Fixes for recursive spider mode: don't consider
+ 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
+ is_robots_txt_url.
+
+2006-06-26 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * wget.h (wgint): Typedef to any 64-bit (or larger) type we can
+ find, not necessarily off_t or long.
+
+2006-06-26 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (strtoll): Check for overflow and underflow without
+ relying on (technically) undefined behavior. Don't assume that
+ strtoll_type is 64 bits wide.
+
+2006-06-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (base64_encode): Cast void pointer to char * before
+ doing arithmetic.
+
+2006-06-20 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (base64_encode): Made TBL const.
+ (base64_decode): Made the base64_char_to_value table const.
+
+2006-06-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (base64_encode): Made the DATA pointer void * so the
+ callers can pass it any kind of pointer (including both signed and
+ unsigned char pointers).
+ (base64_decode): Ditto for DEST.
+
+2006-06-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (base64_encode): Would read past end of STR.
+ Reported by rick@eckle.org.
+
+2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * options.h (struct options): Introduced member restrict_files_case to
+ keep track of preferences on character case restrictions for
+ filenames.
+
+ * init.c: Modified defaults and cmd_spec_restrict_file_names to
+ support character case restrictions for filenames. Added
+ test_cmd_spec_restrict_file_names unit test.
+
+ * url.c: Modified append_uri_pathel to support character case
+ restrictions for filenames. Added test_append_uri_pathel unit test.
+
+ * test.c: Added test_cmd_spec_restrict_file_names and
+ test_append_uri_pathel to the list of unit tests to run.
+
+2006-06-12 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * retr.c (retrieve_from_file): Use retrieve_tree and automatically
+ turn on opt.follow_ftp in case of recursive FTP retrieval through HTTP
+ proxy.
+
+ * main.c: Automatically turn on opt.follow_ftp in case of recursive
+ FTP retrieval through HTTP proxy.
+
+2006-06-12 Tony Lewis <tlewis@exelana.com>
+
+ * main.c: Improved CHEN Peng's patch by proposing a simpler logic.
+
+2006-06-12 CHEN Peng <chenpeng@alumni.nus.edu.sg>
+
+ * main.c: Use retrieve_tree in case of recursive FTP retrieval through
+ HTTP proxy.
+
+2006-05-25 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * convert.c: Added mechanisms to keep track broken links.
+
+ * convert.h: Ditto.
+
+ * wget.h: Reordered and enumerated uerr_t constants.
+
+ * recur.c: Fixes to support recursive spider mode.
+
+ * http.c: Ditto.
+
+ * main.c: Print broken links in case of recursive spider mode.
+
+ * retr.c: Changed interface of retrieve_url.
+
+ * retr.h: Ditto.
+
+ * ftp.c: Changed interface of ftp_loop.
+
+ * ftp.h: Ditto.
+
+ * res.c: Minor change to reflect changes in interface of retrieve_url.
+
+2006-05-18 Lawrence Jones <lawrence.jones@ugs.com>
+
+ * ftp-ls.c (ftp_parse_unix_ls): Correct size parsing, add size
+ and filename debugging output.
+
+2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * http.c: If Content-Disposition header is present, allow unique
+ filename generation unless -nc is given. Permit to disable parsing of
+ Content-Disposition header.
+
+ * options.h: Added option --no-content-disposition to disable parsing
+ of HTTP Content-Disposition header.
+
+ * init.c: Ditto.
+
+ * main.c: Ditto.
+
+2006-04-11 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * hash.c (TOLOWER): Wrap macro arg in parentheses.
+
+2006-04-08 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (parse_content_disposition): Doc fix.
+
+2006-03-15 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * utils.c: Restricted operational semantics of frontcmp and proclist
+ from generic strings to directory names and them to subdir_p and
+ dir_matches_p respectively. Applied George Ogata's one line patch to
+ restrict algorithm of subdir_p to full directory name matching. Added
+ 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 *.
+
+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'
+ in case of failure.
+
+2006-03-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * hash.c (TOLOWER): Fix definition when STANDALONE.
+ Reported by Beni Serfaty.
+
+2006-03-02 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * http.c (http_loop): Fixed recursive HTTP retrieval.
+
+2006-02-28 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (extract_param): Declare extern so it can be used from
+ other files.
+ (extract_param): Return error for empty name.
+
+2006-02-28 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (find_last_char): Define in terms of memrchr.
+
+ * cmpt.c (memrchr): Define it on systems that don't have it.
+
+ * http.c (extract_param): New function for parsing header values
+ with parameters.
+ (parse_content_disposition): Use it. Don't allow slashes and
+ backslashes in the file name.
+
+2006-02-27 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (path_simplify): Don't preserve ".." at beginning of path.
+ Suggested by Frank McCown.
+
+2006-02-25 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (gethttp): Only use FILE.N.html if FILE.html exists.
+
+2006-02-09 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * mswindows.c (run_with_timeout): Made thread_hnd non-static.
+
+2006-02-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * retr.c (sleep_between_retrievals): Sleep at a minimum of 1/2 of
+ the specified wait period.
+
+2006-02-03 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (number_to_string): Don't use sprintf for printing
+ WGINT_MIN; simply divide n by 10 and defer printing the last
+ digit.
+ (number_to_string): Removed the SPRINTF_WGINT macro.
+
+2006-02-03 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * http.c: Fixed support for Content-Disposition header.
+
+ * test.c: Added test_parse_content_disposition to the list of unit
+ tests to run.
+
+2006-02-02 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * hash.c: Don't define countof if it's already defined.
+
+ * hash.c: Obtain the definition of uintptr_t when standalone.
+
+2006-01-30 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * http.c: Changed output format. Removed excessively verbose debugging
+ output.
+
+2005-12-07 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * 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.
+
+2005-11-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * hash.c (INVALID_PTR): Use uintptr_t instead of unsigned long.
+ (hash_pointer): Don't assume a pointer fits in `unsigned long'.
+
+2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * Makefile.in: Removed support for unit testing (now it is in
+ tests/Makefile.in).
+
+2005-10-27 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * 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.
+
+2005-10-09 Russ Allbery <rra@stanford.edu>
+
+ * snprintf.c: Remove round to round_int and pow10 to pow10_int, to
+ avoid warnings from GCC 4.0.
+
+2005-10-05 Mauro Tortonesi <mauro@ferrara.linux.it>
+
+ * retr.c: Changed semantics of no_proxy_match.
+
+2005-09-17 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * main.c (main): Don't print the summary if nothing has been downloaded.
+
+2005-09-17 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * retr.c (retr_rate): Rename parameter from MSECS to SECS since it
+ no longer holds milliseconds.
+
+2005-09-01 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * progress.c: Introduce symbolic constants for "magic" values of
+ 0.2 and 0.9, REFRESH_INTERVAL and ETA_REFRESH_INTERVAL.
+
+2005-08-27 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (strtoll): Correctly handle strtoll("0x", ptr, 0) and
+ strtoll("0x<nonhexchar>", ptr, 0) -- in both cases *ptr must be
+ set to the position of 'x', not after it.
+
+2005-08-27 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * hash.c (hash_table_map): Rename to hash_table_for_each and
+ update callers.
+ Document the meaning of the callback's return value.
+ (hash_table_iterate): New function.
+ (hash_table_iter_next): Likewise.
+ Update most places that used hash_table_for_each to use the
+ iteration, which doesn't require a temporary function with
+ explicit state management.
+
+2005-08-26 Albert Chin <wget@mlists.thewrittenword.com>
+
+ * Makefile.in: Use @datadir@. Define localedir as $(datadir)/locale.
+
+2005-08-26 Jeremy Shapiro <jnshapiro@gmail.com>
+
+ * openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY.
+
+2005-08-23 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * host.c (address_list_from_ipv4_addresses): Use IP_INADDR_DATA.
+
+2005-08-12 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * wget.h: Renamed strtoll_return to strtoll_type.
+
+2005-08-11 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * progress.c (eta_to_human_short): Switch to days when printing
+ more than 48h rather than 100h. (It's not immediately apparent
+ how many days there are in 83h.)
+
+2005-08-11 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (strtoll): Define it if missing on the system and if Wget
+ needs it.
+
+ * mswindows.c (str_to_int64): Move to cmpt.c and rename to strtoll.
+
+2005-08-10 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * host.c (print_address): Always use inet_ntop when IPv6 is
+ enabled.
+
+ * host.h (ip_address): Simplify the data union.
+
+2005-08-09 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * mswindows.c (inet_ntop): Also handle IPv4 addresses for
+ completeness.
+
+2005-08-09 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (gethttp): Don't read more than the amount of data
+ specified by the content-length header.
+
+2005-08-09 Vasil Dimov <vd@datamax.bg>
+
+ * ftp.c (getftp): Don't free RESPLINE if ftp_response returns a
+ status other than FTPOK.
+
+2005-08-04 Giuseppe Bonacci <g.bonacci@libero.it>
+
+ * ftp-ls.c (ftp_parse_unix_ls): Remember the position of the
+ previous token instead of backtracking back to it.
+
+2005-07-08 Gisle Vanem <giva@bgnett.no>
+
+ * mswindows.h: Include process.h to get getpid() declaration.
+
+2005-07-08 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (aprintf): Use vasprintf where available.
+
+2005-07-08 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (rewrite_shorthand_url): Simplify code using aprintf and
+ strspn.
+
+2005-07-07 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * gnutls.c (ssl_check_certificate): Check for the validity of the
+ presented X509 certificate.
+
+2005-07-07 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * openssl.c (ssl_check_certificate): Print custom error messages
+ for frequent X509 certificate problems.
+
+2005-07-07 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * mswindows.h: Define an alias for stat and fstat, as requested by
+ config-compiler.h.
+ (gai_strerror): Define to windows_strerror if NEED_GAI_STRERROR is
+ defined.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * mswindows.h: Use strtoll where available.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * sysdep.h: Add a full declaration of fnmatch.h.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c: Unconditionally include <setjmp.h>.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (fnmatch_nocase): New function.
+ (proclist): Use it instead of fnmatch when opt.ignore_case is
+ requested.
+ (in_acclist): Respect opt.ignore_case.
+ (frontcmp): Respect opt.ignore_case.
+
+ * options.h (struct options): New flag opt.ignore_case.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * ptimer.c: Measure time in seconds rather than milliseconds.
+ Adjusted all callers.
+
+2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (gethttp): When freeing MESSAGE, take into account that
+ it can be NULL.
+
+2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (timegm): Handle years after 2099.
+
+2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (timegm): Remove unused variable.
+
+2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * cmpt.c (timegm): Don't call mktime; simply count the seconds
+ between 1970-01-01 and the specified date.
+
+2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * wget.h (or): Define HAVE_SSL when either HAVE_OPENSSL or
+ HAVE_GNUTLS are defined.
+
+ * gnutls.c: New file.
+
+2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * http.c (gethttp): Don't print the request write error message
+ twice.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * openssl.c (openssl_errstr): Instead of always using a large
+ static buffer, only allocate the error string when there is an
+ actual error.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * xmalloc.c (debugging_free): Prefix hex pointer value with "0x"
+ when printing.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to
+ get the next non-whitespace character.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c (base64_decode): Don't silently tolerate non-base64
+ non-white-space characters in the base64 stream.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match
+ transport_map_modified_tick.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * config-post.h (alloca): Updated declaration to not enumerate all
+ Windows compilers.
+
+2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * openssl.c (openssl_errstr): Separate error messages with "; ".
+
+2005-07-03 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * ftp.c (getftp): Ditto.
+
+ * http.c (gethttp): Use fd_errstr.
+
+ * connect.c (fd_register_transport): Restructure parameters to
+ include only a single structure that describes transport
+ implementation.
+
+ * openssl.c (openssl_errstr): New function: dump SSL error strings
+ into a static buffer and return a pointer to the buffer.
+
+ * connect.c (fd_errstr): New function; returns transport-specific
+ error message, or strerror(errno) if transport doesn't supply one.
+
+2005-07-03 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * mswindows.h: Also wrap accept() and listen().
+
+2005-07-03 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (path_end): Skip separators appropriate for the scheme.
+ (strpbrk_or_eos): Remove gcc-specific version, as the optimization
+ it tried to perform no longer applies.
+
+2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * host.c: Don't include "connect.h" now that we no longer have
+ socket_has_inet6.
+
+2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * host.c: Remove extraneous definition of netdb.h.
+
2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>
- * http.c (gethttp): Except for head_only, use skip_short_body to
- skip the non-20x error message before leaving gethttp.
+ * http.c (gethttp): Skip error message body in the keep-alive
+ case.
2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>