+2001-11-22 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (path_simplify): Don't remove trailing slashes.
+
+ * ftp.c (ftp_get_listing): Use it.
+
+ * utils.c (file_merge): New function.
+
+ * url.c (opt_url): Removed.
+
+ * recur.c (recursive_retrieve): Inline "opt_url" logic.
+
+ * main.c (main): Use xfree(), not free().
+
+ * url.c (rewrite_url_maybe): Renamed to rewrite_shorthand_url.
+
+ * ftp.c (ccon): Move `ccon' typedef here, since it's only used
+ internally.
+
+ * config.h.in: Include a stub for HAVE_STRPBRK.
+
+ * cmpt.c (strpbrk): Include a replacement for systems without
+ strpbrk().
+
+ * ftp.c: Use url_set_dir and url_set_file when modifying the URL.
+
+ * url.c (url_set_dir): New function.
+ (url_set_file): Ditto.
+
+ * ftp-basic.c (ftp_process_type): Process FTP type here; the URL
+ parser makes the URL "params" available, so we can do that in this
+ function.
+
+ * retr.c: Ditto.
+
+ * ftp.c: Ditto; pass the local file information in `ccon'.
+
+ * http.c: Get rid of the ugly kludge that had URL being replaced
+ with the proxy URL when proxy retrieval was requested. Use a
+ separate parameter to http_loop and gethttp for the proxy URL.
+
+ * http.c: Changed to reflect the fact that local file, proxy, and
+ referer information are no longer stored in struct url. The local
+ file information is passed in `struct hstat' now.
+
+ * url.c: Reworked URL parsing to be more regular. Reencode the
+ URL using reencode_string.
+ Removed non-URL-related information from struct url. This
+ includes fields `proxy', `local', and `referer'.
+
+2001-11-22 Jochen Hein <jochen@jochen.org>
+
+ * main.c (main): Split the copyright notice for easier
+ translation.
+
+2001-08-21 Dave Turner <dct25@hermes.cam.ac.uk>
+
+ * ftp-basic.c (ftp_size): New function to send non-standard SIZE
+ command to server to request file size.
+ * ftp.h (ftp_size): Export it.
+ * ftp.c (getftp): Use new ftp_size function if restoring
+ transfer of a file with unknown size.
+
+2001-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (parseurl): Don't depend on the now-obsolete TYPE.
+
+2001-11-19 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (getproxy): Handle URL shorthands.
+
+2001-11-19 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c: Remove --wait / --waitretry backwards compatibility
+ code.
+
+2001-11-19 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (main): Use it.
+
+ * url.c (rewrite_url_maybe): New function.
+
+2001-11-19 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c: Clean up handling of URL schemes.
+
+2001-05-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c: Get rid of `protostrings'.
+ (skip_proto): Don't use protostrings.
+ (has_proto): Ditto.
+
+2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * Makefile.in: Conditionally compile getopt.o.
+
+2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * md5.h: Renamed to gnu-md5.h.
+
+ * md5.c: Renamed to gnu-md5.c.
+
+ * http.c: Ditto.
+
+ * ftp-opie.c: Use the new macros.
+
+ * sysdep.h: Define md5-related macros.
+
+ * config.h.in: Define HAVE_SOLARIS_MD5 or HAVE_BUILTIN_MD5
+ depending on which md5 implementation is used.
+
+2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * res.c (res_register_specs): Initialize OLD and HP_OLD to appease
+ the compiler.
+
+2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Print the whole response line when printing
+ headers is requested.
+
+2001-05-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * res.c: New file. Implement all RES-related code here.
+
+2001-11-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * version.c: Wget 1.7.1 is released.
+
+2001-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * headers.c (header_extract_number): Ignore trailing whitespace.
+
+2001-08-24 Ian Abbott <abbotti@mev.co.uk>
+
+ * html-url.c (collect_tags_mapper): Fix bug converting links
+ with -k option for tags with multiple link attributes by
+ handling links in the order they appear.
+
+2001-08-15 Ian Abbott <abbotti@mev.co.uk>
+
+ * ftp.c (ftp_loop_internal): Avoid a potential buffer overflow in
+ the call to the 'rate' function by moving it past the error
+ checking for the 'getftp' function return value.
+
+2001-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * html-parse.c (advance_declaration): Use 0x22 instead of '"' or
+ '\"'. Different compilers' assert macros are broken in different
+ ways.
+
+2001-09-29 Christian Fraenkel <c.fraenkel@gmx.net>
+
+ * http.c (gethttp): print debug output for errors occuring during
+ the ssl handshake.
+
+2001-11-16 Chris Seawood <cls@seawood.org>
+
+ * init.c: Ditto.
+
+ * host.c: Ditto.
+
+ * connect.c: Ditto.
+
+ * sysdep.h: Support compilation under BEOS.
+
+2001-06-08 Edward J. Sabol <sabol@alderaan.gsfc.nasa.gov>
+
+ * url.c (url_equal): Fix a memory leak when parseurl returns an
+ error on the second URL. Also, since url_equal is not used at the
+ moment, do not compile it.
+
+ * url.h: Ditto for the prototype of url_equal.
+
+2001-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * html-parse.c (map_html_tags): Support XML-style empty tags.
+
+2001-06-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * wget.h (DO_REALLOC_FROM_ALLOCA): Check for do_realloc_newsize in
+ loop condition because we're no longer setting SIZEVAR here.
+
+2001-06-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * wget.h (DO_REALLOC_FROM_ALLOCA): Set SIZEVAR after the memcpy()
+ call because it needs the old value.
+
+2001-06-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * cookies.c (ATTR_NAME_CHAR): Allow almost any character to be in
+ an attribute name.
+
+2001-06-18 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (url_filename): Make sure that slashes that sneak in to
+ u->file via query string get protected.
+ (file_name_protect_query_string): New function.
+
+2001-06-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * recur.c (recursive_retrieve): Also check undesirable_urls with
+ canonicalized URL.
+
+2001-06-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Search `.netrc' with real host, not the proxy
+ one.
+
+2001-06-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * sysdep.h (MAP_FAILED): Provide MAP_FAILED for systems that don't
+ define it.
+
+2001-06-09 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp.h: Provide correct prototype for ftp_parse_ls().
+
+2001-06-04 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * version.c: Wget 1.7 is released.
+
+2001-06-03 Karl Eichwalder <ke@suse.de>
+
+ * ftp-ls.c (ftp_parse_ls): Fix typo.
+
+2001-05-27 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * all: Update copyright information.
+
+2001-05-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Indicate that the continued download failed
+ for *this* file.
+
+2001-05-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * version.c: Wget 1.7-pre1 is released.
+
+2001-05-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * version.c: Updated version to 1.7-pre1.
+
+2001-05-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * gen_sslfunc.c: Don't include <sys/time.h> directly.
+
+2001-05-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Use real URL data for cookies, not the proxy
+ stuff.
+
+2001-05-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (print_help): Document `--no-http-keep-alive'.
+
+ * utils.c (numdigit): Handle negative numbers *correctly*.
+
+ * hash.c (make_nocase_string_hash_table): Use term "nocase" rather
+ than the confusing "unsigned".
+
+ * utils.c (string_set_contains): Renamed from string_set_exists.
+
+ * hash.c (hash_table_contains): Renamed from hash_table_exists.
+
+ * cookies.c: Move case-insensitive hash tables to hash.c.
+
+2001-05-09 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Before concluding that the file is already
+ fully retrieved, make sure that the file existed and `Range' was
+ actually requested.
+
+2001-05-09 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * cookies.c (eliminate_dups): New function.
+ (build_cookies_request): Use it.
+ (build_cookies_request): Set chain_store_size after reallocating
+ all_chains.
+ (check_domain_match): Annotated for easier future debugging.
+ (store_cookie): In the debug message, print whether the cookie is
+ permanent.
+
+2001-05-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): Reset no_truncate before deciding whether to
+ set it.
+ (gethttp): Further clarify "-c conflicts with existing file" error
+ message, based on input from Herold Heiko.
+
+2001-05-07 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): If restval is set, set no_truncate to 1
+ unconditionally.
+
+2001-05-02 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp-ls.c (ftp_parse_winnt_ls): Assure months are being correctly
+ converted. Pointed out by <Stefan.Weil@de.heidelberg.com>.
+ (ftp_parse_vms_ls): Ditto.
+
+2001-04-30 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * init.c (cmd_address): Zero SIN before using it; apparently
+ needed on *BSD.
+
+2001-04-29 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (ftp_loop_internal): Don't set NO_TRUNCATE if the file is
+ empty.
+
+2001-04-29 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (main): Make `--cookies' respect its argument.
+
+2001-04-28 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (main): Removed undocumented option `--email-address'.
+
+ * netrc.c: Use the latest read_whole_line.
+
+ * init.c (defaults): Set opt.ftp_pass to "-wget@".
+
+ * mswindows.c (pwd_cuserid): Ditto.
+
+ * utils.c (pwd_cuserid): Removed.
+
+ * host.c (ftp_getaddress): Removed.
+
+2001-04-28 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ (http_loop): Allocate space for filename_plus_orig_suffix with
+ alloca; this is more efficient and removes the need to free it
+ before each and every return.
+
+2001-04-28 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Return RETRUNNEEDED when the retrieval is
+ unneeded because the file is already there and fully downloaded,
+ and -c is specified.
+ (http_loop): Handle RETRUNNEEDED.
+
+ * wget.h (uerr_t): New value RETRUNNEEDED.
+
+ * http.c (http_loop): Set no_truncate for files that both exist
+ and are non-empty.
+ (gethttp): Consider the download finished when restval >= contlen,
+ not only when restval==contlen.
+ (gethttp): Handle redirection before giving up due to -c.
+ (gethttp): Clarify error message which explains that -c will not
+ truncate the file.
+ (gethttp): When returning CONTNOTSUPPORTED, don't forget to free
+ the stuff that needs freeing and release the socket.
+
+2001-04-27 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (print_help): Wget booleans accept "off", not "no".
+
+2001-04-27 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): If allow_cache is zero, always disable
+ caching, not only when retrieving through proxy.
+
+ * init.c: Ditto.
+
+ * options.h (struct options): Rename proxy_cache to allow_cache.
+
+2001-04-27 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (mktime_from_utc): Improve documentation.
+ (http_atotm): Put format strings into a separate array.
+
+2001-04-27 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * safe-ctype.h: Instead of throwing #error when isalpha is
+ defined, redefine it to something that will throw a compile-time
+ error if actually *used*. Do the same for the rest of the
+ standard C macros.
+
+2001-04-26 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (getproxy): Ignore empty proxy vars.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): Would load cookies every time.
+
+ * cookies.c (load_cookies): Handle cookies whose values contain
+ embedded spaces.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c: Define each DIGITS_* in one line.
+
+2001-04-25 Roger L. Beeman <beeman@cisco.com>
+
+ * http.c (http_atotm): Initialize t.tm_isdst to 0.
+ (mktime_from_utc): Prevent mktime() from having discontinuities at
+ DST transition points.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * html-url.c (get_urls_html): Fix documentation.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (UNSAFE_CHAR): Reimplement using a static table.
+ (url_init): Removed.
+ (init_unsafe_char_table): Removed.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * snprintf.c (dopr): Replace ISDIGIT with '0' <= ch && ch <= '9'.
+
+2001-04-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c: Document timer functions.
+
+ * retr.c (rate): Use it.
+ (rate): Print in GB/s if transfer rate exceeds 1 GB/s.
+
+ * utils.c (wtimer_granularity): New function.
+
+2001-04-24 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * retr.c (show_progress): Ditto.
+
+ * ftp.c (getftp): Ditto.
+
+ * http.c (gethttp): Use new timer functions.
+
+ * utils.c (wtimer_allocate): New function.
+ (wtimer_new): Ditto.
+ (wtimer_delete): Ditto.
+ (wtimer_reset): Ditto.
+ (wtimer_elapsed): Ditto.
+
+2001-04-24 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (long_to_string): New, faster version. Favors smaller
+ numbers; much of the calculation is now done at compile-time.
+
+2001-04-24 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (numdigit): Handle negative numbers.
+
+2001-04-23 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * retr.c (show_progress): Print the download rate even when the
+ percentages are not available.
+
+2001-04-21 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (getftp): Adjust expected_bytes if the length is
+ authoritative.
+
+2001-04-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c: Don't declare `construct'.
+
+ * hash.c (grow_hash_table): Speed up rehashing; inline storing of
+ mappings to new locations.
+ (hash_table_new): Make resize_threshold a field in the hash table,
+ so we don't have to recalculate it in each hash_table_put.
+ (grow_hash_table): Update resize_threshold.
+ (MAX): Remove unused macro.
+ (prime_size): Made static.
+
+2001-04-14 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * retr.c (retrieve_url): Call uri_merge, not url_concat.
+
+ * html-url.c (collect_tags_mapper): Call uri_merge, not
+ url_concat.
+
+ * url.c (mkstruct): Use encode_string instead of xstrdup followed
+ by URL_CLEANSE.
+ (path_simplify_with_kludge): Deleted.
+ (contains_unsafe): Deleted.
+ (construct): Renamed to uri_merge_1.
+ (url_concat): Renamed to uri_merge.
+
+2001-04-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (str_url): Use encode_string instead of the unnecessary
+ CLEANDUP.
+ (encode_string_maybe): New function, returns input string if no
+ encoding is needed.
+ (encode_string): Call encode_string_maybe to do the dirty work,
+ xstrdup if no work needed.
+
+2001-04-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * wget.h (XDIGIT_TO_xchar): Define here.
+
+ * url.c (decode_string): Use new name.
+ (encode_string): Ditto.
+
+ * http.c (XDIGIT_TO_xchar): Rename HEXD2asc to XDIGIT_TO_xchar.
+ (dump_hash): Use new name.
+
+ * wget.h: Rename ASC2HEXD and HEXD2ASC to XCHAR_TO_XDIGIT and
+ XDIGIT_TO_XCHAR respectively.
+
+2001-04-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * init.c: Include cookies.h.
+
+ * cookies.h: Declare cookies_cleanup.
+
+ * cookies.c (check_domain_match): Remove unused variable.
+ (save_cookies): Remove extraneous argument from debug statement.
+
+ * host.c (same_host): Don't call skip_url.
+
+ * url.c (skip_url): Removed. Removed its calls from various
+ functions in url.c.
+
+2001-04-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * cookies.c (unsigned_string_hash): Use the new code in
+ string_hash as reference.
+
+ * hash.c (hash_table_map): Allow deletion and change of the
+ element processed by MAPFUN.
+ (string_hash): Use the function from glib.
+
+2001-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * config.h.in: Include #undef stub.
+
+ * hash.c (hash_table_remove): Rewrite to actually clear deleted
+ entries instead of just marking them as deleted.
+
2001-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
* hash.h: Declare hash_table_get_pair and hash_table_count.