Commit Graph

464 Commits

Author SHA1 Message Date
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
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
h0ru5
4111cf772a patch to avoid crash when messages without type are sent 2014-01-06 22:46:16 +01: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