summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-02-09Fix data race in DummyEventLoop and BoostConnection(Server)Test reported by TSANTobias Markmann
The data race is on the events_ member in DummyEventLoop. A BoostIOServerThread can post events to the DummyEventLoop and thereby access its events_ data member while the test's main code processes events of the loop. To prevent access to the DummyEventLoop by the BoostIOServiceThread after the DummyEventLoop is deleted, the BoostIOServiceThread is deleted before the DummyEventLoop. Process remaining events in BoostConnectionTest::tearDown like we do in BoostConnectionServerTest::tearDown. Test-Information: Run multiple times on NetworkTest as TSAN enabled build on Linux. Without the patch it reports a data race for the events_ deque member. Change-Id: I3c85535338fc0ce0263dbfc3534aceb1dd09c137
2014-12-15Update Copyright in SwiftenKevin Smith
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4
2014-10-21Fix libunbound support in Swiften which was broken since API change in 8ec22a9.Tobias Markmann
Test-Information: Build for Android 4.3 (arm) and successfully ran checker in emulator VM. Change-Id: Iedaae5df367ee86bfe2375879b0e0981deef9b0a
2014-08-10Fix invalid characters being allowed in JID domainsRichard Maudsley
Test-Information: Prepare valid and invalid JIDs and make sure that isValid() is reported correctly. Added unit tests. Change-Id: Ic4d86f8b6ea9defc517ada2f8e3cc54979237cf4
2013-08-13Adding basic support for Android and Unbound (No IPv6 yet).Tobias Markmann
Change-Id: I1d74324515b20e0dc3d0ef4aa2f556fea7b4bee3 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.s
2013-04-06Make IDN implementation abstract.Remko Tronçon
Change-Id: I4c64f954ddeca7147d729b8be07237baa15c1795
2013-02-11Fixed NetworkTest.Remko Tronçon
Change-Id: I533b3ecf5ddc32f6163d32ad3a9d9d012c981997
2012-12-31Fix more warnings.Remko Tronçon
Change-Id: I0fc27a08adb6aecd5c5775a52b7fe48570ed526a
2012-06-05Added ICU support.Remko Tronçon
2011-09-28Pass read data from connection via shared_ptr.Remko Tronçon
This should avoid unnecessary copying of the received data while being processed by the event loop.
2011-05-18Propagate use of SafeByteArray down to the connection.Remko Tronçon
2011-05-05Replace ByteArray by typedef.Remko Tronçon
2011-04-30Replace #icnlude "" by #include <> in Swiften.Remko Tronçon
2011-02-14Removed Swift::String.Remko Tronçon
2011-01-26Make boost io_service a shared object.Remko Tronçon
This should avoid problems when destroying an event loop containing timer or network events, after the network factory (and io_service object) has disappeared (i.e. at shutdown).
2011-01-21Code cleanup.Remko Tronçon
2011-01-15Comply with asio's documentation that we cannot call async_write multiple ↵Remko Tronçon
times simultaniously.
2010-12-18Move all domain name resolve queries into one thread.Remko Tronçon
This avoids reentrancy problems on some platform DNS calls. Resolves: #443
2010-12-17Fixed IPv6 network test.Remko Tronçon
2010-12-06Added IPv6 test.Remko Tronçon
2010-10-27Remove MainEventLoop singleton.Remko Tronçon
The event loop now needs to be explicitly passed to clients using it.
2010-10-22Fix failing testsKevin Smith
2010-09-02Added check_output SCons flag to generate an XML report.Remko Tronçon
2010-08-29Fixed link errors due to previous commit.Remko Tronçon
2010-06-19Removed DNSSDTest from SConscript.Remko Tronçon
2010-06-19Added DNSSDTest.Remko Tronçon
2010-06-18Fix crash on reconnect.Remko Tronçon
BoostTimer isn't supposed to be constructed as a non-shared-ptr. Making constructor private to avoid this error in the future.
2010-04-21Fix non-determinism of DomainNameResolverTest.Remko Tronçon
2010-04-08Added copyrights to Swiften.Kevin Smith
2010-04-06Refactored DomainNameAddressQuery.Remko Tronçon
Result can now consist of multiple addresses.
2010-03-28Moving submodule contents back.Remko Tronçon
2010-03-28Removing submodules.Remko Tronçon
2010-03-28Moved Swiften to a separate module.Remko Tronçon
2009-12-03DNS querying is now asynchronous.Remko Tronçon
This means we can now move them to a separate thread.
2009-11-20Fixed connection leak.Remko Tronçon
2009-11-16Fix inconsistent build flags with test=X.Remko Tronçon
2009-11-12Refactored DNS handling.Remko Tronçon
Connections now fallback on other DNS entries upon failure, taking into account SRV priorities.
2009-11-01Moving tests around.Remko Tronçon
2009-09-03Move Swiften QA test into QA module.Remko Tronçon
2009-08-16Remove autoconf/make files.Remko Tronçon
2009-08-12Added Slimber & valgrind testing to SCons.Remko Tronçon
2009-08-10Fix SCons building on os x again.Remko Tronçon
2009-08-01Added BoostConnectionServer error signaling.Remko Tronçon
2009-07-24Update the build system.Remko Tronçon
Coverage now works better. Some files are cleaned by default (without the need of CLEANFILES).
2009-07-19(Client)Session & Connection refactoring.Remko Tronçon
ClientSession no longer sets up a connection. Connection no longer resolves addresses.
2009-07-15Make stream stack layers reference counted.Remko Tronçon
2009-07-14Make all Connection instances shared_ptrs.Remko Tronçon
2009-07-14Consolidating IncomingConnection & Connection.Remko Tronçon
BoostConnections no longer have their own thread, but are managed from a central Boost IO thread instead.
2009-06-10Moved Swiften/QA/UnitTest to QA/UnitTest.Remko Tronçon
2009-06-03Added bundled Expat.Remko Tronçon