Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-17 | Add test verifying Boost ASIO IPv4/IPv6 dual-stack socket support | Tobias Markmann | |
Test-Information: Tested on OS X 10.11.1. Change-Id: If63370404ac6586e2e48a19cbe7a0f0df9359c36 | |||
2015-07-07 | Use environment variables for addresses used in NetworkTest | Tobias Markmann | |
Introducing SWIFT_NETWORK_TEST_IPV4 and SWIFT_NETWORK_TEST_IPV6 for the host addresses used in BoostConnectionTest.cpp. Passing these variables and ASAN/LSAN_OPTIONS for memory leak detection when calling the test from SCons. Test-Information: Tested on Elementary OS with correct available hosts and unavailable hosts. In both cases the behavior is the same as before. Change-Id: I24128c766642c5a2ee273f7c11624525ae33e270 | |||
2015-02-09 | Fix data race in DummyEventLoop and BoostConnection(Server)Test reported by TSAN | Tobias 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-15 | Update Copyright in Swiften | Kevin Smith | |
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4 | |||
2014-10-21 | Fix 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-10 | Fix invalid characters being allowed in JID domains | Richard Maudsley | |
Test-Information: Prepare valid and invalid JIDs and make sure that isValid() is reported correctly. Added unit tests. Change-Id: Ic4d86f8b6ea9defc517ada2f8e3cc54979237cf4 | |||
2013-08-13 | Adding 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-06 | Make IDN implementation abstract. | Remko Tronçon | |
Change-Id: I4c64f954ddeca7147d729b8be07237baa15c1795 | |||
2013-02-11 | Fixed NetworkTest. | Remko Tronçon | |
Change-Id: I533b3ecf5ddc32f6163d32ad3a9d9d012c981997 | |||
2012-12-31 | Fix more warnings. | Remko Tronçon | |
Change-Id: I0fc27a08adb6aecd5c5775a52b7fe48570ed526a | |||
2012-06-05 | Added ICU support. | Remko Tronçon | |
2011-09-28 | Pass 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-18 | Propagate use of SafeByteArray down to the connection. | Remko Tronçon | |
2011-05-05 | Replace ByteArray by typedef. | Remko Tronçon | |
2011-04-30 | Replace #icnlude "" by #include <> in Swiften. | Remko Tronçon | |
2011-02-14 | Removed Swift::String. | Remko Tronçon | |
2011-01-26 | Make 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-21 | Code cleanup. | Remko Tronçon | |
2011-01-15 | Comply with asio's documentation that we cannot call async_write multiple ↵ | Remko Tronçon | |
times simultaniously. | |||
2010-12-18 | Move all domain name resolve queries into one thread. | Remko Tronçon | |
This avoids reentrancy problems on some platform DNS calls. Resolves: #443 | |||
2010-12-17 | Fixed IPv6 network test. | Remko Tronçon | |
2010-12-06 | Added IPv6 test. | Remko Tronçon | |
2010-10-27 | Remove MainEventLoop singleton. | Remko Tronçon | |
The event loop now needs to be explicitly passed to clients using it. | |||
2010-10-22 | Fix failing tests | Kevin Smith | |
2010-09-02 | Added check_output SCons flag to generate an XML report. | Remko Tronçon | |
2010-08-29 | Fixed link errors due to previous commit. | Remko Tronçon | |
2010-06-19 | Removed DNSSDTest from SConscript. | Remko Tronçon | |
2010-06-19 | Added DNSSDTest. | Remko Tronçon | |
2010-06-18 | Fix 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-21 | Fix non-determinism of DomainNameResolverTest. | Remko Tronçon | |
2010-04-08 | Added copyrights to Swiften. | Kevin Smith | |
2010-04-06 | Refactored DomainNameAddressQuery. | Remko Tronçon | |
Result can now consist of multiple addresses. | |||
2010-03-28 | Moving submodule contents back. | Remko Tronçon | |
2010-03-28 | Removing submodules. | Remko Tronçon | |
2010-03-28 | Moved Swiften to a separate module. | Remko Tronçon | |
2009-12-03 | DNS querying is now asynchronous. | Remko Tronçon | |
This means we can now move them to a separate thread. | |||
2009-11-20 | Fixed connection leak. | Remko Tronçon | |
2009-11-16 | Fix inconsistent build flags with test=X. | Remko Tronçon | |
2009-11-12 | Refactored DNS handling. | Remko Tronçon | |
Connections now fallback on other DNS entries upon failure, taking into account SRV priorities. | |||
2009-11-01 | Moving tests around. | Remko Tronçon | |
2009-09-03 | Move Swiften QA test into QA module. | Remko Tronçon | |
2009-08-16 | Remove autoconf/make files. | Remko Tronçon | |
2009-08-12 | Added Slimber & valgrind testing to SCons. | Remko Tronçon | |
2009-08-10 | Fix SCons building on os x again. | Remko Tronçon | |
2009-08-01 | Added BoostConnectionServer error signaling. | Remko Tronçon | |
2009-07-24 | Update 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-15 | Make stream stack layers reference counted. | Remko Tronçon | |
2009-07-14 | Make all Connection instances shared_ptrs. | Remko Tronçon | |
2009-07-14 | Consolidating IncomingConnection & Connection. | Remko Tronçon | |
BoostConnections no longer have their own thread, but are managed from a central Boost IO thread instead. |