1. 05 Jul, 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. 02 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. 03 Jan, 2009 1 commit
  8. 29 Dec, 2008 1 commit
    • Max Kellermann's avatar
      removed os_compat.h · 95b3430f
      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.
      95b3430f
  9. 28 Dec, 2008 1 commit
  10. 28 Oct, 2008 1 commit
  11. 20 Oct, 2008 1 commit
  12. 09 Oct, 2008 4 commits
  13. 08 Oct, 2008 11 commits
  14. 07 Oct, 2008 5 commits
  15. 06 Oct, 2008 5 commits
    • Eric Wong's avatar
      song: stop storing song_type · f1c53fe0
      Eric Wong authored
      We already know if a song is a URL or not based on whether it
      has parentDir defined or not.  Hopefully one day in the future
      we can drop HTTP support from MPD entirely when an HTTP
      filesystem comes along and we can access streams via open(2).
      f1c53fe0
    • Eric Wong's avatar
      song: use flex arrays to store song->url · 267b2cd6
      Eric Wong authored
      Reduce the number of allocations we make, so there's less
      pressure on the allocator and less overhead to keep track
      of the allocations in.
      267b2cd6
    • Eric Wong's avatar
      directory: reuse existing directory if found on update · 836dcc28
      Eric Wong authored
      Instead of allocating a new one, just reuse an existing
      one if one is found when rereading the DB.  This is a small
      makes the previous commit work on subdirectories
      of the root music directory.
      
      [1] "song: better handling of existing songs when rereading DB"
      836dcc28
    • 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
    • Eric Wong's avatar
      directory: streamline deletes · 19a4803b
      Eric Wong authored
      Instead of relying on the shortname, just pass the song pointer
      to prevent redundant lookups during deletes.
      19a4803b
  16. 29 Sep, 2008 3 commits