aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-6/+11
| | | | | | From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
* fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-051-2/+2
|
* include cleanup using iwyuMax Kellermann2013-11-281-2/+0
|
* Mapper: _get_music_directory_utf8() may return nullptrMax Kellermann2013-11-221-1/+3
| | | | | | If no music_directory is configured, return nullptr instead of an empty string. This fixes a crash when db_file is configured without music_directory.
* *: use nullptr instead of NULLMax Kellermann2013-10-281-2/+2
|
* *: use references instead of pointersMax Kellermann2013-10-191-11/+11
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-34/+35
| | | | | | | 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.
* fs/Path: move definitions to struct PathTraitsMax Kellermann2013-10-171-2/+3
|
* fs/Path: move configuration code to Config.cxxMax Kellermann2013-10-171-1/+2
|
* Mapper: use std::stringMax Kellermann2013-10-171-16/+11
|
* Mapper: remove obsolete variable music_dir_fs_lengthMax Kellermann2013-10-151-2/+0
|
* fs/Path: add separator constants/functionsMax Kellermann2013-10-141-17/+4
|
* fs/Path: add method RelativeFS()Max Kellermann2013-10-141-11/+5
| | | | Move code from map_fs_to_utf8().
* Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann2013-10-141-1/+1
| | | | Micro-optimization.
* Mapper: map_fs_to_utf8() returns std::stringMax Kellermann2013-10-141-6/+2
| | | | Avoid the conversion to an allocated char*, let the caller decide.
* Log: new logging library APIMax Kellermann2013-10-021-12/+14
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* Daemon, Mapper: move-assign the Path objectsMax Kellermann2013-10-011-2/+2
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-32/+20
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* song: convert header to C++Max Kellermann2013-07-281-5/+5
|
* DirectoryReader: rename Failed() to HasFailed() for consistency with TextFileDenis Krjuchkov2013-05-051-1/+1
|
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-9/+36
| | | | required
* Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov2013-01-281-1/+5
|
* Mapper: improve usage of Path classDenis Krjuchkov2013-01-261-31/+28
|
* Path: move to fs subdirectoryDenis Krjuchkov2013-01-221-1/+1
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-51/+31
|
* path: convert to C++Max Kellermann2013-01-171-4/+1
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-2/+2
|
* Directory: turn functions to methodsMax Kellermann2013-01-021-2/+2
|
* Directory: make the header C++ onlyMax Kellermann2013-01-021-1/+1
|
* mapper: convert to C++Max Kellermann2013-01-021-0/+297