Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-08-29 | Tag: use SignedSongTime for the song duration | Max Kellermann | 1 | -3/+3 | |
2014-08-28 | db/LightSong: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 1 | -8/+11 | |
2014-08-28 | DetachedSong: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 1 | -2/+2 | |
2014-07-12 | SongPrint: use DetachedSong::GetDuration() | Max Kellermann | 1 | -1/+5 | |
Fixes the bogus duration of the last track in a CUE sheet. | |||||
2014-03-01 | command: add command "listfiles" | Max Kellermann | 1 | -19/+25 | |
Lists files and directories. Supports storage plugins. | |||||
2014-02-07 | StoragePlugin: add method MapToRelativeUTF8() | Max Kellermann | 1 | -3/+11 | |
Replaces map_to_relative_path() from Mapper.cxx. | |||||
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -1/+1 | |
2014-01-24 | Client*: move to client/ | Max Kellermann | 1 | -1/+1 | |
2014-01-22 | LightDirectory: new struct replacing Directory in the DB API | Max Kellermann | 1 | -1/+0 | |
2014-01-19 | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 1 | -6/+8 | |
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | |||||
2014-01-19 | Song: embed the Tag object statically into class Song | Max Kellermann | 1 | -2/+1 | |
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -9/+45 | |
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. | |||||
2013-10-23 | UriUtil: uri_remove_auth() returns std::string | Max Kellermann | 1 | -10/+4 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -18/+18 | |
2013-07-30 | tag: convert to C++ | Max Kellermann | 1 | -2/+2 | |
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-01-30 | TagPool, ...: include cleanup | Max Kellermann | 1 | -0/+2 | |
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -2/+2 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | Directory: turn functions to methods | Max Kellermann | 1 | -2/+2 | |
2013-01-02 | Directory: make the header C++ only | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | *_print: convert to C++ | Max Kellermann | 1 | -4/+7 | |
2012-08-08 | time_print: new library, function time_print() | Max Kellermann | 1 | -26/+3 | |
Implements error checking for the gmtime_r() call, which was missing in two code locations. | |||||
2012-01-24 | directory: replace songvec with doubly linked list | Max Kellermann | 1 | -1/+0 | |
2011-09-13 | db_print: move code to function db_selection_print() | Max Kellermann | 1 | -15/+0 | |
Use it in handle_lsinfo(), and eliminate some duplicate code. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-07-25 | {queue,song}_print: print relative paths if possible | Max Kellermann | 1 | -1/+3 | |
If a song with an absolute path points inside the music directory, print only the relative part. This happens when partial songs from a playlist file were loaded. | |||||
2010-06-25 | song_print: simplified start_ms/end_ms check | Max Kellermann | 1 | -12/+10 | |
2010-05-18 | command: fallback strftime() formats on WIN32 | Max Kellermann | 1 | -1/+7 | |
On WIN32, "%F" and "%T" are not implemented. | |||||
2010-02-08 | song_print: song_print() returns void | Max Kellermann | 1 | -6/+7 | |
The only "return" statement always returns 0. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-27 | song: added support for selecting a time range | Max Kellermann | 1 | -0/+13 | |
Added attributes start_ms, end_ms. This allows us to address a portion of a song file (important for CUE support). There is no support yet for storing these attributes in the state file. | |||||
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-10-13 | song: renamed attribute "url" to "uri" | Max Kellermann | 1 | -5/+5 | |
2009-07-06 | song_print: check gmtime_r()'s return value | Max Kellermann | 1 | -7/+11 | |
When song->mtime was not initialized properly, it was revealed that strftime() might crash when gmtime_r() returns NULL due to an invalid time_t input value. | |||||
2009-07-05 | song_print: send song modification time to client | Max Kellermann | 1 | -0/+17 | |
Added the response line "Last-Modified", which sends the modification time in ISO 8601. The same was already implemented for playlists. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-02-27 | song_print: hide HTTP password in playlist | Max Kellermann | 1 | -1/+11 | |
Added the uri_remove_auth() library function which strips username and password from a HTTP URI, and use it in song_print_url(). This allows you to add HTTP URIs to the playlist including secret username and password, without disclosing it to all MPD clients. | |||||
2009-01-04 | directory: added directory_is_root() | Max Kellermann | 1 | -1/+1 | |
directory_is_root() is cheaper than isRootDirectory(directory_get_path()). | |||||
2008-10-08 | directory: fix update in root directory | Max Kellermann | 1 | -1/+1 | |
Commit 0bfe7802 broke update for new files in the root directory, because music_root->path was an empty string and not NULL. There were some NULL tests missing. Change them to !isRootDirectory(path) instead of path!=NULL. | |||||
2008-10-08 | directory: eliminate CamelCase | Max Kellermann | 1 | -1/+1 | |
CamelCase is ugly, rename the functions. | |||||
2008-10-08 | song: removed CamelCase | Max Kellermann | 1 | -2/+2 | |
CamelCase is ugly... rename all functions. | |||||
2008-10-08 | song: converted typedef Song to struct song | Max Kellermann | 1 | -3/+6 | |
Again, a data type which can be forward-declared. | |||||
2008-10-07 | song: use songvec_for_each() in songvec_print() / songvec_save() | Max Kellermann | 1 | -8/+8 | |
songvec_for_each() has locking, use it instead of manually iterating over the songvec items. | |||||
2008-10-07 | song: replace printSong* with song_print_* | Eric Wong | 1 | -4/+4 | |
This make argument order more consistent for iterators. Additionally, these now return ssize_t results for error checking. | |||||
2008-09-23 | Replace SongList with struct songvec | Eric Wong | 1 | -6/+7 | |
Our linked-list implementation is wasteful and the SongList isn't modified enough to benefit from being a linked list. So use a more compact array of song pointers which saves ~200K on a library with ~9K songs (on x86-32). | |||||
2008-09-07 | pass "struct client" to dbUtils.c, song.c, tag_print.c | Max Kellermann | 1 | -10/+10 | |
Don't pass the raw file descriptor around. This migration patch is rather large, because all of the sources have inter dependencies - we have to change all of them at the same time. |