Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-05-10 | PlaylistCommands: remove redundant playlist_load_spl() call | Max Kellermann | 1 | -29/+0 | |
This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway. | |||||
2014-02-27 | Playlist: use the Error library to return errors | Max Kellermann | 1 | -3/+6 | |
2014-02-27 | Playlist*: move to queue/ | Max Kellermann | 1 | -1/+1 | |
2014-02-07 | PlaylistSave: use DetachedSong::GetRealURI() in playlist_print_song() | Max Kellermann | 1 | -12/+7 | |
The DetachedSong instance already knows its own absolute path, and there is no need to ask the mapper again. | |||||
2014-02-07 | Mapper: move map_song_detach() to db/DatabaseSong.cxx | Max Kellermann | 1 | -1/+1 | |
Use Storage::MapUTF8() internally, don't use global variables. | |||||
2014-02-03 | SongLoader: new class that merges duplicate code | Max Kellermann | 1 | -10/+4 | |
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files. | |||||
2014-02-03 | PlaylistSave: remove redundant backslash conversion | Max Kellermann | 1 | -16/+3 | |
This is already being done by FixSeparators(), called from PathToUTF8(). | |||||
2014-01-30 | db: add compile-time option to disable database | Max Kellermann | 1 | -2/+6 | |
2014-01-21 | DetachedSong: add attribute "real_uri" | Max Kellermann | 1 | -1/+2 | |
Prepare for UPnP songs that retain there database identity. | |||||
2014-01-20 | Queue: rename struct queue to Queue | Max Kellermann | 1 | -1/+1 | |
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway. | |||||
2014-01-19 | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 1 | -1/+0 | |
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -2/+3 | |
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. | |||||
2014-01-07 | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | 1 | -4/+3 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -1/+1 | |
2013-10-28 | player_control: rename to PlayerControl | Max Kellermann | 1 | -1/+1 | |
2013-10-20 | PlaylistError: convert playlist_result to a strictly-typed enum | Max Kellermann | 1 | -11/+11 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -12/+12 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -6/+6 | |
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 | PlaylistSave: eliminate the last g_warning() call | Max Kellermann | 1 | -1/+2 | |
2013-10-17 | Song: GetURI() returns std::string | Max Kellermann | 1 | -3/+2 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -1/+1 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -1/+4 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -1/+1 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -6/+4 | |
Replaces GLib's GError. | |||||
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -4/+4 | |
2013-04-08 | uri: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-02-02 | PlaylistSave.cxx: use FOpen | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -2/+0 | |
2013-01-29 | ConfigFile, CommandLine: use the Path class | Max Kellermann | 1 | -1/+2 | |
2013-01-28 | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 1 | -1/+2 | |
required | |||||
2013-01-26 | Mapper: improve usage of Path class | Denis Krjuchkov | 1 | -1/+1 | |
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 | -31/+16 | |
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 | Playlist: convert functions to methods | Max Kellermann | 1 | -4/+4 | |
2013-01-06 | queue: convert all functions to methods | Max Kellermann | 1 | -2/+2 | |
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
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 | -11/+13 | |
2012-09-28 | stored_playlist, playlist_save: use C++ compiler | Max Kellermann | 1 | -7/+9 | |
2012-06-12 | Work around incorrect g_file_test() behavior on Win32 | Denis Krjuchkov | 1 | -0/+1 | |
g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well. | |||||
2012-02-09 | playlist_save: add start/end_index parameters | Max Kellermann | 1 | -2/+7 | |
2011-09-11 | stored_playlist: return GError, code is playlist_result | Max Kellermann | 1 | -5/+5 | |
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 enum playlist_result to playlist_error.h | Max Kellermann | 1 | -0/+2 | |
Reduce header dependencies. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -3/+4 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. |