- 06 May, 2009 1 commit
-
-
Max Kellermann authored
If the UFID frame's owner is "http://musicbrainz.org", assume its value is the MusicBrainz track id.
-
- 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.
-
- 02 Mar, 2009 2 commits
-
-
Max Kellermann authored
Added a small AIFF parser library, code copied from the RIFF parser (big-endian integers). Look for an "ID3" chunk, and let libid3tag parse it.
-
Max Kellermann authored
Added a small RIFF parser library. Look for an "id3" chunk, and let libid3tag parse it.
-
- 24 Jan, 2009 2 commits
-
-
Max Kellermann authored
Added support for the MusicBrainz TXXX tags, documented on: http://musicbrainz.org/doc/MusicBrainzTag
-
Max Kellermann authored
Save some code: always allocate the tag object, and free it when it turns out to be empty.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Don't return a writable pointer.
-
- 14 Jan, 2009 1 commit
-
-
Daniele Sluijters authored
Read the id3 tags "TPE2" and "TSO2" into the "album artist" tag.
-
- 04 Jan, 2009 1 commit
-
-
Max Kellermann authored
Pass NULL instead of &error to g_convert(). We're not interested in the error object.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 29 Dec, 2008 2 commits
-
-
Max Kellermann authored
-
Thomas Jansen authored
Fix for bug #1491.
-
- 02 Dec, 2008 1 commit
-
-
Thomas Jansen authored
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.
-
- 17 Oct, 2008 1 commit
-
-
Max Kellermann authored
If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
-
- 15 Oct, 2008 2 commits
-
-
Max Kellermann authored
GLib provides an easier API for character set conversion than iconv(). Use g_convert() / g_convert_with_fallback() for all character conversions. We should optimize the path.h API later to return a newly allocated buffer, so we can just pass GLib's return value.
-
Max Kellermann authored
Indentation was broken in tag_id3.c: it used 4 spaces instead of tabs.
-
- 29 Aug, 2008 4 commits
-
-
Max Kellermann authored
Yet another patch which converts pointer arguments to "const".
-
Max Kellermann authored
The ID3 code uses only the public tag API, but is otherwise unrelated. Move it to a separate source file.
-
Max Kellermann authored
-
Max Kellermann authored
Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures.
-
- 28 Aug, 2008 2 commits
-
-
Max Kellermann authored
The usual bunch of pointer arguments which should be const.
-
Max Kellermann authored
Use "unsigned int" whenever negative values are not meaningful. Use size_t whenever we are going to describe buffer sizes.
-
- 26 Aug, 2008 1 commit
-
-
Max Kellermann authored
Don't use CPP macros when you can use C enum... this also allows better type checking.
-
- 12 Apr, 2008 3 commits
-
-
Max Kellermann authored
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Max Kellermann authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@7287 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Max Kellermann authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@7286 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 26 Mar, 2008 2 commits
-
-
Max Kellermann authored
When dealing with in-memory lengths, the standard type "size_t" should be used. Missing one can be quite dangerous, because an attacker could provoke an integer under-/overflow, which may provide an attack vector. git-svn-id: https://svn.musicpd.org/mpd/trunk@7205 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Max Kellermann authored
Local variables which are never read before the first assignment don't need initialization. Saves a few bytes of text. Also don't reset variables which are never read until function return. git-svn-id: https://svn.musicpd.org/mpd/trunk@7199 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 05 Feb, 2008 1 commit
-
-
Max Kellermann authored
[ew: cleaned up the dirty union hack a bit] Signed-off-by:
Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 26 Jan, 2008 1 commit
-
-
Max Kellermann authored
Signed-off-by:
Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7143 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 03 Jan, 2008 1 commit
-
-
Eric Wong authored
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 28 Dec, 2007 1 commit
-
-
Eric Wong authored
thread-safety work in preparation for rewrite to use pthreads Expect no regressions against trunk (r7078), possibly minor performance improvements in update (due to fewer heap allocations), but increased stack usage. Applied the following patches: * maxpath_str for reentrancy (temporary fix, reverted) * path: start working on thread-safe variants of these methods * Re-entrancy work on path/character-set conversions * directory.c: exploreDirectory() use reentrant functions here * directory/update: more use of reentrant functions + cleanups * string_toupper: a strdup-less version of strDupToUpper * get_song_url: a static-variable-free version of getSongUrl() * Use reentrant/thread-safe get_song_url everywhere * replace rmp2amp with the reentrant version, rmp2amp_r * Get rid of the non-reentrant/non-thread-safe rpp2app, too. * buffer2array: assert strdup() returns a usable value in unit tests * replace utf8ToFsCharset and fsCharsetToUtf8 with thread-safe variants * fix storing playlists w/o absolute paths * parent_path(), a reentrant version of parentPath() * parentPath => parent_path for reentrancy and thread-safety * allow "make test" to automatically run embedded unit tests * remove convStrDup() and maxpath_str() * use MPD_PATH_MAX everywhere instead of MAXPATHLEN * path: get rid of appendSlash, pfx_path and just use pfx_dir * get_song_url: fix the ability to play songs in the top-level music_directory git-svn-id: https://svn.musicpd.org/mpd/trunk@7106 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 21 Nov, 2007 1 commit
-
-
Qball Cow authored
and with different field types. This fixes comments for id3v1 and id3v2 git-svn-id: https://svn.musicpd.org/mpd/trunk@7040 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 26 May, 2007 1 commit
-
-
J. Alexander Treuman authored
call to FATAL(). git-svn-id: https://svn.musicpd.org/mpd/trunk@6276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 05 Apr, 2007 1 commit
-
-
Avuton Olrich authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 31 Mar, 2007 1 commit
-
-
J. Alexander Treuman authored
into account). git-svn-id: https://svn.musicpd.org/mpd/trunk@5792 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 20 Mar, 2007 2 commits
-
-
J. Alexander Treuman authored
pointing it out. git-svn-id: https://svn.musicpd.org/mpd/trunk@5673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
J. Alexander Treuman authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 09 Mar, 2007 1 commit
-
-
Warren Dukes authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 23 Feb, 2007 1 commit
-
-
Qball Cow authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-