summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-07-25Changing default avatar to a blue circled swiftTobias Markmann
The old default avatar does not work well with the new chat view design which uses circled avatars. This also uses the vector avatar internally in Swift and has Qt and the chat view engine scale it to the required size. Test-Information: Tested on OS X 10.11.5 with non-compact chat views and MUC conversations. Change-Id: I82580ecb91fc81f4fe9535aa9d3b214b720a40f3
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-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-10-17Disable online only actions when offline.Tobias Markmann
Disabling action, menu items and drag 'n' drop which require an online connection when the user is offline. Test-Information: Checked by going offline and checking the relevant actions and menu items. Change-Id: Iacfa2c9f815d3b9bbad9ca4c2d0d04f95ce9a9e4
2014-07-07Show own tooltip when hovering over roster header.Richard Maudsley
Test-Information: Made combinations of presence/vcard/avatar changes and verified that the information in the tooltip was synchronized. Connect two clients and verify that the tooltip presence text reflects the local client presence only. Change-Id: I92af0f58f7045f3a15f2fae2f9cbc6e24a066923
2014-05-19Fix compilationRemko Tronçon
Change-Id: Ia8ecc7fa0b35c48f51cb8bc2e1bade767d030eac
2014-05-18Fix uninitialized variablesRemko Tronçon
Change-Id: I95b6b67dcafe338561d3dfb28664bc3bba6d1159
2012-12-23Save recent status messages and allow easy setting.Kevin Smith
Change-Id: I5baaa2cf28cbc344bf442c4a74e0c9ff3ba31ea1
2012-06-17Style security button.Remko Tronçon
2012-06-17Added lock icon.Remko Tronçon
2012-05-11Showing stream encryption status in the roster header. Provide native ↵Tobias Markmann
certificate viewers on click. Native viewers for Windows and Mac OS X are implemented. Added TODOs to OpenSSL based TLS interface related to CRL and OCSP. Resolves: #167 License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2012-02-21Introduce system settings policies.Kevin Smith
Release-Notes: It is now possible for sysadmins to deploy files with policies for configuration options, such as making it impossible for users to save passwords or to force sound notifications off, or to set defaults. Also allow changing an option so that Swift disconnects on idle timeout, instead of going away.
2011-03-08Cache rounded avatars.Remko Tronçon
Resolves: #770
2011-02-22Fixed rounded rectangles not drawing background properly.Remko Tronçon
2011-02-22Round corners of avatars in roster.Remko Tronçon
2011-02-07Now make the roster header *really* clickable.Remko Tronçon
2011-01-30Clickable roster header for profile edits (incomplete)Kevin Smith
2010-12-12Don't hide the roster when clicking the system tray on OS X.Remko Tronçon
2010-12-12Added menu to switch between 'show nickname' and 'show JID' in roster header.Remko Tronçon
Resolves: #627 Release-Notes: The roster header can now be configured to show the JID instead of the nick.
2010-12-12Removing nickname change functionality from roster header.Remko Tronçon
2010-12-12Refactored own nickname handling.Remko Tronçon
2010-10-24Provide feedback in the status header when attempting to connect.Kevin Smith
Resolves: #657 Release-Notes: The status setter now shows when you're connecting.
2010-05-26Make better use of the elided text labels.Kevin Smith
Cache the elided text to avoid recalculating and making the QLabel superclass recalculate everything. Also using plaintext with a font instead of richtext means that it doesn't have to deal with truncated html tags. Hopefully Resolves: #398
2010-05-25Correctly scale avatars in the MeView.Kevin Smith
Resolves: #376
2010-05-24Elide text in the roster header when it's wider than the roster.Kevin Smith
Resolves: #369
2010-05-24Fiddle with the roster header layout a bit.Remko Tronçon
2010-05-23Start creating a prettier roster header.Kevin Smith
2010-04-08Added copyrights to Swift.Remko Tronçon
2009-11-02Set new status when Enter is pressed in the status change input.Kevin Smith
2009-10-16Mark as offline in the roster after an error.Kevin Smith
2009-08-30Parenthesising expressions to get rid of warnings.Kevin Smith
2009-08-29Show contact count on collapsed roster groupsKevin Smith
2009-08-16Adding in a button to the roster for 'Add Contact'Kevin Smith
2009-08-16MeView collapsing.Kevin Smith
Qt's peculiarities with which mouse events get passed where are evident here: clicking the toolbar collapses/expands, while if you're clicking the label, it has to be a doubleclick to collapse or expand.
2009-08-16Now show my avatar and JID in the 'me view'.Kevin Smith
At the moment it's my JID rather than my Name, because the NickResolver doesn't cope with our own Name. Also: the name resizing sometimes doesn't work. If it doesn't for you, make the roster very wide and then slowly resize it down.
2009-08-16Set the status text when changing presence.Kevin Smith
2009-08-16Adding the start of a 'me view' to the head of the roster.Kevin Smith