Commit Graph

145 Commits

Author SHA1 Message Date
Jack Moffitt
13175787fc Document handler return values. 2012-02-07 22:49:56 -07:00
Jack Moffitt
ee8afdb64e Memory leak fixes from @elisamanfrin.
Fixes issue #4.
2012-02-07 22:46:38 -07:00
Jack Moffitt
9b50b56dbb Fix docs and build system. 2012-02-07 22:46:38 -07:00
Jack Moffitt
90d4c54d81 Merge pull request #12 from vladmihaisima/fix_ssl
Bug when using SSL communication
2012-02-07 20:33:56 -08:00
Jack Moffitt
d30a313148 Merge pull request #10 from hoelzro/master
Fix logging when stanzas are too big
2012-02-07 20:30:10 -08:00
U-vladms-pc\vladms
5344669bb7 Added tls_pending to windows schannel implementation of tls 2012-01-10 17:35:53 +01:00
Vlad-Mihai Sima
511606835d Bug fix: when using tls, if a stanza is bigger than the buffer of 4096 in event.c, the stanza will not be read as select will return 0 on the ssl socket and the data will be in ssl buffers. Partial fix, only for Linux for now 2012-01-01 20:09:18 +01:00
Rob Hoelz
30d4f2b78d Fixing logging when stanzas are too big 2011-09-07 20:09:19 -05:00
Jack Moffitt
bdd70fcfaf Merge pull request #6 from rzuck/master
Fix for API error using libxml2 as the parser for libstrophe
2011-05-07 12:51:52 -07:00
Russell Zuck
270599246b update to README.txt to include instructions for acquiring the expat submodule 2011-05-05 14:14:42 -06:00
Russell Zuck
d00a70a406 removed the line in Makefile.am that defines libstrophe_a_HEADERS that was causing ./configure to fail 2011-05-05 13:35:38 -06:00
Russell Zuck
9871458642 update to README to reflect current build steps 2011-05-05 13:32:09 -06:00
Russell Zuck
28da8ea988 fix for error in return status logic from libxml2 function 2011-05-05 13:22:23 -06:00
Jack Moffitt
a02ce0151d A few build fixes. Found and suggested by David C. 2010-06-09 10:30:20 -06:00
Dustin Sallings
d048124969 Capture the bound jid.
I'd kind of like to be able to discover the JID with full resource for
some operations.
2009-06-15 14:37:21 -07:00
Matt Ingenthron
43facaff45 Added check for openssl headers to fail more gracefully on Ubuntu 8.0.4 LTS 2009-06-15 14:37:21 -07:00
Matt Ingenthron
a18cecd002 Added AC_SEARCH_LIBS for compilation on OpenSolaris 2009-06-15 14:37:21 -07:00
Dustin Sallings
e5d1f46170 Ignore docs. 2009-06-15 14:37:21 -07:00
Jack Moffitt
370a371800 Dual licensed libstrophe under MIT and GPLv3.
Updated copyright headers.
2009-06-15 15:26:10 -06:00
Jack Moffitt
a58b0e4b04 Patch to fix select time values from xue yong zhi <xue.yong.zhi@gmail.com> applied. 2009-05-05 13:29:01 -06:00
Arc Riley
17733544c3 Made doxygen input/output directories relative 2009-05-05 10:18:48 -06:00
Jack Moffitt
2eb9847ba8 Fixed memory leak in one off handlers. 2009-04-14 15:53:04 -06:00
Jack Moffitt
398d774c59 Fixed memory leak in new parser abstraction. 2009-04-14 15:36:03 -06:00
Jack Moffitt
b522704567 Merge commit 'dustin/master'
* commit 'dustin/master':
  Ignore test artifacts.
  Ignore TAGS.
  Log the result of a connect.
  If an altdomain was specified, use it instead of SRV lookups.
  Free the connection language.
  Handle a case where the query has no namespace.
2009-04-14 14:53:29 -06:00
Jack Moffitt
20bac5b4de Fixed small memory leak in id handler logic. 2009-04-14 14:22:34 -06:00
Dustin Sallings
a06ec86266 Ignore test artifacts. 2009-04-14 13:11:38 -07:00
Dustin Sallings
57454c9bf9 Ignore TAGS. 2009-04-14 13:11:38 -07:00
Dustin Sallings
690c0c1e85 Log the result of a connect. 2009-04-14 13:11:38 -07:00
Dustin Sallings
e852bfb62e If an altdomain was specified, use it instead of SRV lookups.
For whatever reason, SRV lookups are hanging for me for about 30
seconds making testing suck.
2009-04-14 13:11:38 -07:00
Dustin Sallings
3156f5044f Free the connection language.
This created a memory leak when freeing a connection.
2009-04-14 13:11:38 -07:00
Dustin Sallings
2b661bd1f4 Handle a case where the query has no namespace.
When I tried this sample code, it failed due to a NULL namespace being
returned (and a later strdup(NULL)).
2009-04-14 13:11:33 -07:00
Jack Moffitt
3fd7515dcf Abstracted XML parser library and switched to autotools building.
expat is still the default parser, but libxml2 can also be used
via an option to the configure script.  New parsers can easily be
added by implementing a parser_foo.c that uses the interface defined
in parser.h.
2009-04-14 13:47:20 -06:00
Jack Moffitt
f29b42adef Added bot example binary to ignores. 2009-04-14 13:47:20 -06:00
Jack Moffitt
1ac33269ac Removed unneeded variables from bot.c. 2009-04-14 13:47:20 -06:00
Jack Moffitt
6b1c790a7f Update ignores. 2009-04-14 13:47:20 -06:00
Jack Moffitt
ec54e6947c Removed SCons. 2009-04-14 13:47:20 -06:00
Pedro Melo
289fe602af Tweak readme to note some dependencies
If you are using SCons, you dont need to know this, but some have tried to compile libstrophe without SCons and this information is important.

Signed-off-by: Jack Moffitt <jack@metajack.im>
2009-01-25 10:40:13 -07:00
Pedro Melo
091f5aab71 Promote xmpp_send_raw and xmpp_send_raw_string to the public API
If you receive XML data to send from some place else in your app, you just want to send it.

Signed-off-by: Jack Moffitt <jack@metajack.im>
2009-01-25 10:37:58 -07:00
Pedro Melo
f27f2c5ba2 Promote xmpp_free to the public API
Some other APIs, like xmpp_stanza_to_text, return a point that must be freed by the caller with this API.

Signed-off-by: Jack Moffitt <jack@metajack.im>
2009-01-25 10:36:10 -07:00
Pedro Melo
8b8fe4a77d Public API is in strophe.h, xmpp.h does not exist
Signed-off-by: Jack Moffitt <jack@metajack.im>
2009-01-25 10:33:36 -07:00
Jack Moffitt
3a016e884b Updated ignores. 2008-12-23 07:26:20 -07:00
Jack Moffitt
efabea995c Fixed repo url for expat. 2008-12-23 07:25:16 -07:00
Jack Moffitt
08b5e00942 Added ignores. 2008-12-15 15:29:49 -07:00
Jack Moffitt
24abd94a82 Added expat submodule for tracking vendor releases. 2008-12-15 15:29:28 -07:00
Jack Moffitt
7ee628c1c1 Fixed bug in SConstruct. Split() makes an array not a space separated string. 2008-12-15 15:14:16 -07:00
Jack Moffitt
4f608fd957 First pass at fixing up OpenSSL support. It now seems to work. 2008-12-10 09:25:22 -07:00
Jack Moffitt
cb0ae178ee Remove spurious error notices on EINTR and EAGAIN in xmpp_run_once(). 2008-12-09 13:57:43 -07:00
Matthew Wild
fddd5f1245 Fix for refcount handling in stanzas, by Jack. 2008-09-18 04:13:29 +00:00
Matthew Wild
757d5bad74 + Add xmpp_conn_get_context() to get the ctx a connection belongs to. Fixes #10
* Properly use altdomain when no SRV record. Fixes #2
- Remove unused function declarations from strophe.h. Fixes #1
2008-09-18 03:56:08 +00:00
Matthew Wild
bc5265f6c9 Bot shouldn't reply to message type="error", and also fixed comment. 2008-09-18 03:36:19 +00:00