Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-18 | Improve string to HostAddress conversion API | Tobias Markmann | |
Previously HostAddress had a constructor which allowed initialisation via a std::string. This initialisation can fail and this is heavily used for checking whether a string is a valid IP address. This constructor is removed in this commit and replaced by a static method HostAddress::fromString, taking a string and returning an optional HostAddress. This clearly communicates that the conversion can fail. Test-Information: ./scons test=all passes on macOS 10.12.1. Change-Id: Idaafee6f84010ce541c55f267ac77ad6ac8f02b4 | |||
2016-04-04 | Modernize code to use C++11 shared_ptr instead of Boost's | Tobias 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-31 | Convert tabs to 4 spaces for all source files | Tobias 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-30 | Apply consistent #include grouping and sorting style | Tobias 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-15 | Update Copyright in Swiften | Kevin Smith | |
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4 | |||
2012-03-20 | boost::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-05-25 | Change 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-05 | Replace ByteArray by typedef. | Remko Tronçon | |
2011-04-30 | Replace #icnlude "" by #include <> in Swiften. | Remko Tronçon | |
2011-04-18 | Cleaned up includes.swift-2.0alpha | Remko Tronçon | |
2011-02-14 | Removed Swift::String. | Remko Tronçon | |
2011-01-21 | Code cleanup. | Remko Tronçon | |
2010-10-27 | Remove MainEventLoop singleton. | Remko Tronçon | |
The event loop now needs to be explicitly passed to clients using it. | |||
2010-10-26 | Fix compliation problems with CLang. | Remko Tronçon | |
2010-04-24 | Fix leaks in LinkLocalConnector. | Remko Tronçon | |
2010-04-24 | Don't lookup duplicate discovered link-local services. | Remko Tronçon | |
This fixes a segfault due to the old query being deleted when a duplicate query is started. | |||
2010-04-08 | Added copyrights to Swiften. | Kevin Smith | |
2010-03-28 | Moving submodule contents back. | Remko Tronçon | |
2010-03-28 | Removing submodules. | Remko Tronçon | |
2010-03-28 | Moved Swiften to a separate module. | Remko Tronçon | |
2009-08-16 | Remove autoconf/make files. | Remko Tronçon | |
2009-08-01 | Added LinkLocalConnector::cancel(). | Remko Tronçon | |
2009-08-01 | Made Slimber fully functional again. | Remko Tronçon | |
2009-08-01 | Added LinkLocalConnectorTest. | Remko Tronçon | |
2009-07-30 | Added unit test that triggers the assertion on self service removal. | Remko Tronçon | |
2009-07-30 | Make Slimber use the new LinkLocal framework. | Remko Tronçon | |
XMPP Server is temporarily out of order. | |||
2009-07-30 | Proide a description for LinkLocalServices. | Remko Tronçon | |
2009-07-30 | Created LinkLocalPresenceManager. | Remko Tronçon | |
2009-07-27 | Improve LinkLocalServiceInfo unit test. | Remko Tronçon | |
2009-07-26 | Test LinkLocal service registration. | Remko Tronçon | |
2009-07-26 | Make DNSSD independent of LinkLocalServiceInfo. | Remko Tronçon | |
2009-07-26 | Implement fake DNSSD querier. | Remko Tronçon | |
2009-07-25 | Move LinkLocalServiceID->DNSSDServiceID. | Remko Tronçon | |
2009-07-23 | Add DNS service factory. | Remko Tronçon | |
2009-07-23 | Added more LinkLocalServiceBrowser tests. | Remko Tronçon | |
2009-07-22 | Started LinkLocalServiceBrowser. | Remko Tronçon | |
2009-07-17 | Implemented clean session/connection shutdown. | Remko Tronçon | |
2009-07-17 | Implement LinkLocalServiceInfo TXT record. | Remko Tronçon | |