"Fossies" - the Fresh Open Source Software Archive

Member "wget-1.21.3/ChangeLog" (26 Feb 2022, 908936 Bytes) of package /linux/www/wget-1.21.3.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 1.21.2_vs_1.21.3.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 2022-02-26  Darshit Shah  <darnir@gnu.org>
    2 
    3 	* NEWS: Update NEWS items for release
    4 
    5 	* .gitignore: Remove empty line at EOF
    6 
    7 	* .gitignore: Update file
    8 
    9 	* src.hsts.c(hsts_read_database): Use SCNd64 for portable format flags
   10 
   11 	* configure.ac: Add some warning flags to ignore
   12 
   13 	* cfg.mk: Remove passing syntax-checks from skip list
   14 
   15 	Fix issues from syntax-check
   16 	* doc/wget.texi: s/time stamp/timestamp/
   17 	* src/ftp-ls.c(clean_line): Same
   18 	  (ftp_parse_vms_ls): Don't cast return value of x*alloc
   19 	* src/ftp.c: Don't cast return value of alloca
   20 	* src/css-url.c: wget.h should be the first include
   21 	* testenv/Makefile.am: Use $(PATH_SEPARATOR) instead of : when declaring
   22 	  a path
   23 	* testenv/Test-no_proxy-env.py: s/can not/cannot/
   24 
   25 	* Update Copyright years
   26 
   27 	* bootstrap: Update script
   28 
   29 	* gnulib: Pull forward
   30 
   31 	Cleanup some incorrect uses of AM Conditionals
   32 	    * configure.ac: Replace IRI_IS_ENABLED with WITH_IRI and
   33 	      METALINK_IS_ENABLED with WITH_METALINK
   34 	    * src/Makefile.am: Add the .c and .h files for IRI, Metalink and
   35 	      Xattr support to wget_SOURCES directly when needed instead of
   36 	      adding them as object files.
   37 	    * testenv/Makefile.am: Rename METALINK_IS_ENABLED to WITH_METALINK
   38 
   39 2022-02-26  Darshit Shah  <darnir@gnu.org>
   40 
   41 	Replace incorrect usage of AC_LIBOBJ in configure.ac
   42 	AC_LIBOBJ is to be used for providing replacement functions for
   43 	compatibility reasons. Not for conditional compilation of entire source
   44 	files. Autotools provides other methods for achieving that. However, our
   45 	build system has (ab-)used the AC_LIBOBJ macros for doing this for over
   46 	15 years. That stops today.
   47 
   48 	    * configure.ac: Replace uses of AC_LIBOBJ with automake conditionals
   49 	      that can be used in Makefiles
   50 	    * src/Makefile.am: Use the defined conditionals to select which
   51 	      files get built.
   52 
   53 2022-02-25  Darshit Shah  <darnir@gnu.org>
   54 
   55 	Fix case where installed gettext is newer than minimum version
   56 	* configure.ac: Use AM_GNU_GETTEXT_REQUIRE_VERSION to specify a minimum
   57 	  version of gettext needed. This should allow newer versions of gettext
   58 	  to be copied for autipoint to use when available.
   59 
   60 	This commit hopefully fixes the annoying issue when building from
   61 	source on a system that has a newer version of gettext.
   62 
   63 2022-02-13  Tim Rühsen  <tim.ruehsen@gmx.de>
   64 
   65 	* src/netrc.c (test_parse_netrc): Free netrc structure
   66 
   67 	* .gitlab-ci.yml: Fix path to llvm-symbolizer
   68 
   69 	* src/netrc.c (test_parse_netrc): New unit test function
   70 
   71 2022-01-31  Aarni Koskela  <akx@iki.fi>  (tiny change)
   72 
   73 	* src/http.c (parse_strict_transport_security): Fix typo in string
   74 
   75 2022-01-23  Tim Rühsen  <tim.ruehsen@gmx.de>
   76 
   77 	* .gitlab-ci.yml (Scan-Build): Allow failure due to two false positives
   78 
   79 	* configure.ac: Use pkg-config for gpgme, libidn2 and nettle
   80 
   81 2022-01-22  Tim Rühsen  <tim.ruehsen@gmx.de>
   82 
   83 	* src/ftp.c: Small cleanups
   84 
   85 2022-01-16  Nik Soggia  <wget@niksoggia.it>  (tiny change)
   86 
   87 	Print newline after dot progress bar in non-verbose mode
   88 	* src/progress.c (dot_finish): Print new in all progress bar contexts
   89 	  instead of just verbose
   90 
   91 2022-01-12  Tim Rühsen  <tim.ruehsen@gmx.de>
   92 
   93 	* .gitlab-ci.yml: Fix artifact path for the Scan-Build runner
   94 
   95 2022-01-09  Tim Rühsen  <tim.ruehsen@gmx.de>
   96 
   97 	* src/main.c (main): Unlink output document when --unlink is given
   98 
   99 2021-12-22  Tim Rühsen  <tim.ruehsen@gmx.de>
  100 
  101 	fuzz/*.in: Update fuzzer corpora
  102 
  103 	* .gitlab-ci.yml (CoverageReports): Fix artifacts paths
  104 
  105 	* tests/valgrind-suppressions: Fix libidn rule
  106 
  107 	* .gitlab-ci.yml: Fix artifacts paths
  108 
  109 	* tests/valgrind-suppressions: Extend libidn rule
  110 
  111 	* src/log.c (logprintf): Check earlier for verbosity
  112 
  113 	* src/http.c (http_loop): Fix memleak
  114 
  115 2021-12-21  Tim Rühsen  <tim.ruehsen@gmx.de>
  116 
  117 	Switch fuzzing build from C++ to C
  118 	* Makefile.am (oss-fuzz): Build with $CC instead of $CXX.
  119 	* README.md: Remove CXX and CXXFLAGS exports.
  120 
  121 2021-12-01  Darshit Shah  <darnir@gnu.org>
  122 
  123 	* src/http.c (http_loop): Hide password when printing status with -nv
  124 	Reported-By: Per Lundberg <perlun@gmail.com>
  125 	Closes: #61492
  126 
  127 	* gnulib: Pull forward
  128 
  129 	* src/hsts.c (hsts_read_database): Read time_t values as long long
  130 
  131 2021-12-01  Thomas Niederberger  <thomas@niederb.ch>
  132 
  133 	* src/main.c (print_help): Add command line option for TLS 1.3
  134 
  135 2021-10-11  Darshit Shah  <darnir@gnu.org>
  136 
  137 	* retr.c (rotate_backups): Non existent files are not errors in this function
  138 
  139 2021-10-08  Darshit Shah  <darnir@gnu.org>
  140 
  141 	* ftp.c (ftp_loop_internal): Fix computation of total_downloaded_bytes
  142 	When continuing a FTP download, or not starting one because the file is
  143 	already fully retrieved, don't include the size of the file in the
  144 	total_downloaded_bytes. Only the actual amount of data retrieved over
  145 	the network should be considered there.
  146 
  147 	Fixes: #61277
  148 	Reported-By: Michal Ruprich <formaiko>
  149 
  150 2021-09-08  Darshit Shah  <darnir@gnu.org>
  151 
  152 	Remove suprious print statements
  153 	* src/gnutls.c: Remove fprintf statements. We should never print to
  154 	  console directly. Always honor the log levels.
  155 	  Fixes: #61125
  156 
  157 2021-09-07  Darshit Shah  <darnir@gnu.org>
  158 
  159 	maint: post-release administrivia
  160 	* NEWS: Add header line for next release.
  161 	* .prev-version: Record previous version.
  162 	* cfg.mk (old_NEWS_hash): Auto-update.
  163 
  164 	* NEWS: Update NEWS items for release
  165 
  166 	* cfg.mk: Disable the indent check
  167 
  168 	* gnulib: Pull forward
  169 
  170 2021-08-21  WB  <3572564-wadersgeek@users.noreply.gitlab.com>
  171 
  172 	Fix #60956 (improve --page-requisites)
  173 	* src/html_url.c (tag_handle_link): Check for "alternate stylesheet",
  174 	  "icon" and "manifest".
  175 
  176 2021-08-07  Tim Rühsen  <tim.ruehsen@gmx.de>
  177 
  178 	* src/html-url.c (tag_handle_meta): Fix integer overflow
  179 
  180 2021-07-05  Tim Rühsen  <tim.ruehsen@gmx.de>
  181 
  182 	* src/recur.c (download_child): Remove temporary robots.txt.tmp
  183 
  184 2021-06-14  Josef Moellers  <jmoellers@suse.de>
  185 
  186 	Long pathnames patch
  187 
  188 2021-06-07  Tim Rühsen  <tim.ruehsen@gmx.de>
  189 
  190 	* .gitlab-ci.yml: Remove scan-build deps from pages stage
  191 
  192 	* .gitlab-ci.yml: Move scan-build/ to public/ only if it exists
  193 
  194 2021-06-06  Tim Rühsen  <tim.ruehsen@gmx.de>
  195 
  196 	* .gitlab-ci.yml: Move scan-build results to parent directory
  197 
  198 	* .gitlab-ci.yml: Move coverage results to parent directory
  199 
  200 	* .gitlab-ci.yml: Don't allow failure of scan-build
  201 
  202 	* .gitlab-ci.yml: Pages needs Build-Tarball
  203 
  204 	* src/url.c (append_uri_pathel): Add cheap extra check to help static analyzers
  205 
  206 	* src/http.c (gethttp): Add cheap extra check to help static analyzers
  207 
  208 	* .gitlab-ci.yml: Exclude src/css_.o from scan-build
  209 
  210 	* src/main.c (main): Removed unused variable
  211 
  212 2021-06-06  Tim Rühsen  <tim.ruehsen@gmx.de>
  213 
  214 	Revert "Long pathnames patch"
  215 	This reverts commit affad27664afccdedafd94711d350f368e859be4.
  216 
  217 	Manual tests with very long path names did not work with this patch.
  218 	We have to wait for a patch including automated tests.
  219 
  220 2021-06-06  Tim Rühsen  <tim.ruehsen@gmx.de>
  221 
  222 	* .lgtm.yml: Add autoconf-archive
  223 
  224 	* .gitlab-ci.yml: Re-arrange stages
  225 
  226 	Remove .git/, .gitmodules and gnulib/ from bootstrap artefacts
  227 
  228 2021-06-06  Darshit Shah  <darnir@gnu.org>
  229 
  230 	Updated Gitlab CI Pipeline
  231 	* .gitlab-ci.yml: COmpletely overhauled CI pipeline with dependencies
  232 	  for a faster and more robust CI.
  233 
  234 2021-05-29  jmoellers  <josef.moellers@suse.com>
  235 
  236 	Long pathnames patch
  237 
  238 2021-05-22  Tim Rühsen  <tim.ruehsen@gmx.de>
  239 
  240 	* fuzz/wget_read_hunk_fuzzer.c: Add explicit cast for C++ compilation
  241 
  242 	* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation
  243 
  244 2021-05-03  Tim Rühsen  <tim.ruehsen@gmx.de>
  245 
  246 	* src/http.c (initialize_request): Send Host HTTP header first
  247 	This solves an issue where the server expects the Host: header
  248 	as first one. This seems plausible (ahem) as the Host: header is the
  249 	only one that is required.
  250 
  251 2021-05-02  Tim Rühsen  <tim.ruehsen@gmx.de>
  252 
  253 	Improve wget_options_fuzzer
  254 	* fuzz/fuzzer.h: Ignore -Wunused-parameter.
  255 	* fuzz/wget_options_fuzzer.c: Let getaddrinfo() fail in while fuzzing.
  256 	* fuzz/wget_options_fuzzer.in/*: Update corpora from OSS-Fuzz.
  257 
  258 2021-05-02  Nekun  <nekokun@firemail.cc>  (tiny change)
  259 
  260 	Fix typo in VMS support code
  261 	* src/utils.c: Remove unpaired brace
  262 
  263 2021-04-15  Nils  <nils@nilsand.re>  (tiny change)
  264 
  265 	Use "nofollow" instead of "no-follow" in messages
  266 	* src/html-url.c (get_urls_html_fm): Remove misleading debug message.
  267 	* src/recur.c (retrieve_tree): Fix no-follow -> follow in DEBUGP.
  268 
  269 	The attribute in html is "nofollow" so it is more consistent to call it
  270 	so than to hyphenate it.
  271 
  272 2021-04-15  Nils  <nils@nilsand.re>  (tiny change)
  273 
  274 	Print message for no-follow attribute only if norobots respected
  275 	* src/html-url.c (get_urls_html_fm): Remove misleading log message.
  276 	* src/recur.c (retrieve_tree): Add log message into correct if block.
  277 
  278 	Commit e39be3283836b8cb7b9ee320456eefb2a2fda173 added a message that
  279 	said links will not be followed whenever the nofollow attribute is found
  280 	in a page. It didn't take into account that with -e robots=off (and
  281 	equivalents) links will still be followed.
  282 
  283 	This bug has been noticed multiple times:
  284 	* https://www.reddit.com/r/DataHoarder/comments/mprq89/wget_respects_nofollow_attribute_despite_e/
  285 	* https://gist.github.com/simonw/27e810771137408fd7834ad153750c41#gistcomment-3648191
  286 	* https://superuser.com/questions/1494761/wget-wont-ignore-no-follow-attributes
  287 
  288 	This commits makes it so that this message is only printed when a
  289 	nofollow link is found and the norobots convention is respected.
  290 
  291 2021-04-15  Tim Rühsen  <tim.ruehsen@gmx.de>
  292 
  293 	* configure.ac: Add AM_GNU_GETTEXT_VERSION
  294 
  295 2021-04-11  Tim Rühsen  <tim.ruehsen@gmx.de>
  296 
  297 	* testenv/test/base_test.py: Rename valgrind-suppression-ssl -> valgrind-suppressions-ssl
  298 
  299 	* testenv/test/base_test.py: Add --show-leak-kinds=all valgrind argument
  300 
  301 	* tests/WgetTests.pm: Add --show-leak-kinds=all valgrind argument
  302 
  303 	Fix testenv valgrind suppression
  304 	* testenv/Makefile.am: Remove valgrind-suppressions from EXTRA_DIST.
  305 	* testenv/valgrind-suppression-ssl: Rename to testenv/valgrind-suppressions-ssl.
  306 
  307 2021-04-11  Tim Rühsen  <tim.ruehsen@gmx.de>
  308 
  309 	* bootstrap.conf: Add 'rename' to gnulib modules
  310 	The missing module could be a reason for
  311 	https://savannah.gnu.org/bugs/?60346.
  312 
  313 	Reported-by: jrharris42@gmail.com
  314 
  315 2021-04-11  Tim Rühsen  <tim.ruehsen@gmx.de>
  316 
  317 	* src/wget.h: Use strtoll() for str_to_wgint
  318 	This fixes a regression reported at https://savannah.gnu.org/bugs/?60353.
  319 
  320 	Reported-by: Michal Ruprich
  321 
  322 2021-04-11  Shamil Gumirov  <shamil@gumirov.com>  (tiny change)
  323 
  324 	Minor output fix to use quote_n() instead of quote()
  325 	* src/ftp.c (ftp_retrieve_list): change quote to quote_n
  326 	* src/iri.c (do_conversion): change quote to quote_n
  327 	* src/url.c (convert_fname): change quote to quote_n
  328 
  329 	The implementation quote() reuses the buffer it returns which
  330 	leads to printing the same string for each quote() call in one
  331 	output line. Instead, quote_n() should be used as highlighted in
  332 	the doc:
  333 	https://www.gnu.org/software/gnulib/manual/html_node/Quoting.html
  334 
  335 2021-04-05  Tim Rühsen  <tim.ruehsen@gmx.de>
  336 
  337 	* src/Makefile.am: Add metalink.c and xattr.c to EXTRA_wget_SOURCES
  338 
  339 	* testenv/Makefile.am: Allow tarball build without python3
  340 
  341 2021-04-04  Tim Rühsen  <tim.ruehsen@gmx.de>
  342 
  343 	Fix spelling errors
  344 	* NEWS: trough -> through.
  345 	* README.checkout: Likewise.
  346 	* contrib/spell-checker: Add exclusion 'parm'
  347 
  348 	Remove gettext version requirements
  349 	* bootstrap.conf: Remove gettext version requirements
  350 	* configure.ac: Likewise.
  351 
  352 2021-03-16  Darshit Shah  <darnir@gnu.org>
  353 
  354 	Use a LOG_COMPILER for running fuzz tests
  355 	This prevents needing a special case in the fuzz tests to detect
  356 	valgrind usage and a new exec. Instead, we simply detect the environment
  357 	in a shell script and start the test with valgrind in the first place.
  358 
  359 	* fuzz/test-runner.sh: New script for running the fuzz tests
  360 	* fuzz/main.c (main): Remove code for re-running under valgrind
  361 	* fuzz/Makefile.am: Set the LOG_COMPILER to test-runner.sh and remember
  362 	  to add it to the list of extra files for packaging
  363 
  364 2021-03-07  Tim Rühsen  <tim.ruehsen@gmx.de>
  365 
  366 	* configure.ac: Add AC_PROG_CC_C99
  367 
  368 2021-03-07  Darshit Shah  <darnir@gnu.org>
  369 
  370 	Bump gettext version to 0.20
  371 	* bootstrap.conf: Increase minimum version of gettext needed to 0.20
  372 	* configure.ac: Same
  373 
  374 	* bootstrap: Update script
  375 
  376 	* gnulib: Pull forward
  377 
  378 2021-03-02  Darshit Shah  <darnir@gnu.org>
  379 
  380 	Fix double free in FTP Code
  381 	* src/ftp.c(getftp): Don't free `target`. If it is not pointing to
  382 	  targetbuf, then it still pointing to its original location of u->dir.
  383 	  This location will be free'd later. Doing so now causes a double free
  384 	  and hence crashes Wget
  385 	* tests/Test-ftp-dir.px: New test to show double free error
  386 	* tests/Makefile.am: Add new test
  387 
  388 2021-01-31  Tim Rühsen  <tim.ruehsen@gmx.de>
  389 
  390 	* doc/wget.texi: Replace '' with  in example
  391 	Needed to hide from texi2pod.pl replacement of '' -> ".
  392 
  393 	Reported-by: Vincent Lefevre
  394 
  395 2021-01-23  Tim Rühsen  <tim.ruehsen@gmx.de>
  396 
  397 	Use gnulib's utime.h
  398 	* bootstrap.conf: Remove utime-h (included by utime).
  399 	* configure.ac: Remove header checks for utime.h and sys/utime.h.
  400 	* src/utils.c: Simply #include <utime.h>.
  401 
  402 	* configure.ac: Detect unresolved AX_ macros
  403 
  404 2021-01-16  Tim Rühsen  <tim.ruehsen@gmx.de>
  405 
  406 	* configure.ac: Use noyywrap for AC_PROG_LEX
  407 
  408 	Fix --quota on systems with 32bit long type
  409 	* src/init.c (cmd_bytes_sum): Use WGINT_MIN and WGINT_MAX in check.
  410 	* src/options.h (struct options): Make 'quota' of type wgint.
  411 	* src/retr.c: Make 'total_downloaded_bytes' of type wgint.
  412 	* src/utils.h: Fix comment.
  413 	* src/wget.h: Add WGINT_MIN, remove SUM_SIZE_INT.
  414 
  415 	* configure.ac: Remove obsolete AC_HEADER_STDC
  416 
  417 	* configure.ac: Replace ` with '
  418 
  419 	* configure.ac: Use yywrap param for AC_PROG_LEX
  420 
  421 2021-01-09  Darshit Shah  <darnir@gnu.org>
  422 
  423 	maint: post-release administrivia
  424 	* NEWS: Add header line for next release.
  425 	* .prev-version: Record previous version.
  426 	* cfg.mk (old_NEWS_hash): Auto-update.
  427 
  428 	* NEWS: Update NEWS items for release
  429 
  430 	* gnulib: Pull forward
  431 
  432 	* cfg.mk: Add manual_title for web docs
  433 
  434 	* contrib/make-release: Update to use maintainer-makefile
  435 
  436 	* bootstrap.conf: Add gendocs and gnu-web-doc-update modules
  437 
  438 	* configure.ac(AM_INIT_AUTOMAKE): Create lzip archives when making a distribution
  439 
  440 	Prepare for making releases
  441 	The maintainer makefile provides targets for making a release. They need
  442 	these things:
  443 	* cfg.mk: Set the hash of the NEWS file as it was at the beginning of
  444 	  this release
  445 	* .prev-version: Create the .prev-version file
  446 
  447 	Prepare NEWS file for new release
  448 	* NEWS: Fix the copyright notice
  449 	* NEWS: Add header for new release
  450 
  451 2021-01-07  Darshit Shah  <darnir@gnu.org>
  452 
  453 	Use PRId64 to correctly identify the format specifier
  454 	* src/utils.c: Use PRId64 to correctly identify the format specifier for
  455 	wgint values. This fixes a warning on 32-bit systems where wgint is a
  456 	long long int instead of the long int that the format specifier
  457 	indicated.
  458 
  459 	Reported-by: Jeffrey Walton
  460 
  461 2021-01-03  Darshit Shah  <darnir@gnu.org>
  462 
  463 	* src/retr.c(rotate_backups): Simplify logic for handling filename rotation
  464 
  465 2021-01-03  Matt Whitlock  <gentoo@mattwhitlock.name>
  466 
  467 	* configure.ac: Don't use Bashisms
  468 
  469 2021-01-01  Darshit Shah  <darnir@gnu.org>
  470 
  471 	Run make update-copyright
  472 
  473 	* gnulib: Pull forward
  474 
  475 2020-12-31  Darshit Shah  <darnir@gnu.org>
  476 
  477 	* NEWS: Finalize release
  478 
  479 	* gnulib: Update for release
  480 
  481 2020-12-30  Darshit Shah  <darnir@gnu.org>
  482 
  483 	* src/main.c: Disable use-askpass on VMS
  484 
  485 2020-12-30  Steven M. Schweda  <sms@antinode.info>
  486 	    Darshit Shah  <darnir@gnu.org>
  487 
  488 	Fixes for running on VMS
  489 	time_t on VMS is typically unsigned.  (Lazy man's solution to 2038?)
  490 	I added "(time_t)" type casts to negative values ("-1"), and changed
  491 	tests to avoid complaints.
  492 
  493 	* src/hsts.c (hsts_add_entry): Explicitly cast potentially negative time
  494 	  values to time_t to handle VMS quirks.
  495 	  (hsts_store_entry): Same
  496 	  (get_hsts_store_filename): Use new ajoin_dir_file function to join
  497 	  filenames
  498 	  (test_hsts_read_database): Same
  499 	* src/init.c (struct options): use-askpass is not implemented on VMS
  500 	  (ajoin_dir_file): New Function to join filenames in a platform
  501 	  agnostic manner
  502 	  (wgetrc_user_file_name): Use ajoin_dir_file to join paths. Doing this
  503 	  correctly, eliminates the need for a special case on VMS
  504 	* src/init.h: Add prototype for ajoin_dir_file
  505 	* src/log.c (check_redirect_output): Ignore on VMS
  506 	* src/main.c(option_data): Disable use-askpass on VMS
  507 	  (print_help): Same
  508 	  (get_hsts_database): Use ajoin_dir_file to join paths
  509 	  (print_version): Add VMS specific information to Version output
  510 	* src/utils.c (fork_to_background): Fix signature on VMS
  511 
  512 2020-12-29  Tim Rühsen  <tim.ruehsen@gmx.de>
  513 
  514 	Remove SIZEOF_WGINT as wgint is always int64_t
  515 	* src/http.c (test_parse_range_header): Remove use of SIZEOF_WGINT.
  516 	* src/utils.c (human_readable): Remove superfluous HR_NUMTYPE,
  517 	*   (number_to_string): Remove use of SIZEOF_WGINT.
  518 	* src/utils.h: Remove use of SIZEOF_WGINT and HR_NUMTYPE.
  519 	* src/wget.h: Remove #define SIZEOF_WGINT.
  520 
  521 	src/wget.h: Cleanup code around wgint
  522 
  523 2020-12-29  Darshit Shah  <darnir@gnu.org>
  524 
  525 	Remove portability handling for str[n]casecmp
  526 	* src/mswindows.c: Gnulib ensures we always have str{n}casecmp
  527 	* configure.ac: Don't need to define HAVE_STR[N]CASECMP anymore
  528 
  529 2020-12-29  Darshit Shah  <darnir@gnu.org>
  530 
  531 	Remove portability handling code for wgint
  532 	Gnulib's stdint.h module promises a C99 compliant stdint.h file on all
  533 	platforms. Thus allowing us to directly use the fixed wodth integer
  534 	type, int64_t wihout needing to resort to all the checks being
  535 	performed.
  536 
  537 	* src/wget.h: Assume that int64_t is always available and use it
  538 	* src/mswindows.h: Remove portability code since gnulib handles it
  539 	* configure.ac: Remove sizeof checks for integer types that are no
  540 	  longer used
  541 
  542 2020-12-29  Tim Rühsen  <tim.ruehsen@gmx.de>
  543 
  544 	* .lgtm.yml: Call autoreconf to support Debian oldstable
  545 
  546 2020-12-28  Tim Rühsen  <tim.ruehsen@gmx.de>
  547 
  548 	Fix --accept-regex/i--reject-regex for FTP
  549 	* src/ftp.c (ftp_retrieve_glob): Call accept_url() with the full URL
  550 
  551 	Reported-by: Frans de Boer <frans@fransdb.nl>
  552 
  553 2020-12-28  Darshit Shah  <darnir@gnu.org>
  554 
  555 	* tests/valgrind-suppressions: Make suppression for libidn false positive more generic
  556 
  557 	* Makefile.am: Clean up gnulib_po/stamp-po
  558 
  559 	tests/valgrind-suppressions: Add suppressions for false positives
  560 
  561 	testenv/Test--https.py: Fix missing import
  562 
  563 	.gitlab-ci.yml: Everyone needs an autoreconf now
  564 
  565 	.gitlab-ci.yml: Even Debian Stable requires running autoreconf
  566 
  567 	Fix usage of Magic number of tests
  568 	testenv/test/base_test.py: Add new variable SKIP_TEST
  569 	testenv/Test--https-crl.py: Use SKIP_TEST instead of magic number
  570 	testenv/Test--https.py: Same
  571 	testenv/Test-hsts.py: Same
  572 	testenv/Test-no_proxy-env.py: Same
  573 	testenv/Test-pinnedpubkey-der-https.py: Same
  574 	testenv/Test-pinnedpubkey-der-no-check-https.py: Same
  575 	testenv/Test-pinnedpubkey-hash-https.py: Same
  576 	testenv/Test-pinnedpubkey-hash-no-check-fail-https.py: Same
  577 	testenv/Test-pinnedpubkey-pem-fail-https.py: Same
  578 	testenv/Test-pinnedpubkey-pem-https.py: Same
  579 
  580 	.gitlab-ci.yml: All modern builds need autoreconf
  581 
  582 	.po/POTFILES.in: Remove files containing no translateable strings
  583 
  584 	Fix issues reported by codespell
  585 
  586 	.gitlab-ci.yml: Need --force option to autopoint
  587 
  588 	* .gitlab-ci.yml: Don't need autoreconf everywhere. Only on Arch
  589 	This (partially) reverts commit 0309d13794303d82529addecfc31f0e1a8c5b97b.
  590 
  591 	configure.ac: Revert to requiring gettext 0.19
  592 
  593 	.gitlab-ci.yml: Call autoreconf to refresh gettext files
  594 
  595 	* NEWS: Update NEWS items
  596 
  597 	configure.ac: Raise minimum gettext version to 0.20
  598 
  599 	Run autoupdate on configure.ac
  600 	* configure.ac, m4/{wget, wget_manywarnings}.m4: Run autoupdate
  601 
  602 	.gitignore: Ignore gnulib_po directory
  603 
  604 	configure.ac: Replace obsolete macro AC_AIX with AC_USE_SYSTEM_EXTENSIONS
  605 
  606 2020-12-27  Darshit Shah  <darnir@gnu.org>
  607 
  608 	bootstrap.conf: Remove unneeded text block
  609 
  610 	m4/getpagesize.m4: Don't track autogenerated file
  611 
  612 2020-12-27  Darshit Shah  <darnir@gnu.org>
  613 
  614 	Remove unneeded files from gnulib
  615 	m4/exitfail.m4: Remove unneeded file
  616 	m4/wchar.m4: Same
  617 	m4/wctype.m4: Same
  618 
  619 	The latest versions of these files will be copied by gnulib-tool upon
  620 	its invokation. No need to track them around here
  621 
  622 2020-12-27  Darshit Shah  <darnir@gnu.org>
  623 
  624 	Use a separate domain for translating gnulib
  625 	Use the --po-domain option to gnulib-tool to create a new textdomain
  626 	that can be used by gnulib files for translations. This way, we don't
  627 	have to maintain the list of all files that require translations in
  628 	gnulib.
  629 
  630 	* bootstrap.conf: Use --po-domain and --po-base options to create a
  631 	  separate base for gnulib translations
  632 	* src/main.c(i18n_initialize): Call bindtextdomain on wget-gnulib to
  633 	  include those translations as well
  634 	* Makefile.am: Add new directory gnulib_po to SUBDIRS
  635 	* configure.ac: Generate gnulib_po/Makefile.in
  636 	* lib/Makefile.am: Set AM_CPPFLAGS to empty since gnulib.mk expects it
  637 	  to be set
  638 
  639 2020-12-27  Darshit Shah  <darnir@gnu.org>
  640 
  641 	po/POTFILES.in: Update the list of files that need translation
  642 
  643 	m4/getpagesize.m4: Update from gnulib
  644 
  645 	configure.ac: Increase minimum required version to 2.64
  646 
  647 	gnulib: Pull forward
  648 
  649 2020-12-22  Darshit Shah  <git@darnir.net>
  650 
  651 	main.c (main): Warn when trying to use password without username
  652 
  653 2020-12-13  Tim Rühsen  <tim.ruehsen@gmx.de>
  654 
  655 	* src/http.c (http_cleanup): Reset wget_cookie_jar after freeing
  656 	This silences the wget_options_fuzzer which triggered #28610 on
  657 	OSS-Fuzz. This issue can not happen with the Wget utility.
  658 	The fuzzer runs main(),...,cleanup() in a loop which the Wget utility
  659 	never does.
  660 
  661 2020-11-08  Tim Rühsen  <tim.ruehsen@gmx.de>
  662 
  663 	* src/main.c: Add description to --help output of wait options
  664 
  665 2020-07-11  Tomas Hozza  <thozza@redhat.com>
  666 
  667 	testenv: Add test for handling of no_proxy environment variable
  668 	* testenv/Test-no_proxy-env.py: Added new test for no_proxy env
  669 	* testenv/Makefile.am: Added the new test to Makefile
  670 
  671 	Added new test with 5 cases, which are testing various combinations
  672 	of no_proxy environment variable definition and requested URLs.
  673 	The test is skipped if the system does not support resolution of
  674 	localhost subdomains to lcalhost address.
  675 
  676 2020-07-11  Tomas Hozza  <thozza@redhat.com>
  677 
  678 	testenv: Allow definition of environment variables for wget execuion
  679 	* testenv/README: Added description for new EnvironmentVariable hook
  680 	* testenv/conf/environment_variable.py: Added implementation of
  681 	EnvironmentVariable hook
  682 	* testenv/test/base_test.py: Modified exec_wget() to enable use of
  683 	EnvironmentVariable hook
  684 
  685 	Added new test hook called EnvironmentVariables, for defining environment
  686 	variables when wget is executed in tests. This is handy for testing
  687 	environment variables, which are accepted by wget.
  688 
  689 2020-07-11  Tomas Hozza  <thozza@redhat.com>
  690 
  691 	testenv: HTTPTest.begin() should return exit value
  692 	* testenv/test/http_test.py: Ensure that HTTPTest.begin() always returns
  693 	a value
  694 
  695 	Previously the HTTPTest.begin() method always returned None. However this
  696 	is not consistent with the begin() implementation of the parent class
  697 	(BaseTest). This change ensures that HTTPTest.begin() returns a value.
  698 
  699 2020-07-07  Darshit Shah  <git@darnir.net>
  700 
  701 	Minor documentation clarification
  702 	* src/wget.texi: Clarify behaviour of --quota
  703 	  Thanks to TheWild on IRC for pointing it out
  704 
  705 2020-06-29  Tim Rühsen  <tim.ruehsen@gmx.de>
  706 
  707 	* src/ftp.c (ftp_loop_internal): Check for VERIFCERTERR to avoid SIGABRT
  708 	There is a bug that causes wget to exit with SIGABRT when trying to
  709 	receive files through FTP from a server with a certificate that failed
  710 	the verification.
  711 
  712 	The bug is filed in RedHat Bugzilla for Fedora:
  713 	https://bugzilla.redhat.com/show_bug.cgi?id=1475861
  714 
  715 	Reported-by: Artem Egorenkov <aegorenk@redhat.com>
  716 
  717 2020-06-21  Tim Rühsen  <tim.ruehsen@gmx.de>
  718 
  719 	* src/host.c (lookup_host): Fix uninitialized pointer access in c-ares code
  720 	Reported-by: Swapnil More
  721 
  722 2020-05-22  Tim Rühsen  <tim.ruehsen@gmx.de>
  723 
  724 	* src/gnutls.c (ssl_init): Small cleanup fixing output of ncerts
  725 
  726 2020-05-01  Tim Rühsen  <tim.ruehsen@gmx.de>
  727 
  728 	* src/convert.c (downloaded_files_free): Only compile if DEBUG_MALLOC or TESTING is defined
  729 
  730 	* src/netrc.c (free_netrc): Only compile if DEBUG_MALLOC or TESTING is defined
  731 
  732 2020-05-01  Вячеслав Петрищев  <vyachemail@gmail.com>
  733 
  734 	Fix SSL/TLS timeout issues.
  735 	* connect.c (fd_read, fd_peek): Let implementation take care about timeout.
  736 	* gnutls.c (_do_handshake, _do_reauth, wgnutls_read_timeout): Fix support for interactive timeout.
  737 	* gnutls.c (wgnutls_peek): Let wgnutls_read_timeout() take care about timeout.
  738 	* openssl.c (openssl_read_peek): Fix 0 (-1) timeout.
  739 	* retr.c (fd_read_body): Avoid wrong 'interactive timeout'.
  740 
  741 	Set interactive to true for bar progress.
  742 	* src/progress.c (bar_set_params): Set interactive to true.
  743 	* src/retr.c (fd_read_body): Avoid call fd_read with 0 timeout.
  744 
  745 2020-05-01  Вячеслав Петрищев  <vyachemail@gmail.com>
  746 
  747 	New implementation for openssl_read, openssl_peek ssl_connect_with_timeout (openssl)
  748 	Add new implementation for openssl_read, openssl_peek
  749 	ssl_connect_with_timeout (openssl). Thats allow continue
  750 	read after ETIMEDOUT (if timeout < opt.read_timeout)
  751 	without 'Retrying', and do not create thread (under MSWin)
  752 	for every read. Old implementation, (with fix for 'timeout')
  753 	avaible for build with: -DOPENSSL_RUN_WITHTIMEOUT
  754 
  755 	Add timeout for transport_implementation {reader,peeker};
  756 
  757 	* src/init.c (cmd_time): Add check for negative value.
  758 	* src/connect.h (transport_implementation {reader,peeker}): Change function prototype.
  759 	* src/connect.c (select_fd_nb): New function, aviod conversion to blocked under MSWin.
  760 	* src/gnutls.c
  761 	   (gnutls_read): Fix: using timeout, seting ETIMEDOUT, conversion to blocked.
  762 	   (gnutls_peek): Likewise.
  763 	   (wgnutls_errstr): Add errmsg for ETIMEDOUT.
  764 	   (_do_handshake) (_do_reauth): Fix conversion to blocked.
  765 	* src/openssl.c:
  766 	   Add new implementation for openssl_read, openssl_peek, ssl_connect_with_timeout.
  767 	   (init_prng): when option --random-file given warn user if RAND_load_file() fail.
  768 
  769 2020-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
  770 
  771 	Add missing linefeed in output strings
  772 	* src/ftp.c (getftp): Add linefeed to error message.
  773 	* src/res.c (res_parse_from_file): Likewise.
  774 	* src/utils.c (fopen_stat): Likewise.
  775 	  (open_stat): Likewise.
  776 
  777 2020-03-28  Tim Rühsen  <tim.ruehsen@gmx.de>
  778 
  779 	* src/metalink.c: Include filename.h instead of dosname.h
  780 
  781 	* gnulib: Update
  782 
  783 2020-03-24  Tomas Hozza  <thozza@redhat.com>
  784 
  785 	Don't print message about loading crl or ca-cert files with --no-verbose
  786 	* src/gnutls.c (ssl_init): Use LOG_VERBOSE verbosity for informative
  787 	  message related to loading CRL or CA certificate file.
  788 
  789 	Before change [1], wget didn't produce any output related to loading CA
  790 	certificates when --no-verbose option has been used. When --no-verbose
  791 	option is used, only error messages and basic information should get
  792 	printed. Information about loading CRL or CA certificate is probably not
  793 	a basic information. Any error when loading the CRL or CA certificate
  794 	will be still printed with --no-verbose.
  795 
  796 	Some users rely on wget not printing such information and they consider
  797 	it a regression.
  798 
  799 	Reported as https://bugzilla.redhat.com/show_bug.cgi?id=1807267
  800 
  801 	[1] http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e4a8fe84e2b813b65d91aec29298eecabe4850a5
  802 
  803 2020-03-06  Tim Rühsen  <tim.ruehsen@gmx.de>
  804 
  805 	Add NTLM fuzzer
  806 	* configure.ac: Create WITH_NTLM conditional.
  807 	* fuzz/Makefile.am: Add wget_ntlm_fuzzer.
  808 	* fuzz/wget_ntlm_fuzzer.c: New file.
  809 	* fuzz/wget_ntlm_fuzzer.in/*: Initial fuzz corpora.
  810 
  811 	* src/http.c (check_auth): Fix memory leak
  812 
  813 	* src/http-ntlm.c (mkhash): Fix read buffer overflow
  814 
  815 2020-03-05  Tim Rühsen  <tim.ruehsen@gmx.de>
  816 
  817 	* README.checkout: Fix gperf typo and tab indentation
  818 
  819 	* .gitlab-ci.yml: Generate online docs and coverage reports for Gitlab
  820 
  821 2020-03-05  Tim Rühsen  <tim.ruehsen@gmx.de>
  822 
  823 	Add code coverage reporting
  824 	* configure.ac: Add AX_CODE_COVERAGE.
  825 	* Makefile.am: Add rules 'check-coverage' and 'fuzz-coverage'.
  826 	* fuzz/Makefile.am: Amend LDADD, AM_CFLAGS and AM_CPPFLAGS.
  827 	* src/Makefile.am: Amend LDADD, AM_CFLAGS and AM_CPPFLAGS.
  828 
  829 	This add a new configure option, --enable-code-coverage.
  830 
  831 	With this option enabled, generate test code coverage with
  832 	  make code-coverage
  833 	and generate coverage for the fuzz test corpora with
  834 	  make fuzz-coverage
  835 
  836 2020-03-05  Tim Rühsen  <tim.ruehsen@gmx.de>
  837 
  838 	* src/http.c: Don't cast 3rd param to request_set_header.
  839 
  840 	* README: Fix typo 'can retrieves' -> 'can retrieve'
  841 
  842 2020-03-03  Darshit Shah  <darnir@gnu.org>
  843 
  844 	* doc/wget.texi: Add maintainers and mention wget2
  845 
  846 	doc/wget.texi: Clarify usage of --level
  847 
  848 2020-03-03  Tim Rühsen  <tim.ruehsen@gmx.de>
  849 
  850 	* src/http.c (gethttp): Remove unneeded free of hstat.(message|error)
  851 
  852 	* src/http.c (gethttp): Fix memleaks
  853 	Reported-by: Вячеслав Петрищев
  854 
  855 	* src/http.c (read_response_body): Fix memleak
  856 	Reported-by: Вячеслав Петрищев
  857 
  858 2020-02-29  Tim Rühsen  <tim.ruehsen@gmx.de>
  859 
  860 	* contrib/spell-checker: Add lightening to exceptions
  861 
  862 	Always build ssl_cleanup
  863 	* src/gnutls.c (ssl_cleanup): Don't build conditionally.
  864 	* src/openssl.c (ssl_cleanup): Likewise
  865 
  866 2020-02-28  Tim Rühsen  <tim.ruehsen@gmx.de>
  867 
  868 	* doc/wget.texi: Fix spelling error
  869 	Reported-by: Jim Cathey
  870 
  871 2020-02-27  Tim Rühsen  <tim.ruehsen@gmx.de>
  872 
  873 	* src/convert.c (convert_cleanup): Free downloaded_css_set
  874 
  875 	* src/openssl.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING
  876 
  877 	* src/gnutls.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING
  878 
  879 	* src/netrc.c (netrc_cleanup): Only compile for DEBUG_MALLOC or TESTING
  880 
  881 	* src/log.c (log_cleanup): Only compile for DEBUG_MALLOC or TESTING
  882 
  883 	* src/host.c (host_cleanup): Only compile for DEBUG_MALLOC or TESTING
  884 
  885 	* src/spider.c (spider_cleanup): Only compile for DEBUG_MALLOC or TESTING
  886 
  887 	* src/res.c (res_cleanup): Only compile for DEBUG_MALLOC or TESTING
  888 
  889 	* src/convert.c (convert_cleanup): Only compile for DEBUG_MALLOC or TESTING
  890 
  891 	* src/html-url.c (cleanup_html_url): Only compile for DEBUG_MALLOC or TESTING
  892 
  893 	* src/http.c (http_cleanup): Free hashtable basic_authed_hosts
  894 
  895 	* src/cookies.c (cookie_jar_delete): Set psl to NULL after calling psl_free
  896 
  897 	* src/init.c (cleanup): Call ssl_cleanup and connect_cleanup
  898 
  899 	Add ssl_cleanup to free memory
  900 	* src/ssl.h: Add declaration for ssl_cleanup.
  901 	* src/openssl.c: Add ssl_cleanup stub.
  902 	* src/gnutls.c: Implement ssl_cleanup.
  903 
  904 	* src/http.c (http_cleanup): Call invalidate_persistent to free resources
  905 
  906 	* src/cookies.c: Free PSL in cookie_jar_delete
  907 
  908 	* src/connect.c (connect_cleanup): Only needed with DEBUG_MALLOC or TESTING
  909 
  910 	* src/http.c (http_loop): Avoid unneeded strdup
  911 
  912 2020-02-27  Вячеслав Петрищев  <vyachemail@gmail.com>
  913 
  914 	* src/http.c (gethttp): Fix memleak
  915 
  916 2020-02-23  Tim Rühsen  <tim.ruehsen@gmx.de>
  917 
  918 	* src/http.c: Do not reveal OS type to server via User-Agent: header
  919 	Following the "privacy by design" principle, which is now European law by
  920 	virtue of the GDPR since 2018, the client should not transmit the operating
  921 	system.
  922 
  923 	Fixes #57884
  924 	Reported-by: Bruno Haible
  925 
  926 2020-02-22  Tim Rühsen  <tim.ruehsen@gmx.de>
  927 
  928 	* tests/unit-tests.c: Fix 'multiple definition of...' with gcc 10
  929 
  930 	Split unique_name into two functions with just one arg
  931 	* src/http.c (check_file_output): Call unique_name_passthrough.
  932 	* src/metalink.c (badhash_suffix): Call unique_name.
  933 	* src/url.c (url_file_name): Call unique_name_passthrough.
  934 	* src/utils.c: Split unique_name, amend description.
  935 	* src/utils.h: Amend unique_name, add unique_name_passthrough.
  936 
  937 	* .gitlab-ci.yml: Set tag 'linux' explicitly for each runner
  938 
  939 2020-02-22  Tim Rühsen  <tim.ruehsen@gmx.de>
  940 
  941 	* src/http.c (print_response_line): Fixed comparison
  942 	Introduced in 68868bbb3737d26c197f39edafc5d526334426b0 (13.2.2020).
  943 
  944 	Reported-by: Gisle Vanem
  945 
  946 2020-02-21  Tim Rühsen  <tim.ruehsen@gmx.de>
  947 
  948 	Add valgrind suppressions
  949 	* testenv/valgrind-suppression-ssl: Add gnutls suppressions
  950 	* tests/valgrind-suppressions: Likewise
  951 	* tests/valgrind-suppressions-ssl: Likewise
  952 
  953 	Add --gen-suppressions=all to valgrind options
  954 	* testenv/test/base_test.py: Add --gen-suppressions=all to valgrind options
  955 	* tests/Test-proxied-https-auth.px: Likewise
  956 	* tests/WgetTests.pm: Likewise
  957 
  958 	* cfg.mk: Exclude sc_prohibit_gnu_make_extensions
  959 
  960 	* src/retr.c (fd_read_body): Check timer before accessing (Coverity #600494)
  961 
  962 	* src/warc.c (warc_write_start_record): Check return values of fseek, fflush (Coverity #1419650)
  963 
  964 	* src/ftp-ls.c (eat_carets): Fix caret decoding issue (Coverity #1419653)
  965 
  966 	* src/warc.c (warc_write_block_from_file): Check for write error (Coverity #1419654)
  967 
  968 	* src/warc.c (warc_write_end_record): Check return value of fseeko (Coverity #1419657)
  969 
  970 	Add valgrind suppressions for HTTPS tests (GnuTLS false positive)
  971 	* testenv/valgrind-suppression-ssl: Add new rule
  972 	* tests/valgrind-suppressions: Likewise
  973 	* tests/valgrind-suppressions-ssl: Likewise
  974 
  975 2020-02-20  Tim Rühsen  <tim.ruehsen@gmx.de>
  976 
  977 	* src/init.c (setoptval): Add missing comma (fix compilation)
  978 
  979 	* .gitlab-ci.yml: Add spell-checking to VPATH/Debian
  980 
  981 2020-02-20  Tim Rühsen  <tim.ruehsen@gmx.de>
  982 
  983 	Fix typos found by codespell
  984 	*/*: Fix typos
  985 
  986 	Thanks to https://fossies.org/features.html#codespell
  987 
  988 	Reported-by: Jens Schleusener
  989 
  990 2020-02-20  Tim Rühsen  <tim.ruehsen@gmx.de>
  991 
  992 	* contrib/spell-checker: Add new file
  993 
  994 	* src/init.c (setoptval): Silence Coverity (Coverity #1419648)
  995 
  996 	* src/main.c (init_switches): Remove unneeded code (Coverity #1419658)
  997 
  998 	* src/ftp-ls.c (ftp_parse_vms_ls): Fix use of uninitialized stack mem (Coverity #609373)
  999 
 1000 2020-02-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1001 
 1002 	* src/retr.c (retrieve_url): Fix memory leak (Coverity #1316408)
 1003 
 1004 	* src/http.c (set_file_timestamp): Fix stack memory leak (Coverity #1419655)
 1005 
 1006 	* src/main.c (main): Initialize variable (Coverity #1419660)
 1007 
 1008 	* .gitlab-ci.yml: Fix linebreak
 1009 
 1010 	* src/http.c (metalink_from_http): Fix memleak (Coverity #1419661, #1419656)
 1011 
 1012 	* .gitlab-ci.yml: Add 'coverity' runner
 1013 
 1014 	* contrib/mk_authors: Create list of authors and translators since last version
 1015 
 1016 	* src/progress.c (eta_to_human_short): Silence -Wformat-overflow
 1017 
 1018 2020-02-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 1019 
 1020 	* .gitlab-ci.yml: Don't copy gnulib manually
 1021 
 1022 	* NEWS: Update
 1023 
 1024 	Remove alloca includes and macros
 1025 	* bootstrap.conf: Remove gnulib module 'alloca'.
 1026 	* src/sysdep.h: Remove include of alloca.h.
 1027 	* src/wget.h: Likewise,
 1028 	  remove macros BOUNDED_TO_ALLOCA and STRDUP_ALLOCA.
 1029 
 1030 	* src/utils.h: Remove alloca_array
 1031 
 1032 	* src/convert.c (convert_links_in_hashtable): Remove use of alloca
 1033 
 1034 	* src/convert.c (local_quote_string): Remove use of alloca
 1035 
 1036 	* src/convert.c (replace_attr_refresh_hack): Remove use of alloca
 1037 
 1038 	* gnulib: Update
 1039 
 1040 	* bootstrap.conf: Use fnmatch-gnu instead of fnmatch
 1041 
 1042 	* src/convert.c (write_backup_file): Remove use of alloca
 1043 
 1044 	* src/utils.c (fnmatch_nocase): Remove FNM_CASEFOLD emulation, gnulib takes care of it
 1045 
 1046 	* src/cookies.c (cookie_header): Remove use of alloca
 1047 
 1048 	* src/cookies.c (cookie_header): Remove use of alloca
 1049 
 1050 	* src/cookies.c (cookie_handle_set_cookie): Remove use of alloca
 1051 
 1052 	* src/cookies.c (parse_set_cookie): Explicitly convert from double to time_t
 1053 
 1054 	* src/cookies.c (parse_set_cookie): Remove use of alloca
 1055 
 1056 	* src/warc.c (warc_uuid_str): Add second param to windows_uuid_str
 1057 
 1058 	* src/cookies.c (parse_set_cookie): Remove use of alloca
 1059 
 1060 	* src/main.c (main): Code clean, reduce allocations
 1061 
 1062 	* src/main.c: Modify macro IF_SSL to work with latest struct changes
 1063 
 1064 	* configure.ac: List 'no' for --with-ssl in help output
 1065 
 1066 2020-02-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 1067 
 1068 	* src/ftp.c (ftp_retrieve_dirs): Remove use of alloca
 1069 
 1070 	* src/ftp.c (ftp_retrieve_list): Remove use of alloca
 1071 
 1072 	* src/ftp.c (ftp_loop_internal): Remove use of alloca
 1073 
 1074 	* src/ftp.c (getftp): Remove use of alloca
 1075 
 1076 	* src/http.c: Include xstrndup.h unconditionally
 1077 
 1078 	* src/ftp-basic.c (ftp_request): Remove use of alloca
 1079 
 1080 	* src/html-parse.c (name_allowed): Remove use of alloca
 1081 
 1082 	* src/netrc.c (search_netrc): Remove use of alloca
 1083 
 1084 	* src/init.c (parse_line): Remove use of alloca
 1085 
 1086 	Remove use of alloca in setoptval
 1087 	* src/init.c (setoptval): Remove use of alloca
 1088 	* src/init.h: Add define MAX_LONGOPTION
 1089 	* src/main.c (struct cmdline_option): Make 'long_name' a char array
 1090 
 1091 	* src/http.c (check_auth): Remove use of alloca
 1092 
 1093 	* src/http.c (print_response_line): Remove use of alloca
 1094 
 1095 	* src/http.c (request_set_user_header): Remove use of alloca
 1096 
 1097 	* src/http.c (metalink_from_http): Remove use of alloca
 1098 
 1099 	* src/http.c (basic_authentication_encode): Remove use of alloca
 1100 
 1101 	* src/http.c (gethttp): Remove use of alloca
 1102 
 1103 	* src/http.c (gethttp): Remove use of alloca
 1104 
 1105 	* src/http.c (set_file_timestamp): Remove use of alloca
 1106 
 1107 	* src/main.c (main): Remove use of alloca
 1108 
 1109 	* src/url.c (append_uri_pathel): Replace alloca by fixed array / sprintf
 1110 
 1111 	* src/url.c (append_uri_pathel): Replace alloca by fixed array / xmalloc
 1112 
 1113 	* src/utils.c (make_directory): Replace alloca by fixed array / xmalloc
 1114 
 1115 	* src/utils.c (unique_name_1): Replace alloca by xmalloc
 1116 
 1117 	Add buffer size param to warc_uuid_str
 1118 	* src/http.c (gethttp): Add buffer size param to warc_uuid_str.
 1119 	* src/warc.c: Likewise
 1120 	* src/warc.h: Likewise
 1121 
 1122 2020-02-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 1123 
 1124 	* src/http-ntlm.c (ntlm_output): Remove alloca
 1125 
 1126 	* src/http-ntlm.c (mkhash): Replace alloca by fixed length array
 1127 
 1128 	* src/http-ntlm.c (ntlm_input): Replace alloca by fixed length array
 1129 
 1130 	* src/gnutls.c (ssl_init): Replace alloca by fixed length arrays
 1131 
 1132 	* src/retr.c (fd_read_body): Fix signedness warnings
 1133 
 1134 	* src/retr.c (rotate_backups): Replace alloca by fixed length arrays
 1135 
 1136 	* src/wget.h: Add inline to _unhex
 1137 
 1138 	* src/metalink.h: Include dirname.h, remove declaration of last_component
 1139 
 1140 	* configure.ac: Add -Wno-undef -Wno-float-equal to gcc's WARN_CFLAGS
 1141 
 1142 	* src/convert.c (convert_links): Fix previous commit
 1143 
 1144 	* src/convert.c (convert_links): Add \n (Fixes #57795)
 1145 
 1146 2020-01-25  Ander Juaristi  <ajuaristi@gmx.es>
 1147 
 1148 	Do not overwrite restval if len is smaller
 1149 	 * src/http.c (http_loop): overwrite 'restval' only if 'len' is
 1150 	   greater than it. Else substract 'len' to 'restval'.
 1151 
 1152 	When retrying a request, only send a 'Range' header if the previous
 1153 	request returned data.
 1154 
 1155 2020-01-24  Вячеслав Петрищев  <vyachemail@gmail.com>
 1156 
 1157 	Fix and cleanup progress bar code
 1158 	*src/progress.c
 1159 	 (struct dot_progress) accumulated, rows: Type changed to wgint
 1160 	 (print_row_stats): Fix missing unit name 'T'
 1161 	 (dot_update): Add ability to reduce dot_draw runtime
 1162 	 (bar_update): Avoid integer overflow
 1163 
 1164 	* src/progress.c: Fix MINIMUM_SCREEN_WIDTH
 1165 
 1166 	* src/progress.c (prepare_filename): Replace zero-width mbc (\xe2\x80\x8b, ...)
 1167 
 1168 	Reenabling filename scrolling code in progress bar
 1169 	* src/progress.c: Reenabling filename scrolling code
 1170 	  (bar_create):  Reenabling file name scrolling.
 1171 	  (bar_create):  Memory allocation, filename preparation.
 1172 	  (bar_finish):  Filename  memory deallocation.
 1173 	  (prepare_filename):  New function, replaces unprintable chars.
 1174 
 1175 	Fix multibyte handling in progress bar
 1176 	* src/progress.c
 1177 	  (count_cols): Fix return value if invalid multibyte sequence was encountered
 1178 	  (bar_draw): Fix xrealoc size
 1179 
 1180 2020-01-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 1181 
 1182 	* src/progress.c (print_row_stats): Fix two integer overflows
 1183 
 1184 	* .gitlab-ci.yml: Fix path for llvm-symbolizer
 1185 
 1186 	* fuzz/wget_progress_fuzzer.in/*: Add fuzzer corpora
 1187 
 1188 	* src/retr.c (calc_rate): Remove unwanted assertions
 1189 
 1190 	Fix buffer overflows in progress 'bar' code
 1191 	* src/progress.c (progress_interactive_p): Sanitize input.
 1192 	  (progress_update): Likewise.
 1193 	  (bar_create): Use larger BUF_LEN.
 1194 	  (bar_create): Remove superfluous memset.
 1195 	  (bar_create): Fix filename layout.
 1196 	  (bar_create): Remove filename scrolling code, it caused many buffer
 1197 	  overflows later in bar_create.
 1198 	  (bar_create): Support TB/s download speed.
 1199 
 1200 	Add new fuzzer for the progress bar code
 1201 	* Makefile.am: Add wget_progress_fuzzer.
 1202 	* wget_progress_fuzzer.c: New file.
 1203 
 1204 2020-01-10  Darshit Shah  <darnir@gnu.org>
 1205 
 1206 	Update copyright year to 2020
 1207 
 1208 	* cfg.mk: Set update-copyright to use intervals
 1209 
 1210 2019-12-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 1211 
 1212 	Fix segfault in progress bar in certain locales
 1213 	* src/progress.c (create_image): Protect memset from negative count
 1214 
 1215 	Reported-by: JunDong Xie
 1216 
 1217 2019-12-27  Tim Rühsen  <tim.ruehsen@gmx.de>  (tiny change)
 1218 
 1219 	* src/progress.c (count_cols): Fix return value if USE_NLS_PROGRESS_BAR is undefined
 1220 	Taking patch from #54126
 1221 	Reported-by: Vyacheslav
 1222 
 1223 2019-12-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 1224 
 1225 	* src/progress.c: Allow const names for set_progress_implementation.
 1226 
 1227 	* src/progress.c (dot_draw): Avoid integer overflow
 1228 
 1229 	* fuzz/README.md: Add --enable-assert to fuzzing build
 1230 
 1231 	* src/progress.c (print_row_stats): Fix UB if eta < 0
 1232 
 1233 	* src/progress.c (dot_update, dot_finish): Sanitize input
 1234 
 1235 	* src/retr.c (calc_rate): Fix division by 0
 1236 
 1237 	* src/retr.c (calc_rate): Add TB/s
 1238 
 1239 	* src/progress.c (create_image): Sanitize input param 'dl_total_time'
 1240 
 1241 	* fuzz/README.md: Update clang instructions
 1242 
 1243 2019-12-26  Lauri Nurmi  <lanurmi@iki.fi>  (tiny change)
 1244 
 1245 	Mark note to translators properly and elaborate its contents.
 1246 	* src/progress.c (create_image): Likewise
 1247 
 1248 	The note was not even picked by xgettext to be included in the .pot,
 1249 	so barely any translators even saw the note.
 1250 	Also, this is one of the most cryptic messages to translate in wget,
 1251 	unless the translator happens to guess where the string is used,
 1252 	or looks at the source.
 1253 
 1254 2019-12-26  Lauri Nurmi  <lanurmi@iki.fi>  (tiny change)
 1255 
 1256 	* src/main.c (print_help): Don't cut translatable string mid-sentence.
 1257 	Complicates translating.
 1258 
 1259 2019-11-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 1260 
 1261 	* fuzz/wget_read_hunk_fuzzer.c: Use cast to fix C++ error
 1262 
 1263 2019-11-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 1264 
 1265 	* src/Makefile.am: Add build_info.c to EXTRA_DIST
 1266 
 1267 	* .gitlab-ci.yml: Skip tests on tarball build due to missing perl
 1268 
 1269 	* tests/WgetTests.pm: Support  to set the wget executable for testing
 1270 
 1271 	* .gitlab-ci.yml: Add --with-ssl=no
 1272 
 1273 	* .gitlab-ci.yml: Allow failure for Valgrind and Scan-Build CI runner
 1274 
 1275 	* src/ftp.c (delelement): Make sure free'd pointer is set to NULL
 1276 
 1277 	* configure.ac: Remove -fno-sanitize-recover=integer
 1278 	With this option on, several overflows from gnulib code (all
 1279 	harmless and on purpose) would break our tests.
 1280 
 1281 2019-11-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 1282 
 1283 	Replace XDIGIT_TO_NUM by _unhex() with proper unsigned handling
 1284 	* src/wget.h: Replace XDIGIT_TO_NUM by _unhex()
 1285 	* src/html-parse.c (decode_entity): Use _unhex()
 1286 	* src/host.c (is_valid_ipv6_address): Use _unhex()
 1287 	* src/url.c (url_unescape_1): Use unsigned char to avoid UB
 1288 	* src/res.c (free_specs): Likewise
 1289 
 1290 	Code taken from Wget2. XDIGIT_TO_NUM had a signed issue, detected by
 1291 	scan-build static anylyzer.
 1292 
 1293 2019-11-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 1294 
 1295 	* src/connect.c (select_fd): Check for negative fd
 1296 
 1297 	* .gitlab-ci.yml: Enable Windows executables for MinGW runner
 1298 
 1299 	* .gitlab-ci.yml: Add CI runners from Wget2
 1300 
 1301 2019-11-21  Tomas Hozza  <thozza@redhat.com>
 1302 
 1303 	testenv: enable running tests on different wget binary
 1304 	* testenv/README: Document $WGET_PATH
 1305 	* testenv/test/base_test.py: Use $WGET_PATH instead ../src/wget if set
 1306 
 1307 	Previously tests in testenv/ directory were run only on wget binary
 1308 	which was built from sources in src/ directory. However as a
 1309 	wget maintainer in a Linux distribution, I would like to be able to run
 1310 	upstream tests on the wget binary distributed with the distribution.
 1311 
 1312 	This change enables one to define WGET_PATH environment variable
 1313 	to a path to wget binary which should be used by tests.
 1314 
 1315 2019-11-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 1316 
 1317 	* AUTHORS: Add Darshit Shah and Tim Rühsen as maintainers
 1318 
 1319 2019-11-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1320 
 1321 	* src/cookie.c: Fix cookie file header to be recognized by 'file'
 1322 
 1323 	* .mailmap: Allow mapping contributors for statistics
 1324 
 1325 2019-10-03  Darshit Shah  <darnir@gnu.org>
 1326 
 1327 	* configure.ac: Ignore -Wchkp which is deprecated
 1328 
 1329 	Update gnulib
 1330 	* gnulib: Pull submodule
 1331 	* bootstrap: Update file from gnulib
 1332 
 1333 2019-05-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 1334 
 1335 	Revert "Add . to perl path for all perl tests"
 1336 	This reverts commit 79be99aff4717a75ec7531d8b3a4ec96341754ca.
 1337 
 1338 	/usr/bin/env 8.28 and below doesn't know -S.
 1339 
 1340 2019-05-30  Darshit Shah  <darnir@gnu.org>
 1341 
 1342 	Revert "	Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header"
 1343 	I accidentally commited this patch.
 1344 
 1345 	This reverts commit 4ce2f93600827f47f7fea5e7eeb224232cef3c3d.
 1346 
 1347 2019-05-30  Darshit Shah  <darnir@gnu.org>
 1348 
 1349 	* .gitignore: Update gitignore file
 1350 
 1351 2019-05-30  sulfastor  <torresmoisesa@gmail.com>
 1352 
 1353 		Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header 	of the header field while RejectHeader rejects ONLY the specified full header. 	Since we wanted to be sure a header field is not sent to the server we wrote this rule.
 1354 		* doc/wget.texi: Added --disable-header documentation.
 1355 	        * fuzz/wget_options_fuzzer.dict: Update with --disable-header inputs.
 1356 	        * src/http.c (disabled_header): Checks for disabled headers
 1357 		(request_set_header): Doesn't let header to be set if disabled
 1358 		(gethttp): frees disabled header to let overriding
 1359 	        * src/init.c (cmd_dis_header), (check_user_disabled_header) added new option disabled_headers.
 1360 	        * src/main.c: added new option --disable-header, added help description
 1361 	        * src/options.h: added new option --disable-header
 1362 		* src/utils.h (vec_remove_header)
 1363 		* src/utils.c (vec_remove_header) removes all header instances from vector
 1364 	        * testenv/Makefile.am: Added new test files
 1365 	        * testenv/server/http/http_server.py: Added new rule RejectHeaderField
 1366 	        * testenv/conf/reject_header_field.py: Added new rule RejectHeaderField
 1367 	        * testenv/README: Added help description for new rule
 1368 	        * testenv/Test-disable-default-headers.py: Test without using --header
 1369 	        * testenv/Test-disable-headers-after.py: Test using --header before --disable-header
 1370 	        * testenv/Test-disable-headers-before.py: Test using --header after --disable-header
 1371 
 1372 2019-05-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 1373 
 1374 	* src/log.c (log_vprintf_internal): Don't log twice
 1375 
 1376 2019-05-25  AviSoomirtee  <avi@cyberstorm.mu>  (tiny change)
 1377 
 1378 	* src/openssl.c (ssl_init): post handshake auth for OpenSSL
 1379 
 1380 2019-05-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 1381 
 1382 	* bootstrap.conf: Explicitly set source_base and test_base
 1383 
 1384 2019-05-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 1385 
 1386 	* src/convert.c (convert_basename): Do not pass NULL to strrchr()
 1387 
 1388 	* src/url.c (append_uri_pathel): Check for possible NULL dereference
 1389 
 1390 	* fuzz/main.c: Fix paths for WIN32
 1391 
 1392 	* bootstrap.conf: Work around VPATH issue
 1393 
 1394 	* configure.ac: Update gettext version to 0.19.3
 1395 
 1396 	* bootstrap.conf: Remove rsync as prerequisite
 1397 	'./bootstrap --skip-po' won't need wget nor rsync
 1398 
 1399 	* bootstrap.conf: Replace prerequisite xz by gzip
 1400 
 1401 2019-05-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 1402 
 1403 	Add sanitizer flags for ./configure
 1404 	* bootstrap.conf: Add 'warning' gnulib module
 1405 	* configure.ac: Add --enable-fsanitize-* flags
 1406 	* tests/Makefile.am: Add compiler flags for unit testing
 1407 
 1408 2019-05-02  Tim Rühsen  <tim.ruehsen@gmx.de>
 1409 
 1410 	Add --enable-manywarnings from wget2
 1411 	* .gitignore: Exclude /lib/Makefile.am
 1412 	* bootstrap.conf: Use --makefile-name=gnulib.mk with gnulib-tool
 1413 	* configure.ac: Use wget_MANYWARNINGS()
 1414 	* lib/Makefile.am: Define empty noinst_LIBRARIES and MAINTAINERCLEANFILES
 1415 	* m4/wget_manywarnings.m4: New file from GNU Wget2
 1416 	* src/Makefile.am: Use WARN_CFLAGS for AM_CFLAGS
 1417 
 1418 2019-04-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 1419 
 1420 	Add CONTRIBUTING.md
 1421 	* CONTRIBUTING.md: New file for contributors
 1422 	* README: Mention CONTRIBUTING.md
 1423 
 1424 2019-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1425 
 1426 	* fuzz/*.in/*: Update corpora from OSS-fuzz
 1427 
 1428 	* fuzz/get_ossfuzz_corpora: Remove -f from unzip, mkdir *.in/
 1429 
 1430 	* .gitlab-ci.yml: Update Gitlab CI WORKDIR to /usr/local
 1431 
 1432 2019-04-26  Eneas U de Queiroz  <cote2004-github@yahoo.com>  (tiny change)
 1433 
 1434 	* src/openssl.c: fix ssl_init for openssl 1.1.1
 1435 	ssl_init fails with openssl 1.1.1 when openssl.cnf is not found.
 1436 	Redundant calls to intialization functions were removed as
 1437 	OPENSSL_config takes care of them for openssl versions < 1.1.0.
 1438 	For versions > 1.1.0, OPENSSL_init_ssl is preferred.
 1439 
 1440 2019-04-11  Leif Ryge  <leif@synthesize.us>  (tiny change)
 1441 
 1442 	* doc/wget.texi: Fix typo in man page
 1443 
 1444 2019-04-11  raminfp  <ramin.blackhat@gmail.com>
 1445 
 1446 	[log] miss check If logging is inhibited
 1447 
 1448 2019-04-05  Tim Rühsen  <tim.ruehsen@gmx.de>
 1449 
 1450 	* src/iri.c (do_conversion): Remove unneeded debug lines
 1451 
 1452 2019-04-05  Darshit Shah  <darnir@gnu.org>
 1453 
 1454 	* NEWS: Update NEWS for new release
 1455 
 1456 2019-04-05  Tim Ruehsen  <tim.ruehsen@gmx.de>
 1457 
 1458 	Fix a buffer overflow vulnerability
 1459 	* src/iri.c(do_conversion): Reallocate the output buffer to a larger
 1460 	  size if it is already full
 1461 
 1462 2019-04-05  Darshit Shah  <darnir@gnu.org>
 1463 
 1464 	* NEWS: Update NEWS for new release
 1465 
 1466 2019-04-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 1467 
 1468 	* src/openssl.c (ssl_init): Check for X509_V_FLAG_PARTIAL_CHAIN
 1469 
 1470 2019-04-01  Darshit Shah  <darnir@gnu.org>
 1471 
 1472 	* gnulib: Pull forward
 1473 
 1474 2019-03-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1475 
 1476 	* fuzz/main.c (test_all_from): Fix indentation
 1477 
 1478 2019-03-25  Tim Rühsen  <tim.ruehsen@gmx.de>
 1479 
 1480 	Fix corner case in processing server response
 1481 	* src/http.c (response_head_terminator): Don't access uninitialized data
 1482 	* fuzz/wget_read_hunk_fuzzer.c: Sync response_head_terminator()
 1483 
 1484 	Add new fuzzer wget_read_hunk_fuzzer.c
 1485 	* fuzz/Makefile.am: Add wget_read_hunk_fuzzer
 1486 	* fuzz/wget_read_hunk_fuzzer.c: New file
 1487 	* fuzz/wget_read_hunk_fuzzer.in/*: Fuzz corpora
 1488 	* src/connect.c: Add connect_cleanup()
 1489 	* src/connect.h: Add prototype for connect_cleanup()
 1490 
 1491 2019-03-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 1492 
 1493 	* fuzz/wget_netrc_fuzzer.c: Fix fuzzer
 1494 
 1495 	* fuzz/wget_ftpls_fuzzer.c: Fix fuzzer
 1496 
 1497 2019-02-22  Jeffrey Walton  <noloader@gmail.com>
 1498 
 1499 	* src/openssl.c (ssl_init): Trust partial cert chain
 1500 
 1501 2019-02-20  Tim Rühsen  <tim.ruehsen@gmx.de>
 1502 
 1503 	* src/ftp-ls.c (ftp_parse_vms_ls): Use snprintf instead of strcpy/strcat
 1504 
 1505 2019-02-19  Darshit Shah  <darnir@gnu.org>
 1506 
 1507 	* src/html-url.c(get_urls_html_fm): Add message in verbose mode with no-follow attribute
 1508 
 1509 2019-02-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1510 
 1511 	Fix fuzz/ tests for OpenBSD
 1512 	* fuzz/wget_*_fuzzer.c: Take care when calling exit()
 1513 
 1514 	* fuzz/Makefile.am: Remove hard-coded gcc flags
 1515 
 1516 	Fix STDERR closing/restoring in fuzzers
 1517 	* fuzz/fuzzer.h: Add CLOSE_STDERR and RESTORE_STDERR
 1518 	* fuzz/wget_*_fuzzer.c: Use CLOSE_STDERR and RESTORE_STDERR
 1519 
 1520 	* configure.ac: Rearrange AM_ICONV before gl_INIT
 1521 
 1522 2019-02-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1523 
 1524 	Do not hard-code -ldl in fuzz/Makefile.am
 1525 	* configure.ac: Search for dlopen and add library to $FUZZ_LIBS
 1526 	* fuzz/Makefile.am: Link with $FUZZ_LIBS instead of -ldl
 1527 
 1528 	This fixes linking on BSD systems.
 1529 
 1530 	Reported-by: Nam Nguyen
 1531 
 1532 2019-02-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 1533 
 1534 	* doc/wget.texi: Correct --logfile -> --output-file
 1535 
 1536 2019-02-10  Darshit Shah  <darnir@gnu.org>
 1537 
 1538 	Update gnulib
 1539 
 1540 	Update copyright statements
 1541 
 1542 2019-01-23  Leon Klingele  <git@leonklingele.de>  (tiny change)
 1543 
 1544 	docs: --no-cache also sets the 'Cache-Control: no-cache' header
 1545 	* doc/wget.texi: Add Cache-Control to docs
 1546 	* src/wget.h: Add Cache-Control to comment of SEND_NOCACHE
 1547 
 1548 2019-01-20  Tim Rühsen  <tim.ruehsen@gmx.de>
 1549 
 1550 	* .gitlab-ci.yml: Add minimal build
 1551 
 1552 	* src/init.c (cleanup): Check HAVE_HSTS
 1553 	Reported-by: Simon Dales
 1554 
 1555 2018-12-31  André Wolski  <andre@dena-design.de>
 1556 
 1557 	NTLM restart authentication (trivial change)
 1558 	* src/http-ntlm.c (ntlm_input): Continue on NTLMSTATE_LAST,
 1559 	  error on NTLMSTATE_TYPE3
 1560 
 1561 	The code comes from the cURL project. Thanks to Daniel Stenberg
 1562 	for donating the code.
 1563 
 1564 	https://lists.gnu.org/archive/html/bug-wget/2018-12/msg00030.html
 1565 
 1566 2018-12-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 1567 
 1568 	* contrib/spell-checker: Remove trailing whitespace
 1569 
 1570 	Fix typos detected by codespell (via contrib/spell-checker)
 1571 
 1572 	* contrib/spell-checker: Add script for spell checking
 1573 
 1574 2018-12-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 1575 
 1576 	* fuzz/Makefile.am: Fix order of libraries for linking
 1577 
 1578 	* src/wget.h: #undef _Noreturn when building with C++
 1579 
 1580 	* src/gnutls.c (ssl_connect_wget): Fix call to gnutls_set_default_priority()
 1581 
 1582 2018-12-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1583 
 1584 	* NEWS: Add release changes for 1.20.1
 1585 
 1586 2018-12-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1587 
 1588 	Don't save user/pw with --xattr
 1589 	Also the Referer info is reduced to scheme+host+port.
 1590 
 1591 	* src/ftp.c (getftp): Change params of set_file_metadata()
 1592 	* src/http.c (gethttp): Change params of set_file_metadata()
 1593 	* src/xattr.c (set_file_metadata): Remove user/password from origin URL,
 1594 	  reduce Referer value to scheme/host/port.
 1595 	* src/xattr.h: Change prototype of set_file_metadata()
 1596 
 1597 2018-12-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1598 
 1599 	Don't use extended attributes (--xattr) by default
 1600 	* src/init.c (defaults): Set enable_xattr to false by default
 1601 	* src/main.c (print_help): Reverse option logic of --xattr
 1602 	* doc/wget.texi: Add description for --xattr
 1603 
 1604 	Users may not be aware that the origin URL and Referer are saved
 1605 	including credentials, and possibly access tokens within
 1606 	the urls.
 1607 
 1608 2018-12-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 1609 
 1610 	* .travis.yml: Email to wget-dev instead bug-wget mailing list
 1611 
 1612 2018-11-30  Darshit Shah  <darnir@gnu.org>
 1613 
 1614 	* NEWS: Prepare for new version
 1615 
 1616 2018-11-13  Darshit Shah  <darnir@gnu.org>
 1617 
 1618 	* contrib/make-release: Add a small checklist for pending tasks
 1619 
 1620 	Prepare NEWS for new release
 1621 
 1622 	* configure.ac: gnulib now expects autoconf >=2.63
 1623 
 1624 	* gnulib: Update library
 1625 
 1626 2018-11-13  Jay Satiro  <raysatiro@yahoo.com>
 1627 
 1628 	* src/init.c: Stop freeing the pointer returned by ws_mypath()
 1629 	.. since ws_mypath() saves the address it returns in a static pointer
 1630 	for reuse, to also be returned in later calls.
 1631 
 1632 2018-11-13  Darshit Shah  <darnir@gnu.org>
 1633 
 1634 	* src/ftp.c(ftp_retrieve_glob): Honor {accept,reject}-regex switches as well
 1635 
 1636 	* src/ftp.c (ftp_retrieve_glob): Refactor to prevent looping over listing multiple times
 1637 
 1638 2018-11-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 1639 
 1640 	* .gitlab-ci.yml: Split into GnuTLS and OpenSSL build
 1641 
 1642 	* Makefile.am: dist clean po/stamp-po
 1643 
 1644 	Remove auto-generated files from po/
 1645 
 1646 	Add VPATH build
 1647 
 1648 2018-11-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 1649 
 1650 	Revert "Bail out on unexpected 416 server errors"
 1651 	This reverts commit 6f3b9959935ad7640bcf48a0a93848ed25ff8963.
 1652 
 1653 	The code is obviously wrong, see https://savannah.gnu.org/bugs/?54963
 1654 	Also, the example from the original post doesn't work any more.
 1655 	With other words, the broken server behavior has been fixed meanwhile.
 1656 
 1657 2018-11-09  Rosen Penev  <rosenp@gmail.com>  (tiny change)
 1658 
 1659 	openssl: Do not use engines when OpenSSL does not support
 1660 	* src/openssl.c: Check for OPENSSL_NO_ENGINE before
 1661 	 including openssl/engine.h and before calling ENGINE_load_builtin_engines()
 1662 
 1663 	Fixes compilation with no engines compiled.
 1664 
 1665 2018-11-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 1666 
 1667 	Fix HTTPS Perl tests
 1668 	* tests/SSLTest.pm: Rename server cert and key file
 1669 	* tests/Test-https*.px: Fix and remove OpenSSL hard-coding
 1670 	* tests/certs/create-certs.sh: Script to generate test files
 1671 	* tests/certs/*-template.txt: GnuTLS template files for certs and crl
 1672 	* tests/certs/*.pem: Keys, certs, crls
 1673 	* tests/certs/README: Removed commands, link to create-certs.sh
 1674 
 1675 2018-10-28  Kapus, Timotej  <timotej.kapus13@imperial.ac.uk>  (tiny change)
 1676 
 1677 	Replace some loops with string.h functions
 1678 	* src/init.c: Replace loop with strspn
 1679 	* src/url.c: Replace loop with strrchr
 1680 
 1681 2018-10-26  Luiz Angelo Daros de Luca  <luizluca@gmail.com>  (tiny change)
 1682 
 1683 	* .gitmodules: Use https:// instead of git:// for gnulib
 1684 	git:// does not work over http proxy
 1685 
 1686 	* src/host.c (sufmatch): Fix dot-prefixed domain matching
 1687 	Current sufmatch does not match when domain is dot-prefixed.
 1688 	The example of no_proxy in man (.mit.edu) does use a dot-prefixed
 1689 	domain.
 1690 
 1691 2018-10-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 1692 
 1693 	* src/convert.c (convert_links): Fix fallthrough
 1694 
 1695 2018-10-22  Darshit Shah  <darnir@gnu.org>
 1696 
 1697 	* bootstrap: Update script from gnulib
 1698 
 1699 	* gnulib: Update library
 1700 
 1701 2018-10-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1702 
 1703 	* .lgtm.yml: New file to add LGTM to Gitlab.com CI
 1704 
 1705 2018-10-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 1706 
 1707 	* configure.ac: Fix build issue with libgpgme
 1708 
 1709 2018-10-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 1710 
 1711 	* fuzz/*_fuzzer.in/*: Update fuzzer corpora
 1712 
 1713 2018-10-08  Nikos Mavrogiannopoulos  <nmav@redhat.com>
 1714 
 1715 	Enable post-handshake auth under gnutls on TLS1.3
 1716 
 1717 2018-09-20  Tim Rühsen  <tim.ruehsen@gmx.de>
 1718 
 1719 	* src/http.c (resp_new): Fix code to avoid false positive by clang
 1720 
 1721 	* src/convert.c (convert_links): Fix code to avoid false positive by clang
 1722 
 1723 2018-09-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 1724 
 1725 	Add support for PCRE2 pattern matching
 1726 	* configure.ac: Check for libpcre2-8
 1727 	* src/init.c (choices): Test for HAVE_LIBPCRE2
 1728 	* src/main.c (main): Set regex compile and match functions
 1729 	* src/options.h: Test for HAVE_LIBPCRE2
 1730 	* src/utils.c: Include pcre2.h, add functions
 1731 	  compile_pcre2_regex() and match_pcre2_regex()
 1732 	* src/utils.h: Declare compile_pcre2_regex() and match_pcre2_regex()
 1733 
 1734 	Fixes #54677
 1735 	Reported-by: Noël Köthe
 1736 
 1737 2018-09-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 1738 
 1739 	Add . to perl path for all perl tests
 1740 	* tests/*.px: Add -I . to the shebang
 1741 
 1742 	This allows perl test to be run from tests/ directory, e.g. via
 1743 	  ./Test--post-file.px
 1744 
 1745 2018-09-07  Tomas Hozza  <thozza@redhat.com>
 1746 
 1747 	Add TLS 1.3 support for GnuTLS
 1748 	* doc/wget.texi: Add "TLSv1_3" to --secure-protocol
 1749 	* src/gnutls.c (set_prio_default): Use GNUTLS_TLS1_3 where needed
 1750 
 1751 	Wget currently allows specifying "TLSv1_3" as the parameter for
 1752 	--secure-protocol option. However it is only implemented for OpenSSL
 1753 	and in case wget is compiled with GnuTLS, it causes wget to abort with:
 1754 	GnuTLS: unimplemented 'secure-protocol' option value 6
 1755 
 1756 	GnuTLS contains TLS 1.3 implementation since version 3.6.3 [1]. However
 1757 	currently it must be enabled explicitly in the application of it to be
 1758 	used. This will change after the draft is finalized. [2] However for
 1759 	the time being, I enabled it explicitly in case "TLSv1_3" is used with
 1760 	--secure-protocol.
 1761 
 1762 	I also fixed man page to contain "TLSv1_3" in all listings of available
 1763 	parameters for --secure-protocol
 1764 
 1765 	[1] https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html
 1766 	[2] https://nikmav.blogspot.com/2018/05/gnutls-and-tls-13.html
 1767 
 1768 2018-08-29  Tomas Korbar  <tkorbar@redhat.com>
 1769 
 1770 	Avoid creating empty wget-log when using -O and -q in background
 1771 	* src/log.c (check_redirect_output): Check for quiet mode
 1772 
 1773 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1774 
 1775 	* src/warc.c (warc_write_cdx_record): Fix RESOURCE LEAK found by Coverity
 1776 	Error: RESOURCE_LEAK (CWE-772): - REAL ERROR
 1777 	wget-1.19.5/src/warc.c:1376: alloc_fn: Storage is returned from allocation function "url_escape".
 1778 	wget-1.19.5/src/url.c:284:3: alloc_fn: Storage is returned from allocation function "url_escape_1".
 1779 	wget-1.19.5/src/url.c:255:3: alloc_fn: Storage is returned from allocation function "xmalloc".
 1780 	wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc".
 1781 	wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)".
 1782 	wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p".
 1783 	wget-1.19.5/src/url.c:255:3: var_assign: Assigning: "newstr" = "xmalloc(newlen + 1)".
 1784 	wget-1.19.5/src/url.c:258:3: var_assign: Assigning: "p2" = "newstr".
 1785 	wget-1.19.5/src/url.c:275:3: return_alloc: Returning allocated memory "newstr".
 1786 	wget-1.19.5/src/url.c:284:3: return_alloc_fn: Directly returning storage allocated by "url_escape_1".
 1787 	wget-1.19.5/src/warc.c:1376: var_assign: Assigning: "redirect_location" = storage returned from "url_escape(redirect_location)".
 1788 	wget-1.19.5/src/warc.c:1381: noescape: Resource "redirect_location" is not freed or pointed-to in "fprintf".
 1789 	wget-1.19.5/src/warc.c:1387: leaked_storage: Returning without freeing "redirect_location" leaks the storage that it points to.
 1790 	\# 1385|     fflush (warc_current_cdx_file);
 1791 	\# 1386|
 1792 	\# 1387|->   return true;
 1793 	\# 1388|   }
 1794 	\# 1389|
 1795 
 1796 	url_escape() really returns a newly allocated memory and it leaks when the warc_write_cdx_record() returns. The memory returned from url_escape() is usually stored in a temporary variable in other parts of the project and then freed. I took the same approach.
 1797 
 1798 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1799 
 1800 	* src/warc.c (warc_write_start_record): Fix potential RESOURCE LEAK
 1801 	In warc_write_start_record() function, the reutrn value of dup() is
 1802 	directly used in gzdopen() call and not stored anywhere. However the
 1803 	zlib documentation says that "The duplicated descriptor should be saved
 1804 	to avoid a leak, since gzdopen does not close fd if it fails." [1].
 1805 	This change stores the FD in a variable and closes it in case gzopen()
 1806 	fails.
 1807 
 1808 	[1] https://www.zlib.net/manual.html
 1809 
 1810 	Error: RESOURCE_LEAK (CWE-772):
 1811 	wget-1.19.5/src/warc.c:217: open_fn: Returning handle opened by "dup".
 1812 	wget-1.19.5/src/warc.c:217: leaked_handle: Failing to save or close handle opened by "dup(fileno(warc_current_file))" leaks it.
 1813 	\#  215|
 1814 	\#  216|         /* Start a new GZIP stream. */
 1815 	\#  217|->       warc_current_gzfile = gzdopen (dup (fileno (warc_current_file)), "wb9");
 1816 	\#  218|         warc_current_gzfile_uncompressed_size = 0;
 1817 	\#  219|
 1818 
 1819 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1820 
 1821 	* src/utils.c (open_stat): Fix RESOURCE LEAK found by Coverity
 1822 	Error: RESOURCE_LEAK (CWE-772):
 1823 	wget-1.19.5/src/utils.c:914: open_fn: Returning handle opened by "open". [Note: The source code implementation of the function has been overridden by a user model.]
 1824 	wget-1.19.5/src/utils.c:914: var_assign: Assigning: "fd" = handle returned from "open(fname, flags, mode)".
 1825 	wget-1.19.5/src/utils.c:921: noescape: Resource "fd" is not freed or pointed-to in "fstat". [Note: The source code implementation of the function has been overridden by a builtin model.]
 1826 	wget-1.19.5/src/utils.c:924: leaked_handle: Handle variable "fd" going out of scope leaks the handle.
 1827 	\#  922|     {
 1828 	\#  923|       logprintf (LOG_NOTQUIET, _("Failed to stat file %s, error: %s\n"), fname, strerror(errno));
 1829 	\#  924|->     return -1;
 1830 	\#  925|     }
 1831 	\#  926|   #if !(defined(WINDOWS) || defined(__VMS))
 1832 
 1833 	This seems to be a real issue, since the opened file descriptor in "fd"
 1834 	would leak. There is also additional check below the "fstat" call, which
 1835 	closes the opened "fd".
 1836 
 1837 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1838 
 1839 	* src/http.c (http_loop): Fix RESOURCE LEAK found by Coverity
 1840 	Error: RESOURCE_LEAK (CWE-772):
 1841 	wget-1.19.5/src/http.c:4486: alloc_fn: Storage is returned from allocation function "url_string".
 1842 	wget-1.19.5/src/url.c:2248:3: alloc_fn: Storage is returned from allocation function "xmalloc".
 1843 	wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc".
 1844 	wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)".
 1845 	wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p".
 1846 	wget-1.19.5/src/url.c:2248:3: var_assign: Assigning: "result" = "xmalloc(size)".
 1847 	wget-1.19.5/src/url.c:2248:3: var_assign: Assigning: "p" = "result".
 1848 	wget-1.19.5/src/url.c:2250:3: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.]
 1849 	wget-1.19.5/src/url.c:2253:7: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.]
 1850 	wget-1.19.5/src/url.c:2257:11: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.]
 1851 	wget-1.19.5/src/url.c:2264:3: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.]
 1852 	wget-1.19.5/src/url.c:2270:7: identity_transfer: Passing "p" as argument 1 to function "number_to_string", which returns an offset off that argument.
 1853 	wget-1.19.5/src/utils.c:1776:11: var_assign_parm: Assigning: "p" = "buffer".
 1854 	wget-1.19.5/src/utils.c:1847:3: return_var: Returning "p", which is a copy of a parameter.
 1855 	wget-1.19.5/src/url.c:2270:7: noescape: Resource "p" is not freed or pointed-to in function "number_to_string".
 1856 	wget-1.19.5/src/utils.c:1774:25: noescape: "number_to_string(char *, wgint)" does not free or save its parameter "buffer".
 1857 	wget-1.19.5/src/url.c:2270:7: var_assign: Assigning: "p" = "number_to_string(p, url->port)".
 1858 	wget-1.19.5/src/url.c:2273:3: noescape: Resource "p" is not freed or pointed-to in function "full_path_write".
 1859 	wget-1.19.5/src/url.c:1078:47: noescape: "full_path_write(struct url const *, char *)" does not free or save its parameter "where".
 1860 	wget-1.19.5/src/url.c:2287:3: return_alloc: Returning allocated memory "result".
 1861 	wget-1.19.5/src/http.c:4486: var_assign: Assigning: "hurl" = storage returned from "url_string(u, URL_AUTH_HIDE_PASSWD)".
 1862 	wget-1.19.5/src/http.c:4487: noescape: Resource "hurl" is not freed or pointed-to in "logprintf".
 1863 	wget-1.19.5/src/http.c:4513: leaked_storage: Variable "hurl" going out of scope leaks the storage it points to.
 1864 	\# 4511|               {
 1865 	\# 4512|                 printwhat (count, opt.ntry);
 1866 	\# 4513|->               continue;
 1867 	\# 4514|               }
 1868 	\# 4515|             else
 1869 
 1870 	There are two conditional branches, which call continue, without freeing memory potentially allocated and pointed to by"hurl" pointer. In fase "!opt.verbose" is True and some of the appropriate conditions in the following if/else if construction, in which "continue" is called, are also true, then the memory allocated to "hurl" will leak.
 1871 
 1872 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1873 
 1874 	* src/http.c (check_auth): Fix RESOURCE LEAK found by Coverity
 1875 	Error: RESOURCE_LEAK (CWE-772):
 1876 	wget-1.19.5/src/http.c:2434: alloc_fn: Storage is returned from allocation function "xmalloc".
 1877 	wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc".
 1878 	wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)".
 1879 	wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p".
 1880 	wget-1.19.5/src/http.c:2434: var_assign: Assigning: "auth_stat" = storage returned from "xmalloc(4UL)".
 1881 	wget-1.19.5/src/http.c:2446: noescape: Resource "auth_stat" is not freed or pointed-to in "create_authorization_line".
 1882 	wget-1.19.5/src/http.c:5203:70: noescape: "create_authorization_line(char const *, char const *, char const *, char const *, char const *, _Bool *, uerr_t *)" does not free or save its parameter "auth_err".
 1883 	wget-1.19.5/src/http.c:2476: leaked_storage: Variable "auth_stat" going out of scope leaks the storage it points to.
 1884 	\# 2474|                 /* Creating the Authorization header went wrong */
 1885 	\# 2475|               }
 1886 	\# 2476|->         }
 1887 	\# 2477|         else
 1888 	\# 2478|           {
 1889 
 1890 	Error: RESOURCE_LEAK (CWE-772):
 1891 	wget-1.19.5/src/http.c:2431: alloc_fn: Storage is returned from allocation function "url_full_path".
 1892 	wget-1.19.5/src/url.c:1105:19: alloc_fn: Storage is returned from allocation function "xmalloc".
 1893 	wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc".
 1894 	wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)".
 1895 	wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p".
 1896 	wget-1.19.5/src/url.c:1105:19: var_assign: Assigning: "full_path" = "xmalloc(length + 1)".
 1897 	wget-1.19.5/src/url.c:1107:3: noescape: Resource "full_path" is not freed or pointed-to in function "full_path_write".
 1898 	wget-1.19.5/src/url.c:1078:47: noescape: "full_path_write(struct url const *, char *)" does not free or save its parameter "where".
 1899 	wget-1.19.5/src/url.c:1110:3: return_alloc: Returning allocated memory "full_path".
 1900 	wget-1.19.5/src/http.c:2431: var_assign: Assigning: "pth" = storage returned from "url_full_path(u)".
 1901 	wget-1.19.5/src/http.c:2446: noescape: Resource "pth" is not freed or pointed-to in "create_authorization_line".
 1902 	wget-1.19.5/src/http.c:5203:40: noescape: "create_authorization_line(char const *, char const *, char const *, char const *, char const *, _Bool *, uerr_t *)" does not free or save its parameter "path".
 1903 	wget-1.19.5/src/http.c:2476: leaked_storage: Variable "pth" going out of scope leaks the storage it points to.
 1904 	\# 2474|                 /* Creating the Authorization header went wrong */
 1905 	\# 2475|               }
 1906 	\# 2476|->         }
 1907 	\# 2477|         else
 1908 	\# 2478|           {
 1909 
 1910 	Both "pth" and "auth_stat" are allocated in "check_auth()" function. These are used for creating the HTTP Authorization Request header via "create_authorization_line()" function. In case the creation went OK (auth_err == RETROK), then the memory previously allocated to "pth" and "auth_stat" is freed. However if the creation failed, then the memory is never freed and it leaks.
 1911 
 1912 2018-08-27  Tomas Hozza  <thozza@redhat.com>
 1913 
 1914 	* src/ftp.c (getftp): Fix RESOURCE LEAK found by Coverity
 1915 	Error: RESOURCE_LEAK (CWE-772):
 1916 	wget-1.19.5/src/ftp.c:1493: alloc_fn: Storage is returned from allocation function "fopen".
 1917 	wget-1.19.5/src/ftp.c:1493: var_assign: Assigning: "fp" = storage returned from "fopen(con->target, "wb")".
 1918 	wget-1.19.5/src/ftp.c:1811: leaked_storage: Variable "fp" going out of scope leaks the storage it points to.
 1919 	\# 1809|     if (fp && !output_stream)
 1920 	\# 1810|       fclose (fp);
 1921 	\# 1811|->   return err;
 1922 	\# 1812|   }
 1923 	\# 1813|
 1924 
 1925 	It can happen, that "if (!output_stream || con->cmd & DO_LIST)" on line #1398 can be true, even though "output_stream != NULL". In this case a new file is opened to "fp". Later it may happen in the FTPS branch, that some error will occure and code will jump to label "exit_error". In "exit_error", the "fp" is closed only if "output_stream == NULL". However this may not be true as described earlier and "fp" leaks.
 1926 
 1927 	On line #1588, there is the following conditional free of "fp":
 1928 
 1929 	  /* Close the local file.  */
 1930 	  if (!output_stream || con->cmd & DO_LIST)
 1931 	    fclose (fp);
 1932 
 1933 	Therefore the conditional at the end of the function after "exit_error" label should be modified to:
 1934 
 1935 	  if (fp && (!output_stream || con->cmd & DO_LIST))
 1936 	    fclose (fp);
 1937 
 1938 	This will ensure that "fp" does not leak in any case it sould be opened.
 1939 
 1940 2018-08-11  Tomas Hozza  <thozza@redhat.com>
 1941 
 1942 	Don't limit the test suite HTTPS server to TLSv1
 1943 	In Fedora, we are implementing crypto policies, in order to enhance the
 1944 	security of user systems. This is done on the system level by global
 1945 	configuration. It may happen that due to the active policy, only
 1946 	TLSv1.2 or higher will be available in crypto libraries. While wget as
 1947 	a client will by default determine the minimal TLS version supported by
 1948 	both client and server, the HTTPS server implementation in testenv/
 1949 	hardcodes use of TLSv1. As a result all HTTPS related tests fail in
 1950 	case a more hardened crypto policy is set on the Fedora system.
 1951 
 1952 	This change removes the explicit TLS version setting and leaves the
 1953 	determination of the minimal supported TLS version on the server and
 1954 	client.
 1955 
 1956 	More information about Fedora change can be found here:
 1957 	https://fedoraproject.org/wiki/Changes/StrongCryptoSettings
 1958 
 1959 2018-06-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 1960 
 1961 	* src/gnutls.c (ssl_check_certificate): Fix grammar of error msg
 1962 	Reported-by: Nicholas Sielicki
 1963 
 1964 	* fuzz/Makefile.am: Remove libtool LTLIB... from LDADD
 1965 
 1966 	* src/http.c (http_loop): Fix --retry-on-host-error
 1967 
 1968 2018-06-13  ethus3h  <kolubat@gmail.com>  (tiny change)
 1969 
 1970 	Add new option --retry-on-host-error
 1971 	* doc/wget.texi: Add docs for --retry-on-host-error
 1972 	* src/http.c (http_loop): Add code for HOSTERR
 1973 	* src/init.c: Add option --retry-on-host-error
 1974 	* src/main.c: Likewise
 1975 	* src/options.h: Add options.retry_on_host_error
 1976 
 1977 2018-05-29  Tim Rühsen  <tim.ruehsen@gmx.de>
 1978 
 1979 	Save original data to WARC file
 1980 	* src/retr.c (write_data): Cleanup,
 1981 	  (fd_read_body): Write to WARC before uncompressing
 1982 
 1983 	Fixes: #53968
 1984 
 1985 2018-05-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 1986 
 1987 	* fuzz/get_ossfuzz_corpora: Speed up corpora download
 1988 
 1989 2018-05-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 1990 
 1991 	* src/main.c (print_version): Silence UBSAN message
 1992 
 1993 	* src/utils.ci (file_exists_p): Fix stat(NULL,...)
 1994 
 1995 	* src/hsts.c (open_hsts_test_store): Fix unlink(NULL)
 1996 
 1997 	* src/hash.c: Silence UBSAN for hash functions
 1998 
 1999 	* fuzz/*_fuzzer.in: Update corpora from OSS-Fuzz
 2000 
 2001 	* fuzz/get_ossfuzz_corpora: Fix path
 2002 
 2003 2018-05-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 2004 
 2005 	* src/hsts.h: Fix header guard
 2006 
 2007 	* src/version.h: Add header guard
 2008 
 2009 	* src/host.c (wait_ares): Remove void assignment
 2010 	Reported-by: Josef Moellers
 2011 
 2012 2018-05-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 2013 
 2014 	Update NEWS file for new release
 2015 
 2016 2018-05-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 2017 
 2018 	Fix cookie injection (CVE-2018-0494)
 2019 	* src/http.c (resp_new): Replace \r\n by space in continuation lines
 2020 
 2021 	Fixes #53763
 2022 	 "Malicious website can write arbitrary cookie entries to cookie jar"
 2023 
 2024 	HTTP header parsing left the \r\n from continuation line intact.
 2025 	The Set-Cookie code didn't check and could be tricked to write
 2026 	\r\n into the cookie jar, allowing a server to generate cookies at will.
 2027 
 2028 2018-05-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 2029 
 2030 	* tests/Test-https-weboftrust.px: Skip test, needs cert regen
 2031 
 2032 	Fix make syntax-check
 2033 	* cfg.mk: Add fuzzer reproducers to exception list
 2034 	* po/POTFILES.in: Add src/spider.c
 2035 
 2036 	Fix HTTPS tests
 2037 	* tests/Test-https-badcerts.px: Fix test return value
 2038 	* tests/Test-https-crl.px: Likewise
 2039 	* README: How to create certs with GnuTLS's certtool
 2040 	* tests/certs/revokedcrl.pem: Recreated revocation
 2041 	* tests/certs/server.crt: Recreated server cert with no expiry
 2042 	* tests/certs/test-ca-cert.pem: Recreated CA cert with no expiry
 2043 
 2044 	* src/init.c: Bring new --ciphers into right order in options array
 2045 
 2046 2018-05-05  Ander Juaristi  <a@juaristi.eus>
 2047 
 2048 	* doc/wget.texi: Add description for --ciphers
 2049 
 2050 2018-05-05  Ander Juarist  <a@juaristi.eus>
 2051 
 2052 	OpenSSL: Better seeding of PRNG
 2053 	 * src/openssl.c (init_prng): keep gathering entropy even though we
 2054 	                              already have enough
 2055 	   (ssl_connect_with_timeout_callback): reseed PRNG again just before
 2056 	                                        the handshake
 2057 
 2058 	Reported-by: Jeffrey Walton <noloader@gmail.com>
 2059 
 2060 2018-05-05  Ander Juaristi  <a@juaristi.eus>
 2061 
 2062 	Enhance SSL/TLS security
 2063 	This commit hardens SSL/TLS a bit more in the following ways:
 2064 
 2065 	 * Explicitly exclude NULL authentication and the 'MEDIUM' cipher list
 2066 	   category. Ciphers in the 'HIGH' level are only considered - this
 2067 	   includes all symmetric ciphers with key lengths larger than 128 bits,
 2068 	   and some ('modern') 128-bit ciphers, such as AES in GCM mode.
 2069 	 * Allow RSA key exchange by default, but exclude it when
 2070 	   Perfect Forward Secrecy is desired (with --secure-protocol=PFS).
 2071 	 * Introduce new option --ciphers to set the cipher list that the SSL/TLS
 2072 	   engine will favor. This string is fed directly to the underlying TLS
 2073 	   library (GnuTLS or OpenSSL) without further processing, and hence its
 2074 	   format and syntax are directly dependent on the specific library.
 2075 
 2076 	Reported-by: Jeffrey Walton <noloader@gmail.com>
 2077 
 2078 2018-04-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 2079 
 2080 	* src/netrc.c (parse_netrc_fp): Fix two memleaks
 2081 
 2082 	Add new fuzzer for the .netrc parser
 2083 	* fuzz/wget_netrc_fuzzer.c: New fuzzer
 2084 	* fuzz/wget_netrc_fuzzer.dict: Fuzzer dictionary
 2085 	* fuzz/wget_netrc_fuzzer.in: Initial corpora
 2086 	* src/ftp.c (getftp): Amend call to search_netrc()
 2087 	* src/http.c (initialize_request): Likewise
 2088 	* src/netrc.c: Cleanup, prepare code for fuzzing
 2089 	* src/netrc.h: Cleanup
 2090 
 2091 2018-04-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 2092 
 2093 	* src/utils.c (match_tail): Fix unsigned integer overflow
 2094 
 2095 	Add new fuzzer for the Set-Cookie parser
 2096 	* fuzz/Makefile.am: Add wget_cookie_fuzzer
 2097 	* fuzz/wget_cookie_fuzzer.c: New fuzzer
 2098 	* fuzz/wget_cookie_fuzzer.dict: Fuzzers dictionary
 2099 	* fuzz/wget_cookie_fuzzer.in: Initial corpora
 2100 
 2101 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2102 
 2103 	Fix buffer overflow in CSS parser
 2104 	* src/css-url.c (get_uri_string): Check input length
 2105 	* fuzz/wget_css_fuzzer.repro/buffer-overflow-6600180399865856:
 2106 	  Add reproducer corpus
 2107 
 2108 	Fixes OSS-Fuzz issue #8033.
 2109 	This is a long standing bug affecting all versions <= 1.19.4.
 2110 
 2111 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2112 
 2113 	Fix buffer overflow in CSS parser
 2114 	* src/css-url.c (get_urls_css): Check input string length
 2115 	* fuzz/wget_css_fuzzer.repro/negative-size-param-5724866467594240:
 2116 	  Add reproducer corpus
 2117 
 2118 	Fixes OSS-Fuzz issue #8032.
 2119 	This is a long standing bug affecting all versions <= 1.19.4.
 2120 
 2121 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2122 
 2123 	Exclude fuzz corpora from tarball
 2124 	* fuzz/Makefile.am: Do not include corpora in tarball
 2125 	* fuzz/main.c: SKIP if corpora directory isn't found (make check)
 2126 
 2127 	The fuzz corpora are thousands of files, not needed for a standard build
 2128 	from a distribution tarball. The reproducers of former issues are being
 2129 	included for regression testing.
 2130 
 2131 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2132 
 2133 	* tests/Makefile.am: Add -I/src to AM_CPPFLAGS
 2134 
 2135 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2136 
 2137 	Add CSS slowness reproducer (fixed)
 2138 	* fuzz/wget_css_fuzzer.repro/slowness-6275836549267456: New file
 2139 
 2140 	This file created an extreme CPU usage with the old CSS parser.
 2141 
 2142 2018-04-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2143 
 2144 	Update CSS grammar from 1.x to 2.2
 2145 	* src/css-tokens.h: Add enums and fixate values
 2146 	* src/css.l: Include config.h,
 2147 	  ignore several compiler warnings,
 2148 	  update the grammar to CSS 2.2
 2149 
 2150 	Fixes OSS-Fuzz issue #8010 (slowness issue).
 2151 	This is a long standing bug affecting all versions <= 1.19.4.
 2152 
 2153 	Some crafted CSS input was extremely slow / CPU wasting, so it could
 2154 	be used as a DOS attack against website scanning.
 2155 
 2156 	The code/grammar changes were backported from Wget2.x.
 2157 
 2158 2018-04-25  Tim Rühsen  <tim.ruehsen@gmx.de>
 2159 
 2160 	* src/res.c (add_path): Fix memleak (parsing robots.txt)
 2161 	Fixes OSS-Fuzz issue #8005.
 2162 	This is a long standing bug affecting all versions <= 1.19.4.
 2163 
 2164 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow
 2165 	Fixes OSS-Fuzz issue #7999.
 2166 	This is a long standing bug affecting all versions <= 1.19.4.
 2167 
 2168 2018-04-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 2169 
 2170 	Add new fuzzer for the URL parser
 2171 	* fuzz/Makefile.am: Add wget_url_fuzzer
 2172 	* fuzz/wget_url_fuzzer.c: New fuzzer
 2173 	* fuzz/wget_url_fuzzer.in: Initial corpora
 2174 
 2175 	Add new fuzzer for robots.txt parsing
 2176 	* fuzz/Makefile.am: Add wget_robots_fuzzer
 2177 	* fuzz/wget_robots_fuzzer.c: New fuzzer
 2178 	* fuzz/wget_robots_fuzzer.in: Initial corpora
 2179 
 2180 	* fuzz/README.md: Add CFLAGS for undefined sanitizer
 2181 
 2182 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow
 2183 
 2184 	* src/ftp-ls.c (ftp_parse_vms_ls): Fix integer overflow by left shift
 2185 
 2186 	* src/ftp-ls.c (ftp_parse_unix_ls): Fix integer overflow in date parsing
 2187 
 2188 2018-04-22  Tim Rühsen  <tim.ruehsen@gmx.de>
 2189 
 2190 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow
 2191 	Fixes OSS-Fuzz issue #7931.
 2192 	This is a long standing bug affecting all versions <= 1.19.4.
 2193 
 2194 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow
 2195 	Fixes OSS-Fuzz issue #7930.
 2196 	This is a long standing bug affecting all versions <= 1.19.4.
 2197 
 2198 	* fuzz/wget_ftpls_fuzzer.in: Update corpora
 2199 
 2200 2018-04-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 2201 
 2202 	* src/ftp-ls.c (eat_carets): Fix heap-buffer-overflow
 2203 
 2204 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memleak
 2205 
 2206 	* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow
 2207 
 2208 	* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow
 2209 
 2210 	* src/ftp-ls.c (ftp_parse_vms_ls): Fix memleak
 2211 
 2212 	Add new fuzzer for the FTP listing parsers
 2213 	* fuzz/Makefile.am: Add wget_ftpls_fuzzer
 2214 	* fuzz/wget_ftpls_fuzzer.c: New fuzzer
 2215 	* fuzz/wget_ftpls_fuzzer.dict: Fuzzer dictionary
 2216 	* fuzz/wget_ftpls_fuzzer.in/starter: Starting corpus
 2217 	* src/ftp-ls.c: Parsing function take FILE * as argument,
 2218 	  new function ftp_parse_ls_fp()
 2219 	* src/ftp.c: Remove static from freefileinfo()
 2220 	* src/ftp.h: Add ftp_parse_ls_fp() and freefileinfo()
 2221 
 2222 	* fuzz/run-clang.sh: Remove -detect_leaks=0 from fuzzer command line
 2223 
 2224 	* src/main.c (main): Fix memleak for fuzzing/testing
 2225 
 2226 	* src/init.c: Fix fuzzing in case ~/.wgetrc doesn't exist
 2227 
 2228 2018-04-20  Tim Rühsen  <tim.ruehsen@gmx.de>
 2229 
 2230 	Fix fuzzer build for C++
 2231 	* fuzz/wget_css_fuzzer.c: Include wget.h outside 'extern "C"',
 2232 	  undef fopen_wgetrc directly after wget.h
 2233 	* fuzz/wget_html_fuzzer.c: Likewise
 2234 
 2235 	* fuzz/Makefile.am: Add -I/lib to oss-fuzz builds
 2236 
 2237 	Add new HTML parser fuzzer
 2238 	* fuzz/Makefile.am: Add wget_html_fuzzer
 2239 	* fuzz/wget_html_fuzzer.c: New fuzzer
 2240 	* fuzz/wget_html_fuzzer.dict: HTML dictionary for fuzzing
 2241 	* fuzz/wget_html_fuzzer.in: Initial corpora
 2242 	* src/html-url.c: Add new function get_urls_html_fm()
 2243 	* src/html-url.h: Add ne function get_urls_html_fm()
 2244 	* src/wget.h: Fix define for fopen_wgetrc()
 2245 
 2246 	* fuzz/wget_css_fuzzer.c: Fix build
 2247 
 2248 	* fuzz/wget_css_fuzzer.in/*: Update fuzzer corpora
 2249 
 2250 	* src/css-url.c (get_uri_string): Fix buffer overflow (read)
 2251 
 2252 	* src/iri.h: Fix C++ compile error
 2253 
 2254 2018-04-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 2255 
 2256 	* src/http.c: Download and scan CSS files in spider mode
 2257 
 2258 	* src/css-url.c (get_urls_css): Call yylex_destroy() to reset CSS scanner
 2259 
 2260 	Add new fuzzer wget_css_fuzzer.c
 2261 	* fuzz/Makefile.am: Add wget_css_fuzzer.c
 2262 	* fuzz/wget_css_fuzzer.c: New fuzzer
 2263 
 2264 2018-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 2265 
 2266 	* src/html-url.h: Include needed header files
 2267 
 2268 	* wget_options_fuzzer.in/*: Update fuzzer corpora
 2269 
 2270 	* fuzz/README.md: Add CXXFLAGS and more configure options
 2271 
 2272 	Fix oss-fuzz issue with exit()
 2273 	* src/wget.h: Define exit() as exit_wget()
 2274 	* fuzz/wget_options_fuzzer.c: Implement exit_wget() and cleanup
 2275 
 2276 2018-04-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 2277 
 2278 	* fuzz/wget_options_fuzzer.c: Declare fopen_* as C functions
 2279 
 2280 	Fix fopen/stdin issues with fuzzing
 2281 	* fuzz/wget_options_fuzzer.c: Add fopen_wget() and fopen_wgetrc()
 2282 	* src/utils.c: Use fopen_wgetrc() for config files,
 2283 	  don't read from stdin when fuzzing
 2284 	* src/wget.h: Define fopen as fopen_wget when fuzzing,
 2285 	  define fopen_wgetrc as fopen when not fuzzing
 2286 
 2287 	* configure.ac: AC_DEFINE FUZZING if --enable-fuzzing was given
 2288 
 2289 	* fuzz/wget_options_fuzzer.c: Write fuzzer crash reports
 2290 
 2291 	* src/log.c: Don't check_redirect_output() when fuzzing
 2292 
 2293 	* src/main.c (promt_for_password): Avoid getpass() when fuzzing
 2294 
 2295 	Fix double fclose() with -d while fuzzing
 2296 	* src/ftp.c (ftp_loop_internal): Set warc_tmp to NULL after ffclose()
 2297 	* src/init.c (cleanup): Set output_stream to NULL after fclose()
 2298 	* src/log.c (log_close): Set global stream vars to NULL after closing
 2299 	* src/recur.c (retrieve_tree): Set rejectedlog to NULL after closing
 2300 	* src/warc.c (warc_close): Set stream vars to NULL after closing
 2301 
 2302 	* src/main.c (main): Don't background if TESTING
 2303 
 2304 	* src/init.c (initialize): Return error, don't exit()
 2305 
 2306 2018-04-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 2307 
 2308 	* src/init.c (cmd_use_askpass): Return false on error
 2309 
 2310 	* src/utils.c (compile_posix_regex): Hard-code string to regcomp
 2311 	regcomp() may be too cpu + memory intensive for fuzzing.
 2312 	See https://sourceware.org/glibc/wiki/Security%20Exceptions
 2313 
 2314 	Fix 2 more memleaks
 2315 	* src/init.c (initialize): Use global var for wgetrc filename
 2316 	* src/iri.c (find_locale): Return strdup'ed locale string
 2317 	* src/options.h (struct options): Add wgetrcfile
 2318 
 2319 	* src/init.c (cleanup): Set output_stream to NULL after closing
 2320 
 2321 	Fix homedir memory leaks
 2322 	* src/hsts.c: Use opt.homedir
 2323 	* src/init.c: Likewise
 2324 	* src/main.c: Likewise
 2325 	* src/netrc.c: Likewise
 2326 	* src/options.h (struct options): Add homedir
 2327 
 2328 	* src/main.c (main): Free opt.encoding_remote properly
 2329 
 2330 	* src/host.c (wait_ares): Free ptimer
 2331 
 2332 	* src/init.c (cleanup): Free regex objects properly
 2333 
 2334 	* src/init.c (cleanup): Never call cleanup() twice
 2335 
 2336 	* src/init.c (cmd_bytes_sum): Fix integer over- and underflow
 2337 
 2338 	* src/main.c (save_hsts): Free hsts_store after closing
 2339 
 2340 	Use strtol() instead of selfmade function
 2341 	* src/init.c (cmd_number): Use strtol() instead of selfmade function
 2342 	* bootstrap.conf: Add strtol gnulib module
 2343 
 2344 	* src/hsts.c (hsts_hash_func): Allow integer overflow
 2345 
 2346 	* init.c (cmd_spec_mirror): Fix uninitialzed stack variable
 2347 
 2348 	* src/init.c (cleanup): Free more variables
 2349 
 2350 	* wget_options_fuzzer.in: Add corpora directory
 2351 
 2352 	* fuzz/wget_options_fuzzer.c: Suppress error messages from wget
 2353 
 2354 	* src/utils.c (fopen_stat): Early return to allow fuzzing/fmemopen
 2355 
 2356 	* src/init.c (initialize): Free mem before exit()
 2357 
 2358 	Add OSS-Fuzz infrastruture
 2359 	* Makefile.am: Add fuzz/ to SUBDIRS
 2360 	* cfg.mk: Fix 'make syntax-check'
 2361 	* configure.ac: Add --enable-fuzzing
 2362 	* fuzz/Makefile.am: New file
 2363 	* fuzz/README.md: New file
 2364 	* fuzz/fuzzer.h: New file
 2365 	* fuzz/get_all_corpora: New file
 2366 	* fuzz/get_ossfuzz_corpora: New file
 2367 	* fuzz/glob_crash.c: New file
 2368 	* fuzz/main.c: New file
 2369 	* fuzz/run-afl.sh: New file
 2370 	* fuzz/run-clang.sh: New file
 2371 	* fuzz/view-coverage.sh: New file
 2372 	* fuzz/wget_options_fuzzer.c: New file
 2373 	* fuzz/wget_options_fuzzer.dict: New file
 2374 	* src/init.c (cleanup): Free more resources
 2375 	* src/main.c (init_switches): Initialize only once,
 2376 	  (print_usage): Don't print if TESTING is defined
 2377 	* src/utils.h: Include wget.h
 2378 
 2379 2018-04-05  Tim Rühsen  <tim.ruehsen@gmx.de>
 2380 
 2381 	Move unit-test code to tests/
 2382 	* src/Makefile.am: Remove test.c and test.h
 2383 	* src/test.c: Rename to tests/unit-tests.c
 2384 	* src/test.h: Rename to tests/unit-tests.h
 2385 	* tests/Makefile.am: Add unit-tests.c and unit-tests.h
 2386 	* src/hsts.c: Amend #include
 2387 	* src/http.c: Likewise
 2388 	* src/init.c: Likewise
 2389 	* src/metalink.c: Likewise
 2390 	* src/res.c: Likewise
 2391 	* src/url.c: Likewise
 2392 	* src/utils.c: Likewise
 2393 
 2394 	* src/main.c: Rename main() -> main_wget() for unit tests
 2395 
 2396 2018-03-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 2397 
 2398 	Fix some issues found by 'infer'
 2399 
 2400 2018-03-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 2401 
 2402 	* src/openssl.c: Fix build for OpenSSL 1.1.0 without TLS1_3_VERSION
 2403 
 2404 	Add docs for --secure-protocol=TLSv1_3
 2405 	* doc/wget.texi: Likewise
 2406 
 2407 2018-03-08  Loganaden Velvindron  <logan@hackers.mu>  (tiny change)
 2408 
 2409 	Add TLS1.3 support for OpenSSL build
 2410 	* src/init.c: Add 'tlsv1_3 for --secure-protocol
 2411 	* src/openssl.c (ssl_init): Enable TLS1.3 if possible
 2412 	* src/options.h: Add secure_protocol_tlsv1_3
 2413 	* doc/wget.texi: Add description of TLSv1_3
 2414 
 2415 2018-03-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 2416 
 2417 	* src/main.c: Add help text for --retry-on-http-error
 2418 	Reported-by: Giovanni Tirloni
 2419 
 2420 2018-03-01  Tim Rühsen  <tim.ruehsen@gmx.de>
 2421 
 2422 	* src/url.c (convert_fname): Fix invalid free on iconv_open() failure
 2423 	Reported-by: Volkmar Klatt
 2424 
 2425 2018-02-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 2426 
 2427 	* src/mswindows.c: Fix prototype of fork_to_background()
 2428 	Reported-by: Gisle Vanem
 2429 
 2430 2018-02-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 2431 
 2432 	Fix warning to not print binary IP address
 2433 	* tests/Test-https-badcerts.px: Likewise
 2434 	* tests/Test-https-clientcert.px: Likewise
 2435 	* tests/Test-https-crl.px: Likewise
 2436 	* tests/Test-https-pfs.px: Likewise
 2437 	* tests/Test-https-selfsigned.px: Likewise
 2438 	* tests/Test-https-tlsv1.px: Likewise
 2439 	* tests/Test-https-tlsv1x.px: Likewise
 2440 	* tests/Test-https-weboftrust.px: Likewise
 2441 
 2442 	Use gnulib's utime()
 2443 	* bootstrap.conf: Add modules utime and utime-h
 2444 	* src/utils.c (touch): Remove own code for gnulib's utime()
 2445 
 2446 2018-02-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 2447 
 2448 	Fix logging in background mode
 2449 	* ../src/main.c: Re-init logfile if changed for background mode
 2450 	* ../src/utils.c: fork_to_background() returns whether logfile changed
 2451 	* ../src/utils.h: Set return type bool for fork_to_background()
 2452 
 2453 	Fixes: #53020
 2454 	Reported-by: Noël Köthe
 2455 
 2456 2018-02-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 2457 
 2458 	* src/http.c: Fix two typos in comments
 2459 
 2460 2018-01-31  Tim Rühsen  <tim.ruehsen@gmx.de>
 2461 
 2462 	* testenv/conf/expected_files.py: Ignore pubring.gpg
 2463 	Reported-by: Arkadiusz Miśkiewicz
 2464 
 2465 	* bootstrap.conf: Replace gnulib module gettext by gettext-h
 2466 
 2467 2018-01-22  Tim Rühsen  <tim.ruehsen@gmx.de>
 2468 
 2469 	Mention list and bugtracker for --help and in man page
 2470 	* doc/wget.texi: Mention list and bugtracker in man page
 2471 	* src/main.c: Mention list and bugtracker for --help
 2472 
 2473 2018-01-21  Darshit Shah  <darnir@gnu.org>
 2474 
 2475 	* contrib/make-release: Add another release script
 2476 
 2477 	Update NEWS file for new release
 2478 
 2479 	Fix typo in documentation
 2480 
 2481 2018-01-21  Darshit Shah  <darnir@gnu.org>
 2482 
 2483 	Switch off compression by default
 2484 	Gzip compression has a number of bugs which need to be ironed out before
 2485 	we can support it by default. Some of these stem from a misunderstanding
 2486 	of the HTTP spec, but a lot of them are also due to many web servers not
 2487 	being compliant with RFC 7231.
 2488 
 2489 	With this commit, I am marking GZip compression support as experimental
 2490 	in GNU Wget pending further investigation and the addition of tests.
 2491 
 2492 	* src/init.c (defaults): Switch of compression support by default
 2493 	* docs/wget.texi: State that compression is experimental
 2494 
 2495 2018-01-21  Darshit Shah  <darnir@gnu.org>
 2496 
 2497 	Pull gnulib module forward
 2498 
 2499 	Revert "* src/init.c (defaults): Set compression_none as the default compression"
 2500 	This reverts commit 8283ac08467016283277578b96533febb8ce1adb.
 2501 
 2502 	* src/init.c (defaults): Set compression_none as the default compression
 2503 
 2504 2018-01-20  Reiji  <gey3dr@gmail.com>
 2505 
 2506 	* src/http.c (gethttp): Fix bug that prevented all files from being decompressed
 2507 
 2508 2018-01-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 2509 
 2510 	* src/host.c (sufmatch): Fix to domain matching
 2511 
 2512 2018-01-17  Gisle Vanem  <gvanem@yahoo.no>
 2513 
 2514 	* src/netrc.c: Fix Standalone compilation of netrc file
 2515 
 2516 2018-01-14  Darshit Shah  <darnir@gnu.org>
 2517 
 2518 	* NEWS: Update NEWS file for new release
 2519 
 2520 	* bootstrap: Use the faster gnulib-tool.py script if possible
 2521 
 2522 	Sync the bootstrap script from gnulib
 2523 
 2524 	Update Copyright years
 2525 
 2526 	Replace HTTP urls with HTTPS where valid
 2527 
 2528 	Update gnulib
 2529 
 2530 	* src/netrc.c: Search for the correct netrc file on Windows
 2531 
 2532 2018-01-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 2533 
 2534 	* src/http.c: Exclude *.gz and *.tgz from decompression
 2535 
 2536 2017-12-31  Tim Rühsen  <tim.ruehsen@gmx.de>
 2537 
 2538 	* src/utils.c (wg_pin_peer_pubkey): Fix format warning
 2539 
 2540 2017-12-31  Peter Wu  <peter@lekensteyn.nl>
 2541 
 2542 	Avoid redirecting output to file when tcgetpgrp fails
 2543 	* src/log.c (check_redirect_output): tcgetpgrp can return -1 (ENOTTY),
 2544 	be sure to check whether a valid controlling terminal exists before
 2545 	redirecting.
 2546 
 2547 	Fixes: #51181
 2548 
 2549 2017-12-11  Darshit Shah  <darnir@gnu.org>
 2550 
 2551 	Add new test for 416 responses
 2552 	* testenv/server/http/http_server.py: If there are multiple requests in
 2553 	which the requested range is unsatisfiable, then send a body in the in
 2554 	the 2nd response onwards
 2555 	* testenv/Test-416.py: New test to check how Wget handles 416 responses
 2556 
 2557 2017-12-08  Darshit Shah  <darnir@gnu.org>
 2558 
 2559 	Don't assume a 416 response has no body
 2560 	* http.c(gethttp): In case of a 416 response, try to drain the socket of
 2561 	any bytes before reusing the connection
 2562 
 2563 	Reported-By: Iru Cai <mytbk920423@gmail.com>
 2564 
 2565 2017-11-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2566 
 2567 	Support building with OpenSSL 1.1 w/o deprecated features
 2568 	* src/openssl.c (ssl_init): Fix code for the subject's issue
 2569 
 2570 	Reported-by: Matthew Thode
 2571 
 2572 2017-11-25  Tim Rühsen  <tim.ruehsen@gmx.de>
 2573 
 2574 	Avoid link conversion after 304 Not Modified
 2575 	* src/http.c (gethttp): Handle 304 before setting document content type
 2576 
 2577 	Fixes: #52404
 2578 	Reported-by: Ben Fuchs
 2579 
 2580 2017-11-16  YX Hao  <lifenjoiner@163.com>
 2581 
 2582 	Fix printing mutibyte chars as unprintable chars on Windows
 2583 	* src/log.c (get_warc_log_fp): Fix return value to stderr
 2584 	* src/main.c (main): Init logging as soon as possible,
 2585 	  fix locale/charset on Windows
 2586 
 2587 2017-11-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 2588 
 2589 	* tests/Test-https-weboftrust.px: Fix/add sslport
 2590 
 2591 2017-11-15  YX Hao  <lifenjoiner@163.com>
 2592 
 2593 	Convert remote path to local encoding
 2594 	* src/url.c (url_file_name): Convert remote path to local encoding
 2595 
 2596 2017-11-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 2597 
 2598 	Do not use must-revalidate in Cache-Control header
 2599 	As the bug report states, 'must-revalidate' is a request directive.
 2600 
 2601 	Fixes #52379
 2602 
 2603 2017-11-06  Darshit Shah  <darnir@gnu.org>
 2604 
 2605 	Fix Segfault due to derefencing null ptr
 2606 	* src/http.c(gethttp): When Encoding is gzip, ensure that the
 2607 	Content-Type Header was actually seen. Without this, the "type" variable
 2608 	is null causing a Segfault.
 2609 
 2610 	Reported-By: Noël Köthe <noel@debian.org>
 2611 
 2612 2017-11-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 2613 
 2614 	* src/http.c: Fix H_REDIRECTED
 2615 
 2616 	* src/http.c: Add support for HTTP status code 308
 2617 
 2618 2017-10-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 2619 
 2620 	Fix uninitialized value messages in tests
 2621 	* tests/Test-https-*.px: Use correct variable in error message
 2622 
 2623 	Reported-by: Jeffrey Walton
 2624 
 2625 2017-10-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 2626 
 2627 	Ignore dirmngr.conf, gpg.conf in test directories
 2628 	* testenv/conf/expected_files.py: Ignore dirmngr.conf, gpg.conf
 2629 
 2630 	Libgpgme creates certain files if $HOME doesn't contain the .gnupg directory.
 2631 	These files disturb some metalink tests if we don't ignore them.
 2632 
 2633 	Reported-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
 2634 
 2635 2017-10-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 2636 
 2637 	* contrib/release: Cleanup, use lzip instead of xz
 2638 
 2639 2017-10-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2640 
 2641 	Fix heap overflow in HTTP protocol handling (CVE-2017-13090)
 2642 	* src/retr.c (fd_read_body): Stop processing on negative chunk size
 2643 
 2644 	Reported-by: Antti Levomäki, Christian Jalio, Joonas Pihlaja from Forcepoint
 2645 	Reported-by: Juhani Eronen from Finnish National Cyber Security Centre
 2646 
 2647 2017-10-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2648 
 2649 	Fix stack overflow in HTTP protocol handling (CVE-2017-13089)
 2650 	* src/http.c (skip_short_body): Return error on negative chunk size
 2651 
 2652 	Reported-by: Antti Levomäki, Christian Jalio, Joonas Pihlaja from Forcepoint
 2653 	Reported-by: Juhani Eronen from Finnish National Cyber Security Centre
 2654 
 2655 2017-10-26  Tim Rühsen  <tim.ruehsen@gmx.de>
 2656 
 2657 	Update for release 1.19.2
 2658 	* NEWS: Add news for 1.19.2
 2659 	* doc/wget.texi: Fix 1.20 to 1.19.2
 2660 
 2661 2017-10-25  YX Hao  <lifenjoiner@163.com>
 2662 
 2663 	Avoid unnecessary UTF-8 encoded fallback (trivial change)
 2664 	* src/retr.c (retrieve_url): Check for changed URL on redirect
 2665 
 2666 2017-09-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 2667 
 2668 	Add GNU extensions to .netrc parsing
 2669 	src/netrc.c (parse_netrc): Add 'port' and 'force' extensions
 2670 
 2671 	Reported-by: September 20Tim Landscheidt
 2672 
 2673 2017-09-18  Josef Moellers  <jmoellers@suse.de>
 2674 
 2675 	Bail out on unexpected 416 server errors
 2676 	* src/http.c (gethttp): Stop on 416 if file is incomplete
 2677 
 2678 2017-08-04  Tim Schlueter  <schlueter.tim@linux.com>
 2679 
 2680 	Add gzip Content-Encoding decompression
 2681 	* src/http.c (struct http_stat): Add remote_encoding field.
 2682 	(read_response_body): Enable gzip decompression.
 2683 	(initialize_request): Send gzip Accept-Encoding header.
 2684 	(gethttp): Decompress files with gzip Content-Encoding.
 2685 	* src/retr.c: include zlib.h.
 2686 	(zalloc): New function.
 2687 	(zfree): New function.
 2688 	(fd_read_body): Decompress gzip data.
 2689 	* src/retr.h (fd_read_body enum): Add rb_compressed_gzip flag.
 2690 
 2691 	Add --compression option
 2692 	* doc/wget.texi: Add --compression documentation.
 2693 	* src/init.c (cmd_spec_compression): New function.
 2694 	(commands[]): Add opt.compression.
 2695 	(defaults): Set default opt.compression value.
 2696 	* src/main.c (option_data[]): Add struct for --compression.
 2697 	(print_help, help[]): Add description for --compression.
 2698 	(main): Add incompatibility checks for --compression.
 2699 	* src/options.h (struct options): Add compression enum and field.
 2700 
 2701 	Adjust Extension based on Content-Encoding
 2702 	* doc/wget.texi (--adjust-extension, adjust_extension): Updated documentation.
 2703 	* src/http.c (encoding_t): New enum.
 2704 	(struct http_stat): Add local_encoding field.
 2705 	(gethttp): --adjust-extension based on Content-Encoding.
 2706 
 2707 2017-07-31  Darshit Shah  <darnir@gnu.org>
 2708 
 2709 	Document gperf as a requirement
 2710 
 2711 2017-07-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 2712 
 2713 	* src/url.c (url_scheme): Use ASCII version of strncasecmp
 2714 
 2715 2017-07-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 2716 
 2717 	Fix misuse of strncasecmp
 2718 	* src/http.c (set_content_type): Use c_strcasecmp instead of strncasecmp
 2719 
 2720 	See issue bug #51576
 2721 
 2722 2017-07-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 2723 
 2724 	Fix python test suite for GnuTLS 3.5.12+
 2725 	* testenv/Test-*.py: Replace 127.0.0.1 by localhost
 2726 	* testenv/certs/server-template.cfg: Likewise
 2727 	* testenv/certs/server-cert.pem: Regenerate
 2728 	* testenv/certs/server-crl.pem: Likewise
 2729 	* testenv/test/base_test.py: Hardcode 'localhost' as server domain
 2730 
 2731 	Reported-by: Ludovic Courtès <ludo@gnu.org>
 2732 
 2733 2017-06-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 2734 
 2735 	Check for 304 response before applying --adjust-extension
 2736 	* src/http.c (gethttp): Move 304 code before --adjust-extension code
 2737 
 2738 	This fixes applying --adjust-extension in combination with 304
 2739 	HTTP responses. It could lead to .html extensions to arbitrary
 2740 	files.
 2741 
 2742 	Reported-by: anfractuosity
 2743 
 2744 2017-06-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 2745 
 2746 	Fix buffer overflow in Public Key Pinning
 2747 	* src/utils.c (wget_base64_decode): Add param for destination size,
 2748 	  (wg_pubkey_pem_to_der): Amend call to wget_base64_decode(),
 2749 	  (wg_pin_peer_pubkey): Likewise and fix code style.
 2750 	* src/utils.h: Add param to wget_base64_decode()
 2751 	* src/http-ntlm.c (ntlm_input): Amend call to wget_base64_decode()
 2752 	* src/http.c (skip_content_type): Likewise
 2753 
 2754 	Fixes #51227
 2755 
 2756 2017-06-02  Tim Rühsen  <tim.ruehsen@gmx.de>
 2757 
 2758 	* doc/wget.texi: Mention --no-config
 2759 
 2760 2017-05-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 2761 
 2762 	* testenv/Test-recursive-basic.py: Check crawled files
 2763 
 2764 	Fix two Metalink tests if $HOME is changed
 2765 	* conf/expected_files.py (gen_local_fs_snapshot): Skip processing
 2766 	  of 'pubring.kbx'
 2767 
 2768 2017-05-15  Tomas Hozza  <thozza@redhat.com>
 2769 
 2770 	Add command line option to disable use of .netrc
 2771 	Although internally code uses option for (not) reading .netrc for
 2772 	credentials, it was not possible to turn this behavior off on command
 2773 	line. Note that it was possible to turn it off using wgetrc.
 2774 
 2775 	Idea for this change came from Bruce Jerrick (bmj001@gmail.com).
 2776 	Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1425097
 2777 
 2778 2017-05-15  Tomas Hozza  <thozza@redhat.com>
 2779 
 2780 	Fixed getting of credentials from .netrc
 2781 	There seemed to be a copy&paste error in http.c code, which decides
 2782 	whether to get credentials from .netrc. In ftp.c "user" and "pass"
 2783 	variables are char*, while in http.c, these are char**. For this reason
 2784 	they should be dereferenced when determining if password and user login
 2785 	is set to some value.
 2786 
 2787 	Also since both variables are dereferenced on lines above the changed
 2788 	code, it does not really make sense to check if they are NULL.
 2789 
 2790 	This patch is based on fix from Bruce Jerrick <bmj001@gmail.com>.
 2791 	Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1425097
 2792 
 2793 2017-05-15  Tomas Hozza  <thozza@redhat.com>
 2794 
 2795 	Added tests for HTTP authentication using credentials from .netrc
 2796 	Getting credentials from .netrc has been broken from time to time, thus
 2797 	adding a test coverage to prevent regressions.
 2798 
 2799 	Also added setting of "HOME" environment variable when executing wget,
 2800 	to make sure LocalFiles like .netrc, which are created just for the
 2801 	test, are actually used.
 2802 
 2803 2017-05-15  Tim Rühsen  <tim.ruehsen@gmx.de>
 2804 
 2805 	Fix Test-https-badcerts.px
 2806 	* util/createcerts.sh: Set date of invalid cert to +20 years
 2807 	* tests/certs/invalid.crt: Re-generated
 2808 	* tests/certs/invalid.key: Re-generated
 2809 
 2810 2017-05-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 2811 
 2812 	* util/createcerts.sh: Fix double equal (syntax-check)
 2813 
 2814 	Fix Test-https-badcerts.px to work with GnuTLS
 2815 	* tests/Test-https-badcerts.px: Remove OpenSSL requirement
 2816 	* tests/certs/expired.crt: Re-created with valid dates
 2817 	* tests/certs/expired.key: Likewise
 2818 	* tests/certs/invalid.crt: Likewise
 2819 	* tests/certs/invalid.key: Likewise
 2820 
 2821 2017-05-14  Vijo Cherian  <codervijo@gmail.com>
 2822 
 2823 	New shell script to create the certs and keys required for TLS tests
 2824 	* util/createcerts.sh: New file
 2825 
 2826 2017-05-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 2827 
 2828 	Fix HTTPS testing for stricter OpenSSL
 2829 	* testenv/certs/README: Amend cert creation extensions
 2830 	* testenv/certs/ca-cert.pem: Created without OCSP signing purpose
 2831 
 2832 	Having the OCSP signing purpose set made newer versions of OpenSSL
 2833 	fail due to stricter checking. Test version of OpenSSL was 1.1.0e.
 2834 
 2835 2017-05-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 2836 
 2837 	* src/iri.c (idn_encode): Better IDNA 2003 compatibility
 2838 
 2839 2017-05-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 2840 
 2841 	* .gitlab-ci.yml: Also test OpenSSL build
 2842 
 2843 	* .gitlab-ci.yml: Remove installation of texlive
 2844 
 2845 2017-05-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 2846 
 2847 	Add certs/wotca.pem to avoid temp. file creation
 2848 	* tests/certs/wotca.pem: New file
 2849 	* tests/Test-https-weboftrust.px: Remove creation of wotca.pem
 2850 
 2851 	This change let Test-https-weboftrust.px survive VPATH builds.
 2852 
 2853 2017-05-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 2854 
 2855 	* cfg.mk: Exclude ^tests/certs/.* from syntax-check
 2856 
 2857 	* po/POTFILES.in: Remove spider.c (syntax-check)
 2858 
 2859 	* tests/Test-https-selfsigned.px: Add newline at EOF (syntax-check)
 2860 
 2861 2017-05-10  Vijo Cherian  <codervijo@gmail.com>
 2862 
 2863 	Removed all uses of temp files. Added needed files to GIT
 2864 
 2865 	Made CRL related files in the repo, instead of trying to generate them
 2866 
 2867 2017-05-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 2868 
 2869 	Cleanup on exit in Test-https-*.px
 2870 	* tests/Test-https-*.px: Cleanup on exit
 2871 
 2872 	Auto-generate interca.conf and rootca.conf
 2873 	* configure.ac: Add interca.conf.in and rootca.conf.in to AC_CONFIG_FILES
 2874 	* tests/certs/interca.conf: Removed
 2875 	* tests/certs/rootca.conf: Removed
 2876 	* tests/certs/interca.conf.in: New file
 2877 	* tests/certs/rootca.conf.in: New file
 2878 
 2879 	Fix path and VPATH issues of new https/TLS tests
 2880 	* tests/SSLTest.pm: Use $srcdir in read-only files,
 2881 	  (_setup_server): Remove unneeded path fixation code
 2882 	* tests/Test-https-*.px: Use $srcdir for read-only files,
 2883 	  use $cdir for writable files
 2884 	* tests/certs/interca.conf: Adjust paths
 2885 	* tests/certs/rootca.conf: Adjust paths
 2886 
 2887 	Check for test server name resolution in tests
 2888 	* tests/Test-https-*.px: Skip if test server name resolution fails
 2889 
 2890 	* tests/Makefile.am: Enable Test-https-badcerts again
 2891 
 2892 	Fix WgetFeature.pm to allow multiple required features
 2893 	* tests/WgetFeature.cfg: Remove file
 2894 	* tests/WgetFeature.pm: Extend to multiple features, cleanup
 2895 
 2896 	* .gitlab-ci.yml: Add wgettestingserver to /etc/hosts
 2897 
 2898 	* tests/SSLServer.pm: Check for IO::Socket::SSL
 2899 
 2900 	* tests/Test-https-*: Change server port to <= 32767
 2901 
 2902 	Move https test server ports from >32767 to <= 32767
 2903 	* Test-https-badcerts.px: Change port
 2904 	* Test-https-crl.px: Likewise
 2905 	* Test-https-weboftrust.px: Likewise
 2906 
 2907 	* tests/Makefile.am: Add SSLTest.pm and SSLServer.pm to EXTRA_DIST
 2908 
 2909 	* tests//Makefile.am: Disable Test-https-badcerts.px
 2910 
 2911 	Add Gitlab CI (Debian)
 2912 	* .gitlab-ci.yml: New file
 2913 
 2914 2017-05-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 2915 
 2916 	* .travis.yml: Use trusty for libidn2-dev
 2917 
 2918 2017-05-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 2919 
 2920 	* tests/certs/test-ca-key.pem: Add newline at EOF
 2921 
 2922 	Add static HOSTSALIAS file
 2923 	* tests/certs/wgethosts: New file
 2924 	* tests/Test-https-*.px: Remove creation of wgethosts file
 2925 
 2926 2017-05-04  Vijo Cherian  <codervijo@gmail.com>
 2927 
 2928 	Added new tests for SSL
 2929 	* tests/Test-https-badcerts.px : New file
 2930 	* tests/Test-https-clientcert.px : New file
 2931 	* tests/Test-https-crl.px : New file
 2932 	* tests/Test-https-weboftrust.px : New file
 2933 	* tests/certs/interca.conf : New file
 2934 	* tests/certs/rootca.conf : New file
 2935 	* tests/certs/test-ca-key.pem : New file
 2936 
 2937 	Added all new SSL / HTTPS tests to make check
 2938 	Added Test for SSL Web of Trust, accept only if CA chain of trust is intact.
 2939 	Added a test script for client certificate
 2940 	Added Test for crlfile option of wget
 2941 	Added test to make sure that wget doesn't accept expired or invalid certs
 2942 
 2943 	Some clean up : 1, Removed cause of warnings from perl & other cosmetic changes
 2944 	                2, Fix  make -j 4 check such that it passes all tests
 2945 
 2946 2017-05-04  Tomas Hozza  <thozza@redhat.com>
 2947 
 2948 	Mention TLSv1_1 and TLSv1_2 as secure-protocol values in help
 2949 	* src/main.c: The --secure-protocol option accepts also values TLSv1_1
 2950 	and TLSv1_2, as mentioned in the man page. However the help message
 2951 	doesn't mention these two values. This patch adds TLSv1_1 and TLSv1_2 as
 2952 	possible values to the help message.
 2953 
 2954 2017-05-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 2955 
 2956 	* src/http.c (gethttp): Support Wayback Machine's X-Archive-Orig-last-modified
 2957 
 2958 2017-04-28  Vijo Cherian  <codervijo@gmail.com>
 2959 
 2960 	Added new tests for SSL
 2961 	* tests/Test-https-badcerts.px : New file
 2962 	* tests/Test-https-clientcert.px : New file
 2963 	* tests/Test-https-crl.px : New file
 2964 	* tests/Test-https-weboftrust.px : New file
 2965 	* tests/certs/interca.conf : New file
 2966 	* tests/certs/rootca.conf : New file
 2967 	* tests/certs/test-ca-key.pem : New file
 2968 
 2969 	Added all new SSL / HTTPS tests to make check
 2970 	Added Test for SSL Web of Trust, accept only if CA chain of trust is intact.
 2971 	Added a test script for client certificate
 2972 	Added Test for crlfile option of wget
 2973 	Added test to make sure that wget doesn't accept expired or invalid certs
 2974 
 2975 	Some clean up : Removed cause of warnings from perl & other cosmetic changes
 2976 
 2977 2017-04-19  Vijo Cherian  <codervijo@gmail.com>
 2978 
 2979 	Added new tests for SSL
 2980 	* tests/SSLServer.pm: New file
 2981 	* tests/SSLTest.pm: New file
 2982 	* tests/Test-https-pfs.px: New file
 2983 	* tests/Test-https-selfsigned.px: New file
 2984 	* tests/Test-https-tlsv1.px: New file
 2985 	* tests/Test-https-tlsv1x.px: New file
 2986 	* tests/certs/server.crt: New file
 2987 	* tests/certs/server.key: New file
 2988 	* tests/certs/test-ca-cert.pem: New file
 2989 
 2990 	Added 4 new test scripts all for SSL.
 2991 	Added base pm for SSL testing.
 2992 	Added SSL tests for TLSv1, TLSv1_1 and PFS.
 2993 	Added test for self signed cert : check that it fails without
 2994 	--no-check-certificate and passes with that flag.
 2995 
 2996 2017-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 2997 
 2998 	* src/utils.c: Remove non-portable __builtin_unreachable()
 2999 
 3000 2017-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 3001 
 3002 	Skip iconv() usage if HAVE_ICONV is not defined
 3003 	This helps on broken iconv implementations, e.g. Solaris.
 3004 
 3005 	Reported-by: Mojca Miklavec
 3006 
 3007 2017-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 3008 
 3009 	Mention 'bash' for executing ./bootstrap
 3010 	Reported-by: Mojca Miklavec
 3011 
 3012 2017-04-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 3013 
 3014 	* bootstrap.conf: Make 'sed' options more portable
 3015 	'sed -i' works differently on FreeBSD.
 3016 
 3017 	Reported-by: Mojca Miklavec
 3018 
 3019 2017-04-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 3020 
 3021 	Fix charset transcoding issue for non-reversible codepoints
 3022 	* src/url.c: Check iconv() against 0, not -1
 3023 
 3024 	On some libiconv implementations, unknown codepoints become
 3025 	encoded as ?, e.g. when converting a non-ascii codepoint to ASCII.
 3026 	This results in ambigious file names which also fails our tests.
 3027 
 3028 2017-04-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 3029 
 3030 	* src/iri.c: Fix WIN32 idn2_free, forgotten code
 3031 
 3032 2017-04-14  Darshit Shah  <darnir@gnu.org>
 3033 
 3034 	* src/init.c: Set flstats correctly when using WGETRC env var
 3035 
 3036 2017-04-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 3037 
 3038 	Fix use of idn2_free()
 3039 	* src/connect.c (connect_to_ip): Use xfree() instead of idn2_free()
 3040 	* src/host.c (lookup_host): Use xfree() instead of idn2_free()
 3041 	* src/iri.h: Do not include idn2.h
 3042 	* src/url.c (url_free): Use xfree() instead of idn2_free()
 3043 	* src/url.h (struct url): Remove 'idn_allocated' from struct
 3044 
 3045 	Reported-by: Gisle Vanem
 3046 
 3047 2017-04-05  Anton Yuzhaninov  <citrin+github@citrin.ru>
 3048 
 3049 	Fix perl warnings in tests
 3050 	* tests/FTPServer.pm: Escape '{' in RE to fix warnings
 3051 	* tests/FTPTest.pm: Likewise
 3052 	* tests/HTTPServer.pm: Likewise
 3053 	* tests/HTTPTest.pm: Likewise
 3054 	* tests/Test-proxied-https-auth-keepalive.px: Likewise
 3055 	* tests/Test-proxied-https-auth.px: Likewise
 3056 	Escape '{' in RE to fix warnings:
 3057 	Unescaped left brace in regex is deprecated, passed through in regex;
 3058 	marked by <-- HERE in m/{{ <-- HERE port}}/
 3059 
 3060 2017-04-01  klemens  <ka7@github.com>
 3061 
 3062 	Fix typos in comments
 3063 
 3064 2017-03-31  Tim Rühsen  <tim.ruehsen@gmx.de>
 3065 
 3066 	* src/metalink.c (retrieve_from_metalink): Fix len in memset()
 3067 
 3068 2017-03-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 3069 
 3070 	Add gnulib module group-member
 3071 
 3072 2017-03-24  Vijo Cherian  <codervijo@gmail.com>
 3073 
 3074 	Safeguards against TOCTTOU
 3075 	* src/utils.h: Add struct file_stat_s declaration,
 3076 	  change prototypes of file_exists_p(),
 3077 	  add prototypes for fopen_stat() and open_stat().
 3078 	* src/utils.c: Extend file_exists_p(),
 3079 	  new function fopen_stat() and open_stat(),
 3080 	  add new param for file_exists_p().
 3081 	* src/init.h: Add param file_stats_t to run_wgetrc().
 3082 	* src/ftp.c: Amend calls to extended functions.
 3083 	* src/hsts.c: Likewise.
 3084 	* src/http.c: Likewise.
 3085 	* src/init.c: Likewise.
 3086 	* src/main.c: Likewise.
 3087 	* src/metalink.c: Likewise.
 3088 	* src/retr.c: Likewise.
 3089 	* src/url.c: Likewise.
 3090 
 3091 	Added fopen_stat() and open_stat() that checks to makes sure the file didn't
 3092 	change underneath us.
 3093 	Return error from file_exists_p().
 3094 	Added a way to return error from this file without major surgery to the
 3095 	callers.
 3096 
 3097 	Fixes: #20369
 3098 
 3099 2017-03-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 3100 
 3101 	Update gnulib
 3102 
 3103 2017-03-22  Christof Horschitz  <christof@nimbusec.com>
 3104 
 3105 	* src/warc.c (warc_write_cdx_record): Escape URLs
 3106 
 3107 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
 3108 
 3109 	Include libunistring headers only when used
 3110 	* src/iri.c: Check for libidn2 < 0.14 to include libunistring headers
 3111 
 3112 	The unistring functions are used only when an older version of libidn2
 3113 	is used, so don't include its headers either w/newer libdin2 versions.
 3114 
 3115 2017-03-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 3116 
 3117 	Fix links to www.robotstxt.org
 3118 	* NEWS: Fix links
 3119 	* doc/wget.texi: Likewise
 3120 	* src/res.c: Likewise
 3121 
 3122 	Reported-by: Noël Köthe
 3123 
 3124 2017-03-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3125 
 3126 	* tests/WgetTests.pm: Add -d to Wget test options
 3127 
 3128 2017-03-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 3129 
 3130 	Include <arpa/inet.h> for Windows
 3131 	Reported-by: Gisle Vanem
 3132 
 3133 2017-03-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 3134 
 3135 	Fix updating HSTS entries
 3136 	* src/hsts.c (hsts_store_entry): Always update 'created' field
 3137 
 3138 	Fixes: #50490
 3139 	Reported-by: Deian Stefan, Atyansh Jaiswal, Jonathan Luck
 3140 
 3141 2017-03-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 3142 
 3143 	Fix CRLF injection in Wget host part
 3144 	* src/url.c (url_parse): Reject control characters in host part of URL
 3145 
 3146 	Reported-by: Orange Tsai
 3147 
 3148 2017-03-04  Benjamin Esham  <benjamin@esham.io>
 3149 
 3150 	* src/warc.c: Use warc_write_header_uri for all WARC-Target-URI fields
 3151 	The WARC spec requires that all URIs be enclosed in angle brackets. This
 3152 	was being done in most cases, but not for "WARC-Target-URI" fields in
 3153 	WARC blocks of type "response", "resource", "revisit", and "metadata".
 3154 
 3155 2017-02-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 3156 
 3157 	Fix 504 status handling
 3158 	* src/http.c (gethttp): Move 504 handling to correct place.
 3159 	  (http_loop): Fix memeory leak.
 3160 	* testenv/server/http/http_server.py: Add Content-Length header on non-2xx
 3161 	  status codes with a body
 3162 
 3163 	Reported-by: Adam Sampson
 3164 
 3165 2017-02-16  YX Hao  <lifenjoiner@163.com>
 3166 
 3167 	* src/url.c (url_file_name): Do not charset convert local directory
 3168 	In a non-ASCII environment, the local path may contain non-ASCII
 3169 	characters. The server responded file name must be converted before
 3170 	it is concatenated to the local path. Conversion after concatenation
 3171 	may result in 'iconv' errors.
 3172 
 3173 2017-02-15  Tim Rühsen  <tim.ruehsen@gmx.de>
 3174 
 3175 	* configure.ac: Remove manually resetting of LIBICONV variable
 3176 	Fixes: #48193
 3177 	Reported-by: ilovezfs
 3178 	Reported-by: Charles
 3179 
 3180 	* bootstrap.conf: Call gperf to create lib/unicase/special-casing-table.h
 3181 
 3182 	* bootstrap.conf: Fix latest gnulib to work with gperf < 3.1
 3183 
 3184 2017-02-14  Darshit Shah  <darnir@gnu.org>
 3185 
 3186 	Pull GNULib to latest.
 3187 	* gnulib: Pull to latest commit. This fixes an issue with Gperf 3.1
 3188 
 3189 2017-02-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 3190 
 3191 	* src/main.c: Remove double 'verbose' option
 3192 	Fixes: #50290
 3193 
 3194 2017-02-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 3195 
 3196 	* NEWS: update
 3197 
 3198 	isrc/http.c (check_retry_on_http_error): Fix gcc warning
 3199 
 3200 2017-02-11  Tom Szilagyi  <tomszilagyi@gmail.com>
 3201 
 3202 	Add support for --retry-on-http-error
 3203 	* doc/wget.text: Add documentation
 3204 	* src/http.c: Add function check_retry_on_http_error ()
 3205 	* src/init.c: Add opt.retry_on_http_error
 3206 	* src/main.c: Add struct for retry-on-http-error to option_data[]
 3207 	* src/options.h: Add retry_on_http_error to struct options
 3208 
 3209 2017-02-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 3210 
 3211 	Revert "Add support for --retry-on-http-error"
 3212 	This reverts commit 977276374d1be7f171f5da8633368025c88b9eee.
 3213 
 3214 2017-02-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 3215 
 3216 	Change libtool library deps to non-libtool deps
 3217 	Reported-by: Yousong Zhou
 3218 	Fixes: #50260
 3219 
 3220 2017-02-09  Tom Szilagyi  <tomszilagyi@gmail.com>
 3221 
 3222 	Add support for --retry-on-http-error
 3223 	* doc/wget.texi: Add description for --retry-on-http-error
 3224 	* src/http.c (gethttp):
 3225 	Consider given HTTP response codes as non-fatal, transient errors.
 3226 	Supply a comma-separated list of 3-digit HTTP response codes as
 3227 	argument. Useful to work around special circumstances where retries
 3228 	are required, but the server responds with an error code normally not
 3229 	retried by Wget. Such errors might be 503 (Service Unavailable) and
 3230 	429 (Too Many Requests). Retries enabled by this option are performed
 3231 	subject to the normal retry timing and retry count limitations of
 3232 	Wget.
 3233 
 3234 	Using this option is intended to support special use cases only and is
 3235 	generally not recommended, as it can force retries even in cases where
 3236 	the server is actually trying to decrease its load. Please use it
 3237 	wisely and only if you know what you are doing.
 3238 
 3239 	Example use and a starting point for manual testing:
 3240 	  wget --retry-on-http-error=429,503 http://httpbin.org/status/503
 3241 
 3242 2017-02-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 3243 
 3244 	* tests/WgetTests.pm: Add --no-config to wget invocation
 3245 	Without --no-config, wgetrc commands may disturb the tests.
 3246 
 3247 	Reported-by: Dagobert Michelsen
 3248 
 3249 2017-02-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 3250 
 3251 	* tests/WgetTests.pm (_verify_download): Fix failure message
 3252 	Reported-by: Zhiming Wang
 3253 
 3254 	* src/http.c (initialize_request): Fix regression in .netrc auth
 3255 	Reported-by: Axel Reinhold
 3256 
 3257 	* src/iri.c (idn_encode): Fix memory leak
 3258 
 3259 2017-02-06  Tim Rühsen  <tim.ruehsen@gmx.de>
 3260 
 3261 	Remove skipping libunistring with --disable-iri
 3262 	* configure.ac: Remove checking for IRI=no
 3263 
 3264 	On certain systems, gnulib falls back to libunistring
 3265 	for mbtowc() and wcwidth() (used in src/progress.c).
 3266 
 3267 	Reported-by: Zhiming Wang
 3268 
 3269 2017-02-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 3270 
 3271 	* bootstrap.conf: Add gnulib module wcwidth
 3272 
 3273 	Fix include/define clash with gnulib's unlink module
 3274 	* src/options.h: Rename options.unlink to options.unlink_requested
 3275 	* src/init.c: Replace options unlink member by unlink_requested
 3276 	* src/http.c: Likewise
 3277 	* src/ftp.c: Likewise
 3278 
 3279 	* bootstrap.conf: Specify unicode modules more exact
 3280 
 3281 	* src/xattr.h: Fix #define fsetxattr for MacOS and FreeBSD
 3282 	Reported-by: Zhiming Wang
 3283 
 3284 2017-02-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 3285 
 3286 	* contrib/release: New release helper script
 3287 
 3288 	* cfg.mk: Fix syntax-check
 3289 
 3290 	* doc/announcement_1.19.txt: Add new file
 3291 
 3292 	* src/utils.c: Move macro FMT_MAX_LENGTH into scope
 3293 
 3294 	* src/utils.c: Fix -Wformat= warnings
 3295 
 3296 	* src/gnutls.c: Fix -Wformat= warnings
 3297 
 3298 	* src/iri.c: Remove unused macro IDNA_FLAGS
 3299 
 3300 	* src/iri.c: Remove use of __func__ macros
 3301 
 3302 	* src/http.c: Fix -Wformat= warnings
 3303 
 3304 	* src/progress.c: Remove unused macro move_to_end
 3305 
 3306 	* src/html-parse.c: Remove unused macro SKIP_NON_WS
 3307 
 3308 	* src/hsts.c: Remove unused macro CHECK_EXPLICIT_PORT
 3309 
 3310 	* src/hsts.c: Fix -Wformat= warnings
 3311 
 3312 	* src/hash.c: Explicitly convert float to int
 3313 
 3314 	* src/ftp-ls.c: Fix -Wformat= warnings
 3315 
 3316 	* src/ftp.c (ftp_retrieve_list): Add default to switch
 3317 
 3318 	* src/css-url.h: Remove redundant declaration
 3319 
 3320 	* src/ftp.c: Fix -Wformat= warning
 3321 
 3322 	* src/http.c (test_parse_range_header): Fix constants
 3323 
 3324 2017-02-02  Dale R. Worley  <worley@ariadne.com>
 3325 
 3326 	Improve documentation of --trust-server-names.
 3327 
 3328 2017-02-02  Tim Rühsen  <tim.ruehsen@gmx.de>
 3329 
 3330 	* src/url.c (mkalldirs): Add newline to log message
 3331 
 3332 	* src/cookies.c (check_domain_match): Add newline to DEBUG lines
 3333 
 3334 2017-01-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 3335 
 3336 	* NEWS: update
 3337 
 3338 	* README.checkout: Link HTTPS where possible, update flex homepage
 3339 
 3340 	* README.checkout: Fix libidn to libidn2
 3341 
 3342 2017-01-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3343 
 3344 	* src/iri.c: Use TR46 non-transitional for toASCII conversion
 3345 
 3346 	* src/main.c: Fix _Noreturn compiler warnings
 3347 
 3348 	* src/utils.c: Fix _Noreturn compiler warning
 3349 
 3350 	* src/init.c (setval_internal): Fix sign compare warning
 3351 
 3352 2017-01-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3353 
 3354 	Replace home-grown portability code by gnulib modules
 3355 	* bootstrap.conf: Add intprops, inttypes, limits-h, signal-h,
 3356 	  stat, sys_types
 3357 	* src/ftp.c: Replace 'struct_stat' by 'struct stat'
 3358 	* src/hsts.c: Likewise
 3359 	* src/http.c: Likewise
 3360 	* src/main.c: Likewise
 3361 	* src/netrc.c: Likewise
 3362 	* src/retr.c: Likewise
 3363 	* src/url.c: Likewise
 3364 	* src/utils.c: Likewise
 3365 	* src/sysdep.h: Remove old portability code
 3366 
 3367 	Further portability issues should be addressed by gnulib.
 3368 
 3369 2017-01-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3370 
 3371 	Replace WGET_* m4 macros by gnulib modules
 3372 	* bootstrap.conf: Add hostent, inet_ntop, nanosleep, utimens
 3373 	* configure.ac: Remove WGET_STRUCT_UTIMBUF, WGET_FNMATCH,
 3374 	  WGET_NANOSLEEP, WGET_POSIX_CLOCK, WGET_NSL_SOCKET
 3375 	* m4/wget.m4: Likewise
 3376 	* src/Makefile.am: Add $(LIB_NANOSLEEP) $(LIB_POSIX_SPAWN) to LDADD
 3377 	* tests/Makefile.am: Likewise
 3378 	* src/host.c (print_address): Use inet_ntop also for IPV4
 3379 
 3380 2017-01-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3381 
 3382 	Remove libidn vulnerability work-around
 3383 	* src/iri.c (_utf8_is_valid): Removed
 3384 
 3385 	Since we are using libidn2 for IDNs, we no longer need
 3386 	this work-around.
 3387 
 3388 2017-01-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 3389 
 3390 	* src/iri.c (idn_encode): Use TR46 transitional if available
 3391 
 3392 	* gnulibx: Update
 3393 
 3394 2017-01-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 3395 
 3396 	Fix previous commit 2427ca4ac090dc6cc0c527f4ac4fc5a4bd468eb1
 3397 
 3398 2017-01-06  vijeth-aradhya  <vijthaaa@gmail.com>
 3399 
 3400 	Fix http.c and ftp.c passwd logic error
 3401 	* src/ftp.c (getftp): Fix password/user selection
 3402 	* src/http.c (initialize_request): Likewise
 3403 
 3404 	Before, netrc password won over interactive
 3405 	--ask-password but now --ask-password wins
 3406 	after change of program logic
 3407 
 3408 	Fixes Issue #48811
 3409 
 3410 2016-12-31  Giuseppe Scrivano  <gscrivan@redhat.com>
 3411 
 3412 	* src/main.c (main): Add missing \n in error message
 3413 
 3414 2016-12-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 3415 
 3416 	Check that fd_set has not fds bigger than FD_SETSIZE
 3417 	* src/connect.c: check that the fd is not bigger than FD_SETSIZE
 3418 	  before using FD_SET.  An fd_set cannot hold fds bigger than
 3419 	  FD_SETSIZE, causing out-of-bounds write to a buffer on the stack.
 3420 
 3421 	Reported by: Jann Horn <jannh@google.com>
 3422 
 3423 2016-12-20  Nikos Mavrogiannopoulos  <nmav@gnutls.org>
 3424 
 3425 	Avoid calling the gnutls priority functions multiple times
 3426 	* src/gnutls.c (ssl_connect_wget): Call gnutls_set_default_priority()
 3427 	  for --secure-protocol=auto (default).
 3428 
 3429 	The patch fixes a behavior that may have unintended side-effects in
 3430 	certain gnutls versions. Instead use the default priorities when no
 3431 	options are given.
 3432 
 3433 2016-12-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 3434 
 3435 	Print debug message when skipping certain recursive downloads
 3436 	* src/recur.c (retrieve_tree): Print debug message instead silently
 3437 	  skipping recursive downloads.
 3438 
 3439 2016-12-14  Rahul Bedarkar  <rahul.bedarkar@imgtec.com>
 3440 
 3441 	Rename base64_{encode,decode} (trivial patch)
 3442 	* src/http-ntlm.c: Rename base64_{encode,decode}
 3443 	* src/http.c: Likewise
 3444 	* src/utils.c: Likewise
 3445 	* src/utils.h: Likewise
 3446 
 3447 	When statically linking with gnutls, we get definition clash error for
 3448 	base64_encode which is also defined by gnutls.
 3449 
 3450 	To prevent definition clash, rename base64_{encode,decode}
 3451 
 3452 2016-12-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 3453 
 3454 	Add support for psl_latest()
 3455 	* configure.ac: Add check for psl_latest(),
 3456 	  remove --with-psl-file
 3457 	* src/cookies.c (check_domain_match): Use psl_latest() if available
 3458 
 3459 2016-11-09  Piotr Wajda  <pwajda@gmail.net.pl>
 3460 
 3461 	Respect -o parameter again
 3462 	 * log.c: don't choose log output dynamically when opt.lfilename is set
 3463 
 3464 	 Regression introduced by dd5c549f6af8e1143e1a6ef66725eea4bcd9ad50
 3465 	 Reported-by: Dale R. Worley
 3466 
 3467 2016-11-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 3468 
 3469 	Move Wget from IDN2003 (libidn) to IDN2008 (libidn2)
 3470 	* .travis.yml: Install libidn2-dev instead libidn11-dev.
 3471 	* bootstrap.conf: Add modules libunistring-optional, unistr/base,
 3472 	  unicase/tolower.
 3473 	* configure.ac: Check for libidn2.
 3474 	* src/Makefile.am: Add $(LTLIBUNISTRING) to LDADD.
 3475 	* tests/Makefile.am: Set LDADD similar to LDADD in src/Makefile.am
 3476 	* src/connect.c: Use libidn2 code instead of libidn.
 3477 	* src/host.c: Likewise.
 3478 	* src/iri.c: Likewise.
 3479 	* src/iri.h: Likewise.
 3480 	* src/options.h: Likewise.
 3481 	* src/url.c: Likewise.
 3482 	* src/url.h: Likewise.
 3483 	* src/log.c: Fix C99 comment.
 3484 
 3485 	IDN2003 should not be used any more due to security concerns.
 3486 	We use libunistring (resp. the unicode code from gnulib) for
 3487 	lowercasing UTF-8 before we give data to libidn2.
 3488 	TR#46 is missing, no support in libidn2 nor in libunistring.
 3489 
 3490 2016-11-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 3491 
 3492 	Use -O0 in contrib scripts
 3493 	* contrib/check-hard: Use -O0 instead of -O2 to speed up script.
 3494 	* contrib/travis-ci: Likewise.
 3495 
 3496 	Update gnulib
 3497 
 3498 2016-10-22  Tim Rühsen  <tim.ruehsen@gmx.de>
 3499 
 3500 	* src/metalink.c: Fix typo 'suceeded' -> 'succeeded'
 3501 	Reported-by: Göran Uddeborg <goeran@uddeborg.se>,
 3502 	             Anders Jonsson <anders.jonsson@norsjovallen.se>
 3503 
 3504 2016-10-21  losgrandes  <pwajda@gmail.net.pl>
 3505 
 3506 	Fixes #45790: wget prints it's progress even when background
 3507 	* src/log.c: Use tcgetpgrp(STDIN_FILENO) != getpgrp() to determine when to print to STD* or logfile.
 3508 	  Deprecate log_request_redirect_output function.
 3509 	  Use different file handles for STD* and logfile, to easily switch between them when changing fg/bg.
 3510 	* src/log.h: Make redirect_output function externally linked.
 3511 	* src/main.c: Don't use deprecated log_request_redirect_output function. Use redirect_output instead.
 3512 	* src/mswindows.c: Don't use deprecated log_request_redirect_output function. Use redirect_output instead.
 3513 
 3514 	Fixes #46584: wget --spider always returns zero exit status
 3515 	* src/ftp.c: Return error as exit value if even one file doesn't exist
 3516 
 3517 2016-10-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 3518 
 3519 	* src/http.c (gethttp): Accept 206 for request w/o Range header
 3520 	Fixes: #49319
 3521 
 3522 2016-10-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 3523 
 3524 	* tests/Makefile.am: Let WGETRC work on *nix and Windows
 3525 
 3526 	Properly include iconv.h
 3527 	* src/iri.c: Check HAVE_ICONV to include iconv.h
 3528 	* src/url.c: Same
 3529 
 3530 	* bootstrap.conf: Add pipe-posix for pipe()
 3531 
 3532 2016-10-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 3533 
 3534 	Amend redirection behavior
 3535 	* src/recur.c (descend_redirect): Ignore WG_RR_LIST and WG_RR_REGEX
 3536 	  for redirections.
 3537 	* testenv/Makefile.am: Add Test-recursive-redirect.py
 3538 	* testenv/Test-recursive-redirect.py: New test
 3539 
 3540 	Test-recursive-redirect.py written by Dale R. Worley.
 3541 
 3542 	Reported-by: "Dale R. Worley" <worley@ariadne.com>
 3543 
 3544 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3545 
 3546 	New: Metalink/XML v3 python class, update tests to use this class
 3547 	* testenv/misc/metalinkv3_xml.py: New Metalink/XML v3 python class
 3548 	* testenv/Test-metalink-xml-abspath-trust.py: Update test to use the
 3549 	  new Metalink/XML v3 python class
 3550 	* testenv/Test-metalink-xml-abspath.py: Update test to use the new
 3551 	  Metalink/XML v3 python class
 3552 	* testenv/Test-metalink-xml-absprefix-trust.py: Update test to use the
 3553 	  new Metalink/XML v3 python class
 3554 	* testenv/Test-metalink-xml-absprefix.py: Update test to use the new
 3555 	  Metalink/XML v3 python class
 3556 	* testenv/Test-metalink-xml-continue.py: Update test to use the new
 3557 	  Metalink/XML v3 python class
 3558 	* testenv/Test-metalink-xml-emptyprefix-trust.py: Update test to use
 3559 	  the new Metalink/XML v3 python class
 3560 	* testenv/Test-metalink-xml-homepath-trust.py: Update test to use the
 3561 	  new Metalink/XML v3 python class
 3562 	* testenv/Test-metalink-xml-homepath.py: Update test to use the new
 3563 	  Metalink/XML v3 python class
 3564 	* testenv/Test-metalink-xml-homeprefix-trust.py: Update test to use
 3565 	  the new Metalink/XML v3 python class
 3566 	* testenv/Test-metalink-xml-homeprefix.py: Update test to use the new
 3567 	  Metalink/XML v3 python class
 3568 	* testenv/Test-metalink-xml-nohash.py: Update test to use the new
 3569 	  Metalink/XML v3 python class
 3570 	* testenv/Test-metalink-xml-nourls.py: Update test to use the new
 3571 	  Metalink/XML v3 python class
 3572 	* testenv/Test-metalink-xml-prefix-trust.py: Update test to use the
 3573 	  new Metalink/XML v3 python class
 3574 	* testenv/Test-metalink-xml-prefix.py: Update test to use the new
 3575 	  Metalink/XML v3 python class
 3576 	* testenv/Test-metalink-xml-relpath-trust.py: Update test to use the
 3577 	  new Metalink/XML v3 python class
 3578 	* testenv/Test-metalink-xml-relpath.py: Update test to use the new
 3579 	  Metalink/XML v3 python class
 3580 	* testenv/Test-metalink-xml-relprefix-trust.py: Update test to use the
 3581 	  new Metalink/XML v3 python class
 3582 	* testenv/Test-metalink-xml-relprefix.py: Update test to use the new
 3583 	  Metalink/XML v3 python class
 3584 	* testenv/Test-metalink-xml-size.py: Update test to use the new
 3585 	  Metalink/XML v3 python class
 3586 	* testenv/Test-metalink-xml-trust.py: Update test to use the new
 3587 	  Metalink/XML v3 python class
 3588 	* testenv/Test-metalink-xml.py: Update test to use the new
 3589 	  Metalink/XML v3 python class
 3590 
 3591 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3592 
 3593 	New: --metalink-over-http Content-Type/Disposition Metalink/XML processing
 3594 	* src/http.c (metalink_from_http): Process the Content-Type header.
 3595 	  Add an application/metalink4+xml URL as metalink metaurl.  If the
 3596 	  option opt.content_disposition is true, the Content-Disposition's
 3597 	  filename is the metaurl's name
 3598 	* doc/wget.texi: Update --content-disposition and --metalink-over-http
 3599 	* doc/metalink-standard.txt: Update doc. Content-Type/Disposition
 3600 	  processing through --metalink-over-http. Update download naming
 3601 	  system about --trust-server-names and --content-disposition
 3602 	* testenv/Makefile.am: Add new files
 3603 	* testenv/Test-metalink-http-xml-type.py: New file. Metalink/HTTP
 3604 	  Content-Type/Disposition header automated Metalink/XML tests
 3605 	* testenv/Test-metalink-http-xml-type-trust.py: New file. Metalink/HTTP
 3606 	  Content-Type/Disposition header with --trust-server-names automated
 3607 	  Metalink/XML tests
 3608 	* testenv/Test-metalink-http-xml-type-content.py: New file. Metalink/HTTP
 3609 	  Content-Type/Disposition header with --content-disposition automated
 3610 	  Metalink/XML tests
 3611 	* testenv/Test-metalink-http-xml-type-trust-content.py: New file.
 3612 	  Metalink/HTTP Content-Type/Disposition header with --trust-server-names
 3613 	  and --content-disposition automated Metalink/XML tests
 3614 
 3615 	Process the Content-Type header, identify an application/metalink4+xml
 3616 	file.  The Content-Disposition could provide an alternate name through
 3617 	the "filename" field for the metalink xml file.  Respectively, the cli
 3618 	options --metalink-over-http and --content-disposition are required.
 3619 
 3620 	When Metalink/XML auto-processing, to use the Content-Disposition's
 3621 	filename, the cli option --trust-server-names is also required.
 3622 
 3623 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3624 
 3625 	Bugfix: Set NULL variable due to --content-disposition to Metalink origin
 3626 	* src/http.c (http_loop): Prevent SIGSEGV when hstat.local_file is
 3627 	  NULL, opt.content_disposition has a role in leaving the value unset
 3628 	* src/http.c (gethttp): If hs->local_file is NULL (aka http_loop()'s
 3629 	  hstat.local_file), set it to the value of hs->metalink->origin
 3630 
 3631 	New: --trust-server-names saves Metalink/HTTP xml files using the "name" field
 3632 	* src/metalink.c (retrieve_from_metalink): If opt.trustservernames is
 3633 	  true, use the basename of the metaurl's name to save the xml file
 3634 	* doc/metalink-standard.txt: Update doc. With --trust-server-names any
 3635 	  Metalink/HTTP Link application/metalink4+xml file is saved using the
 3636 	  basename of the "name" field, if any. Update Metalink/HTTP examples
 3637 	* testenv/Makefile.am: Add new file
 3638 	* testenv/Test-metalink-http-xml-trust-name.py: New file. Metalink/HTTP
 3639 	  automated Metalink/XML, save xml files using the "name" field tests
 3640 
 3641 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3642 
 3643 	Bugfix: Detect when a metalink:file doesn't have any hash
 3644 	* src/metalink.c (retrieve_from_metalink): Reject any metalink:file
 3645 	  without hashes. Prompt the error and switch to the next file
 3646 	* testenv/Makefile.am: Add new file
 3647 	* testenv/Test-metalink-xml-nohash.py: New file. Metalink/XML with no
 3648 	  hashes tests
 3649 
 3650 	Prevent SIGSEGV.
 3651 
 3652 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3653 
 3654 	Bugfix: Detect malformed base64 Metalink/HTTP Digest header
 3655 	* src/http.c (metalink_from_http): Fix hash_bin_len type. Use ssize_t
 3656 	  instead than size_t. Reject -1 as base64_decode() return value
 3657 	* testenv/Makefile.am: Add new file
 3658 	* testenv/Test-metalink-http-baddigest.py: New file. Metalink/HTTP
 3659 	  malformed base64 Digest header tests
 3660 
 3661 	On malformed base64 input, ssize_t base64_decode() returns -1. Such
 3662 	value is too big for a size_t variable, and used as xmalloc() value
 3663 	will exaust all the memory.
 3664 
 3665 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3666 
 3667 	New option --metalink-index to process Metalink application/metalink4+xml
 3668 	* NEWS: Mention the effect of --metalink-index over Metalink
 3669 	* src/init.c: Add new option metalinkindex (opt.metalink_index),
 3670 	  initialize to -1
 3671 	* src/main.c: Add new option metalink-index (--metalink-index=NUMBER)
 3672 	* src/options.h: Add new option metalink_index (int)
 3673 	* src/metalink.h: Add declaration of functions fetch_metalink_file(),
 3674 	  replace_metalink_basename()
 3675 	* src/metalink.c: Add functions fetch_metalink_file() simple file
 3676 	  fetch, replace_metalink_basename() replace file basename
 3677 	* src/metalink.c (retrieve_from_metalink): New. Process Metalink
 3678 	  application/metalink4+xml of opt.metalink_index ordinal number
 3679 	* doc/wget.texi: Add new option metalink-index (--metalink-index)
 3680 	  documentation
 3681 	* doc/metalink-standard.txt: Updated doc. Add documentation about
 3682 	  Metalink application/metalink4+xml metaurls download naming system
 3683 	* doc/metalink-standard.txt: Update Metalink/XML and HTTP examples
 3684 	* testenv/Makefile.am: Add new files
 3685 	* testenv/Test-metalink-http-xml.py: New file. Metalink/HTTP automated
 3686 	  Metalink/XML "application/metalink4+xml" --metalink-index tests
 3687 	* testenv/Test-metalink-http-xml-trust.py: New file. Metalink/HTTP
 3688 	  automated Metalink/XML "application/metalink4+xml" --metalink-index
 3689 	  retrieval with --trust-server-names tests
 3690 
 3691 	WARNING: Do not use lib/dirname.c (dir_name) to get the directory
 3692 	name, it may append a dot '.' character to the directory name.
 3693 
 3694 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3695 
 3696 	Bugfix: Prevent sorting when there are less than two elements
 3697 	* src/utils.c (stable_sort): Add condition nmemb > 1, sort only when
 3698 	  there is more than one element
 3699 
 3700 	Prevent SIGSEGV.
 3701 
 3702 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3703 
 3704 	New: Parse Metalink/HTTP header for application/metalink4+xml
 3705 	* src/http.c (metalink_from_http): Parse Metalink/HTTP header for
 3706 	  metaurls application/metalink4+xml media types
 3707 	* src/metalink.h: Add function declaration metalink_meta_cmp()
 3708 	* src/metalink.c: Add function metalink_meta_cmp() compare metalink
 3709 	  metaurls priorities
 3710 
 3711 	Add Metalink/HTTP application/metalink4+xml media types as metaurls to
 3712 	the metalink variable that will be used to download the files.
 3713 
 3714 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3715 
 3716 	New test: Metalink shall not concatenate '/' to an empty directory prefix
 3717 	* testenv/Makefile.am: Add new file
 3718 	* testenv/Test-metalink-xml-emptyprefix-trust.py: New file.
 3719 	  Metalink/XML empty directory prefix (--directory-prefix '') tests
 3720 
 3721 	Detect a '/' character wrongfully concatenated to an empty directory
 3722 	prefix '' (not NULL), resulting in an absolute path as '/dir/file',
 3723 	instead than 'dir/file'.
 3724 
 3725 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3726 
 3727 	Bugfix: Remove surrounding quotes from Metalink/HTTP key's value
 3728 	* src/metalink.h: Add declaration of function dequote_metalink_string()
 3729 	* src/metalink.c: Add function dequote_metalink_string() remove
 3730 	  surrounding quotes from string, \' or \"
 3731 	* src/metalink.c (find_key_value, find_key_values): Call dequote_metalink_string()
 3732 	  to remove the surrounding quotes from the parsed value
 3733 	* src/metalink.c (test_find_key_value, test_find_key_values): Add
 3734 	  quoted key's values for unit-tests
 3735 	* testenv/Makefile.am: Add new file
 3736 	* testenv/Test-metalink-http-quoted.py: New file. Metalink/HTTP quoted
 3737 	  values tests
 3738 
 3739 	Some Metalink/HTTP keys, like "type" [2], may have a quoted value [1]:
 3740 	Link: <http://example.com/example.ext.meta4>; rel=describedby;
 3741 	type="application/metalink4+xml"
 3742 
 3743 	Wget was expecting a dequoted value from the Metalink module. This
 3744 	patch addresses this problem.
 3745 
 3746 	References:
 3747 	 [1] Metalink/HTTP: Mirrors and Hashes
 3748 	     1.1. Example Metalink Server Response
 3749 	     https://tools.ietf.org/html/rfc6249#section-1.1
 3750 
 3751 	 [2] Additional Link Relations
 3752 	     6. "type"
 3753 	     https://tools.ietf.org/html/rfc6903#section-6
 3754 
 3755 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3756 
 3757 	Bugfix: Process Metalink/XML url strings containing white spaces and CRLF
 3758 	* src/metalink.h: Add declaration of function clean_metalink_string()
 3759 	* src/metalink.c: Add directive #include "xmemdup0.h"
 3760 	* src/metalink.c: Add function clean_metalink_string() remove leading
 3761 	  and trailing white spaces and CRLF from string
 3762 	* src/metalink.c (retrieve_from_metalink): Remove leading and trailing
 3763 	  white spaces and CRLF from url resource mres->url
 3764 	* testenv/Makefile.am: Add new file
 3765 	* testenv/Test-metalink-xml-urlbreak.py: New test. Metalink/XML white
 3766 	  spaces and CRLF in url resources tests
 3767 
 3768 	White spaces and CRLF are not automatically removed by libmetalink
 3769 	from url strings. The Wget's Metalink module was unable to process
 3770 	such url strings. This patch implements the processing of such url
 3771 	strings cleaning off leading and trailing white spaces and CRLF.
 3772 
 3773 	If a parsed Metalink/XML url string contains strings separated by
 3774 	CRLF, only the first of the series is accepted.
 3775 
 3776 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3777 
 3778 	New test: Detect when there are no good Metalink url resources
 3779 	* testenv/Makefile.am: Add new file
 3780 	* testenv/Test-metalink-xml-nourls.py: New file. Metalink/XML unknown
 3781 	  urls tests
 3782 
 3783 	Test if when there are no good Metalink url resources there is any
 3784 	segmentation fault.
 3785 
 3786 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3787 
 3788 	New: Metalink file size mismatch returns error code METALINK_SIZE_ERROR
 3789 	* src/wget.h (uerr_t): Add error code METALINK_SIZE_ERROR to enum
 3790 	* src/metalink.c (retrieve_from_metalink): Use boolean variable
 3791 	  size_ok, when false set retr_err to METALINK_SIZE_ERROR
 3792 	* testenv/Makefile.am: Add new file
 3793 	* testenv/Test-metalink-xml-size.py: New file. Metalink/XML file size
 3794 	  tests (<size></size>)
 3795 
 3796 	Before this patch, no appropriate error code was returned to inform a
 3797 	file size mismatch.
 3798 
 3799 	This patch introduces the error code METALINK_SIZE_ERROR to inform a
 3800 	file size mismatch.
 3801 
 3802 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3803 
 3804 	New: Metalink/XML and Metalink/HTTP file naming safety rules
 3805 	* NEWS: Mention the effect of --trust-server-names over Metalink
 3806 	* src/metalink.h: Add declaration of function append_suffix_number()
 3807 	* src/metalink.c: Add function append_suffix_number() append number to
 3808 	  string
 3809 	* src/metalink.c (retrieve_from_metalink): Safer Metalink/XML and
 3810 	  Metalink/HTTP download naming system, opt.trustservernames based
 3811 	* doc/metalink-standard.txt: Update doc. Explain new Metalink/XML and
 3812 	  Metalin/HTTP download naming system and --trust-server-names role
 3813 	* testenv/Makefile.am: Add new files
 3814 	* testenv/Test-metalink-xml-continue.py: Update test. Metalink/XML
 3815 	  continue/keep existing files (HTTP 416) with --continue tests
 3816 	* testenv/Test-metalink-xml.py: Update test. Metalink/XML naming tests
 3817 	* testenv/Test-metalink-xml-trust.py: New file. Metalink/XML naming
 3818 	  tests with --trust-server-names
 3819 	* testenv/Test-metalink-xml-abspath.py: Update test. Metalink/XML
 3820 	  absolute path tests
 3821 	* testenv/Test-metalink-xml-abspath-trust.py: New file. Metalink/XML
 3822 	  absolute path tests with --trust-server-names
 3823 	* testenv/Test-metalink-xml-relpath.py: Update test. Metalink/XML
 3824 	  relative path tests
 3825 	* testenv/Test-metalink-xml-relpath-trust.py: New file. Metalink/XML
 3826 	  relative path tests with --trust-server-names
 3827 	* testenv/Test-metalink-xml-homepath.py: Update test. Metalink/XML
 3828 	  home path and ~ (tilde) tests
 3829 	* testenv/Test-metalink-xml-homepath-trust.py: New file. Metalink/XML
 3830 	  home path and ~ (tilde) tests with --trust-server-names
 3831 	* testenv/Test-metalink-xml-prefix.py: New file. Metalink/XML naming
 3832 	  tests with --directory-prefix
 3833 	* testenv/Test-metalink-xml-prefix-trust.py: New file. Metalink/XML
 3834 	  naming tests with --directory-prefix and --trust-server-names
 3835 	* testenv/Test-metalink-xml-absprefix.py: New file. Metalink/XML
 3836 	  absolute --directory-prefix tests
 3837 	* testenv/Test-metalink-xml-absprefix-trust.py: New file. Metalink/XML
 3838 	  absolute --directory-prefix tests with --trust-server-names
 3839 	* testenv/Test-metalink-xml-relprefix.py: New file. Metalink/XML
 3840 	  relative --directory-prefix tests
 3841 	* testenv/Test-metalink-xml-relprefix-trust.py: New file. Metalink/XML
 3842 	  relative --directory-prefix tests with --trust-server-names
 3843 	* testenv/Test-metalink-xml-homeprefix.py: New file. Metalink/XML home
 3844 	  --directory-prefix tests
 3845 	* testenv/Test-metalink-xml-homeprefix-trust.py: New file. Metalink/XML
 3846 	  home --directory-prefix tests with --trust-server-names
 3847 
 3848 	The option --trust-server-names allows to use the file names parsed
 3849 	from a Metalink/XML file.  Without --trust-server-names, the safety
 3850 	mechanism provides secure and predictable file names.
 3851 
 3852 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3853 
 3854 	New document: Metalink/XML and Metalink/HTTP standard reference
 3855 	* doc/metalink-standard.txt: New doc. Implemented and recommended
 3856 	  Metalink/XML and Metalink/HTTP standard features
 3857 
 3858 2016-09-30  Matthew White  <mehw.is.me@inventati.org>
 3859 
 3860 	Enforce Metalink file name verification, strip directory if necessary
 3861 	* NEWS: Mention the use of a safe Metalink destination path
 3862 	* src/metalink.h: Add declaration of functions get_metalink_basename(),
 3863 	  last_component(), metalink_check_safe_path()
 3864 	* src/metalink.c: Add directive #include "dosname.h"
 3865 	* src/metalink.c: Add function get_metalink_basename() to return the
 3866 	  basename of a file name, strip w32's drive letter prefixes
 3867 	* src/metalink.c (retrieve_from_metalink): Enforce Metalink file name
 3868 	  verification, if the file name is unsafe try its basename
 3869 	* doc/metalink.txt: Update document. Explain --directory-prefix
 3870 
 3871 	The function get_metalink_basename() uses FILE_SYSTEM_PREFIX_LEN to
 3872 	catch any 'C:D:file' (w32 environment), then it removes each drive
 3873 	letter prefix, i.e. 'C:' and 'D:'.
 3874 
 3875 	Unsafe file names contain an absolute, relative, or home path.  Safe
 3876 	paths can be verified by libmetalink's metalink_check_safe_path().
 3877 
 3878 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3879 
 3880 	Implement Metalink/XML --directory-prefix option in Metalink module
 3881 	* NEWS: Mention the effect of --directory-prefix over Metalink
 3882 	* src/metalink.c (retrieve_from_metalink): Add opt.dir_prefix as
 3883 	  prefix to the metalink:file name mfile->name
 3884 	* doc/metalink.txt: Update document. Explain --directory-prefix
 3885 
 3886 	When --directory-prefix=<prefix> is used, set the top of the retrieval
 3887 	tree to prefix. The default is . (the current directory). Metalink/XML
 3888 	and Metalink/HTTP files will be downloaded under prefix.
 3889 
 3890 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3891 
 3892 	Change mfile->name to filename in Metalink module's messages
 3893 	* src/metalink.c (retrieve_from_metalink): Change mfile->name to
 3894 	  filename when referring to the downloaded file
 3895 
 3896 	The file name could have been changed by unique_create() (or by any
 3897 	other mean) before downloading. Use the name of the downloaded file
 3898 	(filename) when printing output which refer to it.
 3899 
 3900 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3901 
 3902 	Add file size computation in Metalink module
 3903 	* NEWS: Mention Metalink's file size verification
 3904 	* src/metalink.c (retrieve_from_metalink): Add file size computation
 3905 	* doc/metalink.txt: Update document. Remove resolved bugs
 3906 
 3907 	Reject downloaded files when they do not agree with their Metalink/XML
 3908 	metalink:size: https://tools.ietf.org/html/rfc5854#section-4.2.14
 3909 
 3910 	At the moment of writing, Metalink/HTTP headers do not provide a file
 3911 	size field. This information could be obtained from the Content-Length
 3912 	header field: https://tools.ietf.org/html/rfc6249#section-7
 3913 
 3914 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3915 
 3916 	Update Metalink/XML tests and add a new test for home paths
 3917 	* testenv/Test-metalink-xml-relpath.py: Update test
 3918 	* testenv/Test-metalink-xml-homepath.py: New file. Reject home paths
 3919 	* testenv/Makefile.am: Add new file
 3920 
 3921 	When --input-metalink=<file> is used, each metalink:file name is
 3922 	verified by libmetalink's metalink_check_safe_path(). By design,
 3923 	absolute, relative and home paths are rejected.
 3924 
 3925 	At the moment of writing, when --metalink-over-http is used, absolute,
 3926 	relative, and home paths aren't a concern. The destination file name
 3927 	is a combination of URL's file name and cli's "Directory Options"
 3928 	handled by src/url.c (url_file_name).
 3929 
 3930 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3931 
 3932 	Bugfix: Keep the download progress when alternating metalink:url
 3933 	* NEWS: Mention the effects of --continue over Metalink
 3934 	* src/metalink.c (retrieve_from_metalink): On download error, resume
 3935 	  output_stream with the next mres->url. Keep fully downloaded files
 3936 	  started with --continue, otherwise rename/remove the file
 3937 	* testenv/Makefile.am: Add new file
 3938 	* testenv/Test-metalink-xml-continue.py: New file. Metalink/XML
 3939 	  continue/keep existing files (HTTP 416) with --continue tests
 3940 
 3941 	Before this patch, with --continue, existing and/or fully retrieved
 3942 	files which fail the sanity tests were renamed (--keep-badhash), or
 3943 	removed.
 3944 
 3945 	This patch ensures that --continue doesn't rename/remove existing
 3946 	and/or fully retrieved files (HTTP 416) which fail the sanity tests.
 3947 
 3948 2016-09-27  Matthew White  <mehw.is.me@inventati.org>
 3949 
 3950 	Bugfix: Fix NULL filename and output_stream in Metalink module
 3951 	* NEWS: Mention the Metalink "path/file" name format handling
 3952 	* src/metalink.c (retrieve_from_metalink): Fix NULL filename, set
 3953 	  filename to the right "path/file" value
 3954 	* src/metalink.c (retrieve_from_metalink): Fix NULL output_stream, set
 3955 	  output_stream to filename when it is created by retrieve_url()
 3956 	* src/metalink.c (retrieve_from_metalink): Add RFC5854 comments about
 3957 	  proper metalink:file "path/file" name format handling
 3958 	* doc/metalink.txt: Update document. Remove resolved bugs
 3959 
 3960 	If unique_create() cannot create/open the destination file, filename
 3961 	and output_stream remain NULL. If fopen() is used instead, filename
 3962 	always remains NULL. Both functions cannot create "path/file" trees.
 3963 
 3964 	Setting filename to the right value is sufficient to prevent SIGSEGV
 3965 	generating from testing a NULL value. This also allows retrieve_url()
 3966 	to create a "path/file" tree through opt.output_document.
 3967 
 3968 	Reading NULL as output_stream, when it shall not be, leads to wrong
 3969 	results. For instance, a non-NULL output_stream tells when a stream
 3970 	was interrupted, reading NULL instead means to assume the contrary.
 3971 
 3972 	This patch conforms to the RFC5854 specification:
 3973 	  The Metalink Download Description Format
 3974 	  4.1.2.1.  The "name" Attribute
 3975 	  https://tools.ietf.org/html/rfc5854#section-4.1.2.1
 3976 
 3977 2016-09-19  Matthew White  <mehw.is.me@inventati.org>
 3978 
 3979 	Add metalink description
 3980 	* doc/metalink.txt
 3981 
 3982 	Evaluation of "Directory Options" on the command line interacting with
 3983 	the option '--input-metalink=file':
 3984 
 3985 	$ wget --input-metalink=file <directory options>
 3986 
 3987 2016-09-19  Matthew White  <mehw.is.me@inventati.org>
 3988 
 3989 	Use python .replace instead than re.sub in Metalink tests
 3990 	* testenv/Test-metalink-http.py: Use python .replace
 3991 	* testenv/Test-metalink-xml.py: Use python .replace
 3992 	* testenv/Test-metalink-xml-abspath.py: Use python .replace
 3993 	* testenv/Test-metalink-xml-relpath.py: Use python .replace
 3994 
 3995 	Use python .replace instead than re.sub, remove 'import re'.
 3996 
 3997 2016-09-19  Matthew White  <mehw.is.me@inventati.org>
 3998 
 3999 	Fix: Change Metalink/XML v3 file name into test.metalink
 4000 	* testenv/Test-metalink-xml-abspath.py: Change Metalink/XML v3 file
 4001 	  name from test.meta4 into test.metalink
 4002 	* testenv/Test-metalink-xml-relpath.py: Change Metalink/XML v3 file
 4003 	  name from test.meta4 into test.metalink
 4004 	* testenv/Test-metalink-xml.py: Change Metalink/XML v3 file name from
 4005 	  test.meta4 into test.metalink
 4006 
 4007 2016-09-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 4008 
 4009 	Add two Metalink/XML tests
 4010 	* testenv/Test-metalink-xml-abspath.py: Reject absolute paths
 4011 	* testenv/Test-metalink-xml-relpath.py: Reject relative paths
 4012 	* testenv/Makefile.am: Add both new files to metalink tests
 4013 
 4014 2016-09-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 4015 
 4016 	Fix crash on 'srcset' inline URIs
 4017 	* src/html-url.c (tag_handle_img): Check append_url() for NULL
 4018 	  return value before dereference.
 4019 
 4020 	Crashed reproducable with parsing srcset="data:..." inline data.
 4021 	Reported-by: Coverity
 4022 
 4023 2016-09-09  Tim Rühsen  <tim.ruehsen@gmx.de>
 4024 
 4025 	* src/hsts.c (hsts_store_open): NULL check param for fclose().
 4026 	Reported-by: Coverity
 4027 
 4028 	* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memset params
 4029 
 4030 	* src/utils.c (stable_sort): Use xmalloc instead of malloc
 4031 
 4032 2016-09-08  Tim Rühsen  <tim.ruehsen@gmx.de>
 4033 
 4034 	* src/ftp-ls.c (ftp_parse_winnt_ls): Initialize struct fileinfo cur
 4035 	Reported-by: Coverity
 4036 
 4037 	Add const to url param of some functions
 4038 	* src/http.c: Add const to first param of initialize_request(),
 4039 	  initialize_proxy_configuration(), establish_connection(),
 4040 	  check_file_output(), check_auth(), gethttp(), http_loop().
 4041 	* src/http.h: Add const to first param of http_loop().
 4042 
 4043 	* Makefile.am: Remove trailing empty line
 4044 
 4045 	* src/recur.c (retrieve_tree): Fix possible NULL dereference
 4046 	Reported-by: Coverity
 4047 
 4048 	* src/http.c (initialize_request): Fix check for user
 4049 	Reported-by: Coverity
 4050 
 4051 	* src/retr.c (retrieve_url): NULL check mynewloc
 4052 	Reported-by: Coverity
 4053 
 4054 	* src/utils.c (stable_sort): Reduce tmp allocation size
 4055 	Reported-by: Coverity
 4056 
 4057 	* Makefile.am: Add target 'check-valgrind'
 4058 
 4059 	Fix some issues detected by Coverity
 4060 	* src/connect.c (connect_to_ip): Check return value of setsockopt.
 4061 	* src/ftp.c (ftp_retrieve_list): Check return value of chmod.
 4062 	* src/http.c (digest_authentication_encode): Cleanup code.
 4063 	* src/init.c (setval_internal): Explicitely check comind range.
 4064 	* src/main.c (main): Explicitely check optarg.
 4065 	* src/retr.c (retr_rate): Use snprintf instead sprintf,
 4066 	  (retrieve_from_file): More verbose error message,
 4067 	  (rotate_backups): Use snprintf instead sprintf, check return
 4068 	  value of rename().
 4069 	* src/url.c (mkalldirs): Check return value of unlink().
 4070 	* src/utils.c (strdupdelim): Explicitely check beg and end for NULL,
 4071 	  (merge_vecs): Fix sizeof argument to char *,
 4072 	  (stable_sort): Use malloc instead of alloca.
 4073 
 4074 	Code cleanup for --use-askpass
 4075 	* bootstrap.conf: Add xmemdup0 and strpbrk.
 4076 	* src/init.c (cmd_use_askpass): Add 'const' to char *,
 4077 	  remove check for file existence.
 4078 	* src/main.c (run_use_askpass): C89 compat init of argv,
 4079 	  added \n to error messages,
 4080 	  fixed stripping of \n and \r from input,
 4081 	  make run_use_askpass and use_askpass static.
 4082 
 4083 2016-09-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 4084 
 4085 	* src/http.c (check_file_output): Replace asprintf by aprint
 4086 
 4087 2016-09-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 4088 
 4089 	* testenv/README: Remove obsolete references to TEST_NAME
 4090 
 4091 2016-09-03  Liam R. Howlett  <Liam.Howlett@WindRiver.com>
 4092 
 4093 	Add --use-askpass=COMMAND support
 4094 	* doc/wget.texi: Add --use-askpass to documentation.
 4095 	* src/init.c: Add cmd_use_askpasss to set opt.use_askpass based on
 4096 	argument, WGET_ASKPASS, and SSH_ASKPASS environment variables.
 4097 	opt.wget-askpass is freed in cleanup ()
 4098 	* src/main.c: Update options & add spawn process of opt.use_askpass
 4099 	command.
 4100 	* src/options.h: Addition of string use_askpass.
 4101 	* src/url.c: Function scheme_leading_string to access the leading
 4102 	string of a parsed url.
 4103 	* src/url.h: Prototype for scheme_leading_string for returning the
 4104 	leading string.
 4105 	* bootstrap.conf: Add posix_spawn to gnulib_modules
 4106 
 4107 	This adds the --use-askpass option which is disabled by default.
 4108 
 4109 	--use-askpass=COMMAND will request the username and password for a given
 4110 	URL by executing the external program COMMAND.  If COMMAND is left
 4111 	blank, then the external program in the environment variable
 4112 	WGET_ASKPASS will be used.  If WGET_ASKPASS is not set then the
 4113 	environment variable SSH_ASKPASS is used.  If there is no value set, an
 4114 	error is returned.  If an error occurs requesting the username or
 4115 	password, wget will exit.
 4116 
 4117 2016-09-02  Dale R. Worley  <worley@ariadne.com>
 4118 
 4119 	Add tests for recursion and redirection.
 4120 	    * testenv/Test-recursive-basic.py: New file. Test basic recursion
 4121 	    * testenv/Test-recursive-include.py: New File. Recursion test with
 4122 	    include directories
 4123 	    * testenv/Test-redirect.py: New File. Basic redirection tests
 4124 	    * testenv/Makefile.am: Add new tests to makefile
 4125 
 4126 	Sort test names into order.
 4127 	    * testenv/Makefile.am: Sort all the python tests in alphabetical
 4128 	    order
 4129 
 4130 	Corrections and amplifications to test documentation
 4131 	    * testenv/README: Update documentation to meet current project
 4132 	    status
 4133 	    * testenv/Test-Proto.py: Same
 4134 
 4135 2016-08-24  Giuseppe Scrivano  <gscrivan@redhat.com>
 4136 
 4137 	Append .tmp to temporary files
 4138 	* src/http.c (struct http_stat): Add `temporary` flag.
 4139 	(check_file_output): Append .tmp to temporary files.
 4140 	(open_output_stream): Refactor condition to use hs->temporary instead.
 4141 
 4142 	Reported-by: "Misra, Deapesh" <dmisra@verisign.com>
 4143 	Discovered by: Dawid Golunski (http://legalhackers.com)
 4144 
 4145 2016-08-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 4146 
 4147 	Limit file mode to u=rw on temp. downloaded files
 4148 	* bootstrap.conf: Add gnulib modules fopen, open.
 4149 	* src/http.c (open_output_stream): Limit file mode to u=rw
 4150 	on temporary downloaded files.
 4151 
 4152 	Reported-by: "Misra, Deapesh" <dmisra@verisign.com>
 4153 	Discovered by: Dawid Golunski (http://legalhackers.com)
 4154 
 4155 2016-08-21  Giuseppe Scrivano  <gscrivan@redhat.com>
 4156 
 4157 	Fix some make syntax-check issues
 4158 	cfg.mk: Skip .der files.
 4159 	testenv/certs/server-template.cfg: Remove empty final line.
 4160 	testenv/certs/ca-template.cfg: Likewise.
 4161 
 4162 2016-08-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4163 
 4164 	* src/css-url.c (get_urls_css): Fix memory leak
 4165 
 4166 	* src/html-url.c (get_urls_html): Fix memory leak
 4167 
 4168 2016-08-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4169 
 4170 	Improve PSL cookie checking
 4171 	* configure.ac: Add --with-psl-file to set a PSL file
 4172 	* src/cookies.c (check_domain_match): Load PSL_FILE with
 4173 	  fallback to built-in data.
 4174 
 4175 	This change allows package maintainers to make Wget use the latest
 4176 	PSL (DAFSA or plain text), without updating libpsl itself.
 4177 
 4178 	E.g. Debian now comes with a DAFSA binary within the 'publicsuffix'
 4179 	package which allows very fast loading (no parsing or processing needed).
 4180 
 4181 2016-08-10  Tobias Stoeckmann  <tobias@stoeckmann.org>
 4182 
 4183 	Fix stack overflow with way too many cookies
 4184 	* src/cookies.c (cookie_header): Use heap instead of stack.
 4185 	* src/http.c (request_send): Likewise.
 4186 
 4187 	If wget has to handle an insanely large amount of cookies (~700,000 on
 4188 	32 bit systems or ~530,000 on 64 bit systems), the stack is not large
 4189 	enough to hold these pointers, leading to undefined behaviour according
 4190 	to POSIX; expect a segmentation fault in real life. ;)
 4191 
 4192 2016-08-09  Tobias Stoeckmann  <tobias@stoeckmann.org>
 4193 
 4194 	Fix signal race condition
 4195 	The signal handler for SIGALRM calls longjmp, but the handler is
 4196 	installed before the jump target has been initialized. If another
 4197 	process sends SIGALRM right between handler installation and target
 4198 	initialization, the jump leads to undefined behavior.
 4199 
 4200 	This can easily be fixed by moving the signal handler installation
 4201 	into the "SETJMP == 0" conditional block, which means that the target
 4202 	has just been initialized.
 4203 
 4204 	* src/utils.c: call signal after SETJMP.
 4205 
 4206 2016-08-05  Jeffery To  <jeffery.to@gmail.com>
 4207 
 4208 	Remove hyphens from command names
 4209 	* src/init.c: Remove hyphens from command names
 4210 	* src/main.c: Likewise
 4211 
 4212 	Options with hyphens (or underscores) in their command name cannot be
 4213 	set in a wgetrc file.
 4214 
 4215 2016-08-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 4216 
 4217 	* src/metalink.c (badhash_suffix): Fix quoting
 4218 
 4219 2016-08-04  Matthew White  <mehw.is.me@inventati.org>
 4220 
 4221 	Add new option --keep-badhash to keep Metalink's files with a bad hash
 4222 	* src/init.c: Add keepbadhash
 4223 	* src/main.c: Add keep-badhash
 4224 	* src/options.h: Add keep_badhash
 4225 	* doc/wget.texi: Add docs for --keep-badhash
 4226 	* src/metalink.h: Add prototypes badhash_suffix(), badhash_or_remove()
 4227 	* src/metalink.c: New functions badhash_suffix(), badhash_or_remove().
 4228 	  (retrieve_from_metalink): Call badhash_or_remove() on download error
 4229 
 4230 	With --keep-badhash, append .badhash to Metalink's files with checksum
 4231 	mismatch. (retrieve_from_metalink): unique_create() may append another
 4232 	suffix to avoid overwriting existing files.
 4233 
 4234 	Without --keep-badhash, remove downloaded files with checksum mismatch
 4235 	(this conforms to the old behaviour).
 4236 
 4237 2016-08-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 4238 
 4239 	* src/metalink.c: Remove C++ style comments
 4240 
 4241 2016-08-03  Matthew White  <mehw.is.me@inventati.org>
 4242 
 4243 	Add gnulib modules 'link', 'unlink' and 'symlink'
 4244 	* bootstrap.conf: Add 'link', 'unlink' and 'symlink'
 4245 
 4246 2016-08-03  Matthew White  <mehw.is.me@inventati.org>
 4247 
 4248 	New: --continue continues partially downloaded Metalink's files
 4249 	* src/metalink.c (retrieve_from_metalink): Continue file download if
 4250 	  opt.always_rest is true
 4251 
 4252 	Without --continue, download as a new file with an unique name (this
 4253 	conforms to the old behaviour).
 4254 
 4255 2016-08-03  Matthew White  <mehw.is.me@inventati.org>
 4256 
 4257 	Add support for Metalink's md2, and md4 hashes
 4258 	* bootstrap.conf: Add crypto/md2, and crypto/md4
 4259 	* src/metalink.c (retrieve_from_metalink): Add md2, and md4 support
 4260 
 4261 	This patch adds support for the deprecated (insecure) md2, and md4
 4262 	Message-Digest algorithms to the Metalink module.
 4263 
 4264 2016-08-03  Matthew White  <mehw.is.me@inventati.org>
 4265 
 4266 	Add support for Metalink's md5, sha1, sha224, sha384, and sha512 hashes
 4267 	* bootstrap.conf: Add crypto/sha512
 4268 	* src/metalink.c (retrieve_from_metalink): Add md5, sha1, sha224,
 4269 	  sha384, and sha512 support
 4270 
 4271 	Metalink's checksum verification was limited to sha256. This patch
 4272 	adds support for md5, sha1, sha224, sha384, and sha512.
 4273 
 4274 2016-07-27  Sean Burford  <sburford@google.com>
 4275 
 4276 	Style fixes and DEBUG on setxattr failure.
 4277 	* src/ftp.c: Fix style.
 4278 	* src/http.c: Likewise.
 4279 	* src/xattr.h: Likewise.
 4280 	* src/xattr.c: Likewise,
 4281 	  (write_xattr_metadata): Print debug msg on error.
 4282 
 4283 2016-07-22  Sean Burford  <sburford@google.com>
 4284 
 4285 	Keep fetched URLs in POSIX extended attributes
 4286 	* configure.ac: Check for xattr availability
 4287 	* src/Makefile.am: Add xattr.c
 4288 	* src/ftp.c: Include xattr.h.
 4289 	  (getftp): Set attributes if enabled.
 4290 	* src/http.c: Include xattr.h.
 4291 	  (gethttp): Add parameter 'original_url',
 4292 	  set attributes if enabled.
 4293 	  (http_loop): Add 'original_url' to call of gethttp().
 4294 	* src/init.c: Add new option --xattr.
 4295 	* src/main.c: Add new option --xattr, add description to help text.
 4296 	* src/options.h: Add new config member 'enable_xattr'.
 4297 	* src/xatrr.c: New file.
 4298 	* src/xattr.h: New file.
 4299 
 4300 	These attributes provide a lightweight method of later determining
 4301 	where a file was downloaded from.
 4302 
 4303 	This patch changes:
 4304 	*   autoconf detects whether extended attributes are available and
 4305 	    enables the code if they are.
 4306 	*   The new flags --xattr and --no-xattr control whether xattr is enabled.
 4307 	*   The new command "xattr = (on|off)" can be used in ~/.wgetrc or /etc/wgetrc
 4308 	*   The original and redirected URLs are recorded as shown below.
 4309 	*   This works for both single fetches and recursive mode.
 4310 
 4311 	The attributes that are set are:
 4312 	user.xdg.origin.url: The URL that the content was fetched from.
 4313 	user.xdg.referrer.url: The URL that was originally requested.
 4314 
 4315 	Here is an example, where http://archive.org redirects to https://archive.org:
 4316 	$ wget --xattr http://archive.org
 4317 	...
 4318 	$ getfattr -d index.html
 4319 	user.xdg.origin.url="https://archive.org/"
 4320 	user.xdg.referrer.url="http://archive.org/"
 4321 
 4322 	These attributes were chosen based on those stored by Google Chrome
 4323 	https://bugs.chromium.org/p/chromium/issues/detail?id=45903
 4324 	and curl https://github.com/curl/curl/blob/master/src/tool_xattr.c
 4325 
 4326 2016-07-02  Noël Köthe  <noel@debian.org>
 4327 
 4328 	Fix typos
 4329 	* ChangeLog-2014-12-10: invokation -> invocation
 4330 	* doc/wget.texi: invokation -> invocation
 4331 	* src/main.c: seperated -> separated
 4332 	* src/options.h: seperated -> separated
 4333 	* testenv/README: invokation -> invocation
 4334 	* testenv/conf/wget_commands.py: invokation -> invocation
 4335 
 4336 2016-06-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 4337 
 4338 	Fix creating docs when make uses 'sh -e'
 4339 	* doc/Makefile.am: Save fallback for pod2man --utf8
 4340 
 4341 	Reported-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
 4342 
 4343 2016-06-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 4344 
 4345 	Fix compilation for OpenSSL 1.1.0
 4346 	* src/openssl.c (ssl_init): Use SSL_is_init_finished() instead of
 4347 	  SSL_state(), conditionally skip SSLeay function calls
 4348 
 4349 	The python test suite makes SSL_peek() hang, consuming 100% CPU time.
 4350 	This does not happen on real world TLS connections, though, but needs
 4351 	investigations.
 4352 
 4353 2016-06-29  Tim Rühsen  <tim.ruehsen@gmx.de>
 4354 
 4355 	Add script to generate test certs non-interactive
 4356 	* Test-pinnedpubkey-hash-https.py: Read hashed pubkey from file
 4357 	* Test-pinnedpubkey-hash-no-check-fail-https.py: Use invalid hash
 4358 	* certs/make_ca.sh: New script to generate test certs non-interactive
 4359 	* certs/ca-template.cfg: New file (template for CA cert)
 4360 	* certs/server-template.cfg: New file (template for server cert)
 4361 	* certs/server-pubkey-sha256.base64: New file (pubkey sha256 hash)
 4362 
 4363 2016-06-27  Ander Juaristi  <ajuaristi@gmx.es>
 4364 
 4365 	Bypass world-writable checks on Windows
 4366 	 * src/hsts.c (hsts_file_access_valid): we should check for "world-writable"
 4367 	   files only on Unix-based systems. It's difficult to mimic the same behavior
 4368 	   on Windows, so it's better to just not do it.
 4369 
 4370 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 4371 	Reported-by: Eli Zaretskii <eliz@gnu.org>
 4372 
 4373 2016-06-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 4374 
 4375 	Update gnulib and bootstrap
 4376 	* gnulib: Sync gnulib submodule with upstream
 4377 	* bootstrap: Update to latest version from gnulib/build-aux/
 4378 
 4379 2016-06-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 4380 
 4381 	Use ICONV_CONST to avoid type warning for iconv()
 4382 	* src/iri.c (do_conversion): Cast 2. param of iconv() to
 4383 	 'ICONV_CONST char **'
 4384 	* src/url.c (convert_fname): Likewise
 4385 
 4386 	Remove check for HAVE_ICONV in src/url.c
 4387 	* src/url.c: Remove check for HAVE_ICONV
 4388 
 4389 	Add gnulib module 'langinfo'
 4390 	* bootstrap.conf: Add 'langinfo'
 4391 
 4392 	Include gnulib fcntl.h instead of sys/fcntl.h
 4393 	* src/gnutls.c: Include gnulib fcntl.h
 4394 
 4395 	Add libraries to LDADD for wget
 4396 	* src/Makefile.am: Add $(GETADDRINFO_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB)
 4397 	 $(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_CRYPTO) $(LIB_SELECT)
 4398 	 $(LTLIBICONV) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) to LDADD
 4399 
 4400 2016-06-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 4401 
 4402 	Explicitely mention Python3 in README.checkout
 4403 	* README.checkout: Python test suite needs Python3
 4404 
 4405 2016-06-09  Giuseppe Scrivano  <gscrivan@redhat.com>
 4406 
 4407 	NEWS: update
 4408 
 4409 2016-06-09  Giuseppe Scrivano  <gscrivan@redhat.com>
 4410 
 4411 	ftp: understand --trust-server-names on a HTTP->FTP redirect
 4412 	If not --trust-server-names is used, FTP will also get the destination
 4413 	file name from the original url specified by the user instead of the
 4414 	redirected url.  Closes CVE-2016-4971.
 4415 
 4416 	* src/ftp.c (ftp_get_listing): Add argument original_url.
 4417 	(getftp): Likewise.
 4418 	(ftp_loop_internal): Likewise.  Use original_url to generate the
 4419 	file name if --trust-server-names is not provided.
 4420 	(ftp_retrieve_glob): Likewise.
 4421 	(ftp_loop): Likewise.
 4422 
 4423 2016-06-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 4424 
 4425 	Fix warnings for --disable-iri configure flag
 4426 	* src/iri.h: Fix #define for parse_charset
 4427 	* src/html-url.c: Surround some IRI code parts by #ifdef ENABLE_IRI
 4428 	* src/http.c: Likewise
 4429 	* src/iri.h: Likewise
 4430 	* src/recur.c: Likewise
 4431 	* src/retr.c: Likewise
 4432 
 4433 	Fix warning about redefinition of MAP_FAILED
 4434 	* src/sysdep.h: Removed definition of MAP_FAILED
 4435 	* src/utils.c: Check and define MAP_FAILED after including sys/mmap.h
 4436 
 4437 2016-06-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 4438 
 4439 	Add new Test for missing scheme behavior
 4440 	* testenv/Makefile.am: Add Test-missing-scheme-retval.py
 4441 	* testenv: New file Test-missing-scheme-retval.py
 4442 
 4443 	Idea and Perl implementation by Zdenek Dohnal <zdohnal@redhat.com>
 4444 
 4445 2016-05-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 4446 
 4447 	Fallback to pod2man without utf-8 on error
 4448 	* doc/Makefile.am: Fallback to pod2man without utf-8 on error
 4449 
 4450 2016-05-26  Ander Juaristi  <ajuaristi@gmx.es>
 4451 
 4452 	Correct HSTS debug message
 4453 	 * src/main.c (save_hsts): save the in-memory HSTS database to a file
 4454 	   only if something changed.
 4455 	 * src/hsts.c (struct hsts_store): new field 'changed'.
 4456 	   (hsts_match): update field 'changed' accordingly.
 4457 	   (hsts_store_entry): update field 'changed' accordingly.
 4458 	   (hsts_store_has_changed): new function.
 4459 	 * src/hsts.h (hsts_store_has_changed): new function.
 4460 
 4461 	Check the HSTS file is not world-writable
 4462 	 * hsts.c (hsts_file_access_valid): check that the file is a regular
 4463 	   file, and that it's not world-writable.
 4464 	   (hsts_store_open): if the HSTS database file does not meet the
 4465 	   above requirements, disable HSTS at all.
 4466 
 4467 2016-05-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 4468 
 4469 	Improve description of Perl libraries needed for test suite
 4470 	* README.checkout: Improve text about Perl libraries
 4471 
 4472 2016-05-23  Tim Rühsen  <tim.ruehsen@gmx.de>
 4473 
 4474 	Remove special handling for Emacs in progress bar code
 4475 	* src/progress.c: Remove special 'emacs' code
 4476 
 4477 	Fixes #47989
 4478 
 4479 2016-04-25  Jernej Simončič  <jernej|s-wget@eternallybored.org>
 4480 
 4481 	Fix xsleep() for Windows (trivial change)
 4482 	* src/mswindows.c (xsleep): Fix check for number of seconds
 4483 
 4484 2016-04-17  Sergio Gelato  <sergio.gelato@astro.su.se>
 4485 
 4486 	More accurate log message from do_conversion()
 4487 	* src/iri.c (do_conversion): More accurate log message
 4488 
 4489 2016-04-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4490 
 4491 	Include sys/select.h if HAVE_LIBCARES
 4492 	* src/hosts.c: Include sys/select.h if HAVE_LIBCARES
 4493 
 4494 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 4495 
 4496 2016-04-17  Gisle Vanem  <gvanem@yahoo.no>
 4497 
 4498 	Fix Windows gnulib/c-ares incompatibility of select()
 4499 	* src/host.c: Undef 'select' on Windows
 4500 
 4501 2016-04-15  Tim Rühsen  <tim.ruehsen@gmx.de>
 4502 
 4503 	Set X flags for python tests
 4504 	* testenv/*.py: Set eXecute flags
 4505 
 4506 	Regression from commit 926e42d4678689195a0bbed210c6d027db7cc390
 4507 
 4508 2016-04-11  Ander Juaristi  <ajuaristi@gmx.es>
 4509 
 4510 	Strictly comply with RFC 6797
 4511 	 * src/hsts.c (hsts_store_entry): strictly comply with RFC 6797.
 4512 
 4513 	RFC 6797 states in section 8.1 that the UA's cached information should
 4514 	only be updated if:
 4515 
 4516 	    "either or both of the max-age and includeSubDomains header field
 4517 	    value tokens are conveying information different than that already
 4518 	    maintained by the UA."
 4519 
 4520 2016-04-11  Ander Juaristi  <ajuaristi@gmx.es>
 4521 
 4522 	Correct HSTS database file description
 4523 	 * src/hsts.c (hsts_store_dump): s/[:port]/<port>/
 4524 
 4525 2016-04-11  moparisthebest  <admin@moparisthebest.com>
 4526 
 4527 	Implement tests for new pinnedpubkey option
 4528 	* testenv/Makefile.am: Add new tests
 4529 	* testenv/Test-pinnedpubkey-der-https.py: New test
 4530 	* testenv/Test-pinnedpubkey-der-no-check-https.py: New Test
 4531 	* testenv/Test-pinnedpubkey-hash-https.py: New test
 4532 	* testenv/Test-pinnedpubkey-hash-no-check-fail-https.py: New test
 4533 	* testenv/Test-pinnedpubkey-pem-fail-https.py: New test
 4534 	* testenv/Test-pinnedpubkey-pem-https.py: New test
 4535 	* testenv/certs/README: How to generate public keys with openssl tool
 4536 	* testenv/certs/server-pubkey.der: New key file (DER format)
 4537 	* testenv/certs/server-pubkey.pem: New key file (PEM format)
 4538 
 4539 	Implement --pinnedpubkey option to pin public keys
 4540 	* doc/wget.texi: Add description for --pinnedpubkey
 4541 	* src/gnutls.c: New function pkp_pin_peer_pubkey(),
 4542 	  (ssl_check_certificate): Check pinned cert via pkp_pin_peer_pubkey()
 4543 	* src/init.c: Add option --pinnedpubkey
 4544 	* src/main.c: Add option --pinnedpubkey
 4545 	* src/openssl.c: New function pkp_pin_peer_pubkey(),
 4546 	  (ssl_check_certificate): Check pinned cert via pkp_pin_peer_pubkey()
 4547 	* src/options.h: Add new option variable 'pinnedpubkey'
 4548 	* src/utils.c: New functions wg_pubkey_pem_to_der(), wg_pin_peer_pubkey()
 4549 	* src/utils.h: Add prototype for wg_pin_peer_pubkey()
 4550 
 4551 2016-04-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 4552 
 4553 	Use test file name for temp working directory name
 4554 	* testenv/test/base_test.py (__init__): Use test file name for name,
 4555 	  remove 'name' parameter
 4556 	* testenv/test/http_test.py (__init__): Remove 'name' parameter
 4557 	* testenv/*.py: Remove TEST_NAME
 4558 
 4559 	Using a fixed string (TEST_NAME) to build the working directory
 4560 	for testing caused random failures (or successes) when tests
 4561 	share the same TEST_NAME value. Not easy to find without digging
 4562 	into the python test suite code.
 4563 	We now use the test file name, which is unique within the test
 4564 	environment.
 4565 
 4566 2016-04-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 4567 
 4568 	Fix testenv/Test--rejected-log.py
 4569 	* testenv/Test--rejected-log.py: Add missing tabs in expected output
 4570 
 4571 	Fail python tests when post_hook errors
 4572 	* testenv/test/base_test.py (__exit__): Return self.tests_passed
 4573 	  (__test_cleanup): Set self.tests_passed to False on exception
 4574 
 4575 2016-03-29  Darshit Shah  <darnir@gmail.com>
 4576 
 4577 	Print the fingerprint instead of the raw pointer in debugging message
 4578 	* src/metalink.c (retrieve_from_metalink): Fix debug message to print the
 4579 	fingerprint instead of a pointer.
 4580 
 4581 	* Do not delete the ChangeLog file since it is required by the Makefile
 4582 	and breaks compilation
 4583 
 4584 2016-03-29  Darshit Shah  <darnir@gmail.com>
 4585 
 4586 	Revert "Print the fingerprint instead of the raw pointer in debugging message"
 4587 	This reverts commit b916595168b6eb0f8868a67a9d214d5e0022871f.
 4588 
 4589 2016-03-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 4590 
 4591 	Fixed URLs and references in wget.texi
 4592 	* wget.texi: Replace server.com by example.com,
 4593 	  replace ftp://wuarchive.wustl.edu by https://example.com,
 4594 	  use HTTPS instead of HTTP where possible,
 4595 	  fix list archive reference,
 4596 	  remove reference to wget-notify@addictivecode.org,
 4597 	  change bugtracker URL to bugtracker on Savannah,
 4598 	  replace yoyodyne.com by example.com,
 4599 	  fix URL to VMS port
 4600 
 4601 2016-03-25  Giuseppe Scrivano  <gscrivan@redhat.com>
 4602 
 4603 	* metalink.c (retrieve_from_metalink): Fix typo
 4604 
 4605 	Print the fingerprint instead of the raw pointer in debugging message
 4606 	* src/metalink.c (retrieve_from_metalink): Fix debug message to print the
 4607 	fingerprint instead of a pointer.
 4608 
 4609 2016-03-23  Tim Rühsen  <tim.ruehsen@gmx.de>
 4610 
 4611 	Add options --bind-dns-address and --dns-servers
 4612 	* README.checkout: Add description for libares
 4613 	* configure.ac: Add check for libares
 4614 	* doc/wget.texi: Add docs for the new options
 4615 	* src/build_info.c.in: Add +/-cares for --version output
 4616 	* src/host.c:
 4617 	  (merge_address_lists): New static function
 4618 	  (address_list_from_hostent): New static function
 4619 	  (wait_ares): New static function
 4620 	  (callback): New static function
 4621 	  (lookup_host): Add libares resolver code
 4622 	* src/init.c: Add new options,
 4623 	  (cleanup): Add cleanup code
 4624 	* src/main.c: Add global libares channel variable
 4625 	  (cmdline_option option_data): Add new options
 4626 	  (print_help): Add short descriptions
 4627 	  (main): Add libares init code
 4628 	* src/options.h (struct options): Add option members
 4629 
 4630 	The new options allow to specify alternative DNS servers and
 4631 	an alternate packet route for the resolver packets.
 4632 	Wget has to built with libares, enabled at configure time by
 4633 	./configure --with-cares.
 4634 
 4635 2016-03-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 4636 
 4637 	Fix SNI server names with trailing dot(s)
 4638 	* src/gnutls.c (ssl_connect_wget, ssl_check_certificate): Fix SNI server name
 4639 	* src/openssl.c (ssl_connect_wget, ssl_check_certificate): Fix SNI server name
 4640 
 4641 	Fixes #47408
 4642 
 4643 2016-03-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 4644 
 4645 	Fix links to original Robots Exclusion Standard
 4646 	* doc/wget.texi: Fix links
 4647 
 4648 2016-03-05  Darshit Shah  <darnir@gmail.com>
 4649 
 4650 	Fix assertion in Progress bar
 4651 	    * src/progress.c (create_image): Fix off-by-one error in assert()
 4652 	    statement for progress bar width.
 4653 	    Reported-By: Gisle Vanem <gvanem@yahoo.no>
 4654 
 4655 2016-03-03  Giuseppe Scrivano  <gscrivan@redhat.com>
 4656 
 4657 	src/url.c: fix make syntax-check
 4658 
 4659 2016-03-03  Maks Orlovich  <morlovich@google.com>
 4660 
 4661 	Parse <img srcset> attributes, they have image URLs.
 4662 	* src/convert.h: Add link_noquote_html_p to permit rewriting URLs deep
 4663 	                 inside attributes without adding extraneous quoting
 4664 	* src/convert.c (convert_links): Honor link_noquote_html_p
 4665 	* src/html_url.c (tag_handle_img): New function. Add srcset parsing.
 4666 
 4667 2016-03-01  Darshit Shah  <darnir@gmail.com>
 4668 
 4669 	Sanitize value sent to memset to prevent SEGFAULT
 4670 
 4671 2016-03-01  Darshit Shah  <darnir@reniac.com>
 4672 
 4673 	Update documentation about bahviour of -c
 4674 	    * docs/wget.texi: -c will restart download from scratch if server
 4675 	    does not support RANGE.
 4676 
 4677 	    Reported-By: David Chavez
 4678 	    http://stackoverflow.com/questions/30147332/unexpected-behavior-of-wget
 4679 
 4680 2016-02-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 4681 
 4682 	Fix writing WARC-Target-URI value
 4683 	src/warc.c: Add function warc_write_header_uri(),
 4684 	            Use it for creating WARC-Target-URI
 4685 
 4686 	Fixes #47281
 4687 
 4688 2016-02-13  Darshit Shah  <darnir@gmail.com>
 4689 
 4690 	Remove pointer to unused Mailing List
 4691 	    * MAILING-LISTS: Remove pointer to old, unused mailing list for bug
 4692 	    reports
 4693 
 4694 2016-02-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 4695 
 4696 	Retain value of errno in logprintf(), logputs() even better
 4697 	* src/log.c (logprintf,logputs): Save&Restore value of errno
 4698 
 4699 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 4700 
 4701 2016-02-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 4702 
 4703 	Retain value of errno in logprintf()
 4704 	* src/log.c (logprintf): Save&Restore value of errno
 4705 
 4706 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 4707 
 4708 2016-02-01  Tim Rühsen  <tim.ruehsen@gmx.de>
 4709 
 4710 	Set AM_SILENT_RULES to yes by default
 4711 	* configure.ac: Set AM_SILENT_RULES to yes by default
 4712 
 4713 2016-02-01  Ander Juaristi  <ajuaristi@gmx.es>
 4714 
 4715 	Enforce 'RejectHeader' rule in tests
 4716 	 * server/http/http_server.py (_Handler.RejectHeader): enforce
 4717 	   'RejectHeader' rule.
 4718 
 4719 2015-12-20  Tim Rühsen  <tim.ruehsen@gmx.de>
 4720 
 4721 	Fix Test-iri-forced-remote
 4722 	* tests/Test-iri-forced-remote.px: Fix encodings
 4723 
 4724 2015-12-18  Eli Zaretskii  <eliz@gnu.org>
 4725 
 4726 	Support non-ASCII URLs
 4727 	* src/url.c [HAVE_ICONV]: Include iconv.h and langinfo.h.
 4728 	(convert_fname): New function.
 4729 	[HAVE_ICONV]: Convert file name from remote encoding to local
 4730 	encoding.
 4731 	(url_file_name): Call convert_fname.
 4732 	(filechr_table): Don't consider bytes in 128..159 as control
 4733 	characters.
 4734 
 4735 	* tests/Test-ftp-iri.px: Fix the expected file name to match the
 4736 	new file-name recoding.  State the remote encoding explicitly on
 4737 	the Wget command line.
 4738 
 4739 	* NEWS: Mention the URI recoding when built with libiconv.
 4740 
 4741 2015-12-18  Giuseppe Scrivano  <gscrivan@redhat.com>
 4742 
 4743 	* NEWS: Prepare new development cycle
 4744 
 4745 2015-12-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4746 
 4747 	Cleanup code
 4748 	* src/iri.c (do_conversion): Code cleanup
 4749 
 4750 2015-12-17  Eli Zaretskii  <eliz@gnu.org>
 4751 
 4752 	Set URI encoding when redirected
 4753 	* src/retr.c (retrieve_url): Set URI on redirection
 4754 
 4755 2015-12-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4756 
 4757 	Remove requesting X/Open 5, POSIX 1995
 4758 	* src/sysdep.h: Remove #define _XOPEN_SOURCE 500
 4759 
 4760 2015-12-16  Eli Zaretskii  <eliz@gnu.org>
 4761 
 4762 	Avoid hanging on MS-Windows when invoked with --connect-timeout
 4763 	* src/connect.c (connect_to_ip) [WIN32]: Don't call fd_close if
 4764 	the connection timed out, to avoid hanging.
 4765 
 4766 2015-12-15  Tim Rühsen  <tim.ruehsen@gmx.de>
 4767 
 4768 	Fix iconv conversion
 4769 	* src/iri.c: Kick out the last converted character from iconv()
 4770 
 4771 	Thanks to Eli Zaretskii <eliz@gnu.org> for suggesting the fix.
 4772 	Reported-by: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
 4773 
 4774 2015-12-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 4775 
 4776 	Let Test-k survive on CygWin and Windows
 4777 	* tests/Test-k.px: Use --restrict-file-names for CygWin/Windows
 4778 	  filename requirements.
 4779 
 4780 2015-12-13  Ander Juaristi  <ajuaristi@gmx.es>
 4781 
 4782 	Fix leak in HSTS code
 4783 	* src/hsts.c (hsts_store_open): close fp if open.
 4784 
 4785 	Remove unused variable in ftp code
 4786 	* src/ftp.c (getftp): fix compiler warning for unused variable.
 4787 
 4788 2015-12-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 4789 
 4790 	Tag release 1.17.1
 4791 	* NEWS: Update.
 4792 	* gnulib: sync from upstream.
 4793 
 4794 2015-12-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 4795 
 4796 	Remove ABOUT-NLS from git
 4797 	* ABOUT-NLS: Remove from repository, it will be autogenerated.
 4798 	* .gitignore: Add ABOUT-NLS and build-aux/ar-lib
 4799 
 4800 2015-12-11  Jernej Simončič  <jernej|s-wget@eternallybored.org>
 4801 
 4802 	* src/metalink.c: Specify 'rb' as mode to open file
 4803 
 4804 2015-12-10  Ángel González  <keisial@gmail.com>
 4805 
 4806 	* doc/wget.texi: add hint for self-signed certificates
 4807 
 4808 2015-12-10  Ander Juaristi  <ajuaristi@gmx.es>
 4809 
 4810 	Fix Coverity issues
 4811 	 * src/ftp.c (getftp): on error, close the file and attempt to remove it
 4812 	   before exiting.
 4813 	 * src/hsts.c (hsts_store_open): update modification time in the end.
 4814 
 4815 2015-12-10  Darshit Shah  <darnir@gmail.com>
 4816 
 4817 	Faster Travis Builds
 4818 	* contrib/travis-ci: Test under different languages only when all the
 4819 	features are enabled. This covers the maximum number of strings. For the
 4820 	other option permutations, test only in the default C locale
 4821 
 4822 	Fix remaining bugs in progress bar implementation
 4823 	* src/progress.c (create_image): Ensure that the entire screen width is
 4824 	drawn everytime to prevent any artefacts from leaking through.
 4825 
 4826 2015-12-09  Darshit Shah  <darnir@gmail.com>
 4827 
 4828 	Add bug-wget to list of travis recipients
 4829 	* .travis.yml: Add bug-wget to list of Travis Report Recipients
 4830 
 4831 	Eliminate more compiler warnings
 4832 	* src/options.h (CHECK_CERT_MODES): Remove C99 style comma after last
 4833 	value
 4834 	* src/progress.c (create_image): Do not mix statements and declarations
 4835 	* src/init.c (cmd_boolean_internal): Mark unused parameters
 4836 
 4837 	Re-enable test on multibyte locale in Travis
 4838 	* .travis.yml: Use Russian locale instead of Japanese since it seems to
 4839 	be more complete
 4840 	* contrib/travis-ci: Re-enable testing on a Russian locale
 4841 
 4842 	Fix progress bar assertion with multibyte locales
 4843 	* src/progress.c (bar_create): Define size of progress buffer explicitly
 4844 	  (create_image): Clean up progress bar image creation. Use memset
 4845 	  instead of for loops to create arrays of the same byte.
 4846 
 4847 2015-12-06  Darshit Shah  <darnir@gmail.com>
 4848 
 4849 	Introduce Travis Integration
 4850 	* .travis.yml: Configuration file for Travis-CI
 4851 	* contrib/travis-ci: Script to run on travis. Similar to check-hard but modified
 4852 	  for travis.
 4853 	* tests/valgrind-suppressions{-ssl}: Add extra suppressions to prevent a
 4854 	Valgrind False Positive errors in an old version
 4855 
 4856 	Since Travis currently supports only public repositories on GitHub, the support
 4857 	for automated testing through Travis will be done using my Clone of Wget on
 4858 	GitHub at: https://github.com/darnir/wget.git
 4859 	Any commits pushed to this repository will trigger a build on Travis.
 4860 
 4861 2015-12-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 4862 
 4863 	SKIP SSL/TLS tests if configured without it
 4864 	* testenv/Makefile.am: Set SSL_TESTS env variable
 4865 	* testenv/Test--https-crl.py, testenv/Test--https.py,
 4866 	  testenv/Test-hsts.py: Return 77 (SKIP) if SSL/TLS is not configured
 4867 
 4868 2015-12-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 4869 
 4870 	Add Test-hsts.py to SSL_TESTS
 4871 	* testenv/Makefile.am: Add Test-hsts.py to SSL_TESTS
 4872 
 4873 2015-12-03  Ygal Blum  <ygal.blum@technicolor.com>
 4874 
 4875 	Fix compilation when without-ssl is selected
 4876 
 4877 2015-12-03  Darshit Shah  <darnir@gmail.com>
 4878 
 4879 	Include Metalink and GPG information in version
 4880 	* src/build_info.c.in: Include the presence of Metalink and GPGME features in
 4881 	the output for wget --version
 4882 
 4883 2015-12-03  Giuseppe Scrivano  <gscrivan@redhat.com>
 4884 
 4885 	Add --check-certificate=quiet
 4886 	* doc/wget.texi: Add documentation for  --check-certificate=quiet.
 4887 	* src/options.h (enum CHECK_CERT_MODES): New enum.
 4888 	* src/init.c (cmd_check_cert): New static function.
 4889 	(cmd_boolean_internal): Likewise.
 4890 	* src/gnutls.c (ssl_check_certificate): Handle CHECK_CERT_QUIET.
 4891 	* src/openssl.c (ssl_check_certificate): Handle CHECK_CERT_QUIET.
 4892 
 4893 2015-11-24  Tim Rühsen  <tim.ruehsen@gmx.de>
 4894 
 4895 	Fix regression in HTTP authentication
 4896 	* src/http.c (initialize_request): Fix wrong params to search_netrc()
 4897 
 4898 	Regression introduced in commit 29850e77
 4899 	Reported-by: Axel Reinhold <axel@freakout.de>
 4900 
 4901 2015-11-23  Tim Rühsen  <tim.ruehsen@gmx.de>
 4902 
 4903 	Fix SIGSEGV in -N / --content-disposition combination
 4904 	* src/http.c (http_loop): Fix SIGSEGV
 4905 
 4906 	Reported-by: "Schleusener, Jens" <Jens.Schleusener@t-online.de>
 4907 
 4908 2015-11-20  Ander Juaristi  <ajuaristi@gmx.es>
 4909 
 4910 	Fix potential NULL pointer dereference
 4911 	 * src/gnutls.c (ssl_connect_wget): check for NULL before calls
 4912 
 4913 2015-11-20  Giuseppe Scrivano  <gscrivan@redhat.com>
 4914 
 4915 	* configure.ac: change gettext version to 0.18.1
 4916 
 4917 2015-11-19  Ikey Doherty  <michael.i.doherty@intel.com>
 4918 
 4919 	configure.ac: Use correct gettext version
 4920 
 4921 2015-11-19  Tim Rühsen  <tim.ruehsen@openmediasystem.de>
 4922 
 4923 	Fix HSTS memory issue + test code issue
 4924 	* src/hsts.c (hsts_find_entry): Fix freeing memory
 4925 	  (hsts_remove_entry): Remove freeing host member
 4926 	  (hsts_match): Free host member here
 4927 	  (hsts_store_entry): Free host member here
 4928 	  (test_url_rewrite): Fix 'created' value
 4929 	  (test_hsts_read_database): Fix 'created' value
 4930 
 4931 	Reported-by: Dagobert Michelsen <dam@opencsw.org>
 4932 
 4933 2015-11-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 4934 
 4935 	Include errno.h instead of sys/errno.h (Solaris issue)
 4936 	* src/metalink.c: Include errno.h instead of sys/errno.h
 4937 
 4938 	Reported-by: Dagobert Michelsen <dam@opencsw.org>
 4939 
 4940 2015-11-17  Darshit Shah  <darnir@gmail.com>
 4941 
 4942 	Fix compile error when IPv6 is disabled
 4943 	* src/ftp-basic.c: The code for the new FTPS functionality was unintentionally
 4944 	inside a #ifdef IPV6 block. Move the code around so that it is defined even when
 4945 	IPV6 isn't used
 4946 
 4947 	Use gnulib module flock to provide function
 4948 	* bootstrap.conf: Use module flock from gnulib to provide it on other platforms
 4949 	such as Windows.
 4950 
 4951 2015-11-16  Darshit Shah  <darnir@gmail.com>
 4952 
 4953 	Eliminate NDEBUG redefined warnings
 4954 	* src/wget.h: Define NDEBUG only if it hasn't been defined before
 4955 
 4956 2015-11-15  Giuseppe Scrivano  <gscrivan@redhat.com>
 4957 
 4958 	NEWS: prepare new release cycle
 4959 
 4960 	Prepare release 1.17
 4961 	* gnulib: sync with upstream.
 4962 	* NEWS: Update.
 4963 	* src/main.c: Change the copyright year.
 4964 
 4965 2015-11-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 4966 
 4967 	Document combination of -nc and -O
 4968 	Fixes #46359
 4969 
 4970 2015-11-03  Tim Rühsen  <tim.ruehsen@gmx.de>
 4971 
 4972 	Do not download/save file on error when --spider enabled
 4973 	* src/http.c (gethttp,http_loop):
 4974 	  Do not download/save file on error when --spider is enabled and not
 4975 	  working recursive.
 4976 
 4977 	Reported-by: Сковорода Никита Андреевич chalkerx@gmail.com
 4978 	Fixes #45821
 4979 
 4980 2015-10-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 4981 
 4982 	Fix URL conversion for colons in filenames
 4983 	* src/convert.c (construct_relative): Prepend './' to filename
 4984 	* tests/Test-k.px: Amend test to succeed
 4985 
 4986 2015-10-15  Tim Rühsen  <tim.ruehsen@gmx.de>
 4987 
 4988 	Adjust indentation of --no-use-server-timestamps in help output
 4989 	* src/main.c: Adjust indentation of --no-use-server-timestamps
 4990 
 4991 2015-10-13  Ander Juaristi  <ajuaristi@gmx.es>
 4992 
 4993 	Added --convert-file-only option
 4994 	 * src/convert.c (convert_links_in_hashtable, convert_links):
 4995 	   test for CO_CONVERT_BASENAME_ONLY.
 4996 	   (convert_basename): new function.
 4997 	 * src/convert.h: new constant CO_CONVERT_BASENAME_ONLY.
 4998 	 * src/init.c, src/main.c, src/options.h: new option "--convert-file-only".
 4999 	 * doc/wget.texi: updated documentation.
 5000 
 5001 	 Reviewed-by: Gabriel Somlo <somlo@cmu.edu>
 5002 
 5003 2015-10-12  Darshit Shah  <darnir@gmail.com>
 5004 
 5005 	Fix Test-ftp-pasv-not-supported.px
 5006 	    * tests/Test-ftp-pasv-not-supported.px: We do *NOT* expect any
 5007 	    downloaded files. Also, do not negate the Test response.
 5008 
 5009 	    The test originally expected a downloaded file, but this is not
 5010 	    true. As a result, the test would fail and return exit code 1. This
 5011 	    was presumably the reason why the test result was negated before
 5012 	    returning to the shell. Fix this issue, so that the test runs
 5013 	    correctly without any hacks.
 5014 
 5015 2015-10-12  Darshit Shah  <darnir@gmail.com>
 5016 
 5017 	Fix make distcheck failures in Perl SSL Tests
 5018 	    * tests/Makefile.am: Add valgrind-suppressions-ssl to EXTRA_DIST
 5019 	    * tests/Test-proxied-https-auth-keepalive.px: Find valgrind in
 5020 	    correct path during make distcheck
 5021 	    * tests/Test-proxied-https-auth.px: Same
 5022 
 5023 2015-10-12  christian fafard  <cfaf@hotmail.com>
 5024 
 5025 	Skip HTTPS perl tests if IO::Socket::SSL not installed
 5026 	* tests/Test-proxied-https-auth-keepalive.px: Skip test if perl module
 5027 	  IO::Socket::SSL is not installed (trivial change).
 5028 	* tests/Test-proxied-https-auth.px: Skip test if perl module
 5029 	  IO::Socket::SSL is not installed (trivial change).
 5030 
 5031 2015-10-09  Ander Juaristi  <ajuaristi@gmx.es>
 5032 
 5033 	Fix potential race condition
 5034 	 * src/hsts.c (hsts_read_database): get an open file handle
 5035 	   instead of a file name.
 5036 	   (hsts_store_dump): get an open file handle
 5037 	   instead of a file name.
 5038 	   (hsts_store_open): open the file and pass the open file handle.
 5039 	   (hsts_store_save): lock the file before the read-merge-dump
 5040 	   process.
 5041 
 5042 	 Reported-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 5043 
 5044 2015-10-09  Ander Juaristi  <ajuaristi@gmx.es>
 5045 
 5046 	Fix HSTS merge bug
 5047 	 * src/hsts.c (hsts_store_merge): call hsts_new_entry() if the entry
 5048 	   does not exist in the database.
 5049 
 5050 	When merging the existing HSTS database on disk with the one on memory,
 5051 	the entries that were on disk but not on memory were ignored. Thus,
 5052 	only the existing entries were merged. This behavior was only triggered
 5053 	when more than one Wget processes were using the same HSTS database
 5054 	simultaneously. This commit fixes the bug by adding the new entries
 5055 	to the on-memory database if they were not found there.
 5056 
 5057 2015-09-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 5058 
 5059 	testenv/Test--rejected-log.py: Remove trailing white spaces
 5060 
 5061 2015-09-28  Tim Rühsen  <tim.ruehsen@gmx.de>
 5062 
 5063 	Handle TLS rehandshakes in GnuTLS code
 5064 	* src/gnutls.c: New static function _do_handshake()
 5065 	* src/gnutls.c (wgnutls_read_timeout): Handle rehandshake
 5066 	* src/gnutls.c (wgnutls_write): Handle rehandshake
 5067 	* src/gnutls.c (ssl_connect_wget): Move handshake code into _do_handshake()
 5068 
 5069 	Fixes #46061
 5070 
 5071 2015-09-22  Darshit Shah  <darnir@gmail.com>
 5072 
 5073 	Add tests for missing qop in digest auth
 5074 	    * testenv/test-auth-both.py: Add qop parameter for digest auth
 5075 	    * testenv/test-auth-digest.py: Same
 5076 	    * testenv/conf/authentication.py: Support additional parameters for
 5077 	    authentication
 5078 	    * testenv/servers/http/http_server.py: Same
 5079 
 5080 	Do not test for impossible qop value
 5081 	    * http.c (digest_authentication_encode): Wget already errors out if
 5082 	    qop != "auth". Then it makes no sense to test for qop == "auth-int"
 5083 	    later on. Currently, Wget does not support the "auth-int" qop value
 5084 	    and till nobidy requests, it may remain so.
 5085 
 5086 2015-09-22  Darshit Shah  <darnir@gmail.com>
 5087 
 5088 	Fix #46024. Support RFC 2069 Digest Authentication
 5089 	    * http.c (digest_authentication_encode): Some servers are still
 5090 	    using the obsolete RFC 2069 Digest Authentication. Allow Digest
 5091 	    authentication without the qop parameter for this.
 5092 
 5093 	    Reported-by: Andreas Longwitz  <longwitz@incore.de>
 5094 
 5095 2015-09-21  Darshit Shah  <darnir@gmail.com>
 5096 
 5097 	Revert "Disable progress bar when wget is backgrounded (trivial patch)"
 5098 	This reverts commit e6247325633d7d0007906f88d573a3bfa37307a7.
 5099 
 5100 2015-09-20  Giuseppe Scrivano  <gscrivan@redhat.com>
 5101 
 5102 	NEWS: cite FTPS support
 5103 
 5104 2015-09-14  Ander Juaristi  <ajuaristi@gmx.es>
 5105 
 5106 	Added support for FTPS
 5107 	 * doc/wget.texi: updated documentation to reflect the new FTPS functionality.
 5108 	 * src/ftp-basic.c (ftp_greeting): new function to read the server's greeting.
 5109 	   (ftp_login): greeting code was previously here. Moved to ftp_greeting to
 5110 	   support FTPS implicit mode.
 5111 	   (ftp_auth): wrapper around the AUTH TLS command.
 5112 	   (ftp_ccc): wrapper around the CCC command.
 5113 	   (ftp_pbsz): wrapper around the PBSZ command.
 5114 	   (ftp_prot): wraooer around the PROT command.
 5115 	 * src/ftp.c (get_ftp_greeting): new static function.
 5116 	   (init_control_ssl_connection): new static function to start SSL/TLS on the
 5117 	   control channel.
 5118 	   (getftp): added hooks to support FTPS commands (RFCs 2228 and 4217).
 5119 	   (ftp_loop_internal): test for new FTPS error codes.
 5120 	 * src/ftp.h: new enum 'prot_level' with available FTPS protection levels +
 5121 	   prototypes of previous functions. New flag for enum 'wget_ftp_fstatus' to track
 5122 	   whether the data channel has some security mechanism enabled or not.
 5123 	 * src/gnutls.c (struct wgnutls_transport_context): new field 'session_data'.
 5124 	   (wgnutls_close): free GnuTLS session data before exiting.
 5125 	   (ssl_connect_wget): save/resume SSL/TLS session.
 5126 	 * src/http.c (establish_connection): refactor ssl_connect_wget call.
 5127 	   (metalink_from_http): take into account SCHEME_FTPS as well.
 5128 	 * src/init.c, src/main.c, src/options.h: new command line/wgetrc options.
 5129 	   (main): in recursive downloads, check for SCHEME_FTPS as well.
 5130 	 * src/openssl.c (struct openssl_transport_context): new field 'sess'.
 5131 	   (ssl_connect_wget): save/resume SSL/TLS session.
 5132 	 * src/retr.c (retrieve_url): check new scheme SCHEME_FTPS.
 5133 	 * src/ssl.h (ssl_connect_wget): refactor. New parameter of type 'int *'.
 5134 	 * src/url.c. src/url.h: new scheme SCHEME_FTPS.
 5135 	 * src/wget.h: new FTPS error codes.
 5136 	 * src/metalink.h: support FTPS scheme.
 5137 
 5138 2015-09-10  Christian Neukirchen  <chneukirchen@gmail.com>
 5139 
 5140 	Disable progress bar when wget is backgrounded (trivial patch)
 5141 	* src/progress.c (create_image): progress only when in foreground
 5142 
 5143 	Sometimes I start wget, but the remote site is too slow, so I rather
 5144 	want to run it in background, however when I simply use job control
 5145 	for that, wget will keep spewing the progress bar all over my
 5146 	terminal.  I have found the SIGHUP/SIGUSR1 feature to redirect output
 5147 	to a log file, but I think the following small patch is even more
 5148 	useful, since the progress bar will simply resume when wget is
 5149 	foregrounded again (also, the final message is still printed to the
 5150 	terminal in any case):
 5151 
 5152 2015-09-04  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5153 
 5154 	Add information about libmetalink and GnuPG
 5155 	* README.checkout: Optional dependencies and URL references.
 5156 
 5157 2015-09-02  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5158 
 5159 	Do not free Metalink structure if not initialized
 5160 	* src/main.c (main): Move metalink_delete to the conditional block.
 5161 
 5162 2015-09-01  Ander Juaristi  <ajuaristi@gmx.es>
 5163 
 5164 	Updated HSTS documentation
 5165 	 * doc/wget.texi: updated HSTS documentation.
 5166 
 5167 	   Reported-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 5168 
 5169 2015-09-01  Ander Juaristi  <ajuaristi@gmx.es>
 5170 
 5171 	Extra debug traces for HSTS.
 5172 	 * src/main.c (load_hsts, save_hsts): added DEBUGP() calls to signal
 5173 	   reads and saves of the HSTS database file.
 5174 
 5175 2015-08-31  Darshit Shah  <darnir@gmail.com>
 5176 
 5177 	Fix coding style violation in last commit
 5178 	    * http.c (test_parse_range_header): Declare loop variable
 5179 	    explicitly. Not in gnu99 standard.
 5180 
 5181 2015-08-30  Darshit Shah  <darnir@gmail.com>
 5182 
 5183 	Add unit test for parse_content_range() method
 5184 	    * http.c (test_parse_range_header): New function to test the
 5185 	    function for parsing the HTTP/1.1 Content-Range header.
 5186 	    * test.[ch]: Same
 5187 	    * http.c (parse_content_range): Fix parsing code. Fail on scenarios
 5188 	    mentioned in rfc 7233.
 5189 
 5190 2015-08-30  Tim Rühsen  <tim.ruehsen@gmx.de>
 5191 
 5192 	Fix null pointer dereference
 5193 	* src/metalink.c (gpg_skip_verification):
 5194 	  Check output_stream before fclose
 5195 
 5196 	Fix leaks found by Coverity
 5197 	* src/http.c (parse_strict_transport_security): Free c_max_age
 5198 	             (open_output_stream): Fix indentation
 5199 	* src/iri.c (locale_to_utf8): Free new
 5200 
 5201 2015-08-29  Tim Rühsen  <tim.ruehsen@gmx.de>
 5202 
 5203 	Fix two leaks foudn by Coverity
 5204 	* src/http.c (gethttp): Do not leak 'message'.
 5205 	* src/main.c (format_and_print_line): Do not leak 'line_dup'.
 5206 
 5207 	Fix resource leak discovered by Coverity
 5208 	* src/retr.c (retrieve_url): Don't leak local_file.
 5209 
 5210 2015-08-29  Darshit Shah  <darnir@gmail.com>
 5211 
 5212 	Fix memory leaks in unit-test
 5213 	    * hsts.c (get_hsts_store_filename): Free the homedir value
 5214 	    (close_hsts_test_store): Actually free the store struct too
 5215 	    (test_hsts_new_entry): Pass store to close_hsts_test_store()
 5216 	    (test_hsts_url_rewrite_superdomain): Same
 5217 	    (test_hsts_url_rewrite_congruent): Same
 5218 	    (test_hsts_read_database): Same and homedir and store filename
 5219 	    * http.c (test_parse_content_disposition): Free the returned
 5220 	    filename
 5221 	    * url.c (test_append_uri_pathel): Free allocated string
 5222 
 5223 	Fix mixed-indentation in http.c
 5224 	    * http.c: Fix mix indentation. Visual change only.
 5225 
 5226 2015-08-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 5227 
 5228 	Suppress debug output when strings may contain password
 5229 	* iri.c (do_conversion): Do not print out converted strings if they
 5230 	  contain an '@'. That could be an URL with embedded password.
 5231 
 5232 	Fixes #45825
 5233 
 5234 2015-08-26  Ander Juaristi  <ajuaristi@gmx.es>
 5235 
 5236 	Fix resource leak.
 5237 	 * src/http.c (parse_strict_transport_security): Freed memory to avoid resource leak.
 5238 	   Comply with GNU coding style.
 5239 
 5240 2015-08-22  Tim Rühsen  <tim.ruehsen@gmx.de>
 5241 
 5242 	Fix typo in NEWS
 5243 	* NEWS: Change typo --accept-reject into --accept-regex
 5244 
 5245 	Reported-by: grarpamp <grarpamp@gmail.com>
 5246 
 5247 2015-08-21  Jookia  <166291@gmail.com>
 5248 
 5249 	Clarify that links are being converted.
 5250 	* src/convert.c: Add 'links in' after 'Converted %d' and 'Converting %s'.
 5251 
 5252 	Removed useless TODOs.
 5253 	 * testenv/Test--reject-log.py: Remove TODOs.
 5254 
 5255 2015-08-15  Miquel Llobet  <mllobet.cm@gmail.com>
 5256 
 5257 	Fixed #44516 -o- not logging to stdout
 5258 	src/log.c (log_init): check for hypen on filename, set stdout
 5259 
 5260 2015-08-15  Daniele Calore  <daniele.calore@tin.it>
 5261 
 5262 	Fix #40426: Allow -r -O- only if FILE is regular
 5263 	    * main.c: added check of "-r -O FILE" option combination
 5264 	    allow only if FILE is a regular file (bug #40426)
 5265 
 5266 2015-08-15  Darshit Shah  <darnir@gmail.com>
 5267 
 5268 	Fix var name conflicts with math.h and wingdi.h
 5269 	    * src/recur.c (reject_reason): Rename all enum members to WG_RR_xx.
 5270 	    * src/recur.c (retrieve_tree, download_child,
 5271 	    write_reject_log_reason): Same
 5272 
 5273 2015-08-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 5274 
 5275 	Let bootstrap/autoreconf work without GPGME installed
 5276 	* configure.ac: Check for existance of AM_PATH_GPGME
 5277 
 5278 2015-08-11  Tim Rühsen  <tim.ruehsen@gmx.de>
 5279 
 5280 	Fix IP address exposure in FTP code
 5281 	* src/ftp.c (getftp): Do not use PORT when PASV fails.
 5282 	* tests/FTPServer.px: Add pasv_not_supported server flag.
 5283 	* tests/Makefile.am: Add Test-ftp-pasv-not-supported.px
 5284 	* tests/Test-ftp-pasv-not-supported.px: New test
 5285 
 5286 	Fix IP address exposure when automatically falling back from
 5287 	passive mode to active mode (using the PORT command). A behavior that
 5288 	may be used to expose a client's privacy even when using a proxy.
 5289 
 5290 2015-08-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 5291 
 5292 	Fix C89 compliancy in HSTS test code
 5293 	* src/hsts.c (test_hsts_new_entry):
 5294 	  Move variable assignment before code
 5295 
 5296 	Fix C89 compliancy in latest code
 5297 	* src/recur.c: Declare variables before code
 5298 	  (write_reject_log_url):
 5299 	    Use const keyword where appropriate
 5300 	    Use the 'default' switch statement
 5301 	    Use xfree() instead of free()
 5302 	    Renamed variable f -> fp
 5303 	  (write_reject_log_reason):
 5304 	    Use const keyword where appropriate
 5305 	    Use the 'default' switch statement
 5306 	    Renamed variable f -> fp
 5307 	    Renamed variable r -> reason
 5308 
 5309 2015-08-07  Tim Rühsen  <tim.ruehsen@gmx.de>
 5310 
 5311 	Remove redundant definition of _GNU_SOURCE
 5312 	* src/warc.c: Remove definition of _GNU_SOURCE
 5313 
 5314 	_GNU_SOURCE is already defined in config.h
 5315 
 5316 2015-08-07  Giuseppe Scrivano  <gscrivan@redhat.com>
 5317 
 5318 	NEWS: update
 5319 
 5320 2015-08-07  Jookia  <166291@gmail.com>
 5321 
 5322 	Rewrite the --rejected-log test using the new framework.
 5323 	 * tests/Test--rejected-log.px: Remove old test.
 5324 	 * testenv/Test--rejected-log.py: Create new test.
 5325 
 5326 	Replace variables before comparing expected files.
 5327 	* expected_files.py: Use formatted_content instead of file.content.
 5328 
 5329 2015-08-06  Jookia  <166291@gmail.com>
 5330 
 5331 	Add option to write URL rejections to a tab-delimited CSV log.
 5332 	 * main.c: Add "--rejected-log" option.
 5333 	 * init.c: Add "rejectedlog" command.
 5334 	 * options.h: Add "rejected_log" parameter string.
 5335 	 * wget.texi: Add brief documentation on new --rejected-log option.
 5336 	 * recur.c: Optionally log details of URLs not traversed.
 5337 	   Add reject_reason enum.
 5338 	   (download_child_p -> download_child): Return a reject_reason.
 5339 	   (descend_redirect_p -> descend_redirect): Return a reject_reason.
 5340 	   (retrieve_tree): Support logging reasons for rejection.
 5341 	   Add write_reject_log_header that writes a CSV format header to a file.
 5342 	   Add write_reject_log_url that writes a url struct to a file in CSV format.
 5343 	   Add write_reject_log_reason that writes the URL and parent URL as well as the
 5344 	   rejection reason to a CSV file.
 5345 	 * Test--rejected-log.px: Add a basic test for the --rejected-log command.
 5346 	 * tests/Makefile.am: Run Test--rejected-log.px.
 5347 
 5348 	This allows you to figure out why URLs are being rejected and some context
 5349 	around it. CSV is used as the output format since it can be used easily parsed,
 5350 	it's delimited by tabs instead of commas to allow using all (quoted) URL
 5351 	characters and includes column names which may be used for compatibility.
 5352 
 5353 2015-08-04  Tim Rühsen  <tim.ruehsen@gmx.de>
 5354 
 5355 	Fix memory leak in HSTS code
 5356 	* src/main.c (get_hsts_database): Free 'home' variable
 5357 
 5358 	void uninitialized variable in metalink code
 5359 	* src/metalink.c: Init retr_err with METALINK_MISSING_RESOURCE
 5360 	* src/wget.h: Add enum METALINK_MISSING_RESOURCE
 5361 
 5362 2015-07-24  Darshit Shah  <darnir@gmail.com>
 5363 
 5364 	Fix function name collision with OpenSSL library
 5365 	    * src/utils.[ch], src/http.c, src/metalink.c: Rename function
 5366 	    hex_to_string() to wg_hex_to_string sine it collides with a
 5367 	    similarly named function in OpenSSL Library.
 5368 
 5369 	Fix configure options for metalink
 5370 	    * configure.ac: Ensure metalink support can be properly disabled
 5371 
 5372 2015-07-22  Alex Henrie  <alexhenrie24@gmail.com>
 5373 
 5374 	Make the filename marquee a proper marquee
 5375 	* src/progress.c: Start the marquee in the middle of the available space
 5376 	  and do not restart it until all of the text has scrolled out of view.
 5377 
 5378 2015-07-20  Giuseppe Scrivano  <gscrivan@redhat.com>
 5379 
 5380 	NEWS: cite HSTS
 5381 
 5382 	Fix metalink tests
 5383 	testenv/Test-metalink-http.py: initialize HTTP test server
 5384 	testenv/Test-metalink-xml.py: initialize HTTP test server
 5385 
 5386 2015-07-20  Ander Juaristi  <ajuaristi@gmx.es>
 5387 
 5388 	Enhancements in testsuite engine + new HSTS test.
 5389 	 * testenv/Makefile.am: added new test 'Test-hsts.py'.
 5390 	 * testenv/Test-hsts.py: new test for HSTS.
 5391 	 * testenv/conf/domains.py: new hook to override domain list.
 5392 	 * testenv/test/base_test.py: (__init__): new optional parameter
 5393 	   for tests 'req_protocols'.
 5394 	   (get_domain_addr): set the instance variables 'addr' and 'port'.
 5395 	   Return address as an array (domain, port) instead of string.
 5396 	   (gen_cmd_line): take into account domain and port.
 5397 	 * testenv/test/http_test.py (__init__): new optional parameter
 5398 	   'req_protocols'.
 5399 	   (setup): new function. Call to server_setup() decoupled from
 5400 	   begin() and moved here.
 5401 	   (begin): call to superclass to maintain backward compatibility.
 5402 	   Removed call to server_setup().
 5403 
 5404 	This patch adds a new parameter to the test suite called 'req_protocols',
 5405 	and a new function called 'setup'. The ability for tests to be able to set some
 5406 	extra parameters such as the actual requested protocols (with 'req_protocols')
 5407 	became obvious when support for HSTS was added to Wget, where the requested URI
 5408 	and the actual executed URI do not have to be the same. This new parameter is optional
 5409 	and if not specified, the test suite behaves as before. Also, the new function 'setup'
 5410 	is provided as a means to start the test HTTP server, but not launch the test yet
 5411 	(this is done when calling 'begin', as usual), in case we want to query the address
 5412 	and port in which the test server listens. If 'setup' is not called, it is automatically
 5413 	invoked when calling 'begin'. With these measures, we preserve backward-compatibility with
 5414 	existing tests.
 5415 
 5416 2015-07-20  Ander Juaristi  <ajuaristi@gmx.es>
 5417 
 5418 	Added support for HSTS.
 5419 	 * Makefile.am: Added new source files hsts.c and hsts.h.
 5420 	 * http.c (parse_strict_transport_security): new function for STS header
 5421 	   parsing.
 5422 	   (gethttp): update the HSTS store.
 5423 	 * http.h: new include "hsts.h".
 5424 	 * init.c: new options --hsts and --hsts-file.
 5425 	 * main.c (get_hsts_database, load_hsts, save_hsts): new functions.
 5426 	   New options --no-hsts and --hsts-file added to help.
 5427 	   (main): load and save HSTS store.
 5428 	 * options.h: new variables for supporting --hsts and --hsts-file.
 5429 	 * retr.c (retrieve_url): rewrite the URI according to the HSTS policy before
 5430 	   entering http_loop.
 5431 	 * test.c, test.h: new unit tests for HSTS.
 5432 	 * utils.c, utils.h (countchars): new function.
 5433 	 * wget.h: new preprocessor check.
 5434 	 * hsts.c, hsts.h: new files with the HSTS engine implementation.
 5435 
 5436 	Added support for HTTP Strict Transport Security (HSTS), as defined by RFC
 5437 	6797.
 5438 
 5439 2015-07-20  Giuseppe Scrivano  <gscrivan@redhat.com>
 5440 
 5441 	NEWS: cite metalink support
 5442 
 5443 	fix compiler warnings
 5444 	* src/utils.h: Include <stdlib.h>
 5445 	* src/recur.c: Include "exits.h"
 5446 
 5447 2015-07-20  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5448 
 5449 	Test preferred location in Metalink-over-HTTP test case.
 5450 	* testenv/Test-metalink-http.py: Ensure preferred location is handled
 5451 	properly.
 5452 
 5453 	Geolocation support for Metalink resources.
 5454 	* doc/wget.text: Add information about --preferred-location.
 5455 	* src/init.c: Add --preferred-location option.
 5456 	* src/main.c (option_data): Handle --preferred-location argument.
 5457 	(main): Sort resources based on location if requested.
 5458 	* src/metalink.c (metalink_res_cmp): Compare based on location if
 5459 	priority and preference are equal.
 5460 	* src/options.h (options): Add preferred_location option.
 5461 
 5462 	Support at most one file signature. Adapt comments to libmetalink 0.13.
 5463 	* src/metalink.c (retrieve_from_metalink): Add comment about new
 5464 	libmetalink version. Do not iterate over signatures - support just one.
 5465 
 5466 	Move some Metalink-related code from http.c to metalink.c.
 5467 	* src/http.c: Move find_key_value, has_key, find_key_values.
 5468 	* src/metalink.c: To here.
 5469 	* src/metalink.h: Make them non-static and add prototypes here.
 5470 
 5471 	Unit test for find_key_values.
 5472 	* src/http.c: Add test_find_key_values.
 5473 	* src/test.c (main): Run new test.
 5474 	* src/test.h: Add test_find_key_values.
 5475 
 5476 	Unit test for has_key.
 5477 	* src/http.c: Add test_has_key.
 5478 	* src/test.c (main): Run new test.
 5479 	* src/test.h: Add test_has_key.
 5480 
 5481 	Unit test for find_key_value.
 5482 	* src/http.c: Add test_find_key_value.
 5483 	* src/test.c (main): Run new test.
 5484 	* src/test.h: Add test_find_key_value.
 5485 
 5486 	Test case for Metalink over HTTP.
 5487 	* testenv/Test-metalink-http.py: New test.
 5488 	* testenv/Makefile.am: Add to test list.
 5489 
 5490 	Support multiple headers with same name in Python test suite.
 5491 	* testenv/README: Describe how to use repeated header name.
 5492 	* testenv/server/http/http_server.py (finish_headers): Send all
 5493 	values from list if the header value is a Python list.
 5494 
 5495 	Test case for Metalink in XML.
 5496 	* testenv/Test-metalink-xml.py: New test.
 5497 	* testenv/Makefile.am: Add file for automake.
 5498 
 5499 	Start HTTP test only when calling begin().
 5500 	* testenv/test/http_test.py: Move self.do_test() from __init__ to
 5501 	begin().
 5502 
 5503 	Metalink support.
 5504 	* bootstrap.conf: Add crypto/sha256
 5505 	* configure.ac: Look for libmetalink and GPGME
 5506 	* doc/wget.texi: Add --input-metalink and --metalink-over-http
 5507 	options description.
 5508 	* po/POTFILES.in: Add metalink.c
 5509 	* src/Makefile.am: Add new translation unit (metalink.c)
 5510 	* src/http.c (http_stat): Add metalink field.
 5511 	(free_stat): Free metalink field.
 5512 	(find_key_value): Find value of given key in header string.
 5513 	(has_key): Check if token exists in header string.
 5514 	(find_key_values): Find all key=value pairs in header string.
 5515 	(metalink_from_http): Obtain Metalink metadata from HTTP response.
 5516 	(gethttp): Call metalink_from_http if requested.
 5517 	(http_loop): Request Metalink metadata from HTTP response if should be.
 5518 	Fall back to regular download if no Metalink metadata found.
 5519 	* src/init.c: Add --input-metalink and --metalink-over-http options
 5520 	* src/main.c (option_data): Handle --input-metalink and
 5521 	--metalink-over-http cmd arguments.
 5522 	(print_help): Print --input-metalink option description.
 5523 	(main): Retrieve files from Metalink file
 5524 	* src/metalink.c (retrieve_from_metalink): Download files described by
 5525 	metalink.
 5526 	(metalink_res_cmp): Comparator for resources priority-sorting.
 5527 	* src/metalink.h: Create header for metalink.c
 5528 	(RES_TYPE_SUPPORTED): Define supported resources media.
 5529 	(DEFAULT_PRI): Default mirror priority for Metalink over HTTP.
 5530 	(VALID_PRI_RANGE): Valid priority range.
 5531 	* src/options.h (options): Add input_metalink option and metalink_over_http
 5532 	options.
 5533 	* src/utils.c (hex_to_string): Convert binary data to ASCII-hex.
 5534 	* src/utils.h (hex_to_string): Add prototype.
 5535 	* src/wget.h: Add metalink-related error enums
 5536 	Add METALINK_METADATA flag for document type.
 5537 
 5538 2015-07-15  Romain Bentz  <romain.bentz@dataiku.com>
 5539 
 5540 	Add NULL value check to fix #45289
 5541 	* src/recur.c (retrieve_tree): Check return value of url_parse()
 5542 
 5543 2015-07-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 5544 
 5545 	Let HTTPS tests XFAIL when no TLS support configured
 5546 	* configure.ac: Export WITH_SSL for use in Makefile.am
 5547 	* testenv/Makefile.am: Add HTTPS tests to XFAIL_TESTS when !WITH_SSL
 5548 
 5549 	Reported-by: Ander Juaristi <ajuaristi@gmx.es>
 5550 
 5551 2015-07-01  Tim Rühsen  <tim.ruehsen@gmx.de>
 5552 
 5553 	Change function params to const in src/iri.[ch]
 5554 	* iri.h, iri.c: Added const attribute for params of parse_charsset(),
 5555 		check_encoding_name(), idn_encode(), idn_decode(),
 5556 		remote_to_utf8(), set_uri_encoding(), set_content_encoding().
 5557 
 5558 	Work around a libidn <= 1.30 vulnerability
 5559 	* src/iri.c: Add _utf8_is_valid() to check UTF-8 sequences before
 5560 	  passing them to idna_to_ascii_8z().
 5561 
 5562 2015-06-27  Ángel González  <keisial@gmail.com>
 5563 
 5564 	Fix wgetrc filename creation for Windows
 5565 	* init.c/wgetrc_file_name: Remove obsolete code in WINDOWS code path
 5566 
 5567 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 5568 
 5569 2015-06-16  Darshit Shah  <darnir@reniac.com>
 5570 
 5571 	Add valgrind suppression files for HTTPS tests
 5572 	    * testenv/test/base_test.py: Use Valgrind SSL suppressions file for
 5573 	    tests
 5574 	    * testenv/valgrind-suppression-ssl, tests/valgrind-suppression-ssl:
 5575 	    Add new suppression files to suppress OpenSSL errors in valgrind
 5576 	    * tests/test-proxied-https-auth.px: Use the valgrind SSL
 5577 	    suppressions file for the test
 5578 	    * tests/test-proxied-https-auth-keepalive.px: Same
 5579 
 5580 2015-06-14  Darshit Shah  <darnir@reniac.com>
 5581 
 5582 	contrib/check-hard: Indentation and spacing cleanup
 5583 	    * contrib/check-hard: Reduce the amount of text output to the
 5584 	    screen. Also implement some indentation and whitespace cleanups.
 5585 
 5586 2015-06-14  Tim Rühsen  <tim.ruehsen@gmx.de>
 5587 
 5588 	Fix usage of CFLAGS in contrib/check-hard
 5589 	* contrib/check-hard: Set CFLAGS per command line instead of using export.
 5590 
 5591 	'make distcheck' changes CFLAGS. So using ./configure -C together with
 5592 	exported CFLAGS fails. Setting CFLAGS per command line works smoothly.
 5593 
 5594 2015-06-13  Tim Rühsen  <tim.ruehsen@gmx.de>
 5595 
 5596 	Move test_* function protoypes from test.c to test.h
 5597 	* src/test.c: Remove test_* function prototypes, make tests_run static
 5598 	* src/test.h: Add test_* function protoypes
 5599 
 5600 2015-05-23  Giuseppe Scrivano  <gscrivan@redhat.com>
 5601 
 5602 	NEWS: cite --if-modified-since
 5603 
 5604 	gnulib: update gnulib
 5605 
 5606 2015-05-22  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5607 
 5608 	Include --if-modified-since option in user manual.
 5609 	* doc/wget.texi: Add --if-modified-since section.
 5610 
 5611 	Support If-Modified-Since header in timestamping mode.
 5612 	* src/wget.h: Add IF_MODIFIED_SINCE enum for dt. Add TIMECONV_ERR
 5613 	enum to uerr_t.
 5614 	* src/http.c (time_to_rfc1123): Convert time_t do http time.
 5615 	* src/http.c (initialize_request): Include If-Modified-Since header
 5616 	if appropriate.
 5617 	* src/http.c (set_file_timestamp): Separate this code from check_file_output.
 5618 	* src/http.c (check_file_output): Use set_file_timestamp.
 5619 	* src/http.c (gethttp): Handle properly 304 return code and 200 if server
 5620 	ignores If-Modified-Since headers.
 5621 	* src/http.c (http_loop): Load filename to hstat if condget was requested,
 5622 	use IF_MODIFIED_SINCE if requested and current timestamp can be obtained.
 5623 
 5624 	Add --if-modified-since option
 5625 	* src/init.c: Add to commands array.
 5626 	* src/main.c: Add to cmdline_option. Add to help message.
 5627 	* src/options.h: Add to options struct.
 5628 
 5629 	Add test for condget requests.
 5630 	* testenv/Test-condget.py: the test
 5631 	* testenv/Makefile.am: add to tests list
 5632 
 5633 	Support conditional GET in testenv server.
 5634 	* src/exc/server_error.py: Add exception for GET to HEAD fallback.
 5635 	* src/server/http/http_server.py: Do not send body if 304 return
 5636 	code requested for a file.
 5637 
 5638 	Implement timestamp support for local files in testenv
 5639 	* testenv/README: Change timestamp format definition
 5640 	* testenv/conf/local_files.py: Set proper timestamps
 5641 
 5642 2015-05-20  Pär Karlsson  <feinorgh@gmail.com>
 5643 
 5644 	Fix undeclared loop variable in Perl test suite
 5645 	Reported-by: Hubert Tarasiuk <hubert.tarasiuk@gmail.com>
 5646 
 5647 2015-05-12  Ander Juaristi  <ajuaristi@gmx.es>
 5648 
 5649 	Make sure Wget does not unescape reserved chars.
 5650 	* testenv/Test-reserved-chars.py: New file.
 5651 
 5652 	* testenv/Makefile.am: Added new test Test-reserved-chars.py.
 5653 
 5654 	When following redirections, Wget should not unescape the reserved
 5655 	characters that might appear in target URLs.
 5656 
 5657 2015-05-12  Ander Juaristi  <ajuaristi@gmx.es>
 5658 
 5659 	Fixed incorrect handling of reserved chars.
 5660 	* src/iri.c (do_conversion): Call url_unescape_except_reserved,
 5661 	instead of url_unescape.
 5662 
 5663 	* src/url.c (url_unescape_1): New static function.
 5664 	(url_unescape): Calls url_unescape_1 with mask zero. Preserves
 5665 	same behavior as before. Only code changes.
 5666 	(url_unescape_except_reserved): New function.
 5667 
 5668 	* src/url.h: Added prototype for url_unescape_except_reserved().
 5669 
 5670 	When the locale is US-ASCII, URIs that contain special characters
 5671 	in them are converted to IRIs according to RFC 3987, section 3.2
 5672 	"Converting URIs to IRIs".
 5673 
 5674 2015-05-07  Darshit Shah  <darnir@reniac.com>
 5675 
 5676 	Fix documentation for update_speed_ring()
 5677 	    * progress.c (update_speed_ring): The comment for the function
 5678 	    incorrectly stated that the function uses thirty samples from the
 5679 	    past instead of twenty.
 5680 
 5681 	    Reported-By: Yi Li <lovelylich@gmail.com>
 5682 
 5683 2015-05-04  Darshit Shah  <darnir@reniac.com>
 5684 
 5685 	Remove shadowed variable in http.c
 5686 	    * http.c (gethttp): Rename err to conn_err to prevent shadowed
 5687 	    variable
 5688 
 5689 2015-05-04  Steven Schubiger  <stsc@member.fsf.org>
 5690 
 5691 	paramcheck: use explicit quoting for here-docs
 5692 	* util/paramcheck.pl: Adjust here-docs
 5693 
 5694 2015-05-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 5695 
 5696 	Fix format specifier warning
 5697 	* src/utils.c (aprintf): Use %d for int argument
 5698 
 5699 2015-05-01  Nikolay Merinov  <kim.roader@gmail.com>
 5700 
 5701 	Fix timestamping and continue behaviour with ftp protocol.
 5702 	* src/ftp.c (ftp_loop_internal): Add option `force_full_retrieve' that force to
 5703 	retrieve full file.
 5704 	(ftp_retrieve_list): Pass `true' as `force_full_retrieve' option to
 5705 	`ftp_loop_internal' if we want to download file with newer timestamp than local
 5706 	copy.
 5707 
 5708 2015-04-27  Rohit Mathulla  <rohit_mathulla@yahoo.com>
 5709 
 5710 	openssl: Read cert from private key file when needed
 5711 	* src/openssl.c (ssl_init): Assign opt.cert_{file, type}
 5712 	  from opt.private_key(_type)
 5713 
 5714 	Fix double free bug in SSL code
 5715 	* src/openssl.c, src/gnutls.c (ssl_init): Copy options using xstrdup
 5716 
 5717 2015-04-20  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5718 
 5719 	Single exit point and common cleanup code in gethttp
 5720 	* src/http.c (gethttp): Common cleanup for type, message,
 5721 	  req, resp, head.  Single exit point.
 5722 
 5723 2015-04-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 5724 
 5725 	Silence warning in perl test suite
 5726 	* tests/WgetTests.pm: Use string comparisons for $valgrind variable
 5727 
 5728 2015-04-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 5729 
 5730 	Check memory allocations in WARC code
 5731 	* src/warc.c: Remove some memory allocations,
 5732 	              use xmalloc instead of malloc
 5733 
 5734 	Reported-by: Bill Parker <wp02855@gmail.com>
 5735 
 5736 2015-04-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 5737 
 5738 	Add more const usage to function params
 5739 	* warc.c, warc.h: Add const specifier to several function args
 5740 
 5741 2015-04-14  Darshit Shah  <darnir@reniac.com>
 5742 
 5743 	PEP8'ify the Python Test Suite
 5744 	    * testenv/conf/{__init__,authentication,files_crawled,
 5745 	      hook_sample,reject_header,server_files}.py: Aesthetic changes to
 5746 	      meet Python PEP8 guidelines
 5747 	    * testenv/exc/{server_error,test_failed}.py: Same
 5748 	    * testenv/misc/{colour_terminal,wget_file}.py: Same
 5749 	    * testenv/server/http/http_server.py: Same
 5750 	    * testenv/test/base_test.py: Same
 5751 
 5752 2015-04-13  Ander Juaristi  <ajuaristi@gmx.es>
 5753 
 5754 	Improved test suite documentation
 5755 	* README.checkout: Added reference to Python. New section
 5756 	  "Testing and development". Updated information about test suites.
 5757 
 5758 	Added support for GDB in Python tests
 5759 	* base_test.py (gen_cmd_line): Check GDB_TESTS environment variable.
 5760 
 5761 2015-04-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 5762 
 5763 	Added GDB support to Perl tests
 5764 	* WgetTests.pm (run): Check GDB_TESTS environment variable.
 5765 
 5766 2015-04-11  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5767 
 5768 	Add Valgrind suppression for libidn.so at idna_to_ascii_4z
 5769 	* tests/WgetTests.pm (run): Include suppression file when running Valgrind.
 5770 	* tests/valgrind-suppressions: Add suppression for idn_to_ascii_4z.
 5771 	* tests/Makefile.am: Add valgrind-suppressions to EXTRA_DIST.
 5772 
 5773 2015-04-11  Ángel González  <keisial@gmail.com>
 5774 
 5775 	Remove memory leak in idn_encode.
 5776 	* src/iri.c (idn_encode): Free buffer from remote_to_utf8
 5777 	when needed; give meaningful names to variables;
 5778 	remove excessive comment.
 5779 
 5780 2015-04-10  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5781 
 5782 	Fix error in free_vec.
 5783 	* src/utils.c (free_vec): Increment pointer instead of its value.
 5784 
 5785 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 5786 
 5787 2015-04-10  Ángel González  <keisial@gmail.com>
 5788 
 5789 	Fix const usage in iri.c
 5790 	* src/iri.c (remote_to_utf8): Do not qualify with const the output pointer.
 5791 	(do_conversion): Use the provided input parameter as const.
 5792 	(idn_encode): casts to remote_to_utf8 parameters are no longer needed.
 5793 	* src/iri.h: Adjusted remote_to_utf8 prototype.
 5794 	* src/url.c: It is no longer necessary to cast new_url to const char.
 5795 
 5796 2015-04-06  Miquel Llobet  <mllobet.cm@gmail.com>
 5797 
 5798 	Fixed #44628 honoring RFC 6266 content-disposition
 5799 	src/http.c (parse_content_disposition): stores filename* and filename
 5800 	separately and choses filename* if available.
 5801 	(test_parse_content_disposition): added new tests.
 5802 
 5803 2015-04-02  Giuseppe Scrivano  <gscrivan@redhat.com>
 5804 
 5805 	NEWS: cite last change
 5806 
 5807 2015-04-02  Steven M. Schweda  <sms@antinode.info>
 5808 
 5809 	Add option to restrict filenames used VMS.
 5810 	* src/options.h (enum restrict_files_os): Define "restrict_vms".
 5811 	* src/init.c (defaults) [__VMS]: Set "opt.restrict_files_os" to
 5812 	"restrict_vms".
 5813 	(cmd_spec_restrict_file_names): honor "vms".
 5814 	* src/url.c (filechr_not_unix): Define "filechr_not_vms".
 5815 	(filechr_table): Update for VMS.
 5816 	(append_uri_pathel): Honor opt.restrict_files_os.
 5817 	(FN_QUERY_SEP): Update for VMS.
 5818 	(FN_QUERY_SEP_STR): Update for VMS.
 5819 
 5820 2015-04-01  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5821 
 5822 	Change semantics of resp_free and request_free in http.c
 5823 	* src/http.c (resp_free): Change the semantics of this function.
 5824 	(request_free): Change the semantics of this function.
 5825 	(initialize_request): Adjust request_free call.
 5826 	(establish_connection): Adjust request_free, resp_free calls.
 5827 	(gethttp): Adjust request_free, resp_free calls.
 5828 
 5829 	Do not free request in establish_connection; do it in gethttp
 5830 	* src/http.c (establish_connection): Do not free request here (it is
 5831 	* never allocated here).
 5832 	* src/http.c (gethttp): Free request before returning if error in
 5833 	* establish_connection encountered.
 5834 
 5835 	Transform read_header label and goto into a loop
 5836 	* src/http.c (gethttp): Replace label and goto statement with a do
 5837 	loop.
 5838 
 5839 2015-03-31  Hubert Tarasiuk  <hubert.tarasiuk@gmail.com>
 5840 
 5841 	Factor out set_content_type function from gethttp
 5842 	* src/http.c (gethttp): Move some code in...
 5843 	(set_content_type): ... a new function.
 5844 
 5845 2015-03-18  Giuseppe Scrivano  <gscrivan@redhat.com>
 5846 
 5847 	Factor out some gethttp code
 5848 	* src/http.c (gethttp): Move some code in...
 5849 	(open_output_stream): ... a new function.
 5850 
 5851 	Factor out some auth gethttp code
 5852 	* src/http.c (gethttp): Move some code in...
 5853 	(check_auth): ... a new function.
 5854 
 5855 	Factor out some gethttp code
 5856 	* src/http.c (gethttp): Move some code in...
 5857 	(check_file_output): ... a new function.
 5858 
 5859 	Factor out some connection initialization code for gethttp
 5860 	* src/http.c (gethttp): Move some initialization code in...
 5861 	(establish_connection): ... a new function.
 5862 
 5863 	Factor out some proxy initialization code for gethttp
 5864 	* src/http.c (gethttp): Move some initialization code in...
 5865 	(initialize_proxy_configuration): ... a new function.
 5866 
 5867 	Factor out some initialization code for gethttp
 5868 	* src/http.c (gethttp): Move some initialization code in...
 5869 	(initialize_request): ... a new function.
 5870 
 5871 2015-03-18  Tim Ruehsen  <tim.ruehsen@gmx.de>
 5872 
 5873 	src/ftp.c: make sure warc_tmp becomes closed before return
 5874 	Reported-by: Coverity bug #1188044
 5875 
 5876 	src/http.c: fix error return of digest_authentication_encode()
 5877 	Reported-by: Coverity bug #1188036
 5878 
 5879 2015-03-17  Rohan Prinja  <rohan.prinja@gmail.com>
 5880 
 5881 	Convert wget.texi to UTF-8
 5882 	* doc/wget.texi: convert to UTF-8 by adding @documentencoding
 5883 	* doc/Makefile.am: Pass argument --utf8 to pod2man.
 5884 
 5885 2015-03-16  Ander Juaristi Alamos  <ajuaristi@gmx.es>
 5886 
 5887 	* doc/wget.texi: The default is GnuTLS, not OpenSSL.
 5888 
 5889 2015-03-16  Darshit Shah  <darnir@gmail.com>
 5890 
 5891 	testenv/http_server: Allow overriding Headers
 5892 	We would like to override existing headers in the response from the
 5893 	server to allow the test cases to define their own headers. This patch
 5894 	allows this behaviour through the use of the add_header() method while
 5895 	also allowing sending multiple headers of the same name.
 5896 
 5897 2015-03-14  Darshit Shah  <darnir@gmail.com>
 5898 
 5899 	retr.c: Fix memory leak in retrieve_from_file()
 5900 	Reported by: Coverity Bug 1188045
 5901 
 5902 	html-url.c: Fix potential memory leaks
 5903 	Reported by: Coverity Bug 1188050
 5904 
 5905 	main.c: Fix two potential memory leaks
 5906 	Reported by: Coverity bug 1188048
 5907 
 5908 	retr.c: Fix two memory leaks when proxy URL is bad
 5909 	Reported by: Coverity bug 1188047
 5910 
 5911 2015-03-13  Darshit Shah  <darnir@reniac.com>
 5912 
 5913 	Docs: --post-file is binary data
 5914 	Wget considers the file mentioned in the --post-file argument as a
 5915 	binary file and does not strip any control characters. The lack of this
 5916 	information in the documentation can cause a lot of headaches debugging
 5917 	for a simple issue
 5918 
 5919 2015-03-09  Giuseppe Scrivano  <gscrivan@redhat.com>
 5920 
 5921 	maint: update copyright year ranges to include 2015
 5922 
 5923 	NEWS: Prepare new development cycle
 5924 
 5925 2015-03-09  Yousong Zhou  <yszhou4tech@gmail.com>
 5926 
 5927 	Fix --content-on-error option handling.
 5928 	* src/http.c: Log --content-on-error downloads.
 5929 	* src/retr.c (retrieve_url): Register the download of an error page
 5930 	when --content-on-error is specified.
 5931 
 5932 	testenv: add test case Test--convert-links--content-on-error.py.
 5933 	* testenv/Makefile.am: Register the new test.
 5934 	* testenv/Test--convert-links--content-on-error.py: Add test case for
 5935 	the combination of --convert-links and --content-on-error.py.
 5936 
 5937 	testenv: fix http_server.py with Response and Authentication.
 5938 	* testenv/exc/server_error.py: Try writing file content for GET
 5939 	request even if there is a Response rule present.
 5940 	* testenv/server/http/http_server.py: Likewise.
 5941 
 5942 	testenv: improve color output a bit.
 5943 	* testenv/misc/colour_terminal.py: Only print color codes when stdout
 5944 	isatty().
 5945 
 5946 	testenv: typo and style fix.
 5947 	* testenv/server/http/http_server.py(BaseTest): Add docstring; use raw
 5948 	string for regex.
 5949 	* testenv/server/http/http_server.py(_Handler): Typo fix.
 5950 	* testenv/conf/server_files.py(ServerFiles): Code style change for
 5951 	readability plus another typo fix.
 5952 
 5953 2015-03-09  Giuseppe Scrivano  <gscrivan@redhat.com>
 5954 
 5955 	NEWS: tag 1.16.3
 5956 
 5957 2015-03-08  Anderson Goulart  <global@kokre.com>
 5958 
 5959 	src/main.c (--no-verbose): don't show progress bar
 5960 	Fixes #44431
 5961 
 5962 2015-03-06  Darshit Shah  <darnir@reniac.com>
 5963 
 5964 	main.c: Use assertion to test buffer size
 5965 
 5966 2015-03-02  Darshit Shah  <darnir@gmail.com>
 5967 
 5968 	main.c: Need to explicitly disallow show_progress in -q
 5969 
 5970 2015-02-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 5971 
 5972 	NEWS: add other items and tag 1.16.2
 5973 
 5974 	gnulib: sync gnulib
 5975 
 5976 2015-02-27  Giuseppe Scrivano  <gscrivan@redhat.com>
 5977 
 5978 	NEWS: Update file
 5979 
 5980 2015-02-23  Eli Zaretskii  <eliz@gnu.org>
 5981 
 5982 	warc.c: native uuid generation on Windows
 5983 	* warc.c (windows_uuid_str) [WINDOWS]: New function specific to
 5984 	MS-Windows.
 5985 	(warc_uuid_str) [WINDOWS]: If windows_uuid_str succeeds, use its
 5986 	result; otherwise use the fallback method.
 5987 
 5988 2015-02-18  Gisle Vanem  <gvanem@yahoo.no>
 5989 
 5990 	idn: use idn_free() to free allocated libidn memory
 5991 	xfree() might crash on libidn memory on Windows.
 5992 
 5993 	From 'man idn_free':
 5994 	"Under Windows, different parts of the same application may use different
 5995 	 heap memory, and then it is important to deallocate memory allocated within
 5996 	 the same  module  that  allocated it. This function makes that possible."
 5997 
 5998 2015-02-10  Tim Rühsen  <tim.ruehsen@gmx.de>
 5999 
 6000 	gettext: Use gnulib's gettext.h for compatibility
 6001 	Fixes issues with gettext on Solaris
 6002 	Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
 6003 
 6004 	src/openssl.c: Use SSL_state() instead of ssl_st.state
 6005 	Changes in OpenSSL 1.0.2 API hides ssl_st structure members.
 6006 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 6007 
 6008 2015-01-31  Giuseppe Scrivano  <gscrivan@redhat.com>
 6009 
 6010 	* README.checkout: Remove duplicated word
 6011 
 6012 	* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Add ChangeLog-2014-12-10.
 6013 
 6014 2015-01-27  Tim Rühsen  <tim.ruehsen@gmx.de>
 6015 
 6016 	README.checkout: Mention libio-socket-ssl-perl to be installed
 6017 
 6018 2015-01-22  Dagobert Michelsen  <dam@opencsw.org>
 6019 
 6020 	tests/Makefile.am: Solaris needs libintl and libiconv for testsuite
 6021 
 6022 2015-01-20  Darshit Shah  <darnir@gmail.com>
 6023 
 6024 	progress bar: Allow display on stderr alongwith -o
 6025 	This commit causes the --show-progress option to print the progress bar
 6026 	to stderr even when a logfile was explicitly provided on the command
 6027 	line. Such a combination allows a user to log the output of Wget while
 6028 	simultaneously keeping track of the download status.
 6029 
 6030 2015-01-18  Darshit Shah  <darnir@gmail.com>
 6031 
 6032 	gnulib: Pull submodule forward
 6033 
 6034 2015-01-16  Mathieu Parent  <math.parent@gmail.com>
 6035 
 6036 	src/connect.c: More verbose error message (tiny change)
 6037 	This fixes Debian bug #144076.
 6038 
 6039 2015-01-04  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6040 
 6041 	src/ftp-basic.c: Accept 5-digit port numbers in EPSV responses
 6042 	Reported-by: Adam Sampson <ats@offog.org>
 6043 
 6044 2015-01-02  Tim Rühsen  <tim.ruehsen@gmx.de>
 6045 
 6046 	README.checkout: Add libpcre, pkg-config, libgnutls
 6047 	Add description for libpcre
 6048 	Add description for pkg-config
 6049 	Add description of GnuTLS
 6050 	Add 2014,2015 copyright year
 6051 	Use ASCII copyright characters
 6052 
 6053 2014-12-27  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6054 
 6055 	src/http.c: Revert commit d81a8d5f56fca2746c4ad83d764bd24adcfbe927
 6056 	The removal of the 'redundant' condition was a failure.
 6057 	Fixes: #43876
 6058 	Reported-by: Sean Jensen-Grey <seanj@xyke.com>
 6059 
 6060 2014-12-25  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6061 
 6062 	configure.ac: Skip pkg-config for opensl and gnutls when prefix is given
 6063 	Make --with-libssl-prefix and --with-libgnutls-prefix do the right thing,
 6064 	no matter if pkg-config is installed or not.
 6065 
 6066 	Reported-by: Charles Diza <chdiza@gmail.com>
 6067 
 6068 2014-12-25  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6069 
 6070 	src/main.c, src/warc.c: Use gnulib's base_name() instead of basename()
 6071 	Reported-by: Eli Zaretskii <eliz@gnu.org>
 6072 
 6073 2014-12-24  Giuseppe Scrivano  <gscrivan@redhat.com>
 6074 
 6075 	Generate distributed ChangeLog from git log
 6076 	* bootstrap.conf (gnulib_modules): Add "gitlog-to-changelog".
 6077 	* Makefile.am: Generate the ChangeLog file from the git log and
 6078 	the old ChangeLog data.
 6079 
 6080 	merge ChangeLog files in ChangeLog-2014-12-10.
 6081 	* ChangeLog: truncate file.
 6082 	* ChangeLog.README: Likewise.
 6083 	* doc/ChangeLog: Likewise.
 6084 	* msdos/ChangeLog: Likewise.
 6085 	* src/ChangeLog: Likewise.
 6086 	* testenv/ChangeLog: Likewise.
 6087 	* tests/ChangeLog: Likewise.
 6088 	* ChangeLog-2014-12-10: New file.
 6089 	* Makefile.am: Distribute ChangeLog-2014-12-10.
 6090 
 6091 2014-12-21  Eli Zaretskii  <eliz@gnu.org>
 6092 
 6093 	src/utils.c: Don't include termios.h on Windows
 6094 
 6095 2014-12-21  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6096 
 6097 	tests/FTPServer.pm: Fix ftp tests for Windows
 6098 	The Single Unix strftime format specifier %e is not supported by
 6099 	MS Windows. Instead we now use %d.
 6100 
 6101 	Reported-By: Eli Zaretskii <eliz@gnu.org>
 6102 
 6103 2014-12-21  Tim Rühsen  <tim.ruehsen@gmx.de>
 6104 
 6105 	gnulib: Use basename() from gnulib module 'dirname'
 6106 	Avoid basename incompatibilities between POSIX and GNU implementations.
 6107 	Also, libgen.h isn't needed any more which increases compatibility.
 6108 
 6109 2014-12-21  Giuseppe Scrivano  <gscrivan@redhat.com>
 6110 
 6111 	contrib/check-hard: delete trailing whitespaces and repeated word
 6112 
 6113 2014-12-21  Benno Schulenberg  <bensberg@justemail.net>
 6114 
 6115 	* src/main.c (print_help): Indent description continuation lines by two spaces.
 6116 
 6117 	* src/main.c (print_help): Don't use a possessive instead of a plural.
 6118 
 6119 	* src/main.c (print_help): Don't use the backtick as a left quote mark in the help text.
 6120 
 6121 	* src/main.c (print_help): Remove the full stops from option descriptions.
 6122 	And use semicolons to separate multiple phrases in a description.
 6123 
 6124 	* src/main.c (print_help): Make all option descriptions start with a lowercase letter.
 6125 	Also spell URL consistently in all uppercase, and fix the grammar.
 6126 
 6127 2014-12-20  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6128 
 6129 	doc/wget.texi: Add 'https_only' in 'wgetrc commands' section
 6130 	Reported-By: Eli Zaretskii <eliz@gnu.org>
 6131 
 6132 2014-12-20  Eli Zaretskii  <eliz@gnu.org>
 6133 
 6134 	tests/WgetTests.pm: Print timestamps when tests fail due to wrong timestamps
 6135 
 6136 2014-12-19  Tim Rühsen  <tim.ruehsen@gmx.de>
 6137 
 6138 	sample.wgetrc: Fix wrong command 'locale' into 'localencoding'
 6139 	Reported-by: Eli Zaretskii <eliz@gnu.org>
 6140 
 6141 	wget.texi: Clarify wgetrc command syntax
 6142 	Reported-by: Eli Zaretskii <eliz@gnu.org>
 6143 
 6144 2014-12-18  Tim Rühsen  <tim.ruehsen@gmx.de>
 6145 
 6146 	configure.ac: Fix libuuid and uuid_create detection
 6147 	--with-libuuid now explictly asks for libuuid.
 6148 	--without-libuuid ignores libuuid and tries to use libc builtin functions.
 6149 	Else try builtin functions first, libuuid second and fallback to Wget's own
 6150 	function.
 6151 
 6152 2014-12-17  Yuriy M. Kaminskiy  <yumkam@gmail.com>
 6153 
 6154 	src/log.c: Fix unexpected termination in logprintf (tiny change)
 6155 	When errno was set to EPIPE before call to logprintf (e.g. during close of
 6156 	SSL connection that was reset by peer), it will unexpectedly terminate wget.
 6157 	It should exit only when EPIPE was triggered by logging code.
 6158 
 6159 	Regression by 0b5b100fc9aaa54257ffa16a083a862c031c335b
 6160 
 6161 2014-12-17  Tim Rühsen  <tim.ruehsen@gmx.de>
 6162 
 6163 	configure.ac: Check for RAND_egd() in pkg-config success code
 6164 
 6165 	src/main.c: Conditionally print help for --random-file and --egd-file
 6166 	--random-file is only relevant when compiled with either OpenSSL or LibreSSL.
 6167 	--egd-file is only relevant when compiled with OpenSSL
 6168 
 6169 	src/init.c: Fix indentation for crlfile option
 6170 
 6171 	wget.texi: Document --random-file and --egd-file as OpenSSL only
 6172 
 6173 2014-12-17  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>
 6174 
 6175 	openssl: Detect the availability of RAND_egd (tiny change)
 6176 	Alternatives like LibreSSL don't provide RAND_egd() anymore.
 6177 	Fixes compilation on OpenBSD.
 6178 
 6179 	Fix use of uuid libc functions (tiny change)
 6180 	* Always attempt to detect uuid.h and uuid_create().
 6181 	* Split libuuid and uuid.h implementations of warc_uuid_str(), since
 6182 	  those APIs vary significantly.
 6183 	* Correctly use the uuid.h functions
 6184 
 6185 2014-12-16  Darshit Shah  <darnir@gmail.com>
 6186 
 6187 	Revert "ChangeLog: Move all ChangeLog files to .pre-gitlog"
 6188 	This reverts commit fcd3b3c473be25c4967fd8139d976e76faaef1b6.
 6189 
 6190 	Turns out that removing the ChangeLog files causes the Wget build to
 6191 	fail. While this issue is investigated and sorted out, the commit is
 6192 	reversed to allow people to be able to build Wget from master
 6193 
 6194 2014-12-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 6195 
 6196 	contrib: Added script contrib/check-hard to check Wget status
 6197 	This script automates some tests, e.g. testing with and without valgrind,
 6198 	using different configure options. It is aimed at developers to execute
 6199 	before pushing commits.
 6200 
 6201 2014-12-16  Cong Ma  <cma@pmo.ac.cn>
 6202 
 6203 	ftp: fix invalid pointer dereference in getftp() (tiny change)
 6204 	The pointer respline in use after being passed to ftp_response() may be
 6205 	uninitialized if ftp_response() fails.  Ensure that respline be used
 6206 	after checking the return value of ftp_response().
 6207 
 6208 2014-12-15  Darshit Shah  <darnir@gmail.com>
 6209 
 6210 	ChangeLog: Move all ChangeLog files to .pre-gitlog
 6211 	From v1.16.1 onwards, Wget no longer maintains an active ChangeLog file.
 6212 	Instead the ChangeLog will be automatically generated on each release
 6213 	through gnulib's gitlog-to-changelog script. However, the old versions
 6214 	of the ChangeLog files are retained for reference. These files are
 6215 	renamed with a .pre-gitlog appended to their filenames.
 6216 	Also removed ChangeLog.README file which is not required anymore
 6217 
 6218 2014-12-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 6219 
 6220 	src/iri.c: Call xstrndup instead of strndup
 6221 	strndup() does not exist in some older C libraries, also xstrndup()
 6222 	exits on memory allocation failures.
 6223 
 6224 	bootstrap.conf: Add module 'getline'
 6225 	This function does not exist in some older C libraries.
 6226 
 6227 2014-12-12  Tim Rühsen  <tim.ruehsen@gmx.de>
 6228 
 6229 	src/iri.c: Use c_strcasestr instead of strcasestr
 6230 	This also fixes a problem with strcasestr not being in the
 6231 	boostrap.conf module list.
 6232 
 6233 	Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
 6234 
 6235 2014-12-11  Friedrich Haubensak  <hsk@fli-leibniz.de>
 6236 
 6237 	Add support for older versions of flex (tiny change)
 6238 	E.g. flex 2.5.4 (Solaris 10) does not like a space after -o.
 6239 
 6240 2014-12-11  Tim Ruehsen <tim.ruehsen@gmx.de>
 6241 
 6242 	* src/Makefile.am: Support older versions of flex
 6243 
 6244 2014-12-10  Tim Ruehsen <tim.ruehsen@gmx.de>
 6245 
 6246 	* configure.ac: Check for pcre.h
 6247 
 6248 2014-12-08  Giuseppe Scrivano  <gscrivan@redhat.com>
 6249 
 6250 	* cfg.mk (local-checks-to-skip): Add sc_cast_of_argument_to_free.
 6251 
 6252 2014-12-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6253 
 6254 	* src/Makefile.am: Removed reference to cmpt.c
 6255 
 6256 2014-12-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6257 
 6258 	* configure.ac: Fix message for when GnuTLS has not been found.
 6259 
 6260 2014-12-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6261 
 6262 	* bootstrap.conf: Add modules fnmatch, memrchr, strcase, strptime,
 6263 	strtoll, timegm
 6264 	Remove module strcasecmp
 6265 	Use module spawn-pipe instead of deprecated module pipe
 6266 
 6267 2014-12-04  Darshit Shah  <darnir@gmail.com>
 6268 
 6269 	* src/wget.h: Define MIX and MAX macros globally for all files
 6270 	* src/gnutls.c, retr.c: Delete declaration of MIN macro
 6271 	* src/http.c, progress.c: Delete declaration of MIN and MAX macros
 6272 
 6273 2014-12-04  Darshit Shah  <darnir@gmail.com>
 6274 
 6275 	* src/ftp.c (getftp): Remove a call to assert(1) and replace with error message.
 6276 	Also fix indentation
 6277 
 6278 2014-12-03  Jérémie Courrèges-Anglas  <jca@wxcvbn.org> (tiny change)
 6279 
 6280 	* src/openssl.c (ssl_init): Allow pfs to be used with protocols other than
 6281 	TLSv1.
 6282 
 6283 2014-12-03  Gisle Vanem  <gvanem@yahoo.no>
 6284 
 6285 	* src/openssl.c (ssl_init): Fix C89 warning
 6286 
 6287 2014-12-03  Gisle Vanem  <gvanem@yahoo.no>
 6288 
 6289 	* src/mswindows.c (ws_cleanup): Fix compiler error
 6290 
 6291 2014-12-01  Tim Ruehsen <tim.ruehsen@gmx.de>
 6292 
 6293 	* src/connect.c, iri.c, url.c, warc.c: Fix issues reported
 6294 	by static code analysis tool 'parfait'.
 6295 
 6296 	Closes: #41235
 6297 	Reported-by: Jiri Kukacka
 6298 
 6299 2014-11-29  Tim Ruehsen <tim.ruehsen@gmx.de>
 6300 
 6301 	* src/utils.h: xfree() sets argument to NULL after freeing,
 6302 	removed xfree_null()
 6303 	* src/connect.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c hash.c,
 6304 	host.c, html-url.c, http.c, init.c, iri.c, log.c, main.c,
 6305 	mswindows.c, netrc.c, openssl.c, recur.c, res.c, retr.c,
 6306 	url.c, warc.c: Replaced xfree_null() by xfree()
 6307 
 6308 2014-11-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6309 
 6310 	* src/main.c: Fix length of program_argstring,
 6311 	fix regression introduced with commit
 6312 	9217b864d865cf1766e1589d138c8fc17d3d3d5c.
 6313 
 6314 2014-11-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6315 
 6316 	* src/gettext.h: Removed this file
 6317 	* src/wget.h: Do not include gettext.h, include libintl.h directly,
 6318 	define _() as gettext() shortcut.
 6319 
 6320 	The header file gettext.h is simply not needed.
 6321 
 6322 2014-11-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6323 
 6324 	* src/Makefile.am: Removed gettext.h
 6325 
 6326 2014-11-27  Darshit Shah  <darnir@gmail.com>
 6327 
 6328 	* src/cookies.c, gettext.h, init.c, retr.c, url.c, warc.c: Replace usage of
 6329 	free() with xfree() macro.
 6330 
 6331 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6332 
 6333 	* tests/HTTPServer.pm: Substitue server port in HTTP headers
 6334 
 6335 	This allows us to use references like
 6336 	  "Location" => "http://localhost:{{port}}/whatever
 6337 	in test cases.
 6338 
 6339 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6340 
 6341 	* testenv/Makefile.am: Removed Test-auth-both.py from XFAIL_TESTS
 6342 
 6343 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6344 
 6345 	* src/recur.c: Fix blacklisting of URLs to download
 6346 
 6347 	Fixes a reported crash and prevents multiple downloads of the
 6348 	same file in case the URL is escaped in different ways.
 6349 
 6350 	The crash has been
 6351 	Reported-by: Frédéric <vfrederix@gmail.com>
 6352 
 6353 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6354 
 6355 	* src/recur.c: Add space after function names
 6356 
 6357 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6358 
 6359 	* src/http.c: Select strongest challenge from WWW-Authenticate,
 6360 	support multiple challenges per header line.
 6361 
 6362 2014-11-26  Tim Ruehsen <tim.ruehsen@gmx.de>
 6363 
 6364 	* src/gnutls.c (ssl_connect_wget): Implement missing code for
 6365 	--secure-protocol=TLSv1_1|TLSv1_2, print message before abort()
 6366 	for missing protocol implementations.
 6367 	* src/openssl.c (ssl_init): Print message before abort() for
 6368 	missing protocol implementations.
 6369 
 6370 2014-11-26  Giuseppe Scrivano  <gscrivan@redhat.com>
 6371 
 6372 	* testenv/Makefile.am (TESTS): Add Test-redirect-crash.py.
 6373 	* testenv/Test-redirect-crash.py: New File.
 6374 
 6375 2014-11-25  Pär Karlsson <feinorgh@gmail.com>
 6376 
 6377 	* src/Makefile.am: Added missing version.h to wget_SOURCES
 6378 
 6379 2014-11-25  Darshit Shah  <darnir@gmail.com>
 6380 
 6381 	* bootstrap.conf: Add flex as a prerequisite to building Wget from the
 6382 	repository sources
 6383 
 6384 2014-11-24  Tim Ruehsen <tim.ruehsen@gmx.de>
 6385 
 6386 	* src/wget.h, test.c, main.c: Make program_name and program_argstring const
 6387 
 6388 2014-11-24  Tim Ruehsen <tim.ruehsen@gmx.de>
 6389 
 6390 	* src/warc.c: Fix C89 compile errors using ./configure --without-libuuid
 6391 
 6392 2014-11-24  Tim Ruehsen <tim.ruehsen@gmx.de>
 6393 
 6394 	* src/warc.c, warc.h, http.c: Add size of buffer to warc_timestamp()
 6395 
 6396 2014-11-24  Tim Ruehsen <tim.ruehsen@gmx.de>
 6397 
 6398 	* src/retrc.c: Fix possibly uninitialized variable
 6399 
 6400 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6401 
 6402 	* src/wget.h: Make extern declaration for program_name
 6403 
 6404 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6405 
 6406 	* src/wget.h: Make extern declaration for program_argstring.
 6407 	* src/warc.c: Remove extern declaration
 6408 	* src/test.c: Make program_argstring a char *, instead of const char *.
 6409 
 6410 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6411 
 6412 	* src/version.h: New file. Add extern declarations for globally shared strings
 6413 	* src/Makefile.am: Have version.c import version.h
 6414 	* src/main.c: Import version.h and remove old extern declarations
 6415 	* src/http.c: Same
 6416 	* src/warc.c: Same
 6417 
 6418 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6419 
 6420 	* src/version.h: Add extern for compilation_string
 6421 	* src/main: Remove declaration for compilation_String
 6422 
 6423 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6424 
 6425 	* src/utils.c (abort_run_with_timeout): The sig parameter is not used. Mark it
 6426 	as such.
 6427 	(abort_run_with_timeout): One implementation of this function did not
 6428 	specify _Noreturn. Add it.
 6429 
 6430 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6431 
 6432 	* src/retr.h: Declare extern variable numurls
 6433 	* src/http.c: Remove extern declaration for numurls
 6434 	* src/ftp.c: Same
 6435 
 6436 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6437 
 6438 	* src/hosts.c (address_list_set_faulty): Add a helpful error message for when a
 6439 	logical assumption fails
 6440 
 6441 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6442 
 6443 	* src/cookies.c (discard_matching_cookie): Replace defensive assert with a
 6444 	logical check and error message
 6445 
 6446 2014-11-22  Darshit Shah  <darnir@gmail.com>
 6447 
 6448 	* build-aux/build_info.pl: Include version.h in the final C file generated
 6449 	by the script.
 6450 
 6451 2014-11-21  Tim Ruehsen <tim.ruehsen@gmx.de>
 6452 
 6453 	* testenv/server/http/http_server.py: Fixed typo Blackisted to Blacklisted
 6454 
 6455 2014-11-21  Daniel Stenberg  <daniel@haxx.se>
 6456 
 6457 	* src/iri.c (remote_to_utf8): Fix compiler warning
 6458 
 6459 2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
 6460 
 6461 	* src/progress.c: Fix code for undefined USE_NLS_PROGRESS_BAR
 6462 
 6463 	Reported-by: Gisle Vanem
 6464 
 6465 2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
 6466 
 6467 	* src/cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, html-url.c,
 6468 	http.c, init.c, iri.c, main.c, progress.c, res.c, url.c,
 6469 	utils.c, wget.h: Replaced strcasecmp and strncasecmp by
 6470 	c_strcasecmp and c_strncasecmp where only ASCII string
 6471 	comparison is wanted (instead of locale dependent).
 6472 
 6473 	Fixes possible issues with Wget running in a turkish locale.
 6474 
 6475 2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
 6476 
 6477 	* src/Removed form feeds (\014) from *.c and *.h
 6478 
 6479 2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
 6480 
 6481 	* configure.ac: Fix libpsl<0.6.0 detection
 6482 
 6483 2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
 6484 
 6485 	* NEWS: remove form feeds
 6486 
 6487 2014-11-20  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6488 
 6489 	* src/cookies.c, ftp-basic.c, ftp.c, gnutls.c, host.c,
 6490 	html-url.c, http.c, main.c, progress.c, retr.c, warc.c:
 6491 	Trivial fixes for C89 compliancy.
 6492 
 6493 2014-11-20  Gisle Vanem  <gvanem@yahoo.no>
 6494 
 6495 	* src/http.c (parse_content_disposition): Fix C89 issue found by MSVC 16
 6496 
 6497 2014-11-20  Gisle Vanem  <gvanem@yahoo.no>
 6498 
 6499 	* src/build_info.c.in: Assume large file for WINDOWS
 6500 
 6501 2014-11-20  Darshit Shah  <darnir@gmail.com>
 6502 
 6503 	* configure.ac: Use pkg-config for libpsl detection
 6504 	config status for libpsl is reflected by $with_libpsl
 6505 
 6506 2014-11-20  Darshit Shah  <darnir@gmail.com>
 6507 
 6508 	* configure.ac: Use autoconf macros where available
 6509 
 6510 2014-11-20  Darshit Shah  <darnir@gmail.com>
 6511 
 6512 	* configure.ac: Change option to --enable-assert. Assertions are disabled by
 6513 	default.
 6514 	* NEWS: Edit to reflect default option.
 6515 	* README.checkout: Document --enable-assert for developers
 6516 
 6517 2014-11-20  Darshit Shah  <darnir@gmail.com>
 6518 
 6519 	* configure.ac: Add the -Wextra flag when no CFLAGS are set
 6520 
 6521 2014-11-20  Darshit Shah  <darnir@gmail.com>
 6522 
 6523 	* .gitignore: po/stamp-po should be ignored
 6524 
 6525 2014-11-19  Tim Ruehsen <tim.ruehsen@gmx.de>
 6526 
 6527 	* configure.ac: Check for random()
 6528 
 6529 2014-11-19  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6530 
 6531 	* src/utils.c (random_float, random_number): Use random() and
 6532 	srandom() if available.
 6533 
 6534 	Reported-by: Coverity scanner
 6535 
 6536 2014-11-19  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6537 
 6538 	* src/openssl.c (ssl_check_certificate): Fix memory leak
 6539 
 6540 2014-11-19  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6541 
 6542 	* src/gnutls.c (ssl_init): Report load failure of cert files from
 6543 	cert directory only with --debug. Fixes #41331.
 6544 
 6545 2014-11-19  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6546 
 6547 	* src/ftp-basic.c (ftp_epsv): Fix loop check
 6548 
 6549 	Reported-by: Coverity scanner
 6550 
 6551 2014-11-19  Darshit Shah  <darnir@gmail.com>
 6552 
 6553 	* testenv/Test-504.py: Add new test case to show how Wget handles 504 Gateway
 6554 	Timeouts
 6555 	* testenv/Makefile.am: Add Test-504.py to TESTS
 6556 
 6557 2014-11-19  Darshit Shah  <darnir@gmail.com>
 6558 
 6559 	* src/utils.c (compile_posix_regex): Fix memory leak due to unfreed regex
 6560 	pointer
 6561 
 6562 2014-11-19  Darshit Shah  <darnir@gmail.com>
 6563 
 6564 	* src/progress.c (create_image): Do not scroll filename if amount of scrolling
 6565 	is less than MIN_SCROLL_TEXT
 6566 	* src/retr.c (fd_read_body): Do not print the directory prefix in the progress
 6567 	bar
 6568 
 6569 2014-11-19  Darshit Shah  <darnir@gmail.com>
 6570 
 6571 	* src/main.c (format_and_print_line): Fix potential memory leak
 6572 
 6573 2014-11-19  Darshit Shah  <darnir@gmail.com>
 6574 
 6575 	* src/exits.c (get_status_for_err): GATEWAYTIMEOUT is a Server Error and Wget's
 6576 	exit code should reflect that
 6577 	* src/wget.h: Add GATEWAYTIMEOUT as an error
 6578 	* src/http.c (http_loop): Gateway timeout errors should be non-fatal
 6579 
 6580 2014-11-18  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6581 
 6582 	* src/Fix warnings from clang-analyzer 3.6
 6583 
 6584 	gnutls.c:457:3: warning: Value stored to 'err' is never read
 6585 	  err = 0;
 6586 	http-ntlm.c:477:5: warning: Value stored to 'size' is never read
 6587 	  size = (size_t) snprintf (ntlmbuf, sizeof(ntlmbuf),
 6588 	http.c:1479:3: warning: Attempt to free released memory
 6589 	  xfree_null (hs->error);
 6590 
 6591 2014-11-17  Tim Ruehsen <tim.ruehsen@gmx.de>
 6592 
 6593 	* testenv/server/http/http_server.py: allow case-insensitive auth-type,
 6594 	send BasIc and DIgest to provoke Wget failures with turkish locales
 6595 
 6596 2014-11-17  Tim Ruehsen <tim.ruehsen@gmx.de>
 6597 
 6598 	* bootstrap.conf (gnulib_modules): Add module c-strcase
 6599 
 6600 2014-11-17  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6601 
 6602 	* src/main.c: code cleanup for redirect_output_signal()
 6603 
 6604 2014-11-17  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6605 
 6606 	* src/http.c: use c_strncasecmp() in BEGINS_WITH macro
 6607 	and in STARTS macro
 6608 
 6609 2014-11-17  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6610 
 6611 	* src/ftp.h: removed unused variable ftp_last_respline
 6612 	* src/init.c, test.c, warc.c: removed 'make check'compiler warnings
 6613 
 6614 2014-11-16  Tom Li  <biergaizi2009@gmail.com>
 6615 
 6616 	* src/progress.c (create_image): Ensure that the last character of the filename
 6617 	is scrolled to
 6618 
 6619 2014-11-16  Darshit Shah  <darnir@gmail.com>
 6620 
 6621 	* po/stamp-po: Remove autogenerated file from checked  out sources
 6622 
 6623 2014-11-16  Darshit Shah  <darnir@gmail.com>
 6624 
 6625 	* gnulib: Update submodule
 6626 	* bootstrap: Update script from latest gnulib
 6627 
 6628 2014-11-16  Darshit Shah  <darnir@gmail.com>
 6629 
 6630 	* .gitignore: Sort gitignore file based on directories
 6631 
 6632 2014-11-15  Darshit Shah  <darnir@gmail.com>
 6633 
 6634 	* testenv/certs/README: Remove trailing whitespaces
 6635 
 6636 2014-11-15  Darshit Shah  <darnir@gmail.com>
 6637 
 6638 	* src/progress.c (create_image): Fix assertion that checks progress bar length
 6639 	Should fix bug #43593
 6640 
 6641 2014-11-15  Darshit Shah  <darnir@gmail.com>
 6642 	* configure.ac: Add AC_HEADER_ASSERT. Enables --disable-assert option
 6643 
 6644 2014-11-12  Witchakorn Kamolpornwijit <witchakk@mit.edu> (tiny change)
 6645 
 6646 	* src/html-parse.c (map_html_tags): Fix range check
 6647 
 6648 2014-11-12  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6649 
 6650 	* src/openssl.c (ssl_init): Fix error handling for CRL loading
 6651 
 6652 2014-11-11  Tim Ruehsen <tim.ruehsen@gmx.de>
 6653 
 6654 	* testenv/recreated the certs and the CRL file, also amended certs/README
 6655 
 6656 2014-11-11  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6657 
 6658 	* src/openssl.c (ssl_init): Load CRL file given by --crl-file
 6659 
 6660 2014-11-11  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6661 
 6662 	* src/main.c: Fix missing _Noreturn declaration specifiers
 6663 
 6664 	Reported-by: Gisle Vanem <gvanem@yahoo.no>
 6665 
 6666 2014-11-11  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6667 
 6668 	* src/http.c (gethttp): Always add Accept-Encoding: identity
 6669 
 6670 	Fixes bug #40819
 6671 	Reported-by: Noël Köthe <noel@debian.org>
 6672 
 6673 2014-11-10  Tim Ruehsen <tim.ruehsen@gmx.de>
 6674 
 6675 	* testenv/removed certs/wget-cert.pem
 6676 	* testenv/added certs/ca-cert.pem, certs/ca-key.pem, certs/server-cert.pem,
 6677 	certs/server-key.pem and certs/server-crl.pem
 6678 	* testenv/added certs/README for description how to generate the certs and keys
 6679 	* testenv/server/http/http_server.py: amended to work with new certs/ files
 6680 	* testenv/added Test--https-crl.py to test --crl-file
 6681 	* testenv/Makefile.am: added Test--https-crl.py
 6682 	* testenv/Test--https.py: use --ca-certificate of --no-check-certificates
 6683 
 6684 2014-11-10  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6685 
 6686 	* src/openssl.c: Fix compile-time check for TLSv1.1 and TLSv1.2
 6687 
 6688 	Reported-by: Velemas Vosak <velemas@gmail.com>
 6689 
 6690 2014-11-09  Darshit Shah  <darnir@gmail.com>
 6691 
 6692 	* src/http.c (gethttps): Honour keep-alive when server responds with a 416 Range
 6693 	not Satisfiable
 6694 
 6695 2014-11-09  Darshit Shah  <darnir@gmail.com>
 6696 
 6697 	* src/http.c (gethttp): Remove redundant condition evaluation
 6698 
 6699 2014-11-06  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6700 
 6701 	* src/init.c, main.c, options.h: added new option --crl-file
 6702 	 for specifying a CRL (Certificate Revocation List) file.
 6703 	* src/gnutls.c: load CRL file given by --crl-file
 6704 
 6705 	Reported-by: Noël Köthe <noel@debian.org>
 6706 
 6707 2014-11-06  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6708 
 6709 	* doc/wget.texi: added description for --crl-file
 6710 
 6711 2014-11-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6712 
 6713 	* tests/Test-stdouterr.px: fix skip exit code to 77
 6714 
 6715 2014-11-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6716 
 6717 	* tests/Makefile.am: added $(LIB_CLOCK_GETTIME) to unit test linkage
 6718 
 6719 	Reported-by: kdevel@vogtner.de
 6720 
 6721 2014-11-05  Tim Ruehsen <tim.ruehsen@gmx.de>
 6722 
 6723 	* configure.ac: check for python3
 6724 	* Makefile.am: only use python test suite if python3 found
 6725 
 6726 2014-11-05  Giuseppe Scrivano  <gscrivan@redhat.com>
 6727 
 6728 	* contrib/tsocked-wget (TSOCKS_CONF_FILE): Remove empty new-line.
 6729 
 6730 2014-11-04  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6731 
 6732 	* src/iri.c (do_conversion): fix quote() misuse
 6733 	* src/iri.c (remote_to_utf8): fix segfault on do_conversion() error
 6734 
 6735 	Reported-by: Mikael Magnusson <mikachu@gmail.com>
 6736 
 6737 2014-11-04  Darshit Shah  <darnir@gmail.com>
 6738 
 6739 	* README.checkout: Bootstrap script is ./bootstrap not ./bootstrap.sh
 6740 
 6741 2014-11-03  Tim Ruehsen <tim.ruehsen@gmx.de>
 6742 
 6743 	* tests/added new test Test-proxied-https-auth-keepalive.px
 6744 
 6745 2014-11-03  Tim Ruehsen <tim.ruehsen@gmx.de>
 6746 
 6747 	* tests/Test-proxied-https-auth.px: add valgrind support,
 6748 	sync parent / child (client / server)
 6749 
 6750 2014-11-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6751 
 6752 	* src/log.c: turn on automatic format check for log_vprintf_internal()
 6753 
 6754 2014-11-03  Pär Karlsson <feinorgh@gmail.com>
 6755 	* tests/WgetFeature.pm: Fixed finding of WgetFeature.cfg when using separate
 6756 	build dirs.
 6757 	* tests/WgetFeature.pm: Fixed warning from BLOCK eval, made it indo EXPR eval
 6758 
 6759 2014-11-03  Jakub Čajka  <jcajka@redhat.com>
 6760 
 6761 	* src/iri.c (remote_to_utf8): Fixed assumption that char is signed. Fixes
 6762 	fellowing test case failures idn-cmd-utf8, idn-robots-utf8, if char is
 6763 	unsigned.
 6764 
 6765 2014-11-01  Mike Frysinger <vapier@gentoo.org>
 6766 
 6767 	* configure.ac: Use pkg-config to check for zlib presence and
 6768 	fallback to the previous code if that doesn't work.
 6769 
 6770 	* configure.ac: Use pkg-config to check for libuuid presence and
 6771 	fallback to the previous code if that doesn't work.
 6772 
 6773 	* configure.ac: Use pkg-config to check for pcre presence and
 6774 	fallback to the previous code if that doesn't work.
 6775 
 6776 	* configure.ac: Use pkg-config to check for openssl presence and
 6777 	fallback to the previous code if that doesn't work.
 6778 
 6779 	* configure.ac: Use pkg-config to check for gnutls presence and
 6780 	fallback to the previous code if that doesn't work.
 6781 
 6782 2014-11-01  Giuseppe Scrivano  <gscrivan@redhat.com>
 6783 
 6784 	* src/http.c (gethttp): Do not check for "Connection: close" header
 6785 	only when the Content-Length is specified.
 6786 
 6787 2014-11-01  Darshit Shah  <darnir@gmail.com>
 6788 
 6789 	* src/progress.c (create_image): Extra padding for size_grouped_diff has already
 6790 	been added. Do not add that again.
 6791 	(create_image): Assert that the progress bar being drawn is lesser than the
 6792 	size of the screen.
 6793 
 6794 2014-11-01  Darshit Shah  <darnir@gmail.com>
 6795 
 6796 	* configure.ac: Fix check for libpsl
 6797 
 6798 2014-10-31  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6799 
 6800 	* src/openssl.c: make _get_rfc2253_formatted() static
 6801 
 6802 2014-10-31  Pär Karlsson <feinorgh@gmail.com>
 6803 	* tests/WgetTests.pm: Proper conditional operators, tidied up code, idiomatic
 6804 	improvements as per modern Perl best practices.
 6805 	* tests/WgetFeature.pm: Tidied up code, idiomatic improvements for readability
 6806 	* tests/FTPServer.pm: Tidied up code (perltidy -gnu)
 6807 	* tests/FTPTest.pm: Likewise
 6808 	* tests/HTTPServer.pm: Likewise
 6809 	* tests/HTTPTest.pm: Likewise
 6810 
 6811 2014-10-30  Mike Frysinger <vapier@gentoo.org>
 6812 
 6813 	* tests/WgetFeature.pm: fix skip exit code to 77
 6814 
 6815 2014-10-30  Mike Frysinger <vapier@gentoo.org>
 6816 
 6817 	* src/openssl.c: fix implicit decl warning
 6818 
 6819 2014-10-29  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6820 
 6821 	* src/openssl.c: print cert subject and issuer RFC2253 compliant
 6822 	* src/openssl.c (ssl_check_certificate): removed memory leak
 6823 
 6824 2014-10-29  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6825 
 6826 	* src/http.c (gethttp): use CLOSE_INVALIDATE instead of fd_close
 6827 
 6828 2014-10-29  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6829 
 6830 	* src/http.c (gethttp): fix memory leak
 6831 
 6832 2014-10-29  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6833 
 6834 	* src/http.c (CLOSE_FINISH): always set fd invalid after close
 6835 
 6836 2014-10-29  Peter Meiser <meiser@gmx-topmail.de> (tiny change)
 6837 
 6838 	* src/openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL
 6839 	without SSLv3.
 6840 
 6841 2014-10-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6842 
 6843 	* tests/Test-proxied-https-auth.px: synchronize client and server
 6844 
 6845 2014-10-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6846 
 6847 	* configure.ac: check for strlcpy()
 6848 
 6849 2014-10-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 6850 
 6851 	* configure.ac: add --enable-valgrind-tests
 6852 
 6853 2014-10-28  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6854 
 6855 	* src/utils.c: added strlcpy(), concat_strings() rewritten
 6856 	* src/utils.h: added strlcpy()
 6857 
 6858 2014-10-28  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6859 
 6860 	* src/ftp.c (ftp_loop_internal): Fix memory leak
 6861 	* src/http.c (gethttp): Fix two memory leaks
 6862 	* src/init.c (cleanup): Fix compile errors and warnings
 6863 	* src/init.c (cleanup): Free more opt variables
 6864 	* src/main.c (main): Fix two memory leaks
 6865 	* src/retr.c (retrieve_url): Fix two memory leaks
 6866 	* src/retr.c (retrieve_url): Add iri to call to url_parse()
 6867 	* src/url.c (url_parse): Fix memory leak
 6868 
 6869 2014-10-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 6870 
 6871 	* tests/Makefile.am: Replace $FOO with @VAR@.
 6872 
 6873 2014-10-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 6874 
 6875 	* src/Makefile.am: Replace $FOO with @VAR@.
 6876 
 6877 2014-10-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 6878 
 6879 	* doc/Makefile.am: Replace $FOO with @VAR@.
 6880 
 6881 2014-10-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 6882 
 6883 	* cfg.mk (local-checks-to-skip): Add sc_makefile_at_at_check.
 6884 
 6885 	* Makefile.am: Replace $FOO with @VAR@.
 6886 
 6887 2014-10-25  Tim Ruehsen <tim.ruehsen@gmx.de>
 6888 
 6889 	* tests/WgetTests.pm (run): generate valgrind command line if requested
 6890 	* tests/Makefile.am: set/export VALGRIND_TESTS
 6891 
 6892 2014-10-25  Tim Ruehsen <tim.ruehsen@gmx.de>
 6893 
 6894 	* testenv/test/base_test.py (gen_cmd_line): generate valgrind command line if requested
 6895 	* testenv/README: amend description of VALGRIND_TESTS
 6896 	* testenv/Makefile.am: set/export VALGRIND_TESTS
 6897 
 6898 2014-10-22  Ángel González <keisial@gmail.com>
 6899 
 6900 	* src/css-url.c (get_uri_string): Honor the specified length argument.
 6901 
 6902 2014-10-21  Matthew Atkinson  <mutley456@ntlworld.com> (tiny change)
 6903 
 6904 	* src/http.c (gethttp): Always send Content-Length header when method is POST,
 6905 	PUT, or PATCH even with no post body, as some servers will reject the
 6906 	request otherwise.
 6907 
 6908 2014-10-16  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6909 
 6910 	* src/url.c (url_parse): little code cleanup
 6911 	* src/html-url.c (get_urls_html): HTTP header Content-Type charset preceeds http-equiv
 6912 	* src/iri.c (do_conversion): moved iconv code completely into the function
 6913 	* src/iri.c (do_conversion): call url_unescape to fix charset conversion
 6914 	* src/iri.c (remote_to_utf8): use strcasecmp to compare encoding
 6915 
 6916 	* src/gnutls.c (ssl_connect_wget): do not use SSLv3 except explicitely requested
 6917 	* src/openssl.c (ssl_init): do not use SSLv3 except explicitely requested
 6918 
 6919 2014-10-16  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6920 
 6921 	* doc/wget.texi (Download Options): update --secure-protocol description
 6922 
 6923 2014-10-08 Nikolay Morozov <n.morozov@securitycode.ru>
 6924 	   Sergey Lvov <s.lvov@securitycode.ru>
 6925 
 6926 	* src/init.c (cmd_spec_secure_protocol): Add support for
 6927 	TLS v1.1 and TLS v1.2 protocols
 6928 	* src/openssl.c (ssl_init): Add support for OpenSSL engines
 6929 
 6930 2014-10-08  Darshit Shah  <darnir@gmail.com>
 6931 
 6932 	* testenv/Makefile.am: Fix EXTRA_DIST variable for make distcheck
 6933 	* testenv/server/http/http_server.py (HTTPServer.__init__):  Fix how CERTFILE is
 6934 	found when running make dist / make distcheck.
 6935 
 6936 2014-10-06  Tim Ruehsen <tim.ruehsen@gmx.de>
 6937 
 6938 	* tests/Test-iri.px: fixed encodings
 6939 	* tests/Test-iri-forced-remote.px: fixed encodings
 6940 	* tests/Test-iri-percent.px: fixed encodings
 6941 	* tests/Test-idn-meta.px: fixed encodings
 6942 
 6943 2014-10-02  Tim Ruehsen <tim.ruehsen@gmx.de>
 6944 
 6945 	* tests/tests/WgetTests.pm: use filename as default test name
 6946 	* tests/tests/Test-*.px: removed redundant 'name => ...'
 6947 
 6948 2014-10-01  Tim Ruehsen <tim.ruehsen@gmx.de>
 6949 
 6950 	* tests/tests/Makefile.am: remove run-px, fixing dist-check
 6951 
 6952 2014-10-01  Tim Ruehsen <tim.ruehsen@gmx.de>
 6953 
 6954 	* tests/Test--post-file.px: name => "Test--post-file", fixing race
 6955 	condition.
 6956 	* tests/Test-N-no-info.px: name => "Test-N-no-info", fixing race
 6957 	condition.
 6958 	* tests/Test-N-smaller.px: name => "Test-N-smaller", fixing race
 6959 	condition.
 6960 	* tests/Test-c-shorter.px: name => "Test-c-shorter", fixing race
 6961 	condition.
 6962 	* tests/Test-proxy-auth-basic.px: name => "Test-proxy-auth-basic",
 6963 	fixing race condition.
 6964 	* tests/Test-proxied-https-auth.px: removed debug print line.
 6965 
 6966 2014-10-01  Darshit Shah  <darnir@gmail.com>
 6967 
 6968 	* testenv/Makefile.am: Run the tests in Python's Optimizedmode
 6969 	* testenv/conf/__init__.py (gen_hook): Use try..except instead of if..else
 6970 	* testenv/misc/color_terminal.py: System and check will not change while a test is
 6971 	run. Do not test for them on every invocation of printer()
 6972 	* testenv/server/http/http_server.py: The ssl and re modules are required by
 6973 	specific functions. Load them lazily
 6974 	(HTTPSServer.__init__): Lazy load ssl module here
 6975 	(_handler.parse_range_header): Lazy load re module here
 6976 	(_Handler.get_rule_list): get() can return a default value. Use it
 6977 	(_Handler.guess_type): Same
 6978 	(_Handler.is_authorized): Unused function artefact. Remove
 6979 	(_Handler.reject_headers): Unused function artefact. Remove
 6980 
 6981 2014-09-30  Tim Ruehsen  <tim.ruehsen@gmx.de>
 6982 
 6983 	* testenv/test/base_test.py: Add --track-origins=yes to valgrind testing
 6984 
 6985 2014-09-25  Tim Ruehsen <tim.ruehsen@gmx.de>
 6986 
 6987 	* tests/Makefile.am: Modified to use parallel test harness
 6988 	* tests/Test-proxied-https-auth.px: get $top_srcdir from ENV
 6989 	* tests/run-px: removed
 6990 	* tests/WgetTest.pm.in: removed
 6991 	* tests/WgetTest.pm: get $top_srcdir from ENV
 6992 
 6993 2014-09-25  Tim Ruehsen <tim.ruehsen@gmx.de>
 6994 
 6995 	* configure.ac: removed WgetTest.pm.in
 6996 	* .gitignore: removed WgetTest.pm
 6997 
 6998 2014-09-12  Darshit Shah  <darnir@gmail.com>
 6999 
 7000 	* bootstrap.conf: Add GNULib module mbiter
 7001 
 7002 2014-09-08  Darshit Shah  <darnir@gmail.com>
 7003 
 7004 	* src/init.c (defaults): Set retr-symlinks to true by default. This changes a
 7005 	default setting of wget. Fixes security bug CVE-2014-4877
 7006 
 7007 2014-09-08  Darshit Shah  <darnir@gmail.com>
 7008 
 7009 	* src/ftp.c (ftp_retrieve_glob): Also check for invalid entries along with
 7010 	harmful filenames
 7011 	(is_valid_entry): New function. Check if the provided node is a valid entry
 7012 	in a listing file.
 7013 
 7014 2014-09-08  Darshit Shah  <darnir@gmail.com>
 7015 
 7016 	* doc/wget.texi (symbolic links): Update documentation of retr-symlinks to
 7017 	reflect the new default. Add warning about potential security issues with
 7018 	--retr-symlinks=yes.
 7019 
 7020 2014-08-08  Darshit Shah  <darnir@gmail.com>
 7021 
 7022 	* testenv/conf/__init__.py: Add extra newline according to PEP8
 7023 	* testenv/conf/{authentication,expect_header,expected_files,expected_ret_code,
 7024 	files_crawled,hook_sample,local_files,reject_header,response,send_header,
 7025 	server_files,urls,wget_commands}.py: Add docstrings explaining the conf file
 7026 	and how it should be used
 7027 	* testenv/server/http/http_server (InvalidRangeHeader): Clear TODO and eliminate
 7028 	this exception. Use ServerError for all such purposes.
 7029 	(_Handler): Remove reference to InvalidRangeHeader
 7030 	(_handler.parse_range_header): User ServerError instead of InvalidRangeHeader
 7031 	(_Handler.do_GET):  Add docstring
 7032 	(_Handler.do_POST): Add docstring. Also create an empty dict for rules if
 7033 	no rules are supplied. Send the Location header as suggested in RFC 7231
 7034 	(_Handler.do_PUT): Don't pop the server file already. Push it to later in ..
 7035 	(_Handler.send_put): .. Here. If the file exists respond with a 204 No
 7036 	Content message and pop the file for replacement. Do not send the
 7037 	Content-Length, Content-Type headers since PUT requests should not respond
 7038 	with data.
 7039 	(_Handler.parse_auth_header): Fit line within 80 chars
 7040 	(_Handler.check_response): Better visual indent
 7041 	(_Handler.authorize_digest): Better visual indent.
 7042 	(_Handler.expect_headers): Remove unused function
 7043 	(_Handler.guess_type): Fix indentation
 7044 	(HTTPd): Add newline according to PEP8 guidelines
 7045 	(HTTPSd): Fix indentation
 7046 	(StoppableHTTPServer): Add docstring
 7047 	(HTTPSServer): Fix indentation
 7048 	(WgetHTTPRequestHandler): Merge class into _handler.
 7049 	(_Handler): Add docstring
 7050 	(_Handler.parse_range_header): Fix indentation
 7051 	(ServerError): Split exception into separate file ...
 7052 	* testenv/exc/server_error.py: ... Here
 7053 	* testenv/misc/colour_terminal.py: Add docstring, fix indentation
 7054 	* testenv/test/base_test.py: Fix visual indent
 7055 	* testenv/test/http_test.py: Fit within 80 char lines
 7056 
 7057 2014-08-04  Darshit Shah  <darnir@gmail.com>
 7058 
 7059 	* testenv/conf/server_conf.py: Delete file. Server configuration is now done via the
 7060 	server_conf() method.
 7061 	* testenv/server/http/http_server.py (StppableHTTPServer.server_sett): Delete
 7062 	method required by the above hook
 7063 	(HTTPd.server_sett): Same
 7064 
 7065 2014-08-03  Giuseppe Scrivano  <gscrivano@gnu.org>
 7066 
 7067 	* doc/wget.texi (Download Options): Fix texinfo warning.
 7068 
 7069 2014-07-28  Ángel González <keisial@gmail.com>
 7070 	* contrib: Created contrib folder.
 7071 	* contrib/tsocked-wget: Added wrapper for usage with socks proxy.
 7072 
 7073 2014-07-26  Darshit Shah  <darnir@gmail.com>
 7074 
 7075 	* testenv/Test-*.py: Remove the '-d' switch from WGET_OPTIONS.
 7076 	* testenv/test/base_test (BaseTest.gen_cmd_line): Add --debug and --no-config to the
 7077 	list of switches passed to wget unconditionally.
 7078 
 7079 2014-07-25  Darshit Shah  <darnir@gmail.com>
 7080 
 7081 	* .gitignore: Add a gitignore file for the project.
 7082 
 7083 2014-07-23  Darshit Shah  <darnir@gmail.com>
 7084 
 7085 	* testenv/test/base_test.py (BaseTest.gen_cmd_line): Add support for running all
 7086 	tests through valgrind if the relevant environment variable is set
 7087 	* testenv/conf/expected_ret_code (ExpectedRetCode.__call__): Valgrind returns error
 7088 	code 45 when it detects a memory leak.
 7089 	* testenv/Readme: Update with details about valgrind tests
 7090 
 7091 2014-07-23  Darshit Shah  <darnir@gmail.com>
 7092 
 7093 	* src/http.c (gethttp): Fix a memory leak when retrying authorization
 7094 	(gethttp): Fix memory leak when trying to parse content disposition headers
 7095 	(http_loop): Assigning a new value to *local)file without freeing the old
 7096 	one causes a memory leak
 7097 	(http_loop): Free the HTTP message and error strings before continuing loop
 7098 
 7099 2014-07-22  Darshit Shah  <darnir@gmail.com>
 7100 
 7101 	* testenv/(README): Remove old TODO and document SERVER_WAIT variable
 7102 
 7103 2014-07-22  Darshit Shah  <darnir@gmail.com>
 7104 
 7105 	* configure.ac: Fix broken code for detecting libpsl
 7106 
 7107 2014-07-21  Darshit Shah  <darnir@gmail.com>
 7108 
 7109 	* src/cookies.c (check_domain_match): Fix a potential memory leak when checking
 7110 	cookie domain names
 7111 
 7112 2014-07-21  Darshit Shah  <darnir@gmail.com>
 7113 
 7114 	* configure.ac: Fix check for Libpsl
 7115 
 7116 2014-07-21  Daniel Stenberg  <daniel@haxx.se>
 7117 
 7118 	* src/main.c (print_help): HTTP Method is a part of the Request not Header
 7119 
 7120 2014-07-07  Tomas Hozza  <thozza@redhat.com>
 7121 
 7122 	* src/iri.c (locale_to_utf8): Fix checking of iconv_open return code.
 7123 
 7124 2014-07-05  Darshit Shah  <darnir@gmail.com>
 7125 
 7126 	* src/http.c (gethttp): Fix indentation of conditional block
 7127 	(gethttp): Remove unneeded variable
 7128 
 7129 2014-07-05  Darshit Shah  <darnir@gmail.com>
 7130 
 7131 	* src/cookies.c (check_domain_match): Libpsl requires that all domain names
 7132 	passed to it be in utf8 lower case.
 7133 
 7134 2014-07-03  Darshit Shah  <darnir@gmail.com>
 7135 
 7136 	* src/wget.h (uerr_t): Remove unused error codes
 7137 	* src/http.c: (http_loop): Remove reference to unused error code
 7138 
 7139 2014-06-30  Giuseppe Scrivano  <gscrivan@redhat.com>
 7140 
 7141 	* src/convert.c (local_quote_string): Initialize newname.
 7142 
 7143 2014-06-29  Giuseppe Scrivano  <gscrivan@redhat.com>
 7144 
 7145 	* src/warc.c (warc_write_date_header): Avoid out-of-scope variable usage.
 7146 
 7147 2014-06-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 7148 
 7149 	* src/Makefile.am (wget_SOURCES): Remove space-tab indentation.
 7150 
 7151 2014-06-28  Giuseppe Scrivano  <gscrivan@redhat.com>
 7152 
 7153 	* cfg.mk (local-checks-to-skip): Remove some checks.
 7154 
 7155 2014-06-27  Giuseppe Scrivano  <gscrivan@redhat.com>
 7156 
 7157 	* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Ignore msdos/* and vms/* from
 7158 	syntax-check.
 7159 
 7160 2014-06-22  Giuseppe Scrivano  <gscrivan@redhat.com>
 7161 
 7162 	* src/warc.c [HAVE_UUID_CREATE]: Include <uuid.h>
 7163 	(warc_uuid_str) [HAVE_UUID_CREATE]: Use uuid_create and
 7164 	uuid_to_string to generate the UUID.
 7165 	Reported by: Alex Zimnitsky <aavzz@yandex.ru>
 7166 
 7167 2014-06-22  Giuseppe Scrivano  <gscrivan@redhat.com>
 7168 
 7169 	* configure.ac: Add check for uuid_create.
 7170 
 7171 2014-06-22  Darshit Shah  <darnir@gmail.com> (tiny change)
 7172 
 7173 	* src/progress.c (create_image): Align percentage download output better.
 7174 
 7175 2014-06-22  Darshit Shah  <darnir@gmail.com>
 7176 
 7177 	* testenv/(conf.files_crawled): diff is a set object and needs explicit str
 7178 	conversion.
 7179 
 7180 2014-06-21  Nikita Vetrov  <admin@kanaria.ru> (tiny change)
 7181 
 7182 	* src/openssl.c: Add one-time call OPENSSL_config in ssl_init.
 7183 
 7184 2014-06-21  Giuseppe Scrivano  <gscrivan@redhat.com>
 7185 
 7186 	* src/mswindows.c (fake_fork_child): Fix build error.
 7187 	Reported by: Gisle Vanem <gvanem@yahoo.no>.
 7188 
 7189 2014-06-19  Giuseppe Scrivano  <gscrivan@redhat.com>
 7190 
 7191 	* src/mswindows.c (fake_fork_child): Revert dinamic allocation of
 7192 	info->lfilename.
 7193 	Reported by: Gisle Vanem <gvanem@yahoo.no>.
 7194 
 7195 2014-06-16  Giuseppe Scrivano  <gscrivan@redhat.com>
 7196 
 7197 	* src/http.c (gethttp): Set "Connection: Keep-Alive" with keep-alive
 7198 	connections when using a proxy too.
 7199 	Reported by: Thorsten Schroeteler <Thorsten.Schroeteler@cassidian.com>.
 7200 
 7201 2014-06-16  Darshit Shah  <darnir@gmail.com>
 7202 
 7203 	* src/test.c: Include locale.h header for gettext.
 7204 
 7205 2014-06-16  Darshit Shah  <darnir@gmail.com>
 7206 
 7207 	* src/main.c (print_help, print_version): Mark as noreturn.
 7208 	* src/utils.c (memfatal, abort_run_with_timout): Same
 7209 
 7210 2014-06-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 7211 
 7212 	* tests/Makefile.am: Remove @VAR@ with $FOO.
 7213 
 7214 	* tests/FTPTest.pm: Remove terminating empty lines.
 7215 	* tests/HTTPServer.pm: Likewise.
 7216 	* tests/HTTPTest.pm: Likewise.
 7217 	* tests/Test--httpsonly-r.px: Likewise.
 7218 	* tests/Test--no-content-disposition-trivial.px: Likewise.
 7219 	* tests/Test--no-content-disposition.px: Likewise.
 7220 	* tests/Test--spider-fail.px: Likewise.
 7221 	* tests/Test--spider-r--no-content-disposition-trivial.px: Likewise.
 7222 	* tests/Test--spider-r--no-content-disposition.px: Likewise.
 7223 	* tests/Test--spider-r-HTTP-Content-Disposition.px: Likewise.
 7224 	* tests/Test--spider-r.px: Likewise.
 7225 	* tests/Test--spider.px: Likewise.
 7226 	* tests/Test--start-pos--continue.px: Likewise.
 7227 	* tests/Test--start-pos.px: Likewise.
 7228 	* tests/Test-E-k-K.px: Likewise.
 7229 	* tests/Test-E-k.px: Likewise.
 7230 	* tests/Test-HTTP-Content-Disposition-1.px: Likewise.
 7231 	* tests/Test-HTTP-Content-Disposition-2.px: Likewise.
 7232 	* tests/Test-HTTP-Content-Disposition.px: Likewise.
 7233 	* tests/Test-N--no-content-disposition-trivial.px: Likewise.
 7234 	* tests/Test-N--no-content-disposition.px: Likewise.
 7235 	* tests/Test-N-HTTP-Content-Disposition.px: Likewise.
 7236 	* tests/Test-N-current.px: Likewise.
 7237 	* tests/Test-N-no-info.px: Likewise.
 7238 	* tests/Test-N-old.px: Likewise.
 7239 	* tests/Test-N-smaller.px: Likewise.
 7240 	* tests/Test-N.px: Likewise.
 7241 	* tests/Test-O--no-content-disposition-trivial.px: Likewise.
 7242 	* tests/Test-O--no-content-disposition.px: Likewise.
 7243 	* tests/Test-O-HTTP-Content-Disposition.px: Likewise.
 7244 	* tests/Test-O-nc.px: Likewise.
 7245 	* tests/Test-O-nonexisting.px: Likewise.
 7246 	* tests/Test-O.px: Likewise.
 7247 	* tests/Test-Restrict-Lowercase.px: Likewise.
 7248 	* tests/Test-Restrict-Uppercase.px: Likewise.
 7249 	* tests/Test-auth-basic.px: Likewise.
 7250 	* tests/Test-auth-no-challenge-url.px: Likewise.
 7251 	* tests/Test-auth-no-challenge.px: Likewise.
 7252 	* tests/Test-auth-with-content-disposition.px: Likewise.
 7253 	* tests/Test-c-full.px: Likewise.
 7254 	* tests/Test-c-partial.px: Likewise.
 7255 	* tests/Test-c-shorter.px: Likewise.
 7256 	* tests/Test-c.px: Likewise.
 7257 	* tests/Test-cookies-401.px: Likewise.
 7258 	* tests/Test-cookies.px: Likewise.
 7259 	* tests/Test-ftp--start-pos.px: Likewise.
 7260 	* tests/Test-ftp-bad-list.px: Likewise.
 7261 	* tests/Test-ftp-iri-disabled.px: Likewise.
 7262 	* tests/Test-ftp-iri-fallback.px: Likewise.
 7263 	* tests/Test-ftp-iri-recursive.px: Likewise.
 7264 	* tests/Test-ftp-iri.px: Likewise.
 7265 	* tests/Test-ftp-list-Multinet.px: Likewise.
 7266 	* tests/Test-ftp-list-UNIX-hidden.px: Likewise.
 7267 	* tests/Test-ftp-list-Unknown-a.px: Likewise.
 7268 	* tests/Test-ftp-list-Unknown-hidden.px: Likewise.
 7269 	* tests/Test-ftp-list-Unknown-list-a-fails.px: Likewise.
 7270 	* tests/Test-ftp-list-Unknown.px: Likewise.
 7271 	* tests/Test-ftp-pasv-fail.px: Likewise.
 7272 	* tests/Test-ftp-recursive.px: Likewise.
 7273 	* tests/Test-ftp.px: Likewise.
 7274 	* tests/Test-i-ftp.px: Likewise.
 7275 	* tests/Test-i-http.px: Likewise.
 7276 	* tests/Test-idn-cmd-utf8.px: Likewise.
 7277 	* tests/Test-idn-cmd.px: Likewise.
 7278 	* tests/Test-idn-headers.px: Likewise.
 7279 	* tests/Test-idn-meta.px: Likewise.
 7280 	* tests/Test-idn-robots-utf8.px: Likewise.
 7281 	* tests/Test-idn-robots.px: Likewise.
 7282 	* tests/Test-iri-disabled.px: Likewise.
 7283 	* tests/Test-iri-forced-remote.px: Likewise.
 7284 	* tests/Test-iri-list.px: Likewise.
 7285 	* tests/Test-iri-percent.px: Likewise.
 7286 	* tests/Test-iri.px: Likewise.
 7287 	* tests/Test-k.px: Likewise.
 7288 	* tests/Test-meta-robots.px: Likewise.
 7289 	* tests/Test-nonexisting-quiet.px: Likewise.
 7290 	* tests/Test-noop.px: Likewise.
 7291 	* tests/Test-np.px: Likewise.
 7292 	* tests/Test-proxy-auth-basic.px: Likewise.
 7293 	* tests/Test-restrict-ascii.px: Likewise.
 7294 	* tests/Test-stdouterr.px: Likewise.
 7295 	* tests/WgetTest.pm.in: Likewise.
 7296 
 7297 2014-06-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 7298 
 7299 	* src/ftp.c: Replace main() with main in comments.
 7300 	* src/http.c: Likewise.
 7301 	* src/init.c: Likewise.
 7302 
 7303 	* src/cmpt.c (day_of_the_week): Remove repeated word in a comment.
 7304 	* src/utils.c: Remove repeated word in a comment.
 7305 
 7306 	* src/gnutls.c: Do not include <assert.h>.
 7307 
 7308 	* src/connect.c: Do not depend on always defined macros.
 7309 	* src/convert.c: Likewise.
 7310 	* src/css-url.c: Likewise.
 7311 	* src/hash.c: Likewise.
 7312 	* src/mswindows.h: Likewise.
 7313 	* src/netrc.c: Likewise.
 7314 	* src/progress.c: Likewise.
 7315 	* src/sysdep.h: Likewise.
 7316 	* src/utils.c: Likewise.
 7317 	* src/wget.h: Likewise.
 7318 
 7319 	* src/Makefile.am: Remove @VAR@ with $FOO.
 7320 
 7321 	* src/DESCRIP_MODS.MMS: Remove terminating empty lines.
 7322 	* src/DESCRIP_SRC.MMS: Likewise.
 7323 	* src/convert.c: Likewise.
 7324 	* src/exits.c: Likewise.
 7325 	* src/http.c: Likewise.
 7326 	* src/init.c: Likewise.
 7327 	* src/iri.c: Likewise.
 7328 	* src/res.c: Likewise.
 7329 	* src/spider.c: Likewise.
 7330 	* src/test.c: Likewise.
 7331 	* src/test.h
 7332 	* src/url.c: Likewise.
 7333 	* src/utils.c: Likewise.
 7334 	* src/vms.c: Likewise.
 7335 
 7336 	* src/decc_ver.c (main): Ensure bindtextdomain is called.
 7337 	* src/hash.c (main): Likewise.
 7338 	* src/html-parse.c: Likewise.
 7339 	* src/netrc.c: Likewise.
 7340 	* src/test.c: Likewise.
 7341 	* src/trunc.c: Likewise.
 7342 
 7343 2014-06-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 7344 
 7345 	* msdos/Makefile.DJ: Remove terminating empty lines.
 7346 	* msdos/Makefile.WC: Likewise.
 7347 	* msdos/msdos.c: Likewise.
 7348 
 7349 2014-06-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 7350 
 7351 	* doc/Makefile.am: Remove @VAR@ with $FOO.
 7352 
 7353 	* doc/fdl.texi: Remove terminating empty lines.
 7354 
 7355 2014-06-11  Giuseppe Scrivano  <gscrivan@redhat.com>
 7356 
 7357 	* NEWS: Remove repeated word.
 7358 
 7359 	* po/POTFILES.in: Add lib/regcomp.c.
 7360 
 7361 	* configure.ac: Do not depend on always defined macros.
 7362 	* vms/vms.h: Likewise.
 7363 
 7364 	* Makefile.am: Remove @VAR@ with $FOO.
 7365 	* util/Makefile.am: Likewise.
 7366 
 7367 	* ABOUT-NLS: Remove terminating empty lines.
 7368 	* MAILING-LIST: Likewise.
 7369 	* util/rmold.pl: Likewise.
 7370 
 7371 	* util/trunc.c (main): Ensure bindtextdomain is called.
 7372 
 7373 2014-06-10  Giuseppe Scrivano  <gscrivan@redhat.com>
 7374 
 7375 	* src/wget.h: Remove trailing whitespaces.
 7376 
 7377 	* src/retr.c (getproxy): Return a dinamically allocated string and...
 7378 	(retrieve_from_file, retrieve_url, url_uses_proxy): ...fix the caller
 7379 	to handle it.
 7380 	* src/init.c (home_dir): Replace strncpy with strdup.
 7381 	* src/mswindows.c (struct fake_fork_info): Make lfilename a pointer.
 7382 	(fake_fork_child): Replace strncpy with strdup.
 7383 	* src/http.c (ensure_extension): Replace strncpy with memcpy, not much
 7384 	better but make "make syntax-check" happy and we know the size.
 7385 	* src/ftp.c (getftp): Add parameter last_expected_bytes.
 7386 	(ftp_loop_internal): Pass parameter last_expected_bytes to getftp.
 7387 	* src/ftp-basic.c: Remove declaration of ftp_last_respline.
 7388 	(ftp_response): Do not set ftp_last_respline.
 7389 	* src/css-url.c (get_uri_string): Replace strncpy with strdup.
 7390 	* src/vms.c (set_vms_name): Replace strncpy with strdup.
 7391 
 7392 	* src/exits.c: Move WGET_EXIT_* definitions to...
 7393 	* src/exits.h: ...here.  Add WGET_EXIT_GENERIC_ERROR, WGET_EXIT_PARSE_ERROR.
 7394 	Remove WGET_EXIT_MINIMUM.
 7395 	* src/init.c: Fix calls to exit().
 7396 	* src/log.c: Likewise.
 7397 	* src/main.c: Likewise.
 7398 	* src/mswindows.c: Likewise.
 7399 	* src/netrc.c: Likewise.
 7400 	* src/utils.c: Likewise.
 7401 	* src/warc.c: Likewise.
 7402 	* src/Test-stdouterr.px: Likewise.
 7403 
 7404 2014-06-10  Giuseppe Scrivano  <gscrivan@redhat.com>
 7405 
 7406 	* doc/wget.texi: Remove trailing whitespaces.
 7407 
 7408 	* doc/fdl.texi: Copy from gnulib.
 7409 
 7410 2014-06-10  Giuseppe Scrivano  <gscrivan@redhat.com>
 7411 
 7412 	* build-aux/build_info.pl: Remove trailing whitespaces.
 7413 	* configure.ac: Likewise.
 7414 
 7415 2014-06-08  Giuseppe Scrivano  <gscrivan@redhat.com>
 7416 
 7417 	* src/main.c: Make `program_name' not static.
 7418 
 7419 	* src/cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is defined.
 7420 
 7421 2014-05-30  Darshit Shah  <darnir@gmail.com>
 7422 
 7423 	* src/cookies.c (check_domain_match): Use libpsl to check if the cookie domain
 7424 	is valid. Also remove unneeded test for numeric addresses.
 7425 
 7426 2014-05-30  Darshit Shah  <darnir@gmail.com>
 7427 
 7428 	* src/connect.{c,h}, convert.{c,h}, cookies.{c,h}, ftp-ls.c, ftp.h, gettext.h,
 7429 	hash.h, host.h, html-parse.h, html-url.h, http.c, init.c, main.c, mswindows.c,
 7430 	netrc.h, openssl.c, options.h, ptimer.h, recur.c, retr.c, sysdep.h, url.h,
 7431 	vms.c, warc.c, wget.h: Whitespace and formatting changes only.
 7432 
 7433 2014-05-30  Darshit Shah  <darnir@gmail.com>
 7434 
 7435 	* configure.ac: Allow compilation without libpsl.
 7436 	* README.checkout: Add libpsl as a dependency.
 7437 
 7438 2014-05-24  Giuseppe Scrivano  <gscrivan@redhat.com>
 7439 
 7440 	* gnulib: update module.
 7441 
 7442 2014-05-24  Darshit Shah  <darnir@gmail.com>
 7443 
 7444 	* doc/wget.texi: Document noscroll parameter to progress=bar
 7445 
 7446 2014-05-20  Darshit Shah  <darnir@gmail.com>
 7447 
 7448 	* src/utils.c (human_readable): Add new parameters, acc and decimals for the
 7449 	function. acc decides the number under which decimal values are shown for a
 7450 	certain value, while decimals decides the number of decimal digits displayed
 7451 	* src/utils.h (human_readable): Update declartion of the function
 7452 	* src/ftp.c (print_length): Update call to human_readable
 7453 	* src/http.c (gethttp): Same
 7454 	* src/init.c (defaults): Enable scrolling filenames by default
 7455 	* src/main.c (main): Update call to human_readable
 7456 	* src/options.h (options): Add new option noscroll
 7457 	* src/progress.c (create_image): Update the look of the progress bar. Human
 7458 	readable download size by default and add support for noscroll.
 7459 	(dot_set_params, bar_set_params): Change paramter to char * since strtok
 7460 	needs to modify the string.
 7461 	(bar_set_params): Add support for noscroll parameter to bar.
 7462 
 7463 2014-05-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 7464 
 7465 	* src/retr.c (retrieve_url): fixed memory leak
 7466 
 7467 2014-05-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 7468 
 7469 	* src/ftp-ls.c (ftp_parse_vms_ls): Explicitly typecast strlen's output
 7470 	* src/ftp.c (getftp): Prevent declaration of shadow variable
 7471 	* src/html-url.c (tag_handle_base, tag_handle_form, tag_handle_link,
 7472 	tag_handle_meta): Compiler directive to ignore unused variable
 7473 	* src/html-url.h (cleanup_html_url): Add function declaration
 7474 	* src/http-ntlm.c (ntlm_input, mkhash): Use ssize_t to declare variables that store
 7475 	sizes.
 7476 	(mkhash): Explicitly typecast output of c_toupper
 7477 	(short_pair): Add typecasts to prevent compiler warnings
 7478 	(ntlm-output): Fix datatypes of various variables
 7479 	* src/http.c (gethttp): Prevent declaration of shadow variable err
 7480 	(gethttp): remove unreachable code
 7481 	(test_parse_content_disposition): Fix variable declarations and use
 7482 	countof() macro
 7483 	* src/init.c (run_command): Prevent declaration of ghost variable
 7484 	(cmd_string, cmd_string_uppercase, cmd_file, cnd_vector,
 7485 	cmd_directory_vector, cmd_spec_dirstruct, cmd_spec_header,
 7486 	cmd_spec_warc_header, cmd_spec_htmlify, cmd_spec_mirror,
 7487 	cmd_spec_prefer_family, cmd_spec_progress, cmd_spec_recursive,
 7488 	cmd_spec_regex_type, cmd_spec_restrict_file_names, cmd_spec_report_speed,
 7489 	cmd_spec_timeout, cmd_spec_useragent, cmd_spec_verbose): Add compiler
 7490 	directive to ignore unused variable
 7491 	(cleanup_html_url, spider_cleanup): Remove declarations
 7492 	(test_commands_sorted): Cleanup code
 7493 	(test_cmd_spec_restrict_file_names): Use correct data types
 7494 	* src/iri.c (remote_to_utf8): Use more verbose variable name
 7495 	* src/main.c (init_switches): Prevent declaration of ghost variable
 7496 	* src/netrc.c (netrc_cleanup): Create cleanup function on common naming scheme
 7497 	* src/netrc.h (netrc_cleanup): Declare function
 7498 	* src/openssl.c (openssl_write, openssl_errstr): Compiler directive to ignore
 7499 	unused parameter
 7500 	(openssl_errstr): Explcicitly typecasr output of ASN1_STRING_length
 7501 	* src/options.h (struct options): Declare includes and excludes as const char **
 7502 	* src/progress.c (progress_interactive_p, progress_handle_sigwinch): Compiler
 7503 	directive to ignore unused parameter
 7504 	* src/res.c (test_is_robots_txt_url): Fix datatypes
 7505 	* src/retr.c (line_terminator): Add compiler directive for ignoring unused
 7506 	paramter. Remove unused variable.
 7507 	* src/spider.h (spider_cleanup): Declare function
 7508 	* src/test,c (main): declare unused paramter
 7509 	* src/test.h (test_*): Declare functions
 7510 	* src/url.c (url_string): Explicit typecast of password strings
 7511 	(run_test): Declare *test, struct tests and *expected_result as const
 7512 	(test_path_simplify, test_append_uri_pathl, test_are_urls_equal): Fix datatypes
 7513 	* src/utls.c (fork_to_background): Be more verbose when errors occur
 7514 	(dir_matches_p, test_dir_matches_p): Declare char * as const as required
 7515 	(base64_encode, base64_decode, get_max_length): Set correct return type
 7516 	(match_pcre_regex, match_posix_regex): Use correct datatypes and typecasts
 7517 	(test_subdir_p): static const struct
 7518 	* src/utils.h (base64_encode, base64_decode, get_max_length): Fix return type
 7519 	* src/warc.c (ward_write_cdx_record): unused parameter
 7520 	(struct hash_table *warc_cdx_dedup_table): Declare as static
 7521 
 7522 2014-05-01  Darshit Shah  <darnir@gmail.com> (tiny change)
 7523 
 7524 	* src/progress.c (dot_finish): Do not print extra newlines when not in verbose
 7525 	mode. (Purely aesthetic change)
 7526 	(get_eta): Add extra space when eta is printed.
 7527 	(create_image): Remove erroneous space from being added to progress bar when
 7528 	filename > MAX_FILENAME_LEN
 7529 	(create_image): Remove extra space before printed download speeds
 7530 	Make the filename a fixed width column.
 7531 
 7532 2014-05-01  Darshit Shah  <darnir@gmail.com>
 7533 
 7534 	* doc/wget.texi: Add documentation for --show-progress
 7535 
 7536 2014-05-01  Benjamin Goose  <gans+wget@tngtech.com>
 7537 
 7538 	* src/http.c: Fix small memory leak
 7539 
 7540 2014-04-22  Tim Ruehsen  <tim.ruehsen@gmx.de>
 7541 
 7542 	* src/http.c (gethttp): Fix 204 response handling
 7543 
 7544 	* tests/Test-204.px: added file
 7545 	* tests/run-px: added Test-204.px
 7546 	* tests/Makefile.am: added Test-204.px
 7547 
 7548 
 7549 2014-04-22  Giuseppe Scrivano  <gscrivan@redhat.com>
 7550 
 7551 	* tests/Makefile.am (EXTRA_DIST): Add missing Test--start-pos.px,
 7552 	Test-ftp--start-pos.px and Test--start-pos--continue.px.
 7553 
 7554 2014-04-19  Darshit Shah  <darnir@gmail.com>
 7555 
 7556 	* src/log.h (log_options): Add new logging options, LOG_PROGRESS. All progress
 7557 	bar related output should use LOG_PROGRESS.
 7558 	* src/log.c (CHECK_VERBOSE): Implement LOG_PROGRESS output
 7559 	* src/progress.c (dot_create, print_row_stats, dot_update, dot_finish,
 7560 	bar_finish, display_image): Output progress information through LOG_PROGRESS
 7561 	(progress_implementation, dot_create, bar_create, progress_create): The
 7562 	progress bar create functions accept an extra paramter for the filename of the
 7563 	local file
 7564 	(bar_progress): Add new variable to store filename of currently downloading
 7565 	file
 7566 	(bar_finish): Aesthetic change. Print two newlines if in verbose mode, else
 7567 	only one.
 7568 	(MACRO): Define new macro, MIN
 7569 	(create_image): Implement displaying filename in progress bar output
 7570 	Filename tick implementation copied from Giuseppe's patch on parallel-wget
 7571 	* src/progress.h (progress_create): Accept another parameter for filename
 7572 	* src/http.c (gethttp): Remove unnecessary conditional
 7573 	(read_response_body): Send local filename to fd_read_body so that it can be
 7574 	printed on the progress bar
 7575 	* src/main.c (option_data): Add new switch, --show-progress
 7576 	(main): If in verbose output, show progress bar by default
 7577 	(main): Set progress implemetation when displaying progress bar
 7578 	(no_prefix): Increase buffer size to 2048 to prevent overflows
 7579 	* src/init.c (commands): Add new command, showprogress
 7580 	(defaults): By default initialize show_progress to false
 7581 	* src/options.h (options): Add new option, show_progress
 7582 	* src/retr.c (fd_read_body): Accept new parameter for filename of currently
 7583 	downlaoding file
 7584 	(fd_read_body): Create and update progress bar when opt.show_progress is set
 7585 	(fd_read_body): Display progress information in Windows console titlebars
 7586 	* src/retr.h (fd_read_body): Update declaration
 7587 	* src/ftp.c (getftp): Send filename of the local file so that it can be printed
 7588 	with the progress bar.
 7589 
 7590 2014-03-26  Darshit Shah  <darnir@gmail.com>
 7591 
 7592 	* src/ftp.c (getftp): Rearrange parameters to fix compiler warning
 7593 	* src/utils.c (get_dir_matches_p): Do not pass a const char** to a function that
 7594 	expects char**
 7595 
 7596 2014-03-25  Daniel Stenberg  <daniel@haxx.se>
 7597 
 7598 	* src/url.c (shorten_length): Remove unused function.
 7599 
 7600 2014-03-19  Yousong Zhou  <yszhou4tech@gmail.com>
 7601 
 7602 	* src/init.c, main.c, options.h: Add option --start-pos for specifying
 7603 	start position of a download.
 7604 	* src/http.c: Utilize opt.start_pos for HTTP download.
 7605 	* src/ftp.c: Utilize opt.start_pos for FTP retrieval.
 7606 
 7607 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7608 
 7609 	* testenv/test: (new package) package for test case classes
 7610 	* testenv/WgetTest.py: Split into test/base_test.py and test/http_test.py.
 7611 	* testenv/Test-*.py: Optimize the imports according to changes of WgetTest.py
 7612 
 7613 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7614 
 7615 	* testenv/server: (new package) package for the server classes
 7616 	* testenv/server.http: (new package) package for HTTP server
 7617 	* testenv/server.ftp: (new package) package for FTP server
 7618 	* testenv/HTTPServer.py: Move to server/http/http_server.py. Also change the
 7619 	CERTFILE to '../certs/wget-cert.pem'.
 7620 	* testenv/FTPServer.py: Move to server/ftp/ftp_server.py.
 7621 	* testenv/WgetTest.py: Optimize import respect to the server classes.
 7622 
 7623 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7624 
 7625 	* testenv/misc: (new package) package for miscellaneous modules
 7626 	* testenv/ColourTerm.py: Move to package misc and rename to colour_terminal.py,
 7627 	add print_color functions to reduce the use of string literals like
 7628 	"BLUE", "RED" etc.
 7629 	* testenv/WgetTest.py:
 7630 	(CommonMethods.Server_setup): Change invocation to printer to print_blue.
 7631 	(CommonMethods.FilesCrawled): Change invocation to printer to print_red.
 7632 	(HTTPTest.__init__): Change invocations to printer to print_red and
 7633 	print_green respectively.
 7634 
 7635 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7636 
 7637 	* testenv/exc: (new package) package for miscellaneous exceptions
 7638 	* testenv/WgetTest.py: Move TestFailed to exc/test_failed.py.
 7639 
 7640 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7641 
 7642 	* testenv/conf: (new package) package for rule classes and hook methods
 7643 	* testenv/WgetTest.py:
 7644 	(CommonMethods.Authentication): Move to conf/authentication.py.
 7645 	(CommonMethods.ExpectHeader): Move to conf/expect_header.py.
 7646 	(CommonMethods.RejectHeader): Move to conf/reject_header.py.
 7647 	(CommonMethods.Response): Move to conf/response.py.
 7648 	(CommonMethods.SendHeader): Move to conf/send_header.py.
 7649 	(CommonMethods.ServerFiles): Move to conf/server_files.py.
 7650 	(CommonMethods.LocalFiles): Move to conf/local_files.py.
 7651 	(CommonMethods.ServerConf): Move to conf/server_conf.py.
 7652 	(CommonMethods.WgetCommands): Move to conf/wget_commands.py.
 7653 	(CommonMethods.Urls): Move to conf/urls.py.
 7654 	(CommonMethods.ExpectedRetcode): Move to conf/expected_retcode.py.
 7655 	(CommonMethods.ExpectedFiles): Move to conf/expected_files.py.
 7656 	(CommonMethods.FilesCrawled): Move to conf/files_crawled.py.
 7657 	(CommonMethods.__check_downloaded_files): Rename to
 7658 	_check_downloaded_files, so that the method is callable from outside the
 7659 	class.
 7660 	(CommomMethods.get_server_rules): Modify so that it utilizes the conf
 7661 	package.
 7662 	(HTTPTest): Add a method hook_call(configs, name) to reduce duplications
 7663 	in pre_hook_call, call_test and post_hook_call utilizing the conf package.
 7664 	* testenv/conf/hook_sample.py: (new file) sample for hooks
 7665 	* testenv/conf/rule_sample.py: (new file) sample for rules
 7666 	* testenv/REAMDE: Update sections about customizing rules and hooks.
 7667 
 7668 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7669 
 7670 	* testenv/base_test.py:
 7671 	(CommonMethods): Rename to BaseTest.
 7672 	(BaseTest): Implement __init__ method where the class-wide variables are
 7673 	initialized. Also variable names like `xxx_list` is renamed to its plural
 7674 	form, e.g. `server_list` => `servers`.
 7675 	(BaseTest.init_test_env): Remove name argument due to its unnecessarity.
 7676 	(BaseTest.get_test_dir): Because the path of the test directory is needed
 7677 	in multiple methods, this method is implemented.
 7678 	(BaseTest.get_domain_addr): Rewrite the return statement utilizing str
 7679 	formatting (which is more Pythonic).
 7680 	(BaseTest.get_cmd_line): Rename to gen_cmd_line. Change the variables with
 7681 	capitcal characters to lower ones. Also, the nested for loop is rewritten
 7682 	to a plain loop using the zip function.
 7683 	(BaseTest.__gen_local_filesys): Rename to gen_local_fs_snapshot. Move to
 7684 	ExpectedFiles in conf/expected_files.py and is marked as a static
 7685 	method. Refactor to a less verbose implementation.
 7686 	(BaseTest._check_downloaded_files): Rename to __call__ to agree with the
 7687 	invocation in test case classes. Move to ExpectedFiles in
 7688 	conf/expected_files.py.
 7689 	(BaseTest.get_server_rules): Refactor to a more Pythonic form utilizing
 7690 	dict.items() and is marked static.
 7691 	(BaseTest.stop_server): (new method) an abstract method which should stop
 7692 	the currently using servers.
 7693 	(BaseTest.instantiate_server_by): (new method) an abstract method which
 7694 	should instantiate a server instance according to the given argument.
 7695 	(BaseTest.__enter__): (new method) method which initialize the context
 7696 	manager
 7697 	(BaseTest.__exit__): (new method) method that finilize the context manager
 7698 	and deal with the exceptions during the execution of the with statement,
 7699 	subclasses can override this method for extensibility
 7700 	* testenv/http_test.py:
 7701 	(HTTPTest.__init__): Add call to super.__init__. Default values of
 7702 	pre_hook, test_params, post_hook are set to None to avoid a subtle bug of
 7703 	Python. Argument servers is renamed to protocols.
 7704 	(HTTPTest.Server_setup): Move to BaseTest and rename to server_setup.
 7705 	Calls to pre_hook_call, call_test, post_hook_call are removed.
 7706 	(HTTPTest.hook_call, pre_hook_call, call_test, post_hook_call): Move to
 7707 	BaseTest for that both HTTP test cases and FTP test cases may use these
 7708 	methods.
 7709 	(HTTPTest.init_HTTP_Server, init_HTTPS_Server): Merge and rename to
 7710 	instantiate_server_by to implement the abstract method in BaseTest.
 7711 	(HTTPTest.stop_HTTP_Server): Rename to stop_server to implement the
 7712 	abstract method in BaseTest. Also, pull out the part where remaining
 7713 	requests are gathered into a new method request_remaining.
 7714 	(BaseTest.act_retcode): Rename to ret_code because ExpectedRetCode is
 7715 	moved out from BaseTest, so the name act_retcode is actually a bit
 7716 	verbose.
 7717 	* testenv/conf/expected_ret_code.py:
 7718 	(ExpectedRetCode.__call__): Rewrite the str into a more readable form.
 7719 	* testenv/conf/files_crawled.py:
 7720 	(FilesCrawled.__call__): Refactor this method into a more Pythonic form
 7721 	utilizing the zip function.
 7722 	* testenv/conf/local_files.py:
 7723 	(LocalFiles__call__): Rewrite this method with the recommended with
 7724 	statement.
 7725 	* testenv/conf/server_conf.py:
 7726 	(ServerConf.__call__): Rewrite this method due to BaseTest.server_list is
 7727 	renamed to BaseTest.servers.
 7728 	* testenv/conf/server_files.py:
 7729 	(ServerFiles.__call__): Refactor the nested for loop into a plain one
 7730 	utilizing the zip function.
 7731 	* testenv/conf/urls.py:
 7732 	(URLs): Rename url_list to urls.
 7733 	* testenv/conf/wget_commands.py:
 7734 	(WgetCommands): Rename command_list to commands, rename test_obj.options
 7735 	to test_obj.wget_options.
 7736 	* testenv/Test--https.py, Test-Proto.py, Test-Parallel-Proto.py: Argument servers
 7737 	is changed to protocols due to change in the signature of
 7738 	HTTPTest.__init__.
 7739 
 7740 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7741 
 7742 	* testenv/WgetTest.py: Move WgetFile to package misc.
 7743 	* testenv/README: Modify documentation respect to WgetFile.
 7744 	* testenv/Test-*.py: Optimize imports about WgetFile.
 7745 
 7746 2014-03-13  Zihang Chen  <chsc4698@gmail.com>
 7747 
 7748 	* testenv/Test-Proto.py: Fix a typo (line 71: server to servers).
 7749 
 7750 2014-03-04  Giuseppe Scrivano  <gscrivan@redhat.com>
 7751 
 7752 	* src/http.c (modify_param_value, extract_param): Aesthetic change.
 7753 
 7754 2014-02-24  Yousong Zhou  <yszhou4tech@gmail.com> (tiny change)
 7755 
 7756 	* tests/tests/Test--httpsonly-r.px: Add feature constraint on https.
 7757 
 7758 2014-02-24  Giuseppe Scrivano  <gscrivan@redhat.com>
 7759 
 7760 	* gnulib: update module.
 7761 	Reported by: Darshit Shah  <darnir@gmail.com>.
 7762 
 7763 2014-02-14  Vladimír Pýcha  <vpycha@gmail.com> (tiny change)
 7764 
 7765 	* src/http.c (parse_content_disposition, extract_param)
 7766 	(append_value_to_filename, digest_authentication_encode): URL-decode the
 7767 	filename parameter of Content-Disposition HTTP header if it is encoded. This
 7768 	is related to --content-disposition.
 7769 	New parameter of extract_param(), "is_url_encoded".
 7770 	Add argument NULL to the call of extract_param() in
 7771 	digest_authentication_encode().
 7772 	* src/http.h: Add the new parameter to the declaration of extract_param().
 7773 	* src/cookies.c (parse_set_cookie, test_cookies): Add argument NULL to the calls
 7774 	of extract_param().
 7775 	* src/url.c (url_unescape): Remove "static" modifier.
 7776 	* src/url.h: Add declaration of url_unescape().
 7777 
 7778 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
 7779 
 7780 	* tests/Wget.pm.in: Exclude existing files from the check of unexpected
 7781 	  downloads.
 7782 
 7783 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
 7784 
 7785 	* tests/Test--start-pos.px: Test --start-pos for HTTP downloads.
 7786 	* tests/Test-ftp--start-pos.px: Test --start-pos for FTP downloads.
 7787 	* tests/Test--start-pos--continue.px: Test the case when --start-pos and
 7788 	  --continue were both specified.
 7789 
 7790 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
 7791 
 7792 	* tests/FTPServer.pm: Fix the handling of TYPE command and avoid endless
 7793 	loop when doing binary mode RETR.
 7794 
 7795 2014-02-10  Yousong Zhou  <yszhou4tech@gmail.com>
 7796 
 7797 	* doc/wget.texi: Add documentation for --start-pos.
 7798 
 7799 2014-02-06  Giuseppe Scrivano  <gscrivan@redhat.com>
 7800 
 7801 	* src/main.c (print_version): Move copyright year out of the localized
 7802 	string and update it.
 7803 
 7804 2014-02-06  Giuseppe Scrivano  <gscrivan@redhat.com>
 7805 
 7806 	* configure.ac: Update copyright years.
 7807 
 7808 2014-01-29  Darshit Shah  <darnir@gmail.com>
 7809 
 7810 	* src/main.c: Remove pre-processor variable WHEN_DEBUG
 7811 	(option_data[]): Do not fail on --debug even if debug support is not
 7812 	compiled in.
 7813 	(main): Explicitly set opt.debug to false in case debugging support was not
 7814 	compiled.
 7815 	* src/init.c (commands[]): Support --debug wven when support is not compiled in.
 7816 	* src/options.h: Same
 7817 
 7818 2014-01-23  Lars Wendler  <polynomial-c@gentoo.org> (tiny change)
 7819 
 7820 	* tests/Test--post-file.px: Do not fail when wget has no debug support.
 7821 
 7822 2014-01-17  Darshit Shah  <darnir@gmail.com>
 7823 
 7824 	* src/init.c (commands[]): Add --no-config.
 7825 	* src/options.h: Same.
 7826 	* src/main.c (option_data[]): Same.
 7827 	(print_help): Same.
 7828 	(main): If --no-config is set, then do not read the wgetrc files.
 7829 
 7830 2014-01-05  Håkon Vågsether <hauk142@gmail.com> (tiny change)
 7831 
 7832 	* src/http.c (http_loop): Fix checking the URL length when filename is
 7833 	specified.
 7834 
 7835 2014-01-02  Darshit Shah  <darnir@gmail.com>
 7836 
 7837 	* testenv/WgetTest.py (CommonMentods.exec_wget): Wait for n seconds before calling
 7838 	the Wget executable.
 7839 
 7840 2014-01-02  Darshit Shah  <darnir@gmail.com>
 7841 	* testenv/Makefile.am: Add new Test--https.py to list of tests and EXTRA_DIST.
 7842 	Also replace all tabs with spaces in file for conformity.
 7843 	* testenv/Test--https.py: New test to check if Wget works correctly with HTTPS
 7844 	servers
 7845 	* testenv/HTTPServer.py: Import new modules for use in HTTPS Servers
 7846 	(HTTPSServer): New class that generates a SSL-wrapped socket for use in a
 7847 	HTTPS Server.
 7848 	(HTTPSd): HTTPS daemon class. Analogous to the HTTPd class
 7849 	* testenv/WgetTest.py: Define global variables HTTP and HTTPS to reflect Server
 7850 	types
 7851 	(CommonMethods.exec_wget): Add the protocol information to the URL before
 7852 	passing it to wget
 7853 	(HTTPTest.__init__): Edit syntax. The servers variable now accepts a list of
 7854 	servers defined by their type. E.g. HTTP, HTTPS.
 7855 	(HTTPTest.Server_setup): Reflect change in type of variable servers.
 7856 	However, we maintin the value of self.servers to allow most of the code to
 7857 	remain unchanged.
 7858 	(HTTPTest.init_HTTPS_Server): Initialize a HTTPS Server
 7859 	* testenv/Test-Parallel-Proto.py: Edit to reflect slight change in Test Fiel Syntax.
 7860 	* testenv/Test-Proto.py: Same
 7861 
 7862 2013-12-29  Giuseppe Scrivano  <gscrivan@redhat.com>
 7863 
 7864 	* src/init.c (home_dir): Remove useless 'if'.
 7865 	* src/warc.c (warc_start_new_file): Likewise.
 7866 	(warc_process_cdx_line): Likewise.
 7867 	(warc_write_response_record): Likewise.
 7868 
 7869 2013-12-29  Giuseppe Scrivano  <gscrivan@redhat.com>
 7870 
 7871 	* doc/wget.texi: Update to GFDL 1.3.
 7872 
 7873 2013-12-27  Darshit Shah  <darnir@gmail.com>
 7874 
 7875 	* testenv/WgetTest.py: Add modeline
 7876 	(CommonMethods.ServerConf): New pre-test hook that sets
 7877 	BaseHTTPRequestHandler class variables in all available servers
 7878 	* testenv/HTTPServer.py (HTTPd.ServerConf): Call the respective method in the Server
 7879 	to set the class variables
 7880 	(StoppableHTTPServer.server_sett): Set the handler class variables
 7881 
 7882 2013-12-26  Tim Ruehsen  <tim.ruehsen@gmx.de>
 7883 
 7884 	* src/gnutls.c (ssl_connect_wget): Fix connect timeout failure
 7885 
 7886 2013-12-26  Darshit Shah  <darnir@gmail.com>
 7887 
 7888 	* testenv/WgetTest.py (HTTPTest.call_test): Correct the call to stop_HTTP_Server.
 7889 
 7890 2013-12-25  Darshit Shah  <darnir@gmail.com>
 7891 
 7892 	* testenv/WgetTest.py (CommonMehtods.exec_wget): Catch and handle exception if the
 7893 	Wget executable is not found at src/wget
 7894 	(HTTPTest.call_test): In case of error during execution, remove all existing
 7895 	servers before quitting
 7896 
 7897 2013-12-22  Mike Frysinger  <vapier@gentoo.org>
 7898 
 7899 	* doc/sample.wgetrc: add links to the manual.
 7900 
 7901 2013-12-22  Giuseppe Scrivano  <gscrivan@redhat.com>
 7902 
 7903 	* gnulib: add git submodule.
 7904 
 7905 2013-12-15  Darshit Shah  <darnir@gmail.com>
 7906 
 7907 	* testenv/WgetTest.py (HTTPTest.HTTP_setup): Rename to Server_setup so it can be
 7908 	easily reused for other non-HTTP servers.
 7909 	(HTTPTest.__init__): Call Server_setup instead of HTTP_setup
 7910 	(HTTPTest.Server_setup): Split into three more functions, that handle
 7911 	pre-hooks, test execution and post-hooks respectively.
 7912 	(HTTPTest.pre_hook_call): Set up and execute the pre-test hooks. Code split
 7913 	from HTTPTest.Server_setup
 7914 	(HTTPTest.call_test): Execute wget and log exit code. Code split from
 7915 	HTTPTest.Server_setup
 7916 	(HTTPTest.post_hook_call): Set up and execute post-test hooks. Code split
 7917 	from HTTPTest.Server_setup
 7918 
 7919 2013-11-04  Darshit Shah  <darnir@gmail.com>
 7920 
 7921 	* tests/Makefile.am: Add new tests introduced in last commit to
 7922 	EXTRA_DIST.
 7923 	Reported by: Andrea Urbani  <matfanjol@mail.com>
 7924 
 7925 2013-11-02  Giuseppe Scrivano  <gscrivan@redhat.com>
 7926 
 7927 	* src/progress.c (struct progress_implementation): New method draw.
 7928 	(bar_update): Split into...
 7929 	(bar_draw): ...this new function.
 7930 	(dot_update): Split into...
 7931 	(dot_draw): New function.
 7932 	(progress_update): Also invoke draw on `current_impl'.
 7933 
 7934 2013-11-02  Giuseppe Scrivano  <gscrivan@redhat.com>
 7935 
 7936 	* src/http.c (gethttp): Increase max header value length to 512.
 7937 
 7938 2013-10-30  Giuseppe Scrivano  <gscrivan@redhat.com>
 7939 
 7940 	* src/http.c (skip_short_body): Remove assert which is always true.
 7941 	Reported by: David Binderman <dcb314@hotmail.com>
 7942 
 7943 2013-10-26  Bykov Aleksey <gnfalex@rambler.ru>
 7944 
 7945 	* src/utils.c (match_tail): Fix cookies reject
 7946 
 7947 	* src/ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase
 7948 
 7949 2013-10-22  Ángel González <keisial@gmail.com>
 7950 
 7951 	* bootstrap.conf (gnulib_modules): Add module xstrndup.
 7952 
 7953 2013-10-17  Andrea Urbani  <matfanjol@mail.com>
 7954 
 7955 	* tests/FTPServer.pm (GetBehavior): new routine.
 7956 	* tests/FTPServer.pm (get_list): new parameter to skip hidden files
 7957 	* tests/Test-ftp-list-Multinet.px: Test LIST on a "UNIX MultiNet
 7958 	  Unix Emulation" system that returns an empty content when
 7959 	  "LIST -a" is requested (probably because no "-a" files
 7960 	  exist)
 7961 	* tests/Test-ftp-list-Unknown.px: Test LIST on a "Unknown ftp
 7962 	  service" system that returns an empty content when
 7963 	  "LIST -a" is requested (probably because no "-a" files
 7964 	  exist)
 7965 	* tests/Test-ftp-list-Unknown-a.px: Test LIST on a "Unknown ftp
 7966 	  service" system that recognises "LIST -a" as "give me the
 7967 	  -a file" and there is a "-a" file + other two files.
 7968 	  "LIST -a" will return only "-a", "LIST" all the three files.
 7969 	* tests/Test-ftp-list-Unknown-hidden.px: Test LIST on a "Unknown ftp
 7970 	  service" system that recognises "LIST -a" as an "UNIX Type:
 7971 	  L8" system (show me also the hidden files) and there is an
 7972 	  hidden file.
 7973 	* tests/Test-ftp-list-Unknown-list-a-fails.px: Test LIST on a
 7974 	  "Unknown ftp service" system that raises an error on
 7975 	  "LIST -a" command.
 7976 	* tests/Test-ftp-list-UNIX-hidden.px: Test LIST on a "UNIX Type:
 7977 	  L8" system that recognises "LIST -a" as "show me also the
 7978 	  hidden files" and there is an hidden file.
 7979 
 7980 2013-10-17  Andrea Urbani  <matfanjol@mail.com>
 7981 
 7982 	* src/ftp.c (getftp): force "LIST" or "LIST -a"
 7983 	  according to the remote system type. If the remote
 7984 	  system is not known, it tries, only the first time,
 7985 	  "LIST -a", after "LIST" and decides which one to use.
 7986 	  For more information look for "__LIST_A_EXPLANATION__"
 7987 	* src/ftp.h (enum ustype): New ustype enum.
 7988 	* src/ftp.h (ftp_syst): New enum ustype *unix_type parameter.
 7989 	* src/ftp.h (ftp_list): Removed enum stype rs parameter, added.
 7990 	  bool avoid_list_a, bool avoid_list, bool *list_a_used
 7991 	  parameters.
 7992 	* src/ftp.h (wget_ftp_fstatus): New AVOID_LIST_A, AVOID_LIST,
 7993 	  LIST_AFTER_LIST_A_CHECK_DONE values.
 7994 	* src/ftp-basic.c (ftp_list): it handles the new avoid_list_a,
 7995 	  avoid_list and list_a_used parameters.
 7996 	* src/ftp.h (ftp_syst): it stores information about the "215 UNIX"
 7997 	  systems into the new unix_type parameter.
 7998 
 7999 2013-10-14  Giuseppe Scrivano  <gscrivan@redhat.com>
 8000 
 8001 	* testenv/Makefile.am (XFAIL_TESTS): Remove Test--spider-r.py.
 8002 
 8003 2013-10-10  Giuseppe Scrivano  <gscrivan@redhat.com>
 8004 
 8005 	* tests/Test-idn-robots-utf8.px: Remove -H.
 8006 	* tests/Test-idn-cmd.px: Likewise.
 8007 	* tests/Test-idn-cmd-utf8.px: Likewise.
 8008 	Suggested by: Tim Ruehsen <tim.ruehsen@gmx.de>
 8009 
 8010 2013-10-10  Giuseppe Scrivano  <gscrivan@redhat.com>
 8011 
 8012 	* src/url.c (url_parse): Try to convert UTF-8 URLs to IDN.
 8013 	* src/html-url.c (append_url): Parse URLs specifying an IRI structure.
 8014 
 8015 2013-10-07  Tim Ruehsen <tim.ruehsen@gmx.de>
 8016 
 8017 	* tests/Test-idn-robots.px: added punycoded and escaped URLs to follow
 8018 	  removed -H
 8019 
 8020 2013-10-06  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8021 
 8022 	* doc/wget.texi: add/explain quoting of wildcard patterns
 8023 
 8024 2013-10-06  Giuseppe Scrivano  <gscrivan@redhat.com>
 8025 
 8026 	* testenv/Makefile.am (EXTRA_DIST): Distribute test files.
 8027 
 8028 2013-09-16  Darshit Shah  <darnir@gmail.com>
 8029 
 8030 	* testenv/README: Update documentation
 8031 
 8032 2013-09-14  Darshit Shah  <darnir@gmail.com>
 8033 
 8034 	* testenv/HTTPServer.py (StoppableHTTPServer): Define object variable
 8035 	request_headers which stores a list of requests received by the server
 8036 	(StoppableHTTPServer.get_req_headers): Return the list of Request
 8037 	Headers stored by the server
 8038 	(_Handler.do_HEAD): Send the Request MEthod string for identification
 8039 	(_Handler.do_GET): Same
 8040 	(_Handler.__log_request): Log the request in Request_Headers list
 8041 	(_Handler.send_head): Make a call to __log_request
 8042 	* testenv/Test--spider-r.py: Add new list, Request_List, which contains all
 8043 	the requests that Wget is expected to send. This will allow for
 8044 	fine-grained tests on recursive downloading.
 8045 	* testenv/WgetTest.py (CommonMethods.FilesCrawled): New Post-Test Hook, that
 8046 	ensures that all the expected Files on the server were accessed as
 8047 	expected.
 8048 	(HTTPTest.stop_HTTP_server): On stopping server, asks it to respond
 8049 	with list of all requests it received.
 8050 
 8051 2013-09-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8052 
 8053 	* src/recur.c (download_child_p): fix compile error when
 8054 	  configured using --without-ssl.
 8055 
 8056 2013-09-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8057 
 8058 	* configure.ac: added a summary of build options
 8059 	  fixed some indentations
 8060 	  removed the unconditionally adding of libz with --with-ssl
 8061 	  removed -lgcrypt and -lgpg-error for gnutls
 8062 
 8063 2013-09-13  Darshit Shah  <darnir@gmail.com>
 8064 
 8065 	* testenv/WgetTest.py (CommonMethods._replace_substring): New method that will
 8066 	replace a substring delimited by {{ }} characters by the value of
 8067 	self.<substring> variable
 8068 	(CommonMethods.WgetCommands): Use the _replace_substring () call to
 8069 	replace the substrings in the the command line.
 8070 	(CommonMethods.ServerFiles): Run the _replace_substring () method on
 8071 	the File contents too.
 8072 
 8073 2013-09-13  Darshit Shah  <darnir@gmail.com>
 8074 
 8075 	* testenv/Test--spider-r.py: Test retrieval in recursive spider mode.
 8076 	* testenv/Makefile.am: add new file
 8077 
 8078 2013-09-13  Darshit Shah  <darnir@gmail.com>
 8079 
 8080 	* testenv/HTTPServer.py (_Handler.do_HEAD): If requested path is /, respond
 8081 	with /index.html
 8082 	(_Handler.do_HEAD): Smartly guess value of Content-Type Header from
 8083 	file extension
 8084 	(_Handler.guess_type): Use a preset list of extensions and
 8085 	Content-Type strings. If the extension matches one in the list, use
 8086 	that string, else default to "text/plain"
 8087 
 8088 2013-09-11  Darshit Shah  <darnir@gmail.com>
 8089 
 8090 	* testenv/WgetTest.py (CommonMethods.exec_wget): Expect domain_list instead of
 8091 	domain.
 8092 	(CommonMethods.get_cmd_line): Same. Generate command line by
 8093 	prepending to each file it's respective domain string
 8094 	(CommonMethods.ServerFiles): Generate file_list and server_rules for
 8095 	each Server and set the config details
 8096 	(HTTPTest): New named parameter, servers which signifies number of
 8097 	servers to spawn
 8098 	(HTTPTest.HTTP_setup): This method now takes servers as a new
 8099 	parameter. Instead of storing server and domain, we now store
 8100 	server_list and domain_list. Each server must be initialized through a
 8101 	loop.
 8102 	(HTTPTest.stop_HTTP_server): Stop all servers in a loop.
 8103 	* testenv/Test-Parallel-Proto.py: Prototype test file for multiple servers.
 8104 
 8105 2013-09-10  Darshit Shah  <darnir@gmail.com>
 8106 
 8107 	* testenv/WgetTest.py (HTTPTest.stop_HTTP_server): With the threaded servers,
 8108 	we can simply use the socketserver.shutdown() method to close the
 8109 	server instead of sending a QUIT command
 8110 	* testenv/HTTPServer.py (StoppabelHTTPServer.serve_forever): Delete method. No
 8111 	need to override this method anymore.
 8112 	(WgetHTTPRequestHandler.do_QUIT): No longer required
 8113 	(HTTPd): Rename self.server to self.server_inst to reduce ambiguity
 8114 	when referenced from WgetTest
 8115 
 8116 2013-09-09  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8117 
 8118 	* src/gnutls.c (ssl_connect_wget): changed checking of option "PFS"
 8119 	  to be better prepared for some kinds of backports.
 8120 	  Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 8121 
 8122 2013-09-08  Darshit Shah  <darnir@gmail.com>
 8123 
 8124 	* testenv/README (File Structure): Add explanation about various variables
 8125 	used consistently across all tests.
 8126 
 8127 2013-09-07  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8128 
 8129 	* src/gnutls.c (ssl_connect_wget): use gnutls_check_version()
 8130 	  to check if option "PFS" is available
 8131 	  Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 8132 
 8133 2013-09-07  Darshit Shah  <darnir@gmail.com>
 8134 
 8135 	* testenv/Test-Post.py: Test basic functionality for sending HTTP POST
 8136 	requests using the --method command
 8137 	* testenv/Makefile.am: Add new test
 8138 
 8139 2013-09-07  Darshit Shah  <darnir@gmail.com>
 8140 
 8141 	* testenv/HTTPServer.py: Remove bunch of old code artefacts
 8142 	* testenv/WgetTest.py: Same
 8143 
 8144 2013-09-07  Darshit Shah  <darnir@gmail.com>
 8145 
 8146 	* testenv/HTTPServer.py (StoppableHTTPServer.server_conf): Change global
 8147 	variable fileSys to an object variable. This is good programming
 8148 	practice and required for parallel-wget support.
 8149 	(StoppableHTTPServer.server_forever): Edit overridden method to remove
 8150 	the global queue variable. No longer required under the new working
 8151 	(WgetHTTPRequestHandler.do_QUIT): Don't push fileSys through the queue
 8152 	(_Handler): Rename class __Handler to _Handler to match Python's
 8153 	encapsulation rules
 8154 	(_Handler.do_POST): fileSys is now an object variable of the server
 8155 	(_Handler.do_PUT): Same
 8156 	(_Handler.send_put): Same
 8157 	(_Handler.send_head): Same
 8158 	(HTTPd): New class that wraps around the server for Threading
 8159 	(create_server): Make new object of HTTPd.
 8160 	(spawn_server): Start the thread created through create_server
 8161 	(ret_fileSys): Removed method. No longer required.
 8162 	* testenv/WgetTest.py (HTTPTest.__init__): Don't explicitly set
 8163 	self.act_retcode. Instead toggle tests_passed boolean to set the
 8164 	correct return code.
 8165 	(HTTPTest.HTTP_setup): We no longer call HTTPServer.spawn_server to
 8166 	start a new instance of the server.
 8167 	(HTTPTest.init_HTTP_server): We no longer call the old
 8168 	create_server(), spawn_server() methods. Instead use the new HTTPd
 8169 	class interface to create new instances of the server
 8170 	(HTTPTest.stop_HTTP_server): Don't ask server to return fileSys.
 8171 
 8172 2013-09-06  Darshit Shah  <darnir@gmail.com>
 8173 
 8174 	* testenv/WgetTest.py (CommonMethods.__check_downloaded_files): Print a
 8175 	unified diff in case there is a mismatch in the file contents
 8176 
 8177 2013-09-06  Darshit Shah  <darnir@gmail.com>
 8178 
 8179 	* testenv/README: New section on pending work. Will keep updating this to keep
 8180 	track of work that remains to be done on this implementation
 8181 
 8182 2013-09-06  Darshit Shah  <darnir@gmail.com>
 8183 
 8184 	* testenv/HTTPServer.py (WgetHTTPRequestHandler.test_cookies): Comment out the
 8185 	old test_cookies code. This is no longer used and was causing problems
 8186 	with expected cookies. The code will soon be removed anyways
 8187 	* testenv/Test-cookie.py: Add new test for basic cookie functionality
 8188 	* testenv/Test-cookie-401.py: Ensure cookies are saved during a 401 response
 8189 	* testenv/Test-cookie-expires.py: Ensure that the Expires field is correctly
 8190 	handled
 8191 	* testenv/Test-cookies-domain-mismatch.py: Ensure that mismatched domains are
 8192 	handled by Wget
 8193 	* testenv/Makefile.am: Add the new tests
 8194 
 8195 2013-09-05  Darshit Shah  <darnir@gmail.com>
 8196 
 8197 	* testenv/Test-auth-with-content-disposition.py: Add test that ensures Content
 8198 	Disposition works alongwith authentication
 8199 	* testenv/Makefile.am: Add new test
 8200 
 8201 2013-09-04  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8202 
 8203 	* doc/sample.wgetrc: added "secureprotocol" example
 8204 	* doc/wget.texi (HTTPS (SSL/TLS) Options): Document PFS.
 8205 
 8206 2013-09-04  Darshit Shah  <darnir@gmail.com>
 8207 
 8208 	* testenv/Test-c-full.py: Test Continue options
 8209 	* testenv/Makefile.am: Add Test-c-full.py and Test-O
 8210 
 8211 2013-09-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8212 
 8213 	* src/main.c: Add new value 'PFS' to --secure-protocol to
 8214 	  enforce the so-called Perfect Forward Security.
 8215 	* src/init.c (cmd_spec_secure_protocol): added secure_protocol_pfs
 8216 	* src/openssl.c, gnutls.c, options.h: likewise
 8217 
 8218 2013-09-02  Darshit Shah  <darnir@gmail.com>
 8219 
 8220 	* testenv/Makefile.am:	Add new Test
 8221 	* testenv/Test-Head.py: New Test to ensure HEAD requests are handled correctly
 8222 
 8223 2013-08-31  Darshit Shah  <darnir@gmail.com>
 8224 
 8225 	* testenv/WgetTest.py: Remove import module defaultdict.
 8226 	(CommonMethods.get_server_rules): server_rules should be a dict, not a
 8227 	defaultdict (list).
 8228 	* testenv/HTTPServer.py (WgetHTTPRequestHandler.get_rule_list): If rule does
 8229 	not exist, return None.	Not an emppty list.
 8230 	(WgetHTTPRequestHandler.test_cookies): Rule variable is not a list.
 8231 	(__Handler.send_cust_headers): Same.
 8232 	(__Handler.custom_response): Same.
 8233 	(__Handler.is_authorized): Same.
 8234 	(__Handler.expect_headers): Same.
 8235 	(__Handler.reject_headers): Same.
 8236 
 8237 2013-08-31  Darshit Shah  <darnir@gmail.com>
 8238 
 8239 	* testenv/README: Explain that TEST_NAME needs to be unique
 8240 	* testenv/Test-auth-no-challenge.py: Edit non-unique TEST_NAME
 8241 
 8242 2013-08-31  Darshit Shah  <darnir@gmail.com>
 8243 
 8244 	* testenv/README: (newfile) Simple help / instructions about using the Test
 8245 	Environment.
 8246 	* testenv/Makefile.am: (newfile) Makefile for the Test Environment. Uses the
 8247 	Automake Parallel Test Harness
 8248 	* testenv/WgetTest.py: (newfile) Base module that executes the Test.
 8249 	* testenv/HTTPServer.py: (newfile) Contains the custom HTTP Server for the
 8250 	Test Environment. Creates an instance of http.server in Python3.
 8251 	* testenv/FTPServer.py: (newfile) Overrides methods from pyftpdlib for use in
 8252 	the Test Environment. ** Work under progress **.
 8253 	* testenv/ColourTerm.py: (newfile) A custom module to output coloured text to
 8254 	the terminal. Known to work on POSIX shells.
 8255 	* testenv/Test-Proto.py: (newfile) A prototype Test File. This should be
 8256 	copied when writing a new Test Case.
 8257 	* testenv/Test-Content-disposition-2.py: Test Content Disposition clobbering
 8258 	* testenv/Test-Content-disposition.py: Test Content Disposition Headers
 8259 	* testenv/Test-O.py: Test Output filename command
 8260 	* testenv/Test-auth-basic-fail.py: Test returncode on auth failure
 8261 	* testenv/Test-auth-basic.py: Test Basic Auth negotiation
 8262 	* testenv/Test-auth-both.py: Test handling of Multiple auth providers. This
 8263 	test currently fails.
 8264 	* testenv/Test-auth-digest.py: Test Digest Auth Negotiation
 8265 	* testenv/Test-auth-no-challenge-url.py: Ensure --auth-no-challenge is handled
 8266 	when auth details are in-URL.
 8267 	* testenv/Test-auth-no-challenge.py: Ensure --auth-no-challenge is honoured
 8268 	* testenv/Test-auth-retcode.py: Ensure correct return code after 403 Forbidden
 8269 	response.
 8270 2013-08-31  Darshit Shah  <darnir@gmail.com>
 8271 
 8272 	* testenv/HTTPTest.py (ServerError): Define new Exception for handling
 8273 	internal control flow.
 8274 	(StoppableHTTPServer.SendHeader): Simply pass. Do nothing. Adding
 8275 	functionality here seems to crash for no apparent reason.
 8276 	(stoppableHTTPServer.send_cust_headers): Minor optimization. No need
 8277 	for extra variable.
 8278 	(__Handler.Response): Handle explicit Response Code Rules
 8279 	(__Handler.Authentication): Handle Authentication rules
 8280 	(__Handler.handle_auth): Actual worker method for authentication
 8281 	(__Handler.ExpectHeader): Ensure Expected Headers are received
 8282 	(__Handler.RejectHeader): Ensure Blacklisted Headers are NOT received
 8283 	(__Handler.send_HEAD): Dynamically call server rule functions based on
 8284 	the self.rules list. This feature will later be added to POST/PUT, etc
 8285 
 8286 2013-08-31  Darshit Shah  <darnir@gmail.com>
 8287 
 8288 	* configure.ac: Add testenv/Makefile to	AC_CONFIG_FILES.
 8289 	* Makefile.am: Add testenv to SUBDIRS
 8290 
 8291 2013-08-23  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8292 
 8293 	* doc/sample.wgetrc: added "httpsonly" example
 8294 
 8295 2013-08-22  Tim Ruehsen <tim.ruehsen@gmx.de>
 8296 
 8297 	* tests/Makefile.am (EXTRA_DIST): Add Test--httpsonly-r.px.
 8298 	* tests/run-px (tests): Likewise.
 8299 	* tests/Test--httpsonly-r.px: New file.
 8300 
 8301 2013-08-22  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8302 
 8303 	* src/main.c: Add new option --https-only.
 8304 	* src/options.h: Likewise.
 8305 	* src/recur.c (download_child_p): add check for HTTPS.
 8306 
 8307 2013-08-22  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8308 
 8309 	* doc/wget.texi: added description for --https-only
 8310 
 8311 2013-08-13  Hrvoje Niksic  <hniksic@xemacs.org>
 8312 
 8313 	* doc/wget.texi (Download Options): Fix misspelling.
 8314 
 8315 2013-08-09  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8316 
 8317 	* src/gnutls.c (ssl_init): Prevent CA files from being loaded twice
 8318 	  if possible.
 8319 	* src/gnutls.c (ssl_check_certificate): Added some error messages
 8320 	* src/gnutls.c: Fixed some compiler warnings
 8321 
 8322 2013-08-08  Will Dietz  <w@wdtz.org> (tiny change):
 8323 
 8324 	* src/main.c (format_and_print_line): Wrap correctly long tokens.
 8325 
 8326 2013-07-23  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8327 
 8328 	* configure.ac: Remove AM_CONDITIONAL HAVE_NETTLE.
 8329 	Reported by: Darshit Shah  <darnir@gmail.com>.
 8330 
 8331 2013-07-16  Darshit Shah  <darnir@gmail.com>
 8332 
 8333 	* src/wget.h (err_t): Added new errors, ATTRMISSING and UNKNOWNATTR to
 8334 	handle missing attributes and Unknown attribute values respectively in
 8335 	HTTP Headers.
 8336 	* src/exits.c (get_status_for_err): ATTRMISSING is a Protocol Error while
 8337 	UNKNOWNATTR is a general error, presumably because of a feature that
 8338 	is not yet implemented.
 8339 	* src/http.c (gethttp): Call create_authorization_line () separately. In
 8340 	case the auth_err flag has been set with an error, handle it and exit.
 8341 	* src/http.c (create_authorization_line): Pass a pointer, auth_err to set
 8342 	the flag for different kinds of errors encountered.
 8343 	* src/http.c (http_loop): Handle the errors raised by the authentication
 8344 	handlers.
 8345 	* src/http.c (digest_authentication_encode): Pass pointer auth_err to set
 8346 	the error flags.
 8347 	Set qop to NULL in case the value of the qop / algorithm attribute is
 8348 	unknown to Wget. Set an	appropriate error too.
 8349 
 8350 2013-07-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8351 
 8352 	* src/http.c (digest_authentication_encode): Fix a crash when the algorithm
 8353 	is not specified in the server response.  Free dynamic memory used by
 8354 	the function when the function exits.
 8355 	* src/http-ntlm.c [HAVE_NETTLE]: Include <nettle/md4.h> and <nettle/des.h>.
 8356 	(setup_des_key) [HAVE_NETTLE]: New function to deal with
 8357 	libnettle.
 8358 	(calc_resp) [HAVE_NETTLE]: Add support for libnettle.
 8359 	(mkhash) [HAVE_NETTLE]: Likewise.
 8360 	Reported by: Tim Ruehsen  <tim.ruehsen@gmx.de>.
 8361 
 8362 2013-07-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8363 
 8364 	* configure.ac: check for libnettle when GNU TLS is used.
 8365 
 8366 2013-07-13  Steven M. Schweda <sms@antinode.info>
 8367 
 8368 	* src/warc.c (warc_tempfile): Fix a portability issue on VMS.
 8369 
 8370 2013-07-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 8371 
 8372 	* src/http.c (digest_authentication_encode): Set default value of
 8373 	`algorithm' to "MD5".  Check if `qop' is not-NULL before access it.
 8374 
 8375 2013-07-11  Tomas Hozza  <thozza@redhat.com>
 8376 
 8377 	* src/ftp.c (ftp_loop): Use ftp_retrieve_glob() also in case
 8378 	--preserve-permissions was specified.
 8379 
 8380 2013-07-11  Tomas Hozza  <thozza@redhat.com>
 8381 
 8382 	* doc/wget.texi: Document --regex-type and --preserve-permissions.
 8383 
 8384 2013-07-11  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8385 
 8386 	* src/gnutls.c (ssl_connect_wget): respect connect timeout.
 8387 
 8388 2013-07-11  Karsten Hopp  <karsten@redhat.com>
 8389 
 8390 	* src/openssl.c (struct openssl_read_args, struct scwt_context): New struct.
 8391 	(openssl_read, ssl_connect_with_timeout_callback): New function.
 8392 	(ssl_connect_wget): respect connect timeout.
 8393 
 8394 2013-07-10  Giuseppe Scrivano  <gscrivano@gnu.org>
 8395 
 8396 	* src/http.c (read_response_body) [ALLOW_CLOBBER]: Move definition to..
 8397 	* src/options.h (struct options): Make `backups' an int.
 8398 	* src/url.h [ALLOW_CLOBBER]: .. Here.  Do not clobber when backups are used.
 8399 	* src/url.c (url_file_name): Use the ALLOW_CLOBBER macro instead of
 8400 	repeating the code.
 8401 
 8402 2013-07-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 8403 
 8404 	* doc/wget.texi (Download Options): Add documentation for --backups.
 8405 	(Wgetrc Commands): Add documentation for backups.
 8406 	Reported by: Tomas Hozza <thozza@redhat.com>.
 8407 
 8408 2013-07-08  Steven M. Schweda <sms@antinode.info>
 8409 
 8410 	* src/retr.c (rotate_backups): Support for VMS files.
 8411 
 8412 2013-06-26  Darshit Shah <darnir@gmail.com>
 8413 
 8414 	* src/http.c (gethttp): Reverse change by commit 90896 that prevented
 8415 	downloading response body data to non-GET Request methods.
 8416 
 8417 2013-06-22  Ángel González <keisial@gmail.com>
 8418 
 8419 	* src/init.c (cmd_string_uppercase): Rewrite function.
 8420 
 8421 2013-06-19 Ciprian Vieru <devel.php@gmail.com> (tiny change)
 8422 
 8423 	* src/html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE.
 8424 	(tag_url_attributes, known_tags): Likewise.
 8425 
 8426 2013-06-19  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8427 
 8428 	* src/connect.c (socket_ip_address): zero out ip address structure to
 8429 	avoid access to uninitialized values by inet_ntop().
 8430 	* src/ftp.c (ftp_loop_internal): fix segfault caused by warc_tmp NULL pointer.
 8431 
 8432 2013-06-17  Dave Reisner  <dreisner@archlinux.org> (tiny change)
 8433 
 8434 	* doc/texi2pod.pl: Fix formatting error that causes build to fail with
 8435 	Perl 5.18
 8436 
 8437 2013-06-17  Darshit Shah  <darnir@gmail.com>
 8438 
 8439 	* doc/wget.texi (POST): Explain the new redirection rules.
 8440 	* doc/wget.texi (Other HTTP Methods): Same.
 8441 	* doc/wget.texi (body-data): Fix typo in description.
 8442 
 8443 2013-06-13  Darshit Shah  <darnir@gmail.com>
 8444 
 8445 	* src/http.c (gethttp): Follow RFC 2616 and httpbis specifications when
 8446 	handling redirections. Do not suspend the method on 301/302 redirects.
 8447 	(gethttp): If method if not GET, we do not intend to download
 8448 	anything.
 8449 	* src/main.c (main): Set spider mode when opt.method is HEAD. This will
 8450 	prevent Wget from downloading any file.
 8451 	* src/retr.c (SUSPEND_METHOD): Rename macro SUSPEND_POST_DATA to
 8452 	SUSPEND_METHOD to more accurately reflect its use. Similarly rename
 8453 	related variables.
 8454 
 8455 2013-05-21  Ray Satiro  <raysatiro@yahoo.com>
 8456 
 8457 	* src/url.c (url_file_name): Use MAX_PATH in Windows.
 8458 
 8459 2013-05-17 Bykov Aleksey <gnfalex@rambler.ru>
 8460 
 8461 	* bootstrap: Add `mkostemp'
 8462 
 8463 2013-05-14 Bykov Aleksey <gnfalex@rambler.ru>
 8464 
 8465 	* src/warc.c (warc_tempfile): For fix "Could not open temporary WARC manifest
 8466 	file." issue in Win system force to use `mkostemp(filename, O_TEMPORARY)'
 8467 	instead  of `mkstemp(filename)'. Thank to Angel Gonzalez for help.
 8468 
 8469 2013-05-14  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8470 
 8471 	* src/cookies.c (cookie_jar_load): Replaced read_whole_file() by getline().
 8472 	* src/init.c (run_wgetrc): Likewise.
 8473 	* src/netrc.c (parse_netrc): Likewise.
 8474 	* src/utils.c: Likewise.
 8475 	* src/ftp.c (getftp): Likewise.
 8476 	* src/ftp-ls.c (ftp_parse_unix_ls, ftp_parse_winnt_ls, ftp_parse_vms_ls): Likewise.
 8477 	* src/ftp-ls.c (clean_line): Accept the string length as parameter.
 8478 	* src/ftp-ls.c: Replaced indent tabs by spaces.
 8479 	* src/ftp.c: Likewise.
 8480 	* src/utils.c: Removed read_whole_file() definition.
 8481 	* src/netrc.c: Removed read_whole_file() definition for STANDALONE.
 8482 	* src/utils.h: Removed read_whole_file() declaration.
 8483 
 8484 2013-05-10  Darshit Shah <darnir@gmail.com>  (tiny change)
 8485 
 8486 	* doc/wget.texi (No of tries): Fix typo to make it clear that --tries
 8487 	option sets number of tries not retries.
 8488 	Reported by: Hauke Hoffman <haukebjoernhoffman@googlemail.com>
 8489 
 8490 2013-05-09  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8491 
 8492 	* src/utils.c (acceptable): use standard string functions instead of
 8493 	self-written code.
 8494 	(match_tail): Likewise.
 8495 	(suffix): Likewise.
 8496 	(has_wildcards_p): Likewise.
 8497 	(test_subdir_p): Fix some warnings.
 8498 	(test_dir_matches_p): Likewise.
 8499 
 8500 2013-05-05  mancha  <mancha1@hush.com> (tiny change)
 8501 
 8502 	* src/gnutls.c (ssl_connect_wget): Don't abort on non-fatal alerts
 8503 	received during handshake. For example, when connecting to servers
 8504 	using TSL-SNI that send warning-level unrecognized_name alerts.
 8505 
 8506 2013-05-04  Darshit Shah <darnir@gmail.com>
 8507 
 8508 	* src/init.c (cmd_string_uppercase): Fix issue that cased invalid headers
 8509 	when converting to uppercase.
 8510 
 8511 2013-05-01  Giuseppe Scrivano  <gscrivano@gnu.org>
 8512 
 8513 	* src/init.c: Declare `cmd_string_uppercase'.
 8514 	(commands): Now `method' uses cmd_string_uppercase.
 8515 	(cmd_string_uppercase): New method
 8516 	* src/http.c (gethttp): Do not transform opt.method to uppercase.
 8517 	Reported by: Stefano Lattarini <stefano.lattarini@gmail.com>
 8518 
 8519 2013-05-01  Gijs van Tulder  <gvtulder@gmail.com>
 8520 
 8521 	* src/retr.c (retrieve_url): New variable `saved_method'.
 8522 	(SUSPEND_POST_DATA): Save the method to `saved_method'.
 8523 	(RESTORE_POST_DATA): Restore the method from `saved_method'.
 8524 
 8525 2013-04-28  Giuseppe Scrivano  <gscrivano@gnu.org>
 8526 
 8527 	* doc/wget.texi (Types of Files...): Document --accept-regex,
 8528 	--reject-regex.
 8529 	Reported by: Tomas Hozza <thozza@redhat.com>.
 8530 
 8531 2013-04-26  Tomas Hozza  <thozza@redhat.com> (tiny change)
 8532 
 8533 	* src/log.c (redirect_output): Use DEFAULT_LOGFILE in diagnostic message
 8534 	when `logfile' is NULL.
 8535 	* src/utils.c (unique_create): Ensure `logfile' has always a value.
 8536 
 8537 2013-04-24  Darshit Shah <darnir@gmail.com>
 8538 
 8539 	* src/http.c (gethttp): Remove check for opt.post_data and
 8540 	opt.post_file_name.
 8541 	* src/main.c (main): Change location in code where --post-data and
 8542 	--post-file options are converted to --body-data --body-file.
 8543 
 8544 2013-04-21  Gijs van Tulder  <gvtulder@gmail.com>
 8545 
 8546 	* src/http.c: Copy opt.body_data to the WARC file, instead of
 8547 	opt.post_data (the old option).
 8548 
 8549 2013-04-14  Giuseppe Scrivano  <gscrivano@gnu.org>
 8550 
 8551 	* doc/wget.texi (Download Options): Document "mega" dot style.
 8552 
 8553 2013-04-12  Gijs van Tulder  <gvtulder@gmail.com>
 8554 
 8555 	* src/warc.c: Generate unique UUIDs for the manifest and the record
 8556 	holding the command-line arguments.
 8557 	Write the manifest to a "metadata" record to follow the WARC
 8558 	implementation guidelines.
 8559 	* src/warc.h: Declare new function warc_write_metadata_record.
 8560 
 8561 2013-04-05  Darshit Shah <darnir@gmail.com>
 8562 
 8563 	* doc/doc/wget.texi: Fix ambiguous wording in --post-data section. Make it
 8564 	clear that wget does not check for the format of the post-data.
 8565 	* doc/doc/wget.texi: Add documentation for --method, --body-data and
 8566 	--body-file.
 8567 
 8568 2013-03-31  Gijs van Tulder  <gvtulder@gmail.com>
 8569 
 8570 	* src/warc.c: Correctly write the field length in the skip length field
 8571 	of .warc.gz files. (Following the GZIP spec in RFC 1952.)
 8572 
 8573 2013-03-20  Tomas Hozza  <thozza@redhat.com>
 8574 
 8575 	* src/http.c (gethttp): Set "sock" to -1 if it's not and we have no
 8576 	persistent connection
 8577 
 8578 2013-03-15  Darshit Shah <darnir@gmail.com>
 8579 
 8580 	* src/http.c (post_file): Rename function to body_file_send to more
 8581 	accurately reflect its use.
 8582 	* src/http.c (gethttp): Add support for --method, --body-data and
 8583 	--body-file
 8584 	* src/init.c (commands): Same.
 8585 	* src/options.h (options): Same.
 8586 	* src/main.c (option_data): Same.
 8587 	* src/main.c (print_help): Add --method command.
 8588 	* src/main.c (main): Make old --post-{data,file} commands aliases to
 8589 	--method.
 8590 	Add sanity checks for --method, --body-data and --body-file.
 8591 	* src/retr.c (SUSPEND_POST_DATA): Edit Macro Definition to use body_data.
 8592 	* src/retr.c (RESTORE_POST_DATA): Same.
 8593 
 8594 2013-03-12  Darshit Shah <darnir@gmail.com>
 8595 
 8596 	* tests/Makefile.am (EXTRA_DIST): Add Test--post-file.px.
 8597 	* tests/run-px (tests): Likewise.
 8598 	* tests/Test--post-file.px: New file.
 8599 
 8600 2013-03-12  Darshit Shah <darnir@gmail.com>
 8601 
 8602 	* src/http.c (gethttp): Make wget return FILEBADFILE error and abort if
 8603 	post-file does not exist.
 8604 
 8605 	* src/http.c (http_loop): Handle FILEBADFILE as a valid err.
 8606 
 8607 	* src/exits.c (get_status_for_err): Mark FILEBADFILE as an IO error.
 8608 
 8609 2013-02-15  Darshit Shah <darnir@gmail.com>
 8610 
 8611 	* src/cookies.c (cookie_handle_set_cookie): Set cookie->discard_requested
 8612 	to true on domain mismatch.
 8613 
 8614 2013-01-30  Pavel Mateja  <pavel@netsafe.cz> (tiny change)
 8615 
 8616 	* src/http.c (gethttp): Specify "Host" for CONNECT method.
 8617 
 8618 2012-12-20  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8619 
 8620 	* src/gnutls.c (ssl_connect_wget): added +VERS-SSL3.0 to fix
 8621 	--secure-protocol=SSLv2/SSLv3.
 8622 
 8623 2012-12-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 8624 
 8625 	* src/main.c (main): Keep looking for "config" until there are
 8626 	arguments to parse.
 8627 	Reported by: Adrien Dumont <adr.dum@hotmail.fr>
 8628 
 8629 	* src/test.c: Include "wget.h".
 8630 
 8631 2012-12-08  Michael Stapelberg <michael@stapelberg.de> (tiny change)
 8632 
 8633 	* src/retr.c (retrieve_url): Set iri->orig_url to NULL after it is
 8634 	freed.
 8635 
 8636 2012-11-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 8637 
 8638 	* src/wget.h (MAX_INT_TO_STRING_LEN): Define macro.
 8639 	* src/warc.c (warc_write_block_from_file): Use `MAX_INT_TO_STRING_LEN'
 8640 	to find the buffer size.
 8641 	(warc_write_cdx_record): Likewise.
 8642 
 8643 2012-11-24  Giuseppe Scrivano  <gscrivano@gnu.org>
 8644 
 8645 	* src/warc.c (warc_write_block_from_file): Use `number_to_string' to
 8646 	convert the content-length to a string.
 8647 
 8648 2012-11-24  Gijs van Tulder  <gvtulder@gmail.com>
 8649 
 8650 	* src/warc.c (warc_write_cdx_record): Use `number_to_string' to
 8651 	convert the offset to a string.
 8652 
 8653 2012-11-15  Giuseppe Scrivano  <gscrivano@gnu.org>
 8654 
 8655 	* src/retr.c (write_data): Fix comment.
 8656 
 8657 2012-11-14  Ángel González  <keisial@gmail.com>
 8658 
 8659 	* src/warc.c (warc_sha1_stream_with_payload): Fix compilation under
 8660 	gcc -std=c89.
 8661 
 8662 2012-11-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 8663 
 8664 	* src/retr.c (fd_read_body): Correctly check the return code from
 8665 	write_data.
 8666 	Reported by: Torsten Scheck <torsten.scheck@gmx.de>
 8667 
 8668 2012-11-09  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8669 
 8670 	* tests/HTTPServer.pm: added check for must-not-match request-header
 8671 	* tests/Test-cookies.px: check cookie deletion and cookie domain matching
 8672 
 8673 2012-10-08  Stefano Lattarini <stefano.lattarini@gmail.com>  (tiny change)
 8674 
 8675 	docs: fix errors and warnings with Texinfo 5
 8676 	Or rather, with the development version 4.13.90, which will
 8677 	eventually become Texinfo 5.0.
 8678 	* doc/wget.texi: Use '@item' instead of '@itemx' in several places,
 8679 	as Texinfo 5 refuses to process an '@itemx' that is not preceded
 8680 	by an '@item'.
 8681 
 8682 2012-10-07  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8683 	    Giuseppe Scrivano  <gscrivano@gnu.org>
 8684 
 8685 	* src/utils.c (get_max_length): If `pathconf' is not available
 8686 	fallback to PATH_MAX.
 8687 
 8688 2012-10-07  Ray Satiro <raysatiro@yahoo.com>
 8689 
 8690 	* src/url.c: Change the functions of a growable string object to null
 8691 	terminate the string.
 8692 	* src/url.c (append_null): New function to null terminate a growable
 8693 	string object.
 8694 	* src/url.c (shorten_length): New function to shorten the length of a
 8695 	growable string object.
 8696 
 8697 2012-10-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 8698 
 8699 	* configure.ac: Check for patchconf.
 8700 
 8701 2012-10-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 8702 
 8703 	* src/http.c (http_loop): Send a HEAD request when -c and
 8704 	--content-disposition are used together.
 8705 
 8706 2012-10-03 Merinov Nikolay <kim.roader@gmail.com>
 8707 
 8708 	* src/ftp.c (ftp_loop_internal): Ignore --no-clobber option when
 8709 	receiving directory listing.
 8710 
 8711 2012-09-29 Merinov Nikolay <kim.roader@gmail.com>
 8712 
 8713 	* src/ftp-ls.c (ftp_parse_winnt_ls): Support filename extracting with
 8714 	new listing format.
 8715 
 8716 2012-09-29  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8717 
 8718 	* src/url.h (CHOMP_BUFFER): Add definition.
 8719 	* src/url.c (url_file_name): New local variables `fname_len_check' and
 8720 	`max_length'. Check that the length of the file name is acceptable.
 8721 	* src/utils.h (get_max_length): Declare function.
 8722 	* src/utils.c (get_max_length): New function.
 8723 
 8724 2012-09-28  Steven Schubiger  <stsc@member.fsf.org>
 8725 
 8726 	* src/src/recur.c (retrieve_tree): Combine duplicated code.
 8727 
 8728 2012-09-23  Merinov Nikolay  <kim.roader@gmail.com>
 8729 
 8730 	* m4/wget.m4 (WGET_FNMATCH): Add AC_LANG_SOURCE into
 8731 	AC_COMPILE_IFELSE in order to silence autoconf 2.68 warning.
 8732 
 8733 2012-09-20  Giuseppe Scrivano  <gscrivano@gnu.org>
 8734 
 8735 	* bootstrap: Update from gnulib.
 8736 
 8737 2012-09-03  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8738 
 8739 	* src/http.c (digest_authentication_encode): Add support for RFC 2617
 8740 	MD5-sess authentication algorithm.
 8741 	Feature request and testing by: Avinash <pavinash@gmail.com>
 8742 
 8743 2012-09-02  Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> (tiny change)
 8744 
 8745 	* src/src/main.c (main): mark more strings for translation.
 8746 	* src/src/mswindows.c (fork_to_background): Likewise.
 8747 	* src/src/recur.c (download_child_p): Likewise.
 8748 
 8749 2012-09-02  Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> (tiny change)
 8750 
 8751 	* po/POTFILES.in: Add more files.
 8752 
 8753 2012-08-29  Rohit Mathulla <rohit_mathulla@yahoo.com> (tiny change)
 8754 
 8755 	* src/html-url.c (get_urls_file): Convert shorthand URLs.
 8756 
 8757 2012-08-28  Tim Ruehsen <tim.ruehsen@gmx.de>
 8758 
 8759 	* doc/wget.texi: remove -nv from --report-speed
 8760 
 8761 2012-08-28  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8762 
 8763 	* src/gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t.
 8764 	* src/gnutls.c (ssl_init): don't error if CA directory is empty.
 8765 
 8766 2012-08-25  Hrvoje Niksic  <hniksic@gmail.com>
 8767 
 8768 	* src/warc.c (warc_find_duplicate_cdx_record): Use hash_table_get
 8769 	instead of hash_table_get_pair.
 8770 
 8771 2012-08-21  <y-iida@secom.co.jp> (tiny change)
 8772 
 8773 	* src/connect.c (connect_to_ip) [ENABLE_IPV6]: Attempt to use IPv6.
 8774 	* src/http.c (gethttp): Likewise.
 8775 
 8776 2012-08-04  mancha <mancha@mac.hush.com> (tiny change)
 8777 
 8778 	* doc/wget.texi: Export ENVIRONMENT to the man page.
 8779 
 8780 2012-07-08  Steven Schubiger  <stsc@member.fsf.org>
 8781 
 8782 	* src/exits.h: Fix comment.
 8783 	* src/exits.c: Likewise.
 8784 
 8785 2012-07-08  Giuseppe Scrivano  <gscrivano@gnu.org>
 8786 
 8787 	* bootstrap: Update from gnulib.
 8788 	* bootstrap.conf (gnulib_extra_files): Remove $build_aux/missing.
 8789 	* lib/Makefile.am: Delete file.
 8790 
 8791 2012-07-07  Tim Ruehsen <tim.ruehsen@gmx.de>
 8792 
 8793 	(digest_authentication_encode): Add support for RFC 2617 Digest
 8794 	Access Authentication.
 8795 
 8796 2012-07-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 8797 
 8798 	* src/http.c (http_loop): Fix log message.
 8799 	* src/main.c (main): Likewise.
 8800 	Reported by: Petr Pisar <petr.pisar@atlas.cz>
 8801 
 8802 2012-07-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 8803 
 8804 	* src/html-url.c (cleanup_html_url): Remove "static" modifier.
 8805 	* src/init.c (cleanup_html_url): Likewise.
 8806 	Reported by: Mike Frysinger <vapier@gentoo.org>.
 8807 
 8808 2012-07-03  Steven Schubiger  <stsc@member.fsf.org>
 8809 
 8810 	* src/init.c: Include warc.h for warc_close in cleanup function.
 8811 
 8812 2012-06-17  Giuseppe Scrivano  <gscrivano@gnu.org>
 8813 
 8814 	* src/wget.h: Define `CLOSEFAILED'.
 8815 	* src/init.c: Include "exits.h".
 8816 	(cleanup): Check `fclose' failure.
 8817 	* src/exits.c (get_status_for_err): Handle `CLOSEFAILED'.
 8818 
 8819 2012-06-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 8820 
 8821 	* tests/Makefile.am (EXTRA_DIST): Add Test-stdouterr.px.
 8822 	* tests/run-px (tests): Likewise.
 8823 	* tests/Test-stdouterr.px: New file.
 8824 
 8825 2012-06-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 8826 
 8827 	* src/main.c (main): Move some cleanup related function to...
 8828 	* src/init.c (cleanup): ...here.
 8829 
 8830 	* src/main.c: Do not include "stdout.h".
 8831 	(main): Do not register `close_stdout' at exit.
 8832 	Reported by: Micah Cowan  <micah@cowan.name>.
 8833 
 8834 2012-06-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 8835 
 8836 	* bootstrap.conf (gnulib_modules): Remove `closeout'.
 8837 	Reported by: Micah Cowan  <micah@cowan.name>.
 8838 
 8839 2012-06-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 8840 
 8841 	* src/main.c (print_help): Move --report-speed under the section
 8842 	"Logging and input file".
 8843 
 8844 2012-06-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 8845 
 8846 	* doc/wget.texi (Logging and Input File Options): Document "--report-speed".
 8847 	(HTTPS (SSL/TLS) Options): Document WARC.
 8848 
 8849 	* doc/texi2pod.pl: Revert change from 2011-08-06.
 8850 
 8851 2012-06-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 8852 
 8853 	* src/main.c (print_help): Rename --bits to --report-bps.
 8854 	(cmdline_options): Likewise.
 8855 	* src/init.c (commands): Rename --report-bps to --report-speed.
 8856 	(cmd_spec_report_speed): New function.
 8857 
 8858 	* src/options.h (struct options): Rename `bits_fmt' to `report_bps'.
 8859 	* src/main.c (print_help): Rename --bits to --report-bps.
 8860 	(cmdline_options): Likewise.
 8861 	* src/init.c (commands): Likewise
 8862 
 8863 	* src/progress.c (create_image): Adjust caller.
 8864 	* src/retr.c (retr_rate): Likewise.
 8865 	* src/utils.c (convert_to_bits): Likewise.
 8866 
 8867 2012-06-04  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8868 
 8869 	* src/main.c (main): Check for filename != NULL.
 8870 	* src/warc.c (warc_process_cdx_line): Fix memory leak.
 8871 	* src/utils.c (match_posix_regex, compile_posix_regex): Remove dead assignment.
 8872 	* src/openssl.c (ssl_init): Fix old-style function definition.
 8873 
 8874 2012-06-02  Giuseppe Scrivano  <gscrivano@gnu.org>
 8875 
 8876 	* src/connect.c: Include <sys/socket.h> and <sys/select.h>.
 8877 
 8878 2012-05-31  Ángel González <keisial@gmail.com>
 8879 
 8880 	* convert.c: fix segfault on wrong urls (bug 36570)
 8881 
 8882 2012-05-30  Gijs van Tulder  <gvtulder@gmail.com>
 8883 
 8884 	* src/warc.c: Fix segfault if CDX record is not found.
 8885 
 8886 2012-05-26  Mike Frysinger <vapier@gentoo.org>
 8887 
 8888 	* src/warc.c: Change type of `warc_current_gzfile' to gzFile.
 8889 
 8890 2012-05-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 8891 
 8892 	* src/warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to
 8893 	ssize_t.
 8894 	Suggested by: Ángel González <keisial@gmail.com>
 8895 
 8896 2012-05-19  illusionoflife  <illusion.of.life92@gmail.com> (tiny change)
 8897 
 8898 	* src/convert.c (register_html,register_css): Fixed functions signature to
 8899 	not accept unused argument
 8900 	* src/retr.c (retrieve_url): Changed register_{css,html} usage according
 8901 	new signature.
 8902 
 8903 2012-05-18  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8904 
 8905 	* src/gnutls.c (wgnutls_poll): Honor the specified `timeout' value.
 8906 	(wgnutls_peek): Likewise.
 8907 
 8908 2012-05-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 8909 
 8910 	* src/warc.h: Cut length lines to 80 columns.
 8911 	* src/warc.c: Likewise.
 8912 
 8913 2012-05-14  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8914 
 8915 	* src/gnutls.c (wgnutls_read_timeout): removed warnings, moved fcntl stuff
 8916 	outside loop.
 8917 
 8918 	* src/hash.h (hash_table_put): Make argument "value" const.
 8919 	* src/hash.c (hash_table_put): Make argument value const.  Cast `value' to
 8920 	void.
 8921 	* src/http.c (request_set_header): Make argument `name' const.  Cast `value'
 8922 	and `name' to void*.
 8923 	(request_remove_header): Make argument `name' const.
 8924 	* src/url.c (url_file_name): Make `index_filename' static.
 8925 	* src/warc.h (warc_write_cdx_record): Make `url', `timestamp', `mime_type',
 8926 	`payload_digest', `redirect_location', `warc_filename', response_uuid'
 8927 	arguments const. Make `checksum' const.
 8928 	* src/warc.c (warc_write_date_header): Make the `timestamp' argument const.
 8929 	Make `extension' const.
 8930 	(warc_write_cdx_record): Make `url', `timestamp', `mime_type',
 8931 	`payload_digest', `redirect_location', `warc_filename', response_uuid'
 8932 	arguments const. Make `checksum' const.
 8933 
 8934 2012-05-13  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8935 
 8936 	* src/gnutls.c (credentials): Change type to
 8937 	gnutls_certificate_credentials_t.
 8938 	(ssl_init): Do not use deprecated types.
 8939 	(ssl_connect_wget): Likewise.
 8940 
 8941 2012-05-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 8942 
 8943 	* doc/wget.texi (Types of Files): Document --accept-regex and
 8944 	--reject-regex.
 8945 
 8946 2012-05-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 8947 
 8948 	* bootstrap.conf (gnulib_modules): Add `git-version-gen'.
 8949 	* build-aux/bzr-version-gen: Remove file.
 8950 	* configure.ac: Invoke `build-aux/git-version-gen' to get the dist
 8951 	version.
 8952 	* Makefile.am (EXTRA_DIST): Distribute build-aux/git-version-gen instead
 8953 	of build-aux/bzr-version-gen.
 8954 
 8955 2012-04-22  Tim Ruehsen <tim.ruehsen@gmx.de>
 8956 
 8957 	* src/main.c (main): Dynamically allocate `opt.progress_type'.
 8958 
 8959 2012-04-21  Tim Ruehsen  <tim.ruehsen@gmx.de>
 8960 
 8961 	* src/ftp-basic.c (ftp_pasv): Fix memory leak.
 8962 
 8963 	* src/http.c (gethttp): Fix memory leak.
 8964 
 8965 	* src/ftp.c (getftp): Silent compiler warning.
 8966 
 8967 2012-04-13  Tim Ruehsen  <tim.ruehsen@gmx.de> (tiny change)
 8968 
 8969 	* src/warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing
 8970 	`lineptr'.
 8971 
 8972 2012-04-11  Gijs van Tulder  <gvtulder@gmail.com>
 8973 
 8974 	* src/init.c: Add --accept-regex, --reject-regex and --regex-type.
 8975 	* src/main.c: Likewise.
 8976 	* src/options.c: Likewise.
 8977 	* src/recur.c: Likewise.
 8978 	* src/utils.c: Add regex-related functions.
 8979 	* src/utils.h: Add regex-related functions.
 8980 
 8981 2012-04-11  Gijs van Tulder  <gvtulder@gmail.com>
 8982 
 8983 	* bootstrap.conf (gnulib_modules): Include module `regex'.
 8984 	* configure.ac: Check for PCRE library.
 8985 
 8986 2012-04-07  Daniel Kahn Gillmor <dkg@fifthhorseman.net> (tiny change)
 8987 
 8988 	* src/gnutls.c (key_type_to_gnutls_type): New function.
 8989 	(ssl_init): Use correctly the specified gnutls certificate.
 8990 
 8991 2012-04-01  Giuseppe Scrivano  <gscrivano@gnu.org>
 8992 
 8993 	* src/gnutls.c (wgnutls_read_timeout): Ensure timer is freed.
 8994 
 8995 	* src/gnutls.c (wgnutls_read_timeout): Do not use timer if it is not
 8996 	allocated.
 8997 	Reported by: Xu Zhongxing <xu_zhong_xing@163.com>
 8998 
 8999 2012-04-01  Gijs van Tulder  <gvtulder@gmail.com>
 9000 
 9001 	* src/html-url.c: Prevent crash on incomplete STYLE tag.
 9002 
 9003 2012-03-30  Tim Ruehsen  <tim.ruehsen@gmx.de> (tiny change)
 9004 
 9005 	* src/warc.c: make warc_uuid_str() implementation depend on HAVE_LIBUUID.
 9006 
 9007 2012-03-30  Tim Ruehsen  <tim.ruehsen@gmx.de>
 9008 
 9009 	* src/url.c: Use empty query in local filenames.
 9010 
 9011 2012-03-30  Tim Ruehsen  <tim.ruehsen@gmx.de>
 9012 
 9013 	* src/convert.c (convert_links_in_hashtable): Mmake it static.
 9014 	* src/cookies.c (parse_set_cookie): Remove empty else branches.
 9015 	* src/css-url.c: Include "css-url.h".
 9016 	(get_uri_string): Make it static.
 9017 	* src/css-url.h (get_urls_css): Add protoype.
 9018 	* src/gnutls.c (ssl_init): Add prototype.
 9019 	* src/html-parse.c (tagstack_push): Make it static.
 9020 	* src/html-parse.c (tagstack_pop): Make it static.
 9021 	* src/html-parse.c (tagstack_find): Make it static.
 9022 	* src/html-url.c (cleanup_html_url): Make it static.
 9023 	* src/progress.c (count_cols): Make it static.
 9024 	* src/progress.c (get_eta): Make it static.
 9025 	* src/retr.h (convert_to_bits): Remove prototype.
 9026 	* src/util.h (convert_to_bits): Add prototype.
 9027 	* src/spider.c (spider_cleanup): Make it static.
 9028 	* src/warc.c (warc_write_start_record): Add prototype.
 9029 	* src/warc.c (warc_write_end_record): Add prototype.
 9030 	* src/warc.c (warc_start_cdx_file): Add prototype.
 9031 	* src/warc.c (warc_init): Add prototype.
 9032 	* src/warc.c (warc_load_cdx_dedup_file): Add prototype.
 9033 	* src/warc.c (warc_write_metadata): Add prototype.
 9034 	* src/warc.c (warc_close): Add prototype.
 9035 	* src/warc.c (warc_tempfile): Add prototype.
 9036 	* src/warc.c (warc_write_warcinfo_record): Make it static.
 9037 	* src/warc.c (warc_load_cdx_dedup_file): Make it static.
 9038 	* src/warc.c (warc_write_metadata): Make it static.
 9039 	* src/warc.h (warc_init): Fix prototype.
 9040 	* src/warc.h (warc_close): Fix prototype.
 9041 	* src/warc.h (warc_tempfile): Fix prototype.
 9042 
 9043 2012-03-29  Tim Ruehsen <tim.ruehsen@gmx.de> (tiny change)
 9044 
 9045 	* src/utils.c (library): Include <sys/time.h>.
 9046 
 9047 2012-03-25 Ray Satiro <raysatiro@yahoo.com>
 9048 
 9049 	* src/build_info.c.in: Check that HAVE_LIBSSL32 is defined when OpenSSL
 9050 	is used.
 9051 
 9052 2012-03-25 Ray Satiro <raysatiro@yahoo.com>
 9053 
 9054 	* configure.ac: Fix build under mingw when OpenSSL is used.
 9055 
 9056 2012-03-25  Giuseppe Scrivano  <gscrivano@gnu.org>
 9057 
 9058 	* src/utils.c: Include <sys/ioctl.h>.
 9059 
 9060 	* src/ptimer.c: Include <sys/time.h>.
 9061 
 9062 	* src/connect.c: Include <sys/socket.h>, <sys/select.h>, <sys/time.h>.
 9063 	Reported by: Ray Satiro <raysatiro@yahoo.com>.
 9064 
 9065 2012-03-20  Ángel González <keisial@gmail.com>
 9066 
 9067 	* bootstrap.conf (gnulib_modules): Add modules `ftello',
 9068 	`mkstemp' and `strtok_r'.
 9069 
 9070 2012-03-07  Steven Schubiger  <stsc@member.fsf.org>
 9071 
 9072 	* src/init.c (wgetrc_user_file_name): Correct typo.
 9073 
 9074 2012-03-06   Sasikantha Babu   <sasikanth.v19@gmail.com>
 9075 
 9076 	* src/utils.c (convert_to_bits): Added new function convert_to_bits to
 9077 	convert bytes to bits.
 9078 	* src/retr.c (calc_rate): Modified the function to handle --bits
 9079 	option and download rate calculated as bits per sec (SI-prefix)
 9080 	for --bits otherwise bytes (IEC-prefix).
 9081 	(retr_rate): Rates will display in bits per sec for --bits.
 9082 	* src/options.h (struct opt): Added --bit option bool variable bits_fmt.
 9083 	* src/main.c (print_help) : Added help for --bit.
 9084 	* src/init.c: Defined command for --bit option.
 9085 	* src/retr.h: Added function prototype.
 9086 
 9087 2012-02-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9088 
 9089 	* src/main.c: Include "closeout.h"
 9090 	(main): Register close_stdout at exit.
 9091 
 9092 2012-02-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9093 
 9094 	* bootstrap.conf (gnulib_modules): Add module `closeout'.
 9095 
 9096 2012-02-23  Giuseppe Scrivano  <giuseppe@southpole.se>
 9097 
 9098 	* src/main.c (main): Write diagnostic messages to `stderr' not to `stdout'.
 9099 
 9100 	* src/main.c (main): Fail gracefully if `malloc' fails.
 9101 
 9102 	* src/gnutls.c (wgnutls_read): Remove unused variables `timer' and `flags'.
 9103 
 9104 2012-02-17  Steven Schubiger  <stsc@member.fsf.org>
 9105 
 9106 	* src/warc.c: Add license header.
 9107 
 9108 2012-02-01  Gijs van Tulder  <gvtulder@gmail.com>
 9109 
 9110 	* src/warc.c: Fix large file support with ftello, fseeko.
 9111 	* src/warc.h: Fix large file support.
 9112 	* src/http.c: Fix large file support.
 9113 
 9114 2012-01-27  Gijs van Tulder  <gvtulder@gmail.com>
 9115 
 9116 	* src/retr.c (fd_read_body): If the response is chunked, the chunk
 9117 	headers are now written to the WARC file, making the WARC file
 9118 	an exact copy of the HTTP response.
 9119 
 9120 2012-01-27  Gijs van Tulder  <gvtulder@gmail.com>
 9121 
 9122 	* src/retr.c (fd_read_body): Fix a memory leak with chunked responses.
 9123 	* src/http.c (skip_short_body): Fix the same memory leak.
 9124 
 9125 2012-01-09  Sasikantha Babu   <sasikanth.v19@gmail.com> (tiny change)
 9126 	* src/connect.c (connect_to_ip): properly formatted ipv6 address display.
 9127 	(socket_family): New function - returns socket family type.
 9128 	* src/http.c (gethttp): properly formatted ipv6 address display.
 9129 
 9130 2012-01-09  Gijs van Tulder  <gvtulder@gmail.com>
 9131 
 9132 	* src/init.c: Disable WARC compression if zlib is disabled.
 9133 	* src/main.c: Do not show the 'no-warc-compression' option if zlib is
 9134 	disabled.
 9135 	* src/warc.c: Do not compress WARC files if zlib is disabled.
 9136 
 9137 2012-01-09  Gijs van Tulder  <gvtulder@gmail.com>
 9138 
 9139 	* configure.ac: Always try to use libz, even without SSL.
 9140 
 9141 2011-12-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 9142 
 9143 	* Makefile.am (EXTRA_DIST): Add build-aux/bzr-version-gen.
 9144 	Reported by: Elan Ruusamäe <glen@pld-linux.org>.
 9145 
 9146 2011-12-11  Giuseppe Scrivano  <gscrivano@gnu.org>
 9147 
 9148 	* util/trunc.c (main): Call `close' on the fd and check for errors.
 9149 	Reported by: <dga@cs.cmu.edu>.
 9150 
 9151 2011-11-09  Gijs van Tulder  <address@hidden>
 9152 
 9153 	* src/warc.c: Call gzdopen() with wb9 instead of wb+9, which fails on
 9154 	zlib version >= 1.2.4.
 9155 
 9156 2011-11-04  Steven Schweda  <address@hidden>
 9157 
 9158 	* src/warc.c [! WINDOWS]: Include <libgen.h>.
 9159 	(warc_write_warcinfo_record): Assign a new allocated buffer and
 9160 	free it on errors.
 9161 
 9162 2011-11-01  Steven Schweda  <address@hidden>
 9163 
 9164 	* src/gnutls.c (ssl_init): Ensure GNU TLS is loaded only once.
 9165 
 9166 2011-10-23  Giuseppe Scrivano  <gscrivano@gnu.org>
 9167 
 9168 	* bootstrap.conf (gnulib_modules): Include module `vsnprintf'.
 9169 
 9170 2011-10-16  Steven Schubiger  <stsc@member.fsf.org>
 9171 
 9172 	* util/paramcheck.pl: Match 1 or more times where applicable.
 9173 	(extract_entries): Return a copy instead of reference.
 9174 
 9175 2011-10-07  Steven Schweda  <address@hidden>
 9176 
 9177 	* src/connect.c: Add HAVE_SYS_SELECT_H and HAVE_SYS_SOCKET_H conditions
 9178 	on includes of <sys/select.h> and <sys/socket.h>, respectively.
 9179 	* src/ftp.c (getftp): Move BIN_TYPE_TRANSFER macro into VMS-specific
 9180 	section.  On VMS, use Stream_LF attributes for listing files.  Pass
 9181 	BIN_TYPE_FILE to fopen_excl() instead of constant-everywhere "true".
 9182 	* src/ftp.c (ftp_retrieve_list): Restore lost test of opt.preserve_perm
 9183 	(--preserve-permissions) on the chmod() operation.
 9184 	* src/init.c, main.c: Remove "deprecated" from opt.preserve_perm
 9185 	(--preserve-permissions).
 9186 	* src/init.c (initialize): Use distinct messages for errors in C macro
 9187 	SYSTEM_WGETRC and environment-variable SYSTEM_WGETRC.  Avoid use of
 9188 	C macro SYSTEM_WGETRC when it's not defined.
 9189 	* src/log.c (log_close): Avoid closing logfp when it's stderr.
 9190 	* src/main.c (print_help):  Restore --preserve-permissions.
 9191 	* src/main.c (main): Avoid using a negative value of longindex as a
 9192 	subscript (for long_options[]) when searching for "--config".
 9193 	* src/main.c (main): Exit the program using exit() instead of "return".
 9194 	(VMS handles these differently, and exit() is better.)
 9195 	* src/openssl.c (ssl_init): Add type cast (SSL_METHOD *) to newly "const"
 9196 	"meth" argument to accommodate OpenSSL version 0.9.8, where that
 9197 	argument is not "const" in the OpenSSL function (SSL_CTX_new).
 9198 	* src/test.c: Declare "program_argstring".
 9199 	* src/utils.c (fopen_excl): Comment typography.
 9200 	* src/warc.h: New file.
 9201 	* src/warc.c: New file.
 9202 
 9203 2011-10-02  Henrik Holst <henrik.holst@millistream.com> (tiny change)
 9204 
 9205 	* doc/wget.texi (HTTP Options): Document option --content-on-error.
 9206 
 9207 2011-10-02  Henrik Holst <henrik.holst@millistream.com> (tiny change)
 9208 	* src/http.c (gethttp): If 'contentonerror' is used then do not
 9209 	skip the http body on 4xx and 5xx errors.
 9210 
 9211 	* src/init.c (commands): Add 'contentonerror'.
 9212 
 9213 	* src/main.c (print_help, option_data): Add new option 'contentonerror'
 9214 	to make wget not skip the http content on 4xx and 5xx errors.
 9215 
 9216 	* src/options.h: New variable 'content_on_error'.
 9217 
 9218 2011-09-27  Karl Berry <karl@freefriends.org> (tiny change)
 9219 
 9220 	* doc/wget.texi: Make dir entry consistent with others.
 9221 
 9222 2011-09-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9223 
 9224 	* src/main.c (print_version): Update copyright year.
 9225 	(print_version): Fix typo.
 9226 
 9227 2011-09-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 9228 
 9229 	* src/ftp.c (ftp_retrieve_glob): Propagate correctly the `res' error
 9230 	code.
 9231 
 9232 2011-09-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 9233 
 9234 	* src/http.c (gethttp): Don't inhibit arest request if opt.timestamping is
 9235 	set.
 9236 	Reported by <natrio@list.ru>
 9237 
 9238 2011-09-06  Jakob Matthes <jakob.matthes@gmail.com> (tiny change)
 9239 
 9240 	* src/main.c (print_version): Do not exit prematurely when --help is passed.
 9241 
 9242 2011-09-04  Christian Jullien <eligis@orange.fr> (tiny change)
 9243 
 9244 	* src/gnutls.c: Include <sys/fcntl.h>.
 9245 
 9246 2011-09-04  Alan Hourihane <alanh@fairlite.co.uk> (tiny change)
 9247 
 9248 	* configure.ac: Check for libz when gnutls is used.
 9249 
 9250 2011-09-02  Mojca Miklavec <mojca.miklavec.lists@gmail.com> (tiny change)
 9251 
 9252 	* src/main.c (print_version): Do not exit prematurely when --version is passed.
 9253 
 9254 2011-08-30  Giuseppe Scrivano  <gscrivano@gnu.org>
 9255 
 9256 	* src/gnutls.c (wgnutls_read_timeout): Use the non blocking socket only for
 9257 	`gnutls_record_recv'.  Set errno to ETIMEDOUT on a read timeout.
 9258 
 9259 2011-08-29  Giuseppe Scrivano  <gscrivano@gnu.org>
 9260 
 9261 	* src/gnutls.c (wgnutls_read_timeout): New function.
 9262 	(wgnutls_read): Use wgnutls_read_timeout.
 9263 	(wgnutls_peek): Likewise.
 9264 
 9265 2011-08-27  Giuseppe Scrivano  <gscrivano@gnu.org>
 9266 
 9267 	* src/main.c (print_help): Exit with an error status if print to stdout
 9268 	fails.
 9269 	(print_usage): Change method signature and return a status code.
 9270 	(print_version): Likewise.
 9271 
 9272 2011-08-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9273 
 9274 	* src/gnutls.c: Include "ptimer.h".
 9275 	(wgnutls_read): Honor read timeout.
 9276 
 9277 	* src/openssl.c (ssl_init): Make `meth' const.
 9278 
 9279 2011-08-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9280 
 9281 	* configure.ac: Under mingw don't check for static OpenSSL
 9282 	libraries if the shared version was already found.
 9283 	Suggested by: Ray Satiro <raysatiro@yahoo.com>.
 9284 
 9285 2011-08-25  Giuseppe Scrivano  <gscrivano@gnu.org>
 9286 
 9287 	* src/utils.c [HAVE_UTIME && HAVE_UTIME_H]: Include <utime.h>.
 9288 	[HAVE_UTIME && HAVE_SYS_UTIME_H]: Include <sys/utime.h>.
 9289 	(touch) [HAVE_UTIME: Prefers utime over futimens when it is available.
 9290 	It was reported that Cygwin has a not working futimens.
 9291 
 9292 2011-08-25  Giuseppe Scrivano  <gscrivano@gnu.org>
 9293 
 9294 	* configure.ac: Check for `utime'.
 9295 
 9296 2011-08-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9297 
 9298 	* src/init.c (home_dir) [MSDOS]: Move local variable `len' here.
 9299 
 9300 2011-08-18  Giuseppe Scrivano  <gscrivano@gnu.org>
 9301 
 9302 	* doc/texi2pod.pl: Don't assume the perl executable is under /usr/bin/.
 9303 
 9304 2011-08-18  Giuseppe Scrivano  <giuseppe@southpole.se>
 9305 
 9306 	* src/http.c (gethttp): Fix a memory leak on some errors.  Free the head
 9307 	buffer.
 9308 
 9309 	* src/Makefile.am: Use an additional file "css_.c" which in turn includes
 9310 	"wget.h" and immediately "css.c".
 9311 
 9312 	* src/http.c (gethttp): Reset chunked_transfer_encoding on redirections.
 9313 
 9314 2011-08-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 9315 
 9316 	* src/retr.c (fd_read_body): Ensure max is not already defined.
 9317 
 9318 	* src/mswindows.h (snprintf): Remove definition.
 9319 	(vsnprintf): Likewise.
 9320 
 9321 2011-08-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 9322 
 9323 	* src/css.l: Remove include "wget.h".
 9324 	Reported by: Perry Smith <pedzsan@gmail.com>.
 9325 
 9326 2011-08-11  Giuseppe Scrivano  <gscrivano@gnu.org>
 9327 
 9328 	* src/utils.c (abort_run_with_timeout): Use sigprocmask instead of
 9329 	sigsetmask.
 9330 
 9331 	* src/gnutls.c (ssl_connect_wget): Remove call to deprecated function
 9332 	`gnutls_certificate_type_set_priority'.
 9333 
 9334 	* src/Makefile.am (version.c): Don't invoke hg to set version string.
 9335 
 9336 2011-08-11  Giuseppe Scrivano  <gscrivano@gnu.org>
 9337 
 9338 	* bootstrap.conf (gnulib_modules): Add `sigprocmask'.
 9339 
 9340 	* configure.ac: Do not hardcode GNU TLS and OpenSSL libraries.
 9341 
 9342 	* bootstrap.conf (gnulib_modules): Include module iconv.
 9343 
 9344 	* configure.ac: Allow --with-libgnutls-prefix and
 9345 	--with-libssl-prefix
 9346 	Suggested by: Karl Berry <karl@freefriends.org>
 9347 
 9348 	* build-aux/bzr-version-gen (TAG): Consider only the last tag.
 9349 
 9350 2011-08-10  Giuseppe Scrivano  <gscrivano@gnu.org>
 9351 
 9352 	Fix a linker error on systems with an older gnutls version.
 9353 	* src/gnutls.c (ssl_connect_wget)
 9354 	[HAVE_GNUTLS_PRIORITY_SET_DIRECT]:  Use gnutls_priority_set_direct.
 9355 	[! HAVE_GNUTLS_PRIORITY_SET_DIRECT]:  Use gnutls_protocol_set_priority.
 9356 	Reported by: Karl Berry <karl@freefriends.org>
 9357 
 9358 2011-08-10  Giuseppe Scrivano  <gscrivano@gnu.org>
 9359 
 9360 	* configure.ac: Print usage string for --with-ssl.
 9361 	Reported by: Karl Berry <karl@freefriends.org>
 9362 
 9363 	* configure.ac: Check for `gnutls_priority_set_direct' when gnutls is
 9364 	used.
 9365 	Reported by: Karl Berry <karl@freefriends.org>
 9366 
 9367 2011-08-09  Giuseppe Scrivano  <gscrivano@southpole.se>
 9368 
 9369 	* build-aux/bzr-version-gen: Fix some portability issues.
 9370 
 9371 2011-08-06  Jochen Roderburg <Roderburg@Uni-Koeln.DE>
 9372 
 9373 	* src/host.c (lookup_host): Ensure it doesn't print more IPs than available
 9374 	ones.
 9375 
 9376 2011-08-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 9377 
 9378 	* src/init.c (defaults): Set default value for show_all_dns_entries.
 9379 
 9380 	* src/host.c (lookup_host): If `showalldnsentries' is used then print all
 9381 	the IP corresponding to a DNS entry.
 9382 	* src/init.c (commands): Add `showalldnsentries'.
 9383 	Suggested by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
 9384 
 9385 	* src/http.c (gethttp): Add the Cache-Control HTTP header when --no-cache
 9386 	is specified.
 9387 	Reported by: Коренберг Марк <socketpair@gmail.com>.
 9388 
 9389 2011-08-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 9390 
 9391 	* doc/wget.texi (Wgetrc Commands): Document show_all_dns_entries.
 9392 
 9393 	* doc/Makefile.am (wget.pod): Pass the VERSION value to texi2pod.
 9394 
 9395 	* doc/texi2pod.pl: Update from GCC.
 9396 
 9397 2011-08-05  Giuseppe Scrivano  <gscrivano@gnu.org>
 9398 
 9399 	* src/utils.c (acceptable): Accept always the file if it is the specified
 9400 	output destination.
 9401 	Reported by: Shai Berger <shai@platonix.com>
 9402 
 9403 2011-08-05  Giuseppe Scrivano  <giuseppe@southpole.se>
 9404 
 9405 	* src/gnutls.c (ssl_connect_wget): Use `gnutls_priority_set_direct' instead
 9406 	of the deprecated `gnutls_protocol_set_priority'.
 9407 
 9408 2011-08-02  Giuseppe Scrivano  <giuseppe@southpole.se>
 9409 
 9410 	* src/cookies.c (parse_set_cookie): If the value is quoted, do not modify
 9411 	it.
 9412 	Reported by: Nirgal Vourgère <jmv_deb@nirgal.com>
 9413 
 9414 2011-07-29  Giuseppe Scrivano  <giuseppe@southpole.se>
 9415 
 9416 	* src/log.c (logprintf): Exit immediately on a SIGPIPE error.
 9417 	Reported by: Noèl Köthe  <noel@debian.org>.
 9418 
 9419 2011-07-28  Noèl Köthe  <noel@debian.org> (tiny change)
 9420 
 9421 	* doc/wget.texi (HTTP Options): Fix typo.
 9422 
 9423 2011-07-26  Giuseppe Scrivano  <giuseppe@southpole.se>
 9424 
 9425 	* src/retr.c (retrieve_url): Do not register redirects when in spider mode.
 9426 
 9427 2011-07-26  Giuseppe Scrivano  <giuseppe@southpole.se>
 9428 
 9429 	* doc/wget.info (cookies): Remove reference to --cookies.
 9430 	Reported by: Noèl Köthe.
 9431 
 9432 2011-07-26  Carlos Martín Nieto  <carlos@cmartin.tk>  (tiny change)
 9433 
 9434 	* src/init.c (home_dir): Allocate path buffer dinamically.
 9435 
 9436 2011-07-20 Merinov Nikolay <kim.roader@gmail.com>
 9437 
 9438 	* src/iri.c (remote_to_utf8): Add test for non-ASCII symbols with
 9439 	UTF-8 URI encoding.
 9440 	* src/res.c (res_retrieve_file): Fix url_parse call.
 9441 
 9442 2011-07-05  Giuseppe Scrivano  <gscrivano@gnu.org>
 9443 
 9444 	* doc/wget.texi (Recursive Retrieval Options): Make clearer that recursion,
 9445 	by default, uses 5 levels.
 9446 	Reported by: Marc Deop <damnshock@gmail.com>.
 9447 
 9448 2011-06-08  Giuseppe Scrivano  <giuseppe@southpole.se>
 9449 
 9450 	* src/retr.c (retrieve_from_file): Parse the url careless if IRI is enabled.
 9451 	Reported by: Volker Kuhlmann <list0570@paradise.net.nz>.
 9452 
 9453 2011-06-03  Merinov Nikolay  <kim.roader@gmail.com>
 9454 
 9455 	* tests/Test-idn-cmd-utf8.px: Added test for idn with utf-8 local encoding.
 9456 	* tests/Test-idn-robots-utf8.px: Added test for idn with utf-8 local encoding
 9457 	and robots.txt file.
 9458 	* tests/Makefile.am, run-px: Add new tests.
 9459 2011-05-26  Steven Schweda  <sms@antinode.info>
 9460 	* src/connect.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h>.
 9461 	[HAVE_SYS_SELECT_H]: Include <sys/select.h>.
 9462 
 9463 2011-05-25  Giuseppe Scrivano  <gscrivano@gnu.org>
 9464 
 9465 	* bootstrap.conf (gnulib_modules): Add `strerror_r-posix'.
 9466 
 9467 2011-05-24  Giuseppe Scrivano  <gscrivano@gnu.org>
 9468 
 9469 	* src/retr.c (fd_read_body): Define max.
 9470 
 9471 2011-05-23  Giuseppe Scrivano  <gscrivano@gnu.org>
 9472 
 9473 	* src/retr.c (fd_read_body): Be sure the buffer size is at least 8Kb.
 9474 	BUFSIZ may assume very small values with a negative impact on the
 9475 	performances.
 9476 
 9477 	* src/mswindows.h [NEED_GAI_STRERROR]: remove definition for gai_strerror.
 9478 
 9479 2011-05-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9480 
 9481 	* COPYING: Fix the copyright years.
 9482 	Reported by: Brett Smith <brett@fsf.org>.
 9483 
 9484 2011-05-15  Ray Satiro <raysatiro@yahoo.com>
 9485 
 9486 	* src/connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking.
 9487 	* src/mswindows.h: Add declaration for set_windows_fd_as_blocking_socket.
 9488 	* src/mswindows.c (set_windows_fd_as_blocking_socket): New function.
 9489 
 9490 	* src/openssl.c (openssl_read): Prevent loops on read errors.
 9491 
 9492 2011-04-24  Giuseppe Scrivano  <gscrivano@gnu.org>
 9493 
 9494 	* src/html-url.c: Include "exists.h".
 9495 	* src/gnutls.c (wgnutls_peek): Remove local variable `ret'.
 9496 
 9497 2011-04-21  Daniel Manrique <roadmr@tomechangosubanana.com> (tiny change)
 9498 	* src/main.c (main): Set exit status when invalid host name given in
 9499 	command line.
 9500 	* src/html-url.c (get_urls_file): Set exit status when invalid host
 9501 	name given in input file.
 9502 
 9503 2011-04-19  Ray Satiro <raysatiro@yahoo.com>
 9504 
 9505 	* configure.ac: Adjust indentation.
 9506 
 9507 2011-04-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9508 
 9509 	* tests/Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME).
 9510 
 9511 2011-04-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9512 
 9513 	* src/gnutls.c: Do not include <fcntl.h>.
 9514 	* src/gnutls.c (wgnutls_peek): Ensure there is data available before attempt
 9515 	a read on the blocking socket.
 9516 
 9517 	* src/Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME)
 9518 	* src/utils.c: Include <sys/stat.h>.  Do not include <sys/time.h>.
 9519 	(touch): Use `futimens' instead of `utimes'.
 9520 
 9521 	* src/mswindows.h: Do not include <direct.h>.  Remove macro definition for
 9522 	mkdir.
 9523 
 9524 2011-04-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9525 
 9526 	* bootstrap.conf (gnulib_modules): Add `mkdir'.
 9527 
 9528 2011-04-18  Giuseppe Scrivano  <gscrivano@gnu.org>
 9529 
 9530 	* src/utils.c: Include <sys/time.h>.  Do not include <sys/utime.h>.
 9531 	(touch): Use `utimes' instead of `utime'.
 9532 
 9533 	* src/openssl.c (openssl_read): Fix build error.
 9534 
 9535 2011-04-17  Giuseppe Scrivano  <gscrivano@gnu.org>
 9536 
 9537 	* src/wget.h [HAVE_LIBSSL32]: Define HAVE_SSL.
 9538 
 9539 	* src/gnutls.c (wgnutls_peek): Use correctly FIONBIO codes under Mingw32.
 9540 	Reported by: Ray Satiro <raysatiro@yahoo.com>
 9541 
 9542 2011-04-17  Giuseppe Scrivano  <gscrivano@gnu.org>
 9543 
 9544 	* configure.ac: Do not check the host_os twice and if windres is
 9545 	available.
 9546 	Reported by: Ray Satiro <raysatiro@yahoo.com>
 9547 
 9548 2011-04-16  Ray Satiro <raysatiro@yahoo.com>
 9549 2011-04-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 9550 
 9551 	* configure.ac: Detect dynamically linked OpenSSL libraries under
 9552 	mingw32.
 9553 
 9554 2011-04-14  Giuseppe Scrivano  <gscrivano@gnu.org>
 9555 
 9556 	* bootstrap: Update from gnulib.
 9557 
 9558 	* bootstrap.conf (gnulib_modules): Add `pipe' and `sigpipe'.
 9559 
 9560 	* .cvsignore: Remove file.
 9561 	* .hgignore: Likewise.
 9562 	* .symlinks: Likewise.
 9563 
 9564 	* bootstrap.conf (gnulib_modules): Add `mbtowc and `unlocked-io'.
 9565 
 9566 2011-04-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 9567 
 9568 	* src/openssl.c (openssl_poll): Check if the specified timeout is zero after
 9569 	SSL_pending.
 9570 	(openssl_peek): Make the call non-blocking.
 9571 
 9572 2011-04-11  Cristian Rodríguez  <crrodriguez@opensuse.org> (tiny change)
 9573 
 9574 	* src/openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when
 9575 	available.
 9576 
 9577 2011-04-07  Ray Satiro  <raysatiro@yahoo.com> (tiny change)
 9578 
 9579 	(wgnutls_read): Check for the GNUTLS_E_AGAIN return code in the recv
 9580 	tight loop.
 9581 	(wgnutls_write): Likewise.
 9582 	(wgnutls_peek): Likewise.
 9583 
 9584 2011-04-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 9585 
 9586 	* src/gnutls.c (wgnutls_peek): New local variable `read'.
 9587 	Use `read' instead of `ret' to store the number of read bytes.
 9588 	Reported by: Ray Satiro <raysatiro@yahoo.com>
 9589 
 9590 2011-04-07  Giuseppe Scrivano  <gscrivano@gnu.org>
 9591 
 9592 	* src/gnutls.c (ssl_init): Allow X509 v1 certificates.
 9593 	Suggested by: Ray Satiro <raysatiro@yahoo.com>
 9594 
 9595 	(wgnutls_peek): Remove tight loop around gnutls_record_recv.
 9596 
 9597 2011-04-04  Giuseppe Scrivano  <gscrivano@gnu.org>
 9598 
 9599 	* tests/Makefile.am (LIBS): Remove  @LIBSSL@ @W32LIBS@
 9600 
 9601 2011-04-04  Giuseppe Scrivano  <gscrivano@gnu.org>
 9602 
 9603 	* src/openssl.c [WINDOWS]: Include <w32sock.h>.
 9604 	(openssl_read): Retry the read on SSL_ERROR_WANT_READ.
 9605 
 9606 	* src/host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
 9607 	Suggested by: Ray Satiro <raysatiro@yahoo.com>.
 9608 
 9609 	* src/Makefile.am (LIBS): Remove  @LIBSSL@ @W32LIBS@
 9610 
 9611 2011-04-04  Giuseppe Scrivano  <gscrivano@gnu.org>
 9612 
 9613 	* configure.ac: Use AC_CHECK_LIB to look for the openssl library.
 9614 
 9615 2011-04-03  Giuseppe Scrivano  <gscrivano@gnu.org>
 9616 
 9617 	* src/gnutls.c: Include <fcntl.h>.
 9618 	(wgnutls_peek): Make the socket non blocking before attempt a read.
 9619 
 9620 	* src/gnutls.c: Include <sys/ioctl.h>.
 9621 	(wgnutls_peek) [F_GETFL]: Use fcntl.
 9622 	(wgnutls_peek) [! F_GETFL]: Use ioctl.
 9623 
 9624 
 9625 2011-04-03  Giuseppe Scrivano  <gscrivano@gnu.org>
 9626 
 9627 	* bootstrap.conf (gnulib_modules): Add `fcntl'.
 9628 
 9629 	(gnulib_modules): Add `ioctl'.
 9630 
 9631 2011-03-31  Giuseppe Scrivano  <gscrivano@gnu.org>
 9632 
 9633 	* src/recur.c (download_child_p): When --no-parent is used, check that the
 9634 	ports are the same only in case the same protocol is used.
 9635 	Reported by: Karl Berry <karl@freefriends.org>
 9636 
 9637 	* src/res.c (res_parse): Add new line to debug messages.
 9638 
 9639 2011-03-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9640 
 9641 	* configure.ac: Fix the gnutls detection.
 9642 
 9643 2011-03-21  Giuseppe Scrivano  <gscrivano@gnu.org>
 9644 
 9645 	* src/iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a
 9646 	compiler warning.
 9647 
 9648 	* src/iri.h: Declare `dummy_iri' as extern not static.
 9649 	* src/main.c [!ENABLE_IRI]: Define `dummy_iri'.
 9650 	(main) [!ENABLE_IRI]: Initialize `dummy_iri'.
 9651 
 9652 2011-03-21  Giuseppe Scrivano  <gscrivano@gnu.org>
 9653 
 9654 	* doc/wget.texi: Do not cite the current maintainer.
 9655 	Reported by: Micah Cowan <micah@cowan.name>.
 9656 
 9657 2011-03-21  Giuseppe Scrivano  <gscrivano@gnu.org>
 9658 
 9659 	* bootstrap: Update from gnulib.
 9660 
 9661 2011-03-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9662 
 9663 	* bootstrap.conf (buildreq): Update build prerequisites list.
 9664 
 9665 2011-03-11  Giuseppe Scrivano  <gscrivano@gnu.org>
 9666 
 9667 	* src/ftp.c (getftp): Fix some memory leaks.
 9668 	* src/ftp-ls.c (ftp_parse_winnt_ls): Likewise.
 9669 	Reported by: Zhenbo Xu <zhenbo1987@gmail.com>.
 9670 
 9671 2011-03-02  Tomasz Buchert <tomek.buchert@gmail.com> (tiny change)
 9672 
 9673 	* src/http.c (ensure_extension): Do not adjust the extension if the file
 9674 	ends in .htm.
 9675 
 9676 2011-02-22  Steven Schubiger  <stsc@member.fsf.org>
 9677 
 9678 	* src/http.c (gethttp, http_loop): Move duplicated code which is run
 9679 	when an existing file is not to be clobbered to a function.
 9680 	(get_file_flags): New static function.
 9681 
 9682 2011-02-22  Gilles Carry  <gilles.carry@st.com>
 9683 
 9684 	* src/main.c (prompt_for_password): Use stderr instead of stdout
 9685 	to prompt password. This allows to use --output-document=- and
 9686 	--ask-password simultaneously. Without this, redirecting stdout
 9687 	makes password prompt invisible and mucks up payload such as in
 9688 	this example:
 9689 	wget --output-document=- --ask-password -user=foo \
 9690 		http://foo.com/tarball.tgz | tar zxf -
 9691 
 9692 2010-12-28  Adrien Nader  <adrien@notk.org> (tiny change)
 9693 
 9694 	* src/main.c [WINDOWS]: Include <io.h> and <fcntl.h>.
 9695 	(main) [WINDOWS]: Set the stdout file mode to binary.
 9696 	Submitted also by: Martin Panter <vadmium@gmail.com>
 9697 
 9698 2010-12-22  Giuseppe Scrivano  <gscrivano@gnu.org>
 9699 
 9700 	* doc/wget.texi (HTTP Options): Remove sentence which doesn't reflect
 9701 	the wget behaviour when -k -K are used with -E.
 9702 	Reported by: pike-wget@kw.nl.
 9703 
 9704 2010-12-10  Evgeniy Philippov <egphilippov@googlemail.com> (tiny change)
 9705 
 9706 	* src/main.c (main): Initialize `total_downloaded_bytes'.
 9707 
 9708 2010-12-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 9709 
 9710 	* src/main.c (main): If --no-clobber and --convert-links are used at the
 9711 	same time, use only the latter.
 9712 	Reported by: Romain Vimont <rom@rom1v.com>
 9713 
 9714 2010-12-07  Jessica McKellar <jesstess@mit.edu> (tiny change)
 9715 
 9716 	* vms/WGET.HLP: Make help message clearer.
 9717 
 9718 2010-12-07  Jessica McKellar <jesstess@mit.edu> (tiny change)
 9719 
 9720 	* src/main.c: Make help message clearer.
 9721 
 9722 2010-12-02  Giuseppe Scrivano  <gscrivano@gnu.org>
 9723 
 9724 	* src/build_info.c.in: Do not list md5.
 9725 
 9726 2010-12-01  Giuseppe Scrivano  <gscrivano@gnu.org>
 9727 
 9728 	* src/cmpt.c: Include <unistd.h> inconditionally.
 9729 	* src/connect.c: Likewise.
 9730 	* src/convert.c: Likewise.
 9731 	* src/ftp-basic.c: Likewise.
 9732 	* src/ftp-ls.c: Likewise.
 9733 	* src/ftp.c: Likewise.
 9734 	* src/gnutls.c: Likewise.
 9735 	* src/http.c: Likewise.
 9736 	* src/init.c: Likewise.
 9737 	* src/log.c: Likewise.
 9738 	* src/main.c: Likewise.
 9739 	* src/openssl.c: Likewise.
 9740 	* src/progress.c: Likewise.
 9741 	* src/ptimer.c: Likewise.
 9742 	* src/recur.c: Likewise.
 9743 	* src/retr.c: Likewise.
 9744 	* src/url.c: Likewise.
 9745 	* src/utils.c: Likewise.
 9746 
 9747 	* src/retr.c (fd_read_body): Dinamically allocate `dlbuf'.
 9748 
 9749 2010-11-27  Reza Snowdon  <vivi@mage.me.uk>
 9750 
 9751 	* src/init.c (initialize): If 'ok' is not zero; exit, as this
 9752 	indicates there was a problem parsing 'SYSTEM_WGETRC'.
 9753 	Fixes bug #20370.
 9754 
 9755 2010-11-22  Giuseppe Scrivano  <gscrivano@gnu.org>
 9756 
 9757 	Revert last commit.
 9758 	* src/ftp.c (getftp): When count > 0, don't append to the existing file.
 9759 	* src/http.c (gethttp): Likewise.
 9760 
 9761 2010-11-21  Giuseppe Scrivano  <gscrivano@gnu.org>
 9762 
 9763 	* src/ftp.c (getftp): If `count' is bigger than zero, try to resume the
 9764 	download, not restart it.
 9765 	* src/http.c (gethttp): Likewise.
 9766 	Suggested by: Evgeny Kapun <abacabadabacaba@gmail.com>.
 9767 
 9768 2010-11-20  Filipe Brandenburger <filbranden@gmail.com> (tiny change)
 9769 
 9770 	* src/http.c (gethttp): Repeat a POST request on a 307 response.
 9771 	* src/retr.c (retrieve_url): Use NEWLOCATION_KEEP_POST.
 9772 	* src/wget.h: Define NEWLOCATION_KEEP_POST.
 9773 
 9774 2010-11-19  Giuseppe Scrivano  <gscrivano@gnu.org>
 9775 
 9776 	* src/ftp.c (getftp): Accept new argument `count'.  When `count' is
 9777 	bigger than zero, assume the file can be overwritten.
 9778 	(ftp_loop_internal): Pass new argument `count' to `getftp'.
 9779 
 9780 	* src/http.c (gethttp): Accept new argument `count'.  When `count' is
 9781 	bigger than zero, assume the file can be overwritten.
 9782 	(http_loop): Pass new argument `count' to `gethttp'.
 9783 	Reported by: Evgeny Kapun <abacabadabacaba@gmail.com>.
 9784 
 9785 2010-10-26  Giuseppe Scrivano  <gscrivano@gnu.org>
 9786 
 9787 	* doc/wget.texi (Download Options): Remove unclear statement about the
 9788 	--waitretry option.
 9789 	Reported by: Manfred Koizar <mkoi-pg@aon.at>.
 9790 
 9791 2010-10-24  Jessica McKellar <jesstess@mit.edu> (tiny change)
 9792 
 9793 	* src/main.c (main): Print the total download time as part of the
 9794 	summary for downloads using the recursive or page requisites
 9795 	options. Fixes bug #21359.
 9796 
 9797 2010-10-24  Jessica McKellar <jesstess@mit.edu> (tiny change)
 9798 
 9799 	* NEWS: Mention the change to the the summary for recursive downloads.
 9800 
 9801 2010-10-24  Giuseppe Scrivano  <gscrivano@gnu.org>
 9802 
 9803 	* src/gnutls.c (wgnutls_peek): Do not return an error when
 9804 	`gnutls_record_recv' fails but some data is already available.
 9805 
 9806 2010-10-23  Giuseppe Scrivano  <gscrivano@gnu.org>
 9807 
 9808 	* tests/Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last
 9809 	component.
 9810 
 9811 2010-10-23  Giuseppe Scrivano  <gscrivano@gnu.org>
 9812 
 9813 	* src/Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last
 9814 	component.
 9815 
 9816 	* src/gnutls.c (wgnutls_peek): Block until data is available.
 9817 
 9818 2010-10-23  Giuseppe Scrivano  <gscrivano@gnu.org>
 9819 
 9820 	* configure.ac: Add check for libgpg-error and libgcrypt.
 9821 
 9822 2010-10-21  Giuseppe Scrivano  <gscrivano@gnu.org>
 9823 
 9824 	* src/retr.c (retrieve_url): Do not register HTML files twice.
 9825 	Reported by: Manfred Koizar <mkoi-pg@aon.at>.
 9826 
 9827 2010-10-18  Manfred Koizar <mkoi-pg@aon.at> (tiny change)
 9828 
 9829 	* src/html-url.c (tag_handle_link): Do not assume external links type
 9830 	to be always "text/html".
 9831 
 9832 2010-10-16  Giuseppe Scrivano  <gscrivano@gnu.org>
 9833 
 9834 	* src/connect.c (socket_ip_address): Initialize `sockaddr' to zero.
 9835 	* src/ftp-basic.c (ftp_epsv): Remove dead assignment to `s'.
 9836 	* src/ftp-ls.c (ftp_parse_vms_ls): Remove dead assignment to `len'.
 9837 	* src/http.c (skip_short_body): Remove dead assignment to `ret'.
 9838 	* src/init.c (wgetrc_user_file_name): Remove dead assignment to `home'.
 9839 	* src/main.c (main): Silent warning reported by clang.
 9840 	(http_loop): Silent warning reported by clang.
 9841 	* src/retr.c (retrieve_url): Likewise.
 9842 	* src/url.c (init_seps): Remove dead assignment to `p'.
 9843 
 9844 2010-10-11  Steven Schubiger <stsc@member.fsf.org>
 9845 
 9846 	* src/ftp.c (getftp): Initialize `targ'.
 9847 
 9848 2010-10-11  Giuseppe Scrivano  <gscrivano@gnu.org>
 9849 
 9850 	* src/ftp.c (getftp): Fix indentation.
 9851 
 9852 2010-10-08  Ivanov Anton <x86mail@gmail.com> (tiny change)
 9853 
 9854 	* src/html-url.c (check_style_attr): Skip quotes when they are present.
 9855 
 9856 2010-10-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 9857 
 9858 	* src/main.c (main): Remove unused variable `status'.
 9859 
 9860 2010-09-25  Merinov Nikolay  <kim.roader@gmail.com>
 9861 
 9862 	* src/init.c: Add "unlink" command into command list.
 9863 	* src/main.c: Add "unlink" option into option_data list.
 9864 	* src/options.h: Adding unlink field into struct options.
 9865 	* src/wget.h: Addind UNLINKERR error into uerr_t enum.
 9866 	* src/exits.c (get_status_for_err): define status for UNLINKERR.
 9867 	* src/ftp.c (getftp): unlink file if exists, instead clobbering.
 9868 	(ftp_loop_internal): processing UNLINKERR.
 9869 	* src/http.c (gethttp): unlink file if exists, instead clobbering.
 9870 	(http_loop): processing UNLINKERR.
 9871 
 9872 2010-09-25  Merinov Nikolay  <kim.roader@gmail.com>
 9873 
 9874 	* doc/wget.texi (Download Options): Document --unlink option.
 9875 
 9876 2010-09-24  Dennis, CHENG Renquan <crquan@fedoraproject.org>
 9877 
 9878 	Fix problem when content-disposition is used with recursive downloading.
 9879 	* src/url.h (url_file_name): Add a new argument `replaced_filename'.
 9880 	* src/url.c (url_file_name): Likewise.
 9881 	* src/http.c (parse_content_disposition): Do not add a prefix to the return
 9882 	value.
 9883 	(test_parse_content_disposition): Adjust tests.
 9884 	(gethttp): Pass additional parameter to `url_file_name'.
 9885 	(http_loop): Likewise.
 9886 	* src/ftp.c (ftp_loop_internal, ftp_get_listing, ftp_retrieve_list)
 9887 	(ftp_loop): Likewise.
 9888 
 9889 2010-09-14  Giuseppe Scrivano  <gscrivano@gnu.org>
 9890 
 9891 	* src/convert.c (local_quote_string): Accept new parameter `no_html_quote'.
 9892 	Inhibit HTML quoting when `no_html_quote'.
 9893 	(convert_links): Disable HTML quoting in CSS files.
 9894 	Reported by: Manuel Reinhardt <reinhardt@syslab.com>.
 9895 
 9896 2010-09-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 9897 
 9898 	* doc/wget.texi (Recursive Accept/Reject Options): Remove superfluous dot.
 9899 	Reported by: Snader_LB.
 9900 
 9901 2010-09-12  Mike Frysinger  <vapier@gentoo.org>
 9902 
 9903 	Fix some tests failures.
 9904 	* tests/Test-iri-forced-remote.px: Use --trust-server-names to the cmdline
 9905 	variable.
 9906 	* tests/Test-iri-list.px: Likewise.
 9907 	* tests/Test-iri.px: Likewise.
 9908 
 9909 2010-09-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 9910 
 9911 	* src/main.c (print_help): Align --trust-server-names help text with
 9912 	the rest of the text.
 9913 	Suggested by: Mike Frysinger  <vapier@gentoo.org>.
 9914 
 9915 2010-09-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 9916 
 9917 	* lib/Makefile.am: Fix typo.
 9918 
 9919 2010-08-20  Giuseppe Scrivano  <gscrivano@gnu.org>
 9920 
 9921 	* src/convert.c: Include "iri.h".
 9922 	(convert_links_in_hashtable): Parse the url, if
 9923 	necessary, before check if it is present in the dowloaded url
 9924 	map.
 9925 	Reported by: <sk.random@gmail.com>.
 9926 
 9927 2010-08-09  Giuseppe Scrivano  <gscrivano@gnu.org>
 9928 
 9929 	Fix a problem with HTTP/1.0 proxies.
 9930 	* src/http.c (gethttp): Specify the connection header when keep alive
 9931 	connections are not used.
 9932 
 9933 	Use persistent connections with proxies supporting them.
 9934 	* src/http.c (gethttp): Specify Proxy-Connection to the HTTP proxy.
 9935 
 9936 2010-08-08  Reza Snowdon <vivi@mage.me.uk>
 9937 
 9938 	* src/main.c (main): inserted 'defaults'.
 9939 	  Added additional 'getopt_long' while loop to search and apply a
 9940 	  user specified config file before any other options.
 9941 	  New variables 'retconf', 'use_userconfig',
 9942 	  'confval', 'userrc_ret', 'config_opt'.
 9943 	* src/init.c: Include stdbool.h.
 9944 	(commands): Added config details.
 9945 	  (defaults): Removed static.
 9946 	  (wgetrc): Removed static.
 9947 	  (initialize): Removed 'defaults ()',
 9948 	changed 'int ok' to 'bool ok'.
 9949 	* src/options.h: New variable 'choose_config'.
 9950 	* src/init.h (defaults): exported function.
 9951 	  (run_wgetrc): exported function.
 9952 
 9953 2010-08-08  Reza Snowdon <vivi@mage.me.uk>
 9954 	* doc/wget.texi: Added information about the config option to the
 9955 	'Overview' section and a description of the option in
 9956 	'Logging and Input File Options'.
 9957 
 9958 2010-08-08  Giuseppe Scrivano  <gscrivano@gnu.org>
 9959 
 9960 	* Makefile.am (EXTRA_DIST): Remove configure.bat.
 9961 
 9962 2010-08-06  Giuseppe Scrivano  <gscrivano@gnu.org>
 9963 
 9964 	* src/css-url.c (get_uri_string): Skip empty urls.
 9965 
 9966 2010-07-30  Giuseppe Scrivano  <gscrivano@gnu.org>
 9967 
 9968 	* src/html-url.h (struct map_context): Remove member `tail'.
 9969 
 9970 	* src/html-url.c (append_url): Append the new url ordered by `position'.
 9971 	(get_urls_html): Do not initialize `ctx.tail'.
 9972 
 9973 	* src/css-url.c (get_urls_css_file): Do not initialize `ctx.tail'.
 9974 
 9975 2010-07-29  Giuseppe Scrivano  <gscrivano@gnu.org>
 9976 
 9977 	* src/gnutls.c (wgnutls_peek): Don't read more data if the buffered peek
 9978 	data is sufficient.
 9979 
 9980 2010-07-28  Giuseppe Scrivano  <gscrivano@gnu.org>
 9981 
 9982 	* src/http.h (http_loop): Add new argument `original_url'
 9983 	* src/http.c (http_loop): Add new argument `original_url'.  Use
 9984 	`original_url' to get a filename if `trustservernames' is false.
 9985 
 9986 	* src/init.c (commands): Add "trustservernames".
 9987 
 9988 	* src/options.h (library): Add variable `trustservernames'.
 9989 
 9990 	* src/main.c (option_data): Add trust-server-names.
 9991 	(print_help): Describe --trust-server-names.
 9992 
 9993 	* src/retr.c (retrieve_url): Pass new argument to `http_loop'.
 9994 
 9995 2010-07-28  Alon Bar-Lev <alon.barlev@gmail.com> (tiny change)
 9996 
 9997 	* doc/texi2pod.pl: Use the warnings module only when it is available.
 9998 
 9999 2010-07-25  John Trengrove  <jtrengrove@gmail.com> (tiny change)
10000 
10001 	* src/ftp.h: Added enum `parsetype'.  Modified struct to hold parsetype.
10002 
10003 	* src/ftp-ls.c (ftp_parse_unix_ls): Default to TT_DAY. Change to TT_HOUR_MIN
10004 	if hours/minutes parsed.
10005 	(ftp_parse_winnt_ls): Default to TT_HOUR_MIN.
10006 	(ftp_parse_vms_ls): Default to TT_HOUR_MIN.
10007 	(ftp_index): Print only if fileinfo struct value ttype set to TT_HOUR_MIN.
10008 
10009 2010-07-24  Giuseppe Scrivano  <gscrivano@gnu.org>
10010 
10011 	* configure.bat: Remove file.
10012 
10013 2010-07-20  Leonid Petrov <nouser@lpetrov.net>
10014 
10015 	* src/ftp.c (getftp): Don't attempt to retrieve the file if it is already
10016 	completely.
10017 	(ftp_loop_internal): Force the length to be zero for symlinks.
10018 
10019 2010-07-20  Alan Jenkins <alan-jenkins@tuffmail.co.uk> (tiny change)
10020 
10021 	* src/http.c (gethttp): Check content-length was set before trying to
10022 	compare it with the already downloded filesize.
10023 
10024 2010-07-18  Giuseppe Scrivano  <gscrivano@gnu.org>
10025 
10026 	* src/http.c (gethttp): If -N is used, don't exit immediately if the content
10027 	length is less or equal than the existing file size.  Specify "Range"
10028 	only if -N is not used.
10029 	Reported by: Caleb Cushing <xenoterracide@gmail.com>.
10030 
10031 2010-07-14  Giuseppe Scrivano  <gscrivano@gnu.org>
10032 
10033 	* src/ftp.c (max): Remove definition.
10034 	(getftp): New variable `got_expected_bytes'.  Let `expected_bytes' be
10035 	the value SIZE returns, otherwise use the bytes count returned by RETR.
10036 	Suggested by Daniel Stenberg <daniel@haxx.se>.
10037 
10038 2010-07-14  Giuseppe Scrivano  <gscrivano@gnu.org>
10039 
10040 	* src/ftp.c (max): Add definition.
10041 	(getftp): Consider for `expected_bytes' the greatest value between the
10042 	bytes count returned by SIZE and the bytes count returned by RETR.
10043 	Reported by: Jozua <jozua@sparky.za.net>.
10044 
10045 2010-07-11  Giuseppe Scrivano  <gscrivano@gnu.org>
10046 
10047 	* src/http.c (http_loop): New variable `force_full_retrieve'.  If the remote
10048 	file is newer that the local one then inhibit -c.
10049 	Reported by: Caleb Cushing <xenoterracide@gmail.com>.
10050 
10051 2010-07-11  Giuseppe Scrivano  <gscrivano@gnu.org>
10052 
10053 	* configure.ac (AC_CHECK_SIZEOF): Quote argument.
10054 	Reported by: Jochen Roderburg <Roderburg@Uni-Koeln.DE>.
10055 
10056 2010-07-09  Giuseppe Scrivano  <gscrivano@gnu.org>
10057 
10058 	* src/css-url.c (get_urls_css_file): Use `wget_read_file' instead of
10059 	`read_file'.  Use `wget_read_file_free' instead of `read_file_free'.
10060 	* src/convert.c (convert_links): Likewise.
10061 	* src/html-url.c (get_urls_html, get_urls_file): Likewise.
10062 	* src/res.c (res_parse_from_file): Likewise.
10063 
10064 	* src/utils.h: Rename `read_file' to `wget_read_file'.  Rename
10065 	`read_file_free' to `wget_read_file_free'.
10066 
10067 	* src/utils.c (wget_read_file): Renamed from `read_file'.
10068 	(wget_read_file_free): Renamed from `read_file_free'.
10069 
10070 2010-07-09  Giuseppe Scrivano  <gscrivano@gnu.org>
10071 
10072 	* bootstrap.conf (gnulib_modules): Add `vasprintf'.  Remove `asprintf'.
10073 
10074 2010-07-09  Giuseppe Scrivano  <gscrivano@gnu.org>
10075 
10076 	* bootstrap.conf (buildreq): Relax gettext version to 0.17.
10077 
10078 2010-07-05  Giuseppe Scrivano  <gscrivano@gnu.org>
10079 
10080 	* src/gnutls.c (ssl_init): New local variables `ca_directory' and `dir'.
10081 	Load default root certificates under the `ca_directory' directory.
10082 
10083 2010-07-05  Giuseppe Scrivano  <gscrivano@gnu.org>
10084 
10085 	* bootstrap.conf (gnulib_modules): Add `asprintf'.
10086 
10087 2010-07-03  Giuseppe Scrivano  <gscrivano@gnu.org>
10088 
10089 	* src/gnutls.c (ssl_connect_wget): New local variable `allowed_protocols'.
10090 	Honor the --secure-protocol flag.
10091 
10092 2010-06-22  Giuseppe Scrivano  <gscrivano@gnu.org>
10093 
10094 	* configure.ac: By default use GNU TLS not OpenSSL.
10095 
10096 2010-06-20  Giuseppe Scrivano  <gscrivano@gnu.org>
10097 
10098 	* src/main.c (print_help): Fix help string for --random-wait.  Its range is
10099 	[0.5*wait, 1.5*wait) not [0, 2*wait).
10100 	Reported by: Tom Mizutani <gombei1970@gmail.com>.
10101 
10102 2010-06-17  Giuseppe Scrivano  <gscrivano@gnu.org>
10103 
10104 	* windows: Remove directory.
10105 	* Makefile.am (SUBDIRS): Remove windows.
10106 	* configure.ac: Don't generate windows/Makefile.
10107 
10108 2010-06-15  Giuseppe Scrivano  <gscrivano@gnu.org>
10109 
10110 	* src/gnutls.c [WIN32]: Include "w32sock.h".
10111 	(FD_TO_SOCKET): Add definition.
10112 	(ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET.
10113 	Define FD_TO_SOCKET if it is not yet defined.
10114 
10115 2010-06-15  Giuseppe Scrivano  <gscrivano@gnu.org>
10116 
10117 	* m4/wget.m4 (WGET_STRUCT_SOCKADDR_STORAGE): Guard header inclusions.
10118 	(TYPE_STRUCT_SOCKADDR_IN6): Likewise.
10119 	(MEMBER_SIN6_SCOPE_ID): Likewise.
10120 	(PROTO_INET6): Likewise.
10121 
10122 	* configure.ac: Don't check for `getaddrinfo'.
10123 
10124 	* bootstrap.conf (gnulib_modules): Add `getaddrinfo' module.
10125 
10126 2010-06-14  Giuseppe Scrivano  <gscrivano@gnu.org>
10127 
10128 	* src/gnutls.c: Include <stdlib.h>.
10129 	(struct wgnutls_transport_context): Remove `peekstart'.
10130 	(ssl_connect_wget): Renamed from `ssl_connect'.
10131 	(wgnutls_poll): New variable `ctx'.
10132 	(wgnutls_read): Don't use `ctx->peekstart'.
10133 	(wgnutls_peek): Likewise.  Don't attempt to read if there is not
10134 	ready data.
10135 
10136 2010-06-14  Giuseppe Scrivano  <gscrivano@gnu.org>
10137 	* src/http.c (http_loop): Always send a HEAD request when -N is used
10138 	together with --content-disposition.
10139 	Reported by: Jochen Roderburg <Roderburg@Uni-Koeln.DE>.
10140 
10141 2010-06-10  Muthu Subramanian K <muthusuba@gmail.com> (tiny change)
10142 
10143 	* src/http.c (http_loop): Increase `total_downloaded_bytes' by
10144 	`hstat.rd_size', not `hstat.len'.
10145 
10146 2010-06-10  Giuseppe Scrivano  <gscrivano@gnu.org>
10147 
10148 	* src/main.c (print_version): Drop the current maintainer line.
10149 
10150 2010-06-10  Giuseppe Scrivano  <gscrivano@gnu.org>
10151 
10152 	* src/Makefile.am (build_info.c): Generate the `build_info.c' file under
10153 	the build directory.
10154 	Patch by: Daniel Stenberg <daniel@haxx.se>.
10155 
10156 2010-06-10  Giuseppe Scrivano  <gscrivano@gnu.org>
10157 
10158 	* configure.ac (AM_INIT_AUTOMAKE): Remove dist-bzip2 dist-lzma from
10159 	automake options.
10160 	Reported by: Daniel Stenberg <daniel@haxx.se>.
10161 
10162 2010-06-10  Giuseppe Scrivano  <gscrivano@gnu.org>
10163 
10164 	* bootstrap.conf (buildreq): Add definition.
10165 
10166 2010-06-04  Giuseppe Scrivano  <gscrivano@gnu.org>
10167 
10168 	* tests/Test--no-content-disposition-trivial.px: Use /usr/bin/env to find the
10169 	perl interpreter.
10170 	* tests/Test--no-content-disposition.px: Likewise.
10171 	* tests/Test--spider-fail.px: Likewise.
10172 	* tests/Test--spider-r--no-content-disposition-trivial.px: Likewise.
10173 	* tests/Test--spider-r--no-content-disposition.px: Likewise.
10174 	* tests/Test--spider-r-HTTP-Content-Disposition.px: Likewise.
10175 	* tests/Test--spider-r.px: Likewise.
10176 	* tests/Test--spider.px: Likewise.
10177 	* tests/Test-E-k-K.px: Likewise.
10178 	* tests/Test-E-k.px: Likewise.
10179 	* tests/Test-HTTP-Content-Disposition-1.px: Likewise.
10180 	* tests/Test-HTTP-Content-Disposition-2.px: Likewise.
10181 	* tests/Test-HTTP-Content-Disposition.px: Likewise.
10182 	* tests/Test-N--no-content-disposition-trivial.px: Likewise.
10183 	* tests/Test-N--no-content-disposition.px: Likewise.
10184 	* tests/Test-N-HTTP-Content-Disposition.px: Likewise.
10185 	* tests/Test-N-current.px: Likewise.
10186 	* tests/Test-N-no-info.px: Likewise.
10187 	* tests/Test-N-old.px: Likewise.
10188 	* tests/Test-N-smaller.px: Likewise.
10189 	* tests/Test-N.px: Likewise.
10190 	* tests/Test-O--no-content-disposition-trivial.px: Likewise.
10191 	* tests/Test-O--no-content-disposition.px: Likewise.
10192 	* tests/Test-O-HTTP-Content-Disposition.px: Likewise.
10193 	* tests/Test-O-nc.px: Likewise.
10194 	* tests/Test-O-nonexisting.px: Likewise.
10195 	* tests/Test-O.px: Likewise.
10196 	* tests/Test-Restrict-Lowercase.px: Likewise.
10197 	* tests/Test-Restrict-Uppercase.px: Likewise.
10198 	* tests/Test-auth-basic.px: Likewise.
10199 	* tests/Test-auth-no-challenge-url.px: Likewise.
10200 	* tests/Test-auth-no-challenge.px: Likewise.
10201 	* tests/Test-auth-retcode.px: Likewise.
10202 	* tests/Test-auth-with-content-disposition.px: Likewise.
10203 	* tests/Test-c-full.px: Likewise.
10204 	* tests/Test-c-partial.px: Likewise.
10205 	* tests/Test-c-shorter.px: Likewise.
10206 	* tests/Test-c.px: Likewise.
10207 	* tests/Test-cookies-401.px: Likewise.
10208 	* tests/Test-cookies.px: Likewise.
10209 	* tests/Test-ftp-bad-list.px: Likewise.
10210 	* tests/Test-ftp-iri-disabled.px: Likewise.
10211 	* tests/Test-ftp-iri-fallback.px: Likewise.
10212 	* tests/Test-ftp-iri-recursive.px: Likewise.
10213 	* tests/Test-ftp-iri.px: Likewise.
10214 	* tests/Test-ftp-pasv-fail.px: Likewise.
10215 	* tests/Test-ftp-recursive.px: Likewise.
10216 	* tests/Test-ftp.px: Likewise.
10217 	* tests/Test-i-ftp.px: Likewise.
10218 	* tests/Test-i-http.px: Likewise.
10219 	* tests/Test-idn-cmd.px: Likewise.
10220 	* tests/Test-idn-headers.px: Likewise.
10221 	* tests/Test-idn-meta.px: Likewise.
10222 	* tests/Test-idn-robots.px: Likewise.
10223 	* tests/Test-iri-disabled.px: Likewise.
10224 	* tests/Test-iri-forced-remote.px: Likewise.
10225 	* tests/Test-iri-list.px: Likewise.
10226 	* tests/Test-iri-percent.px: Likewise.
10227 	* tests/Test-iri.px: Likewise.
10228 	* tests/Test-k.px: Likewise.
10229 	* tests/Test-meta-robots.px: Likewise.
10230 	* tests/Test-nonexisting-quiet.px: Likewise.
10231 	* tests/Test-noop.px: Likewise.
10232 	* tests/Test-np.px: Likewise.
10233 	* tests/Test-proxied-https-auth.px: Likewise.
10234 	* tests/Test-proxy-auth-basic.px: Likewise.
10235 	* tests/Test-restrict-ascii.px: Likewise.
10236 	Reported by sci-fi@hush.ai.
10237 
10238 2010-06-04  Giuseppe Scrivano  <gscrivano@gnu.org>
10239 
10240 	* build-aux/build_info.pl: Use /usr/bin/env to find the perl
10241 	interpreter.
10242 	* util/paramcheck.pl: Likewise.
10243 	* util/rmold.pl: Likewise.
10244 	Reported by sci-fi@hush.ai.
10245 
10246 2010-06-03  Giuseppe Scrivano  <gscrivano@gnu.org>
10247 
10248 	* src/http.c (http_loop): Do not send a HEAD request before the GET request
10249 	when --content-disposition is used.
10250 	Reported by: alex_wh@mail.ru.
10251 
10252 2010-06-03  Giuseppe Scrivano  <gscrivano@gnu.org>
10253 
10254 	* configure.ac (W32LIBS): Remove -lwsock32.
10255 
10256 2010-06-03  Giuseppe Scrivano  <gscrivano@gnu.org>
10257 
10258 	* bootstrap.conf (gnulib_modules): Add iconv-h.
10259 
10260 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
10261 
10262 	* src/sysdep.h (_SVID_SOURCE): Remove definition.
10263 	(_BSD_SOURCE): Remove definition.
10264 
10265 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
10266 
10267 	* src/recur.c (retrieve_tree): Remove variable `up_error_code'.
10268 
10269 	* src/iri.c (open_locale_to_utf8): Remove function.
10270 
10271 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
10272 
10273 	* src/html-parse.c (map_html_tags): Fix condition for closed tag.  Handle
10274 	the case '>' is not specified after '/'.
10275 
10276 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
10277 
10278 	* src/css.l: Use option "nounput".
10279 	(YY_NO_INPUT): Add macro definition.
10280 
10281 2010-05-30  Giuseppe Scrivano  <gscrivano@gnu.org>
10282 
10283 	* src/html-parse.c (NAME_CHAR_P): Consider '<' an invalid character.
10284 	(advance_declaration): Close the tag if '<' is found.
10285 	(map_html_tags): Likewise.
10286 
10287 2010-05-29  Giuseppe Scrivano  <gscrivano@gnu.org>
10288 
10289 	* tests/Makefile.am (EXTRA_DIST): Add Test-auth-retcode.px.
10290 
10291 	* tests/run-px (tests): Likewise.
10292 
10293 	* tests/Test-auth-retcode.px: New file.
10294 
10295 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10296 
10297 	* src/main.c (print_usage): Accept a new parameter `error'.
10298 	(main): Print diagnostic messages to stderr, not stdout.
10299 
10300 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10301 
10302 	* src/main.c (main): Exit with failure when -k is specified and -O is not
10303 	a regular file.
10304 
10305 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10306 
10307 	* src/http.c (gethttp): Consider new cookies retrieved when the
10308 	authorization fails.
10309 
10310 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10311 
10312 	* src/Makefile.am (wget_SOURCES): Remove `snprintf.c'.
10313 
10314 	* src/snprintf.c: Remove file.
10315 
10316 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10317 
10318 	* doc/wget.texi (Download Options): Document that -k can be used with -O
10319 	only with regular files.
10320 
10321 2010-05-27  Giuseppe Scrivano  <gscrivano@gnu.org>
10322 
10323 	* bootstrap.conf (gnulib_modules): Add `snprintf' module.
10324 
10325 	* configure.ac: Remove check for the `snprintf' function.
10326 
10327 2010-05-25  Giuseppe Scrivano  <gscrivano@gnu.org>
10328 
10329 	* src/host.c (sufmatch): Do not consider zero length entries.
10330 
10331 	* src/http.c (H_10X): New macro.
10332 	(gethttp): Silently ignore 1xx responses.
10333 
10334 2010-05-24  Giuseppe Scrivano  <gscrivano@gnu.org>
10335 
10336 	* src/iri.h (dummy_iri): Define static.
10337 
10338 	* src/css-tokens.h (css_tokens): Remove variable.
10339 
10340 2010-05-23  Giuseppe Scrivano  <gscrivano@gnu.org>
10341 
10342 	* src/http.c (http_atotm): Count the NUL character when copying the locale
10343 	string.
10344 	Reported by: Florian Weimer <fw@deneb.enyo.de>
10345 
10346 2010-05-16  Giuseppe Scrivano  <gscrivano@gnu.org>
10347 
10348 	* tests/Makefile.am (../md5/libmd5.a): Remove rule.
10349 	(LDADD):  Remove MD5_LDADD.
10350 
10351 2010-05-16  Giuseppe Scrivano  <gscrivano@gnu.org>
10352 
10353 	* src/Makefile.am (LDADD): Remove MD5_LDADD.
10354 	(MD5_LDADD): Remove definition.
10355 	(AM_CPPFLAGS): Remove MD5_CPPFLAGS.
10356 	(version.c): Remove dependency from MD5_LDADD.
10357 	(../md5/libmd5.a): Remove rule.
10358 
10359 	* src/ftp-opie.c: Include "md5.h".  Do not include "gen-md5.h".
10360 	(skey_response): New variable ctx.  Use md5 functions from the gnulib
10361 	module instead of functions defined previously in the "gen-md5.h" file.
10362 
10363 	* src/gen-md5.h: Remove file.
10364 	* src/gen-md5.c: Likewise.
10365 
10366 	* src/http.c: Include "md5.h".  Do not include "gen-md5.h".
10367 	(digest_authentication_encode): New variable ctx.  Use md5 functions
10368 	from the gnulib module instead of functions defined previously in the
10369 	"gen-md5.h" file.
10370 
10371 2010-05-16  Giuseppe Scrivano  <gscrivano@gnu.org>
10372 
10373 	* md5: Remove directory.
10374 
10375 	* bootstrap.conf (gnulib_modules): Add crypto/md5.
10376 
10377 	* configure.ac: Remove any check for md5 libraries.
10378 
10379 	* Makefile.am (ACLOCAL_AMFLAGS): Remove -I md5/m4.
10380 	(SUBDIRS): Remove md5.
10381 
10382 2010-05-15  Giuseppe Scrivano  <gscrivano@gnu.org>
10383 
10384 	* src/Makefile.am: Quote any path using $(top_srcdir) or $(top_builddir).
10385 	(version.c): Remove dependency from configure.ac and Makefile.am.
10386 
10387 	* src/css.l: Include "wget.h".
10388 
10389 2010-05-15  Giuseppe Scrivano  <gscrivano@gnu.org>
10390 
10391 	* bootstrap.conf (gnulib_modules): Add "getopt-gnu".  Remove "getopt".
10392 
10393 2010-05-14  Giuseppe Scrivano  <gscrivano@gnu.org>
10394 
10395 	* bootstrap (gnulib_path): Default to "gnulib" if it doesn't have a
10396 	value.  Redirect "git clone" stderr to stdout.
10397 
10398 2010-05-09  Giuseppe Scrivano  <gscrivano@gnu.org>
10399 
10400 	* build-aux/bzr-version-gen: New file.
10401 
10402 	* Makefile.am (EXTRA_DIST): Add .version.
10403 	(BUILT_SOURCES): New defition.
10404 	(.version): New rule.
10405 	(dist-hook): Likewise.
10406 
10407 	* configure.ac (AC_INIT): Use build-aux/bzr-version-gen to generate the
10408 	version string.
10409 
10410 2010-05-08  Giuseppe Scrivano  <gscrivano@gnu.org>
10411 
10412 	* tests/Makefile.am: Update copyright years.
10413 
10414 2010-05-08  Giuseppe Scrivano  <gscrivano@gnu.org>
10415 
10416 	* src/Makefile.am: Update copyright years.
10417 	* src/cmpt.c: Likewise.
10418 	* src/connect.h: Likewise.
10419 	* src/convert.c: Likewise.
10420 	* src/convert.h: Likewise.
10421 	* src/cookies.c: Likewise.
10422 	* src/cookies.h: Likewise.
10423 	* src/css-tokens.h: Likewise.
10424 	* src/css-url.c: Likewise.
10425 	* src/css-url.h: Likewise.
10426 	* src/css.l: Likewise.
10427 	* src/exits.c: Likewise.
10428 	* src/exits.h: Likewise.
10429 	* src/ftp-basic.c: Likewise.
10430 	* src/ftp-ls.c: Likewise.
10431 	* src/ftp-opie.c: Likewise.
10432 	* src/ftp.c: Likewise.
10433 	* src/ftp.h: Likewise.
10434 	* src/gen-md5.c: Likewise.
10435 	* src/gen-md5.h: Likewise.
10436 	* src/gettext.h: Likewise.
10437 	* src/gnutls.c: Likewise.
10438 	* src/hash.c: Likewise.
10439 	* src/hash.h: Likewise.
10440 	* src/host.c: Likewise.
10441 	* src/host.h: Likewise.
10442 	* src/html-parse.c: Likewise.
10443 	* src/html-parse.h: Likewise.
10444 	* src/html-url.c: Likewise.
10445 	* src/html-url.h: Likewise.
10446 	* src/http-ntlm.c: Likewise.
10447 	* src/http-ntlm.h: Likewise.
10448 	* src/http.c: Likewise.
10449 	* src/http.h: Likewise.
10450 	* src/init.c: Likewise.
10451 	* src/init.h: Likewise.
10452 	* src/iri.c: Likewise.
10453 	* src/iri.h: Likewise.
10454 	* src/log.c: Likewise.
10455 	* src/log.h: Likewise.
10456 	* src/main.c: Likewise.
10457 	* src/mswindows.c: Likewise.
10458 	* src/mswindows.h: Likewise.
10459 	* src/netrc.c: Likewise.
10460 	* src/netrc.h: Likewise.
10461 	* src/openssl.c: Likewise.
10462 	* src/options.h: Likewise.
10463 	* src/progress.c: Likewise.
10464 	* src/progress.h: Likewise.
10465 	* src/ptimer.c: Likewise.
10466 	* src/ptimer.h: Likewise.
10467 	* src/recur.c: Likewise.
10468 	* src/recur.h: Likewise.
10469 	* src/res.c: Likewise.
10470 	* src/res.h: Likewise.
10471 	* src/retr.c: Likewise.
10472 	* src/retr.h: Likewise.
10473 	* src/spider.c: Likewise.
10474 	* src/spider.h: Likewise.
10475 	* src/ssl.h: Likewise.
10476 	* src/sysdep.h: Likewise.
10477 	* src/test.c: Likewise.
10478 	* src/test.h: Likewise.
10479 	* src/url.c: Likewise.
10480 	* src/url.h: Likewise.
10481 	* src/utils.c: Likewise.
10482 	* src/utils.h: Likewise.
10483 	* src/wget.h: Likewise.
10484 
10485 2010-05-08  Giuseppe Scrivano  <gscrivano@gnu.org>
10486 
10487 	* doc/Makefile.am: Update copyright years.
10488 
10489 	* doc/fdl.texi: Likewise.
10490 
10491 	* doc/texi2pod.pl: Likewise.
10492 
10493 	* doc/wget.texi: Likewise.
10494 
10495 2010-05-08  Giuseppe Scrivano  <gscrivano@gnu.org>
10496 
10497 	* Makefile.am: Update copyright years.
10498 
10499 	* build-aux/build_info.pl: Likewise.
10500 
10501 	* configure.ac: Likewise.
10502 
10503 	* configure.bat: Likewise.
10504 
10505 	* doc/Makefile.am: Likewise.
10506 
10507 	* doc/fdl.texi: Likewise.
10508 
10509 	* doc/texi2pod.pl: Likewise.
10510 
10511 	* doc/wget.texi: Likewise.
10512 
10513 	* m4/exitfail.m4: Likewise.
10514 
10515 	* m4/getpagesize.m4: Likewise.
10516 
10517 	* m4/wchar.m4: Likewise.
10518 
10519 	* m4/wctype.m4: Likewise.
10520 
10521 	* m4/wget.m4: Likewise.
10522 
10523 	* md5/Makefile.am: Likewise.
10524 
10525 	* md5/dummy.c: Likewise.
10526 
10527 	* md5/m4/00gnulib.m4: Likewise.
10528 
10529 	* md5/m4/gnulib-cache.m4: Likewise.
10530 
10531 	* md5/m4/gnulib-common.m4: Likewise.
10532 
10533 	* md5/m4/gnulib-comp.m4: Likewise.
10534 
10535 	* md5/m4/gnulib-tool.m4: Likewise.
10536 
10537 	* md5/m4/include_next.m4: Likewise.
10538 
10539 	* md5/m4/longlong.m4: Likewise.
10540 
10541 	* md5/m4/md5.m4: Likewise.
10542 
10543 	* md5/m4/multiarch.m4: Likewise.
10544 
10545 	* md5/m4/stddef_h.m4: Likewise.
10546 
10547 	* md5/m4/stdint.m4: Likewise.
10548 
10549 	* md5/m4/wchar.m4: Likewise.
10550 
10551 	* md5/m4/wchar_t.m4: Likewise.
10552 
10553 	* md5/m4/wint_t.m4: Likewise.
10554 
10555 	* md5/md5.h: Likewise.
10556 
10557 	* md5/stddef.in.h: Likewise.
10558 
10559 	* md5/stdint.in.h: Likewise.
10560 
10561 	* md5/wchar.in.h: Likewise.
10562 
10563 	* msdos/config.h: Likewise.
10564 
10565 	* msdos/msdos.c: Likewise.
10566 
10567 	* po/POTFILES.in: Likewise.
10568 
10569 	* util/Makefile.am: Likewise.
10570 
10571 	* util/paramcheck.pl: Likewise.
10572 
10573 	* util/rmold.pl: Likewise.
10574 
10575 2010-05-07  Giuseppe Scrivano  <gscrivano@gnu.org>
10576 
10577 	* tests/Makefile.am (LIBS): Add definition.
10578 	(LDADD): Add LIBS.
10579 
10580 2010-05-07  Giuseppe Scrivano  <gscrivano@gnu.org>
10581 
10582 	* src/gnutls.c (wgnutls_close): Use always `close', not `closesocket'.
10583 	* src/openssl.c (openssl_close): Use always `close', not `closesocket'.
10584 	(ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET.
10585 	Define FD_TO_SOCKET if it is not yet defined.
10586 	* src/Makefile.am (libunittest_a_CPPFLAGS): Add -I$(top_builddir)/lib.
10587 	* src/mswindows.h: Always include <winsock2.h> and <ws2tcpip.h>.  Do not
10588 	include <winsock.h>.
10589 	[! INHIBIT_WRAP]: Remove macro's socket, bind, connect, accept, recv,
10590 	send, select, getsockname, getpeername, setsockopt, closesocket.
10591 	Remove wrapped_socket, wrapped_bind, wrapped_connect, wrapped_listen,
10592 	wrapped_accept, wrapped_recv, wrapped_send, wrapped_select,
10593 	wrapped_getsockname, wrapped_getpeername, wrapped_setsockopt,
10594 	wrapped_closesocket prototypes.
10595 	* src/mswindows.c:	Remove wrapped_socket, wrapped_bind, wrapped_connect,
10596 	wrapped_listen,	wrapped_accept, wrapped_recv, wrapped_send,
10597 	wrapped_select, wrapped_getsockname, wrapped_getpeername,
10598 	wrapped_setsockopt, wrapped_closesocket functions.  Remove WRAP macro.
10599 	* src/host.h [WINDOWS]: Include <winsock2.h> not <winsock.h>.
10600 	* src/connect.c: Include <sys/socket.h> and <sys/select.h> on any platform,
10601 	gnulib ensures they exist.  Remove `read', `write', `close' macros.
10602 	* src/Makefile.am: Copy build_info.c.in only if we are working in a VPATH.
10603 	(AM_CPPFLAGS): Add directory with generated gnulib files.
10604 
10605 2010-05-07  Giuseppe Scrivano  <gscrivano@gnu.org>
10606 
10607 	* configure.ac: Don't call macro WGET_SOCKLEN_T.
10608 	(W32LIBS): Add -lws2_32.
10609 
10610 	* Makefile.am (EXTRA_DIST): Remove autogen.sh.
10611 
10612 	* bootstrap.conf (gnulib_modules): Use new modules from gnulib: accept,
10613 	bind, close, connect, getpeername, getsockname, listen, setsockopt.
10614 
10615 	* m4/wget.m4 (WGET_SOCKLEN_T): Remove macro.
10616 
10617 	* po/wget.pot: Remove.
10618 
10619 2010-05-07  Giuseppe Scrivano  <gscrivano@gnu.org>
10620 
10621 	* configure.ac (ALL_LINGUAS): Remove.
10622 
10623 2010-05-06  Giuseppe Scrivano  <gscrivano@gnu.org>
10624 
10625 	* src/Makefile.am (build_info.c): Generate build_info.c in the builddir,
10626 	not srcdir.
10627 
10628 2010-05-06  Giuseppe Scrivano  <gscrivano@gnu.org>
10629 
10630 	* bootstrap: New file.
10631 	* bootstrap.conf: New file.
10632 	* lib/Makefile.am: include gnulib.mk.
10633 	* autogen.sh: Removed.
10634 	* GNUmakefile: Likewise.
10635 	* INSTALL: Likewise.
10636 	* build-aux/announce-gen: Likewise.
10637 	* build-aux/compile: Likewise.
10638 	* build-aux/config.guess: Likewise.
10639 	* build-aux/config.rpath: Likewise.
10640 	* build-aux/config.sub: Likewise.
10641 	* build-aux/depcomp: Likewise.
10642 	* build-aux/gnupload: Likewise.
10643 	* build-aux/install-sh: Likewise.
10644 	* build-aux/mdate-sh: Likewise.
10645 	* build-aux/missing: Likewise.
10646 	* build-aux/mkinstalldirs: Likewise.
10647 	* build-aux/texinfo.tex: Likewise.
10648 	* build-aux/update-copyright: Likewise.
10649 	* build-aux/useless-if-before-free: Likewise.
10650 	* build-aux/vc-list-files: Likewise.
10651 	* build-aux/ylwrap: Likewise.
10652 	* lib/DESCRIP_DEPS.MMS: Likewise.
10653 	* lib/DESCRIP_MODS.MMS: Likewise.
10654 	* lib/DESCRIP_SRC.MMS: Likewise.
10655 	* lib/alloca.c: Likewise.
10656 	* lib/alloca.in.h: Likewise.
10657 	* lib/c-ctype.c: Likewise.
10658 	* lib/c-ctype.h: Likewise.
10659 	* lib/config.charset: Likewise.
10660 	* lib/errno.in.h: Likewise.
10661 	* lib/error.c: Likewise.
10662 	* lib/error.h: Likewise.
10663 	* lib/exitfail.c: Likewise.
10664 	* lib/exitfail.h: Likewise.
10665 	* lib/fseeko.c: Likewise.
10666 	* lib/getdelim.c: Likewise.
10667 	* lib/getline.c: Likewise.
10668 	* lib/getopt.c: Likewise.
10669 	* lib/getopt.in.h: Likewise.
10670 	* lib/getopt1.c: Likewise.
10671 	* lib/getopt_int.h: Likewise.
10672 	* lib/getpagesize.c: Likewise.
10673 	* lib/getpass.c: Likewise.
10674 	* lib/getpass.h: Likewise.
10675 	* lib/gettext.h: Likewise.
10676 	* lib/intprops.h: Likewise.
10677 	* lib/localcharset.c: Likewise.
10678 	* lib/localcharset.h: Likewise.
10679 	* lib/lseek.c: Likewise.
10680 	* lib/mbrtowc.c: Likewise.
10681 	* lib/mbsinit.c: Likewise.
10682 	* lib/memchr.c: Likewise.
10683 	* lib/memchr.valgrind: Likewise.
10684 	* lib/quote.c: Likewise.
10685 	* lib/quote.h: Likewise.
10686 	* lib/quotearg.c: Likewise.
10687 	* lib/quotearg.h: Likewise.
10688 	* lib/realloc.c: Likewise.
10689 	* lib/ref-add.sin: Likewise.
10690 	* lib/ref-del.sin: Likewise.
10691 	* lib/stdbool.in.h: Likewise.
10692 	* lib/stddef.in.h: Likewise.
10693 	* lib/stdint.in.h: Likewise.
10694 	* lib/stdio-impl.h: Likewise.
10695 	* lib/stdio-write.c: Likewise.
10696 	* lib/stdio.in.h: Likewise.
10697 	* lib/stdlib.in.h: Likewise.
10698 	* lib/str-two-way.h: Likewise.
10699 	* lib/strcasecmp.c: Likewise.
10700 	* lib/strcasestr.c: Likewise.
10701 	* lib/streq.h: Likewise.
10702 	* lib/strerror.c: Likewise.
10703 	* lib/string.in.h: Likewise.
10704 	* lib/strings.in.h: Likewise.
10705 	* lib/strncasecmp.c: Likewise.
10706 	* lib/unistd.in.h: Likewise.
10707 	* lib/verify.h: Likewise.
10708 	* lib/wchar.in.h: Likewise.
10709 	* lib/wctype.in.h: Likewise.
10710 	* lib/xalloc-die.c: Likewise.
10711 	* lib/xalloc.h: Likewise.
10712 	* lib/xmalloc.c: Likewise.
10713 	* m4/00gnulib.m4: Likewise.
10714 	* m4/alloca.m4: Likewise.
10715 	* m4/codeset.m4: Likewise.
10716 	* m4/errno_h.m4: Likewise.
10717 	* m4/error.m4: Likewise.
10718 	* m4/extensions.m4: Likewise.
10719 	* m4/fseeko.m4: Likewise.
10720 	* m4/getdelim.m4: Likewise.
10721 	* m4/getline.m4: Likewise.
10722 	* m4/getopt.m4: Likewise.
10723 	* m4/getpass.m4: Likewise.
10724 	* m4/gettext.m4: Likewise.
10725 	* m4/glibc21.m4: Likewise.
10726 	* m4/gnulib-cache.m4: Likewise.
10727 	* m4/gnulib-common.m4: Likewise.
10728 	* m4/gnulib-comp.m4: Likewise.
10729 	* m4/gnulib-tool.m4: Likewise.
10730 	* m4/iconv.m4: Likewise.
10731 	* m4/include_next.m4: Likewise.
10732 	* m4/inline.m4: Likewise.
10733 	* m4/lib-ld.m4: Likewise.
10734 	* m4/lib-link.m4: Likewise.
10735 	* m4/lib-prefix.m4: Likewise.
10736 	* m4/localcharset.m4: Likewise.
10737 	* m4/locale-fr.m4: Likewise.
10738 	* m4/locale-ja.m4: Likewise.
10739 	* m4/locale-zh.m4: Likewise.
10740 	* m4/longlong.m4: Likewise.
10741 	* m4/lseek.m4: Likewise.
10742 	* m4/malloc.m4: Likewise.
10743 	* m4/mbrtowc.m4: Likewise.
10744 	* m4/mbsinit.m4: Likewise.
10745 	* m4/mbstate_t.m4: Likewise.
10746 	* m4/memchr.m4: Likewise.
10747 	* m4/mmap-anon.m4: Likewise.
10748 	* m4/multiarch.m4: Likewise.
10749 	* m4/nls.m4: Likewise.
10750 	* m4/po.m4: Likewise.
10751 	* m4/progtest.m4: Likewise.
10752 	* m4/quote.m4: Likewise.
10753 	* m4/quotearg.m4: Likewise.
10754 	* m4/realloc.m4: Likewise.
10755 	* m4/stdbool.m4: Likewise.
10756 	* m4/stddef_h.m4: Likewise.
10757 	* m4/stdint.m4: Likewise.
10758 	* m4/stdio_h.m4: Likewise.
10759 	* m4/stdlib_h.m4: Likewise.
10760 	* m4/strcase.m4: Likewise.
10761 	* m4/strcasestr.m4: Likewise.
10762 	* m4/strerror.m4: Likewise.
10763 	* m4/string_h.m4: Likewise.
10764 	* m4/strings_h.m4: Likewise.
10765 	* m4/unistd_h.m4: Likewise.
10766 	* m4/wchar_t.m4: Likewise.
10767 	* m4/wint_t.m4: Likewise.
10768 	* m4/xalloc.m4: Likewise.
10769 	* maint.mk: Likewise.
10770 	* po/Makefile.in.in: Likewise.
10771 	* po/Makevars: Likewise.
10772 	* po/Rules-quot: Likewise.
10773 	* po/be.po: Likewise.
10774 	* po/bg.po: Likewise.
10775 	* po/boldquot.sed: Likewise.
10776 	* po/ca.po: Likewise.
10777 	* po/cs.po: Likewise.
10778 	* po/da.po: Likewise.
10779 	* po/de.po: Likewise.
10780 	* po/el.po: Likewise.
10781 	* po/en_GB.po: Likewise.
10782 	* po/eo.po: Likewise.
10783 	* po/es.po: Likewise.
10784 	* po/et.po: Likewise.
10785 	* po/eu.po: Likewise.
10786 	* po/fi.po: Likewise.
10787 	* po/fr.po: Likewise.
10788 	* po/ga.po: Likewise.
10789 	* po/gl.po: Likewise.
10790 	* po/he.po: Likewise.
10791 	* po/hr.po: Likewise.
10792 	* po/hu.po: Likewise.
10793 	* po/id.po: Likewise.
10794 	* po/it.po: Likewise.
10795 	* po/ja.po: Likewise.
10796 	* po/lt.po: Likewise.
10797 	* po/nb.po: Likewise.
10798 	* po/nl.po: Likewise.
10799 	* po/pl.po: Likewise.
10800 	* po/pt.po: Likewise.
10801 	* po/pt_BR.po: Likewise.
10802 	* po/quot.sed: Likewise.
10803 	* po/ro.po: Likewise.
10804 	* po/ru.po: Likewise.
10805 	* po/sk.po: Likewise.
10806 	* po/sl.po: Likewise.
10807 	* po/sr.po: Likewise.
10808 	* po/sv.po: Likewise.
10809 	* po/tr.po: Likewise.
10810 	* po/uk.po: Likewise.
10811 	* po/vi.po: Likewise.
10812 	* po/zh_CN.po: Likewise.
10813 	* po/zh_TW.po: Likewise.
10814 
10815 2010-05-05  Giuseppe Scrivano  <gscrivano@gnu.org>
10816 
10817 	* src/http.c (gethttp): Give a nicer message on a malformed status line.
10818 
10819 2010-05-04  Giuseppe Scrivano  <gscrivano@gnu.org>
10820 
10821 	* src/http.c (gethttp): Check `resp_status' return code and handle
10822 	errors.
10823 
10824 2010-05-04  Giuseppe Scrivano  <gscrivano@gnu.org>
10825 
10826 	* AUTHORS: Added myself.
10827 
10828 2010-05-03  Giuseppe Scrivano  <gscrivano@gnu.org>
10829 
10830 	* configure.ac: Fix a sanity check by the AC_CONFIG_SRCDIR macro.
10831 
10832 2010-05-01  Giuseppe Scrivano <gscrivano@gnu.org>
10833 
10834 	* src/http.c (request_send): Specify 1.1 as HTTP version for requests.
10835 	(skip_short_body): Accept new parameter `chunked'.  New variable
10836 	`remaining_chunk_size'.  Handle the chunked transfer encoding.
10837 	(gethttp): New variable `chunked_transfer_encoding`.  Set `keepalive'
10838 	by default to true.  Check if the server is using the chunked transfer
10839 	encoding.
10840 
10841 	* src/retr.h: Define `rb_chunked_transfer_encoding'.
10842 
10843 	* src/retr.c (fd_read_body): New variable `chunked'.  New variable
10844 	`remaining_chunk_size'.  Handle the chunked transfer encoding.
10845 
10846 2010-05-01  Giuseppe Scrivano  <gscrivano@gnu.org>
10847 
10848 	* NEWS: Mention support for HTTP/1.1.
10849 
10850 2010-03-04  Steven Schubiger  <stsc@member.fsf.org>
10851 
10852 	* src/ftp.c (ftp_loop_internal): Omit input file from being
10853 	deleted after retrieval.
10854 
10855 	* src/retr.c (input_file_url): New function.
10856 
10857 	* src/retr.h: Add declaration for input_file_url.
10858 
10859 2010-03-02  Steven Schubiger  <stsc@member.fsf.org>
10860 
10861 	* src/retr.c (retrieve_from_file): Improve checking for a URL
10862 	by invoking url_valid_scheme instead of url_has_scheme.
10863 
10864 	* src/url.c (url_valid_scheme): New function.
10865 
10866 	* src/url.h: Add declaration for url_valid_scheme.
10867 
10868 2010-03-02  Steven Schubiger  <stsc@member.fsf.org>
10869 
10870 	* src/retr.c (retrieve_from_file): Free memory of input file.
10871 
10872 2010-03-01  Steven Schubiger  <stsc@member.fsf.org>
10873 
10874 	* tests/Test-i-ftp.px: Test --input-file in conjunction with FTP.
10875 	* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-i-ftp.px.
10876 
10877 2010-03-01  Steven Schubiger  <stsc@member.fsf.org>
10878 
10879 	* src/retr.c (retrieve_url): Retrieve the local filename from ftp_loop.
10880 	(retrieve_from_file): Return if there's no input file.
10881 
10882 	* src/ftp.c (ftp_loop_internal): Duplicate the local filename into
10883 	retrieve_url's scope when a valid reference is being passed.
10884 	(ftp_loop): Call ftp_loop_internal here with passing a
10885 	reference to the local filename, elsewhere with NULL.
10886 
10887 	* src/ftp.h: Adjust declaration of ftp_loop.
10888 
10889 2010-02-26  Steven Schubiger  <stsc@member.fsf.org>
10890 
10891 	* tests/Test-i-http.px: Test --input-file in conjunction with HTTP.
10892 	* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-i-http.px.
10893 
10894 2010-02-25  Steven Schubiger  <stsc@member.fsf.org>
10895 
10896 	* tests/FTPServer.pm (FTPServer::new): Substitute port placeholders
10897 	in content of files to be retrieved via FTP.
10898 
10899 2010-01-27  Paul Townsend  <aab@purdue.edu>  (tiny change)
10900 
10901 	* src/retr.c (fd_read_body): Be sure to measure timer when time has
10902 	elapsed, too, not just when we've made progress.
10903 
10904 2010-01-13  Micah Cowan  <micah@cowan.name>
10905 
10906 	* src/openssl.c: Fixed some mixed declarations-and-code.
10907 
10908 2010-01-09  Micah Cowan  <micah@cowan.name>
10909 
10910 	* src/init.c, main.c, http.c, ftp.c, options.h: Renamed
10911 	--no-match-server-timestamps to --no-use-server-timestamps, and
10912 	add it to print_help.
10913 
10914 2010-01-09  Micah Cowan  <micah@cowan.name>
10915 
10916 	* doc/wget.texi (Download Options): Documented
10917 	--no-use-server-timestamps.
10918 
10919 2010-01-09  Jeremy Olexa  <darkside@gentoo.org>  (tiny change)
10920 
10921 	* src/init.c: Deal with systems which provide PATH_MAX in
10922 	sys/param.h rather than limits.h.
10923 
10924 2010-01-09  David Holman  <holman.david@gmail.com>  (tiny change)
10925 
10926 	* src/init.c, main.c, http.c, ftp.c, options.h: Added support for
10927 	--no-match-server-timestamps.
10928 
10929 2009-12-03  Peter Rosin  <peda@lysator.liu.se>
10930 
10931 	* src/snprintf.c (dopr): Output %p as unsigned.
10932 
10933 2009-10-24  Petr Pisar  <petr.pisar@atlas.cz>
10934 
10935 	* src/openssl.c: Implement support for (multiple) subjectAltNames in
10936 	X509 certificates, not just the commonName.
10937 
10938 2009-10-14  Steven Schubiger  <stsc@member.fsf.org>
10939 
10940 	* tests/Test-E-k-K.px, Test-cookies-401.px, Test-ftp-bad-list.px,
10941 	Test-iri-list.px, Test-iri.px: Removed -d from invocation.
10942 	Patch by Mike Frysinger.
10943 
10944 2009-10-09  Steven Schweda  <sms@antinode.info>
10945 
10946 	* src/utils.c: Added characters " : \ | to the list of normal
10947 	caret-escaped (ODS5) characters in the char_prop[] table.
10948 
10949 2009-10-09  Steven Schweda  <sms@antinode.info>
10950 
10951 	* New VMS MMS/MMK builders, to accommodate the new source tree
10952 	structure:
10953 	lib/DESCRIP_DEPS.MMS	  Dependencies (lib)
10954 	lib/DESCRIP_MODS.MMS	  Modules (lib)
10955 	lib/DESCRIP_SRC.MMS	   Main (lib)
10956 	md5/DESCRIP_DEPS.MMS	  Dependencies (md5)
10957 	md5/DESCRIP_MODS.MMS	  Modules (md5)
10958 	md5/DESCRIP_SRC.MMS	   Main (md5)
10959 	src/DESCRIP_DEPS.MMS	  Dependencies (src)
10960 	src/DESCRIP_MODS.MMS	  Modules (src)
10961 	src/DESCRIP_SRC.MMS	   Main (src)
10962 	vms/DESCRIP.MMS	       Main (global)
10963 	vms/DESCRIP_MKDEPS.MMS	Dependency generator
10964 	vms/DESCRIP_SRC.MMS	   Main (main)
10965 	vms/DESCRIP_SRC_CMN.MMS         Main (common)
10966 	vms/DESCRIP_SRC_FLAGS.MMS       Compiler and linker flags
10967 	vms/COLLECT_DEPS.COM	  Dependency processor
10968 	vms/CONFIG_EXTRACT.COM	Extract AC_INIT from configure.ac
10969 	vms/WGET_MULTINET.OPT	 Link options for (old) MultiNet
10970 	vms/WGET_SSL_HP.OPT	   Link options for HP SSL
10971 	vms/WGET_SSL_O.OPT	    Link options for OpenSSL
10972 
10973 	* Other VMS-specific files:
10974 	vms/alloca.h		Dummy alloca.h.
10975 	vms/config.h_vms	      Manually crafted config.h
10976 	vms/stdint.h		Dummy stdint.h
10977 	vms/vms.h		   Declarations, prototypes for vms.c
10978 	vms/vms_ip.h		Helper for netdb.h
10979 	vms/VMS_NOTES.TXT	     Instructions, notes
10980 	vms/WGET.HLP		Basic VMS HELP
10981 
10982 2009-10-09  Micah Cowan  <micah@cowan.name>
10983 
10984 	* src/main.c: Fix declaration of compiled_features.
10985 
10986 	* src/build_info.c.in: Adapt to new input format. Added a check for
10987 	large-file support. Replaced the "openssl" and "gnutls"
10988 	advertisements with a single "ssl/foo" advertisement.
10989 
10990 2009-10-09  Micah Cowan  <micah@cowan.name>
10991 
10992 	* build_aux/build_info.pl: Reworked the input format. Eliminated
10993 	support, and need, for arbitrary #if blocks. Introduced
10994 	"choices", and explicitly open the .c file rather than print to
10995 	STDOUT, so we avoid creating the file if we find problems with
10996 	the input. Options are advertised in alphabetical order.
10997 
10998 2009-09-30  Micah Cowan  <micah@cowan.name>
10999 
11000 	* src/sysdep.h: Unconditionally include stdbool.h (gnulib has it for
11001 	systems that don't supply it.)
11002 
11003 	* src/vms.c: Added functions vms_basename(), used to extract the
11004 	bare executable name from argv[0], and vms_getpass(), a
11005 	VMS-specific replacement for GNU getpass().
11006 
11007 	 vms.c: Added global string constants: compilation_string
11008 	(NULL), link_string (NULL), and version_string (real).
11009 
11010 2009-09-27  Micah Cowan  <micah@cowan.name>
11011 
11012 	* tests/Test-idn-cmd.px, Test-idn-headers.px, Test-idn-meta.px,
11013 	Test-idn-robots.px, Test-proxy-auth-basic.px: Removed --debug from
11014 	invocation (in case it wasn't built with --debug support).
11015 
11016 2009-09-24  Steven Schweda  <sms@antinode.info>
11017 
11018 	* src/main.c (print_version): Remove VMS-conditional build info
11019 	string; the new VMS builders use OS_TYPE.
11020 
11021 	* src/ftp.c (getftp): Fix accidental use of target -> targ.
11022 
11023 2009-09-24  Micah Cowan  <micah@cowan.name>
11024 
11025 	* vms/vms.c: Moved to src/src.c.
11026 
11027 2009-09-24  Micah Cowan  <micah@cowan.name>
11028 
11029 	* tests/Test-ftp-iri-disabled.px: Fix name "Test-ftp-iri" ->
11030 	"test-ftp-iri-disabled"
11031 
11032 	* tests/Test-ftp-iri-fallback.px: Fix name "Test-ftp-iri" ->
11033 	"test-ftp-iri-fallback"
11034 
11035 2009-09-24  Micah Cowan  <micah@cowan.name>
11036 
11037 	* src/vms.c: Moved from vms/vms.c.
11038 
11039 	* src/sysdep.h: Use proper prototypes for snprintf, vsnprintf (thanks
11040 	to Steven Schweda).
11041 
11042 2009-09-24  Micah Cowan  <micah@cowan.name>
11043 
11044 	* src/host.c (host_errstr): host_errstr should return const char *.
11045 
11046 2009-09-22  Micah Cowan  <micah@cowan.name>
11047 
11048 	* src/Makefile.am (version.c): Explicitly tell Mercurial where the
11049 	top-source repository should be, so it doesn't accidentally use
11050 	the repository for a containing directory (for instance, if the
11051 	user's home directory is managed by a Mercurial repo). Also
11052 	ensures we find the repository, even if the build directory is
11053 	outside the source directory.
11054 
11055 	* src/wget.h: define WINDOWS if _WIN32 or __WIN32__ is defined, but
11056 	not __CYGWIN__.
11057 
11058 	* src/mswindows.c (xsleep): Check for availability of the sleep
11059 	function, in addition to the usleep function.
11060 	(get_winsock_error, windows_strerror): Removed (gnulib already
11061 	supplies this functionality).
11062 
11063 	* src/mswindows.h [NEED_GAI_STRERROR]: define gai_strerror
11064 	to (gnulib's) strerror, rather than windows_strerror. Removed
11065 	error macro definitions provided by gnulib.
11066 	(windows_strerror): Removed (gnulib already supplies this
11067 	functionality).
11068 
11069 	* src/host.c: Don't declare h_errno when building on Windows.
11070 
11071 	* src/Makefile.am (LIBS): Added @W32LIBS@.
11072 	(EXTRA_wget_SOURCES): Removed (it's in LIBOBJ now).
11073 	(version.c): Removed dependency on $(LDADD), since it may include
11074 	dependencies that are not part of the Wget sources (-lwsock32, for
11075 	instance).
11076 
11077 	* src/openssl.c (ssl_check_certificate): Avoid reusing the same buffer
11078 	space for successive quoted arguments. Thanks to Steven Schweda
11079 	for pointing out the problem.
11080 
11081 2009-09-22  Micah Cowan  <micah@cowan.name>
11082 
11083 	* configure.ac: Added "sleep" and "symlink" to AC_CHECK_FUNCS,
11084 	removing the hard-coded definition of HAVE_SYMLINK. When running
11085 	on MinGW, compile mswindows.c, and link against libwsock32.
11086 
11087 2009-09-22  Arvind Jamuna Dixit  <ardsrk@gmail.com>
11088 
11089 	* src/http.c (extract_param, parse_content_disposition): Support
11090 	RFC 2231 while parsing Content-Disposition header
11091 
11092 2009-09-21  Micah Cowan  <micah@cowan.name>
11093 
11094 	* vms/VMS-WGET.COM: "the the" -> "the".
11095 
11096 	* po/POTFILES.in: Removed some files that are not using gettext.
11097 
11098 	* po/*.po: Updated from translationproject.org.
11099 
11100 2009-09-21  Micah Cowan  <micah@cowan.name>
11101 
11102 	* src/progress.c (update_speed_ring): "the the" -> "the".
11103 
11104 	* src/css-url.c, iri.c, mswindows.c: Removed assert.h inclusion (not
11105 	using it).
11106 
11107 2009-09-20  Micah Cowan  <micah@cowan.name>
11108 
11109 	* INSTALL: Various minor adjustments to bring it up to date.
11110 
11111 2009-09-11  Steven Schweda  <sms@antinode.info>
11112 
11113 	* src/utils.c, utils.h (fopen_excl): Make second argument an int,
11114 	rather than a bool (so it can handle the appropriate VMS version
11115 	of the flag).
11116 
11117 	* src/main.c (print_version): Don't print LOCALEDIR unless NLS is
11118 	enabled.
11119 
11120 	* src/http.c (gethttp): Pass FOPEN_BIN_FLAG, instead of true.
11121 
11122 	* src/ftp.c (ftp_retrieve_glob): Cast strcmp to assign to cmp, for a
11123 	silly HP build environment.
11124 
11125 2009-09-09  Micah Cowan  <micah@cowan.name>
11126 
11127 	* configure.ac: Add bz2 and lzma dists.
11128 
11129 2009-09-08  Steven Schubiger  <stsc@member.fsf.org>
11130 
11131 	* src/main.c, init.c: Mark the --preserve-permissions and
11132 	--html-extension option as deprecated.
11133 
11134 2009-09-08  Micah Cowan  <micah@cowan.name>
11135 
11136 	* po/*.po: Updated from translationproject.org.
11137 
11138 2009-09-07  Micah Cowan  <micah@cowan.name>
11139 
11140 	* tests/run-px: Exit with a failure if there were any tests with
11141 	"unknown" exit statuses.
11142 
11143 	* tests/Test-auth-with-content-disposition.px: New. Test Content-Disposition
11144 	support when HTTP authentication is required.
11145 	* tests/run-px, Makefile.am (EXTRA_DIST): Added
11146 	Test-auth-with-content-disposition.px.
11147 
11148 	* tests/FTPServer.pm (FTPServer::run): Pass "server behavior" information to
11149 	newly-constructed FTPPaths object.
11150 	(FTPPaths::initialize): Accept "server behavior" hash.
11151 	(FTPPaths::_format_for_list): If server behavior has "bad_list"
11152 	set, then always report 0 for the size.
11153 	* tests/Test-ftp-bad-list.px: Added. Attempts to reproduce bug
11154 	22403... but doesn't.
11155 	* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-bad-list.px.
11156 
11157 2009-09-07  Micah Cowan  <micah@cowan.name>
11158 
11159 	* Makefile.am (distuninstallcheck_listfiles): Don't complain if
11160 	/usr/share/info/dir and /etc/wgetrc are left behind after an
11161 	uninstall.
11162 
11163 	* po/Rules-quot (mostlyclean-quot): Add en_US.po for remvoal by
11164 	mostlyclean.
11165 	(en_US.po-update): Behave properly for VPATH builds.
11166 
11167 2009-09-06  Micah Cowan  <micah@cowan.name>
11168 
11169 	* tests/WgetTest.pm.in (_setup): Don't expect error codes from
11170 	_setup_server; none are returned.
11171 	(quotechar, _show_diff): Added facilities for expounding on where
11172 	output didn't match expectations.
11173 	(_verify_download): Use _show_diff.
11174 
11175 	* tests/FTPTest.pm (_setup_server): Pass value of server_behavior to
11176 	FTPServer initialization.
11177 
11178 	* tests/Test-ftp-pasv-fail.px: Added.
11179 	* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-pasv-fail.px.
11180 
11181 	* tests/WgetTest.pm.in: Added "server_behavior" to the set of accepted
11182 	initialization values.
11183 	* tests/FTPServer.pm (__open_data_connection): Add "server_behavior" to
11184 	the set of accepted initialization values.
11185 	(run): Honor the 'fail_on_pasv' server behavior setting, to
11186 	trigger the Wget getftp glitch.
11187 
11188 2009-09-06  Micah Cowan  <micah@cowan.name>
11189 
11190 	* src/ftp.c (getftp, ftp_loop_internal): Separate "len" input/output
11191 	parameter (with different meanings for input and output), into two
11192 	separate parameters, one input (passed_expected_bytes) and one
11193 	output (qtyread). Fixes bug #26870.
11194 
11195 2009-09-06  Gisle Vanem  <gvanem@broadpark.no>
11196 
11197 	* msdos/Makefile.WC: Added compilation of new file msdos.c.
11198 	Simplified; no need to have explicit rules for files in ./lib and
11199 	./md5. Just use the suffix search path mechanism in wmake.
11200 
11201 2009-09-06  Gisle Vanem  <gvanem@broadpark.no>
11202 
11203 	* msdos/Makefile.DJ: Added compilation of new file msdos.c.
11204 
11205 2009-09-05  Steven Schubiger  <stsc@member.fsf.org>
11206 
11207 	* tests/run-px: Introduce two new diagnostics: Skip and Unknown.
11208 
11209 	* tests/WgetFeature.pm (import): Parse the version output of Wget
11210 	and assert the availability of a feature.
11211 
11212 	* tests/WgetFeature.cfg: Messages to be printed in absence of a
11213 	required feature.
11214 
11215 	* tests/Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
11216 	Test-ftp-iri-recursive.px, Test-ftp-iri.px, Test-idn-cmd.px,
11217 	Test-idn-headers.px, Test-idn-meta.px, Test-idn-robots.px,
11218 	Test-iri-forced-remote.px, Test-iri-list.px,
11219 	Test-iri-percent.px, Test-iri.px: Use WgetFeature.pm to
11220 	check for the presence of the IDN/IRI feature.
11221 
11222 	* tests/Test-proxied-https-auth.px: Replace grepping for a feature
11223 	with loading WgetFeature.pm at compile-time.
11224 
11225 	* tests/Makefile.am: Add WgetFeature.pm and WgetFeature.cfg
11226 	to EXTRA_DIST.
11227 
11228 2009-09-05  Steven Schubiger  <stsc@member.fsf.org>
11229 
11230 	* src/retr.h: Declare set_local_file() to avoid build warnings.
11231 
11232 2009-09-05  Micah Cowan  <micah@cowan.name>
11233 
11234 	* tests/Test-ftp-recursive.px: Added.
11235 	* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-recursive.px.
11236 
11237 	* tests/FTPTest.pm (_setup_server): Don't construct the "input"
11238 	directory's contents, just pass the URLs structure to
11239 	FTPServer->new.
11240 	* tests/FTPServer.pm: Rewrote portions, so that the server now uses the
11241 	information from the %urls hash directly, rather than reading from
11242 	real files. Added an FTPPaths package to the file.
11243 
11244 2009-09-05  Micah Cowan  <micah@cowan.name>
11245 
11246 	* configure.ac: If we can't find idna.h, check to see if it's
11247 	because we need to add /usr/include/idn to the inclusion
11248 	path (for OpenSolaris).
11249 
11250 2009-09-05  Gisle Vanem  <gvanem@broadpark.no>
11251 
11252 	* src/connect.c, init.c, main.c, openssl.c, options.h:  Replace
11253 	"ifdef MSDOS" with "ifdef USE_WATT32" since DOS-targets in fact
11254 	use the Watt-32 tcp/ip stack.
11255 
11256 2009-09-05  Gisle Vanem  <gvanem@broadpark.no>
11257 
11258 	* msdos/config.h: Added 'HAVE_ALLOCA_H' for Watcom 1.5+.  Added
11259 	'USE_WATT32' since all DOS-targets use the Watt-32 tcp/ip stack.
11260 	Added meaningless dummy LOCALEDIR.
11261 
11262 	* msdos/Makefile.WC: A much needed update. Added rules for many files
11263 	in ./lib, css.c and version.c.
11264 
11265 	* msdos/Makefile.DJ: A much needed update. Added rules for css.c and
11266 	version.c.
11267 
11268 2009-09-04  Steven Schubiger  <stsc@member.fsf.org>
11269 
11270 	* configure.ac: Place gl_EARLY and md5_EARLY before the gettext
11271 	macros in order to silence autoconf warnings.
11272 
11273 2009-09-04  Micah Cowan  <micah@cowan.name>
11274 
11275 	* tests/WgetTest.pm.in (run): Error-checking improvements.
11276 
11277 2009-09-04  Micah Cowan  <micah@cowan.name>
11278 
11279 	* src/Makefile.am: Move build_info.c to wget_SOURCES from
11280 	nodist_wget_SOURCES, reduce dependencies, and invoke build_info.pl
11281 	in its new home, $(top_srcdir)/build-aux.
11282 
11283 2009-09-04  Micah Cowan  <micah@cowan.name>
11284 
11285 	* doc/wget.texi (Time-Stamping): "older" -> "not newer".
11286 
11287 	* doc/Makefile.am (install.man, install.wgetrc): Use $(mkinstalldirs),
11288 	not $(top_srcdir)/mkinstalldirs.
11289 
11290 2009-09-04  Micah Cowan  <micah@cowan.name>
11291 
11292 	* Makefile.am (EXTRA_DIST): build_info.pl ->
11293 	build-aux/build_info.pl
11294 
11295 	* build-aux/build_info.pl: Moved from top directory.
11296 
11297 	* md5/*: Updated md5 from gnulib.
11298 
11299 	* configure.ac: Configured build-aux/ as auxiliarry directory.
11300 
11301 	* build-aux/compile, build-aux/config.guess,
11302 	build-aux/config.rpath, build-aux/config.sub, build-aux/depcomp,
11303 	build-aux/install-sh, build-aux/link-warning.h,
11304 	build-aux/mdate-sh, build-aux/missing, build-aux/mkinstalldirs,
11305 	build-aux/texinfo.tex, build-aux/useless-if-before-free,
11306 	build-aux/vc-list-files, build-aux/ylwrap: Moved from top
11307 	directory.
11308 
11309 	* build-aux/announce-gen: Imported from gnulib.
11310 	* build-aux/update-copyright: Imported from gnulib.
11311 	* build-aux/gnupload: Imported from gnulib.
11312 	* lib/Makefile.am, m4/gnulib-cache.m4, m4/gnulib-comp.m4: Adjusted
11313 	for announce-gen, update-copyright, and gnupload.
11314 
11315 2009-09-03  gettextize  <bug-gnu-gettext@gnu.org>
11316 
11317 	* m4/gettext.m4: Upgrade to gettext-0.17.
11318 	* m4/iconv.m4: Upgrade to gettext-0.17.
11319 	* m4/lib-link.m4: Upgrade to gettext-0.17.
11320 	* m4/po.m4: Upgrade to gettext-0.17.
11321 
11322 	* po/Makefile.in.in: Upgrade to gettext-0.17.
11323 
11324 	* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
11325 
11326 2009-09-03  Micah Cowan  <micah@cowan.name>
11327 
11328 	* src/ftp-ls.c (ftp_parse_vms_ls): Replace use of localtime_r with
11329 	localtime, as not all platforms have localtime_r.
11330 
11331 	* src/Makefile.am (wget_SOURCES): Rearranged some of the file order,
11332 	so .c files and .h files are apart. Added gettext.h, so that it
11333 	shows up in the dist.
11334 
11335 2009-09-03  Micah Cowan  <micah@cowan.name>
11336 
11337 	* NEWS: Give credit to jff for SSL security fix, call attention to
11338 	IRI support's dependence on libidn and libiconv, and note that
11339 	--html-extension is still accepted, though deprecated.
11340 
11341 	* lib/*, m4/*: Updated gnulib.
11342 	* lib/getpagesize.c, lib/memchr.c, lib/memchr.valgrind,
11343 	lib/stddef.in.h, lib/str-two-way.h, lib/strcasecmp.c,
11344 	lib/strcasestr.c, lib/strings.in.h, lib/strncasecmp.c,
11345 	m4/getpagesize.m4, m4/memchr.m4, m4/mmap-anon.m4,
11346 	m4/stddef_h.m3, m4/strcase.m4, m4/strcasestr.m4,
11347 	m4/strings_h.m4, m4/wchar_t.m4: Added, via gnulib --import
11348 	strcasestr.
11349 
11350 	* configure.ac: Move AM_GNU_GETTEXT below AC_AIX, to shut up
11351 	autoconf warnings.
11352 
11353 2009-09-02  Micah Cowan  <micah@cowan.name>
11354 
11355 	* tests/Makefile.am (unit-tests): explicit dependency is
11356 	unnecessary (and harmful, as it overrides the automatic one).
11357 
11358 2009-09-02  Micah Cowan  <micah@cowan.name>
11359 
11360 	* src/gettext.h: Refreshed from gettext 0.17.
11361 
11362 	* src/test.c: Added definition of program_name variable, required by
11363 	lib/error.c (libgnu.a). Doesn't cause problems until you try to
11364 	build on a non-GNU system...
11365 
11366 	* src/build_info.c.in: Removed useless "+gettext" feature ad.
11367 
11368 2009-09-02  Micah Cowan  <micah@cowan.name>
11369 
11370 	* po/Rules-quot (en_US.po-update): Remove use of GNU make's
11371 	non-portable $^ variable.
11372 
11373 2009-09-01  Steven Schubiger  <stsc@member.fsf.org>
11374 
11375 	* tests/Makefile.am: Add Test-cookies.px, Test-cookies-401.px
11376 	and Test-restrict-ascii.px to EXTRA_DIST.
11377 
11378 2009-09-01  Micah Cowan  <micah@cowan.name>
11379 
11380 	* tests/Makefile.am (../src/libunittest.a): Make it a phony target,
11381 	so we always make sure to get up-to-date unit-test runs.
11382 
11383 2009-08-31  Steven Schubiger  <stsc@member.fsf.org>
11384 
11385 	* tests/Makefile.am: Add Test-k.px to EXTRA_DIST.
11386 
11387 2009-08-29  Steven Schubiger  <stsc@member.fsf.org>
11388 
11389 	* tests/run-px: Add Test-k.px to the list.
11390 
11391 	* tests/Test-k.px: Test escaping of semicolons in local file strings.
11392 
11393 2009-08-29  Steven Schubiger  <stsc@member.fsf.org>
11394 
11395 	* src/convert.c (local_quote_string): Percent-encode semicolons
11396 	in local file strings.
11397 
11398 2009-08-27  Micah Cowan  <micah@cowan.name>
11399 
11400 	* tests/run-px: Added Test-cookies.px, Test-cookies-401.px
11401 
11402 	* tests/Test-cookies.px: Basic testing to make sure Wget doesn't send
11403 	cookies; no path/domain checking.
11404 
11405 	* tests/Test-cookies.px: Test to make sure Wget heeds cookies when they
11406 	are sent with a 401 response (#26775).
11407 
11408 	* tests/HTTPServer.pm (send_response): Don't try to substitute port in
11409 	response body, if there isn't one.
11410 	(verify_request_headers): Avoid uninitialized warning when an
11411 	expected header isn't provided by Wget.
11412 
11413 2009-08-27  Micah Cowan  <micah@cowan.name>
11414 
11415 	* tests/WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
11416 
11417 	* tests/Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
11418 	Test--spider-r--no-content-disposition-trivial.px,
11419 	Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
11420 	Test-O-nonexisting.px, Test-cookies-401.px,
11421 	Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
11422 	exit codes have changed.
11423 
11424 2009-08-27  Micah Cowan  <micah@cowan.name>
11425 
11426 	* src/wget.h (uerr_t): added new VERIFCERTERR code for SSL certificate
11427 	problems. Marked exit codes that are defined but never used (at
11428 	least, the ones I could find).
11429 
11430 	* src/retr.c, retr.h (retrieve_url): Added a new boolean argument to
11431 	determine whether an exit status should be recorded.
11432 	(retrieve_from_file): Adjust to new retrieve_url signature.
11433 
11434 	* src/res.c (res_retrieve_file): Don't have retrieve_url record an
11435 	exit status for robots.txt.
11436 
11437 	* src/recur.c (retrieve_tree): Adjust to new retrieve_url signature.
11438 
11439 	* src/main.c (main): Use the exit status stored by retrieve_url.
11440 
11441 	* src/http.c (gethttp): Distinguish certificate verification problems
11442 	from SSL connection issues.
11443 	(http_loop): Handle newly-created VERIFCERTERR error code.
11444 
11445 	* src/exits.c, exits.h: Newly added.
11446 
11447 	* src/Makefile.am (wget_SOURCES): Add exits.c and exits.h.
11448 
11449 2009-08-27  Micah Cowan  <micah@cowan.name>
11450 
11451 	* src/http.c (gethttp): Make sure Wget heeds cookies when they
11452 	are sent with a 401 response; or any other sort of response for
11453 	that matter (#26775).
11454 
11455 2009-08-27  Micah Cowan  <micah@cowan.name>
11456 
11457 	* doc/texi2pod.pl: Handle @asis in table-element formatting.
11458 
11459 	* doc/wget.texi (Exit Status): Document new exit codes.
11460 
11461 2009-08-27  Micah Cowan  <micah@cowan.name>
11462 
11463 	* NEWS: Mention the changes to exit codes.
11464 
11465 2009-08-27  Micah Cowan  <micah@cowan.name>
11466 
11467 	* NEWS: Add mention of the NUL characters SSL security fix.
11468 
11469 2009-08-19  Micah Cowan  <micah@cowan.name>
11470 
11471 	* src/openssl.c (ssl_check_certificate): Only warn about an attack if
11472 	the hostname would otherwise have matched. Also some formatting
11473 	cleanup.
11474 
11475 2009-08-19  Joao Ferreira  <joao@joaoff.com>
11476 
11477 	* src/openssl.c (ssl_check_certificate): Detect embedded NUL
11478 	characters in the SSL certificate common name.
11479 
11480 2009-08-17  Tony Lewis  <tlewis@exelana.com>
11481 
11482 	* src/http.c (gethttp): Ensure that we parse Content-Length before we
11483 	attempt to refer to its value. Without this fix, NTLM support was
11484 	completely buggered. #27192
11485 
11486 2009-08-09  Michael Baeuerle  <michael.baeuerle@gmx.net>
11487 
11488 	* src/ftp.c: #include <strings.h> for strcasecmp.
11489 
11490 2009-08-02  Micah Cowan  <micah@cowan.name>
11491 
11492 	* doc/wget.texi (Option Syntax): "This is a complete equivalent of" ->
11493 	"This is completely equivalent to". Thanks to Reuben Thomas for
11494 	catching this.
11495 
11496 2009-07-28  Micah Cowan  <micah@cowan.name>
11497 
11498 	* src/main.c (option_data): Rename --html-extension to
11499 	--adjust-extension.
11500 	(print_help): Ditto.
11501 
11502 	* src/options.h (struct option): Rename html_extension to
11503 	adjust_extension.
11504 	* src/http.c (gethttp): Ditto.
11505 	* src/convert.c (local_quote_string): Ditto.
11506 
11507 	* src/init.c (commands): Add "adjustextension", and reflect rename
11508 	change for opt.adjust_extension, for both "adjustextension" and
11509 	"htmlextension".
11510 
11511 2009-07-28  Micah Cowan  <micah@cowan.name>
11512 
11513 	* doc/wget.texi (Download Options): Document "lowercase", "uppercase",
11514 	and the new "ascii" specifier for --restrict-file-names.
11515 	(HTTP Options): Rename --html-extension to --adjust-extension.
11516 	(Wgetrc Commands): Rename html_extension to adjust_extension.
11517 
11518 2009-07-28  Micah Cowan  <micah@cowan.name>
11519 
11520 	* NEWS: Mention some more previously undocumented items, the
11521 	new "ascii" specifer for --restrict-file-names, and the renaming
11522 	of --html-extension to --adjust-extension.
11523 
11524 2009-07-27  Petr Pisar  <petr.pisar@atlas.cz>
11525 
11526 	* src/main.c (print_help): Fixed a couple typos.
11527 
11528 2009-07-27  Petr Pisar  <petr.pisar@atlas.cz>
11529 
11530 	* po/Makevars (MSGID_BUGS_ADDRESS): Fixed.
11531 
11532 2009-07-27  Micah Cowan  <micah@cowan.name>
11533 
11534 	* tests/Test-restrict-ascii.px: New.
11535 
11536 	* tests/run-px: Added Test-restrict-ascii.px.
11537 
11538 2009-07-27  Micah Cowan  <micah@cowan.name>
11539 
11540 	* src/options.h (struct options): Added restrict_files_nonascii
11541 	boolean field.
11542 
11543 	* src/url.c (FILE_CHAR_TEST): Add check for chars outside the ASCII
11544 	range.
11545 
11546 	* src/init.c (defaults): Add restrict_files_nonascii to initialization.
11547 	(cmd_spec_restrict_file_names): Allow parsing of "ascii" keyword.
11548 
11549 2009-07-27  Marcel Telka  <marcel@telka.sk>
11550 
11551 	* src/iri.c (do_conversion): Typo: invalide -> invalid
11552 
11553 2009-07-26  Micah Cowan  <micah@cowan.name>
11554 
11555 	* tests/Test-ftp-iri.px, Test-ftp-iri-fallback.px,
11556 	Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
11557 	Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
11558 	replacing --locale with --local-encoding.
11559 
11560 2009-07-26  Micah Cowan  <micah@cowan.name>
11561 
11562 	* src/main.c (option_data): Rename --locale option to --local-encoding
11563 	(print_help): Document --no-iri, --local-encoding, and
11564 	--remote-encoding, within usage message. Remove defunct
11565 	--preserve-permissions.
11566 
11567 2009-07-26  Micah Cowan  <micah@cowan.name>
11568 
11569 	* doc/wget.texi (Download Options): Change --iri item to --no-iri;
11570 	rename --locale to --local-encoding.
11571 	(Wgetrc Commands): Document iri, local_encoding, remote_encoding,
11572 	ask_password, auth_no_challenge, and keep_session_cookies.
11573 
11574 2009-07-23  Micah Cowan  <micah@cowan.name>
11575 
11576 	* src/progress.c (get_eta): Change "Translation note" in comment to
11577 	"TRANSLATORS", so it actually appears in wget.pot.
11578 
11579 2009-07-10  Micah Cowan  <micah@cowan.name>
11580 
11581 	* util/paramcheck.pl (find_documentation): Added.
11582 	(emit_undocumented_opts): Check for documentation in both TexInfo
11583 	and --help string.
11584 
11585 2009-07-07  Steven Schubiger  <stsc@member.fsf.org>
11586 
11587 	* tests/Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
11588 	to EXTRA_DIST.
11589 
11590 2009-07-06  Micah Cowan  <micah@cowan.name>
11591 
11592 	* src/main.c (print_help): Improve documentation of --base.
11593 
11594 2009-07-06  Micah Cowan  <micah@cowan.name>
11595 
11596 	* doc/wget.texi (Logging and Input File Options): Alter description of
11597 	--input-file, implying that --force-html isn't necessary when the
11598 	input is in HTML file. Improve accuracy of --base description.
11599 	(Wgetrc Commands): Improve accuracy of "base" description.
11600 	(HTTP Options): Clarify operation of --post-file.
11601 
11602 2009-07-05  Petr Pisar  <petr.pisar@atlas.cz>
11603 
11604 	* src/main.c (print_version): Mark initial line for translation, along
11605 	with (env), (user), and (system). Change copyright year to 2009.
11606 
11607 	* src/http.c (http_loop): Space after colon.
11608 
11609 	* src/gnutls.c (ssl_check_certificate): Use quote function, rather
11610 	than explicit quotes.
11611 
11612 2009-07-05  Micah Cowan  <micah@cowan.name>
11613 
11614 	* tests/Test-meta-robots.px: Added.
11615 
11616 	* tests/run-px: Add Test-meta-robots.px to the list.
11617 
11618 2009-07-05  Micah Cowan  <micah@cowan.name>
11619 
11620 	* src/html-url.c (tag_handle_meta): Handle meta name="robots"
11621 	properly: deal with whitespace, commas after...
11622 
11623 	* src/netrc.c (parse_netrc): Rename local-scope variable "quote" to
11624 	"qmark", to avoid conflict with the function name.
11625 
11626 2009-07-05  Micah Cowan  <micah@cowan.name>
11627 
11628 	* src/Makefile.am (version.c): Add dependency on configure.ac.
11629 
11630 	* src/iri.c: Mark some strings for translation.
11631 
11632 2009-07-05  Micah Cowan  <micah@cowan.name>
11633 
11634 	* po/Rules-quot: Added targets to build en@{quot,boldquot}.po
11635 
11636 	* po/POTFILES.in: Added src/gnutls.c, src/iri.c.
11637 
11638 	* po/*.po: Updated translations from TP. New translation:
11639 	Lithuanian.
11640 
11641 	* lib/*, md5/*: Updated gnulib.
11642 
11643 2009-07-04  Steven Schweda  <sms@antinode.info>
11644 
11645 	* vms/COLLECT_DEPS.COM, vms/config.h_vms, vms/decc_ver.c,
11646 	vms/DESCRIP_CONFIG.MMS, vms/DESCRIP_DEPS.MMS,
11647 	vms/DESCRIP_MKDEPS.MMS, vms/DESCRIP.MMS, vms/DESCRIP_SRC.MMS,
11648 	vms/vms.c, vms/vms.h, vms/vms_ip.h, vms/vms_name_fix.sh,
11649 	vms/VMS_NOTES.TXT, vms/VMS-WGET.COM, vms/WGET.HLP,
11650 	vms/WGET_MULTINET.OPT, vms/WGET.OPT, vms/WGET_SSL_HP.OPT,
11651 	vms/WGET_SSL.OPT: Added.
11652 
11653 2009-07-04  Steven Schweda  <sms@antinode.info>
11654 
11655 	* src/wget.h (ORIG_SFX): Macro added, to supply an alternative "_orig"
11656 	suffix on VMS.
11657 
11658 	* src/connect.c, host.c, host.h, main.c: Include "vms_ip.h" rather
11659 	than <netdb.h> on VMS systems.
11660 
11661 	* src/convert.c (write_backup_file): Use "_orig" rather than ".orig"
11662 	on VMS.
11663 
11664 	* src/ftp-basic.c (ftp_list): Don't use LIST -a on VMS servers.
11665 
11666 	* src/ftp.c [__VMS]: Include "vms.h"
11667 	* src/ftp.c (getftp): Disable some unhelpful "for VMS" code. Pass the
11668 	OS type to ftp_list.
11669 	(getftp) [__VMS]: Alter the filename as required, and invoke fopen
11670 	with extra optional arguments.
11671 	(ftp_retrieve_list): Set permissions before setting the times.
11672 
11673 	* src/ftp-ls.c [__VMS]: Various improvements.
11674 
11675 	* src/http.c (SET_USER_AGENT): Added. Include operating-system info in
11676 	the User-Agent header.
11677 	(gethttp): Use ORIG_SFX macro.
11678 	(gethttp) [__VMS]: invoke fopen with extra arguments to
11679 	communicate file type.
11680 	(http_loop): Add cast to time_t.
11681 
11682 	* src/init.c (wgetrc_user_file_name) [__VMS]: Adjustments for where to
11683 	find the .wgetrc.
11684 
11685 	* src/log.c: Adjustments to improve handling of log files on VMS.
11686 
11687 	* src/main.c [__VMS]: Added --ftp-stmlf option (and associated
11688 	documentation). Adjust description of backup-suffixes, as they now
11689 	differ for VMS.
11690 	(print_help, print_version): Include OS type in version
11691 	information.
11692 	(main) [__VMS]: Invoke fopen with extra options, to specify file
11693 	type information.
11694 
11695 	* src/netrc.c (search_netrc) [__VMS]: Fix .netrc-finding.
11696 
11697 	* src/openssl.c, openssl.h (ssl_connect_wget): Renamed from ssl_connect.
11698 
11699 	* src/options.h (struct options): Add ftp_stmlf field.
11700 
11701 	* src/retr.c (write_data) [__VMS]: Avoid fflush.
11702 
11703 	* src/url.c [__VMS]: Include vms.h.
11704 	* src/url.c (url_file_name) [__VMS]: Handle naming as required for VMS.
11705 
11706 	* src/utils.c [__VMS]: Include vms.h. Various added facilities for VMS
11707 	needs.
11708 
11709 2009-07-04  Steven Schubiger  <stsc@member.fsf.org>
11710 
11711 	* src/url.c (url_parse): If an URL scheme is invalid, distinguish
11712 	between an unsupported or missing scheme.
11713 
11714 	* src/url.c: Add a "missing scheme" entry to parse_errors.
11715 
11716 2009-07-04  Micah Cowan  <micah@cowan.name>
11717 
11718 	* src/main.c (print_version): Allow localization of the version-info
11719 	labels, eschew attempts at alignment (which is complicated when
11720 	handling translated strings), and avoid using printf() with
11721 	variable-stored format strings that lack conversion
11722 	specifications.
11723 	(format_and_print_line): For similar reasons, don't calculate
11724 	line-continuation tabulation based on the number of bytes in a
11725 	string.
11726 
11727 2009-07-03  Micah Cowan  <micah@cowan.name>
11728 
11729 	* tests/Test-ftp-iri-disabled.px, Test-iri-disabled.px:
11730 	--iri=no --> --no-iri
11731 
11732 2009-07-03  Micah Cowan  <micah@cowan.name>
11733 
11734 	* src/iri.h (iri_dup): Provide macro definition for when IRIs are
11735 	disabled.
11736 
11737 	* src/Makefile.am (LIBS): Added @LIBICONV@.
11738 	(wget_SOURCES): Added iri.h.
11739 	(EXTRA_wget_SOURCES): Added iri.c, so it gets packaged even if IRI
11740 	support was disabled.
11741 
11742 2009-07-03  Micah Cowan  <micah@cowan.name>
11743 
11744 	* doc/wget.texi (Download Options): --iri=no --> --no-iri
11745 	(Contributors): Add Saint Xavier.
11746 
11747 2009-07-03  Micah Cowan  <micah@cowan.name>
11748 
11749 	* configure.ac: Ensure LIBICONV is empty if IRIs are disabled.
11750 
11751 	* AUTHORS: Added Ted Mielczarek and Saint Xavier.
11752 
11753 	* NEWS: Added items for IRI support, new --version information.
11754 
11755 2009-07-02  Micah Cowan  <micah@cowan.name>
11756 
11757 	* src/recur.c (url_enqueue): Quote enqueue/dequeue debug messages.
11758 
11759 	* src/html-url.c (append_url): Change "merge()" quoting style from
11760 	locale_quoting_style to escape_quoting_style.
11761 
11762 2009-07-01  Steven Schubiger  <stsc@member.fsf.org>
11763 
11764 	* src/Makefile.am: Add a rule to generate build_info.c and list
11765 	the build_info.c.in file in EXTRA_DIST. Adjust elsewhere
11766 	where needed.
11767 
11768 	* src/build_info.c: Remove this static source file.
11769 
11770 	* src/build_info.c.in: Data for generation of build_info.c.
11771 
11772 2009-07-01  Steven Schubiger  <stsc@member.fsf.org>
11773 
11774 	* Makefile.am: Add build_info.pl to EXTRA_DIST.
11775 
11776 	* build_info.pl: Generate build_info.c from data.
11777 
11778 2009-07-01  Micah Cowan  <micah@cowan.name>
11779 
11780 	* tests/HTTPServer.pm (send_response): Invocation of
11781 	verify_request_headers, to support testing of Wget-sent header
11782 	values.
11783 	(verify_request_headers): Added.
11784 
11785 	* tests/Test-iri.px: Added verification checks for Referer values.
11786 
11787 2009-07-01  Micah Cowan  <micah@cowan.name>
11788 
11789 	* src/retr.c (retrieve_url): Use the existing "redirect" label,
11790 	instead of superfluous "second_try". Removed no-longer-accurate
11791 	debug statement. Use the "newloc" parameter to store the fallback
11792 	URL, when IRI version was rejected.
11793 
11794 	* src/recur.c (retrieve_tree): Always use the parsed URL for tracking
11795 	the Referer, since that's the one we actually requested (if
11796 	there's a difference in terms of percent-encodings and such).
11797 
11798 2009-06-29  Micah Cowan  <micah@cowan.name>
11799 
11800 	* tests/WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
11801 	be skipped at user discretion.
11802 
11803 	* tests/run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
11804 	test for percent-coded value preservation, FTP recursion when IRI
11805 	support's on.
11806 
11807 2009-06-29  Micah Cowan  <micah@cowan.name>
11808 
11809 	* src/html-url.c (append_url): Quote some more arguments that might
11810 	contain characters that are inappropriate to display for the
11811 	current locale.
11812 
11813 	* src/retr.c (retrieve_from_file): Be sure to pass iri information
11814 	when parsing an input-fle url, and be sure to hand a clean iri
11815 	struct, off to retrieve_tree and retrieve_url.
11816 
11817 	* src/iri.c, iri.h (iri_dup): Added.
11818 
11819 	* src/retr.c (retrieve_url): Re-parse for IRI fallback.
11820 
11821 	* src/main.c (main): Set up iri before the url_parse invocation (so we
11822 	can use it).
11823 
11824 2009-06-20  Micah Cowan  <micah@cowan.name>
11825 
11826 	* doc/wget.texi (Contributors): Added Jay Krell.
11827 
11828 2009-06-20  Jay Krell  <jay.krell@cornell.edu>
11829 
11830 	* src/sysdep.h (_ALL_SOURCE): (small change) Define the _ALL_SOURCE
11831 	macro on INTERIX systems. (I switched the location from ftp.c to
11832 	sysdep.h --mjc)
11833 
11834 2009-06-15  Micah Cowan  <micah@cowan.name>
11835 
11836 	* src/ftp.c (getftp): If we can't accept the connection, return
11837 	CONERROR, not whatever the contents of err happens to be. Fixes
11838 	bug #25015.
11839 
11840 	* src/retr.c (fd_read_body): Make both args to progress_create
11841 	consistent, resulting in an accurate progress display. Fixes bug
11842 	#24948.
11843 
11844 2009-06-14  Phil Pennock  <mutt-dev@spodhuis.org> (tiny change)
11845 	* src/host.h: Declare `is_valid_ip_address'.
11846 	* src/host.c (is_valid_ip_address): New function.
11847 	* src/http.c (gethttp): Specify the hostname to ssl_connect_wget.
11848 	* src/gnutls.c (ssl_connect_wget): Specify the server name.
11849 	* src/openssl.c (ssl_connect_wget): Likewise.
11850 	* src/ssl.h: Change method signature for ssl_connect_wget.
11851 
11852 2009-06-14  Micah Cowan  <micah@cowan.name>
11853 
11854 	* tests/Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
11855 	certs/, to make distcheck happy.
11856 
11857 2009-06-14  Micah Cowan  <micah@cowan.name>
11858 
11859 	* src/Makefile.am (wget_SOURCES): css-tokens.h needs to ship with
11860 	dist, too.
11861 
11862 2009-06-14  Micah Cowan  <micah@cowan.name>
11863 
11864 	* po/Makefile.in.in (distclean): remove en_US.po, too.
11865 
11866 	* Makefile.am: Include md5 as a subdir unconditionally.
11867 	It may result in useless compilation, and additional risk of
11868 	breaking a build of something that isn't actually needed, but
11869 	otherwise it's too much of a hassle to manage a failure-free
11870 	distcheck.
11871 
11872 2009-06-14  Micah Cowan  <micah@cowan.name>
11873 
11874 	* doc/Makefile.am (wget.pod): $(srcdir)/version.texi -> version.texi
11875 
11876 2009-06-13  Micah Cowan  <micah@cowan.name>
11877 
11878 	* src/init.c: Rename setval_internal_wrapper to setval_internal_tilde,
11879 	ensure we don't "replace" the tilde unless it's actually
11880 	present. Clean up some minor GNU style issues.
11881 
11882 2009-06-13  Julien Pichon  <julienpichon7@gmail.com>
11883 
11884 	* src/init.c: Handle tilde-expansion in wgetrc commands, without
11885 	resorting to setting/unsetting globals to change behavior in one
11886 	call location.
11887 
11888 2009-06-12  Micah Cowan  <micah@cowan.name>
11889 
11890 	* src/host.c: Include <sys/types.h> before <sys/socket.h>. Not
11891 	required by POSIX any more, but some older systems (such as
11892 	FreeBSD 4.1) still need it, and it doesn't seem like it could
11893 	hurt...
11894 
11895 	* src/build_info.c (library): Handle "https" as a feature in its own
11896 	right, apart from "gnutls" and "openssl".
11897 
11898 	* src/host.c: Declare h_errno if no declaration is provided. Idea
11899 	thanks to Maciej W. Rozycki.
11900 
11901 2009-06-12  Micah Cowan  <micah@cowan.name>
11902 
11903 	* doc/wget.texi (Download Options): More accuracy on what happens when
11904 	-nd is used with -r or -p.
11905 
11906 2009-06-12  Micah Cowan  <micah@cowan.name>
11907 
11908 	* configure.ac: Check for h_errno declaration. Idea thanks to
11909 	Maciej W. Rozycki.
11910 
11911 2009-06-11  Xin Zou  <zouxin2008@gmail.com>
11912 
11913 	* src/http.c (gethttp): Fix some memory leaks.
11914 
11915 2009-06-11  Micah Cowan  <micah@cowan.name>
11916 
11917 	* src/http.c (http_atotm): Handle potential for setlocale's return
11918 	value to be static storage. Thanks to Benjamin Wolsey
11919 	<bwy@benjaminwolsey.de>.
11920 
11921 	* src/sysdep.h: Need NAMESPACE_TWEAKS on non-Linux glibc-based
11922 	systems, too. Thanks to Robert Millan.
11923 
11924 2009-06-11  Micah Cowan  <micah@cowan.name>
11925 
11926 	* doc/wget.texi (Contributors): Added Xin Zou, Benjamin Wolsley, and
11927 	Robert Millan.
11928 
11929 2009-06-11  Joao Ferreira  <joao@joaoff.com>
11930 
11931 	* doc/wget.texi (Option Syntax): Fixed contradictory and confusing
11932 	explanation of --folow-ftp and negation.
11933 
11934 2009-06-11  Benjamin Wolsey <bwy@benjaminwolsey.de>
11935 
11936 	* tests/Test-proxied-https-auth.px: Take an optional argument for the
11937 	top source directory, so we can find the cert and key.
11938 
11939 	* tests/run-px: Provide the top source directory as an argument, so
11940 	scripts can find their way around.
11941 
11942 2009-06-10  Micah Cowan  <micah@cowan.name>
11943 
11944 	* doc/sample.wgetrc: Add "https_proxy" to the proxy examples. Thanks
11945 	to Martin Paul <martin@par.univie.ac.at> for the suggestion.
11946 
11947 2009-05-28  Steven Schubiger  <stsc@member.fsf.org>
11948 
11949 	* src/ftp.c (ftp_get_listing): Update the "listing file"
11950 	string after calling ftp_loop_internal().
11951 
11952 2009-05-27  Steven Schubiger  <stsc@member.fsf.org>
11953 
11954 	* src/ftp.c (ftp_get_listing): Duplicate the "listing file"
11955 	string to avoid memory corruption when FOPEN_EXCL_ERR is
11956 	encountered.
11957 
11958 2009-05-17  Steven Schubiger  <stsc@member.fsf.org>
11959 
11960 	* src/progress.c (eta_to_human_short): Fix the remaining hours
11961 	to be displayed. Spotted by Tadeu Martins (#26411).
11962 
11963 2009-04-24  Micah Cowan  <micah@cowan.name>
11964 
11965 	* src/hash.c: Change stdint.h inclusion to use HAVE_STDINT_H, not C99
11966 	check.
11967 
11968 	* src/connect.c: stdint.h inclusion added.
11969 
11970 	Thanks to Markus Duft <mduft@gentoo.org> for a similar patch.
11971 
11972 2009-04-20  Micah Cowan  <micah@cowan.name>
11973 
11974 	* src/Makefile.am (version.c): Fix unportable use of "echo -n".
11975 
11976 2009-04-13  Steven Schubiger  <stsc@member.fsf.org>
11977 
11978 	* src/ftp.c (ftp_retrieve_list): Move the duplicated code that
11979 	determines the local file to a function.
11980 
11981 	* src/http.c (http_loop): Likewise.
11982 
11983 	* src/retr.c (set_local_file): New function.
11984 
11985 2009-04-11  Steven Schubiger  <stsc@member.fsf.org>
11986 
11987 	* tests/run-px: Skip testing with real rc files by setting
11988 	SYSTEM_WGETRC and WGETRC to /dev/null.
11989 
11990 2009-04-11  Steven Schubiger  <stsc@member.fsf.org>
11991 
11992 	* src/init.c (initialize): Run a custom SYSTEM_WGETRC when
11993 	provided as an environment variable.
11994 
11995 2009-03-03  Steven Schubiger  <stsc@member.fsf.org>
11996 
11997 	* src/ftp.c, src/http.c, src/main.c, src/recur.h,
11998 	tests/Makefile.am: Update the copyright years.
11999 
12000 2009-02-27  Steven Schubiger  <stsc@member.fsf.org>
12001 
12002 	* src/ftp.c (ftp_loop_internal): Don't claim for FTP retrievals
12003 	when writing to standard output either that the document
12004 	has been saved. Addresses bug #20520 again.
12005 
12006 2009-02-27  Gisle Vanem  <gvanem@broadpark.no>
12007 
12008 	* src/main.c (main): "freopen (NULL,.." causes an assertion in MSVC
12009 	debug-mode.  I.e. NULL isn't legal. But the "CONOUT$" device works
12010 	fine.
12011 
12012 2009-02-25  Benjamin Wolsey  <bwy@benjaminwolsey.de>
12013 
12014 	* tests/Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
12015 
12016 	* tests/run-px: Include modules from srcdir.
12017 
12018 2009-02-21  Steven Schubiger  <stsc@member.fsf.org>
12019 
12020 	* src/http.c (http_loop): When a document is written to
12021 	standard output, don't claim it has been saved to a file.
12022 	Addresses bug #20520.
12023 
12024 2009-02-18  Steven Schubiger  <stsc@members.fsf.org>
12025 
12026 	* src/recur.h: Remove the dangling declaration for recursive_cleanup().
12027 
12028 2009-02-01  Gerardo E. Gidoni  <gerel@gnu.org>
12029 
12030 	* src/main.c, recur.c, recur.h, res.c, retr.c, retr.h: restructured code to
12031 	avoid multiple 'url_parse' calls.
12032 
12033 2009-01-23  Steven Schubiger  <stsc@members.fsf.org>
12034 
12035 	* util/freeopts, util/rmold.pl, util/trunc.c: Remove
12036 	unnecessary whitespace.
12037 
12038 2008-12-04  Micah Cowan  <micah@cowan.name> (not copyrightable)
12039 
12040 	* tests/run-px, Test-idn-robots.px: Added test for robots-file
12041 	downloads.
12042 
12043 	* tests/Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
12044 	Fix test names.
12045 
12046 2008-11-27  Saint Xavier  <wget@sxav.eu>
12047 
12048 	* src/http.c (gethttp): Move authentication code before filename
12049 	allocation avoiding fallbacking on default filename because
12050 	"Content-Disposition" header wasn't present before authentcation
12051 	has been completed. Fixes bug #24862.
12052 
12053 2008-11-26  Micah Cowan  <micah@cowan.name>  (not copyrightable)
12054 
12055 	* tests/Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
12056 	Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
12057 	Test-idn-meta.px, Test-iri-disabled.px,
12058 	Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
12059 	module-scope warnings.
12060 
12061 2008-11-25  Steven Schubiger  <stsc@members.fsf.org>
12062 
12063 	* tests/WgetTest.pm.in: Remove the magic interpreter line;
12064 	replace -w with lexical warnings.
12065 
12066 2008-11-16  Steven Schubiger  <stsc@members.fsf.org>
12067 
12068 	* src/main.c: Declare and initialize the numurls counter.
12069 
12070 	* src/ftp.c, http.c: Make the counter visible here and use it.
12071 
12072 	* src/options.h: Remove old declaration from options struct.
12073 
12074 2008-11-15  Steven Schubiger  <stsc@members.fsf.org>
12075 
12076 	* src/init.c (defaults): Set default waitretry value.
12077 
12078 2008-11-15  Steven Schubiger  <stsc@members.fsf.org>
12079 
12080 	* doc/sample.wgetrc: Comment the waitretry "default" value,
12081 	because there is a global one now.
12082 
12083 	* doc/wget.texi (Download Options): Mention the global
12084 	default value.
12085 
12086 2008-11-14  Steven Schubiger  <stsc@members.fsf.org>
12087 
12088 	* src/main.c (format_and_print_line): Use a custom format
12089 	string for printing leading spaces.
12090 
12091 2008-11-13  Steven Schubiger  <stsc@members.fsf.org>
12092 
12093 	* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
12094 	WgetTest.pm.in: Clean up leftover whitespace.
12095 
12096 2008-11-13  Micah Cowan  <micah@cowan.name>
12097 
12098 	* src/http.c (gethttp): Don't do anything when content-length >= our
12099 	requested range.
12100 
12101 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
12102 
12103 	* tests/Test-auth-basic.px, Test-auth-no-challenge.px,
12104 	Test-auth-no-challenge-url.px, Test-c-full.px,
12105 	Test-c-partial.px, Test-c.px, Test-c-shorter.px,
12106 	Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
12107 	Test-HTTP-Content-Disposition-1.px,
12108 	Test-HTTP-Content-Disposition-2.px,
12109 	Test-HTTP-Content-Disposition.px, Test-N-current.px,
12110 	Test-N-HTTP-Content-Disposition.px,
12111 	Test-N--no-content-disposition.px,
12112 	Test-N--no-content-disposition-trivial.px,
12113 	Test-N-no-info.px, Test--no-content-disposition.px,
12114 	Test--no-content-disposition-trivial.px, Test-N-old.px,
12115 	Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
12116 	Test-N.px, Test-N-smaller.px,
12117 	Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
12118 	Test-O--no-content-disposition.px,
12119 	Test-O--no-content-disposition-trivial.px,
12120 	Test-O-nonexisting.px, Test-O.px,
12121 	Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
12122 	Test-Restrict-Uppercase.px,
12123 	Test--spider-fail.pxm, Test--spider.px,
12124 	Test--spider-r-HTTP-Content-Disposition.px,
12125 	Test--spider-r--no-content-disposition.px,
12126 	Test--spider-r--no-content-disposition-trivial.px,
12127 	Test--spider-r.px: Enforce lexically scoped warnings.
12128 
12129 	* tests/Test-proxied-https-auth.px, run-px: Place use strict
12130 	before use warnings.
12131 
12132 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
12133 
12134 	* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
12135 	Remove the magic interpreter line, because it cannot be
12136 	used fully. Substitute -w with use warnings.
12137 
12138 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
12139 
12140 	* src/main.c (print_version): Hand the relevant
12141 	xstrdup/xfree calls back to format_and_print_line().
12142 
12143 2008-11-12  Micah Cowan  <micah@cowan.name>
12144 
12145 	* src/ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href.
12146 
12147 2008-11-12  Alexander Belopolsky  <alexander.belopolsky@gmail.com>
12148 
12149 	* src/url.c, url.h (url_escape_unsafe_and_reserved): Added.
12150 
12151 	* src/ftp-ls.c (ftp_index): URL-escape, rather than HTML-escape, the
12152 	filename appearing in the link.
12153 
12154 2008-11-11  Steven Schubiger  <stsc@members.fsf.org>
12155 
12156 	* src/main.c (format_and_print_line): Move both the memory
12157 	allocating and freeing bits upwards to print_version().
12158 
12159 2008-11-11  Micah Cowan  <micah@cowan.name>
12160 
12161 	* tests/HTTPServer.pm (handle_auth): Allow testing of
12162 	--auth-no-challenge.
12163 
12164 	* tests/Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
12165 	Added.
12166 
12167 	* tests/run-px: Add Test-auth-no-challenge.px,
12168 	Test-auth-no-challenge-url.px.
12169 
12170 2008-11-10  Saint Xavier  <wget@sxav.eu>
12171 
12172 	* src/http.c: Make --auth-no-challenge works with user:pass@ in URLs.
12173 
12174 2008-11-10  Micah Cowan  <micah@cowan.name>
12175 
12176 	* doc/Makefile.am (EXTRA_DIST): Removed no-longer-present
12177 	README.maint (shouldn't have been there in the first place).
12178 
12179 	* doc/wget.texi (Mailing Lists): Added information aboug Gmane portal,
12180 	added subsection headings.
12181 
12182 	Update node pointers.
12183 
12184 2008-11-10  Micah Cowan  <micah@cowan.name>
12185 
12186 	* MAILING-LIST: Mention Gmane, introduce subsections.
12187 
12188 2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
12189 
12190 	* tests/run-px: Use some colors for the summary part of the test
12191 	output to strengthen the distinction between a successful
12192 	or failing run.
12193 
12194 2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
12195 
12196 	* tests/run-px: When executing test scripts, invoke them with the
12197 	current perl executable name as determined by env.
12198 
12199 2008-11-06  Micah Cowan  <micah@cowan.name>
12200 
12201 	* tests/run-px: Use strict (thanks Steven Schubiger!).
12202 
12203 2008-11-05  Micah Cowan  <micah@cowan.name>
12204 
12205 	* src/ftp.c (print_length): Should print humanized "size remaining"
12206 	only when it's at least 1k.
12207 
12208 2008-11-05  Micah Cowan  <micah@cowan.name>
12209 
12210 	* doc/wget.texi: Move --no-http-keep-alive from FTP Options to HTTP
12211 	Options.
12212 	(Mailing List): Mention moderation for unsubscribed posts, and
12213 	archive location.
12214 
12215 2008-11-05  Micah Cowan  <micah@cowan.name>
12216 
12217 	* MAILING-LIST: Mention moderation for unsubscribed posts, and
12218 	archive location.
12219 
12220 2008-11-04  Micah Cowan  <micah@cowan.name>
12221 
12222 	* doc/wget.texi, fdl.texi: Updated to FDL version 1.3.
12223 
12224 2008-10-31  Micah Cowan  <micah@cowan.name>
12225 
12226 	* src/main.c (print_version): Add information about the mailing list.
12227 
12228 2008-10-31  Micah Cowan  <micah@cowan.name>
12229 
12230 	* doc/wget.texi (Mailing List): Update info to reflect change to
12231 	bug-wget@gnu.org.
12232 
12233 2008-10-31  Micah Cowan  <micah@cowan.name>
12234 
12235 	* MAILING-LIST: Update information.
12236 
12237 	* NEWS: Add mention of mailing list move.
12238 
12239 2008-10-31  Alexander Drozdov  <dzal_mail@mtu-net.ru>
12240 
12241 	* src/retr.c (fd_read_hunk): Make assert deal with maxsize == 0.
12242 
12243 	* src/ftp-ls.c (clean_line): Prevent underflow on empty lines.
12244 
12245 2008-10-26  Gisle Vanem  <gvanem@broadpark.no>
12246 
12247 	* src/main.c (format_and_print_line): Put variables on top of
12248 	blocks (not all compilers are C99). Add an extra '\n' if
12249 	SYSTEM_WGETRC isn't defined and printed.
12250 
12251 2008-09-30  Steven Schubiger  <stsc@members.fsf.org>
12252 
12253 	* doc/wget.texi (Wgetrc Commands): Add default_page, save_headers,
12254 	spider and user_agent to the list of recognized commands.
12255 
12256 2008-09-10  Michael Kessler  <kessler.michael@aon.at>
12257 
12258 	* doc/wget.texi (Robot Exclusion): Fixed typo "downloads" ->
12259 	"download"
12260 
12261 2008-09-09  Micah Cowan  <micah@cowan.name>
12262 
12263 	* tests/Test-idn-cmd.px: Added.
12264 
12265 	* tests/run-px: Added Test-idn-cmd.px.
12266 
12267 2008-09-09  Micah Cowan  <micah@cowan.name>
12268 
12269 	* src/init.c (home_dir): Save the calculated value for home,
12270 	to avoid duplicated work on repeated calls.
12271 	(wgetrc_file_name) [WINDOWS]: Define and initialize home var.
12272 
12273 	* src/build_info.c, main.c: Remove unnecessary extern vars
12274 	system_wgetrc and locale_dir.
12275 
12276 	* src/main.c: Define program_name for lib/error.c.
12277 
12278 2008-09-09  Gisle Vanem  <gvanem@broadpark.no>
12279 
12280 	* src/url.c (url_error): Use aprintf, not asprintf.
12281 
12282 2008-09-02  Gisle Vanem  <gvanem@broadpark.no>
12283 
12284 	* src/mswindows.h: Must ensure <stdio.h> is included before
12285 	we redefine ?vsnprintf().
12286 
12287 2008-08-28  Micah Cowan  <micah@cowan.name>
12288 
12289 	* tests/HTTPServer.pm (run): Allow distinguishing between hostnames,
12290 	when used as a proxy.
12291 
12292 	* tests/Test-idn-headers.px, Test-idn-meta.px: Added.
12293 
12294 	* tests/run-px: Added Test-idn-headers.px, Test-idn-meta.px.
12295 
12296 	* tests/Test-proxy-auth-basic.px: Use the full URL, rather than just the
12297 	path (made necessary by the accompanying change to HTTPServer.pm).
12298 
12299 2008-08-14  Xavier Saint <wget@sxav.eu>
12300 
12301 	* tests/Test-iri-list.px : Fetch files from a remote list.
12302 
12303 2008-08-08  Steven Schubiger  <stsc@members.fsf.org>
12304 
12305 	* src/main.c, utils.h: Removed some dead conditional DEBUG_MALLOC code.
12306 
12307 2008-08-03  Xavier Saint <wget@sxav.eu>
12308 
12309 	* tests/Test-iri.px : HTTP recursive fetch for testing IRI support and
12310 	fallback.
12311 
12312 	* tests/Test-iri-disabled.px : Same file structure as Test-iri.px but with
12313 	IRI support disabled
12314 
12315 	* tests/Test-iri-forced-remote.px : There's a difference between ISO-8859-1
12316 	and ISO-8859-15 for character 0xA4 (respectively currency sign and
12317 	euro sign). So with a forced ISO-8859-1 remote encoding, wget should
12318 	see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
12319 	of using the ISO-8859-15 given by the server.
12320 
12321 	* tests/Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
12322 	and expect wget to fetch the file UTF-8 encoded.
12323 
12324 	* tests/Test-ftp-iri-fallback.px : Same as above but wget should fallback on
12325 	locale encoding to fetch the file.
12326 
12327 	* tests/Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
12328 	disabled. The UTF-8 encoded file should not be retrieved.
12329 
12330 2008-08-03  Xavier Saint  <wget@sxav.eu>
12331 
12332 	* doc/wget.texi : Add option descriptions for the three new
12333 	options --iri, --locale and --remote-encoding related to
12334 	IRI support.
12335 
12336 	* doc/sample.wgetrc : Add commented lines for the three new
12337 	command iri, locale and encoding related to IRI support.
12338 
12339 2008-08-03  Steven Schubiger  <stsc@members.fsf.org>
12340 
12341 	* src/url.c, url.h (url_error): Better messages for unsupported
12342 	schemes, especially https.
12343 
12344 	* src/html-url.c, recur.c, retr.c: Adjust to new url_error
12345 	invocation, and free result.
12346 
12347 2008-08-03  Micah Cowan  <micah@cowan.name>
12348 
12349 	* src/main.c (print_help): Added --default-page.
12350 
12351 2008-08-03  Micah Cowan  <micah@cowan.name>
12352 
12353 	* src/build_info.c, css-url.c: #include wget.h, not config.h.
12354 
12355 2008-08-03  Micah Cowan  <micah@cowan.name>
12356 
12357 	* doc/wget.texi: Don't set UPDATED; already set by version.texi.
12358 	(HTTP Options): Add --default-page option.
12359 
12360 2008-08-01  Joao Ferreira  <joao@joaoff.com>
12361 
12362 	* src/init.c, main.c, options.h, url.c: Added option --default-page
12363 	to support alternative default names for index.html
12364 
12365 2008-08-01  Joao Ferreira  <joao@joaoff.com>
12366 
12367 	* NEWS: Added option --default-page to support alternative
12368 	default names for index.html
12369 
12370 2008-07-17  Steven Schubiger  <stsc@members.fsf.org>
12371 
12372 	* src/retr.c (retrieve_from_file): When given an URL as input file,
12373 	use it as baseref if none was specified and treat the input file
12374 	as HTML if its content type is text/html.
12375 
12376 	* src/init.c (cleanup): Free the memory associated with the base
12377 	option (when DEBUG_MALLOC is defined).
12378 
12379 2008-07-17  Steven Schubiger  <stsc@members.fsf.org>
12380 
12381 	* doc/wget.texi (Logging and Input File Options): Document
12382 	for --input-file and according remote input file URLs, the
12383 	implicit enforcement of treating a document as HTML and
12384 	the possible baseref assumption.
12385 
12386 2008-07-02  Xavier Saint  <wget@sxav.eu>
12387 
12388 	* src/iri.c, iri.h  : New function idn_decode() to decode ASCII
12389 	encoded hostname to the locale.
12390 
12391 	* src/host.c : Show hostname to be resolved both in locale and
12392 	ASCII encoded.
12393 
12394 2008-06-30  Micah Cowan  <micah@cowan.name>
12395 
12396 	* NEWS: Entries for 1.11.4.
12397 
12398 	* AUTHORS: Added Steven Schubiger.
12399 
12400 2008-06-29  Micah Cowan  <micah@cowan.name>
12401 
12402 	* doc/wget.texi <Contributors>: Added Joao Ferreira, Mike Frysinger,
12403 	Alain, Guibert, Madhusudan Hosaagrahara, Jim Paris, Kenny
12404 	Parnell, Benno Schulenberg, and Pranab Shenoy. Added Steven
12405 	Schubiger to the "Special Thanks" section.
12406 
12407 2008-06-28  Steven Schubiger  <stsc@members.fsf.org>
12408 
12409 	* src/retr.c (retrieve_from_file): Allow for reading the links from
12410 	an external file (HTTP/FTP).
12411 
12412 2008-06-26  Xavier Saint  <wget@sxav.eu>
12413 
12414 	* src/iri.c, iri.h : New functions locale_to_utf8() and
12415 	idn_encode() adding basic capabilities of IRI/IDN.
12416 
12417 	* src/url.c : Convert URLs from locale to UTF-8 allowing a basic
12418 	support of IRI/IDN
12419 
12420 2008-06-26  Xavier Saint  <wget@sxav.eu>
12421 
12422 	* configure.ac : IRIs support required libiconv, check it.
12423 
12424 2008-06-25  Steven Schubiger  <stsc@members.fsf.org>
12425 
12426 	* src/ftp.c (getftp): When spidering a FTP URL, emit a diagnostic
12427 	message if the remote file exists.
12428 
12429 2008-06-24  Steven Schubiger  <stsc@members.fsf.org>
12430 
12431 	* src/http.c (http_loop): Replace escnonprint() occurence with
12432 	a quotearg_style() call.
12433 
12434 2008-06-24  Micah Cowan  <micah@cowan.name>
12435 
12436 	* src/ftp-ls.c (ftp_index): Don't assume time_t* is compatible with
12437 	long*. Fixes crash on Windows, and probably other systems.
12438 
12439 2008-06-22  Steven Schubiger  <stsc@members.fsf.org>
12440 
12441 	* src/http.c: Explicitly initialize and deallocate the message
12442 	string used by the -nv --spider functionality.
12443 
12444 2008-06-22  Steven Schubiger  <schubiger@gmail.com>
12445 
12446 	* src/http.c: Make -nv --spider include the file's name when it
12447 	exists.
12448 
12449 2008-06-22  Micah Cowan  <micah@cowan.name>
12450 
12451 	* tests/Test-proxied-https-auth.px: Shift exit code so it falls in the
12452 	lower bits, and actually fails when it should. Use dynamic port,
12453 	instead of static port. Only run the test if our Wget was built
12454 	with HTTPS support.
12455 
12456 	* tests/certs/server-cert.pem, certs/server-key.pem: Apparently failed
12457 	to add these from 1.11.x repo. Fixed.
12458 
12459 2008-06-22  Micah Cowan  <micah@cowan.name>
12460 
12461 	* src/Makefile.am (version.c): Fixed version string invocation so it
12462 	once again can't result in unterminated strings, made all the
12463 	string vars pointers-to-const, and moved line lengths
12464 	below 80 (in Makefile.am, not in version.c).
12465 
12466 2008-06-19  Xavier Saint  <wget@sxav.eu>
12467 
12468 	* src/iri.c, iri.h : New function check_encoding_name() as
12469 	a preliminary encoding name check.
12470 
12471 	* src/main.c, iri.c : Make use of check_encoding_name().
12472 
12473 2008-06-19  Xavier Saint  <wget@sxav.eu>
12474 
12475 	* src/iri.c, iri.h : Add a new function find_locale() to find
12476 	out the local system encoding.
12477 
12478 	* src/main.c : Make use of find_locale().
12479 
12480 2008-06-19  Xavier Saint  <wget@sxav.eu>
12481 
12482 	* src/iri.c : Include missing stringprep.h file and add a
12483 	cast.
12484 
12485 	* src/init.c : set a default initial value for opt.enable_iri,
12486 	opt.locale and opt.encoding_remote.
12487 
12488 2008-06-19  Xavier Saint  <wget@sxav.eu>
12489 
12490 	* src/html-url.c : Add "content-type" meta tag parsing for
12491 	retrieving page encoding.
12492 
12493 	* src/iri.h : Make no-op version of parse_charset() return
12494 	NULL.
12495 
12496 2008-06-16  Micah Cowan  <micah@cowan.name>
12497 
12498 	* src/http.c (http_loop): When hstat.len is higher than the
12499 	successfully completed content's length, but it's because we
12500 	_set_ it that way, don't abort.
12501 
12502 2008-06-14  Xavier Saint  <wget@sxav.eu>
12503 
12504 	* src/iri.c, iri.h : New files.
12505 
12506 	* src/Makefile.am : Add files iri.h and conditional iri.c.
12507 
12508 	* src/build_info.c : Add compiled feature "iri".
12509 
12510 	* src/http.c : include iri.h and parse charset from Content-Type
12511 	header.
12512 
12513 	* src/init.c, main.c, options.h : if an options isn't supported
12514 	at compiled time, don't get rid off it and show a dummy
12515 	message instead if they are used.
12516 
12517 2008-06-14  Xavier Saint  <wget@sxav.eu>
12518 
12519 	* configure.ac: Add support for IRIs
12520 
12521 2008-06-13  Micah Cowan  <micah@cowan.name>
12522 
12523 	* src/build_info.c: ENABLE_NTLM, not HAVE_NTLM; distinguish OpenSSL
12524 	from "ssl".
12525 
12526 2008-06-13  Micah Cowan  <micah@cowan.name>
12527 
12528 	* doc/wget.texi (Mailing List): The wget-notify mailing list no longer
12529 	receives commit notifications from the source repository.
12530 	(Internet Relay Chat): Activity isn't quite so low any more,
12531 	remove notice to that effect.
12532 
12533 2008-06-13  Madhusudan Hosaagrahara <com.gmail.hrmadhu>
12534 
12535 	* src/Makefile.am, main.c, init.c, init.h, build_info.c: Adds build
12536 	information to the --version command line option. Fixes bug
12537 	#20636.
12538 
12539 2008-06-12  Micah Cowan  <micah@cowan.name>
12540 
12541 	* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
12542 	Test--no-content-disposition-trivial.px,
12543 	Test--no-content-disposition.px, Test--spider-fail.px,
12544 	Test--spider-r--no-content-disposition-trivial.px,
12545 	Test--spider-r--no-content-disposition.px,
12546 	Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
12547 	Test--spider.px, Test-E-k-K.px, Test-E-k.px,
12548 	Test-HTTP-Content-Disposition-1.px,
12549 	Test-HTTP-Content-Disposition-2.px,
12550 	Test-HTTP-Content-Disposition.px,
12551 	Test-N--no-content-disposition-trivial.px,
12552 	Test-N--no-content-disposition.px,
12553 	Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
12554 	Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
12555 	Test-O--no-content-disposition-trivial.px,
12556 	Test-O--no-content-disposition.px,
12557 	Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
12558 	Test-O.px, Test-Restrict-Lowercase.px,