Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-20 | Compiler.h: move to util/ | Max Kellermann | |
2018-07-18 | fs/Path: add method ToUTF8Throw() | Max Kellermann | |
2018-07-18 | fs/AllocatedPath: divert some methods to class Path | Max Kellermann | |
Eliminate duplicate code. | |||
2018-07-18 | fs/Traits: add Apply() | Max Kellermann | |
2018-07-18 | fs/{,Allocated}Path: add typedef Traits | Max Kellermann | |
2018-01-17 | fs/AllocatedPath: make the nullptr_t constructor public | Max Kellermann | |
2017-06-04 | *: add lost of "noexcept" specifications | Max Kellermann | |
2017-05-08 | *: remove "pure" and "const" attributes from throwing functions | Max Kellermann | |
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41. | |||
2017-05-08 | *: add "noexcept" to many, many function prototypes | Max Kellermann | |
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. | |||
2017-01-03 | update copyright year | Max Kellermann | |
2016-11-10 | fs/AllocatedPath: remove the obsolete class Error overload | Max Kellermann | |
2016-04-21 | fs/AllocatedPath: add method FromUTF8Throw() | Max Kellermann | |
2016-04-21 | fs/AllocatedPath: add FromFS() with pointer range | Max Kellermann | |
2016-04-21 | fs/AllocatedPath: make constructor "explicit" | Max Kellermann | |
2016-04-12 | util/StringPointer: rename typedef pointer to pointer_type | Max Kellermann | |
2016-02-26 | update copyright year to 2016 | Max Kellermann | |
2015-02-28 | fs/Path: pass Path to Relative() | Max Kellermann | |
2015-02-28 | fs/AllocatedPath: use PathTraitsFS::Relative() | Max Kellermann | |
Eliminate duplicate code. | |||
2015-02-28 | fs/Path: rename RelativeFS() to Relative() | Max Kellermann | |
2015-02-28 | fs/Path: make IsAbsolute() const | Max Kellermann | |
2015-02-25 | fs/AllocatedPath: add nullptr_t constructor | Max Kellermann | |
2015-02-25 | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | |
2015-01-13 | fs/AllocatedPath: add operator== | Max Kellermann | |
2015-01-01 | Copyright year 2015 | Max Kellermann | |
2014-11-30 | fs/Charset: return std::string from PathFromUTF8() | Max Kellermann | |
Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only. | |||
2014-09-28 | fs/AllocatedPath: add method Steal() | Max Kellermann | |
2014-09-28 | fs/AllocatedPath: API documentation grammar fixes | Max Kellermann | |
2014-01-30 | fs/AllocatedPath: add conversion constructor from Path | Max Kellermann | |
2014-01-30 | fs/AllocatedPath: add Build() overlays with Path arguments | Max Kellermann | |
2014-01-13 | copyright year 2014 | Max Kellermann | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | |
2013-12-03 | AllocatedPath.hxx: use move constructor | Denis Krjuchkov | |
2013-12-03 | fs/AllocatedPath: use PathTraits::BuildFS | Denis Krjuchkov | |
2013-12-03 | fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits | Denis Krjuchkov | |
2013-12-03 | fs/AllocatedPath.hxx: add FromFS(std::string) method | Denis Krjuchkov | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | |
2013-10-21 | fs/AllocatedPath: don't include glib.h | Max Kellermann | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. |