1. 15 Mar, 2009 1 commit
  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. 28 Feb, 2009 3 commits
  4. 27 Feb, 2009 4 commits
  5. 17 Feb, 2009 1 commit
  6. 25 Jan, 2009 4 commits
  7. 24 Jan, 2009 1 commit
  8. 17 Jan, 2009 1 commit
  9. 14 Jan, 2009 1 commit
  10. 13 Jan, 2009 1 commit
  11. 04 Jan, 2009 2 commits
  12. 03 Jan, 2009 3 commits
  13. 28 Dec, 2008 1 commit
  14. 03 Nov, 2008 1 commit
  15. 01 Nov, 2008 3 commits
  16. 31 Oct, 2008 1 commit
  17. 08 Oct, 2008 1 commit
  18. 06 Oct, 2008 1 commit
  19. 29 Sep, 2008 1 commit
    • Eric Wong's avatar
      Switch to C99 types (retaining compat with old compilers) · 0352766d
      Eric Wong authored
      Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the
      mind needs to retrain itself to skip over the first 4 tokens of
      a type to get to its meaning.  So avoid having extra characters
      on my terminal to make it easier to follow code at 2:30 am in
      the morning.
      
      Please report any new issues you may come across on Free
      toolchains.  I realize how difficult it can be to build/maintain
      cross-compiling toolchains and I have no intention of forcing
      people to upgrade their toolchains to build mpd.
      
      Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
      0352766d
  20. 08 Sep, 2008 1 commit
    • Max Kellermann's avatar
      use strset.h instead of tagTracker.h · f0e64ceb
      Max Kellermann authored
      With a large music database, the linear string collection in
      tagTracker.c becomes very slow.  We implemented that in a
      quick'n'dirty fashion when we removed tree.c, and now we rewrite it
      using the fast hashed string set.
      f0e64ceb
  21. 07 Sep, 2008 4 commits
    • Eric Wong's avatar
      tag: oops, of course items is now ** and not * · a5f68b3c
      Eric Wong authored
      Gah, it seems like doing sizeof here either way is error
      prone.  Too easy to leave out a '*' character we can
      forget.
      a5f68b3c
    • Eric Wong's avatar
      tag: lock all accesses to tag_pool · 3c4de5b5
      Eric Wong authored
      The tag pool is a shared global resource that is infrequently
      modified.  However, it can occasionally be modified by several
      threads, especially by the metadata_pipe for streaming metadata
      (both reading/writing).
      
      The bulk tag_item pool is NOT locked as currently only the
      update thread uses it.
      3c4de5b5
    • Eric Wong's avatar
      tag: introduce handy items_size() function · 194c8c3c
      Eric Wong authored
      Trying to read or remember
        "tag->numOfItems * sizeof(*tag->items)"
      requires too much thinking and mental effort on my part.
      
      Also, favor "sizeof(struct mpd_tag)" over "sizeof(*tag->items)"
      because the former is easier to read and follow, even though
      the latter is easier to modify if the items member changes
      to a different type.
      194c8c3c
    • Max Kellermann's avatar
      tag: moved code to tag_print.c · 386c3031
      Max Kellermann authored
      Move everything which dumps a tag to a file descriptor to tag_print.c.
      This relaxes dependencies and splits the code into smaller parts.
      386c3031
  22. 06 Sep, 2008 1 commit
    • Eric Wong's avatar
      tag: fix segfault on update · 092bdf3d
      Eric Wong authored
      clearMpdTag could be called on a tag that was still in a
      tag_begin_add transaction before tag_end_add is called.  This
      was causing free() to attempt to operate on bulk.items; which is
      un-free()-able.  Now instead we unmark the bulk.busy to avoid
      committing the tags to the heap only to be immediately freed.
      
      Additionally, we need to remember to call tag_end_add() when
      a song is updated before we NULL song->tag to avoid tripping
      an assertion the next time tag_begin_add() is called.
      092bdf3d
  23. 29 Aug, 2008 2 commits