1. 27 Dec, 2009 1 commit
    • Max Kellermann's avatar
      dbUtils: return multiple tag values per song · d66c055f
      Max Kellermann authored
      When collecting tag values for the result set, add all of a song's tag
      values of the searched type.  This affects the "list" command.
      Previously, "list" only considered the first tag value of a song.
      d66c055f
  2. 26 Dec, 2009 1 commit
  3. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      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.
      5b82ffc2
  4. 13 Oct, 2009 1 commit
  5. 25 Aug, 2009 1 commit
  6. 14 Jul, 2009 1 commit
  7. 15 Mar, 2009 1 commit
  8. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      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.
      0aee49bd
  9. 27 Feb, 2009 1 commit
  10. 04 Feb, 2009 1 commit
  11. 25 Jan, 2009 1 commit
    • Max Kellermann's avatar
      use g_free() instead of free() · a45922cd
      Max Kellermann authored
      On some platforms, g_free() must be used for memory allocated by
      GLib.  This patch intends to correct a lot of occurrences, but is
      probably not complete.
      a45922cd
  12. 24 Jan, 2009 5 commits
  13. 22 Jan, 2009 1 commit
  14. 18 Jan, 2009 1 commit
  15. 04 Jan, 2009 1 commit
  16. 03 Jan, 2009 1 commit
  17. 24 Nov, 2008 1 commit
  18. 22 Oct, 2008 2 commits
  19. 15 Oct, 2008 1 commit
  20. 08 Oct, 2008 6 commits
  21. 07 Oct, 2008 2 commits
  22. 29 Sep, 2008 2 commits
    • Eric Wong's avatar
      Switch to C99 types (retaining compat with old compilers) · 0352766d
      Eric Wong authored
      Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the
      mind needs to retrain itself to skip over the first 4 tokens of
      a type to get to its meaning.  So avoid having extra characters
      on my terminal to make it easier to follow code at 2:30 am in
      the morning.
      
      Please report any new issues you may come across on Free
      toolchains.  I realize how difficult it can be to build/maintain
      cross-compiling toolchains and I have no intention of forcing
      people to upgrade their toolchains to build mpd.
      
      Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
      0352766d
    • Eric Wong's avatar
      allow searching for albums with an empty tag · a4019f7d
      Eric Wong authored
      tfing wrote:
      > I have quite some files with an empty album tag as they do not come
      > from a particular album.
      >
      > If I want to look for those files and browse them, this happens:
      > :: nc localhost 6600
      > OK MPD 0.12.0
      > find album ""
      > ACK [2@0] {find} too few arguments for "find"
      >
      > I'd like to be able to browse those files in a client like gmpc.
      > So these 2 items would have to be developed:
      > - list album should report that some files have an empty tag
      > - it should be possible to search for an empty tag with the find command
      
      Patch-by: Marc Pavot
      ref: http://musicpd.org/mantis/view.php?id=464
      a4019f7d
  23. 23 Sep, 2008 1 commit
    • Eric Wong's avatar
      Replace SongList with struct songvec · 0bec1d38
      Eric Wong authored
      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).
      0bec1d38
  24. 08 Sep, 2008 1 commit
    • Max Kellermann's avatar
      use strset.h instead of tagTracker.h · f0e64ceb
      Max Kellermann authored
      With a large music database, the linear string collection in
      tagTracker.c becomes very slow.  We implemented that in a
      quick'n'dirty fashion when we removed tree.c, and now we rewrite it
      using the fast hashed string set.
      f0e64ceb
  25. 07 Sep, 2008 4 commits
    • Max Kellermann's avatar
      tag: don't pass "fd" to printVisitedInTagTracker() · 4665f2bf
      Max Kellermann authored
      Pass the client struct instead of the raw file descriptor.
      4665f2bf
    • Max Kellermann's avatar
      pass "struct client" to dbUtils.c, song.c, tag_print.c · dc8b64fd
      Max Kellermann authored
      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.
      dc8b64fd
    • Max Kellermann's avatar
      directory: don't pass fd to traverseAllIn() · f320c9fa
      Max Kellermann authored
      This patch continues the work of the previous patch: don't pass a file
      descriptor at all to traverseAllIn().  Since this fd was only used to
      report "directory not found" errors, we can easily move that check to
      the caller.  This is a great relief, since it removes the dependency
      on a client connection from a lot of enumeration functions.
      f320c9fa
    • Max Kellermann's avatar
      directory: don't pass fd to traverseAllIn() callbacks · 528be8a0
      Max Kellermann authored
      Database traversal should be generic, and not bound to a client
      connection.  This is the first step: no file descriptor for the
      callback functions forEachSong() and forEachDir().  If a callback
      needs the file descriptor, it has to be passed in the void*data
      pointer somehow; some callbacks might need a new struct for passing
      more than one parameter.  This might look a bit cumbersome right now,
      but our goal is to have a clean API.
      528be8a0