X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2FChangeLog;h=46a550feb94cc834cdde767369f91389e84905aa;hb=aa07e689f2c03dd25342859e7e527a13467ad219;hp=d3c81ba0c9296dee87f04bfe4e06089addcec6e3;hpb=04ddc27bb800724fafc5556dc39f960bbd229dbc;p=wget diff --git a/src/ChangeLog b/src/ChangeLog index d3c81ba0..46a550fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,446 @@ +2006-02-27 Hrvoje Niksic + + * url.c (path_simplify): Don't preserve ".." at beginning of path. + Suggested by Frank McCown. + +2006-02-25 Hrvoje Niksic + + * http.c (gethttp): Only use FILE.N.html if FILE.html exists. + +2006-02-09 Hrvoje Niksic + + * mswindows.c (run_with_timeout): Made thread_hnd non-static. + +2006-02-05 Hrvoje Niksic + + * retr.c (sleep_between_retrievals): Sleep at a minimum of 1/2 of + the specified wait period. + +2006-02-03 Hrvoje Niksic + + * utils.c (number_to_string): Don't use sprintf for printing + WGINT_MIN; simply divide n by 10 and defer printing the last + digit. + (number_to_string): Removed the SPRINTF_WGINT macro. + +2006-02-03 Mauro Tortonesi + + * http.c: Fixed support for Content-Disposition header. + + * test.c: Added test_parse_content_disposition to the list of unit + tests to run. + +2006-02-02 Hrvoje Niksic + + * hash.c: Don't define countof if it's already defined. + + * hash.c: Obtain the definition of uintptr_t when standalone. + +2006-01-30 Mauro Tortonesi + + * http.c: Changed output format. Removed excessively verbose debugging + output. + +2005-12-07 Mauro Tortonesi + + * http.c: Fixed pre-download verbose output which was broken by + HTTP code refactoring. + +2005-11-23 Mauro Tortonesi + + * http.c: Refactored HTTP code. If -O is not used, the new code + delays the choice of the file name where the downloaded resource + will be saved until the HTTP headers have been retrieved. + Added support for Content-Disposition header. + +2005-11-19 Hrvoje Niksic + + * hash.c (INVALID_PTR): Use uintptr_t instead of unsigned long. + (hash_pointer): Don't assume a pointer fits in `unsigned long'. + +2005-11-02 Mauro Tortonesi + + * Makefile.in: Removed support for unit testing (now it is in + tests/Makefile.in). + +2005-10-27 Mauro Tortonesi + + * Makefile.in: Added basic support for unit testing. + + * test.c: Ditto. + + * test.h: Ditto. + +2005-10-13 Daniel Stenberg + + * http-ntlm.c (ntlm_output): Fixed buffer overflow vulnerability. + +2005-10-09 Russ Allbery + + * snprintf.c: Remove round to round_int and pow10 to pow10_int, to + avoid warnings from GCC 4.0. + +2005-10-05 Mauro Tortonesi + + * retr.c: Changed semantics of no_proxy_match. + +2005-09-17 Hrvoje Niksic + + * main.c (main): Don't print the summary if nothing has been downloaded. + +2005-09-17 Hrvoje Niksic + + * retr.c (retr_rate): Rename parameter from MSECS to SECS since it + no longer holds milliseconds. + +2005-09-01 Hrvoje Niksic + + * progress.c: Introduce symbolic constants for "magic" values of + 0.2 and 0.9, REFRESH_INTERVAL and ETA_REFRESH_INTERVAL. + +2005-08-27 Hrvoje Niksic + + * cmpt.c (strtoll): Correctly handle strtoll("0x", ptr, 0) and + strtoll("0x", ptr, 0) -- in both cases *ptr must be + set to the position of 'x', not after it. + +2005-08-27 Hrvoje Niksic + + * hash.c (hash_table_map): Rename to hash_table_for_each and + update callers. + Document the meaning of the callback's return value. + (hash_table_iterate): New function. + (hash_table_iter_next): Likewise. + Update most places that used hash_table_for_each to use the + iteration, which doesn't require a temporary function with + explicit state management. + +2005-08-26 Albert Chin + + * Makefile.in: Use @datadir@. Define localedir as $(datadir)/locale. + +2005-08-26 Jeremy Shapiro + + * openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY. + +2005-08-23 Hrvoje Niksic + + * host.c (address_list_from_ipv4_addresses): Use IP_INADDR_DATA. + +2005-08-12 Hrvoje Niksic + + * wget.h: Renamed strtoll_return to strtoll_type. + +2005-08-11 Hrvoje Niksic + + * progress.c (eta_to_human_short): Switch to days when printing + more than 48h rather than 100h. (It's not immediately apparent + how many days there are in 83h.) + +2005-08-11 Hrvoje Niksic + + * cmpt.c (strtoll): Define it if missing on the system and if Wget + needs it. + + * mswindows.c (str_to_int64): Move to cmpt.c and rename to strtoll. + +2005-08-10 Hrvoje Niksic + + * host.c (print_address): Always use inet_ntop when IPv6 is + enabled. + + * host.h (ip_address): Simplify the data union. + +2005-08-09 Hrvoje Niksic + + * mswindows.c (inet_ntop): Also handle IPv4 addresses for + completeness. + +2005-08-09 Hrvoje Niksic + + * http.c (gethttp): Don't read more than the amount of data + specified by the content-length header. + +2005-08-09 Vasil Dimov + + * ftp.c (getftp): Don't free RESPLINE if ftp_response returns a + status other than FTPOK. + +2005-08-04 Giuseppe Bonacci + + * ftp-ls.c (ftp_parse_unix_ls): Remember the position of the + previous token instead of backtracking back to it. + +2005-07-08 Gisle Vanem + + * mswindows.h: Include process.h to get getpid() declaration. + +2005-07-08 Hrvoje Niksic + + * utils.c (aprintf): Use vasprintf where available. + +2005-07-08 Hrvoje Niksic + + * url.c (rewrite_shorthand_url): Simplify code using aprintf and + strspn. + +2005-07-07 Hrvoje Niksic + + * gnutls.c (ssl_check_certificate): Check for the validity of the + presented X509 certificate. + +2005-07-07 Hrvoje Niksic + + * openssl.c (ssl_check_certificate): Print custom error messages + for frequent X509 certificate problems. + +2005-07-07 Hrvoje Niksic + + * mswindows.h: Define an alias for stat and fstat, as requested by + config-compiler.h. + (gai_strerror): Define to windows_strerror if NEED_GAI_STRERROR is + defined. + +2005-07-06 Hrvoje Niksic + + * mswindows.h: Use strtoll where available. + +2005-07-06 Hrvoje Niksic + + * sysdep.h: Add a full declaration of fnmatch.h. + +2005-07-06 Hrvoje Niksic + + * utils.c: Unconditionally include . + +2005-07-06 Hrvoje Niksic + + * utils.c (fnmatch_nocase): New function. + (proclist): Use it instead of fnmatch when opt.ignore_case is + requested. + (in_acclist): Respect opt.ignore_case. + (frontcmp): Respect opt.ignore_case. + + * options.h (struct options): New flag opt.ignore_case. + +2005-07-06 Hrvoje Niksic + + * ptimer.c: Measure time in seconds rather than milliseconds. + Adjusted all callers. + +2005-07-06 Hrvoje Niksic + + * http.c (gethttp): When freeing MESSAGE, take into account that + it can be NULL. + +2005-07-05 Hrvoje Niksic + + * cmpt.c (timegm): Handle years after 2099. + +2005-07-05 Hrvoje Niksic + + * cmpt.c (timegm): Remove unused variable. + +2005-07-05 Hrvoje Niksic + + * cmpt.c (timegm): Don't call mktime; simply count the seconds + between 1970-01-01 and the specified date. + +2005-07-05 Hrvoje Niksic + + * wget.h (or): Define HAVE_SSL when either HAVE_OPENSSL or + HAVE_GNUTLS are defined. + + * gnutls.c: New file. + +2005-07-05 Hrvoje Niksic + + * http.c (gethttp): Don't print the request write error message + twice. + +2005-07-04 Hrvoje Niksic + + * openssl.c (openssl_errstr): Instead of always using a large + static buffer, only allocate the error string when there is an + actual error. + +2005-07-04 Hrvoje Niksic + + * xmalloc.c (debugging_free): Prefix hex pointer value with "0x" + when printing. + +2005-07-04 Hrvoje Niksic + + * utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to + get the next non-whitespace character. + +2005-07-04 Hrvoje Niksic + + * utils.c (base64_decode): Don't silently tolerate non-base64 + non-white-space characters in the base64 stream. + +2005-07-04 Hrvoje Niksic + + * connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match + transport_map_modified_tick. + +2005-07-04 Hrvoje Niksic + + * config-post.h (alloca): Updated declaration to not enumerate all + Windows compilers. + +2005-07-04 Hrvoje Niksic + + * openssl.c (openssl_errstr): Separate error messages with "; ". + +2005-07-03 Hrvoje Niksic + + * ftp.c (getftp): Ditto. + + * http.c (gethttp): Use fd_errstr. + + * connect.c (fd_register_transport): Restructure parameters to + include only a single structure that describes transport + implementation. + + * openssl.c (openssl_errstr): New function: dump SSL error strings + into a static buffer and return a pointer to the buffer. + + * connect.c (fd_errstr): New function; returns transport-specific + error message, or strerror(errno) if transport doesn't supply one. + +2005-07-03 Hrvoje Niksic + + * mswindows.h: Also wrap accept() and listen(). + +2005-07-03 Hrvoje Niksic + + * url.c (path_end): Skip separators appropriate for the scheme. + (strpbrk_or_eos): Remove gcc-specific version, as the optimization + it tried to perform no longer applies. + +2005-07-02 Hrvoje Niksic + + * host.c: Don't include "connect.h" now that we no longer have + socket_has_inet6. + +2005-07-02 Hrvoje Niksic + + * host.c: Remove extraneous definition of netdb.h. + +2005-07-02 Hrvoje Niksic + + * http.c (gethttp): Skip error message body in the keep-alive + case. + +2005-07-02 Hrvoje Niksic + + * url.c (url_parse): Would crash when parsing fragments. Support + fragments for FTP URLs too. + +2005-07-02 Hrvoje Niksic + + * version.c: Don't use "cvs" in version name, since we're not + using CVS anymore. + +2005-07-02 Hrvoje Niksic + + * progress.c (create_image): Ditto. + + * retr.c (retr_rate): Display smaller rate numbers with greater + precision. + +2005-07-02 Hrvoje Niksic + + * http.c (response_head_terminator): Minor optimization. + + * retr.c (fd_read_hunk): Call terminator with pointer to the start + of the data and the pointer to the current data. Changed all + callers. + +2005-07-01 Hrvoje Niksic + + * url.c (url_parse): Make sure u->params is not initialized for + http/https URLs. + (url_parse): Don't crash on garbage following []-delimited IPv6 + addresses. + +2005-07-01 Hrvoje Niksic + + * main.c (print_help): Don't refer to the non-existent -nr in + description of --mirror. + +2005-06-30 Hrvoje Niksic + + * host.c (pretty_print_address): Renamed to just print_address. + Clarify documentation. + +2005-06-30 Hrvoje Niksic + + * http.c (gethttp): Explicitly document the different cases when + generating the Host header. + +2005-06-30 Hrvoje Niksic + + * host.c (pretty_print_address): Handle error result from + inet_ntop. + +2005-06-30 Gisle Vanem + + * mswindows.c (inet_ntop): New function. Print IPv6 addresses + using WSAAddressToString. + +2005-06-27 Hrvoje Niksic + + * progress.c (dot_update): Remove unused variable row_qty. + +2005-06-29 Hrvoje Niksic + + * main.c: Check for both SIGHUP and SIGUSR1 before using them. + +2005-06-29 Hrvoje Niksic + + * utils.c: Unconditionally include locale.h. + +2005-06-29 Hrvoje Niksic + + * ptimer.c: Include sys/time.h to get struct timeval. + +2005-06-29 Hrvoje Niksic + + * wget.h: Remove obsolete definition of with_thousand_seps_sum. + +2005-06-29 Hrvoje Niksic + + * gnu-md5.h: Unconditionally include limits.h. + +2005-06-29 Hrvoje Niksic + + * utils.c (random_number): Use lrand48 if available. + (random_float): Use drand48 if available. + +2005-06-29 Hrvoje Niksic + + * main.c (secs_to_human_time): Use print_decimal when printing + total download time in seconds. + + * progress.c (print_row_stats): Use it to print total download + time at the end of the download. + (create_image): Ditto. + + * utils.c (print_decimal): New function; print small decimal + numbers with more precision than large ones. + + * progress.c (print_row_stats): New function. Print ETA after the + download rate at the end of each row. + +2005-06-28 Hrvoje Niksic + + * init.c (parse_line): Check for alphanumerics. + 2005-06-28 Hrvoje Niksic - * progress.c (print_percentage): Round the percentage value. - (dot_create): Remove unnecessary casts. + * (dot_create): Remove unnecessary casts. 2005-06-28 Hrvoje Niksic