summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-04Modernize code to use C++11 shared_ptr instead of Boost'sTobias Markmann
This change was done by applying the following 'gsed' replacement calls to all source files: 's/\#include <boost\/shared_ptr\.hpp>/\#include <memory>/g' 's/\#include <boost\/enable_shared_from_this\.hpp>/\#include <memory>/g' 's/\#include <boost\/smart_ptr\/make_shared\.hpp>/\#include <memory>/g' 's/\#include <boost\/make_shared\.hpp>/\#include <memory>/g' 's/\#include <boost\/weak_ptr\.hpp>/\#include <memory>/g' 's/boost::make_shared/std::make_shared/g' 's/boost::dynamic_pointer_cast/std::dynamic_pointer_cast/g' 's/boost::shared_ptr/std::shared_ptr/g' 's/boost::weak_ptr/std::weak_ptr/g' 's/boost::enable_shared_from_this/std::enable_shared_from_this/g' The remaining issues have been fixed manually. Test-Information: Code builds on OS X 10.11.4 and unit tests pass. Change-Id: Ia7ae34eab869fb9ad6387a1348426b71ae4acd5f
2016-03-31Convert tabs to 4 spaces for all source filesTobias Markmann
Removed trailing spaces and whitespace on empty lines in the process. Changed CheckTabs.py tool to disallow hard tabs in source files. Test-Information: Manually checked 30 random files that the conversion worked as expected. Change-Id: I874f99d617bd3d2bb55f02d58f22f58f9b094480
2016-03-30Apply consistent #include grouping and sorting styleTobias Markmann
Changed "" style includes to <> style. Test-Information: Build with Clang 3.9.0 and ran all tests on OS X 10.11.4. Change-Id: Ic05e53f2e5dba39cc1307b116fc5f17b62ab9eb8
2015-06-08Add missing SWIFTEN_API annotations to public Swiften APITobias Markmann
Test-Information: Tested build on Windows 8 with VS 2014 and ran unit tests. Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
2014-12-15Update Copyright in SwiftenKevin Smith
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4
2013-08-31Move newline handling for Base64 to VCard parser. IBB's Base64 won't have ↵Tobias Markmann
newlines. Change-Id: I700949ea572421972b53539b83c4d04ff4d368f0 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2013-08-31Fix Qt warnings in avatar loading and add multi-line support to Base64 decoder.Tobias Markmann
Change-Id: I451cd5e8a0258e2b6c87fffd1996cdd7319847a4 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2013-04-27Removing third-party hash implementations.Remko Tronçon
Using library/platform implementation instead. Change-Id: I2457c2dad80e6fdda023a7f31c3906ff10fe09ed
2013-04-26Replace third-party Base64 by our own algorithm.Remko Tronçon
Change-Id: I48037fbc475c84f55dd74054bceb187a4798244a
2013-04-18Implemented different hexify.Remko Tronçon
Change-Id: Iad114775661f5f8f11070acf203c559cbf69fade
2013-04-18Replacing Base64 by LibTomCrypt implementation.Remko Tronçon
Change-Id: I6c3fe2c7c8acfad9a2c811ff26e02cc952880c19
2013-03-04Qt5 support & warning fixes.Remko Tronçon
Change-Id: I62c7d5ca44c915e36c797c798294b7c34b465514
2012-12-30Enable & fix pedantic CLang warnings.Remko Tronçon
Change-Id: I70109624b4bd7aab9ba679a3eaabc225dd64a03a
2012-10-03Include SafeByteArray in file that uses itKevin Smith
2012-09-17Support for building swiften as a DLLRemko Tronçon
Added missing SWIFTEN_API declarations. Changed test infrastructure to extend path before running tests.
2012-07-17Only acquire crypt context once on Windows.Remko Tronçon
2012-07-14Initial DLL support for Swiften.Remko Tronçon
All applications succesfully link against Swiften.dll.
2012-02-28Make Swift more usable in a FIPS-140 environmentKevin Smith
Don't allow DIGEST-MD5 when Windows is set to FIPS mode. Use platform-provided hashing for SHA1.
2011-09-25Google Summer of Code 2011 Project: Adding support for Jingle File Transfers ↵Tobias Markmann
(XEP-0234), Jingle SOCKS5 Bytestreams Transport Method (XEP-0260), Jingle In-Band Bytestreams Transport Method (XEP-0261) and SOCKS5 Bytestreams (XEP-0065). License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-08-12Added missing include.Remko Tronçon
2011-08-12Added HMAC-SHA256.Remko Tronçon
2011-08-12Don't hard-code HMAC block size.Remko Tronçon
2011-08-12Added SHA256.Remko Tronçon
2011-08-12Refactored stringcodec functions to make them independent of hash algos.Remko Tronçon
2011-06-13Added CppCheck script.Remko Tronçon
Tweaked the sources to satisfy cppcheck.
2011-06-03Limit the use of the SafeString type.Remko Tronçon
2011-05-25Change include order so clang doesn't complain anymore.Tobias Markmann
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-05-18Introduce safe containers for storing passwords.Remko Tronçon
2011-05-05Replace ByteArray by typedef.Remko Tronçon
2011-05-02Add a generic erase() algorithm.Remko Tronçon
2011-04-30Replace #icnlude "" by #include <> in Swiften.Remko Tronçon
2011-04-18Fixed tests on windows.Remko Tronçon
2011-04-18Make SHA1 stateful.Remko Tronçon
Resolves: #814
2011-03-12Added optimized version of HMACSHA1 as comment.Remko Tronçon
2011-03-12Simplified HMAC-SHA1 a bit.Remko Tronçon
2011-02-14Removed Swift::String.Remko Tronçon
2010-12-30Show certificate fingerprint in 'Trust certificate' dialog.Remko Tronçon
2010-10-26Fix compliation problems with CLang.Remko Tronçon
2010-06-09Enabled & fixed some more C++ warnings.Remko Tronçon
2010-04-08Fix bug in copyrighter script that handled MD5 copyright incorrectly.Remko Tronçon
2010-04-08Added copyrights to Swiften.Kevin Smith
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-11-27Added MD5 hashing algorithm.Remko Tronçon
Moved 'hexifying' of hashes into its own class, such that it can be shared between all hashes.
2009-11-21Added PBKDF2 encoding.Remko Tronçon
2009-11-19Added missing files of previous commit.Remko Tronçon
2009-09-30Added SHA-1 and Base64 tests for empty input data.Remko Tronçon
2009-08-22Fix expanded tab characters.Remko Tronçon
2009-08-16Remove autoconf/make files.Remko Tronçon