1. 30 Jan, 2009 1 commit
  2. 25 Jan, 2009 3 commits
    • Max Kellermann's avatar
      client: use the GIOChannel for I/O · 8bc6bca5
      Max Kellermann authored
      GIOChannel is more portable than raw read()/write() calls.  We're
      using GIOChannel anyway, because we need it for plugging the client
      into the GLib main loop.
      
      Configure the GIOChannel to the bare minimum: no character set, no
      buffering.
      8bc6bca5
    • Max Kellermann's avatar
      client: use GLib's win32 IO channel on WIN32 · b0ea9756
      Max Kellermann authored
      Use g_io_channel_win32_new_socket() instead of g_io_channel_unix_new()
      on WIN32.
      b0ea9756
    • 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
  3. 21 Jan, 2009 1 commit
  4. 17 Jan, 2009 1 commit
  5. 10 Jan, 2009 1 commit
  6. 08 Jan, 2009 1 commit
  7. 07 Jan, 2009 1 commit
  8. 03 Jan, 2009 2 commits
  9. 01 Jan, 2009 1 commit
  10. 31 Dec, 2008 1 commit
  11. 30 Dec, 2008 3 commits
  12. 29 Dec, 2008 2 commits
  13. 24 Dec, 2008 1 commit
    • Max Kellermann's avatar
      client: always attempt to flush deferred buffers · d2d11d70
      Max Kellermann authored
      When a response is very long (e.g. a large playlist > 100k songs),
      most of it will end up in the deferred buffers.  Filling the deferred
      queue is very expensive currently, because a new buffer is allocated
      for every client_write() operation.  This may lead to long delays, and
      the client might give up and disconnect meanwhile.  This patch makes
      MPD attempt to flush the deferred queue as often as possible, to work
      around this problem.  Due to the MPD 0.14 code freeze, we should not
      optimize the buffering code now.
      d2d11d70
  14. 02 Dec, 2008 1 commit
  15. 24 Nov, 2008 1 commit
  16. 22 Nov, 2008 1 commit
  17. 31 Oct, 2008 5 commits
  18. 22 Oct, 2008 1 commit
  19. 17 Oct, 2008 7 commits
  20. 15 Oct, 2008 3 commits
  21. 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
  22. 08 Oct, 2008 1 commit