22 Commits

Author SHA1 Message Date
2da0ad63dd Improved testing on Travis
* .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
2016-10-07 17:51:48 +02:00
c2ffbb889c * Makefile.am: Remove unwanted stuff from coverage report 2016-09-29 16:23:09 +02:00
5d9c1d3b9e Update travis script to psuh to coveralls.io
* .travis.sh: Run `make check-coverage` when running with CC=gcc
* .travis.yml: Use the newer trusty tahir builds for updated packages
* .travis.yml: Refactor. Split out the OSX installation steps into
.travis_setup.sh
. .travis_setup.sh: Same
* Makefile.am: Add --ignore-errors source to lcov command line
2016-09-25 16:48:48 +02:00
7a700d9848 * Makefile.am: Add targets for checking code coverage 2016-09-25 13:27:26 +02:00
58da53ddcc Generate distributed ChangeLog from git log
* bootstrap.conf: Add gnulib module 'gitlog-to-changelog'.
* Makefile.am: Generate the ChangeLog file from the git log.
2016-07-12 12:55:13 +02:00
1ad4786850 * Makefile.am: Fix EXTRA_DIST config.rpath to build-aux/config.rpath 2016-07-11 14:52:42 +02:00
06c5f8911e API changes for HTTP/2 parallel/async requests
* .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
2016-06-22 09:17:57 +02:00
c84363e216 Add 'make check-valgrind' to simplify valgrind checking
* Makefile.am: Add rule 'check-valgrind'
2016-03-12 19:59:39 +01:00
f7ba3e5431 Use doxygen instead of gtk-doc
* Removed all gtk-doc files and references.
* Added doxygen files and rules
2016-01-17 20:29:58 +01:00
ad691f1f3f Remove API version from library file names
* .gitignore, Makefile.am, configure.ac, examples/Makefile.am,
  libwget.pc.in, libwget/Makefile.am, src/Makefile.am, tests/Makefile.am:
  Remove API version from library file names
2016-01-09 17:56:32 +01:00
e3b89db8c7 Hook gnulib into project 2016-01-09 16:04:25 +01:00
1cbb8ae9f7 Rename LIBWGET_API_VERSION to LIBWGET_VERSION 2016-01-06 16:25:27 +01:00
c6b0e461a1 Transform Mget into Wget 2015-09-19 22:54:38 +02:00
b7cea59120 fix configure and doc stuff 2015-01-30 17:24:57 +01:00
cc9298fd8a Skip po directory if GETTEXT not available 2015-01-05 15:57:52 +00:00
b4604f2f16 added plg-config, brushed up configure.ac and Makefiles 2014-02-05 17:10:08 +01:00
73f89e6f2a fix type naming to mget type naming convention 2014-02-05 12:39:36 +01:00
c049bb0655 new examples folder 2013-01-15 17:11:01 +01:00
95f4251302 more stuff moved into libmget 2013-01-10 17:55:03 +01:00
074be60bdf started gtk-docs 2013-01-03 17:58:44 +01:00
0e4972eb53 more auto* stuff 2013-01-03 12:05:27 +01:00
407c59cfe8 step forward to libmget 2012-12-28 17:59:52 +01:00