1. 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
  2. 17 Dec, 2008 2 commits
  3. 11 Nov, 2008 1 commit
    • Max Kellermann's avatar
      pcm_volume: added constant PCM_VOLUME_1 · edcd45df
      Max Kellermann authored
      It may be desirable to change the range of integer volume levels
      (e.g. to 1024, which may utilize shifts instead of expensive integer
      divisions).  Introduce the constant PCM_VOLUME_1 which describes the
      integer value for "100% volume".  This is currently 1000.
      edcd45df
  4. 03 Nov, 2008 2 commits
  5. 14 Oct, 2008 1 commit
    • 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
  6. 11 Oct, 2008 3 commits
    • Max Kellermann's avatar
      player: added commands QUEUE and CANCEL · 35a939e3
      Max Kellermann authored
      QUEUE adds a new song to the player's queue.  CANCEL clears the queue.
      These two commands replace the old and complex queueState and
      queueLockState code.
      35a939e3
    • Max Kellermann's avatar
      player: removed set_current_song() · 2fcbabf4
      Max Kellermann authored
      set_current_song() is an internal function and consists of only one
      assignment.  Eliminate it.
      2fcbabf4
    • Max Kellermann's avatar
      player: removed player_control.fileTime · 42409a35
      Max Kellermann authored
      This variable is superfluous, it is only used to copy its value to
      player_control.totalTime.  Since the original source of this value
      (song->tag->time) will still be available at this point, we can safely
      remove fileTime.
      42409a35
  7. 10 Oct, 2008 2 commits
  8. 08 Oct, 2008 2 commits
  9. 24 Sep, 2008 1 commit
  10. 06 Sep, 2008 1 commit
  11. 26 Aug, 2008 8 commits
  12. 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
  13. 05 Feb, 2008 1 commit
  14. 28 Dec, 2007 1 commit
    • Eric Wong's avatar
      Merge branches/ew r7104 · b79f6b88
      Eric Wong authored
      thread-safety work in preparation for rewrite to use pthreads
      
      Expect no regressions against trunk (r7078), possibly minor
      performance improvements in update (due to fewer heap
      allocations), but increased stack usage.
      
      Applied the following patches:
      
      * maxpath_str for reentrancy (temporary fix, reverted)
      * path: start working on thread-safe variants of these methods
      * Re-entrancy work on path/character-set conversions
      * directory.c: exploreDirectory() use reentrant functions here
      * directory/update: more use of reentrant functions + cleanups
      * string_toupper: a strdup-less version of strDupToUpper
      * get_song_url: a static-variable-free version of getSongUrl()
      * Use reentrant/thread-safe get_song_url everywhere
      * replace rmp2amp with the reentrant version, rmp2amp_r
      * Get rid of the non-reentrant/non-thread-safe rpp2app, too.
      * buffer2array: assert strdup() returns a usable value in unit tests
      * replace utf8ToFsCharset and fsCharsetToUtf8 with thread-safe variants
      * fix storing playlists w/o absolute paths
      * parent_path(), a reentrant version of parentPath()
      * parentPath => parent_path for reentrancy and thread-safety
      * allow "make test" to automatically run embedded unit tests
      * remove convStrDup() and maxpath_str()
      * use MPD_PATH_MAX everywhere instead of MAXPATHLEN
      * path: get rid of appendSlash, pfx_path and just use pfx_dir
      * get_song_url: fix the ability to play songs in the top-level music_directory
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7106 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      b79f6b88
  15. 05 Apr, 2007 1 commit
  16. 18 Feb, 2007 1 commit
  17. 08 Jan, 2007 1 commit
  18. 20 Jul, 2006 1 commit
  19. 14 Jul, 2006 2 commits
  20. 13 Jul, 2006 1 commit
  21. 03 Nov, 2004 1 commit
  22. 17 Jun, 2004 2 commits
  23. 14 Apr, 2004 1 commit
  24. 18 Mar, 2004 1 commit
  25. 23 Feb, 2004 1 commit