Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-08 | mapper: apply filesystem_charset to playlists | Max Kellermann | 1 | -1/+4 | |
This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored. | |||||
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-20 | mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ... | Max Kellermann | 1 | -1/+1 | |
Try to be as portable as possible, use GLib path name functions and macros. | |||||
2009-07-14 | playlist: no CamelCase | Max Kellermann | 1 | -2/+2 | |
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-25 | ls: moved generic URI utilities to uri.c | Max Kellermann | 1 | -1/+1 | |
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later. | |||||
2009-02-04 | playlist_save: added spl_save_playlist() | Max Kellermann | 1 | -0/+6 | |
spl_save_playlist() is a wrapper for spl_save_queue(). | |||||
2009-02-04 | playlist: renamed global "playlist" variable to "g_playlist" | Max Kellermann | 1 | -3/+3 | |
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c. | |||||
2009-01-25 | playlist: moved is_valid_playlist_name() to stored_playlist.c | Max Kellermann | 1 | -1/+1 | |
2009-01-25 | playlist: moved savePlaylist() and loadPlaylsit() to playlist_save.c | Max Kellermann | 1 | -0/+65 | |
2009-01-25 | stored_playlist: moved configuration variables from playlist.c | Max Kellermann | 1 | -1/+1 | |
Don't declare and export variables specific to stored playlists in playlist.c/playlist.h. | |||||
2009-01-08 | path: allocate buffer in fs_charset conversion functions | Max Kellermann | 1 | -6/+5 | |
Don't use fixed static buffers. GLib allocates a new string for us anyway, let's just return this one instead of copying it. | |||||
2009-01-04 | song: allocate the result of song_get_url() | Max Kellermann | 1 | -5/+7 | |
2009-01-04 | playlist: use uri_has_scheme() instead of isRemoteUrl() | Max Kellermann | 1 | -1/+1 | |
For internal checks (i.e. not in command.c), we need to check whether an URI is in the databse, in the local file system or a remote URI with a scheme. | |||||
2009-01-02 | mapper: allocate the result of map_directory_child_fs(), map_song_fs() | Max Kellermann | 1 | -2/+4 | |
Don't use fixed stack buffers. | |||||
2009-01-02 | mapper: allocate the result of map_uri_fs(), map_directory_fs() | Max Kellermann | 1 | -4/+8 | |
Don't use fixed stack buffers. | |||||
2008-12-24 | playlist: fix stored playlist modifications with absolute paths | Max Kellermann | 1 | -1/+1 | |
When save_absolute_paths_in_playlists was enabled in mpd.conf, MPD broke all playlists when manipulated using the "playlistdelete" command. The reason was that map_directory_child_fs() was used, which doesn't accept slashes in the file name. Use the new map_uri_fs() function instead. | |||||
2008-12-16 | ls: removed isValidRemoteUtf8Url() | Max Kellermann | 1 | -1/+1 | |
The function didn't do anything useful, it was just several lines obfuscating that it was only forwarding isRemoteUrl()'s return value. | |||||
2008-10-31 | update: check return values | Max Kellermann | 1 | -1/+2 | |
Nearly all mapper functions can fail and will then return NULL. Add checks to all callers. | |||||
2008-10-23 | stored_playlist: don't map files outside the database | Max Kellermann | 1 | -2/+3 | |
Don't attempt to map paths which are already absolute with map_song_fs(): check with song_in_database() instead of song_is_file(). | |||||
2008-10-14 | playlist: don't use uninitialized local variable (typo) | Max Kellermann | 1 | -1/+1 | |
Instead of the uninitialized local variable "s", I should have used "uri". | |||||
2008-10-14 | mapper: new song-to-filesystem mapper library | Max Kellermann | 1 | -8/+14 | |
The mapper library maps directory and song objects to file system paths. With this central library, the code mixture in path.c should be cleaned up, and we will be able to add neat features like aliasing. | |||||
2008-10-14 | playlist: moved code to playlist_save.c | Max Kellermann | 1 | -35/+26 | |
playlist_print_song() and playlist_print_uri() handle charset conversion and (optional) music directory prefixing. | |||||
2008-10-09 | database: renamed get_get_song() to db_get_song() | Max Kellermann | 1 | -1/+1 | |
Search'n'replace typo.. | |||||
2008-10-08 | database: renamed functions, "db_" prefix and no CamelCase | Max Kellermann | 1 | -12/+18 | |
Yet another CamelCase removal patch. | |||||
2008-10-08 | database: removed printDirectoryInfo() | Max Kellermann | 1 | -3/+0 | |
The same can be achieved with directory_print(db_get_directory()). | |||||
2008-10-08 | directory: moved code to database.c | Max Kellermann | 1 | -17/+27 | |
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects. | |||||
2008-10-08 | directory: converted typedef Directory to struct directory | Max Kellermann | 1 | -2/+2 | |
The struct can be forward-declared by other headers, which relaxes the header dependencies. |