summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-26Improve API clarity of MUCSearchItem::setParentTobias Markmann
Change MUCSearchItem::setParent to take weak_ptr over shared_ptr and converting it to weak_ptr in the method. Test-Information: Builds on OS X 10.11.6. Tested that various MUC room searches still work. Change-Id: I26d62861c99957759127c18a629bdda3635012c7
2016-08-25Alphabetically sort MUC search resultTobias Markmann
This also changes the classes around MUCSearchModel to C++11 smart pointer based memory management. Test-Information: Verified that dtors of MUCSearch*Items are called when old search results are replaced by new search results. This was not the case previously. All unit tests and manual testing with an ASAN enabled build succeeded. Change-Id: I84d62f3b86138728401b98d3774f47c72fdf9a4c
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
2013-03-04Qt5 support & warning fixes.Remko Tronçon
Change-Id: I62c7d5ca44c915e36c797c798294b7c34b465514
2011-06-13Added CppCheck script.Remko Tronçon
Tweaked the sources to satisfy cppcheck.
2011-03-14Use "OK" instead of "Ok" for consistency.Remko Tronçon
Resolves: #791
2011-03-08Fixed crash on Qt 4.7.0 + Windows XP.Remko Tronçon
2011-02-20Make Swift translatable.Remko Tronçon
2011-02-19Make Swift translatable.Remko Tronçon
2011-02-14Removed Swift::String.Remko Tronçon
2011-01-22Remove compilation warning.Remko Tronçon
2011-01-22Work around Qt crash bug when destroying the selection list in MUC search.Remko Tronçon
2011-01-22Link against debug version of Qt on windows.Remko Tronçon
2011-01-21Add a search button in MUC search dialog.Remko Tronçon
Resolves: #750
2011-01-21Disable 'ok' button when no MUC is selected in MUC search.Remko Tronçon
Resolves: #749
2011-01-20Added MUC search title.Remko Tronçon
2011-01-20Use a dedicated Join MUC dialog.Remko Tronçon
2011-01-18Cleaned up some code.Remko Tronçon
2010-12-22Basic User Search support, and Find Rooms cleanup.Kevin Smith
Adds a throbber to the MUC search, turns the Add Contact dialog into something searchy, adds the option to open chats to arbitrary JIDs. Resolves: #614 Resolves: #695 Resolves: #436 Release-Notes: On servers that support it, users can now perform searches for contacts to add or chat to.
2010-12-17Fixed IPv6 network test.Remko Tronçon
2010-11-16Remember previous MUC service searches.Kevin Smith
Resolves: #615 Release-Notes: The MUC Search will now remember previously searched services.
2010-10-01Expand search results when adding a new service to find MUC dialog.Kevin Smith
Resolves: #574
2010-06-20Allow the Find Room window to resize.Kevin Smith
Resolves: #424
2010-06-06Pressing Enter in the room field of the MUC Find window now joins the room.Kevin Smith
Resolves: #449
2010-06-04Put logo on MUC search window.Remko Tronçon
2010-06-04Add option to autojoin when joining a room.Kevin Smith
Resolves: #380
2010-05-31Enter to add new service in MUC Search.Kevin Smith
Resolves: #374
2010-05-13List MUCs available on services.Kevin Smith
Resolves: #276