* tests/Makefile.am: add tests/test-interrupt-response test
* tests/libtest.c (_callback_interruptable, _answer_to_connection):
add interruptable response callback, enable in wget_test_url_t
settings
* tests/libtest.h: added interrupt_response_mode and
interrupt_response_after_nbytes to wget_test_url_t
* tests/test-interrupt-response.c: add test for interruptable
responses and interrupt of responses while timestamping active
* tests/libtest.h: Add declaration of wget_test_set_executable()
* tests/libtest.c: Add definition of wget_test_set_executable(),
add global variable 'global_executable',
(wget_test): Use 'global_executable' to initialize 'executable',
(wget_test): Use 'executable' if set
* tests/libtest.h: Remove gettext support entirely
* tests/test-iri-subdir.c: Needs the string.h header
* tests/test-limit-rate-http2.c: Same
* tests/test-limit-rate.c: Same
* tests/test-metalink.c: Same
* tests/gpg-test-util.h: Same
* tests/test-gpg-save-failed.c: Same
* tests/test-include-and-exclude-directories.c: Same
* configure.ac: Modified to have check for availability of MHD-http2
* tests/libtest.c: Modified to run both protocols on existing tests
* tests/libtest.h: Added macros for h2 and modified wget_test_url_t data structure
* tests/Makefile.am: Loading post-handshake-auth test
* tests/libtest.c:
Added execution of 'WGET_TEST_POST_HANDSHAKE_AUTH' key.
Value: other than 0 (Check for post handshake authentication)
Value: 0 (Don't check)
* tests/libtest.h: Defined 'WGET_TEST_POST_HANDSHAKE_AUTH'
* tests/test-post-handhshake-auth.c: Added to test post handshake authentication support
* include/wget/wget.h: Likewise
* include/wget/wgetver.h.in: Likewise
* libwget/*.h: Likewise
* src/*.h: Likewise
* tests/libtest.h: Likewise
Header guards should not start with _.
Private headers now reflect the path within the project.
The two public headers reflect the releative install directory.
* src/options.c: Add debug lines, fix exit_status to exit_status_t
* src/wget_options.h: Amend prototype of get_exit_status()
* tests/test--https-enforce-soft2.c: New test
* tests/test--https-enforce-soft3.c: New test
* tests/Makefile.am: Add new tests
* src/wget.c (_fallback_to_http): Skip robotstxt jobs
* tests/libtest.c: New option WGET_TEST_HTTPS_REJECT_CONNECTIONS
for wget_test_start_server()
* bootstrap.conf: Add canonicalize module.
* cfg.mk: Added exclusions to no new line at EOF for binary files used in tests.
* configure.ac: Check for libgpgme
* docs/wget2_manual.md: Added manual entries for --verify-sig, --gnupg-homedir, and new exit codes.
* fuzz/Makefile.am: Amend linker options
* include/wget/wget.h: Add error codes for GPG signature verification.
* po/POTFILES.in: Add new files.
* src/Makefile.am: Add src/gpgme.c and src/wget_gpgme.h
* src/gpgme.c: Using new error codes, and better signature verification failure detection.
* src/job.c (job_free): Free sig_filename
* src/options.c: Add new options --gnupg-homedir and --verify-sig
* src/wget.c: Verify the signature if possible, exit with the proper status code,
print error messages
* src/wget_gpgme.h: Add documentation.
* src/wget_job.h: Extend struct JOB
* src/wget_options.h: Add new status codes, add new members to struct config
* tests/Makefile.am: Added new tests.
* tests/gpg-test-util.h: Common GPG testing functionality (tries to verify a signature, expects exit code ... etc).
* tests/gpg/helloworld.txt: Text that has been signed in the .sig files.
* tests/gpg/helloworld.txt.{invalid,no-pub,missing,trusted}.sig: Signatures on helloworld.txt with properties described by their names.
* tests/gpg/openpgp-revocs.d/*: Revocation certs for the fake "homedir"
* tests/gpg/private-keys-v1.d/*: The not-so-private private keys used to sign the test file.
* tests/gpg/pubring.kbx: Fake gnupg homedir public key ring.
* tests/gpg/test-gpg-*.c: Tests.
* tests/valgrind-supressions: Supress failures due to oddness with GPGME.
* unit-tests/Makefile.am: Add src/gpgme.o to BASE_OBJS
* tests/libtest.{c,h}: Add support for feature flags during test
startup. Check if Wget2 is compiled with the feature and conditionally
SKIP the tests
* tests/test-*.c: Pass the right feature flags for each test. MHD for
HTTP, FTP for FTP, IDN and PLUGIN when applicable
* tests/Makefile.am: Add test 'test-auth-digest'
* tests/libtest.c: Fix HTTP server to handle digest
authentication
* tests/libtest.h: Add opaque for digest authentication
* tests/test-auth-digest.c: Add new test to prove digest
authentication functionality
* include/wget/wget.h: Make library symbol export attribute
((__visibility__)) preceed the function prototype to work on Windows
with MSVC
* tests/libtest.h: Same
Reported-by: Gisle Vanem
* tests/libtest.c: New function wget_test_check_filesystem(),
(_empty_directory, _remove_directory): Do not print
errors about missing directories.
* tests/libtest.h: Add define WGET_TEST_FS_CASEMATTERS
* tests/test--accept.c: Renamed files to avoid casing problems
* tests/test-wget-1.c: Skip casing tests on case-sensitive filesystem