1. 20 May, 2010 1 commit
  2. 18 Jan, 2010 2 commits
  3. 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
  4. 15 Dec, 2009 3 commits
  5. 10 Nov, 2009 1 commit
  6. 07 Nov, 2009 1 commit
    • Max Kellermann's avatar
      set the close-on-exec flag on all file descriptors · e3af0032
      Max Kellermann authored
      Added the "fd_util" library, which attempts to use the new thread-safe
      Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
      SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
      not thread safe.
      
      This is particularly important for the "pipe" output plugin (and
      others, such as JACK/PulseAudio), because we were heavily leaking file
      descriptors to child processes.
      e3af0032
  7. 20 Oct, 2009 1 commit
  8. 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
  9. 28 May, 2009 1 commit
    • Mathieu Rochette's avatar
      input/file: log message on error · 0dedfe7d
      Mathieu Rochette authored
      If a file is removed the library, next time mpd will try to play it it
      will result in an error 'ERROR: problems decoding some/file.ogg'.
      Nothing is written in log files (verbose mode or not)
      
      [mk: append strerror(errno)]
      0dedfe7d
  10. 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
  11. 09 Mar, 2009 1 commit
  12. 02 Mar, 2009 3 commits
  13. 17 Feb, 2009 1 commit
  14. 29 Jan, 2009 2 commits
  15. 24 Nov, 2008 1 commit
  16. 29 Oct, 2008 3 commits
  17. 28 Oct, 2008 2 commits
  18. 27 Oct, 2008 1 commit
  19. 26 Oct, 2008 7 commits
  20. 17 Oct, 2008 2 commits
  21. 26 Aug, 2008 2 commits
    • 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
    • Max Kellermann's avatar
      enable -Wpointer-arith, -Wstrict-prototypes · a383f451
      Max Kellermann authored
      Also enable -Wunused-parameter - this forces us to add the gcc
      "unused" attribute to a lot of parameters (mostly library callback
      functions), but it's worth it during code refactorizations.
      a383f451
  22. 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