Steffen Jaeckel
2bc34b5847
add new CI job that does a test-release
...
This also re-defines that `make release` does the release of all tarballs
and will run the tests against them.
Latest LibreSSL test is also marked non-essential, as it tends to fail
from time to time ...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-10 11:29:57 +01:00
Steffen Jaeckel
4cf7805e9e
update files included in a release
...
Removal of `rand.h` is a fixup of
118087f2a1
Somehow autotools manages to know that all those files must be
included in a release, no need to track them manually.
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-10 11:21:43 +01:00
Steffen Jaeckel
9c7b8580d8
add examples/perf
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-06 12:36:38 +01:00
Steffen Jaeckel
3225bafd54
make basic example basic again
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-04 13:36:17 +01:00
Steffen Jaeckel
f693efd532
add some new make targets
...
* `release` creates the tarballs
* `test-release` takes the tarballs, extracts them, builds the library
and tests and runs the tests
* `docs` run doxygen
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-02-04 13:36:17 +01:00
Steffen Jaeckel
edb54ebe90
introduce library versioning
...
This is done by loosely following the description on [1]
and other examples.
Fixes #190
[1] https://phab.enlightenment.org/w/autotoolsintegration/
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-01-31 16:51:01 +01:00
Steffen Jaeckel
c3c28cb4c1
add code coverage support
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2021-12-03 12:04:29 +01:00
Dmitry Podgorny
058576e768
autotools: add key.pem and cert.pem to EXTRA_DIST
2021-10-28 22:09:42 +03:00
Steffen Jaeckel
f23ac83c95
add callback functionality on certificate verification failure
...
Based on the differences to libmesode this functionality has been added.
It allows a library-user to set a callback for cases where the TLS stack
can't verify a received certificate and let the end-user decide what to
do.
examples/basic implements an example handler of said functionality.
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2021-10-28 14:42:11 +02:00
Dmitry Podgorny
4e53184eee
tests/stanza: add test for xmpp_stanza_reply_error()
2021-07-17 01:23:16 +03:00
Dmitry Podgorny
05620ab506
autotools: remove footer.html from EXTRA_DIST
2021-06-27 03:44:55 +03:00
Jordy Zomer
1f0a3f1ad1
Add basic fuzzing support for libstrophe
2021-06-26 17:05:53 -04:00
Steffen Jaeckel
25d3a2d459
add test for new API's
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2021-03-23 02:04:59 +02:00
Steffen Jaeckel
e490011b68
add option to build against gnutls
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2021-03-23 02:04:59 +02:00
Dmitry Podgorny
7c1061ccbb
autotools: remove rpm files
2020-09-16 00:27:34 +03:00
Dmitry Podgorny
c92fc849e7
Remove C++ files
...
Libstrophe used to provide incomplete C++ API which missed connection
class and wasn't supported for a long time. Remove this API.
2020-02-22 23:19:40 +02:00
Steffen Jaeckel
709e41fd10
add SHA256&SHA512 tests
2020-01-31 01:59:42 +02:00
Steffen Jaeckel
771d5865ae
add SCRAM-SHA-256 and SCRAM-SHA-512 support
2020-01-31 01:59:42 +02:00
Steffen Jaeckel
2e21d5a021
add new format make target
2020-01-31 01:14:32 +02:00
Dmitry Podgorny
8cfb2d2a03
XEP-0077: add examples/register
...
XEP-0077 will not be implemented as part of libstrophe's API, but an
example is provided. The example shows how to use the "raw" connection
to register a user.
Closes #54 .
2020-01-25 22:59:19 +02:00
Dmitry Podgorny
212df6d036
tests: add test for stanza functions
...
Check reference counting in xmpp_stanza_add_child() amd
xmpp_stanza_add_child_ex().
2020-01-10 00:50:22 +02:00
François Revol
962bf4de5e
Haiku: skip -Wextra -Wno-unused-parameter for GCC 2.95
...
This is needed to compile for the primary arch.
2019-11-17 15:34:27 +01:00
Dmitry Podgorny
a13847d994
resolver: add c-ares support
...
This patch based on the patch from @gbour (see #7 ). With
--enable-cares old implementation will be replaced with c-ares API.
2019-10-14 06:51:08 +03:00
Dmitry Podgorny
6aff44184e
autotools: remove AM_CFLAGS
...
AM_CFLAGS is ignored when target specific target_CFLAGS are present.
2018-11-06 11:35:52 +02:00
Dmitry Podgorny
06da6d5125
autotools: remove -Werror
...
We need it only in development versions. Let releases build with
warnings.
2018-02-23 14:19:15 +02:00
Dmitry Podgorny
82040403bf
tests/hash: enable the test
2017-06-29 20:22:55 +03:00
Steffen Jaeckel
c074a6166c
enable some warnings & fix 'em
2017-06-29 16:58:11 +02:00
Dmitry Podgorny
c149caa32a
examples: add vcard example
...
New exmaple shows how to request vCard and handle result. See XEP-0054
for details.
PHOTO element is stored to an image file.
2017-06-23 22:09:28 +03:00
Dmitry Podgorny
d2efc85ce3
Makefile.am: refactoring
...
Put filenames to separated lines to simplify adding/removing new files.
Add missed files to EXTRA_DIST.
2017-06-23 17:00:26 +03:00
Dmitry Podgorny
f0706f56c4
tests: remove dependency on check package
...
Only check_parser depends on the check. Convert it. All tests will be
rewritten at once when new testsuite is implemented.
2016-09-15 12:46:11 +03:00
Dmitry Podgorny
c80f99bc68
tests: add tests for string functions
2016-09-04 00:53:24 +03:00
Dmitry Podgorny
14066d0bff
resolver: fix commit 171b285
2016-08-29 20:09:45 +03:00
Dmitry Podgorny
7f57e3987a
tests/resolver: don't link against -lstrophe
2016-04-30 16:40:10 +00:00
Dmitry Podgorny
c62d1d64ab
tests/ctx: enable the test
2016-04-30 16:37:18 +00:00
Dmitry Podgorny
c9a5cba113
tests/jid: enable the test
2016-04-30 16:15:45 +00:00
Dmitry Podgorny
e4a4bdd3a3
Implemented public SHA1 interface
...
A number of XEPs require SHA1. Publishing its interface helps user to
reduce number of dependencies.
2016-04-29 22:51:23 +00:00
Dmitry Podgorny
063f4deb22
Refactor autotools scripts
...
* Add --disable-tls
* Check for libxml2 if expat is not found
* Single coding style
2016-04-28 22:37:27 +00:00
Dmitry Podgorny
9d7b3394e7
Makefile.am: updated EXTRA_DIST
...
'make dist' prepares complete tarballs now.
2016-04-15 15:51:12 +00:00
Dmitry Podgorny
b7e308d057
Implemented resolver to replace sock_srv_lookup()
2016-02-20 00:15:08 +02:00
Dmitry Podgorny
a7c18ba6c7
autotools: choose correct library for res_query()
...
See #72 for further information.
2016-02-05 23:37:55 +00:00
Dmitry Podgorny
c291513663
Makefile: remove unused src/thread.c
...
See #72 for further information.
2016-02-05 21:58:00 +00:00
James Booth
6f612d4f4d
Add -no-undefined to LDFLAGS
2015-12-14 00:28:37 +00:00
Dmitry Podgorny
331db6f565
tests: added test vectors for MD5
2015-10-18 03:05:38 +03:00
Tristan Le Guern
a61dba0c13
Move declarations of xmpp_{v,}snprintf.
...
Use HAVE_SNPRINTF and HAVE_VSNPRINTF to conditionnaly use an internal
version of these functions or use the libc one.
2015-10-16 14:48:10 +03:00
Dmitry Podgorny
60cfcc72e6
snprintf: moved self-test to a separated test
2015-10-16 00:05:26 +03:00
Dmitry Podgorny
e41b7a06e4
sha1: moved self test to separated test
2015-10-15 00:35:19 +03:00
Dmitry Podgorny
e0a13ecdaa
tests/base64: updated and added to Makefile.am
2015-10-13 23:19:25 +03:00
Dmitry Podgorny
9b67acbfc4
tests: moved common routines to test.[ch]
2015-10-13 22:38:18 +03:00
Dmitry Podgorny
8fcac79301
Makefile.am: removed whitespaces
2015-10-12 20:51:24 +03:00
Dmitry Podgorny
8627fbb13f
Implemented UUID generation (RFC4122)
...
This patch adds new API:
* xmpp_uuid_gen()
2015-10-12 15:17:22 +03:00