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
2014-12-15Update Copyright in SwiftenKevin Smith
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4
2014-06-24Fix old avatar being displayed in QtRosterHeader when cleared.Richard Maudsley
Test-Information: Added unit tests for AvatarManagerImpl and CombinedAvatarProvider. Updated test cases to distinguish between error case and empty avatar. Tested changing between blank and non-blank avatars while watching MUC and 1-to-1 chats. Change-Id: I0bea89c7a22ae9c44a0b126e672a7af94b6f5049
2013-10-01Adding support for impromptu MUCs.Tobias Markmann
Change-Id: I363e9d740bbec311454827645f4ea6df8bb60bed 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
2012-03-20boost::shared_ptr<?>(new ?(...)) -> boost::make_shared<?>(...) ↵Tobias Markmann
transformation where possible. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-08-28Merge branch 'swift-1.x'Remko Tronçon
* swift-1.x: Keep VCard photo hash cache consistent. Fix assertion on inconsistent VCard photohash cache. Conflicts: Swift/Controllers/Storages/VCardFileStorage.cpp Swiften/Avatars/UnitTest/VCardAvatarManagerTest.cpp
2011-08-28Fix assertion on inconsistent VCard photohash cache.Remko Tronçon
Release-Notes: Don't crash when the VCard cache is inconsistent.
2011-08-28Merge branch 'swift-1.x'Remko Tronçon
* swift-1.x: Remove relaxation of not checking JIDs if the IQRouter's JID isn't set. Fixed Request::isAccountJID(). Check sender on incoming IQ responses.
2011-08-28Check sender on incoming IQ responses.Remko Tronçon
Release-Notes: Fixed a bug whereby the sender of an iq wasn't being checked before matching it to a request.
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-05Replace ByteArray by typedef.Remko Tronçon
2011-05-02Replace auto_ptr by shared_ptr.Remko Tronçon
2011-04-30Replace #icnlude "" by #include <> in Swiften.Remko Tronçon
2011-03-14Make sure the avatar gets updated in the chat window.Remko Tronçon
Combined avatar provider shouldn't look up avatars in the cache, because the specific providers can return different results if they use the bare JID. Resolves: #781 Release-Notes: Fixed a bug where the avatar was not updating in the chat window.
2011-03-11Fixed unnecessary updating and sending out VCard photo hash.Remko Tronçon
2011-02-14Removed Swift::String.Remko Tronçon
2010-10-26Fix compliation problems with CLang.Remko Tronçon
2010-10-24Clear VCardUpdate avatar hash on stream reset.Remko Tronçon
Resolves: #554 Release-Notes: Fixed a bug where avatars would no longer appear after reconnecting.
2010-09-11Added VCardAvatarManager for offline avatars.Remko Tronçon
Resolves: #418
2010-09-11Added CombinedAvatarProviderRemko Tronçon
2010-09-11Refactoring VCardUpdateAvatarManager.Remko Tronçon
2010-09-05Do not store null VCard avatars.Remko Tronçon
2010-09-05Clear VCardUpdateManager's cache upon login.Remko Tronçon
Resolves: #554
2010-08-24Split out VCardUpdateAvatarManager from AvatarManager.Remko Tronçon
2010-08-24Implemented VCardManager.Remko Tronçon
2010-08-21Fixed a few avatar unit tests.Remko Tronçon
2010-05-04Don't take an avatar from a presence type='error'.Remko Tronçon
Resolves: #336
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-12-24Extract the Chat dialog management from MainController into ChatsManager.Kevin Smith
There is a single unit test so far - but that's more than was there before, so I'm pushing. Expect more unit tests shortly. Resolves: #139
2009-08-16Remove autoconf/make files.Remko Tronçon
2009-07-09Temporarily disable avatar manager test.Remko Tronçon
2009-06-22Support vCard-based avatars in MUCs.Remko Tronçon
2009-06-20Added vCard-based avatars support.Remko Tronçon