1. 01 Apr, 2009 2 commits
  2. 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
  3. 09 Mar, 2009 1 commit
  4. 28 Feb, 2009 1 commit
    • Max Kellermann's avatar
      directory: added "mtime" property · 2aebbf84
      Max Kellermann authored
      Remember the modification time of each directory.  This is important
      for archives (which are virtual directories right now), but may also
      be useful for an automatic update mechanism.
      2aebbf84
  5. 27 Feb, 2009 1 commit
  6. 04 Jan, 2009 1 commit
  7. 16 Dec, 2008 1 commit
  8. 31 Oct, 2008 1 commit
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  9. 13 Oct, 2008 3 commits
  10. 09 Oct, 2008 3 commits
  11. 08 Oct, 2008 11 commits
  12. 06 Oct, 2008 1 commit
    • Eric Wong's avatar
      directory: simplify list update handling logic · 37a8239f
      Eric Wong authored
      Now the "update" command can be issued multiple times regardless
      of whether the client is in list mode or not.
      
      We serialize the update tasks to prevent updates from trampling
      over each other and will spawn another update task
      once the current one is finished updating and reaped.
      
      Right now we cap the queue size to 32 which is probably enough (I
      bet most people usually run update with no argument anyways);
      but we can make it grow/shrink dynamically if needed.  There'll
      still be a hard-coded limit to prevent DoS attacks, though.
      37a8239f
  13. 29 Sep, 2008 3 commits
  14. 26 Sep, 2008 1 commit
  15. 23 Sep, 2008 4 commits
  16. 07 Sep, 2008 4 commits
    • 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 updateInit() · 8e3c40f0
      Max Kellermann authored
      Again, move error handling to command.c.
      8e3c40f0
    • 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
  17. 06 Sep, 2008 1 commit