Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 2014-01-19 | 1 | -11/+19 |
| | | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | ||||
* | db/simple: make borrowed_song_count "mutable" | Max Kellermann | 2014-01-19 | 1 | -2/+2 |
| | | | | Simpler to use than const_cast. | ||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 2014-01-11 | 1 | -1/+3 |
| | | | | Allow database plugins to announce that they have been modified. | ||||
* | Directory: remove method Free() | Max Kellermann | 2014-01-09 | 1 | -2/+2 |
| | |||||
* | TextFile: move to fs subsystem | Denis Krjuchkov | 2013-12-08 | 1 | -1/+1 |
| | |||||
* | db/SimpleDatabasePlugin.cxx: don't use CheckAccess with mode on Windows | Denis Krjuchkov | 2013-12-05 | 1 | -2/+5 |
| | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -1/+0 |
| | |||||
* | *: update copyright year to 2013 | Max Kellermann | 2013-10-30 | 1 | -1/+1 |
| | |||||
* | DatabaseSelection: use std::string | Max Kellermann | 2013-10-29 | 1 | -2/+2 |
| | |||||
* | TagType: rename enum tag_type to TagType | Max Kellermann | 2013-10-20 | 1 | -1/+1 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -2/+2 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-19 | 1 | -8/+8 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Client, ...: remove unnecessary glib.h include | Max Kellermann | 2013-10-15 | 1 | -2/+0 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -4/+5 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | filesystem/Path: use std::string | Max Kellermann | 2013-10-02 | 1 | -2/+1 |
| | |||||
* | Listen, ...: add missing includes | Max Kellermann | 2013-10-02 | 1 | -0/+2 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -70/+53 |
| | | | | Replaces GLib's GError. | ||||
* | db_error: convert to C++ | Max Kellermann | 2013-08-10 | 1 | -1/+1 |
| | |||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -12/+3 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -2/+2 |
| | |||||
* | DatabasePlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 1 | -3/+3 |
| | |||||
* | song: convert header to C++ | Max Kellermann | 2013-07-28 | 1 | -4/+4 |
| | |||||
* | SimpleDatabasePlugin: use file system API, log in UTF-8 | Denis Krjuchkov | 2013-02-02 | 1 | -25/+23 |
| | |||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 1 | -0/+6 |
| | | | | required | ||||
* | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 2013-01-18 | 1 | -2/+3 |
| | |||||
* | decoder_api.h, ...: add "extern C" | Max Kellermann | 2013-01-07 | 1 | -3/+0 |
| | |||||
* | TextFile: convert to a class | Max Kellermann | 2013-01-03 | 1 | -7/+4 |
| | |||||
* | Directory: rename struct directory to Directory | Max Kellermann | 2013-01-03 | 1 | -4/+4 |
| | |||||
* | Directory: turn functions to methods | Max Kellermann | 2013-01-02 | 1 | -12/+10 |
| | |||||
* | Directory: make the header C++ only | Max Kellermann | 2013-01-02 | 1 | -2/+1 |
| | |||||
* | db_lock: convert to C++ | Max Kellermann | 2013-01-02 | 1 | -2/+2 |
| | |||||
* | db_save, state_file: convert to C++ | Max Kellermann | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | db/SimpleDatabasePlugin: fix memory leak in Visit() | Max Kellermann | 2012-09-05 | 1 | -7/+11 |
| | | | | | | | When visiting a song, GetSong() was called, but this object was never returned by calling ReturnSong(). This patch locks the database only once in Visit() and passes the original song object to the visitor, avoiding the copy. | ||||
* | db_lock: add C++ helper class ScopeDatabaseLock | Max Kellermann | 2012-09-05 | 1 | -11/+6 |
| | |||||
* | SongFilter: convert to a C++ class | Max Kellermann | 2012-08-29 | 1 | -1/+1 |
| | |||||
* | DatabaseSelection: add method Match() | Max Kellermann | 2012-08-29 | 1 | -2/+1 |
| | |||||
* | locate: rename to SongFilter.cxx | Max Kellermann | 2012-08-29 | 1 | -1/+1 |
| | |||||
* | DatabasePlugin: add method ReturnSong() | Max Kellermann | 2012-08-16 | 1 | -0/+20 |
| | | | | Allow the plugin to allocate the GetSong() return value. | ||||
* | DatabasePlugin: add method GetStats() | Max Kellermann | 2012-08-15 | 1 | -0/+7 |
| | | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs. | ||||
* | DatabasePlugin: add method VisitUniqueTags() | Max Kellermann | 2012-08-15 | 1 | -0/+11 |
| | | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs. | ||||
* | db_visitor: delete obsolete header | Max Kellermann | 2012-08-15 | 1 | -1/+0 |
| | |||||
* | DatabaseSelection: add "match" attribute | Max Kellermann | 2012-08-08 | 1 | -2/+5 |
| | | | | Let the database plugin do the match. | ||||
* | db_selection: rename to DatabaseSelection | Max Kellermann | 2012-08-07 | 1 | -2/+2 |
| | |||||
* | Database{Plugin,Visitor}: pass references | Max Kellermann | 2012-08-07 | 1 | -7/+7 |
| | |||||
* | DatabasePlugin: make Visit() const | Max Kellermann | 2012-08-02 | 1 | -2/+2 |
| | |||||
* | db_plugin: convert to C++ | Max Kellermann | 2012-08-01 | 1 | -0/+315 |