+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.
+
+2001-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * cookies.c: Declare http_atotm.
+
+2001-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp-ls.c (ftp_parse_unix_ls): Use octal constants for
+ permissions. A compiler that doesn't accept octal constants is
+ seriously broken and shouldn't be used -- octal constants were
+ present in K&R C!
+
+2001-01-20 Karl Eichwalder <ke@suse.de>
+
+ * Makefile.in: Provide and use DESTDIR according to the Coding
+ Standards.
+
+2001-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp-ls.c (ftp_parse_vms_ls): Make seconds optional in time
+ specification.
+
+2001-04-11 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (parseurl): Don't strip trailing slash when u->dir is "/"
+ because that strips the *leading* slash, thus forcing relative
+ FTP retrieval.
+
+2001-04-10 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp.c (getftp): Convert initial FTP directory from VMS to UNIX
+ notation for VMS servers.
+ (ftp_retrieve_dirs): Do not prepend '/' to f->name when
+ odir is an empty string.
+
+2001-04-10 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp-ls.c (ftp_parse_winnt_ls): Made the fix for AM/PM more
+ effective. Suggested by Edward J. Sabol.
+
+2001-04-10 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * cookies.c (build_cookies_request): Use and sort cookies from all
+ matching domains.
+ (build_cookies_request): Check for duplicates before generating
+ the `Cookies' header.
+
+ * main.c (main): Don't load cookies here.
+ (main): Make loadcookies and savecookies call the correct command.
+
+ * http.c (http_loop): Load cookies on-demand.
+
+2001-04-09 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Fix indentation of SSL ifdef.
+
+2001-04-09 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (ftp_retrieve_dirs): Don't forcibly prepend "/" to u->dir;
+ that hack is no longer necessary.
+ (getftp): Prepend initial directory to *non*-absolute u->dir's.
+
+2001-04-09 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * init.c (cmd_file): New function.
+ (enable_tilde_expansion): New variable.
+ (run_wgetrc): Use it.
+ (cmd_file): Use it.
+
+2001-04-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * init.c: Include cookie-related options.
+
+ * main.c (main): Include cookie-specific options.
+ (main): Load cookies before download is finished.
+ (main): Save cookies when done.
+
+ * http.c (gethttp): Process the `Set-Cookie' header.
+ (gethttp): Include cookies in the response.
+
+ * cookies.c: New file.
+
+2001-04-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (datetime_str): New function.
+
+2001-04-08 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp-ls.c (ftp_parse_winnt_ls): The AM/PM change did assume
+ 12:01PM == 00:01, which was obviously wrong. Taken care of this
+ anomaly.
+
+ * ChangeLog: Removed an excess conflict marker. Reformatted the
+ entry by Philipp Thomas from 2001-03-09.
+
+ * ftp-ls.c (ftp_parse_winnt_ls): Ensure that adjusted PM hours lay
+ between 0 and 23. Elminate unused variable `sec'.
+
+2001-04-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * hash.c (hash_table_count): New function.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (read_file): Cast MAP_FAILED to char *. Enforced by
+ Digital Unix cc.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * config.h.in: Oops, do the namespace tweaks only on systems we
+ know about.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * hash.c: Include <string.h>.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * config.h.in: Define "compilation environment" options that work
+ under Linux and Solaris. To be reviewed on other OS'es.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Prepend literal newline with `\n\'.
+
+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * sysdep.h: Don't define VERY_LONG_FORMAT.
+
+ * utils.c (very_long_to_string): New function.
+ (legible_very_long): Use it; don't use VERY_LONG_FORMAT.
+
2001-04-04 Christian Fraenkel <christian.fraenkel@gmx.net>
* url.c (parse_uname): Would run past the end of the string if the
2001-03-09 Philipp Thomas <pthomas@suse.de>
- * safe-ctype.h: New file. Locale independent ctype.h
- replacement taken from libiberty.
- safe-ctype.c: New file. Tables for above.
- Makefile.in: Add safe-ctype$o to OBJS.
- Add dependencies for safe-ctype$o.
- cmpt.c: Remove include of ctype.h. Use ISSPACE instead
- of isspace.
- ftp-basic.c: Don't include ctype.h.
- ftp-ls.c: Likewise.
- ftp.c: Likewise.
- headers.c: Likewise.
- host.c: Likewise.
- html-parse.c: Likewise.
- html-url.c: Likewise.
- http.c: Likewise.
- init.c: Likewise.
- main.c: Likewise. Set LC_CTYPE along with LC_MESSAGES.
- netrc.c: Likewise.
- recur.c: Likewise.
- retr.c: Likewise.
- snprintf.c: Replace ctype.h with safe-ctype.h. Use
- ISDIGIT instead of isdigit.
- sysdep.h: Remove defines of ctype macros as they aren't
- needed for safe-ctype-h.
- url.c: Don't include ctype.h.
- utils.c: Likewise.
- wget.h: Include safe-ctype.h.
+ * safe-ctype.h: New file. Locale independent ctype.h replacement
+ taken from libiberty.
+
+ * safe-ctype.c: New file. Tables for above.
+
+ * Makefile.in: Add safe-ctype$o to OBJS. Add dependencies for
+ safe-ctype$o.
+
+ * cmpt.c: Remove include of ctype.h. Use ISSPACE instead of
+ isspace.
+
+ * ftp-basic.c: Don't include ctype.h.
+
+ * ftp-ls.c: Likewise.
+
+ * ftp.c: Likewise.
+
+ * headers.c: Likewise.
+
+ * host.c: Likewise.
+
+ * html-parse.c: Likewise.
+
+ * html-url.c: Likewise.
+
+ * http.c: Likewise.
+
+ * init.c: Likewise.
+
+ * main.c: Likewise. Set LC_CTYPE along with LC_MESSAGES.
+
+ * netrc.c: Likewise.
+
+ * recur.c: Likewise.
+
+ * retr.c: Likewise.
+
+ * snprintf.c: Replace ctype.h with safe-ctype.h. Use ISDIGIT
+ instead of isdigit.
+
+ * sysdep.h: Remove defines of ctype macros as they aren't needed
+ for safe-ctype-h.
+
+ * url.c: Don't include ctype.h.
+
+ * utils.c: Likewise.
+
+ * wget.h: Include safe-ctype.h.
2001-03-27 Dan Harkless <wget@harkless.org>