summaryrefslogtreecommitdiff
path: root/src/fs/AllocatedPath.hxx
AgeCommit message (Collapse)Author
2018-08-20Compiler.h: move to util/Max Kellermann
2018-07-18fs/Path: add method ToUTF8Throw()Max Kellermann
2018-07-18fs/AllocatedPath: divert some methods to class PathMax Kellermann
Eliminate duplicate code.
2018-07-18fs/Traits: add Apply()Max Kellermann
2018-07-18fs/{,Allocated}Path: add typedef TraitsMax Kellermann
2018-01-17fs/AllocatedPath: make the nullptr_t constructor publicMax Kellermann
2017-06-04*: add lost of "noexcept" specificationsMax Kellermann
2017-05-08*: remove "pure" and "const" attributes from throwing functionsMax 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 prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2016-11-10fs/AllocatedPath: remove the obsolete class Error overloadMax Kellermann
2016-04-21fs/AllocatedPath: add method FromUTF8Throw()Max Kellermann
2016-04-21fs/AllocatedPath: add FromFS() with pointer rangeMax Kellermann
2016-04-21fs/AllocatedPath: make constructor "explicit"Max Kellermann
2016-04-12util/StringPointer: rename typedef pointer to pointer_typeMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-02-28fs/Path: pass Path to Relative()Max Kellermann
2015-02-28fs/AllocatedPath: use PathTraitsFS::Relative()Max Kellermann
Eliminate duplicate code.
2015-02-28fs/Path: rename RelativeFS() to Relative()Max Kellermann
2015-02-28fs/Path: make IsAbsolute() constMax Kellermann
2015-02-25fs/AllocatedPath: add nullptr_t constructorMax Kellermann
2015-02-25fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann
2015-01-13fs/AllocatedPath: add operator==Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-11-30fs/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-28fs/AllocatedPath: add method Steal()Max Kellermann
2014-09-28fs/AllocatedPath: API documentation grammar fixesMax Kellermann
2014-01-30fs/AllocatedPath: add conversion constructor from PathMax Kellermann
2014-01-30fs/AllocatedPath: add Build() overlays with Path argumentsMax Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov
2013-12-03AllocatedPath.hxx: use move constructorDenis Krjuchkov
2013-12-03fs/AllocatedPath: use PathTraits::BuildFSDenis Krjuchkov
2013-12-03fs/Traits.hxx: move definition of AllocatedPath::string to PathTraitsDenis Krjuchkov
2013-12-03fs/AllocatedPath.hxx: add FromFS(std::string) methodDenis Krjuchkov
2013-11-28include cleanup using iwyuMax Kellermann
2013-10-21fs/AllocatedPath: don't include glib.hMax Kellermann
2013-10-17fs/Path: rename to AllocatedPathMax 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.