Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-21 | Stop throwing out of range exception from dateTimeToLocalString | Tobias Markmann | |
The dateTimeToLocalString uses boost functions that may throw an out of range exception for times earlier than 1970. This commit caches this exception and just returns an empty string in this case. Test-Information: Added a unit test to verify this behavior. Change-Id: I05eb17605331e14d9eac04fbfd286362e7d4eb46 | |||
2014-12-15 | Update Copyright in Swiften | Kevin Smith | |
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4 | |||
2013-05-17 | Fixed 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 | |||
2012-11-13 | Allow BOSH URL setting again. | Kevin Smith | |
Also fixes use of getPort() so that HTTP headers aren't all for port :1. Change-Id: I8ead8a7f4826d1105bf1feafea21e6139e803de7 Resolves: #1178 | |||
2012-10-05 | Strip leading '/' from BOSH paths. | Remko Tronçon | |
Resolves: #1167 | |||
2012-09-17 | Fixed URL parsing/serializing. | Remko Tronçon | |
Resolves: #1157,#1158 | |||
2012-09-15 | Added URL parser. | Remko Tronçon | |
2011-10-14 | Resurrecting simple ID generator. | Remko Tronçon | |
2011-06-09 | DateTime refactoring. | Remko Tronçon | |
Moved DateTime serializing into Base. Fixed a bug when XEP82 dates are non-UTC. Added unit tests. | |||
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 | Chop off trailing \0 in ByteArray::toString(). | Remko Tronçon | |
2011-04-18 | Added ByteArray unit tests for null termination. | Remko Tronçon | |
2011-03-12 | Allow empty hashes in cache. | Remko Tronçon | |
2011-03-12 | Make ByteArray an std::vector<unsigned char>. | Remko Tronçon | |
2011-02-14 | Removed Swift::String. | Remko Tronçon | |
2011-02-14 | String refactoring. | Remko Tronçon | |
Removed String::getLength(). Rewrote String::removeAll(). | |||
2010-08-19 | Added getExecutablePath(). | Remko Tronçon | |
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-12-22 | Add a PreviousStatusStore. | Kevin Smith | |
2009-09-30 | Fix ByteArray::getData() when bytearray is empty. | Remko Tronçon | |
Also did similar fix for ByteArray constructor. | |||
2009-08-22 | Fix expanded tab characters. | Remko Tronçon | |
2009-08-16 | Remove autoconf/make files. | Remko Tronçon | |
2009-07-31 | Add String::split(). | Remko Tronçon | |
2009-06-22 | Use lowercase app name for application dir on Un*x systems. | Remko Tronçon | |
2009-06-01 | Import. | Remko Tronçon | |