1. 04 Jan, 2009 4 commits
  2. 02 Jan, 2009 1 commit
  3. 01 Jan, 2009 2 commits
  4. 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
  5. 28 Dec, 2008 1 commit
  6. 24 Dec, 2008 1 commit
  7. 16 Dec, 2008 1 commit
  8. 31 Oct, 2008 1 commit
  9. 26 Oct, 2008 1 commit
  10. 23 Oct, 2008 4 commits
  11. 22 Oct, 2008 6 commits
  12. 14 Oct, 2008 3 commits
    • Max Kellermann's avatar
      command: added command "idle" · a3e3d2c9
      Max Kellermann authored
      "idle" waits until something noteworthy happens on the server,
      e.g. song change, playlist modified, database updated.  This allows
      clients to keep up to date without polling.
      a3e3d2c9
    • Max Kellermann's avatar
      mapper: new song-to-filesystem mapper library · 5b71d5f6
      Max Kellermann authored
      The mapper library maps directory and song objects to file system
      paths.  With this central library, the code mixture in path.c should
      be cleaned up, and we will be able to add neat features like aliasing.
      5b71d5f6
    • Max Kellermann's avatar
      playlist: moved code to playlist_save.c · a52a9fc1
      Max Kellermann authored
      playlist_print_song() and playlist_print_uri() handle charset
      conversion and (optional) music directory prefixing.
      a52a9fc1
  13. 09 Oct, 2008 1 commit
  14. 08 Oct, 2008 4 commits
  15. 06 Oct, 2008 1 commit
    • Eric Wong's avatar
      song: stop storing song_type · f1c53fe0
      Eric Wong authored
      We already know if a song is a URL or not based on whether it
      has parentDir defined or not.  Hopefully one day in the future
      we can drop HTTP support from MPD entirely when an HTTP
      filesystem comes along and we can access streams via open(2).
      f1c53fe0
  16. 09 Sep, 2008 1 commit
  17. 07 Sep, 2008 3 commits
  18. 12 Apr, 2008 1 commit
    • Max Kellermann's avatar
      clean up CPP includes · c89b358c
      Max Kellermann authored
      Try to only include headers which are really needed.  We should
      particularly check all "headers including other headers".  The
      long-term goal is to have a manageable, small API for plugins
      (decoders, output) without so many mpd internals cluttering the
      namespace.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      c89b358c
  19. 29 Jan, 2008 1 commit
  20. 26 Jan, 2008 2 commits
    • Eric Wong's avatar
      storedPlaylist: prevent potential DoS from stored playlist commands · 29df7036
      Eric Wong authored
      While mpd has always protected against the infinite expansion of
      the main playlist by limiting its size in memory, however the
      new storedPlaylist code has never checked for this limit.
      
      Malicious (or clumsy) users could repeatedly append songs to
      stored playlists, causing files to grow increasingly large
      on disk.  Attempting to load extremely large files into memory
      will require mpd to slurp that all into memory, and ultimately
      the file would be unusable by mpd because of the configurable
      playlist size limit.
      
      Now we limit stored playlists to the max_playlist_length
      configuration variable set by the user (default is 16384).  We
      will refuse to append to playlist files if they hit that limit;
      and also refuse to load more than the specified amount of songs
      into memory.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7154 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      29df7036
    • Max Kellermann's avatar
      fixed -Wshadow warnings · 07adb14e
      Max Kellermann authored
      Signed-off-by: 's avatarEric Wong <normalperson@yhbt.net>
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7143 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      07adb14e