X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2FChangeLog;h=5186f0c04bd184b355c60abf9a5750d0da4f15f1;hp=a062fdfb478c7b28fc5d01bc0eaf77e07f260592;hb=1cba1a7659719535800d4fd53d689c9e758babdc;hpb=eb483c9f259028f9d40ef5c693b85ab82fe9ade0 diff --git a/src/ChangeLog b/src/ChangeLog index a062fdfb..5186f0c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,367 @@ +2011-04-04 Giuseppe Scrivano + + * Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@ + +2011-04-03 Giuseppe Scrivano + + * gnutls.c: Include . + (wgnutls_peek): Make the socket non blocking before attempt a read. + + * gnutls.c: Include . + (wgnutls_peek) [F_GETFL]: Use fcntl. + (wgnutls_peek) [! F_GETFL]: Use ioctl. + + +2011-03-31 Giuseppe Scrivano + + * recur.c (download_child_p): When --no-parent is used, check that the + ports are the same only in case the same protocol is used. + Reported by: Karl Berry + + * res.c (res_parse): Add new line to debug messages. + +2011-03-21 Giuseppe Scrivano + + * iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a + compiler warning. + + * iri.h: Declare `dummy_iri' as extern not static. + * main.c [!ENABLE_IRI]: Define `dummy_iri'. + (main) [!ENABLE_IRI]: Initialize `dummy_iri'. + +2011-03-11 Giuseppe Scrivano + + * ftp.c (getftp): Fix some memory leaks. + * ftp-ls.c (ftp_parse_winnt_ls): Likewise. + Reported by: Zhenbo Xu . + +2010-11-20 Filipe Brandenburger (tiny change) + + * http.c (gethttp): Repeat a POST request on a 307 response. + * retr.c (retrieve_url): Use NEWLOCATION_KEEP_POST. + * wget.h: Define NEWLOCATION_KEEP_POST. + +2011-03-02 Tomasz Buchert (tiny change) + + * http.c (ensure_extension): Do not adjust the extension if the file + ends in .htm. + +2011-02-22 Gilles Carry + + * main.c (prompt_for_password): Use stderr instead of stdout + to prompt password. This allows to use --output-document=- and + --ask-password simultaneously. Without this, redirecting stdout + makes password prompt invisible and mucks up payload such as in + this example: + wget --output-document=- --ask-password -user=foo \ + http://foo.com/tarball.tgz | tar zxf - + +2011-02-22 Steven Schubiger + + * http.c (gethttp, http_loop): Move duplicated code which is run + when an existing file is not to be clobbered to a function. + (get_file_flags): New static function. + +2010-12-10 Evgeniy Philippov (tiny change) + + * main.c (main): Initialize `total_downloaded_bytes'. + +2010-12-09 Giuseppe Scrivano + + * main.c (main): If --no-clobber and --convert-links are used at the + same time, use only the latter. + Reported by: Romain Vimont + +2010-12-07 Jessica McKellar (tiny change) + + * main.c: Make help message clearer. + +2010-12-02 Giuseppe Scrivano + + * build_info.c.in: Do not list md5. + +2010-12-01 Giuseppe Scrivano + + * cmpt.c: Include inconditionally. + * connect.c: Likewise. + * convert.c: Likewise. + * ftp-basic.c: Likewise. + * ftp-ls.c: Likewise. + * ftp.c: Likewise. + * gnutls.c: Likewise. + * http.c: Likewise. + * init.c: Likewise. + * log.c: Likewise. + * main.c: Likewise. + * openssl.c: Likewise. + * progress.c: Likewise. + * ptimer.c: Likewise. + * recur.c: Likewise. + * retr.c: Likewise. + * url.c: Likewise. + * utils.c: Likewise. + + + * retr.c (fd_read_body): Dinamically allocate `dlbuf'. + +2010-11-27 Reza Snowdon + + * init.c (initialize): If 'ok' is not zero; exit, as this + indicates there was a problem parsing 'SYSTEM_WGETRC'. + Fixes bug #20370. + +2010-11-22 Giuseppe Scrivano + + Revert last commit. + * ftp.c (getftp): When count > 0, don't append to the existing file. + * http.c (gethttp): Likewise. + +2010-11-21 Giuseppe Scrivano + + * ftp.c (getftp): If `count' is bigger than zero, try to resume the + download, not restart it. + * http.c (gethttp): Likewise. + Suggested by: Evgeny Kapun . + +2010-11-19 Giuseppe Scrivano + + * ftp.c (getftp): Accept new argument `count'. When `count' is + bigger than zero, assume the file can be overwritten. + (ftp_loop_internal): Pass new argument `count' to `getftp'. + + * http.c (gethttp): Accept new argument `count'. When `count' is + bigger than zero, assume the file can be overwritten. + (http_loop): Pass new argument `count' to `gethttp'. + Reported by: Evgeny Kapun . + +2010-08-08 Reza Snowdon + + * main.c (main): inserted 'defaults'. + Added additional 'getopt_long' while loop to search and apply a + user specified config file before any other options. + New variables 'retconf', 'use_userconfig', + 'confval', 'userrc_ret', 'config_opt'. + * init.c: Include stdbool.h. + (commands): Added config details. + (defaults): Removed static. + (wgetrc): Removed static. + (initialize): Removed 'defaults ()', + changed 'int ok' to 'bool ok'. + * options.h: New variable 'choose_config'. + * init.h (defaults): exported function. + (run_wgetrc): exported function. + +2010-10-24 Jessica McKellar (tiny change) + + * main.c (main): Print the total download time as part of the + summary for downloads using the recursive or page requisites + options. Fixes bug #21359. + +2010-10-24 Giuseppe Scrivano + + * gnutls.c (wgnutls_peek): Do not return an error when + `gnutls_record_recv' fails but some data is already available. + +2010-10-23 Giuseppe Scrivano + + * Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last + component. + + * gnutls.c (wgnutls_peek): Block until data is available. + +2010-10-21 Giuseppe Scrivano + + * retr.c (retrieve_url): Do not register HTML files twice. + Reported by: Manfred Koizar . + +2010-10-18 Manfred Koizar (tiny change) + + * html-url.c (tag_handle_link): Do not assume external links type + to be always "text/html". + +2010-10-16 Giuseppe Scrivano + + * connect.c (socket_ip_address): Initialize `sockaddr' to zero. + * ftp-basic.c (ftp_epsv): Remove dead assignment to `s'. + * ftp-ls.c (ftp_parse_vms_ls): Remove dead assignment to `len'. + * http.c (skip_short_body): Remove dead assignment to `ret'. + * init.c (wgetrc_user_file_name): Remove dead assignment to `home'. + * main.c (main): Silent warning reported by clang. + (http_loop): Silent warning reported by clang. + * retr.c (retrieve_url): Likewise. + * url.c (init_seps): Remove dead assignment to `p'. + +2010-10-11 Giuseppe Scrivano + + * ftp.c (getftp): Fix indentation. + +2010-10-11 Steven Schubiger + + * ftp.c (getftp): Initialize `targ'. + +2010-10-08 Ivanov Anton (tiny change) + + * src/html-url.c (check_style_attr): Skip quotes when they are present. + +2010-10-06 Giuseppe Scrivano + + * main.c (main): Remove unused variable `status'. + +2010-09-25 Merinov Nikolay + + * init.c: Add "unlink" command into command list. + * main.c: Add "unlink" option into option_data list. + * options.h: Adding unlink field into struct options. + * wget.h: Addind UNLINKERR error into uerr_t enum. + * exits.c (get_status_for_err): define status for UNLINKERR. + * ftp.c (getftp): unlink file if exists, instead clobbering. + (ftp_loop_internal): processing UNLINKERR. + * http.c (gethttp): unlink file if exists, instead clobbering. + (http_loop): processing UNLINKERR. + +2010-09-24 Dennis, CHENG Renquan + + Fix problem when content-disposition is used with recursive downloading. + * url.h (url_file_name): Add a new argument `replaced_filename'. + * url.c (url_file_name): Likewise. + * http.c (parse_content_disposition): Do not add a prefix to the return + value. + (test_parse_content_disposition): Adjust tests. + (gethttp): Pass additional parameter to `url_file_name'. + (http_loop): Likewise. + * ftp.c (ftp_loop_internal, ftp_get_listing, ftp_retrieve_list) + (ftp_loop): Likewise. + +2010-09-14 Giuseppe Scrivano + + * convert.c (local_quote_string): Accept new parameter `no_html_quote'. + Inhibit HTML quoting when `no_html_quote'. + (convert_links): Disable HTML quoting in CSS files. + Reported by: Manuel Reinhardt . + +2010-09-12 Giuseppe Scrivano + + * main.c (print_help): Align --trust-server-names help text with + the rest of the text. + Suggested by: Mike Frysinger . + +2010-08-20 Giuseppe Scrivano + + * convert.c: Include "iri.h". + (convert_links_in_hashtable): Parse the url, if + necessary, before check if it is present in the dowloaded url + map. + Reported by: . + +2010-08-09 Giuseppe Scrivano + + Fix a problem with HTTP/1.0 proxies. + * http.c (gethttp): Specify the connection header when keep alive + connections are not used. + + Use persistent connections with proxies supporting them. + * http.c (gethttp): Specify Proxy-Connection to the HTTP proxy. + +2010-08-06 Giuseppe Scrivano + + * css-url.c (get_uri_string): Skip empty urls. + +2010-07-25 John Trengrove (tiny change) + + * ftp.h: Added enum `parsetype'. Modified struct to hold parsetype. + + * ftp-ls.c (ftp_parse_unix_ls): Default to TT_DAY. Change to TT_HOUR_MIN + if hours/minutes parsed. + (ftp_parse_winnt_ls): Default to TT_HOUR_MIN. + (ftp_parse_vms_ls): Default to TT_HOUR_MIN. + (ftp_index): Print only if fileinfo struct value ttype set to TT_HOUR_MIN. + +2010-07-30 Giuseppe Scrivano + + * html-url.h (struct map_context): Remove member `tail'. + + * html-url.c (append_url): Append the new url ordered by `position'. + (get_urls_html): Do not initialize `ctx.tail'. + + * css-url.c (get_urls_css_file): Do not initialize `ctx.tail'. + +2010-07-29 Giuseppe Scrivano + + * gnutls.c (wgnutls_peek): Don't read more data if the buffered peek + data is sufficient. + +2010-07-28 Giuseppe Scrivano + + * http.h (http_loop): Add new argument `original_url' + * http.c (http_loop): Add new argument `original_url'. Use + `original_url' to get a filename if `trustservernames' is false. + + * init.c (commands): Add "trustservernames". + + * options.h (library): Add variable `trustservernames'. + + * main.c (option_data): Add trust-server-names. + (print_help): Describe --trust-server-names. + + * retr.c (retrieve_url): Pass new argument to `http_loop'. + +2010-07-20 Alan Jenkins (tiny change) + + * http.c (gethttp): Check content-length was set before trying to + compare it with the already downloded filesize. + +2010-07-20 Leonid Petrov + + * ftp.c (getftp): Don't attempt to retrieve the file if it is already + completely. + (ftp_loop_internal): Force the length to be zero for symlinks. + +2010-07-18 Giuseppe Scrivano + + * http.c (gethttp): If -N is used, don't exit immediately if the content + length is less or equal than the existing file size. Specify "Range" + only if -N is not used. + Reported by: Caleb Cushing . + +2010-07-14 Giuseppe Scrivano + + * ftp.c (max): Remove definition. + (getftp): New variable `got_expected_bytes'. Let `expected_bytes' be + the value SIZE returns, otherwise use the bytes count returned by RETR. + Suggested by Daniel Stenberg . + +2010-07-14 Giuseppe Scrivano + + * ftp.c (max): Add definition. + (getftp): Consider for `expected_bytes' the greatest value between the + bytes count returned by SIZE and the bytes count returned by RETR. + Reported by: Jozua . + +2010-07-11 Giuseppe Scrivano + + * http.c (http_loop): New variable `force_full_retrieve'. If the remote + file is newer that the local one then inhibit -c. + Reported by: Caleb Cushing . + +2010-07-09 Giuseppe Scrivano + + * css-url.c (get_urls_css_file): Use `wget_read_file' instead of + `read_file'. Use `wget_read_file_free' instead of `read_file_free'. + * convert.c (convert_links): Likewise. + * html-url.c (get_urls_html, get_urls_file): Likewise. + * res.c (res_parse_from_file): Likewise. + + * utils.h: Rename `read_file' to `wget_read_file'. Rename + `read_file_free' to `wget_read_file_free'. + + * utils.c (wget_read_file): Renamed from `read_file'. + (wget_read_file_free): Renamed from `read_file_free'. + +2010-07-05 Giuseppe Scrivano + + * gnutls.c (ssl_init): New local variables `ca_directory' and `dir'. + Load default root certificates under the `ca_directory' directory. + 2010-07-03 Giuseppe Scrivano * gnutls.c (ssl_connect_wget): New local variable `allowed_protocols'.