Mikael Hallendal <micke@imendio.com> [Wed, 29 Oct 2008 17:30:01 +0100] rev 552
Only check for IO Condition before trying another read when the socket is blocking [#23]
In commit 79deb183d we added a check to see if there was more data to be read before trying again. This
to avoid having a blocking socket hang on that call until some data became available.
However, when using OpenSSL it sometimes reads everything off the TCP socket and buffers it internally
which means that the TCP socket will tell us that there is no more data available which leads to us not
trying to read from the OpenSSL layer again.
In this commit I added a check to see if the socket was blocking before doing this. The long term fix
will be that the socket is always going to be in async mode and the synchronous APIs will be handled at
a higher level.
[#23 responsible:Hallski milestone:Loudmouth 1.4.3 state:resolved]
Mikael Hallendal <micke@imendio.com> [Mon, 27 Oct 2008 23:44:51 +0100] rev 551
Removed lm-soup-socket.[ch]
These unused files was a test to implement the new network backend using the SoupSocket from libsoup.
However, I'm not inclined to add libsoup as a dependency to Loudmouth so they will not be used.
Mikael Hallendal <micke@imendio.com> [Sun, 26 Oct 2008 01:56:11 +0200] rev 550
Make the new libasyncns compile on mac os x
Mikael Hallendal <micke@imendio.com> [Sun, 26 Oct 2008 01:52:23 +0200] rev 549
Updated asyncns.[ch]
Mikael Hallendal <micke@imendio.com> [Sat, 25 Oct 2008 22:33:23 +0200] rev 548
Added some verbose debug output
Mikael Hallendal <micke@imendio.com> [Sat, 25 Oct 2008 20:09:25 +0200] rev 547
Improved the resolvers a bit.
LmOldSocket currently creates a new resolver when doing a host lookup after a successful srv lookup.
Mikael Hallendal <micke@imendio.com> [Sat, 25 Oct 2008 16:37:41 +0200] rev 546
Removed optional definition of _lm_sock_set_keepalive.
Always define the method but make the implementation noop if TCP keep alives are not available.
Mikael Hallendal <micke@imendio.com> [Sat, 25 Oct 2008 16:21:50 +0200] rev 545
Removed the async_connect_waiting and blocking states from LmConnection.
As a first step of cleaning up the network code underlying LmConnection I want to make the blocking and non-blocking calls be as similar as possible.
The socket should be able to connect in asynchronous manner even if we want to block on the open call since the mainloop iteration will handle the "block" for lm_connection_open_and_block.
Mikael Hallendal <micke@imendio.com> [Fri, 24 Oct 2008 00:21:42 +0200] rev 544
Minor style fix
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 23:18:10 +0200] rev 543
Removed unused variable in lm_connection_open_and_block
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 22:50:08 +0200] rev 542
Removed unused use_srv variable in LmConnection.
It was just being set but not used anymore.
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 22:45:23 +0200] rev 541
Minor style fixes
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 15:29:49 +0200] rev 540
Switch to use LmAuthParameters instead of passing around username and password.
This cleans up the code and reduces the number of strings that need to be copied and synced.
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 14:08:45 +0200] rev 539
Made type property on LmResolver settable after creation.
Currently the type of the resolver is changed after doing the initial SRV lookup so the property can't be creation only.
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 13:23:36 +0200] rev 538
Silence git from generated files
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 13:22:13 +0200] rev 537
Added support for Dolt in the build process.
This transparently reduces the build time on systems where it is supported.
Mikael Hallendal <micke@imendio.com> [Wed, 22 Oct 2008 13:12:40 +0200] rev 536
Added test code for lm-data-objects
Mikael Hallendal <micke@imendio.com> [Tue, 21 Oct 2008 15:47:01 +0200] rev 535
Added lm-data-objects.[ch] for parameter objects
Mikael Hallendal <micke@imendio.com> [Tue, 21 Oct 2008 02:38:48 +0200] rev 534
Minor style fix
Mikael Hallendal <micke@imendio.com> [Tue, 21 Oct 2008 02:21:09 +0200] rev 533
Added some TODO items and minor style fixes
Mikael Hallendal <micke@imendio.com> [Mon, 20 Oct 2008 17:48:04 +0200] rev 532
Style fix in lm_connection_new
Mikael Hallendal <micke@imendio.com> [Mon, 20 Oct 2008 17:44:28 +0200] rev 531
Removed unneeded initializers in lm_connection_new
Mikael Hallendal <micke@imendio.com> [Tue, 14 Oct 2008 19:30:30 +0200] rev 530
More styling
Mikael Hallendal <micke@imendio.com> [Tue, 14 Oct 2008 18:35:47 +0200] rev 529
More style fixes
Mikael Hallendal <micke@imendio.com> [Mon, 13 Oct 2008 12:01:56 +0200] rev 528
Style fixes
Mikael Hallendal <micke@imendio.com> [Mon, 13 Oct 2008 02:49:23 +0200] rev 527
Fixed root Makefile
Mikael Hallendal <micke@imendio.com> [Mon, 13 Oct 2008 02:48:58 +0200] rev 526
Fixed root Makefile
Mikael Hallendal <micke@imendio.com> [Sat, 11 Oct 2008 14:47:23 +0200] rev 525
Moved Makefile.decl to build sub directory and created a Makefile.am.lm
All Makefile's should include the new Makefile.am.lm which in turns includes common and test Makefiles.
Mikael Hallendal <micke@imendio.com> [Sat, 11 Oct 2008 13:20:15 +0200] rev 524
More cleaning up in Makefiles
Mikael Hallendal <micke@imendio.com> [Sat, 11 Oct 2008 13:14:29 +0200] rev 523
More cleaning up in Makefile
Mikael Hallendal <micke@imendio.com> [Fri, 10 Oct 2008 23:22:00 +0200] rev 522
Further cleanup of Makefile.am
Mikael Hallendal <micke@imendio.com> [Fri, 10 Oct 2008 23:13:03 +0200] rev 521
Updated the build system to use a build directory and a common marshal Makefile.
Inspired by Richards commit to Devhelp in order to clean up the build system a bit.
Makefile setup for generating signal marshal are now defined in build/Makefile.am.marshal which is included in the loudmough/Makefile.am file.
Mikael Hallendal <micke@imendio.com> [Fri, 10 Oct 2008 20:31:18 +0200] rev 520
Removed old .cvsignore file
Mikael Hallendal <micke@imendio.com> [Fri, 10 Oct 2008 12:33:53 +0200] rev 519
Removed unused defines in lm-connection.c
Mikael Hallendal <micke@imendio.com> [Wed, 08 Oct 2008 13:11:02 +0200] rev 518
Went over all of the files and made sure they all were indented the same way.
This means from now on use 4 space instead of tabs everywhere for indentation.
Mikael Hallendal <micke@imendio.com> [Wed, 08 Oct 2008 12:44:10 +0200] rev 517
Make the emacs header changes to tests and examples
Mikael Hallendal <micke@imendio.com> [Wed, 08 Oct 2008 12:43:12 +0200] rev 516
Change the tab width to 4 steps in the emacs headers
Mikael Hallendal <micke@imendio.com> [Wed, 08 Oct 2008 12:34:50 +0200] rev 515
Change the emacs format string to use space instead of tab for indentation
Frank Zschockelt <lm@freakysoft.de> [Mon, 06 Oct 2008 22:00:49 +0200] rev 514
Allow replies to non-iq stanzas. [#22]
This changes so that any stanza type will check if there is a reply handler
waiting for the incoming ID. When implementing for example XEP-0184 (Message
Receipts) there will be returned message stanzas that needs to be given to a
reply handler.
committer: Mikael Hallendal <micke@imendio.com>
Frank Zschockelt <lm@freakysoft.de> [Mon, 06 Oct 2008 21:54:34 +0200] rev 513
Allow replies to non-iq stanzas. [#22]
This changes so that any stanza type will check if there is a reply handler
waiting for the incoming ID. When implementing for example XEP-0184 (Message
Receipts) there will be returned message stanzas that needs to be given to a
reply handler.
[#22 tagged:committed responsible:Hallski milestone:none state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 21:52:49 +0200] rev 512
Updated copyright years
Jelmer Vernooij <jelmer@samba.org> [Mon, 06 Oct 2008 11:31:46 +0200] rev 511
Use SASL before old style auth if both are supported. [#19]
Fixes an issue when server provides both old style and SASL authentication
mechanisms. Loudmouth currently only checked if old style auth were supported
and assumed that SASL weren't in those cases.
[#19 tagged:committed responsible:Hallski milestone:none state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Jelmer Vernooij <jelmer@samba.org> [Mon, 06 Oct 2008 11:28:45 +0200] rev 510
Use SASL before old style auth if both are supported. [#19]
Fixes an issue when server provides both old style and SASL authentication
mechanisms. Loudmouth currently only checked if old style auth were supported
and assumed that SASL weren't in those cases.
[#19 tagged:committed responsible:Hallski milestone:none state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:36 +0200] rev 509
Fixed a crash LmFeaturePing.
Missed sending the LmFeaturePing object as user data to the message handler.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:36 +0200] rev 508
Cleaned up the moved XMPP Ping code from LmConnection and hooked up the LmFeaturePing object.
Removed the code from LmConnection and instead use the new LmFeaturePing
object.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:36 +0200] rev 507
Added the code from LmConnection to send and receive the XMPP Ping to LmFeaturePing.
Copied and refactored the code to fit into LmFeaturePing instead of
LmConnection.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:36 +0200] rev 506
Added properties, signals and start/stop calls to LmFeaturePing.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:36 +0200] rev 505
Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
To keep lm-connection.c as clean as possible the XMPP Ping (XEP-0199) code will
live in lm-feature-ping.[ch] instead.
Frank Zschockelt <lm@freakysoft.de> [Mon, 06 Oct 2008 02:17:35 +0200] rev 504
Use XMPP Ping (XEP-0199) instead of white space ping for keep alive. [#15]
This patch introduces the use of XMPP Pings (defined in XEP-0199) for pinging
the server instead of just sending white space messages to keep the connection
alive through NAT routers.
It also adds the feature of disconnecting if three pings in a row are sent
unanswered.
[#15 tagged:committed responsible:Hallski state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:17:27 +0200] rev 503
Fixed a crash when lm_connection_close was called.
Check if the socket exists before trying to cancel the asyncns call on it.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 02:09:58 +0200] rev 502
Create connect_data in LmOldSocket, revert a segfault when working on LmResolver.
Was a bit agressive when removing old code as I was putting the LmResolver code
in place.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 01:41:19 +0200] rev 501
Added _lm_connection_get_server that returns the server string.
The function uses the host part of the JID used, if it is not set the function
will return a copy of the connect host.
Also updated to use this internally in LmConnection as the same code was
duplicated in a couple of places.
Mikael Hallendal <micke@imendio.com> [Mon, 06 Oct 2008 01:13:17 +0200] rev 500
Added _lm_connection_get_context as internal function.
Returns the GMainContext currently used by the LmConnection. Internal for now,
will be made public if needed from application level.
Jelmer Vernooij <jelmer@samba.org> [Sat, 04 Oct 2008 20:44:22 +0200] rev 499
Fixed compile error when asyncns is not available [#17]
Fixed a typo in lm-resolver that breaks compilation when libasyncns is not
available.
[#17 tagged:committed responsible:Hallski state:resolved]
committer: Mikael Hallendal <micke@imendio.com>
Mikael Hallendal <micke@imendio.com> [Thu, 28 Aug 2008 17:24:28 +0200] rev 498
Bumped version to 1.4.2
Andreas Köhler <andi5.py@gmx.net> [Thu, 28 Aug 2008 15:15:28 +0200] rev 497
Make lm_sha_hash thread safe. Fixes LM-64
Compute the checksum in a stack-local variable and the result is printed into a
newly allocated string of 41 bytes which is returned afterwards.
Patch from Andreas Köhler.
committer: Mikael Hallendal <micke@imendio.com>
Andreas Köhler <andi5.py@gmx.net> [Thu, 28 Aug 2008 15:13:20 +0200] rev 496
Make lm_sha_hash thread safe. Fixes LM-64
Compute the checksum in a stack-local variable and the result is printed into a
newly allocated string of 41 bytes which is returned afterwards.
Patch from Andreas Köhler.
committer: Mikael Hallendal <micke@imendio.com>
Frederic Peters <fpeters@0d.be> [Thu, 28 Aug 2008 14:41:14 +0200] rev 495
Fixed a compiler warning with gcc 4.3. Fixes LM-127
Patch from Frederic Peters.
committer: Mikael Hallendal <micke@imendio.com>
Frederic Peters <fpeters@0d.be> [Thu, 28 Aug 2008 14:40:25 +0200] rev 494
Fixed a compiler warning with gcc 4.3. Fixes LM-127
Patch from Frederic Peters.
committer: Mikael Hallendal <micke@imendio.com>
Leonid Evdokimov <leon@darkk.net.ru> [Thu, 28 Aug 2008 14:18:28 +0200] rev 493
Use GError instead of polution console with gnutls printouts. Fixes LM-126.
Patch from Leonid Evdokimov.
committer: Mikael Hallendal <micke@imendio.com>