Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-20 | PlaylistError: convert playlist_result to a strictly-typed enum | Max Kellermann | 1 | -9/+9 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -3/+3 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -18/+19 | |
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-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 1 | -1/+2 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 1 | -3/+4 | |
2013-10-17 | fs/Limits: convert macro to "constexpr" | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 1 | -0/+1 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -1/+1 | |
2013-10-14 | PlaylistFile: always check for absolute paths within music_directory | Max Kellermann | 1 | -9/+11 | |
Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths. | |||||
2013-10-14 | PlaylistFile: fix memory leak | Max Kellermann | 1 | -12/+10 | |
Consistently use std::string in LoadPlaylistFile(). | |||||
2013-10-14 | Mapper: map_fs_to_utf8() returns std::string | Max Kellermann | 1 | -5/+3 | |
Avoid the conversion to an allocated char*, let the caller decide. | |||||
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -10/+10 | |
2013-10-02 | Listen, ...: add missing includes | Max Kellermann | 1 | -0/+2 | |
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+2 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-05 | conf.h: move constants to ConfigDefaults.hxx | Max Kellermann | 1 | -0/+1 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -83/+68 | |
Replaces GLib's GError. | |||||
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -5/+5 | |
2013-05-06 | PlaylistFile: use DirectoryReader and file system API | Denis Krjuchkov | 1 | -27/+24 | |
2013-04-08 | uri: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-02-02 | PlaylistFile.cxx: use file system API | Denis Krjuchkov | 1 | -6/+5 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -2/+0 | |
2013-01-29 | ConfigFile, CommandLine: use the Path class | Max Kellermann | 1 | -2/+3 | |
2013-01-28 | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 1 | -4/+3 | |
2013-01-26 | Mapper: improve usage of Path class | Denis Krjuchkov | 1 | -3/+3 | |
2013-01-22 | Path: move to fs subdirectory | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-18 | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 1 | -42/+27 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-09 | idle: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | PlaylistFile: reuse classes PlaylistInfo and PlaylistVector | Max Kellermann | 1 | -4/+6 | |
.. instead of rolling own classes. | |||||
2013-01-03 | PlaylistFile: fix memory leak | Max Kellermann | 1 | -0/+1 | |
2013-01-03 | TextFile: convert to a class | Max Kellermann | 1 | -6/+3 | |
2013-01-03 | text_file: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | database.h: eliminate db_*_song() | Max Kellermann | 1 | -8/+9 | |
Use the C++ API. | |||||
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2012-10-04 | PlaylistFile, client_file, tag_id3: don't use g_file_error_quark() | Max Kellermann | 1 | -4/+3 | |
g_file_error_quark() is meant to be used with the GFileError enum which does not correspond with errno, but must be converted with g_file_error_from_errno(). At the same time, this removes g_strerror() use for g_file_error_quark(). | |||||
2012-09-28 | main: use C++ compiler | Max Kellermann | 1 | -1/+1 | |
2012-09-28 | PlaylistFile: use std::list instead of GPtrArray | Max Kellermann | 1 | -100/+53 | |
2012-09-28 | stored_playlist, playlist_save: use C++ compiler | Max Kellermann | 1 | -8/+12 | |
2012-09-28 | stored_playlist: make variables more local | Max Kellermann | 1 | -46/+25 | |
2012-08-16 | DatabasePlugin: add method ReturnSong() | Max Kellermann | 1 | -1/+3 | |
Allow the plugin to allocate the GetSong() return value. | |||||
2011-09-11 | stored_playlist: return GError, code is playlist_result | Max Kellermann | 1 | -114/+190 | |
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client. | |||||
2011-09-11 | playlist: move PLAYLIST_COMMENT to stored_playlist.c | Max Kellermann | 1 | -0/+2 | |
Only used there. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-12-23 | stored_playlist: remove database lookups from spl_load() | Max Kellermann | 1 | -7/+1 | |
Don't look up songs in the database, no caller needs this. | |||||
2010-12-23 | stored_playlist: ignore empty lines | Max Kellermann | 1 | -1/+1 | |
2010-12-23 | stored_playlist: use the text_file library to read lines | Max Kellermann | 1 | -6/+4 | |
2010-07-25 | database, ...: remove EINTR checks after stdio calls | Max Kellermann | 1 | -10/+10 | |
MPD doesn't have child processes anymore, and thus we're not expecting to receive SIGCHLD very often. Since hard disk access isn't interrupted by signals anyway, we don't need those excessive checks. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-08 | mapper: apply filesystem_charset to playlists | Max Kellermann | 1 | -6/+21 | |
This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored. |