- 16 Sep, 2011 1 commit
-
-
Max Kellermann authored
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
-
- 31 Mar, 2011 1 commit
-
-
Jonathan Neuschäfer authored
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 2 commits
-
-
Max Kellermann authored
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
-
Avuton Olrich authored
-
- 31 Dec, 2009 2 commits
-
-
Max Kellermann authored
This is like tag_dup(), but works with an input_stream object instead of a file path.
-
Max Kellermann authored
Minor code simplification.
-
- 11 Nov, 2009 1 commit
-
-
Max Kellermann authored
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
-
- 07 Nov, 2009 1 commit
-
-
Max Kellermann authored
Remove the static integer hack, that's not thread safe and sucks.
-
- 20 Oct, 2009 1 commit
-
-
Max Kellermann authored
Try to be as portable as possible, use GLib path name functions and macros.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 12 Oct, 2009 1 commit
-
-
Max Kellermann authored
Moved all the code which depends on the decoder plugins to a separate source. That allows leaner test programs.
-
- 06 Jul, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 28 Feb, 2009 1 commit
-
-
Max Kellermann authored
-
- 25 Feb, 2009 1 commit
-
-
Max Kellermann authored
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
-
- 15 Feb, 2009 1 commit
-
-
Max Kellermann authored
The decoder_plugin struct is used by both the MPD core and the decoder plugin implementations. Move it to a shared header file, to minimize header dependencies.
-
- 23 Jan, 2009 1 commit
-
-
Max Kellermann authored
Removed unused includes.
-
- 17 Jan, 2009 2 commits
-
-
Max Kellermann authored
If a song is not within the music directory ("file:///..."), it has no "parent directory". The archive code nonetheless dereferences the parent pointer, causing a segmentation fault. Check parent!=NULL.
-
Max Kellermann authored
Some plugins used the APE or ID3 tag loader as a fallback when their own methods of loading tags did not work. Move this code out of all decoder plugins, into song_file_update().
-
- 04 Jan, 2009 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
directory_is_root() is cheaper than isRootDirectory(directory_get_path()).
-
Max Kellermann authored
-
Max Kellermann authored
Determine the suffix manually, and use decoder_plugin_from_suffix() and archive_plugin_from_suffix() instead. This way, song_file_update_inarchive() can be optimized: it does not have to translate its path.
-
Max Kellermann authored
Newline characters are already checked in skip_path() (update.c).
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2009 1 commit
-
-
Max Kellermann authored
Don't use fixed stack buffers.
-
- 29 Dec, 2008 1 commit
-
-
Max Kellermann authored
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
-
- 16 Dec, 2008 1 commit
-
-
Viliam Mateicka authored
-
- 01 Nov, 2008 1 commit
-
-
Max Kellermann authored
The decoder_plugin structs must never change. Don't work with non-const pointers.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
Nearly all mapper functions can fail and will then return NULL. Add checks to all callers.
-
- 15 Oct, 2008 2 commits
-
-
Max Kellermann authored
Don't load non-regular files.
-
Max Kellermann authored
Clients which have authenticated via unix socket may add local files to the MPD playlist, provided that they own the file.
-
- 14 Oct, 2008 2 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
song_get_url() doesn't modify the song object.
-
- 13 Oct, 2008 2 commits
-
-
Max Kellermann authored
isMusic() used to be a very inefficient function: with every invocation, it did another stat() on the specified file. There is only one caller, do the stat() there manually and use hasMusicSuffix() instead of isMusic().
-
Eric Wong authored
-
- 08 Oct, 2008 2 commits
-
-
Max Kellermann authored
CamelCase is ugly, rename the functions.
-
Max Kellermann authored
The runtime check suggests that the author has somehow thought song_get_url(NULL) might be valid. It should not be. Replace it with an assertion.
-