X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2FChangeLog;h=e7470ac0c1ce4d963f77afc9b0d2848a5c6eb94c;hb=f3d3a50a5697957befaf94cb44797234a68068c3;hp=3b2d48a28d1c0de5a5dfa961212202827d63dab6;hpb=f2bb99d102a7e78bf60e6485d6fe81d0657d0f9b;p=wget diff --git a/src/ChangeLog b/src/ChangeLog index 3b2d48a2..e7470ac0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,225 @@ +2002-04-14 Hrvoje Niksic + + * connect.c (connect_with_timeout): Firing SIGALRM can result in + connect() exiting with EINTR. Treat EINTR the same as ETIMEDOUT. + +2002-04-13 Hrvoje Niksic + + * connect.c (connect_with_timeout): Use it. + + * utils.c (run_with_timeout): New function. + +2002-04-13 Hrvoje Niksic + + * url.c (getproxy): Accept a struct url argument. This obviates + the need for USE_PROXY_P. + + * retr.c (retrieve_url): Allow proxy to be a non-FTP URL. + + * ftp.c (getftp): Recognize FWTK-style proxy. + +2002-04-12 Hrvoje Niksic + + * config.h.in: Only define _VA_LIST when compiled with gcc. + +2002-04012 Ian Abbott + + * http.c (http_loop): Compensate for MS Windows two-second + granularity of file modification time when comparing timestamps. + + * ftp.c (ftp_retrieve_list): Ditto. + +2002-04-12 Ian Abbott + + * utils.c (has_html_suffix_p): New function to test filename for + common html extensions. + + * utils.h: Declare it. + + * http.c (http_loop): Use it instead of previous test. + + * retr.c (retrieve_url): Ditto. + + * recur.c (download_child_p): Ditto. + +2002-04-12 Hrvoje Niksic + + * config.h.in: Define _VA_LIST on Solaris to prevent stdio.h from + declaring va_list. + From Kevin Rodgers . + +2002-04-12 Ian Abbott + + * Makefile.in: Specify libtool mode explicitly when linking. + +2002-04-12 Hrvoje Niksic + + * connect.c (connect_with_timeout): New function. + (connect_to_one): Use it. + + * config.h.in: Add stubs for HAVE_SIGSETJMP, HAVE_SIGBLOCK, and + HAVE_SETJMP_H. + +2002-04-11 Hrvoje Niksic + + * log.c: Set WGET_USE_STDARG if __STDC__ is defined and stdarg.h + is present. + +2002-04-11 Hrvoje Niksic + + * progress.c (bar_create): If INITIAL is larger than TOTAL, fix + TOTAL. + (bar_finish): Likewise. + +2002-04-11 Hrvoje Niksic + + * html-url.c (tag_handle_form): New function. Pick up form + actions and mark them for conversion only. + +2002-04-11 Hrvoje Niksic + + * progress.c (struct progress_implementation): Use PARAMS when + declaring the parameters of *create, *update, *finish, and + *set_params. + + * netrc.c: Ditto. + + * http.c: Reformat some function definitions so that ansi2knr can + read them. + + * hash.c (struct hash_table): Use the PARAMS macro around + parameters in the declaration of hash_function and test_function. + (prime_size): Spell 2580823717UL and 3355070839UL as (unsigned + long)0x99d43ea5 and (unsigned long)0xc7fa5177 respectively, so + that pre-ANSI compilers can read them. + (find_mapping): Use PARAMS when declaring EQUALS. + (hash_table_put): Ditto. + + * ftp.h: Wrap the parameters of ftp_index declaration in PARAMS. + + * cookies.c (cookie_new): Use (unsigned long)0 instead of 0UL, + which was unsupported by pre-ANSI compilers. + + From Nelson H. F. Beebe , for the most part. + +2002-04-11 Hrvoje Niksic + + * url.c (url_filename): Use compose_file_name regardless of + whether opt.dirstruct is set. + (mkstruct): Don't handle the query and the reencoding of DIR; that + is done in compose_file_name. + +2002-04-10 Hrvoje Niksic + + * wget.h: Ditto for extern char *exec_name. + + * options.h: Don't guard against OPTIONS_DEFINED_HERE -- it is + perfectly legal to follow an `extern' with a non-`extern' ones, + provided the types match. + + * main.c: Don't define OPTIONS_DEFINED_HERE. + +2002-04-10 Hrvoje Niksic + + * progress.c (create_image): Revert to calculating ETA based on + average download speed. + (create_image): Don't print ETA until the download has been active + for at least 3 seconds. + (create_image): When ETA is not available, don't print anything. + The previous version would print --:--. + +2002-04-10 Hrvoje Niksic + + * progress.c (bar_update): Keep updating a subinterval until it + reaches or exceeds a watermark. That way the measurement will be + guaranteed to span a configurable minimum of time. The current + default is 3s in 30 100ms intervals. + +2002-04-09 Hrvoje Niksic + + * progress.c (bar_update): Maintain an array of the time it took + to perform previous 30 network reads. + (create_image): Calculate the download speed and ETA based on the + last 30 reads, not the entire download. + (create_image): Make sure that the ETA is not changed more than + once per second. + +2002-04-09 Ian Abbott + + * mswindows.c (borland_utime): New function conditionally defined + when `HACK_BCC_UTIME_BUG' is defined. A reimplementation of + `utime()' as Borland's `utime()' function is broken on Windows 9x + systems. (Original patch by Chin-yuan Kuo .) + +2002-04-08 Hrvoje Niksic + + * ftp.c (ftp_loop): Propagate the result of ftp_retrieve_glob. + +2002-03-26 Ian Abbott + + * Makefile.in: Updated several dependencies for object files. + +2002-03-20 Ian Abbott + + * mswindows.c: Include "utils.h". + +2002-03-18 Ian Abbott + + * host.h: Don't include netdb.h on windows. + +2002-02-19 Hrvoje Niksic + + * recur.c (retrieve_tree): Handle the case when start_url doesn't + parse. + +2002-02-19 Andreas Damm + + * wget.h (DO_REALLOC_FROM_ALLOCA): Multiply with sizeof(type) when + calling xmalloc and memcpy. + +2002-02-19 Hrvoje Niksic + + * host.h: Include Unix-specific includes #ifndef WINDOWS. + Patch originally provided by Christian Lackas. + +2002-02-11 Christian Lackas + + * recur.c: recurive downloading for https fixed. + +2002-02-19 Alan Eldridge + + * host.h: Also include and . + + * ftp-basic.c: Also include . + +2002-02-05 Ian Abbott + + * http.c (gethttp): when -c used, mark already fully retrieved + file as successfully retrieved. + +2002-02-19 Hrvoje Niksic + + * url.c (url_parse): Don't treat '?' as query string separator + when parsing FTP URLs. + +2002-02-01 Hrvoje Niksic + + * html-url.c (tag_handle_meta): Don't crash on where content is missing. + +2002-01-31 Herold Heiko + + * ftp-basic.c, host.c: don't include sys/socket.h, arpa/inet.h, + netdb.h on windows. + +2002-01-30 Hrvoje Niksic + + * retr.c (retrieve_url): Remove redirection cycle detection. This + is because some sites legitimately redirect the user back to the + same location, e.g. after an authorization check performed by + another page. MAX_REDIRECTIONS is still used to prevent infinite + redirection loops. + 2002-01-26 Hrvoje Niksic * http.c (gethttp): Wrap host name in square brackets if it