aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Song.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-07SongUpdate: pass Storage to UpdateFileInArchive()Max Kellermann1-1/+1
2014-02-06SongUpdate: use the Storage interface, support remote filesMax Kellermann1-2/+4
This commit finally allows the database update to scan remote files, e.g. using the smbclient storage plugin. However, it is not yet possible to configure that, therefore the feature is not accessible yet.
2014-01-24Database*: move to db/Max Kellermann1-0/+0
2014-01-19Song: make the "parent" attribute mandatoryMax Kellermann1-9/+5
The Song class is only used for database songs now. A Song without a Directory is not possible anymore.
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-4/+2
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-19Song: embed the Tag object statically into class SongMax Kellermann1-2/+2
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
2014-01-18Song: use the VarSize libraryMax Kellermann1-0/+3
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-52/+15
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-08SongUpdate: move code to handle_lsinfo()Max Kellermann1-1/+0
Don't create a temporary Song object in handle_lsinfo(). Instead, print all tags while parsing the remote file.
2013-12-29command: "lsinfo" and "readcomments" allowed for remote filesMax Kellermann1-0/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+1
2013-10-21Song: add method ReplaceTag()Max Kellermann1-0/+2
2013-10-21Song: pass reference to song_equals()Max Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-0/+4
2013-10-17Song: GetURI() returns std::stringMax Kellermann1-5/+4
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-07-30tag: convert to C++Max Kellermann1-1/+3
2013-07-30include cleanupMax Kellermann1-2/+0
2013-07-28song: convert header to C++Max Kellermann1-0/+147