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. 28 Oct, 2016 1 commit
  4. 26 Feb, 2016 1 commit
  5. 21 Jan, 2015 2 commits
  6. 01 Jan, 2015 1 commit
  7. 19 Feb, 2014 1 commit
  8. 23 Jan, 2014 1 commit
  9. 13 Jan, 2014 1 commit
  10. 19 Oct, 2013 4 commits
  11. 15 Oct, 2013 2 commits
  12. 05 Sep, 2013 2 commits
  13. 30 Jul, 2013 1 commit
  14. 07 Jan, 2013 1 commit
  15. 03 Jan, 2013 2 commits
  16. 29 Jan, 2011 1 commit
  17. 25 Sep, 2010 1 commit
    • Thomas Jansen's avatar
      eliminate g_error() usage · 28bcb8bd
      Thomas Jansen authored
      Replaced all occurrences of g_error() with MPD_ERROR() located in a new header
      file 'mpd_error.h'. This macro uses g_critical() to print the error message
      and then exits gracefully in contrast to g_error() which would internally call
      abort() to produce a core dump.
      
      The macro name is distinctive and allows to find all places with dubious error
      handling. The long-term goal is to get rid of MPD_ERROR() altogether. To
      facilitate the eventual removal of this macro it was added in a new header
      file rather than to an existing header file.
      
      This fixes #2995 and #3007.
      28bcb8bd
  18. 01 Jan, 2010 1 commit
  19. 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
  20. 22 Oct, 2009 1 commit
  21. 15 Mar, 2009 1 commit
  22. 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
  23. 25 Jan, 2009 1 commit
  24. 17 Jan, 2009 1 commit
  25. 03 Jan, 2009 3 commits
  26. 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
  27. 01 Nov, 2008 1 commit
  28. 17 Oct, 2008 1 commit
  29. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  30. 26 May, 2007 1 commit
  31. 05 Apr, 2007 1 commit