1. 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
  2. 28 Feb, 2009 1 commit
  3. 25 Feb, 2009 1 commit
  4. 15 Feb, 2009 1 commit
  5. 23 Jan, 2009 1 commit
  6. 17 Jan, 2009 2 commits
  7. 04 Jan, 2009 5 commits
  8. 03 Jan, 2009 1 commit
  9. 02 Jan, 2009 1 commit
  10. 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
  11. 16 Dec, 2008 1 commit
  12. 01 Nov, 2008 1 commit
  13. 31 Oct, 2008 1 commit
  14. 15 Oct, 2008 2 commits
  15. 14 Oct, 2008 2 commits
  16. 13 Oct, 2008 2 commits
  17. 08 Oct, 2008 10 commits
  18. 07 Oct, 2008 2 commits
    • Eric Wong's avatar
      directory: serialize song deletes from playlist during update · 7d8c9cc7
      Eric Wong authored
      This makes the update code thread-safe and doesn't penalize
      the playlist code by complicating it with complicated and
      error-prone locks (and the associated overhead, not everybody
      has a thread-implementation as good as NPTL).
      
      The update task blocks during the delete; but the update task is
      a slow task anyways so we can block w/o people caring too much.
      
      This was also our only freeSong call site, so remove that
      function.
      
      Note that deleting entire directories is not fully thread-safe,
      yet; as their traversals are not yet locked.
      7d8c9cc7
    • Eric Wong's avatar
      Assert if we don't have song or song->url set · 0d34815f
      Eric Wong authored
      song objects cannot exist without a path or URL
      0d34815f
  19. 06 Oct, 2008 4 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
    • Max Kellermann's avatar
      song: don't make the struct packed · 22e40b61
      Max Kellermann authored
      The "packed" attribute may have negative side effects on performance.
      Remove the "packed" attribute, and increase the size of "song.url" to
      a multiple of the machine word size.
      22e40b61
    • 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
      song: get rid of newNullSong() · 43761441
      Eric Wong authored
      It didn't save us any lines of code nor did it do anything
      useful since we would overwrite everything anyways.
      43761441