📄 1.8_branch.changelog
字号:
2002-05-28 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8.2 is released.2002-02-11 Christian Lackas <delta@lackas.net> * Recurive downloading for https fixed.2002-05-24 Hrvoje Niksic <hniksic@arsdigita.com> * progress.c (bar_set_params): Fall back to dot progress if the terminal type is "emacs".2002-05-24 Hack Kampbjorn <wget@hack.kampbjorn.com> * url.c (mkstruct) [WINDOWS || __CYGWIN__]: Use `_' to separate domain from port number in filename instead of `:'.2002-05-24 Ian Abbott <abbotti@mev.co.uk> * url.c (mkstruct) [WINDOWS || __CYGWIN__]: Replace query character `?' with `@'. (compose_file_name) [WINDOWS || __CYGWIN__]: Ditto.2002-04-11 Hrvoje Niksic <hniksic@arsdigita.com> * 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 <beebe@math.utah.edu>, for the most part.2002-04-11 Hrvoje Niksic <hniksic@arsdigita.com> * progress.c (bar_create): If INITIAL is larger than TOTAL, fix TOTAL. (bar_finish): Likewise.2002-02-19 Andreas Damm <andreas-sourceforge@radab.org> * wget.h (DO_REALLOC_FROM_ALLOCA): Multiply with sizeof(type) when calling xmalloc and memcpy.2002-01-07 Ian Abbott <abbotti@mev.co.uk> * url.c (uri_merge_1): Deal with "net path" relative URL (one that starts with "//").2002-01-14 Hrvoje Niksic <hniksic@arsdigita.com> * url.c (parse_uname): URL-decode *USER and *PASSWD.2002-02-19 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (retrieve_tree): Handle the case when start_url doesn't parse.2002-01-17 Hrvoje Niksic <hniksic@arsdigita.com> * netrc.c (parse_netrc): Skip leading whitespace before testing whether the line is empty. Empty lines still contain the line terminator.2002-01-14 Hrvoje Niksic <hniksic@arsdigita.com> * http.c (gethttp): Invalidate SOCK if get_contents encountered an error.2002-04-16 Hrvoje Niksic <hniksic@arsdigita.com> * http.c (gethttp): If Content-Type is not given, assume text/html.2002-02-01 Hrvoje Niksic <hniksic@arsdigita.com> * html-url.c (tag_handle_meta): Don't crash on <meta http-equiv=refresh> where content is missing.2002-01-14 Hrvoje Niksic <hniksic@arsdigita.com> * headers.c (header_get): Strip trailing whitespace from the header.2002-01-15 Hrvoje Niksic <hniksic@arsdigita.com> * gen_sslfunc.c (ssl_iread): Call select on the file descriptor only if no data is pending in SSL buffers. From tony@bluetail.com.2001-12-24 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8.1 is released.2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8.1-pre3 is released.2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (retrieve_tree): Enqueue the canonical representation of start_url, so that the test against dl_url_file_map works.2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com> * log.c (logputs): Check for requested verbosity before printing anything.2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com> * html-url.c (tag_handle_link): Treat the "shortcut icon" link as inline.2001-12-18 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (retrieve_tree): Make a copy of file obtained from dl_url_file_map because the code calls xfree(file) later.2001-12-18 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (register_html): Maintain a hash table of HTML files along with the list. Disallow duplicates. (retrieve_tree): Use downloaded_html_set to check whether the file found in dl_url_file_map is an HTML file, and descend into it if so. (convert_all_links): Don't guard against duplicates in downloaded_html_list, since they are no longer possible.2001-12-18 Ian Abbott <abbotti@mev.co.uk> * recur.c (retrieve_tree): Pass on referring URL when retrieving recursed URL.2001-12-17 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8.1-pre2 is released.2001-12-17 Hrvoje Niksic <hniksic@arsdigita.com> * retr.c (sleep_between_retrievals): Simplify indentation.2001-12-17 Hrvoje Niksic <hniksic@arsdigita.com> * gen_sslfunc.c (ssl_init_prng): Use random_number to get a byte of "randomness" at a time. (ssl_init_prng): Don't seed the PRNG; random_number will do that. * retr.c (sleep_between_retrievals): Use it. Make sure that the random amount averages in opt.wait. (sleep_between_retrievals): Don't seed the PRNG; random_number will do that. * utils.c (random_number): New function.2001-12-14 Hrvoje Niksic <hniksic@arsdigita.com> * url.c (path_simplify): Move here from utils.c, and make static.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * init.c (wgetrc_file_name): Print correct message when loading getenv("WGETRC") fails.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (register_download): Don't abort when one URL references two different files.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * http.c (gethttp): Check for conn->scheme, not u->scheme, before calling ssl_iwrite.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8.1-pre1 is released.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * res.c (matches): Fix broken URL in the docstring.2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com> * html-url.c (tag_url_attributes): Mark <embed href=...> as external.2001-12-12 Hrvoje Niksic <hniksic@arsdigita.com> * url.c (get_urls_file): Cosmetic changes.2001-12-12 Hrvoje Niksic <hniksic@arsdigita.com> * html-url.c (append_one_url): Resurrect warning when unable to resolve a relative link.2001-12-12 Hrvoje Niksic <hniksic@arsdigita.com> * html-url.c (collect_tags_mapper): Break into several functions. (tag_url_attributes): Collect <embed href=...>.2001-12-11 Hrvoje Niksic <hniksic@arsdigita.com> * host.c: New type ipv4_address. Use it consistently instead of `unsigned char[4]' and `unsigned char *'. (pretty_print_address): Accept a `const void *', to require even less casting.2001-12-11 Hrvoje Niksic <hniksic@arsdigita.com> * ftp-ls.c (ftp_parse_vms_ls): Fix obvious memory leaks.2001-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * main.c (main): Initialize progress after fork_to_background, so that it knows when to use dots. * mswindows.c (ws_hangup): Call log_request_redirect_output. * utils.c (fork_to_background): Print the PID of the child process. * log.c (log_request_redirect_output): Set a flag that output redirection has been requested. Doing anything else in a signal handler is unsafe. (check_redirect_output): New function: check whether redirection has been requested and, if so, call redirect_output(). (logputs): Call check_redirect_output. (logprintf): Ditto. (debug_logprintf): Ditto. (redirect_output): Print clearer messages. * main.c (redirect_output_signal): Don't call redirect_output_signal directly. Instead, call log_request_redirect_output. * utils.c (memfatal): Ditto. * progress.c (display_image): Use it. * log.c (log_set_save_context): New function: allow the caller to turn off saving log context lines.2001-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * host.c (address_list_set_faulty): Uncomment a sanity check.2001-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * utils.c (long_to_string): Return a pointer after where the number ends. (long_to_string): Rename to number_to_string.2001-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * utils.c (path_simplify): Correctly handle the unlikely case that b starts out as path + 1.2001-12-10 Hrvoje Niksic <hniksic@arsdigita.com> * utils.c (path_simplify): Rewrite, with better comments, and without the use of strcpy to move overlapping blocks.2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com> * init.c (cmd_spec_progress): Resurrect. Check whether VAL is a valid progress type before setting it.2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com> * main.c (main): Remove stray debugging message.2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com> * progress.c (create_image): Fix ETA padding when hours are prined.2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8 is released.2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com> * url.c (reencode_string): Declare static. * res.c (registered_specs): Declare static. * progress.c (current_impl_locked): Declare static. * log.c (flush_log_p): Declare static. (needs_flushing): Ditto. * http.c (digest_authentication_encode): Declare static. * html-url.c (init_interesting): Declare static. * host.c (host_name_addresses_map): Declare static. * cookies.c (find_matching_chains): Declare static. * ftp-ls.c (ftp_parse_vms_ls): Warn about the memory leak indicated by lint. * utils.c (path_simplify): Remove unused variable STUB_CHAR. * host.c (address_list_set_faulty): Document that INDEX is currently unused. * url.c (rewrite_shorthand_url): Remove unused variable PATH.2001-12-08 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8-pre2 is released.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * progress.c (progress_handle_sigwinch): Set up the signal again. * utils.c: Include <sys/termios.h>, where Solaris defines TIOCGWINSZ. * progress.c (bar_create): Don't use the last column on the screen. (create_image): Pad ETA to constant size. Pad SIZE to nine digits only until it exceeded them.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * version.c: Wget 1.8-pre1 is released.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * progress.c (progress_create): Make sure that, when the output is redirected, the progress implementation gets changed to the fallback one. (bar_set_params): Set current_impl_locked to 1 when "force" is specified. (progress_create): Don't change the progress implementation if current_impl_locked is non-zero. * main.c (redirect_output_signal): Call progress_schedule_redirect. * progress.c (progress_schedule_redirect): New function.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * log.c (logvprintf): Restructure to allow being called multiple times. (logprintf): Call logvprintf in a loop. (debug_logprintf): Ditto.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * gen_sslfunc.c (ssl_init_prng): Allow the user to disable EGD by setting egd_file it to empty string. * main.c (main): Change the option name from --sslegdsock to --egd-file.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * gen_sslfunc.c (ssl_init_prng): Make the printed message translatable.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * url.c (scheme_disable): New function. * main.c (main): Call ssl_init_prng from here rather than from init_ssl, so that it has a chance to disable support for https before a URL has been resolved. * gen_sslfunc.c (ssl_init_prng): Seed with rand() if all else failed. (ssl_init_prng): Disable support for https if seeding the PRNG fails.2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com> * utils.c (read_whole_line): Handle lines beginning with \0.2001-12-05 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (convert_all_links): Guard against duplicates in downloaded_html_files. (register_download): Don't invalidate similar-looking URLs. (match_except_index): New function.2001-12-05 Hrvoje Niksic <hniksic@arsdigita.com> * utils.c (path_simplify): Document with test cases.2001-12-04 Hrvoje Niksic <hniksic@arsdigita.com> * gen_sslfunc.c: Ditto. * rbuf.c: Include <string.h>.2001-12-04 Hrvoje Niksic <hniksic@arsdigita.com> * recur.c (retrieve_tree): Check whether the URL was already downloaded before downloading it again. (descend_child_p): Renamed to download_child_p. (register_download): When one URL is downloaded to a file already "owned" by another URL, delete all references that map any URL to that file. (register_delete_file): New function. (retrieve_tree): Use it after deleting a file. * url.c (url_parse): Re-canonicalize the URL also if the path is empty, so that e.g. "http://www.server.com" -> "http://www.server.com/". (lowercase_str): Use ISUPPER instead of !ISLOWER. * retr.c (retrieve_url): Use the canonical URL form when calling register_download().2001-12-04 Ian Abbott <abbotti@mev.co.uk> * snprintf.c (dopr): Use `unsigned int' as the second argument to va_arg when casting to `unsigned short' is intended.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -