X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2FChangeLog;h=c5faaf22fc133b454d38727d8a5e5fc9457fa053;hb=30ac043b0a4a9a983dd1b50ce1c89ed953019292;hp=647a198fb7a17094661d5fce02a00168896d2ee9;hpb=4aaf8fdceaa1fc484e0937f744023527a70add8a;p=wget diff --git a/src/ChangeLog b/src/ChangeLog index 647a198f..c5faaf22 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,270 @@ +2003-09-03 Ahmon Dancy + + * main.c init.c options.h: Added --retry-connrefused option so + that Connection Refused failures are treated as non-fatal (when + trying to retrieve from busy servers). + + * wget.h: New CONNECT_ERROR macro for encapsulating this + modification. + + * ftp.c http.c : Use CONNECT_ERROR macro in places where + ECONNREFUSED was checked. + +2003-01-11 Ian Abbott + + * ftp.c (ftp_retrieve_glob): Reject insecure filenames as determined + by calling new function has_insecure_name_p. This is based on a + patch by Red Hat. + + * fnmatch.c (has_insecure_name_p): New function: returns non-zero + if filename starts with `/' or contains `../' and is therefore + considered insecure. + + * fnmatch.h: Declare has_insecure_name_p(). + +2002-08-03 Hrvoje Niksic + + * init.c (cmd_file): Allocate RESULT correctly. + +2002-07-24 Hrvoje Niksic + + * recur.c (retrieve_tree): Check whether downloaded_html_set is + non-NULL before using it. + +2002-05-27 Hrvoje Niksic + + * html-parse.c (NAME_CHAR_P): Allow almost any character here. + +2002-05-24 Hrvoje Niksic + + * progress.c (bar_set_params): Fall back to dot progress if the + terminal type is "emacs". + +2002-05-20 Hrvoje Niksic + + * log.c: Don't #undef WGET_USE_STDARG. + +2002-05-16 Hrvoje Niksic + + * hash.c (prime_size): Store the offset of the prime number in the + prime table. When searching, start with the given offset. + (hash_table_new): Pass the pointer to ht->prime_offset to + prime_size. + (grow_hash_table): Ditto. + (prime_size): Make 13 the first prime to make empty hash tables + slightly smaller. + +2002-05-16 Ian Abbott + + * recur.c (download_child_p): Minor optimization to avoid an + unnecessary additional call to schemes_are_similar_p function. + +2002-05-16 Ian Abbott + + * url.c (schemes_are_similar_p): New function to test enumerated + scheme codes for similarity. + + * url.h: Declare it. + + * recur.c (download_child_p): Use it to compare schemes. This + also fixes a bug that allows hosts to be spanned (without the + -H option) when the parent scheme is https and the child's is + http or vice versa. + +2002-05-14 Bill Richardson + + * ftp.c (getftp): Don't ftruncate stdout. + + * http.c (gethttp): Don't ftruncate stdout. + +2002-05-09 Ian Abbott + + * cmpt.c (strptime_internal): Synched with glibc-2.1.3. + (get_number): Ditto. + (get_alt_number): Ditto. + (__isleap): New function-like macro used by strptime. + (day_of_the_week): New function used by strptime. + (day_of_the_year): Ditto. + (__mon_yday): Now shared by mktime and strptime implementations. + +2002-05-08 Hrvoje Niksic + + * cookies.c (check_domain_match): Use match_tail in case + insensitive mode. + + * utils.c (match_tail): Allow the caller to specify case + insensitive mode. + + * cookies.c (store_cookie): When expiry_time is 0, print it as + undefined, not indefinite. + +2002-05-07 Ian Abbott + + * cookies.c (cookie_jar_process_set_cookie): Do not store + discarded cookie. + +2002-04-21 Hrvoje Niksic + + * cookies.c (check_domain_match): Allow cookies to be set for + subdomains of unknown top-level domains under some circumstances. + +2002-04-21 Thomas Lussnig + + * gen_ssl.c: + - allow checking of server cert + - allow defining client cert type + - allow limit of ssl protocol + - check more return values + - added debug message on break + +2002-04-21 Hrvoje Niksic + + * recur.c (download_child_p): Revert order of items in check + number 6 for clarity. + +2002-04-20 Hrvoje Niksic + + * init.c: Ditto. + + * main.c: Ditto. + + * http.c: Use the new interface. + + * cookies.c: Provide an OO-style "cookie jar" interface to enable + separate cookie jars. + + * http.c (http_atotm): Declare argument as const. + +2002-04-20 Hrvoje Niksic + + * cookies.c (cookie_new): Default to PORT_ANY. + (find_cookie_chain_exact): Only search by DOMAIN. + (find_matching_cookie): Also check that PORT matches. + (store_cookie): Only match the domain. + (set_cookie_header_cb): When a cookie "fakes" a domain, assume it + is valid for that host rather than discarding it completely. + (find_matching_chains): Don't search by PORT. + (matching_cookie): Also match PORT. + (load_cookies): Set the port if specified, otherwise leave it as + ANY. + (save_cookies_mapper): Save the port if specified, otherwise leave + it empty. + +2002-04-19 Thomas Lussnig + + * init.c: The option `egdfile' was not in sort order. + +2002-04-16 Hrvoje Niksic + + * ftp.c (getftp): Treat directories that begin with : as + absolute. + (getftp): Strip trailing slashes from con->id before merging it + with TARGET. + +2002-04-16 Hrvoje Niksic + + * http.c (gethttp): If Content-Type is not given, assume + text/html. + +2002-04-15 Hrvoje Niksic + + * recur.c (download_child_p): Don't ignore rejection of HTML + documents that are themselves leaves of recursion. + +2002-04-15 Ian Abbott + + Makefile.in: Updated several dependencies for object files to take + account of nested include files. + +2002-04-15 Ian Abbott + + Makefile.in: The target `connect$o' (connect.o) now depends on + `utils.h' + +2002-04-15 Ian Abbott + + * host.c (SET_H_ERRNO): New function-like macro to set `h_errno'. + (gethostbyname_with_timeout): Use it. + + * utils.c: Don't define `SETJMP()', `run_with_timeout_env' or + `abort_run_with_timeout()' when `USE_SIGNAL_TIMEOUT' is undefined. + +2002-04-15 Hrvoje Niksic + + * host.c (getaddrinfo_with_timeout): New function. + (gethostbyname_with_timeout): Ditto. + (lookup_host): Use them. + +2002-04-14 Hrvoje Niksic + + * utils.c (number_to_string): Handle the case when n < -INT_MAX. + +2002-04-14 Hrvoje Niksic + + * init.c (comind): Use a marginally faster implementation of + binary search. To quote Martin Buchholz, "a nanosecond saved is a + nanosecond earned." + +2002-04-14 Hrvoje Niksic + + * main.c (print_help): Document `--post-data' and `--post-file'. + +2002-04-14 Hrvoje Niksic + + * http.c (gethttp): Ditto. + + * retr.c (retrieve_url): Initialize variables to appease the + compiler. + + * gen_sslfunc.c (ssl_iread): Don't handle EINTR when calling + select_fd. + (ssl_iwrite): Ditto. + + * connect.c (select_fd): Rewrite to handle EINTR. Set errno to + ETIMEDOUT in case of timeout. + (iread): No need to handle EINTR when calling select_fd. + (iwrite): Ditto. + +2002-04-14 Hrvoje Niksic + + * retr.c (retrieve_url): Make sure that POST is not honored for + redirections. + + * http.c (gethttp): Send the POST data when requested. + (post_file): New function. + (gethttp): Use it. + + * main.c (main): Ditto. + + * init.c: Add new options. + + * options.h (struct options): New options post_data and + post_file_name. + +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