1. 02 Aug, 2012 1 commit
  2. 13 Feb, 2012 2 commits
  3. 29 Jan, 2011 2 commits
  4. 10 Jan, 2011 1 commit
  5. 01 Jan, 2010 1 commit
  6. 30 Mar, 2009 1 commit
  7. 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
  8. 28 Feb, 2009 1 commit
  9. 31 Dec, 2008 1 commit
  10. 30 Dec, 2008 1 commit
    • Max Kellermann's avatar
      main: use the GLib main loop · 71e7ce5d
      Max Kellermann authored
      This is a rather huge patch, which unfortunately cannot be splitted.
      
      Instead of using our custom ioops.h library, convert everything to use
      the GLib main loop.
      71e7ce5d
  11. 29 Dec, 2008 1 commit
  12. 02 Dec, 2008 1 commit
  13. 22 Nov, 2008 1 commit
  14. 31 Oct, 2008 2 commits
    • Max Kellermann's avatar
      client: use bool · a9290398
      Max Kellermann authored
      Return bool instead of int.
      a9290398
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  15. 17 Oct, 2008 1 commit
  16. 15 Oct, 2008 1 commit
  17. 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
  18. 08 Oct, 2008 1 commit
  19. 07 Sep, 2008 5 commits
    • Max Kellermann's avatar
      client: added client_[gs]et_permission() · 2835e376
      Max Kellermann authored
      The code in command.c shouldn't mess with a pointer to
      client->permission.  Provide an API for accessing this value.
      2835e376
    • Max Kellermann's avatar
      removed fdprintf() and client_print() · 86d261bd
      Max Kellermann authored
      All callers of fdprintf() have been converted to client_printf() or
      fprintf(); it is time to remove this clumsy hack now.  We can also
      remove client_print() which took a file descriptor as parameter.
      86d261bd
    • Max Kellermann's avatar
      client: removed client_get_fd() · 322e9088
      Max Kellermann authored
      Now that we have removed all invocations of client_get_fd(), we can
      safely remove this transitional function.  All access to the file
      descriptor is now hidden behind the interface declared in client.h.
      322e9088
    • Max Kellermann's avatar
      client: added client_printf() · f73319c0
      Max Kellermann authored
      Based on client_puts(), client_printf() is the successor of
      fdprintf().  As soon as all fdprintf() callers have been rewritten to
      use client_printf(), we can remove fdprintf().
      f73319c0
    • Max Kellermann's avatar
      client: added client_write() and client_puts() · 33aec0d6
      Max Kellermann authored
      client_write() writes a buffer to the client and buffers it if
      required.  client_puts() does the same for a C string.  The next patch
      will add more tools which will replace fdprintf() later.
      33aec0d6
  20. 29 Aug, 2008 3 commits
    • Max Kellermann's avatar
      export the function client_is_expired() · 8811c0e0
      Max Kellermann authored
      Instead of passing the pointer to the "expired" flag to
      processListOfCommands(), this function should use the client API to
      check this flag.  We can now remove the "global_expired" hack
      introduced recently.
      8811c0e0
    • Max Kellermann's avatar
      client: pass the client struct to processCommand() · 8b1b82b3
      Max Kellermann authored
      Start exporting the client struct as an opaque struct.  For now, pass
      it only to processCommand() and processListOfCommands(), and provide a
      function to extract the socket handle.  Later, we will propagate the
      pointer to all command implementations, and of course to
      client_print() etc.
      8b1b82b3
    • Max Kellermann's avatar
      client: reorder function declarations · 2c8aa8ef
      Max Kellermann authored
      Change the order of function declarations in client.h, to make it well
      arranged and readable.
      2c8aa8ef
  21. 28 Aug, 2008 3 commits
    • Max Kellermann's avatar
      client: renamed all public functions · c0197c58
      Max Kellermann authored
      Functions which operate on the whole client list are prefixed with
      "client_manager_", and functions which handle just one client just get
      "client_".
      c0197c58
    • Max Kellermann's avatar
      renamed interface.c to client.c · deb29e08
      Max Kellermann authored
      I don't believe "interface" is a good name for something like
      "connection by a client to MPD", let's call it "client".  This is the
      first patch in the series which changes the name, beginning with the
      file name.
      deb29e08
    • Max Kellermann's avatar
      const pointers · bc1c8835
      Max Kellermann authored
      The usual bunch of pointer arguments which should be const.
      bc1c8835
  22. 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
  23. 26 Mar, 2008 1 commit
    • Max Kellermann's avatar
      use size_t · 27f12c17
      Max Kellermann authored
      When dealing with in-memory lengths, the standard type "size_t" should
      be used.  Missing one can be quite dangerous, because an attacker
      could provoke an integer under-/overflow, which may provide an attack
      vector.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7205 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      27f12c17
  24. 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
  25. 05 Apr, 2007 1 commit
  26. 20 Aug, 2006 1 commit
  27. 20 Jul, 2006 1 commit
  28. 14 Jul, 2006 2 commits