summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-08-03Draw usernames in contact list in dark grayTobias Markmann
It now uses the same dark gray tone as the chat view uses for its text. Moved some constants to named variables for readability. Test-Information: Compact and non-compact contact lists, in the roster and MUC roster and the chats view all show the first line drawn in a dark gray instead of the hard black. Change-Id: Ief36fd4f27d30ace61f04d50e846db571ab84a4e
2016-04-01Modernize code to use C++11 nullptr using clang-tidyTobias Markmann
Run 'clang-tidy -fix -checks=modernize-use-nullptr' on all source code files on OS X. This does not modernize platform specific code on Linux and Windows Test-Information: Code builds and unit tests pass on OS X 10.11.4. Change-Id: Ic43ffeb1b76c1a933a55af03db3c54977f5f60dd
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 SwiftKevin Smith
Change-Id: Idb6ef5fa191b1465c0bf46c47e63b695de07fa0b
2014-05-27Fix QtTreeWidget compiler warnings.Richard Maudsley
Change-Id: Ib15a950faca1d0fcc9c20809e63b531160995247
2014-04-07Allow contacts to be dragged from the Chats tab into the search windowRichard Maudsley
Change-Id: Ib1ecd2f95fb26269d8aa19094aac6e1f691cdf35
2014-04-02Make the impromptu MUCs behave more like a regular chat.Richard Maudsley
This hides occupant types in the participant list and initiates a direct 1-to-1 on occupant double-click instead of MUC-proxied 1-to-1. Change-Id: I76c57fe52beb3e4236524c1d8cfbd583d3dc3f62
2014-01-11Fix screenreader rendering, and bump Windows builds to Qt-5.2Kevin Smith
Change-Id: I4709c5fb3924a527c2ed03ed5ca36747f3031f4c
2013-12-08Enable domain-wise (un-)blocking.Tobias Markmann
Change-Id: I88611bead558ccb58bec8d55372f847479e745ff License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2013-11-25When in screen-reader mode, change the text used in rosters to include more ↵Kevin Smith
information. Change-Id: I8807b2ce6d36dbce510a185f0e4e2c549c623225
2013-11-18Improve tooltips to include avatars, last seen and vcard information.Tobias Markmann
Change-Id: I3768d9891ba903c5e2ce8217de0b4413ce40bb9a License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
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-05-17Fixed unicode path handling.Remko Tronçon
- Use boost::filesystem::path consistently for referring to files. - Use boost::filesystem streams for I/O, such that paths are always handled correctly. - Use stringToPath and pathToString for conversion between strings and boost::filesystem::path, to ensure we have consistent unicode handling across platforms and environments. The default constructor and string conversion uses platform-dependent encoding, depending on the global locale set in the application, which causes problems. So, unless you are in platform dependent code, the default constructor and string() function should not be used. When constructing paths from other paths (e.g. using operator/), also use stringToPath (instead of string arguments) if the path can contain unicode characters. Change-Id: If286bd9e71c8414afc0b24ba67e26ab7608ef6ea
2013-03-27Adding support for Blocking Command (XEP-0191) to Swift(-en).Tobias Markmann
Change-Id: I7c92518dc389474d520d4cf96f96a11459f73d26 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2013-03-04Qt5 support & warning fixes.Remko Tronçon
Change-Id: I62c7d5ca44c915e36c797c798294b7c34b465514
2013-03-04Adding support for idle time.Tobias Markmann
Change-Id: I1b14edb97a0c87431ec377b084362e9761caded9 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2011-03-08Cache rounded avatars.Remko Tronçon
Resolves: #770
2011-02-19Make Swift translatable.Remko Tronçon
2011-02-14Removed Swift::String.Remko Tronçon
2011-02-07Moved Swift-specific roster code out of Swiften.Remko Tronçon
2010-11-15Sanitise the Roster widget on signout.Kevin Smith
This will hopefully avoid crashes in the RosterDelegate due to Qt believing that the RosterItems still exist and that it can read them. Unverified as I can't reproduce the crash on this machine, but hopefully Resolves: #678
2010-07-23Recognise when leaving a MUC (disconnect or kick).Kevin Smith
Also cleans up some outstanding MUC issues. Resolves: #288 Resolves: #392 Resolves: #279 Resolves: #114
2010-06-09Enabled & fixed some more C++ warnings.Remko Tronçon
2010-06-07Tentative fix for segfaulting on roster changes.Kevin Smith
Logically, this would fix it - but it's not reproduceable to check so we'll have to wait and see. It's possible that this is going to impact performance. Testing required. Resolves: #414
2010-06-04Starting towards tooltips for the colour-blind.Kevin Smith
Putting status show names along with the text in tooltips. Covers the MeView and roster entries. Still ToDo: status setter Resolves: #429
2010-05-26Don't let roster groups open and close on their own.Kevin Smith
Resolves: #368
2010-05-25Don't show a blank line for empty status in tooltips.Kevin Smith
Resolves: #384
2010-05-14Start roster groups expanded.Kevin Smith
Resolves: #343
2010-05-07Sort the rosterKevin Smith
2010-05-06Rewrite of large amounts of roster code.Kevin Smith
Now keeps widgets out of Swiften, keeps sorting inside Swiften, and keeps track of presences to show the correct presence per roster item. Resolves: #316 Resolves: #81 Resolves: #239
2010-04-08Added copyrights to Swift.Remko Tronçon
2009-10-11Fix for segfault on exit with open MUCs, and reinstate roster sorting.Kevin Smith
2009-08-29Finally sticky roster group expansion.Kevin Smith
2009-08-10Migrated all configure flags to SCons.Remko Tronçon
2009-08-08Group expandedness in roster persists between roster changes.Kevin Smith
2009-08-08Plumbing in place for roster group expansion. \nDoesn't work.Kevin Smith
2009-08-01Roster now includes avatars.Kevin Smith
2009-07-26Removing RosterItem and including in QtTreeWidgetItem.Kevin Smith
2009-07-26The new roster now renders (badly) the contents.Kevin Smith
2009-07-26Begin to assage Swift model into Qt Model/View.Kevin Smith