1. 16 Sep, 2011 2 commits
    • Max Kellermann's avatar
      input_stream: non-blocking I/O · 754f26a9
      Max Kellermann authored
      Add GMutex, GCond attributes which will be used by callers to
      conditionally wait on the stream.
      
      Remove the (now-useless) plugin method buffer(), wait on GCond
      instead.  Lock the input_stream before each method call.  Do the same
      with the playlist plugins.
      754f26a9
    • Max Kellermann's avatar
      input_plugin: add method check() · 29241c4f
      Max Kellermann authored
      To check for errors without reading.  The decoder thread wants to do
      that, before it passes the input stream to the plugin.
      29241c4f
  2. 15 Sep, 2011 1 commit
  3. 14 Sep, 2011 2 commits
  4. 29 Jan, 2011 1 commit
  5. 18 Jan, 2010 2 commits
  6. 01 Jan, 2010 2 commits
    • Max Kellermann's avatar
      input_stream: return allocated input_stream objects · d3b763a4
      Max Kellermann authored
      Major API redesign: don't let the caller allocate the input_stream
      object.  Let each input plugin allocate its own (derived/extended)
      input_stream pointer.  The "data" attribute can now be removed, and
      all input plugins simply cast the input_stream pointer to their own
      structure (with an "struct input_stream base" as the first attribute).
      d3b763a4
    • Avuton Olrich's avatar
      Update copyright notices. · 9d3865cb
      Avuton Olrich authored
      9d3865cb
  7. 15 Dec, 2009 1 commit
  8. 14 Dec, 2009 1 commit
  9. 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
  10. 10 Nov, 2009 1 commit
    • Max Kellermann's avatar
      configure.ac: require GLib 2.12 · b722d3d7
      Max Kellermann authored
      Drop the required GLib version from 2.16 to 2.12, because many current
      systems still don't have GLib 2.16.  This requires several new
      compatibility functions in glib_compat.h.
      b722d3d7
  11. 11 Oct, 2009 1 commit
    • Max Kellermann's avatar
      input_stream: use "goffset" instead of "off_t" · 727c301f
      Max Kellermann authored
      The "off_t" type may change when you enable or disable large file
      support on 32 bit platforms.  This caused severe ABI problems within
      MPD when we enabled LFS for the first time: two sources included
      config.h and sys/types.h in different order, and had different off_t
      sizes - leading to memory corruption because of ABI incompatibility.
      This patch attempts to get rid of all public "off_t" uses: it removes
      "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit
      "goffset" type.  This may hurt 32 bit embedded platforms a tiny bit,
      but that's not even measurable.
      727c301f
  12. 08 Oct, 2009 1 commit
  13. 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
  14. 02 Mar, 2009 1 commit
  15. 29 Jan, 2009 2 commits
  16. 03 Jan, 2009 1 commit
  17. 16 Dec, 2008 1 commit
  18. 31 Oct, 2008 2 commits
  19. 28 Oct, 2008 1 commit
  20. 26 Oct, 2008 7 commits
  21. 18 Oct, 2008 1 commit
  22. 17 Oct, 2008 2 commits
  23. 08 Oct, 2008 1 commit
  24. 26 Aug, 2008 1 commit
    • Max Kellermann's avatar
      added InputStream.ready · 82ca4cf8
      Max Kellermann authored
      The flag "ready" indicates whether the input stream is ready and it
      has parsed all meta data.  Previously, it was impossible for
      decodeStart() to see the content type of HTTP input streams, because
      at that time, the HTTP response wasn't parsed yet.
      82ca4cf8
  25. 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
  26. 05 Apr, 2007 1 commit
  27. 20 Aug, 2006 1 commit