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
     
     * unit-tests/test-dl.c (test_fn_check): Avoid strict aliasing
     violation.

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

     Fix undefined behaviour in test_buffer_printf
     
     * unit-tests/test.c (test_buffer_printf): Cast argument to printf
     function to correct type.

2020-03-25 Ander Juaristi <a@juaristi.eus>

     test-ocsp-stap: Skip
     
     OCSP stapling is not yet supported in OpenSSL.
     
      * tests/test-ocsp-stap.c (main): skip this test in OpenSSL

2020-01-12 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Update stats
     
      * libwget/ssl_openssl.c (openssl_revocation_check_fn): update stats
        (wget_ssl_open): update stats

2019-09-16 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Add OCSP support
     
      * libwget/ssl_gnutls.c: replace _config with config
      * libwget/ssl_openssl.c (wget_ssl_set_config_int): new options
        WGET_SSL_OCSP_NONCE and WGET_SSL_OCSP_DATE.
        (openssl_revocation_check_fn): implement OCSP in the OpenSSL backend,
        and update stats
        (ssl_set_alpn_selected_protocol): update stats
        (verify_hpkp): update stats
        (wget_ssl_open): update stats

2019-10-19 Ander Juaristi <a@juaristi.eus>

     Include serverAuth extension in OCSP certificates
     
     Since the OCSP tests use the same certificate chain for both the OCSP server and
     the HTTPS server, the 'serverAuth' flags needs to be added, in addition to the OCSP flags.
     
     OpenSSL will refuse to run a TLS handshake for HTTPS if that flag is not present.
     
      * tests/certs/ocsp/demoCA/*, tests/certs/ocsp/*.pem: change testing certificates
      * tests/certs/ocsp/ocsp_resp_revoked.der,
        tests/certs/ocsp/ocsp_stapled_resp.der
        tests/certs/ocsp/ocsp_resp_ok.der: update OCSP responses to contain
        the new certificates
      * tests/certs/ocsp/interm.cnf: add the serverAuth extension
      * tests/certs/ocsp/root-template.txt: likewise

2019-09-16 Ander Juaristi <a@juaristi.eus>

     Adapt configure.ac to support multiple SSL/TLS backends
     
     This patch modifies `configure.ac` to support GnuTLS, OpenSSL and wolfSSL as the SSL/TLS backends.
     
     Either of these can be enabled at compile time the `configure` switch `--with-ssl`. Example:
     
         ./configure --with-ssl=openssl
     
     If `--with-ssl` is omitted, the default behavior will be to build with GnuTLS if available, and without
     TLS if not. TLS can be explicitly disabled with `--without-ssl`.
     
     Regardless of which specific backend has been selected, the TLS and OCSP tests will always be built with GnuTLS,
     as that is the only backend currently supported in the test suite.
     
     It renames the constant `HAVE_GNUTLS_OCSP_H` to a more generic `WITH_OCSP`, that captures
     the notion that OCSP has been enabled at compile-time, hiding the specific backend.
     
     Changed files
     
      * configure.ac: honor --with-ssl option, but keep on testing for GnuTLS
        for the test suite.
      * libwget/ssl_gnutls.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP
      * libwget/ssl_openssl.c: likewise
      * tests/libtest.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP.
        Check for WITH_GNUTLS_IN_TESTSUITE.

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

     * src/wget.c: Remove undefining FILE_SYSTEM_PREFIX_LEN

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

     * gnulib: Update

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

     * libwget/dns_cache.c (wget_dns_cache_add): Fix bitwise to logical OR (cppcheck)

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

     * include/wget/wget.h (wget_hsts_host_match_fn): Fix argument names (cppcheck)

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

     * src/wget.c: Work around redundant define in gnulib

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

     * libwget/net.c (struct _stats_data_t): Remove unused struct

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

     * libwget/metalink.c (add_mirror): Code cleanup

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

     * libwget/metalink.c (metalink_parse): Check return value of wget_strmemcpy_a

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

     * libwget/html_url.c (html_get_url): Check return value of wget_strmemcpy_a

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

     * libwget/net.c (wget_tcp_set_bind_address): Simplify code

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

     * src/options.c (options): Fix indentation and alignment

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

     Fix indentation for some tests
     
     * tests/test-parse-css.c: Fix indentation.
     * tests/test-parse-html-css.c: Likewise.
     * tests/test-parse-rss.c: Likewise.

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

     Add tests for --download-attr
     
     * tests/Makefile.am: Add tests/test-download-attr.c.
     * tests/test-download-attr.c: New file.

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

     Add new option --download-attr
     
     * src/options.c (options): Add new option --download-attr.
     * src/wget.c (html_parse): Check for config.download_attr.
     * src/wget_options.h (struct config): Add new member download_attr.

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

     Implement HTML download attribute
     
     * bootstrap.conf: Add gnulib module 'filename'.
     * src/blacklist.c (get_local_filename_real): Remove const from return type.
       (get_local_filename): Likewise.
     * src/wget.c: Include "filename.h".
       (queue_url_from_remote): Add param 'download_name'.
       (queue_url_from_remote): Change local filename to that given by 'download' tag.
       (html_parse): Create C string from 'download' value.
     * src/wget_blacklist.h (blacklist_entry): Remove const from local_filename.

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

     Parse HTML download attribute
     
     * examples/print_html_urls.c: Print download attribute.
     * include/wget/wget.h (wget_html_parsed_url): Add download member.
     * libwget/html_url.c (html_get_url): Parse download attribute.

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

     * libwget/http.c (wget_http_send_request): Fix unused variable without WITH_LIBNGHTTP2

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

     * libwget/http.c: Implement data upload for HTTP/2

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

     * libwget/printf.c (wget_vsnprintf): Fix size in call to wget_buffer_init

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

     * libwget/xml.c (parseXML): Remove use of VLA

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

     * libwget/ssl_wolfssl.c (wget_ssl_open): Safer code with wget_strmemcpy_a

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

     * libwget/printf.c (wget_printf): Optimize code

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

     * libwget/net.c (wget_tcp_set_bind_address): Safer code with wget_strmemcpy_a

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

     * libwget/metalink.c (add_mirror): Safer code with wget_strmemcpy_a

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

     * libwget/http.c (parse_proxies): Safer code with wget_strmemcpy

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

     * libwget/html_url.c (html_get_url): Simplify code with wget_strmemcpy_a

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

     * tests/valgrind-suppressions: Add GnuTLS suppression

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

     * src/wget.c (sitemap_parse_text): Simplify code by using wget_strmemcpy_a

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

     * src/options.c (struct optionw): Use fixed length for long_name
     
     This reduces reallocations in the executable, reducing size by ~4k (stripped).

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

     Add new function wget_strmemcpy_a
     
     * include/wget/wget.h: Add prototype of wget_strmemcpy_a.
     * src/mem.c: Implement wget_strmemcpy_a.
     * libwget/http_parse.c (wget_http_parse_header_line): Use wget_strmemcpy_a.
     * src/utils.c (mkdir_path): Likewise.

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

     Let wget_strmemcpy return the number of copied bytes
     
     * include/wget/wget.h: Set return type of wget_strmemcpy to size_t.
     * libwget/mem.c (wget_strmemcpy): Return length of destination string.
     * unit-tests/test.c: Amend tests of wget_strmemcpy.

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

     * .gitlab-ci.yml (Scan-Build/Debian): Do not use security checker
     
     The security checker complains about not using the C11 _s functions.
     We don't want to use them, see also
     http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1969.htm

2019-12-09 Suhas K S <suhasks123@gmail.com>

     Add option --bind-interface
     
     * libwget/net.h (wget_tcp_st): New variable
       const char *bind_interface.
     * libwget/net.c: Add function wget_tcp_bind_interface().
       (set_socket_options): Add parameter wget_tcp *tcp and
       implement binding of tcp to bind_interface.
     * libwget/init.c (wget_global_init): Call wget_tcp_bind_interface().
     * include/wget/wget.h: Add wget_tcp_bind_interface() and
       WGET_BIND_INTERFACE.
     * src/options.c: Add --bind-interface handling.
       (init): Call wget_tcp_bind_interface().
     * src/wget2_options.h (config): Add const char *bind_interface.
     * docs/wget2.md: Add documentation for --bind-interface.
     
     This finishes task #430

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

     tests/valgrind-suppressions: Add GnuTLS suppression

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

     Amend docs regarding -q -O- [skip ci]

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

     New configure switch --disable-manylibs
     
     * NEWS: Add --disable-manylibs
     * configure.ac: Implement --disable-manylibs
     * libwget/Makefile.am: Likewise
     
     This switches off building small libraries from libwget functionality groups.

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

     Generate library libwget_decompress
     
     * libwget/Makefile.am: Add libwget_decompress.la
     * libwget/test_linking_compress.c: New file

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

     Generate library libwget_netrc
     
     * libwget/Makefile.am: Add libwget_netrc.la
     * libwget/test_linking_netrc.c: New file

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

     Generate library libwget_metalink
     
     * libwget/Makefile.am: Add libwget_metalink.la
     * libwget/test_linking_metalink.c: New file

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

     Generate library libwget_xml
     
     * libwget/Makefile.am: Add libwget_xml.la
     * libwget/test_linking_xml.c: New file

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

     Generate library libwget_http_parse
     
     * libwget/Makefile.am: Add libwget_http_parse.la
     * libwget/test_linking_htp_parse.c: New file

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

     Generate library libwget_tls_session
     
     * libwget/Makefile.am: Add libwget_tls_session.la
     * libwget/test_linking_tls_session.c: New file

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

     Generate library libwget_ocsp
     
     * libwget/Makefile.am: Add libwget_ocsp.la
     * libwget/test_linking_ocsp.c: New file

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

     Generate library libwget_hsts
     
     * libwget/Makefile.am: Add libwget_hsts.la
     * libwget/test_linking_hsts.c: New file

2019-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_robots
     
     * libwget/Makefile.am: Add libwget_robots.la

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_dns
     
     * libwget/Makefile.am: Add libwget_dns.la
     * libwget/test_linking_dns.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_dnscache
     
     * libwget/Makefile.am: Add libwget_dnscache.la
     * libwget/test_linking_dnscache.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_logger
     
     * libwget/Makefile.am: Add libwget_logger.la
     * libwget/test_linking_logger.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_hpkp_db
     
     * libwget/Makefile.am: Add libwget_hpkp_db.la
     * libwget/test_linking_hpkp_db.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_hashfile
     
     * libwget/Makefile.am: Add libwget_hashfile.la
     * libwget/test_linking_hashfile.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_io
     
     * libwget/Makefile.am: Add libwget_io.la
     * libwget/test_linking_io.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_progress
     
     * libwget/Makefile.am: Add libwget_progress.la
     * libwget/test_linking_progress.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_thread
     
     * libwget/Makefile.am: Add libwget_thread.la
     * libwget/test_linking_thread.c: New file

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_css
     
     * libwget/Makefile.am: Add libwget_css.la
     * libwget/test_linking_css.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_iri
     
     * libwget/Makefile.am: Add libwget_iri.la
     * libwget/test_linking_iri.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_encoding
     
     * libwget/Makefile.am: Add libwget_encoding.la
     * libwget/test_linking_encoding.c: New file

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_common
     
     * libwget/Makefile.am: Add libwget_common.la
     * libwget/test_linking_common.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_ip
     
     * libwget/Makefile.am: Add libwget_ip.la

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_alloc
     
     * libwget/Makefile.am: Add libwget_alloc.la

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

     Patch libtool to add -no-whole-archive
     
     * cfg.mk: Exclude contrib/libtool.patch from 'make syntax-check'
     * configure.ac: Patch libtool
     * contrib/libtool.patch: New file
     * lib/Makefile.am: Unset $LIBS
     * libwget/Makefile.am: Use -no-whole-archive
     
     This patch keeps the libwget libraries short by not adding
     *everything* from lib/libgnu.a.

2020-02-12 Rohan Fletcher <rohfle@gmail.com>

     Skip HTTP/2 testing for test-interrupt-response
     
     * tests/test-interrupt-response.c: Set WGET_TEST_SKIP_H2

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

     * README.md: Fix badge for Build Status [skip ci]

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

     Build own badges for coverage and fuzz-coverage
     
     * contrib/make-coverage-badge: Add script to create badges
     * .gitlab-ci.yml: Create coverage and fuzz-covrage badges
     * README.md: Display badges

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

     * fuzz/*_fuzer.in/*: Update OSS-Fuzz corpora from upstream

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

     * fuzz/Makefile.am: Remove -all-static from AM_LDFLAGS

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

     * fuzz/README.md: Update docs

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

     * .gitlab-ci.yml: Add 'linux' to 'tags:'

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

