1. 01 Jan, 2015 1 commit
  2. 16 Jun, 2014 1 commit
  3. 26 Feb, 2014 1 commit
  4. 24 Feb, 2014 1 commit
  5. 24 Jan, 2014 1 commit
  6. 19 Jan, 2014 1 commit
  7. 13 Jan, 2014 1 commit
  8. 28 Nov, 2013 1 commit
  9. 20 Oct, 2013 1 commit
  10. 19 Oct, 2013 1 commit
  11. 05 Sep, 2013 1 commit
  12. 04 Aug, 2013 1 commit
  13. 30 Jul, 2013 1 commit
  14. 28 Jul, 2013 1 commit
  15. 17 Apr, 2013 1 commit
  16. 24 Jan, 2012 3 commits
  17. 21 Jan, 2012 1 commit
  18. 29 Jan, 2011 1 commit
  19. 01 Jan, 2010 1 commit
  20. 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
  21. 31 Oct, 2009 2 commits
  22. 13 Oct, 2009 2 commits
  23. 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
  24. 14 Jan, 2009 2 commits
  25. 03 Jan, 2009 1 commit
  26. 28 Dec, 2008 2 commits
  27. 20 Oct, 2008 2 commits
    • Eric Wong's avatar
      update: fix multiple deletes from *vec iterators · d52437d4
      Eric Wong authored
      {song,dir}vec_for_each each failed to gracefully handle deleted
      files when iterating through.  While we were thread-safe, we
      were not safe within the calling thread.  If a callback we
      passed caused sv->nr to shring, our index would still increment;
      causing files to stay in the database.
      
      A way to test this is to remove 10 or so contiguous songs from a
      >10 song directory.
      d52437d4
    • Eric Wong's avatar
      {dir,song}vec: these structs are const · 686a6df3
      Eric Wong authored
      We definitely don't modify them here.
      686a6df3
  28. 14 Oct, 2008 1 commit
  29. 13 Oct, 2008 1 commit
    • Eric Wong's avatar
      songvec: avoid holding nr_lock during free(3) · 313405ed
      Eric Wong authored
      We only need to lock sv->nr changes to prevent traversals ( why
      it's called "nr_lock").  free(3) is a "slow" function on my
      system; so we can avoid unnecessarily holding a lock long for
      longer than needed.
      313405ed
  30. 08 Oct, 2008 2 commits
  31. 07 Oct, 2008 2 commits
    • Max Kellermann's avatar
      songvec: pass const pointers · f0366cc8
      Max Kellermann authored
      Pass const songvec pointers to songvec_find() and songvec_for_each().
      f0366cc8
    • Eric Wong's avatar
      songvec: lock traversals for thread-safe updates/reads · 45334a23
      Eric Wong authored
      Only one lock is used for all songvec traversals since
      they're rarely changed.  Also, minimize lock time and
      release it before calling iterator functions since they
      may block (updateSongInfo => stat/open/seek/read).
      
      This lock only protects songvecs (and all of them) during
      traversals; not the individual song structures themselves.
      45334a23