+2003-09-22 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * progress.c (create_image): Print the initial part of the
+ download with '-' characters, analogous to how dot progress prints
+ the initial part with ','.
+
+ * hash.c (ptrhash): New function.
+ (ptrcmp): Ditto.
+ (hash_table_new): Default to identity hash table.
+
+2003-09-22 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * safe-ctype.h (_sch_test): The cast of BIT to unsigned char was
+ broken -- _sch_istable bitmasks are 16-bit, not 8-bit! Cast BIT
+ to unsigned short instead.
+
+2003-09-22 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (path_simplify): Instead of calls to memmove, handle "./"
+ and "../" by advancing pointers.
+
+2003-09-22 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * retr.c (getproxy): Moved from url.c.
+
+ * convert.c: Split off link conversion from url.c into separate
+ file. Also included the book-keeping stuff from recur.c.
+
+2003-09-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * init.c: Improved documentation of functions.
+ (cmd_boolean): Attempt to make code that tries to avoid calling
+ strcmp for "speed" a bit more readable.
+
+ * init.c (simple_atof): Report error on encountering non-digit,
+ non-"." character.
+ (simple_atoi): Replacement for myatoi(), calling interface
+ compatible with simple_atof. Updated myatoi's callers.
+
+2003-09-21 Bertrand Demiddelaer <bert@b3rt.org>
+
+ * url.c (path_simplify): Would read two bytes past the end of the
+ string in the "./" case.
+
+2003-09-21 Matthew J. Mellon <mellon@tymenet.com>
+
+ * http.c (gethttp): Recognize content-type "application/xhtml+xml"
+ as what Wget considers "text/html".
+
+2003-09-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * connect.c (connect_with_timeout): Made timeout type double.
+
+ * options.h (struct options): New members read_timeout,
+ dns_timeout, and connect_timeout.
+ Use them.
+
+2003-09-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * init.c (simple_atof): New function.
+ (cmd_time): Use it.
+ (cmd_bytes): Accept things like "1.5k" and such. Use simple_atof
+ to parse decimals.
+
+ * retr.c (limit_bandwidth): Adjust each sleep by the error of the
+ previous one.
+
+2003-09-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * main.c (main): Use setoptval() for setting the options. Use
+ run_command for `-e'.
+
+ * init.c (parse_line): Rewritten to return COMIND right away.
+ Changed linkage to static.
+ (run_wgetrc): Use the available comind when calling setval, so it
+ doesn't have to be computed twice.
+ (setval_internal): New function, runs the command's action without
+ any error checking.
+ (setoptval): New function, does what setval used to do, but exits
+ in case of error.
+ (run_command): New function.
+
+2003-09-21 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * connect.c (select_fd): Change MAXTIME's type to double. Handle
+ its decimal part.
+
+ * retr.c (sleep_between_retrievals): In the random-wait case, use
+ random_float() to wait between 0 and 2*opt.wait seconds.
+
+ * utils.c (run_with_timeout): Accept `double' timeouts. Correctly
+ handle timeout values in (0, 1) range.
+ (random_float): New function.
+
+ * options.h (struct options): Change the types of wait, waitretry,
+ and timeout to double.
+
+ * init.c (cmd_time): Accept floating point time.
+
+2003-09-20 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * retr.c (get_contents): Cosmetic fixes.
+
+2003-09-20 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (uri_merge): Get rid of uri_merge_1.
+ (uri_merge): Merge "foo//", "bar" as "foo//bar", not "foo///bar",
+ i.e. don't add an extra slash merely because BASE ends with two
+ slashes.
+ (parse_credentials): Renamed from parse_uname. Rewrittern in
+ standard [beg, end) calling style.
+ (url_skip_credentials): Renamed from url_skip_uname. Made static.
+ (url_skip_credentials): Include # and ; as terminators. Old code
+ would mistakenly consider "http://foo.com#hniksic@iskon.hr" to
+ contain a username.
+ (url_skip_scheme): Removed because it was unused.
+ (url_has_scheme): Require "scheme" to be at least one char long.
+
+2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (url_file_name): Expect NULL dir_prefix.
+
+ * init.c (cmd_file): Use a macro to prevent multiple #ifdef
+ WINDOWS.
+ (defaults): Set dir_prefix to NULL by default.
+
+2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * safe-ctype.h (_sch_test): Cast BIT to unsigned char, like latest
+ gcc does.
+
+2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * wget.h (BOUNDED_TO_ALLOCA): Evaluate PLACE only once.
+ (ARRAY_SIZE): Renamed to countof. All callers updated.
+
+2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * main.c (main): New option --strict-comments.
+
+ * html-parse.c (find_comment_end): New function: simple BM search
+ for "-->".
+ (map_html_tags): Use it if looking at a comment and not in strict
+ comments mode.
+
+2003-09-17 Aurelien Marchand <artaxerxes@users.sf.net>
+
+ * ftp.h: Added OS400 system in enum
+ * ftp-basic.c: recognize OS400 systems
+ * ftp.c: don't prepend the CWD if talking to OS400, since it
+ breaks the change in library
+
+2003-09-18 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * retr.c (get_contents): Pass the correct argument to ssl_iread.
+
+2003-09-18 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * safe-ctype.h: Don't #define ctype.h macros to errors because
+ that loses when someone #include's ctype.h after safe-ctype.h.
+
+2003-09-17 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c: Undef U, W, C after use.
+
+2003-09-17 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * init.c (cmd_spec_restrict_file_names): Allow the OS setting to
+ be augmented by ",nocontrol" which means don't escape the control
+ characters, but otherwise keep OS settings.
+
+ * url.c (file_unsafe_char): Deleted.
+ (append_uri_pathel): Query filechr_table directly.
+ (filechr_table): Separated Unix, Windows, and control-unsafe
+ characters.
+
2003-09-17 Hrvoje Niksic <hniksic@xemacs.org>
* url.c (url_escape_1): New function.