summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-02-22Add LRUCache utility class to SwiftenTobias Markmann
This implements a simple lookup cache with least recently used replacement strategy. This also adds Boost.MultiIndex from version 1.56 to 3rdParty. Test-Information: Added some unit tests for LRUCache, which pass on macOS 10.12.3 with clang-5.0 Change-Id: I0567945b1197d3fe786bf9d82fdb5e755743b975
2016-11-23Migrate remaining Swiften/Base/foreach.h use to range-based for loopTobias Markmann
Test-Information: Build on macOS 10.12.1 and all tests pass. Change-Id: Iedaa3fa7e7672c77909fd0568bf30e9393cb87e0
2016-04-25Convert hard tabs to four spaces in all our SConscript/*.py filesTobias Markmann
Test-Information: Test that it still builds and unit test pass on OS X 10.11.4. Change-Id: I2eb4a0b707991aee553db36a8cd1ae28b813acab
2016-04-12Use C++11 threading library instead of Boost.ThreadTobias Markmann
This cuts down our dependency on Boost further. Another benefit is that mutex classes of C++11 standard library are recognized by TSAN. Test-Information: Unit and integration tests pass on OS X 10.11.4. Change-Id: Id4dcdb42e3d5155e107ce1d7618acbf26f913b6f
2016-04-05Migrate to Boost.Signals2 from Boost.SignalsTobias Markmann
Boost.Signals was deprecated and is not improved further. This patch removes Boost.Signals from 3rdParty and adds Boost.Signals2 and its dependencies. Also removed the Qt signals compatibility file Swiften/Base/boost_bsignals.h. Test-Information: Build and ran unit tests on OS X 10.11.4. Confirmed successful login using Swift client. Change-Id: Ie6e3b2d15aac2462cda95401582f5287a479fb54
2016-03-14Build all Swift projects as C++11Tobias Markmann
Added a SCons compiler test so that the build process fails early if C++11 is not supported. Remove C++11 checks as we now default to C++11 and they are not needed anymore. Ignore a Clang warning if building 3rdParty Boost. Test-Information: Tested build and unit tests on OS X 10.11.3. Change-Id: Icbecbd1e25e8d8bbe5f402f75355373a86b5f8a1
2016-01-11Fix IPv6 DNS resolution issues on WindowsTobias Markmann
Use values instead of define names for _WIN32_WINNT and NTDDI_VERSION defined needed for Windows.h configuration. Using the names boost fails to correctly detect getaddrinfo() support on Windows. Only run IPv6 related test cases in DomainNameResolverTest on Windows, if test_ipv6=1 is passed to the scons arguments. This is because on Windows getaddrinfo() will not return IPv6 related results when called with the AF_UNSPEC hint, unless the Windows host has global IPv6 connectivity. Changed the BoostConnectionTest to time out and not endlessly wait on a response from the remote host. Test-Information: Ran the following test configurations: * (SUCCESS) On Windows 8 with HE.net IPv6 tunnel to provide full IPv6 connectiviy: scons.bat test=system test_ipv6=1 Swiften/QA/NetworkTest * (SUCCESS) On Windows 8 with HE.net IPv6 tunnel to provide full IPv6 connectiviy: scons.bat test=system Swiften/QA/NetworkTest * (EXPECTED FAIL) On Windows 8 with no IPv6 connectiviy: scons.bat test=system test_ipv6=1 Swiften/QA/NetworkTest * (SUCCESS) On Windows 8 with no IPv6 connectiviy: scons.bat test=system Swiften/QA/NetworkTest Change-Id: I5adcd28e09e22acf61f7cca40b614e71df75dd70
2015-12-173rdParty fixes to enable compatibility with VS 2015Tobias Markmann
Included patches for future reference. Test-Information: Tested patches with VS 2015 Community and unit tests for 32 bit and 64 bit builds. Change-Id: Ifa8d0ca3bf33010af8d8094c6df45f2a5702976c
2014-11-12Link to rt-library when linking against bundled Boost.Tobias Markmann
Test-Information: Tested on CentOS 6.6 and FreeBSD 10. Did not build before on CentOS. Change-Id: I4ab4e283a0d951a9776ba89ab921d8c31e9c9ec4
2014-11-11Disable Boost signals deprecation warning.Tobias Markmann
Test-Information: Tested on Mac OS X. Change-Id: Ieba9521cd8131a08ddde000c194903f52c060a73
2014-10-20Update Boost in 3rdParty to version 1.56.0.Tobias Markmann
This updates Boost in our 3rdParty directory to version 1.56.0. Updated our update.sh script to stop on error. Changed error reporting in SwiftTools/CrashReporter.cpp to SWIFT_LOG due to missing include of <iostream> with newer Boost. Change-Id: I4b35c77de951333979a524097f35f5f83d325edc
2014-10-16Specify minimal Windows API version for Windows builds.Tobias Markmann
This sets _WIN32_WINNT and NTDDI_VERSION defines. The minimal version required is Windows Vista since smart card support requires this version. Test-Information: With these defines Swift/-en builds successfully on Windows 8.1 with VisualStudio Express 2013 for Desktop. Change-Id: I8745f201559cd9c401caef7661f09939dffae38f
2014-10-16Add missing shebang to Boost update script.Tobias Markmann
Test-Information: Without it would lead to executing failures for users of non-bash shells. Now it works nicely for these users. Change-Id: I63ef0c91d88800b382714692c0a37f6dcb14c283
2014-05-29Add boost::optional serializationKevin Smith
Needed by one of Richard's pending patches Change-Id: I64f6ab56065a51019a2d0c826e1bde6856970994
2013-09-30Provide map serialization.Kevin Smith
Needed for Tobias's upcoming patch Change-Id: Ie3a86f17338c053c80f7d02e696b9fe92741beba
2013-09-07Add boost serialization for std::setKevin Smith
Change-Id: Ide4798f72e9250e710e5e295f8d4c513272f65d2
2013-09-07Add boost::serialization for posix_time.Kevin Smith
Change-Id: Ie6acca254457933d891654cd0d29459e4c733270
2013-08-27PubSub implementation & Sluift refactoring.Remko Tronçon
Change-Id: I04ff7111b73565c00bff6db183451774a633344f
2013-08-22Add boost/scope_exit.Remko Tronçon
Change-Id: I6a38e842252aa24f456465d181ccf0aae763abb5
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-06Add boost serialization libraryKevin Smith
We'll need it before too long Change-Id: Ia34c7f26e1aedbc13a2fc10c980994cbcb7cb348
2013-01-13Adding in the spirit Boost stuffKevin Smith
Change-Id: I4f127ce61667243b64081b0aa309028d5077045f
2013-01-12make update.sh include spirit in bundled boostVlad Voicu
Change-Id: I1aa2f5567685a6c9de84d5026cba7737855bd4cb License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-12-23Update Boost to 1.52.0.Remko Tronçon
Change-Id: I1e56bea2600bf2ed9c5b3aba8c4f9d2a0f350e77
2012-09-08Added licenses for third party libraries and code.Remko Tronçon
2012-08-17Update to boost.filesystem v3.Remko Tronçon
Source should still compile against v2.
2012-08-10Added boost/date_time/c_local_time_adjustor.hpp.Remko Tronçon
2012-04-23Another fix for SRV selection.Remko Tronçon
2012-04-23Select SRV randomly, taking weight into account.Remko Tronçon
Resolves: #1030
2011-09-29File Transfer refactoring.Remko Tronçon
NAT traversal classes refactoring. Added beginnings of a NetworkTool.
2011-07-10Make SConscript files more robust against variant dirs.Remko Tronçon
2011-06-09Added boost/local_time.Remko Tronçon
2011-06-09DateTime refactoring.Remko Tronçon
Moved DateTime serializing into Base. Fixed a bug when XEP82 dates are non-UTC. Added unit tests.
2011-05-07Make Boost.BCP compile again.Remko Tronçon
2011-04-19Fixed OS X ProxyProvider compilation.Remko Tronçon
2011-03-14Updated Boost to 1.46.1.Remko Tronçon
This should hopefuily fix a hang on shutdown on Mac OS X. Resolves: #782 Release-Notes: Fixed a potential hang on shutdown on Mac OS X.
2011-03-14Force the use of Boost Filesystem V2.Remko Tronçon
Resolves: #783 Release-Notes: Fixed compilation on systems with a recent version of Boost installed.
2011-03-12Remove dependency on boost::property_tree again.Remko Tronçon
2011-03-11Store JID->Avatar mappings.Remko Tronçon
Resolves: #653
2011-03-05Detect pthread for platform flags.Remko Tronçon
2011-03-03Some more Sluift tweaks.Remko Tronçon
2011-03-01Introduce Lua::Value helper.Remko Tronçon
2011-02-19Make Swift translatable.Remko Tronçon
2011-02-13Removed some boilerplate classes.Remko Tronçon
2011-02-13Added boost factory.Remko Tronçon
2011-02-13Use boost string algorithms.Remko Tronçon
2011-02-12Cache stringprep results for JIDs.Remko Tronçon
2011-01-28Treat 3rdPatry boost/uuid dir as system dir.Remko Tronçon
This fixes compilation warnings in uuid.
2011-01-22Temporarily enabling kqueue again.Remko Tronçon
2011-01-22Revert "Another attempt at fixing the OS X hang on shutdown."Remko Tronçon
This reverts commit 5cac0d0b588b1a024ba3e6934f655d315909b656.