]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Allow decimal values for --timeout, --wait, and --waitretry.
[wget] / src / ChangeLog
index efc3f891e7e21f6377bd05673c512991e0757500..a2d4d7b52330fc34b74b9d8c5751cc989e4fcb31 100644 (file)
@@ -1,3 +1,57 @@
+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.