b54517f6aaFix a typo, WSAETIMEOUT -> WSAETIMEDOUT
James Canete
2006-01-11 00:37:55 +00:00
ddd356e726Fix problem with sending if no data at all could be sent.
Jack Moffitt
2006-01-05 03:39:18 +00:00
5403b39950Set connection error correctly on read/write errors. Final bit for fix of #10.
Jack Moffitt
2005-12-01 23:43:53 +00:00
18f54e2fc5Finish fix for #11. ETIMEOUT/WSAETIMEDOUT error code set on connection timeout.
Jack Moffitt
2005-12-01 23:31:02 +00:00
68c9a71774Partial fix for #11. Correctly calls connection handler on timeout now, but doesn't yet set the error.
Jack Moffitt
2005-12-01 23:09:20 +00:00
003b0528cdAdd disconnection notification on send/recv errors.
Jack Moffitt
2005-11-19 22:05:00 +00:00
6180bbcc0aChanged id handlers so they are removed if they do not return true.
James Canete
2005-11-08 05:03:18 +00:00
78d2ffc5fbFixed session timeout from triggering when session is already established.
James Canete
2005-10-24 05:30:06 +00:00
b992133987Implement session establishment, which is required if the server advertises it. Fixes bugs relating to not-authorized errors on XMPP compliant servers.
Jack Moffitt
2005-10-18 07:58:38 +00:00
34f2b3097eadded #define WIN32_LEAN_AND_MEAN to fix compilation on Visual Studio .NET 2003
James Canete
2005-10-18 07:04:45 +00:00
2b9e5b61a1Stanza object creation/deletion now uses the context, but must be done with a factory function.
Jack Moffitt
2005-08-02 21:07:40 +00:00
1f0ee8df31Forgot to add the first stab implementation.
Jack Moffitt
2005-08-02 20:21:00 +00:00
359c47ffdcAnother pass at C++ification.
Jack Moffitt
2005-08-02 20:18:14 +00:00
74d8b50d60Add error returns to stanza functions.
Jack Moffitt
2005-07-29 19:24:59 +00:00
d0e64fdac7Remove the tls source from the build again. We want this to be an optional dependency and that doesn't work yet. Memory like a sieve.
Ralph Giles
2005-07-27 07:01:47 +00:00
62faeab1d4Add the new backend-specific tls source to the build.
Ralph Giles
2005-07-27 06:55:08 +00:00
3ee4193043Replace the genericly-named tls.c with a tls_gnutls.c for switching support in and out. It's easier for the build system if we do this with #ifdef's but conditional compilation is easier while we're playing around.
Ralph Giles
2005-07-21 19:00:08 +00:00
5c50538338Initial draft of a TLS abstraction layer based on GNU TLS.
Ralph Giles
2005-07-21 10:44:37 +00:00
e20fcb8ec4Minor Win32 build fix.
Jack Moffitt
2005-07-18 22:22:11 +00:00
cb9b93a3f6Re add the 0.8 CHANGES heading.
Ralph Giles
2005-07-02 16:34:05 +00:00
fba108552eUpdate CHANGES for point release.
Ralph Giles
2005-07-02 16:07:45 +00:00
7c7e844f43Rename basic_logging.c to basic.c, replacing the old version.
Ralph Giles
2005-06-29 18:07:20 +00:00
a6d7d9ef96remove basic.c in preparation for replacing it with basic_logging.c. svn is stupid.
Ralph Giles
2005-06-29 17:54:29 +00:00
673a1308b1Add a new xmpp_get_default_logger(level) call to provide access to (a filtered version of) the default logger which we implemented in the library but was no longer accessible. This makes it much easier for the caller to turn logging on by just passing this default log handler callback pointer into xmpp_ctx_new() instead of having to always implement boilerplate.
Ralph Giles
2005-06-29 17:51:18 +00:00
83b5721607Move the log_level_name[] definitions back to private status within the library.
Ralph Giles
2005-06-29 15:36:40 +00:00
6a1b2cada9Also call the connection handler callback if a connection attempt fails. Otherwise there's no way for the client to stop the event loop and/or retry.
Ralph Giles
2005-06-29 15:25:08 +00:00
64b85aaddaMake the server argument optional. Passing a NULL domain arg to xmpp_connect_client() now derives the domain from the jid.
Ralph Giles
2005-06-29 15:23:51 +00:00
f2335adb75Conform the copyright headers.
Ralph Giles
2005-06-29 14:38:24 +00:00
fe4d7beb98Fix minor memory bug. We were freeing the _next_ item's attributes, instead of the current item's.
Jack Moffitt
2005-06-28 23:19:16 +00:00
033602a4cbFixed two bugs. The first bug was that if no stream:features was received, we did not proceed with legacy authentication. The second bug was that if no resource was specified, legacy authentication must fail, and this condition was not being detected.
Jack Moffitt
2005-06-28 23:13:59 +00:00
c24df2b5f0Added a basic_logging.c which shows how to use the logging stuff. Moved xmpp_log_level_name into strophe.h for client access.
Jack Moffitt
2005-06-28 21:23:57 +00:00
fc351c8106Redo Context class to use overridable virtual functions instead of C-style callbacks. Note that this requires the memory callbacks to have a userdata pointer (so that we can pass the class instance). Also, the Context class has to be passed into the constructors for Connection and Stanza.
Jack Moffitt
2005-06-26 22:36:43 +00:00
fa8ef93e8cFirst draft C++ api. This is more or less a direct translation of the OO C calls.
Jack Moffitt
2005-06-23 21:01:23 +00:00
886b9e602cFirst draft of thread abstraction.
Jack Moffitt
2005-06-21 23:56:20 +00:00
acaebfcb51Reroll changeset:185.
Jack Moffitt
2005-06-15 18:36:18 +00:00
781ba29c36Rollback changeset:185 before we retag.
Jack Moffitt
2005-06-15 18:26:46 +00:00
64aba297a2Fix bug with NULL log handlers. Also, default log handler is NULL always.
Jack Moffitt
2005-06-15 18:15:08 +00:00
34f2f10294Bump version number after release.
Ralph Giles
2005-06-15 17:21:43 +00:00
1a655d515fCheck for a valid resource to bind before checking its length.
Ralph Giles
2005-06-15 17:15:43 +00:00
76e0c6a4b3Add the 'libstrophe' name to the copyright headers.
Ralph Giles
2005-06-15 16:58:11 +00:00
8fb3a8f062Remove the todo list now that we have a tracker.
Ralph Giles
2005-06-15 16:52:42 +00:00
26d3c295deSet 0.7 release date.
Ralph Giles
2005-06-15 16:51:56 +00:00
3cf080bb2dAdd library init and shutdown.
Jack Moffitt
2005-06-15 05:37:24 +00:00
0d311771bbCode now builds in Win32 and tests pass. Example code seems to fail though, still tracking that down.
Jack Moffitt
2005-06-15 05:17:07 +00:00
17feefe78aMore minor win32 build fixes. The only linking problem is now expat.lib.
Jack Moffitt
2005-06-14 23:27:58 +00:00
e6fa890d3dMinor fixes for Win32 build. It now builds, but doesn't link.
Jack Moffitt
2005-06-14 22:35:15 +00:00
d07094c090Implement binding a specific resource if one has been indicated.
Ralph Giles
2005-06-14 15:13:46 +00:00
f741b68de8Use the jid utilities in _get_authid().
Ralph Giles
2005-06-14 14:47:12 +00:00
72699eff45Rename xmpp.h to strophe.h and apply the name changes to the internal header multiple include protection.
Ralph Giles
2005-06-14 14:25:42 +00:00
15f1636d41Apply the name change to SConstruct, generating libstrophe.a instead of libxmpp.a.
Ralph Giles
2005-06-14 14:17:06 +00:00
f27235b862Move the xmpp library to its new name.
Ralph Giles
2005-06-14 14:10:31 +00:00