summaryrefslogtreecommitdiff
path: root/src/fs/Path.hxx
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-03-13fs/Path: make constructor `explicit`Max Kellermann
2020-03-13fs: use `using` instead of `typedef`Max Kellermann
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2020-01-03util/{Const,Writable}Buffer: drop "_type" from type namesMax Kellermann
Behave like STL.
2019-06-17Copyright year 2019Max Kellermann
2019-05-31fs/Path: add `constexpr`Max Kellermann
2019-04-24fs/Path: add `noexcept`Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-08-20Compiler.h: move to util/Max Kellermann
2018-07-18fs/Path: add method ToUTF8Throw()Max Kellermann
2018-07-18fs/{,Allocated}Path: add typedef TraitsMax Kellermann
2018-07-17fs/Path: add operator/(Path,Path)Max Kellermann
Modeled after std::filesystem::operator/() from C++17.
2018-01-17fs/Path: replace method Null() with nullptr_t constructorMax Kellermann
2017-06-04*: add lost of "noexcept" specificationsMax Kellermann
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-04-12util/StringPointer: rename typedef pointer to pointer_typeMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-06-23fs/Path: include cleanupMax Kellermann
2015-06-23fs/Path: use base class StringPointerMax Kellermann
2015-06-23fs/Path: use method c_str() internallyMax Kellermann
2015-03-05fs/Path: use the "const_pointer" typedefMax Kellermann
2015-03-03fs/Traits: add Find()Max Kellermann
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann
2015-03-01fs/Path: add method GetSuffix()Max Kellermann
Type-safe wrapper for uri_get_suffix().
2015-02-28fs/Path: pass Path to Relative()Max Kellermann
2015-02-28fs/Path: rename RelativeFS() to Relative()Max Kellermann
2015-02-28fs/Path: make IsAbsolute() constMax Kellermann
2015-02-25fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-02fs/Path: add methods GetBase() and GetDirectoryName()Max Kellermann
2014-02-07fs/Traits: add function Relative()Max Kellermann
Move code from Path::RelativeFS() and make it generic.
2014-01-13copyright year 2014Max Kellermann
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov
2013-11-28include cleanup using iwyuMax 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.
2013-10-17fs/Path: move definitions to struct PathTraitsMax Kellermann
2013-10-17fs/Path: include clenaupMax Kellermann
2013-10-17fs/Charset: don't allow nullptr argumentsMax Kellermann
2013-10-17fs/Path: move configuration code to Config.cxxMax Kellermann
2013-10-17fs/Path: move path_domain to Domain.hxxMax Kellermann
2013-10-17fs/Path: include cleanupMax Kellermann
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann
2013-10-15gcc.h: rename to Compiler.hMax Kellermann
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann
2013-10-14fs/Path: add separator constants/functionsMax Kellermann
2013-10-14fs/Path: add method RelativeFS()Max Kellermann
Move code from map_fs_to_utf8().
2013-10-14fs/Path: add method data()Max Kellermann