1. 11 Feb, 2012 1 commit
  2. 29 Jan, 2011 1 commit
  3. 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
  4. 31 May, 2010 3 commits
  5. 04 Jan, 2010 2 commits
  6. 01 Jan, 2010 1 commit
  7. 26 Dec, 2009 1 commit
  8. 14 Dec, 2009 1 commit
  9. 02 Dec, 2009 1 commit
  10. 14 Nov, 2009 7 commits
  11. 13 Nov, 2009 1 commit
  12. 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
  13. 13 Oct, 2009 1 commit
  14. 19 Jul, 2009 1 commit
    • David Woodhouse's avatar
      Add audio_format_init() function · 37754559
      David Woodhouse authored
      It makes no difference right now, but we're about to add an endianness
      flag and will want to make sure it's correctly initialised every time.
      37754559
  15. 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
  16. 17 Feb, 2009 1 commit
  17. 15 Feb, 2009 1 commit
  18. 30 Jan, 2009 1 commit
    • Matthias Drochner's avatar
      mikmod: call MikMod_Exit() only in the finish() method · 5b852886
      Matthias Drochner authored
      Hi -
      independently of libmikmod's other problems - there seems
      to be a problem in mpd's wrapper: MikMod_Exit() is called
      after the first file is decoded, which frees some ressources
      within the mikmod library. An attempt to play a second file
      leads to a crash. The appended patch fixes this for me.
      (I don't know what the "dup" entry is good for - someone
      who knows should review that too.)
      best regards
      Matthias
      
      [mk: removed 3 more MikMod_Exit() invocations]
      5b852886
  19. 25 Jan, 2009 1 commit
    • Max Kellermann's avatar
      use g_free() instead of free() · a45922cd
      Max Kellermann authored
      On some platforms, g_free() must be used for memory allocated by
      GLib.  This patch intends to correct a lot of occurrences, but is
      probably not complete.
      a45922cd
  20. 24 Jan, 2009 1 commit
  21. 28 Dec, 2008 2 commits
  22. 11 Nov, 2008 1 commit
    • Max Kellermann's avatar
      decoder: return void from decode() methods · 9eed4191
      Max Kellermann authored
      The stream_decode() and file_decode() methods returned a boolean,
      indicating whether they were able to decode the song.  This is
      redundant, since we already know that: if decoder_initialized() has
      been called (and dc.state==DECODE), the plugin succeeded.  Change both
      methods to return void.
      9eed4191
  23. 04 Nov, 2008 1 commit
    • Max Kellermann's avatar
      decoder: removed stream_types · 85a7d1a1
      Max Kellermann authored
      Instead of checking the stream_types bit set, we can simply check
      whether the methods stream_decode() and file_decode() are implemented.
      85a7d1a1
  24. 03 Nov, 2008 2 commits
    • Max Kellermann's avatar
      mod: removed boolean globals for lazy init · e6f334a0
      Max Kellermann authored
      The variables mod_mikModInitiated and mod_mikModInitError were used to
      control lazy initialization, but they are superfluous now.
      e6f334a0
    • Max Kellermann's avatar
      mod: always initialize libmikmod · bb15c3bd
      Max Kellermann authored
      The "mod" decoder plugin was being initialized lazily, but was
      deinitialized unconditionally.  That led to segmentation faults.
      Convert mod_initMikMod() to be the global module initialization
      method.  The MPD core should care about lazy initialization.
      bb15c3bd
  25. 02 Nov, 2008 3 commits
  26. 01 Nov, 2008 2 commits