1. 01 Jan, 2010 1 commit
  2. 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
  3. 14 Aug, 2009 1 commit
  4. 01 Apr, 2009 2 commits
  5. 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
  6. 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
  7. 02 Jan, 2009 1 commit
  8. 31 Oct, 2008 1 commit
  9. 20 Oct, 2008 1 commit
  10. 13 Oct, 2008 2 commits
  11. 09 Oct, 2008 3 commits
  12. 08 Oct, 2008 11 commits
  13. 07 Oct, 2008 5 commits
  14. 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
  15. 29 Sep, 2008 4 commits