X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=d5acdc160e808b3247c843f2cd555c6f40f74585;hp=29f9962380e4e803d2da5dd19634b3bb85a408a2;hb=7b5ad90acfc8c101a6cf919cd2a00217f0194e93;hpb=ccf31643ab5226a81632329ddc19e1c81b5a85b6 diff --git a/src/ChangeLog b/src/ChangeLog index 29f99623..d5acdc16 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,269 @@ +2000-12-05 Hrvoje Niksic + + * url.c (init_unsafe_char_table): Reinstate space as an unsafe + char. + +2000-11-29 John Summerfield + + * netrc.c (parse_netrc): Get rid of line ending. + +2000-11-25 Hrvoje Niksic + + * ftp.c (ftp_retrieve_list): Undo typo "fix" until resolution by + Dan. + +2000-11-24 Karl Eichwalder + + * main.c (print_help): Untabify. + +2000-11-23 Hrvoje Niksic + + * utils.c (xrealloc_debug): Do the unregister/register thing only + if the pointer has actually changed. + (xmalloc_real): Declare `static' in DEBUG_MALLOC builds. + (xfree_real): Ditto. + (xrealloc_real): Ditto. + (xstrdup_real): Ditto. + +2000-11-22 Hrvoje Niksic + + * ftp.c (getftp): ftp_getaddress() returns a malloc'ed copy of the + string; no need to strdup() it. + (getftp): Make pwd_len a local variable. + (ftp_loop): Free PWD before returning. + + * init.c (cleanup): Free opt.ftp_pass only if it's non-NULL. + +2000-11-22 Hrvoje Niksic + + * all: Use xfree() instead of free. + + * utils.c (xfree): New function. + +2000-11-21 Hrvoje Niksic + + * url.c (convert_links): HTML-quote the converted string. + + * utils.c (html_quote_string): Move here from ftp-ls.c + (html_quote_string): Make non-static; declare in utils.h. + (html_quote_string): Convert SP to . + +2000-11-21 Hrvoje Niksic + + * ftp.c (getftp): Reformat Jan's code according to GNU coding + standards; remove (debugging?) printf's; use '\0' for the ASCII + zero character. Use alloca() instead of malloc() for + inter-function temporary allocations. + +2000-11-18 Jan Prikryl + + * ftpparse.c, ftpparse.h: New files. + + * ftp-ls.c (ftp_parse_ls): Use ftp_parse_unix_ls for UNIX servers + only. Use ftp_parse_nonunix_ls otherwise. + (ftp_parse_nonunix_ls): Stub to the ftpparse library handling all + exotic FTP servers. + + * ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other" + FTP servers. + + * ftp.c: New static wariables host_type, pwd, and pwd_len. + (getftp): Support for VMS. Support for FTP servers that do not + place you in the root directory after login. + (ftp_retrieve_list): VMS is silent about the real file size, issue + a more appropriate message. + (ftp_get_listing): Pass host_type to ftp_parse_ls. + + * ftp-basic.c (ftp_pwd, ftp_syst): New functions. + +2000-11-21 Hrvoje Niksic + + * hash.c (hash_table_put): Don't overwrite deleted mappings. + +2000-11-21 Hrvoje Niksic + + * hash.c (find_mapping): New function. + (hash_table_get): Use it. + (hash_table_get_pair): Ditto. + (hash_table_exists): Ditto. + (hash_table_remove): Ditto. + (hash_table_remove): Really delete the entry if the mapping + following LOCATION is empty. + + * utils.c (string_set_add): Check whether the element has existed + before. + + * hash.c (hash_table_get_pair): New function. + +2000-11-20 Hrvoje Niksic + + * http.c (http_process_type): Ignore trailing whitespace; use + strdupdelim(). + + * recur.c (recursive_retrieve): Use the new `convert' field. + (convert_all_links): Ditto. + (convert_all_links): Don't respect meta_disallow_follow. + + * html-url.c (handle_link): Fill out link_relative_p and + link_complete_p. + + * url.h (struct _urlpos): Make elements more readable. + + * recur.c (recursive_retrieve): Call slist_prepend instead of + slist_append. + (convert_all_links): Call slist_nreverse before iterating through + urls_html. + + * utils.c (slist_prepend): New function. + (slist_nreverse): Ditto. + +2000-11-20 Hrvoje Niksic + + * http.c (check_end): Constify. + +2000-11-20 Hrvoje Niksic + + * http.c (http_loop): If username and password are known, try the + `Basic' authentication scheme by default. + + * connect.h: Declare test_socket_open. + +2000-11-20 Hrvoje Niksic + + * version.c: Bump version to 1.7-dev. + +2000-11-20 Hrvoje Niksic + + * http.c (gethttp): Don't use the return value of sprintf(). + (gethttp): Inhibit keep-alive if opt.http_keep_alive is 0. + +2000-11-20 Hrvoje Niksic + + * recur.c (recursive_retrieve): Print the "so we don't load" + debugging message only if we really don't load. + + * http.c (gethttp): Inhibit keep-alive if proxy is being used. + (gethttp): Don't request keep-alive if keep-alive is inhibited. + +2000-11-19 Hrvoje Niksic + + * http.c (gethttp): Make the HTTP persistent connections more + robust. + +2000-11-19 Hrvoje Niksic + + * retr.c (get_contents): If use_expected, make sure that the + appropriate amount of data is being read. + + * http.c (gethttp): Check for both `Keep-Alive: ...' and + `Connection: Keep-Alive'. + + * wget.h (DEBUGP): Call debug_logprintf only if opt.debug is + turned on. + +2000-11-19 Hrvoje Niksic + + * http.c (connection_available_p): Use it. + + * connect.c (test_socket_open): New function. + + * http.c (gethttp): Support persistent connections. Based on the + ideas, and partly on code, by Sam Horrocks . + (register_persistent): New function. + (connection_available_p): Ditto. + (invalidate_connection): Ditto. + +2000-11-19 Hrvoje Niksic + + * url.c (convert_links): Handle UREL2ABS case. + + * recur.c (recursive_retrieve): Instead of the list + urls_downloaded, use hash tables dl_file_url_map and + dl_url_file_map. + (convert_all_links): Use them to retrieve data. + + * host.c (clean_hosts): Free the hash tables. + + * main.c (private_initialize): Call host_init(). + + * host.c (store_hostaddress): Use a saner, hash table-based data + model. + (realhost): Ditto. + (host_init): Initialize the hash tables. + +2000-11-18 Hrvoje Niksic + + * utils.c (slist_append): Eviscerate NOSORT. Hash tables are now + used for what the sorted slists used to be used for. + (slist_contains): Don't rely on the list being sorted. + (slist_append): Simplify the code. + + * recur.c (recursive_cleanup): Use free_string_set. + + * utils.c (string_set_add, string_set_exists, string_set_free): + New functions for easier freeing of hash tables whose keys are + strdup'ed strings. + + * recur.c (recursive_retrieve): Use the hash table functions for + storing undesirable URLs. + + * hash.c: New file. + +2000-11-17 Hrvoje Niksic + + * main.c (private_initialize): Call url_init. + (main): Call private_initialize. + + * url.c (unsafe_char_table): New table. + (UNSAFE_CHAR): Use it. + (init_unsafe_char_table): New function. + (url_init): New function; call init_unsafe_char_table. + +2000-11-15 Hrvoje Niksic + + * html-url.c (handle_link): Handle HTML fragment identifiers. + + * recur.c (recursive_retrieve): If norobot info is respected and + the file is specified not to be followed by robots, respect that. + + * html-url.c (collect_tags_mapper): Handle . For us the important cases are where X is NONE or + where X contains NOFOLLOW. + (get_urls_html): Propagate that information to the caller. + +2000-11-13 Hrvoje Niksic + + * url.c (convert_links): Unlink the file we might be reading from + before writing to it. + (convert_links): Use alloca instead of malloc for + filename_plus_orig_suffix. + +2000-11-10 Hrvoje Niksic + + * url.c (get_urls_file): Ditto. + (convert_links): Ditto. + + * html-url.c (get_urls_html): Use read_file() instead of + load_file(). + + * utils.c (read_file): New function, instead of the old + load_file(). + (read_file_free): Ditto. + + * url.c (findurl): Search only for the supported protocols. + (convert_links): Use fwrite() when writing out a region of + characters. + +2000-11-10 Hrvoje Niksic + + * ftp-ls.c: Move html_quote_string and ftp_index here. + + * url.c: Remove get_urls_html, since that's now in html-url.c. + + * html-url.c: New file. + + * html-parse.c: New file. + 2000-11-16 Hrvoje Niksic * mswindows.h: Define snprintf and vsnprintf to _snprintf and