Commit Graph

206 Commits

Author SHA1 Message Date
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
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
Thomas Petazzoni
25d37622b8 configure.ac: fix misdetection of libxml2
A small typo in the detection of libxml2 leads to a successful
pkg-config discovery of libxml2 to be ignored. As a consequence,
configure.ac falls back to detecting the host libxml2, which does not
work in cross-compilation situation. This commit fixes this small
typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-21 22:00:42 +02:00
Jack Moffitt
d408eaf2bb Merge pull request #11 from lbdroid/master
dos characters break rpm build. Dos2unix on the spec file.
2013-11-07 18:25:09 -08:00
lbdroid
18286e24d7 dos characters break rpm build. Dos2unix on the spec file. 2013-10-03 13:09:35 -04:00
Jack Moffitt
b422446d58 Merge pull request #8 from kassak/upstream_fixes
Upstream fixes
2013-09-07 06:43:11 -07:00
Alexander Kass
03b6e90b94 warning fix 2013-09-07 11:58:16 +04:00
Alexander Kass
badebfa840 standard memset error
size of pointer instead of object
2013-09-07 11:58:16 +04:00
Alexander Kass
55b6da74d8 len should be signed 2013-09-07 11:58:16 +04:00
Jack Moffitt
8698c1b852 Merge pull request #5 from sharjeelaziz/master
Fixed a potential buffer overflow in xmpp_stanza_to_text when the stanza...
2013-07-31 08:11:07 -07:00
Sharjeel Aziz
4b194b98cf 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. 2013-07-31 10:33:52 -04:00
Jack Moffitt
a2a50d104a Merge pull request #2 from dlo/patch-1
restore README to original version
2013-06-10 14:27:48 -07:00
Florent Peterschmitt
c1b40d3efb procedure to build RPM 2013-05-31 16:48:13 +02:00
Florent Peterschmitt
f51febedff libstrophe.spec -> rpm/libstrophe.spec 2013-05-31 16:42:58 +02:00
Florent
6238cc3ebe oops, arch must be all 2013-05-31 11:40:02 +02:00
Florent
b07786d60f debian package 2013-05-31 11:06:28 +02:00
Dan Loewenherz
d5a7ef84fb restore README to original version
It was replaced in the repository move.
2013-05-28 13:26:01 -07:00
Jack Moffitt
ce908d03ca Add RPM spec file.
Thanks to Florent Peterschmitt for this work.
2013-05-17 21:51:05 -06:00
Jack Moffitt
f50be4217d Move repository. 2013-04-30 10:38:51 -06:00
Jack Moffitt
ba011b38db Merge pull request #42 from luiscuriel/master
Solved bug with recv on Windows. Fixed indenting
2013-04-20 15:04:52 -07:00
KuRi
28319c2c0d Fixed Indenting 2013-04-19 23:13:15 +02:00
KuRi
43aa61f3db Updated file format 2013-04-19 22:49:05 +02:00
KuRi
840bfda332 Changed TimedOut error to Conn Reset 2013-04-19 22:45:02 +02:00
Luis Angel Curiel Sanz
cc9e29c671 Fixed sock_read on Windows when returning cero
Fixed coding style
2013-04-19 10:46:47 +02:00
Luis Angel Curiel Sanz
b41732ada7 Fixed bug on sock_read. It returns 0 when an error reading occurs, and this situation was not being controlled. 2013-04-19 08:39:59 +02:00
Jack Moffitt
6a5e1ac969 Added support for detecting system libxml2. 2013-03-29 09:47:14 -06:00
Jack Moffitt
4ad21c9283 Merge pull request #32 from ittner/fix-xml-escaping
Fix escaping of XML text and attributes
2013-03-29 08:04:25 -07:00
Alexandre Erwin Ittner
c0b1e5b7fe Fix escaping of XML text and attributes
There was a bug in xmpp_send which caused XML special characters to be
sent to the server verbatim, implying in invalid stanzas and making the
server drop the connection. This commit fixed the bug escaping such
characters with the usual rules.

Bugs: The code now do several (de)allocation operations in every send,
this may have a negative effect on performance when used with slow
memory managers.

License: This code is distributed under the same license used by strophe
(i.e., GPLv3 or MIT).
2012-09-23 17:18:53 -03:00
Jack Moffitt
5f174b646f Merge pull request #20 from boothj5/master
Option to disable TLS
2012-05-19 21:40:49 -07:00
James Booth
5875390968 Fixed spacing 2012-05-20 05:16:20 +01:00
James Booth
a572d055a8 Fixed wrong flag setting 2012-05-20 02:10:19 +01:00
James Booth
9615a55856 Added option to disable TLS
The connection object includes a tls_support flag, which can
be disabled with xmpp_conn_disable_tls().
2012-05-20 01:50:32 +01:00
Jack Moffitt
cc979d4811 Merge pull request #16 from flosse/master
solved configuring problems (Ubuntu 11.10)
2012-02-26 04:03:13 -08:00
Markus Kohlhase
f502fd1fe4 added missing newline character to fix configuring errors 2012-02-26 12:49:40 +01:00
Jack Moffitt
a8c1d25f5c Correctly check for -lresolv need by using resolv.h.
Doing this with AC_SEARCH_LIBS doesn't work because the res_query is a #define.
2012-02-25 14:24:49 -07:00
Jack Moffitt
dfa2786efb Merge pull request #15 from flosse/extend-basic-example
added host parameter; replaced tabs with whitespace
2012-02-15 20:33:38 -08:00
Markus Kohlhase
95fd3ea3d0 added host parameter; replaced tabs with whitespace 2012-02-15 01:26:09 +01:00
Jack Moffitt
713cfa245a Another try at OpenBSD fixes.
nameser_compat.h is required on Darwin, but doesn't exist on
OpenBSD. Also, OpenBSD doesn't support the ns_c_in or ns_t_srv enums,
so the C_IN and T_SRV macros are required.
2012-02-10 22:10:32 -07:00
Jack Moffitt
aadc58711b Build fixes for OpenBSD.
Fixes #14. Issue discovered and fixes based on patch by Pierre-Emmanuel André.
2012-02-08 22:00:06 -07:00