Commit Graph

244 Commits

Author SHA1 Message Date
Dmitry Podgorny
b23104f920 ChangeLog: set future version to 0.8.7 2014-10-21 10:23:12 +03:00
Dmitry Podgorny
057f9068c6 autotools: removed duplication in configure.ac 2014-10-21 10:21:55 +03:00
Fabian Freyer
3231214344 Added --with-pkgconfigdir 2014-10-08 18:13:32 +02:00
Fabian Freyer
55efc601cb Refactored configure.ac, added pkg-config support 2014-10-08 18:13:31 +02:00
Fabian Freyer
dcbf3fb4d5 autotools: check for ssl.h if pkg-config failed
Some distros provides libssl without openssl.pc.
2014-09-30 16:02:43 +03:00
Fabian Freyer
e2acd98612 autotools: added AC_CONFIG_MACRO_DIR 2014-09-30 16:00:36 +03:00
Dmitry Podgorny
ee4f6d4e3c ctx: fixed memory leak in xmpp_log()
Also fixed 2 bugs:
  - only 1022 bytes of the message is printed when length is 1023.
  - va_end() must be called after va_copy() otherwise we get
    undefined behaviour according to C99.
2014-09-10 01:03:34 +03:00
Dmitry Podgorny
db14f2bd4a auth: fixed memory leaks in _handle_scram_sha1_challenge() 2014-09-09 22:55:23 +03:00
Dmitry Podgorny
e768604533 autotools: fixed libstrophe's version
Repository contains tag 0.8.6, but version in configure.ac is still
0.8.5. So change it to the future release.
2014-09-09 20:54:01 +03:00
Dmitry Podgorny
1afcd485db conn: [style] fixed spacing 2014-09-09 20:53:30 +03:00
Vitaly Takmazov
58613ea7f3 fix MSVC build 2014-09-08 13:41:30 +03:00
Dmitry Podgorny
bf5bf96e95 sha1: removed xmpp_ prefix from SHA1 symbols
Prefix was introduced in a981c0a as a workaround. Now, non-public API is
not exported, so this patch hides SHA1 symbols for dynamic library.
2014-09-07 00:02:14 +03:00
Dmitry Podgorny
529a9bed44 autotools: export only public API for dynamic library 2014-09-06 23:52:42 +03:00
Dmitry Podgorny
fd4f26e5d4 tls_schannel: [style] removed trailing spaces 2014-09-06 23:43:43 +03:00
Dmitry Podgorny
e7f87c652e tls_schannel: [style] use LF for EOL, not CR+LF 2014-09-06 22:32:16 +03:00
Dmitry Podgorny
65d2535302 tls_openssl: removed unused openssl/rand.h 2014-09-06 22:31:53 +03:00
Dmitry Podgorny
a981c0a733 sha1: workaround for name collision with libcrypto
src/sha1.c is used only for internal purposes. So, just add prefix
xmpp_ to the SHA1 symbols.
2014-08-31 01:47:03 +03:00
Dmitry Podgorny
b08625ef4a md5: MD5Transform should be static 2014-08-31 01:46:19 +03:00
Dmitry Podgorny
ea719cd02a SCRAM-SHA-1 authentication mechanism support 2014-08-31 00:44:08 +03:00
Dmitry Podgorny
52dcd26b8c sasl: don't use uninitialized variable
base64_decode() used uninitialized variable when unable to allocate memory.

Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
2014-08-30 15:14:22 +03:00
Dmitry Podgorny
cf361d35fe auth: removed useless static declaration
_handle_open_tls() declared as static function but not defined.
2014-08-26 14:53:15 +03:00
Dmitry Podgorny
077afae693 Added tags to .gitignore
This file is generated by ctags.
2014-08-26 14:26:43 +03:00
Damian Obernikowicz
783bad0897 Fixed memory leak 2014-08-20 00:36:59 +03:00
Dmitry Podgorny
d693cc6d15 autotools: check for expat.h if pkg-config failed
Some distros provides libexpat without expat.pc. So PKG_CHECK_MODULES
fails even if libexpat is installed. To fix this AC_CHECK_HEADER added
back.
0.8.6
2014-08-08 19:49:46 +03:00
Fabian Freyer
46f371b311 autotools: cleaned up configure.ac and Makefile.am 2014-08-08 19:42:33 +03:00
Fabian Freyer
97c6e6d8d4 autotools: removed libresov check for freebsd. 2014-08-08 19:40:01 +03:00
Dmytro Podgornyi
9af64e244e examples/bot: removed non-standard strcpy_s/strcat_s
strncpy/strncat must be used instead. But in this case they don't make
sense, because string has enough space.
2014-08-08 18:27:02 +03:00
Dariusz Dwornikowski
90075b5feb Merge pull request #29 from fabianfreyer/fix-readme-homebrew
Updated homebrew install instructions
2014-08-08 15:30:19 +02:00
Fabian Freyer
519edba5de Added homebrew install instructions 2014-08-08 15:17:15 +02:00
Dariusz Dwornikowski
7255b49623 Merge pull request #16 from h0ru5/bot_fixed
patch for bot example to avoid crash when messages without type are sent
2014-08-08 08:35:51 +02:00
James Booth
2dc357438b Use dependency on libstophe.la to enable parallel make 2014-08-07 21:03:04 +01:00
Dariusz Dwornikowski
4d1c4035bd Merge pull request #27 from cicku/patch-1
Correct the libtool file
0.8.5
2014-08-07 11:32:33 +02:00
Christopher Meng
51816cd7a8 Correct the libtool file
LDFLAGS needs to be set, or the final library produced won't have dependency on the parser(expat/libxml2).

Someone has fixed the issue on SSL linking(ac886a156a), and the parser should be linked as well. Thus it will confuse the packager manager's dependency generator(At least RPM).

And, this commit also correct the usage of libtool file cflags and ldflags introduced from the commit mentioned above, as they are not the same terminology.
2014-08-07 17:17:34 +08:00
James Booth
706d691f23 Merge pull request #21 from boothj5/master
Revert "Fixed a potential buffer overflow in xmpp_stanza_to_text when th...
2014-08-06 22:09:03 +01:00
James Booth
d893f4ace0 Updated README, added libtool dependency and note about --prefix 2014-08-06 22:01:00 +01:00
James Booth
ac886a156a Added SSL_LIBS to library CFLAGS 2014-08-06 21:55:39 +01:00
Dariusz Dwornikowski
75cfad6b7d COPYING not needed line 2014-05-09 17:04:10 +02:00
Dariusz Dwornikowski
50b5e5a05b Changes to .gitignore + cosmetic changes in Makefile.am 2014-05-09 16:41:36 +02:00
Dariusz Dwornikowski
9caaaccc33 Fixes in Makefile.am 2014-05-09 11:57:43 +02:00
Dariusz Dwornikowski
ea1a6fda91 Gitignore revereted 2014-05-09 11:14:58 +02:00
Dariusz Dwornikowski
dcf6e4e30a INSTALL deleted 2014-05-07 10:03:50 +02:00
Dariusz Dwornikowski
fca2a9e170 Proper autoconf 2014-05-06 20:13:01 +02:00
James Booth
15650f16b9 Revert "Fixed a potential buffer overflow in xmpp_stanza_to_text when the stanza length was greater than the default buffer size of 1024. Tested on Windows only."
This reverts commit 4b194b98cf.
2014-04-30 21:43:50 +01:00
Dariusz Dwornikowski
c8b79a7514 README needed by autoconf 2014-04-26 12:03:14 +02:00
Dariusz Dwornikowski
843f9e75b2 Changed .gitignore to include important files 2014-04-26 12:02:40 +02:00
Dariusz Dwornikowski
ad6d3c6298 Files needed for compilation 2014-04-26 08:41:41 +02:00
Dariusz Dwornikowski
8a87a88904 Generating .so library 2014-04-25 19:23:04 +02:00
Dariusz Dwornikowski
287f8aa4d4 Files needed by autoreconf and co. 2014-04-25 19:22:45 +02:00
Dariusz Dwornikowski
49de94f28e debian/ deleted to prepare for proper packaging 2014-04-25 19:12:25 +02:00
Jack Moffitt
9c18a695f7 Merge pull request #19 from tpetazzoni/configure-fix
configure.ac: fix misdetection of libxml2
2014-04-21 14:17:36 -06:00