2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Move static wget2.exe to https://gnuwget.gitlab.io/wget2/wget2.exe

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (wget_ssl_open): Silence sc_useless_cpp_parens

2022-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_get_escaped_resource): Fix escaping space in query part
     
     Examples and explanation in https://gitlab.com/gnuwget/wget/-/issues/10

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: mkdir public for static MinGW build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: mkdir /public for static MinGW build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: unset CC for MinGW static

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     i* .gitlab-ci.yml: Fix MinGW static build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Build static wget2.exe
     
     The static exe should be available from
       https://gnuwget.gitlab.io/wget2/wget2-latest.exe

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Only set EXIT_STATUS_NETWORK on error for the try

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for --level
     
     * tests/Makefile.am: Add test-level.c.
     * tests/test-level.c: New file with tests for --level.

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-robots.c (main): Add a test for --no-robots

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_urls): Amend info message

2022-03-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (wget_ssl_open): Check for X509_CHECK_FLAG_NEVER_CHECK_SUBJECT (introduced in OpenSSL >= 1.1)

2022-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable building manylibs by default
     
     * .gitlab-ci.yml: Add --enable-manylibs to Full tests.
     * configure.ac: --disable-manylibs is default.

2022-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Use libwget_libadd for *_LIBADD

2022-03-04 Andreas Hubel <andreas.hubel@br.de>

     * libwget/Makefile.am: Add INTL_MACOSX_LIBS to LIBADDs
     
     Copyright-paperwork-exempt: Yes

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * */Makefile.am: Reorder link libraries (libgnu.la first)

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_help): Fix warning about missing case in switch

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_help): Remove unreachable code

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * gitlab-ci.yml: Switch off git CA verification on FreeBSD globally

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * gitlab-ci.yml: Switch off git CA verification on FreeBSD

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Extend error messages with URL

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Skip sc_indent in 'make syntax-check'

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (print_openssl_time): Use _() around error message

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix storage files in help text and in the docs
     
     * docs/wget2.md: Fix ~/.wget-* to $XDG_DATA_HOME/wget/.wget-*
     * src/options.c: Likewise.

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix copyright statements

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyright year

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns.c (wget_dns_cache_ip): Put '' around host/ip in error message

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -k/--convert-links fragment
     
     * src/wget.c (convert_link_file_only): Use wget_debug_printf instead of wget_info_printf,
       (convert_links): Add fragment.
     * tests/test-k.c: Add fragment to test.

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Properly escape URLs with -k/--convert-links
     
     * src/wget.c (convert_link_whole): Use wget_iri_escape_path() instead of wget_buffer_strcat().
     * tests/test-k.c (main): Add test of URL with query part including escaped characters.

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--*.c: Rename to test-*.c

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix issue reported by scan-build
     
     * include/wget/wget.h: /// -> //.
     * libwget/netrc.c (unescape_password): Check wget_malloc() return against NULL.
     * libwget/xml.c (wget_xml_parse_file): Likewise.

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_cookies): Fix false reporting of a PSL error

2022-02-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --directory-prefix with --content-disposition
     
     * src/blacklist.c (get_local_filename): Remove static from definition.
     * src/wget_blacklist.h (get_local_filename): Add declaration.
     * src/wget.c (process_response): Use get_local_filename() to process
       the filename from Content-Disposition,
       (get_header): Likewise.
     * tests/Makefile.am: Add new test file test-directory-prefix.c.
     * tests/test-directory-prefix.c: New test file.

2022-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow spaces and \ escaping in passwords in .netrc
     
     This is Wget1.x compatible.
     
     * docs/wget2.md: Document the new behavior.
     * libwget/netrc.c (wget_netrc_db_load): Amended the code to allow \ and "".
     * unit-tests/test.c (test_netrc): Add tests.

2022-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (prepare_file): Use wget_strdup instead of wget_asprintf

2022-01-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix obscure Windows (Win11) recv() issue (returns 0 without a reason)
     
     * libwget/http.c (wget_http_get_response_cb): Continue HTTP/2 loop if recv()
       return 0.
     
     Fixes https://github.com/rockdaboot/wget2/issues/256

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Amend debug output [skip ci]

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: Add build instructions for zlib-ng [skip ci]

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: Add build instructions for nghttp2 [skip ci]

2022-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_cookies): Check wget_cookie_db_load_psl() return value

2022-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Unlink output document when --unlink is given

2022-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     WolfSSL: Fix buffer overflow in SHA512 hashing
     
     * libwget/hashfile.c (wget_hash_deinit, WOLFSSL): Include wolfssl/options.h.

2022-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix deflate decompression when server omits the header
     
     * libwget/decompressor.c (gzip_decompress): Retry decompression without header

2022-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Remove -no-whole-archive (due to the previous commit reversion)

2022-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "build: Use -Wl,--no-whole-archive"
     
     This reverts commit acfa50d31c453bca61620306e0aeeb577b4533c0.

2022-01-01 Ander Juaristi <a@juaristi.eus>

     OpenSSL: OCSP: Be more realistic with update times

2022-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update due to busybox sed issue

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use Debian testing for the pages runner

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c: Comment out unneeded code

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_open): Fix memory leak

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Suppress glibc false positive in dynnamic loading

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Add --gen-suppressions=all to valgrind options

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use DEBIAN_TESTING_BUILD for Full+VPATH/Debian

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for unquoted HTML attribute values
     
     * libwget/xml.c (getHTMLValue): New function.
       (getValue): Call getHTMLValue if parsing HTML.
     * tests/test-base.c: Use an unquoted HREF value to trigger the new code.

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (check_ocsp_response): Print issue and update time

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Code cleanup

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (check_ocsp_response): Fix OCSP checks

2021-12-30 Ander Juaristi <a@juaristi.eus>

      * libwget/ssl_openssl.c: Use SHA-1 for OCSP signature

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Continue after OCSP failed other than REVOKED

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (read_ocsp_uri_from_certificate): Free string stack after use

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (read_ocsp_uri_from_certificate): Rewrite implementation of OCSP URI retrieval

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use Debian stable instead of Debian stretch

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (check_cert_chain_for_ocsp): Fix number of ignored OCSP responses

2021-12-30 Ander Juaristi <a@juaristi.eus>

     openssl: Do not check max time in stapled OCSP

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c: Enable debug logs if mkdir() fails, except for errno=EEXIST

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c: Reduce debugging for calls to mkdir()

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Do not treat 'Cannot resolve URI' as error

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Use keep-alive for HTTP/1.1 and higher as default

2021-12-24 Tim Rühsen <tim.ruehsen@gmx.de>

      src/wget.c (nop): Call exit() instead abort() on SIGTERM

2021-12-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (nop): Call exit() instead abort() on 2nd CTRL-C

2021-12-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_create_request): Fix replacing Content-Type: headers

2021-12-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response_header): Fix NULL pointer access

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (iri_unescape_inline): Avoid harmless integer overflow

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid function pointer casts to different type
     
     * libwget/hpkp_db.c (hpkp_save_pin, hpkp_save): Change parameter types.
     * libwget/hsts.c (hsts_save): Likewise.
     * libwget/ocsp.c (ocsp_save_fingerprint, ocsp_save_host): Likewise.
     * libwget/tls_session.c (tls_session_save): Likewise.
     * src/host.c (_search_host_for_free_job): Likewise.

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (ssl_writev): Suppress clang's -Wcast-function-type

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Use sa_handler instead of sa_sigaction
     
     * examples/batch_loader.c (main): Use sa_handler instead of sa_sigaction.
     * examples/check_url_types.c (main): Likewise.
     * src/wget.c (program_init): Likewise.

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Amend warnings for clang 12+ and 13+

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add --disable-full-test-suite to gnutls configure options

2021-11-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Move syntax-check to CI
     
     * .gitlab-ci.yml: Add `make syntax-check` to Full runner.
     * Makefile.am: Remove syntax-check from `make check`.

2021-11-18 Dmitry Marakasov <amdmi3@amdmi3.ru>

     * configure.ac: Fix OpenSSL library name
     
     If pkg-config check fails (which is the case on FreeBSD where system openssl does not have pkgconfig files), check for libssl library instead of incorrect libopenssl.
     
     Copyright-paperwork-exempt: Yes

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Error if xattr have been requested but are not available

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't build with lzma on default

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't build with bzip2 on default

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix fallback to AC_SEARCH_LIBS

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: New script to build a static wget2.exe

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Replace gnutls_free() with free()
     
     I did this after having issues to build a static MinGW Wget2.exe.
     gnutls_free() was not properly exported by libgnutls.a.

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Replace gnutls_free() with free()
     
     I did this after having issues to build a static MinGW Wget2.exe.
     gnutls_free() was not properly exported by libgnutls.a.

2021-10-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Update MinGW build script
     
     * .gitlab-ci.yml: Remove copying pthread_sigmask.c.mingw.
     * contrib/mingw: Update for latest dependency versions.
     * pthread_sigmask.c.mingw: Remove file.

2021-09-28 orbea <orbea@riseup.net>

     contrib: Remove unused libtool patch
     
     After the previous commit it now uses -Wl,--no-whole-archive
     instead of patching libtool in the build system. This is more
     portable for other libtool implementations other than the one
     by GNU.

2021-09-28 orbea <orbea@riseup.net>

     build: Use -Wl,--no-whole-archive
     
     This fixes the build with slibtool which does not have
     -no-whole-archive and avoids having to patch libtool
     in the build system.
     
     Since this is a linker argument and not a libtool argument
     it should be passed explicitly to the linker with -Wl.

2021-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't escape double quotes in AC_MSG_ERROR

2021-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix bashism == in if expression

2021-09-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix --without-lzip

2021-09-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Add contrib/libtool.patch to EXTRA_DIST

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_2.0.0.txt: Add list of noteworthy changes

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/release: Add symlink for latest tarball [skip ci]

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * NEWS: Set date + month of 2.0.0 release

2021-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     NEWS: Prepare for release v2.0.0

2021-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_2.0.0.txt: New file

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Update versions

2021-08-07 Jeffrey Marius <getjff@gmail.com>

     Fix issue #467 Adding wiki as submodule to repo
     
     * bootstrap.conf: Add clone_wiki() and call it from
       bootstrap_post_import_hook().
     
     Signed-off-by: Jeffrey Marius <getjff@gmail.com>

2021-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--page-requisites.c: Add tests for new rel parsing

2021-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix the rel attribute handling for link tags

2021-07-07 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_response_cb): Fix chunked transfer

2020-11-22 Sergei Litvin <litvindev@gmail.com>

     Fix parsing comments in <style> content
     
     * libwget/xml.c: Add new function getStyleContent(),
       (parseXML): Use getStyleContent() instead of getContent(),
       update link in comment.

2021-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_html_url_fuzzer.dict: Add 'data:' to dictionary

2021-05-30 Michael Roosz <michael.roosz@check24.de>

     * libwget/html_url.c (html_get_url): Support data: URL in srcset attribute

2021-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Mention that -P creates the prefix directory

2021-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Free memory in test_parse_header_line()

2021-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix request path escaping
     
     * include/wget/wget.h: Remove function wget_iri_isunreserved_path().
     * libwget/iri.c: Remove function wget_iri_isunreserved_path().
       (iri_ctype): Extend array with unreserved characters.
       (wget_iri_isunreserved): Simplify code.
       (wget_iri_escape): Use macro iri_isunreserved instead of wget_iri_isunreserved().
       (wget_iri_escape_path): Add RFC links to function comment,
       Fix check whether char needs percent-encoding or not,
       Use macro iri_isunreserved instead of wget_iri_isunreserved().

2021-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c: Remove old comment from RFC 2183.

2021-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test case for Content-Disposition
     
     * libwget/http_parse.c: Update comment with BNF of RFC 6266.
     * unit-tests/test.c: Add test for a filename containing space.

2021-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Drop manywarnings and SSL support on FreeBSD CI

2021-02-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Include openssl/asn1.h for ASN1* functions.

2021-02-07 Michael Roosz <michael.roosz@check24.de>

     * src/wget.c (prepare_file): Skip file name filter if config.filter_urls is active

2021-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix building without TLS library
     
     This changes configure semantics to fail if no TLS library
     is found and no --with-ssl=none was explicitly requested.
     It protects users from accidentally building without TLS.
     
     * .gitlab-ci.yml: Tarball build using --with-ssl=none.
     * configure.ac: Stop with error if no TLS was found and --with-ssl
       was not used.
     * tests/libtest.c: Fix issues with conditionally declared variables.

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Allow failure for FreeBSD runner

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix for openssl/clang

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-ocsp-server.c: Skip cert revocation check for WolfSSL

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-post-handshake-auth.c (main.c): Fix warning when building with non-gnutls libraries

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Separate GnuTLS in wget2 and in test suite
     
     * configure.ac: Separate GnuTLS in wget2 and in test suite.
     * tests/libtest.c: Use WITH_GNUTLS_OCSP insteadof WITH_OCSP.

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Improve searching for SSL/TLS libraries

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (get_tls_version): Fix error in case construct for LibreSSL

2021-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-chunked.c: Extend test with hand-crafted chunked pattern

2021-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Remove superfluous space in debug msg

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c (hsts_db_add_entry): Fix possible NULL access

2021-01-24 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_get_response_cb): Fix NULL ptr access

2021-01-24 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_response): Fix buffer overflow

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Detect unresolved AX_ macros

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use noyywrap for AC_PROG_LEX

2020-12-29 Michael Roosz <michael.roosz@check24.de>

     Fixed error log for non-fatal inflate() return code Z_BUF_ERROR
     
     * libwget/decompressor.c (gzip_decompress): Return 0 for Z_BUF_ERROR.

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix for autoconf 2.70

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap: Update from gnulib

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2021-01-22 Darshit Shah <darnir@gnu.org>

     Update copyright year

2021-01-03 Darshit Shah <git@darnir.net>

     Update POTFILES.in

2021-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Michael Heerklotz [skip ci]

2021-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Michael Roosz [skip ci]

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.yml: Remove unneeded packages for Linux

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Small cleanups

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove superfluous 'x' ahead of variables

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix combination of redirections with --retry-on-http-error
     
     * src/wget.c: Move some code logic around.
     * tests/test-interrupt-response.c: Correct expected wget2 exit status.
     * tests/test-redirection.c: Add tests for --retry-on-http-error.
     
     Reported-by: Sergei Litvin

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_version): Print https and ssl properly for OpenSSL and WolfSSL

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Reduce duplicated code in check_status_code_list().
     
     * src/wget.c (check_status_code_list): Call check_statuscode_list().

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Add check_statuscode_list() for readability

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename config.http_retry_on_error to config.retry_on_http_error
     
     * src/options.c (options,deinit): Rename.
     * src/wget.c (downloader_thread): Rename.
     * src/wget_options.h (struct config): Rename.

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Add --tries=1 to wget2 command line

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Sergei Litvin

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Fix warning 'break will never be executed'

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Fix unused variable warning

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use AC_CONFIG_MACRO_DIR only once
     
     This fixes #547 (autotools 2.70 is more restrictive).
     Reported by: Gabriele Balducci

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix clang 11 warnings in WolfSSL code.
     
     * libwget/hashfile.c (wget_hash_fast): Cast size_t to unsigned int.
       (wget_hash): Likewise.
     * libwget/ssl_wolfssl.c (ShowX509): Use XFREE without trailing semicolon.
       (wget_ssl_open): Use 64bit to 32bit casts to pacify clang 11.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * libwget/dns.c (wget_dns_resolve): 'rc' was set but not used.
     * libwget/http.c (wget_http_get_response_cb): 'rc' was set but not used.
     * libwget/net.c (wget_tcp_connect): 'rc' was set but not used.
     * libwget/ssl_gnutls.c (send_ocsp_request): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * examples/batch_loader.c (_normalize_location): 'rc' was set but not used.
     * examples/check_url_types.c (_normalize_location): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * src/job.c (job_validate_file): 'rc' was set but not used.
     * src/options.c (parse_proxy): Fix return value.
     * src/wget.c (input_thread): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * tests/libtest.c (_parse_hostname): Fix += into +.
       (_answer_to_connection): Limit scope of body_len.

2020-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Fix (harmless !?) UB

2020-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-implicit-int-float-conversion for clang >= 11

2020-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix type warnings on 32bit systems
     
     * libwget/http.c (wget_http_get_response_cb): Fix printf format from %lX to %zX.
     * libwget/ssl_openssl.c (wget_ssl_deinit): Fix sesslen to size_t.
     * src/stats_site.c (print_csv_entry): Use %lld and cast to long long.

2020-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Test for bashisms in Debian Testing

2020-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix configure.ac bashisms
     
     Reported-by: Brian Inglis

2020-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Remove python as dependency
     
     /usr/bin/python don't exist here any more. 'python2' and 'python3' do
     exist.

2020-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-10-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix contrib/mingw

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.yml: libunistring0 -> libunistring

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use brew upgrade for Travis CI OSX

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Update Travis CI to bionic

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.sh: Output tail -1000 of test logs

2020-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap.c (wget_hashmap_iterator_next): Fix segfault

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement --download-attr=[strippath|usepath]
     
     * docs/wget2.md: Amend docs.
     * src/options.c: Add parse_download_attr(),
       amend option --download-attr.
     * src/wget.c (queue_url_from_remote): Strip path if
       DOWNLOAD_ATTR_STRIPPATH is set.
     * src/wget_options.h: Add enum download_attr_mode.
     * tests/test-download-attr.c: Test strippath and usepath.

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix indentation, remove leading _ from variable

2020-06-06 Ander Juaristi <a@juaristi.eus>

     Update OCSP responses and certs
     
     tests/certs/ocsp/*: Fix the cert stack for the testing HTTPS+OCSP server.

2020-06-06 Ander Juaristi <a@juaristi.eus>

     libtest: send normal cert chain in OCSP stapling HTTPS server
     
      * tests/libtest.c (_ocsp_stap_cert_callback): rename variable
        'pcert' -> 'certs'.
        (_http_server_start): send normal cert chain in responses.

2020-05-23 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Enable test-ocsp-stap
     
     This commit enables the test `test-ocsp-stap`
     
     It was previously skipped for OpenSSL since OCSP stapling was not
     yet implemented in OpenSSL.
     
     This commit also modifies these tests to pass the --no-ocsp-date flag to
     wget2.
     
      * tests/test-ocsp-stap.c (main): remove ifdef clause; pass
        --no-ocsp-date flag.

2020-05-09 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Implement OCSP stapling
     
     * libwget/ssl_openssl.c (ocsp_resp_cb): new function: stapled OCSP
       response callback.
       (check_ocsp_response): do not check OCSP nonce here.
       (verify_ocsp): check OCSP nonce here.
       (openssl_init): set stapled OCSP callback function, ocsp_resp_cb.
       (openssl_open): send status_request extension in handshake.
     * tests/libtest.c (_http_server_start): Fix callback macro

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Create /usr/bin/python before bootstrap

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix MHD 0.97.1 ABI/API breakage

2020-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Fix spelling

2020-06-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix crash introduced in fa3c71c85

2020-05-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c (zstd_decompress): Avoid calls to sink with 0 length
     
     Calls to sink() with length == 0 made -S output the header several times when
     Content-Encoding was zstd.

2020-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_init): Add debug msgs regarding system cert store

2020-04-26 huangzsh7 <huangzsh7@gmail.com>

     Delete obsolete code comment
     
     * src/wget.c (test_modify_hsts): Delete obsolete code comment

2020-04-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove CR and LF from URLs
     
     * libwget/iri.c (iri_unescape_inline): Remove CR/LF from URL.
     * tests/test-base.c: Add CR+LF into URL.
     
     References
     https://gitlab.com/gnuwget/wget2/-/issues/522

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Create test cases
     
     * tests/test-wget-1.c (main): Create test cases for --chunk-size with --progress

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Add name in AUTHORS for CommitCheck

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Fix segmentation faults when chunk-size and progress=bar are present
     
     * src/wget.c (http_send_request): Keep the received response header when use chunk-size and progress=bar

2020-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix warning when converting void * to function pointer
     
     * unit-tests/test-dl.c (test_fn_check): Add #pragma to suppress
       -pedantic when converting void * to function pointer.
     
     POSIX requires a conversion from 'void *' into a function pointer to work.
     But -pedantic throws 'ISO C forbids conversion of object pointer to function
     pointer type'.

2020-04-11 Andreas Schwab <schwab@suse.de>

     Fix strict aliasing violation
