Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-22 | Playlist*, Queue: use GetDatabase() overload without Error | Max Kellermann | 1 | -1/+1 | |
Don't use IgnoreError() when there's an overload that does not try to give us one. | |||||
2013-10-21 | GetBaseUTF8 | Max Kellermann | 1 | -3/+3 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -2/+2 | |
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 | -2/+3 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -2/+2 | |
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -23/+23 | |
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 1 | -1/+1 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -2/+3 | |
Replaces GLib's GError. | |||||
2013-07-30 | tag: convert to C++ | Max Kellermann | 1 | -4/+4 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -27/+24 | |
2013-04-08 | uri: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-28 | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 1 | -9/+6 | |
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 | -2/+2 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-08 | song: don't use GLib | Max Kellermann | 1 | -0/+2 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | ls.h: rename to ls.hxx | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | database.h: eliminate db_*_song() | Max Kellermann | 1 | -3/+8 | |
Use the C++ API. | |||||
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | playlist_{any,song,queue}: convert to C++ | Max Kellermann | 1 | -2/+5 | |
2012-10-05 | playlist_song: fix potential charset bug in apply_song_metadata() | Max Kellermann | 1 | -2/+9 | |
The song's URI must be UTF-8, not filesystem character set. | |||||
2012-08-16 | DatabasePlugin: add method ReturnSong() | Max Kellermann | 1 | -5/+6 | |
Allow the plugin to allocate the GetSong() return value. | |||||
2012-08-16 | playlist_song: pass const song to _check_load_song() | Max Kellermann | 1 | -1/+1 | |
2012-08-16 | playlist_song: fix user-after-free bug | Max Kellermann | 1 | -1/+3 | |
2012-08-14 | playlist_song: use map_to_relative_path() | Max Kellermann | 1 | -4/+4 | |
2012-08-14 | playlist_song: improve const-correctness | Max Kellermann | 1 | -5/+4 | |
2012-08-14 | playlist_song: move code to playlist_check_load_song() | Max Kellermann | 1 | -23/+23 | |
2012-02-13 | mapper: add mapper_get_music_directory() | Max Kellermann | 1 | -3/+1 | |
Shortcut for map_directory_fs(db_get_root()). | |||||
2011-10-06 | playlist_song: allow references to songs outside the musicdir | Max Kellermann | 1 | -0/+6 | |
When we have an absolute path that's not inside the music directory, allow loading it anyway, if we're in "secure" mode (i.e. the client is connected via UNIX socket). | |||||
2011-10-06 | playlist_song: fix absolute path support in playlists | Jesús Bravo Álvarez | 1 | -3/+2 | |
Right now, a playlist with absolute pathnames can only add songs that are in the same the directory of the playlist or under it. If uri is an absolute pathname and base_uri is set, playlist_check_translate_song() will check that base_uri is a prefix of uri, excluding every other song in the music directory outside base_uri. I think in this case base_uri should be completely ignored (and made NULL) and uri should just be checked against music root directory. | |||||
2011-05-09 | playlist_song: fix playlist files in base music directory | Max Kellermann | 1 | -0/+7 | |
g_path_get_dirname() returns "." when there is no directory name in the given path. This patch adds a workaround for that. | |||||
2011-05-09 | playlist_song: fix NULL pointer dereference | Max Kellermann | 1 | -1/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-12-23 | playlist_song: add flag "secure" | Max Kellermann | 1 | -5/+7 | |
Optionally allow all local files. "Insecure" mode is used for printing playlists. | |||||
2010-11-08 | playlist_song: calculate duration of last CUE track | Max Kellermann | 1 | -0/+8 | |
2010-07-25 | playlist_song: fix memory leak | Max Kellermann | 1 | -0/+2 | |
Free the temporary path string in apply_song_metadata(). | |||||
2010-02-08 | playlist_queue: moved check_translate_song() to playlist_song.c | Max Kellermann | 1 | -0/+139 | |