1. 08 May, 2017 1 commit
    • Max Kellermann's avatar
      *: remove "pure" and "const" attributes from throwing functions · 788e3b31
      Max Kellermann authored
      The "pure" and "const" attributes are not so well-defined, and a
      recent clang version implements an optimization which pushes the
      definition's boundary beyond what I believed it was.  clang now
      assumes that functions declared "pure" cannot throw exceptions, even
      if they lack the "noexcept" specification.
      
      When compiled with this new clang version, MPD will crash randomly if
      an exception happens to get thrown by such as "pure" function
      (https://github.com/MusicPlayerDaemon/MPD/issues/41).
      
      This commit removes all such misplaced "pure" and "const" attributes,
      closing #41.
      788e3b31
  2. 03 Jan, 2017 1 commit
  3. 21 Apr, 2016 1 commit
  4. 13 Apr, 2016 1 commit
  5. 26 Feb, 2016 1 commit
  6. 26 Jun, 2015 2 commits
  7. 25 Jun, 2015 1 commit
  8. 01 Jan, 2015 1 commit
  9. 01 Dec, 2014 1 commit
  10. 29 Nov, 2014 5 commits
  11. 13 Jan, 2014 1 commit
  12. 17 Oct, 2013 3 commits
  13. 15 Oct, 2013 1 commit
  14. 22 Feb, 2013 1 commit
  15. 11 Jan, 2013 1 commit
  16. 17 Sep, 2011 1 commit
  17. 29 Jan, 2011 1 commit
  18. 08 Oct, 2010 1 commit
  19. 01 Jan, 2010 1 commit
  20. 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
  21. 31 Oct, 2008 1 commit
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  22. 08 Oct, 2008 1 commit
  23. 07 Sep, 2008 2 commits
    • Max Kellermann's avatar
      tag: added buffered versions of the tag_print.c code · 59efed3e
      Max Kellermann authored
      Currently, when the tag cache is being serialized to hard disk, the
      stdio buffer is flushed before every song, because tag_print.c
      performs unbuffered writes on the raw file descriptor.  Unfortunately,
      the fdprintf() API allows buffered I/O only for a client connection by
      looking up the client pointer owning the file descriptor - for stdio,
      this is not possible.  To re-enable proper stdio buffering, we have to
      duplicate the tag_print.c code without fprintf() instead of our custom
      fdprintf() hack.  Add this duplicated code to tag_save.c.
      59efed3e
    • 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
  24. 26 Aug, 2008 6 commits
  25. 02 Jun, 2008 1 commit
  26. 13 Apr, 2008 2 commits