- 11 Jan, 2018 13 commits
-
-
Tim Rühsen authored
-
Tim Rühsen authored
-
Tim Rühsen authored
* configure.ac: Add -Wno-assign-enum -Wno-unreachable-code to gnulib warnings * libwget/thread.c: Add #pragmas to silence warnings from gnulib includes * libwget/utils.c: Likewise * src/log.c: Likewise * src/wget.c: Likewise * src/bar.c: Make _terminate_thread static * tests/test-gpg-styles.c: Make urls static
-
Tim Rühsen authored
-
Tim Rühsen authored
* libwget/*.c: Likewise * src/*.c: Likewise * po/POTFILES.in: Add source files
-
Tim Rühsen authored
* Makefile.am: Remove data/ from SUBDIRS * configure.ac: Remove data/Makefile from AC_CONFIG_FILES * tests/Makefile.am: Remove WGET_DATADIR from DEFS * unit-tests/Makefile.am: Likewise * data/effective_tld_names.dat: Move to unit-tests/files/public_suffix_list.dat and update from upstream * unit-tests/test.c (test_cookies): Use public_suffix_list.dat
-
Tim Rühsen authored
-
Tim Rühsen authored
-
Tim Rühsen authored
* Makefile.am: Add README.md to EXTRA_DIST * configure.ac: Generate conditionals WITH_DOXYGEN and WITH_PANDOC * docs/Makefile.am: Use conditionals for building
-
Tim Rühsen authored
* configure.ac: Check for pandoc * docs/Makefile.am: Use $(PANDOC) * docs/wget2_md2man.sh.in: Use $PANDOC shell variable
-
Tim Rühsen authored
* Makefile.am: Convert .md to .texi and .info * mainpage.md: Rename wget2_manual.md to wget2.md * wget2_manual.md: Renamed to wget2.md
-
Darshit Shah authored
-
Tim Rühsen authored
* .gitignore: Add auto-generated docs/wget2_md2man * README.md: Add pandoc * configure.ac: Generate docs/wget2_md2man * docs/Makefile.am: Build wget2.1 * docs/wget2_manual.md: Fix things for a better man page experience * docs/wget2_md2man.sh.in: Template file for docs/wget2_md2man
-
- 10 Jan, 2018 4 commits
-
-
Tim Rühsen authored
-
Tim Rühsen authored
* src/stats.c: Add _() around static text * src/wget.c: Likewise
-
Tim Rühsen authored
-
Neil Locketz authored
* src/stats.c: Site stats output contains relevant GPG signature information * stc/wget.c: Now exits with just a generic GPG error if any sigs fail validation. More information presented in --site-stats output. * src/wget_host.h: Added signature information to DOC struct. * src/wget_options.h: Removed old exit codes in favor of single GPG error exit code. * tests/Makefile.am: Added test-gpg-bad to Makefile * tests/gpg/helloworld.txt.bad.sig: A corrupted signature (I just deleted a byte somewhere) * tests/test-gpg-bad.c: A test for a bad (corrupted) signature. * tests/test-gpg-invalid.c: Changed exit code to the single GPG error exit code.
-
- 09 Jan, 2018 2 commits
-
-
Tim Rühsen authored
* libwget/dns_cache.c: Likewise
-
Tim Rühsen authored
* include/wget/wget.h: Add missing wget_dns_cache declarations * libwget/Makefile.am: Add dns_cache.c * libwget/dns_cache.c: New file * libwget/net.c: Remove DNS chaching code
-
- 06 Jan, 2018 3 commits
-
-
Tim Rühsen authored
* .gitlab-ci.yml: Test without multi-threading * pthread_sigmask.c.mingw: New file with patch for MinGW Wine/MinGW seems to have a multi-threadign issue (sometimes hangs). Disabling threads using ./configure --disable-threads needs a change in gnulib. It has been reported, but not worked on currently. So we provide our own solution.
-
Tim Rühsen authored
-
Tim Rühsen authored
-
- 04 Jan, 2018 6 commits
-
-
Darshit Shah authored
-
Darshit Shah authored
-
Darshit Shah authored
-
Darshit Shah authored
* src/wget_options.h: Define a new option, --signature-extension * src/options.c: Guard the SECTION_GPG in help_section_t with ifdef's. Set new option as a string and give it a default value * src/wget.c(process_response): Use the value in config.sig_ext to decide the extension of the signature file * tests/Makefile.am: Add new tests to Makefile * tests/test-gpg-styles.c: New test file
-
Darshit Shah authored
-
Darshit Shah authored
-
- 03 Jan, 2018 3 commits
-
-
Tim Rühsen authored
* libwget/thread.c: Fix wget_thread_start() and wget_thread_join() * src/wget.c: Fix typo * tests/libtest.c: Don't skip tests when multi-threading is disabled
-
Tim Rühsen authored
* configure.ac: Check for dlsym and introduce $FUZZ_LIBS * fuzz/Makefile.am: Use $FUZZ_LIBS instead of $LIBS
-
Tim Rühsen authored
-
- 02 Jan, 2018 2 commits
-
-
Tim Rühsen authored
* tests/Makefile.am: Add test--filter-mime-type * tests/test--filter-mime-type.c: New test
-
DalmeGNU authored
* src/wget.c: Add mime type check before downloading a file * src/options.c: Add --filter-mime-type option * src/wget_options.h: Add mime_types to the config structure * docs/wget2_manual.md: Add documentation related to the new option
-
- 01 Jan, 2018 4 commits
-
-
Darshit Shah authored
* src/wget.c(process_response): Remove some info_printf statements. They are printed from gpgme now * src/gpgme.c: Pass the filename of the signature file (if any) ad use it to print an error message to the screen. This prevents the double error messages that were printed and works well with the progress bar
-
Neil Locketz authored
* 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
-
Tim Rühsen authored
-
Tim Rühsen authored
-
- 31 Dec, 2017 3 commits
-
-
Tim Rühsen authored
* include/wget/wget.h: Likewise * libwget/vector.c: Likewise
-
Tim Rühsen authored
-
Tim Rühsen authored
* docs/Makefile.am: Add man page * libwget/thread.c: Add documentation
-