1. 19 Dec, 2018 1 commit
  2. 14 Aug, 2018 2 commits
  3. 12 Aug, 2018 1 commit
  4. 30 Apr, 2018 1 commit
  5. 06 Feb, 2018 1 commit
  6. 29 Jan, 2018 1 commit
    • Tim Rühsen's avatar
      Fix testing options · 0fc81a09
      Tim Rühsen authored
      * Makefile.am: Add wget2 executable from builddir
      * contrib/check_options: Use given command line arguments
      0fc81a09
  7. 13 Jan, 2018 1 commit
    • Tim Rühsen's avatar
      Fix option checking · 238f4df1
      Tim Rühsen authored
      * Makefile.am: Add contrib/check_options to EXTRA_DIST
      * contrib/check_options: Fix paths
      238f4df1
  8. 12 Jan, 2018 1 commit
  9. 11 Jan, 2018 2 commits
    • Tim Rühsen's avatar
      Remove data/ directory · 8e7dec5f
      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
      8e7dec5f
    • Tim Rühsen's avatar
      Fix building docs · 2f24a81c
      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
      2f24a81c
  10. 26 Oct, 2017 1 commit
    • Tim Rühsen's avatar
      Add wget_options_fuzzer · f7e4c130
      Tim Rühsen authored
      * Makefile.am: Fix make target 'fuzz-coverage'
      * configure.ac: Enable building static library by default,
        add option --enable-fuzzing
      * fuzz/Makefile.am: Add wget_options_fuzzer,
        check for FUZZING (set with --enable-fuzzing)
      * fuzz/README.md: Amend the text
      * fuzz/main.c: Use printf() instead of wget_info_printf()
      * fuzz/run-clang.sh: Use fuzzer binaries built by 'make'
      * fuzz/wget_options_fuzzer.c: New fuzzer
      * fuzz/wget_options_fuzzer.dict: New fuzzer dictionary
      * fuzz/wget_options_fuzzer.in/*: Initial fuzz corpora
      * libwget/net.c: Skip IP address resolution when fuzzing
      * src/log.c: Don't create files when fuzzing,
        don't print to console when fuzzing
      * src/options.c: Add set_exit_status() and get_exit_status(),
        don't print --help / --version to console when fuzzing,
        do not call exit() - return error instead,
        fix recursion level in _read_config(),
        don't create files when fuzzing,
        fix memory leaks in deinit()
      * src/stats.c: Don't create files when fuzzing
      * src/wget.c: Remove set_exit_status()
      * src/wget_main.h: Remove exit_status_t
      * src/wget_options.h: Add exit_status_t
      * tests/test-plugin.c: Fix expected exit codes from 1 to 2
      
      This is for application fuzzing (namely code from src/).
      The code in src/ had to be prepared in certain ways, but it
      doesn't add significant overhead, even makes the code cleaner
      in some ways. Several of these changes have already been committed
      into the master branch.
      f7e4c130
  11. 18 Sep, 2017 1 commit
  12. 22 Jun, 2017 2 commits
    • Tim Rühsen's avatar
      Enhance creating of libwget/css_tokenizer.c · 3b7f2668
      Tim Rühsen authored
      * Makefile.am: Remove '<stdout>' special handling in coverage rules
      * libwget/Makefile.am: Generate css_tokenizer.c with proper automake
        macros, prepend include line using sed.
      3b7f2668
    • Tim Rühsen's avatar
      Let CI create online fuzz coverage report · 06f7f00d
      Tim Rühsen authored
      * .gitlab-ci.yml: Place fuzz coverage report in public area
      * Makefile.am: Use 'make check' in fuzz directory
      * README.md: Add link to fuzz coverage report
      * fuzz/Makefile.am: Remove make target 'fuzz-coverage'
      * fuzz/coverage.sh: Remove file
      06f7f00d
  13. 02 Jun, 2017 1 commit
    • Tim Rühsen's avatar
      Use fuzz targets as unit tests for 'make check' · 68fd51e5
      Tim Rühsen authored
      * Makefile.am: Add 'fuzz' directory to SUBDIRS,
        tune 'fuzz-coverage' make target,
        print info on how to view coverage report.
      * configure.ac: Add AC_PROG_CXX for C++ code in fuzz/
      * fuzz/Makefile: Removed
      * fuzz/Makefile.am: New file
      * fuzz/libwget_bar_fuzzer.cc: Fix memleak
      * fuzz/main.c: Add code for unit testing
      
      The OSS-Fuzz targets will now be taken for unit testing as well.
      
      That is, they will be tested by 'make check' including our sanitizer
      and valgrind checks. The fuzz tests will be run once with each test
      corpus from the corresponding '.in' directory.
      
      A 'make fuzz-coverage' generates a coverage report for running all
      fuzz targets against their corpora.
      68fd51e5
  14. 01 Jun, 2017 1 commit
    • Tim Rühsen's avatar
      Add make target 'fuzz-coverage' · 7633bc98
      Tim Rühsen authored
      * Makefile.am: Add target 'fuzz-coverage' to generate a coverage
        report for fuzz targets.
      * fuzz/Makefile: Add target 'fuzz-coverage'
      * fuzz/coverage.sh: New script to call a fuzz target with each corpus.
      * fuzz/libwget_metalink_parse_fuzzer.cc: Add check for max input length.
      * fuzz/libwget_xml_parse_buffer_fuzzer.cc: Likewise
      * fuzz/libwget_robots_parse_fuzzer.cc: Add comment
      * fuzz/libwget_robots_parse_fuzzer.in/user_agent2: Amend for max coverage
      * fuzz/main.c: selfmade __AFL_LOOP() returns 0 after first invocation.
      * fuzz/libwget_memtohex.in: Rename to fuzz/libwget_memtohex_fuzzer.in
      * fuzz/libwget_metalink_parse.in: Rename to fuzz/libwget_metalink_parse_fuzzer.in
      * fuzz/libwget_robots_parse.in: Rename to fuzz/libwget_robots_parse_fuzzer.in
      * fuzz/libwget_xml_parse_buffer.in: Rename to fuzz/libwget_xml_parse_buffer_fuzzer.in
      * fuzz/libwget_xml_parse_buffer.options: Removed
      * fuzz/libwget_metalink_parse_fuzzer.options: Removed
      7633bc98
  15. 31 May, 2017 1 commit
    • Tim Rühsen's avatar
      Move unit tests from tests/ to unit-tests/ · fa600c4f
      Tim Rühsen authored
      * Makefile.am: Add unit-tests
      * cfg.mk: Make syntax-check work with unit-tests/
      * configure.ac: Add unit-tests/Makefile
      * tests/Makefile.am: Remove unit tests
      * unit-tests/Makefile.am: New file with unit test rules
      * unit-tests/*.c: Moved from tests/
      * unit-tests/files: Moved from tests/
      
      unit-tests/ is for library/API unit testing.
      tests/ is for testing wget2 utility.
      fa600c4f
  16. 15 May, 2017 1 commit
  17. 29 Apr, 2017 1 commit
  18. 11 Apr, 2017 1 commit
  19. 10 Apr, 2017 1 commit
  20. 21 Feb, 2017 1 commit
  21. 07 Oct, 2016 1 commit
    • Darshit Shah's avatar
      Improved testing on Travis · 2da0ad63
      Darshit Shah authored
      * .travis.sh: Rewrite for clarity and speed. Testing shows that valgrind
      and ASan don't play well together. So split their executions.
      * .travis.yml: Enable ccache for builds. Also try to update libc6 if
      possible
      * .travis.yml: Do not run on OSX with CC=gcc. This is because on OSX,
      gcc is only a wrapper around clang.
      * .travis_setup.sh: Cosmetic changes only
      * Makefile.am (check-coverage): Explcicitly disable valgrind tests when
      checking coverage
      * tests/libtest.c (wget_test): Use a provided suppressions file for
      valgrind. This is required since the valgrind version on Travis seems to
      be out of sync with libc. This causes valgrind to report a memory bug
      falsely.
      * tests/valgrind-suppressions: New file with some valgrind suppressions.
      Included suppressions are for a valgrind/libc bug and to suppress
      reachable memory messages from within gnutls
      2da0ad63
  22. 29 Sep, 2016 1 commit
  23. 25 Sep, 2016 2 commits
  24. 12 Jul, 2016 1 commit
  25. 11 Jul, 2016 1 commit
  26. 22 Jun, 2016 1 commit
    • Tim Rühsen's avatar
      API changes for HTTP/2 parallel/async requests · 06c5f891
      Tim Rühsen authored
      * .gitignore: New entry examples/http_multi_get
      * Makefile.am: Move subdir 'examples' before 'src'
      * examples/Makefile.am: Add http_multi_get
      * examples/http_get2.c (main): Adapt code to API changes
      * examples/http_multi_get.c: New example to show async/parallel
        requests
      * examples/websequencediagram.c (main): Adapt code to API changes
      * include/libwget.h.in: New functions wget_http_request_set_header_cb,
          wget_http_request_set_body_cb, wget_http_request_set_int.
        Changed params of wget_http_get_response.
        Removed wget_http_get_response_func, wget_http_get_response_stream,
          wget_http_get_response_fd.
        Changed params of wget_http_get_response_cb.
        Add members pending_requests, received_http2_responses,
          pending_http2_requests to wget_http_connection_t.
        Add member req to wget_http_response_t.
        Add members header_callback, body_callback, header_user_data,
          body_user_data, response_keepheader to wget_http_request_t.
        New function types wget_http_header_callback_t and
          wget_http_body_callback_t.
      * libwget/http.c: Implementation of the changes in include/libwget.h.in.
      * libwget/http_highlevel.c: Adapt code to API changes
      * libwget/ssl_gnutls.c: Fixed defaults for SNI, OCSP and
        ALPN.
        Adapt code to API changes.
      * src/options.c: Reflect changes in libwget/ssl_gnutls.c
      * src/wget.c: Adapt code to API changes
      06c5f891
  27. 12 Mar, 2016 1 commit
  28. 17 Jan, 2016 1 commit
  29. 09 Jan, 2016 2 commits
  30. 06 Jan, 2016 1 commit
  31. 19 Sep, 2015 1 commit
  32. 30 Jan, 2015 1 commit
  33. 05 Jan, 2015 1 commit
  34. 05 Feb, 2014 2 commits