X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2FChangeLog;h=12c7e3efb8198a3ed2a63f076c207f60fbcfdab8;hb=5ff5e936a561ee9e5bf5036430c14b2b4c669cf0;hp=1b2bc25dc0fb26c54bfb13906af55895988247ed;hpb=5fa53b5a1debb7cd33b260292060d7a45fed282a;p=wget diff --git a/src/ChangeLog b/src/ChangeLog index 1b2bc25d..12c7e3ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,285 @@ +2001-05-02 Jan Prikryl + + * ftp-ls.c (ftp_parse_winnt_ls): Assure months are being correctly + converted. Pointed out by . + (ftp_parse_vms_ls): Ditto. + +2001-04-30 Hrvoje Niksic + + * init.c (cmd_address): Zero SIN before using it; apparently + needed on *BSD. + +2001-04-29 Hrvoje Niksic + + * ftp.c (ftp_loop_internal): Don't set NO_TRUNCATE if the file is + empty. + +2001-04-29 Hrvoje Niksic + + * main.c (main): Make `--cookies' respect its argument. + +2001-04-28 Hrvoje Niksic + + * main.c (main): Removed undocumented option `--email-address'. + + * netrc.c: Use the latest read_whole_line. + + * init.c (defaults): Set opt.ftp_pass to "-wget@". + + * mswindows.c (pwd_cuserid): Ditto. + + * utils.c (pwd_cuserid): Removed. + + * host.c (ftp_getaddress): Removed. + +2001-04-28 Hrvoje Niksic + + (http_loop): Allocate space for filename_plus_orig_suffix with + alloca; this is more efficient and removes the need to free it + before each and every return. + +2001-04-28 Hrvoje Niksic + + * http.c (gethttp): Return RETRUNNEEDED when the retrieval is + unneeded because the file is already there and fully downloaded, + and -c is specified. + (http_loop): Handle RETRUNNEEDED. + + * wget.h (uerr_t): New value RETRUNNEEDED. + + * http.c (http_loop): Set no_truncate for files that both exist + and are non-empty. + (gethttp): Consider the download finished when restval >= contlen, + not only when restval==contlen. + (gethttp): Handle redirection before giving up due to -c. + (gethttp): Clarify error message which explains that -c will not + truncate the file. + (gethttp): When returning CONTNOTSUPPORTED, don't forget to free + the stuff that needs freeing and release the socket. + +2001-04-27 Hrvoje Niksic + + * main.c (print_help): Wget booleans accept "off", not "no". + +2001-04-27 Hrvoje Niksic + + * http.c (http_loop): If allow_cache is zero, always disable + caching, not only when retrieving through proxy. + + * init.c: Ditto. + + * options.h (struct options): Rename proxy_cache to allow_cache. + +2001-04-27 Hrvoje Niksic + + * http.c (mktime_from_utc): Improve documentation. + (http_atotm): Put format strings into a separate array. + +2001-04-27 Hrvoje Niksic + + * safe-ctype.h: Instead of throwing #error when isalpha is + defined, redefine it to something that will throw a compile-time + error if actually *used*. Do the same for the rest of the + standard C macros. + +2001-04-26 Hrvoje Niksic + + * url.c (getproxy): Ignore empty proxy vars. + +2001-04-25 Hrvoje Niksic + + * http.c (http_loop): Would load cookies every time. + + * cookies.c (load_cookies): Handle cookies whose values contain + embedded spaces. + +2001-04-25 Hrvoje Niksic + + * utils.c: Define each DIGITS_* in one line. + +2001-04-25 Roger L. Beeman + + * http.c (http_atotm): Initialize t.tm_isdst to 0. + (mktime_from_utc): Prevent mktime() from having discontinuities at + DST transition points. + +2001-04-25 Hrvoje Niksic + + * html-url.c (get_urls_html): Fix documentation. + +2001-04-25 Hrvoje Niksic + + * url.c (UNSAFE_CHAR): Reimplement using a static table. + (url_init): Removed. + (init_unsafe_char_table): Removed. + +2001-04-25 Hrvoje Niksic + + * snprintf.c (dopr): Replace ISDIGIT with '0' <= ch && ch <= '9'. + +2001-04-25 Hrvoje Niksic + + * utils.c: Document timer functions. + + * retr.c (rate): Use it. + (rate): Print in GB/s if transfer rate exceeds 1 GB/s. + + * utils.c (wtimer_granularity): New function. + +2001-04-24 Hrvoje Niksic + + * retr.c (show_progress): Ditto. + + * ftp.c (getftp): Ditto. + + * http.c (gethttp): Use new timer functions. + + * utils.c (wtimer_allocate): New function. + (wtimer_new): Ditto. + (wtimer_delete): Ditto. + (wtimer_reset): Ditto. + (wtimer_elapsed): Ditto. + +2001-04-24 Hrvoje Niksic + + * utils.c (long_to_string): New, faster version. Favors smaller + numbers; much of the calculation is now done at compile-time. + +2001-04-24 Hrvoje Niksic + + * utils.c (numdigit): Handle negative numbers. + +2001-04-23 Hrvoje Niksic + + * retr.c (show_progress): Print the download rate even when the + percentages are not available. + +2001-04-21 Hrvoje Niksic + + * ftp.c (getftp): Adjust expected_bytes if the length is + authoritative. + +2001-04-14 Hrvoje Niksic + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * hash.h: Declare hash_table_get_pair and hash_table_count. + +2001-04-12 Hrvoje Niksic + + * cookies.c: Declare http_atotm. + +2001-04-12 Hrvoje Niksic + + * 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 + + * Makefile.in: Provide and use DESTDIR according to the Coding + Standards. + +2001-04-12 Hrvoje Niksic + + * ftp-ls.c (ftp_parse_vms_ls): Make seconds optional in time + specification. + +2001-04-11 Hrvoje Niksic + + * 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 + + * 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 + + * 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 * cookies.c (build_cookies_request): Use and sort cookies from all