1. 21 Jan, 2012 1 commit
  2. 10 Oct, 2011 1 commit
  3. 08 Oct, 2011 1 commit
  4. 10 Sep, 2011 1 commit
    • Max Kellermann's avatar
      db_plugin: introducing a plugin API for the song database · 7819aa6b
      Max Kellermann authored
      First draft, not really pluggable currently - hard-coded to use the
      "simple" plugin, and calls several of its internal functions.
      
      The API is very simple currently, all searches are still performed
      over the root "directory" object.  Future changes to the API will move
      those search implementations into the plugin, to allow more efficient
      implementations, or implementations that don't have the whole tree in
      memory all the time.
      7819aa6b
  5. 09 Sep, 2011 3 commits
  6. 24 Aug, 2011 1 commit
  7. 29 Jan, 2011 2 commits
  8. 10 Jan, 2011 1 commit
  9. 25 Sep, 2010 1 commit
    • Thomas Jansen's avatar
      eliminate g_error() usage · 28bcb8bd
      Thomas Jansen authored
      Replaced all occurrences of g_error() with MPD_ERROR() located in a new header
      file 'mpd_error.h'. This macro uses g_critical() to print the error message
      and then exits gracefully in contrast to g_error() which would internally call
      abort() to produce a core dump.
      
      The macro name is distinctive and allows to find all places with dubious error
      handling. The long-term goal is to get rid of MPD_ERROR() altogether. To
      facilitate the eventual removal of this macro it was added in a new header
      file rather than to an existing header file.
      
      This fixes #2995 and #3007.
      28bcb8bd
  10. 23 Sep, 2010 1 commit
    • Denis Krjuchkov's avatar
      main: Add Windows Service support · e8ebb1af
      Denis Krjuchkov authored
      I've added PIPE_EVENT_SHUTDOWN because calling g_main_loop_quit() do not work when called from another thread.
      Main thread was sleeping in g_poll() so I needed some way to wake it up.
      
      By some strange reason call close(event_pipe[0]) in event_pipe_deinit() hangs.
      In current implementation that code never reached so that was not a problem :-)
      I've added a conditional to leave event_pipe[0] open on Win32.
      e8ebb1af
  11. 13 Apr, 2010 1 commit
  12. 04 Jan, 2010 1 commit
  13. 01 Jan, 2010 1 commit
  14. 25 Dec, 2009 1 commit
  15. 14 Dec, 2009 2 commits
  16. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  17. 10 Nov, 2009 1 commit
    • Max Kellermann's avatar
      configure.ac: require GLib 2.12 · b722d3d7
      Max Kellermann authored
      Drop the required GLib version from 2.16 to 2.12, because many current
      systems still don't have GLib 2.16.  This requires several new
      compatibility functions in glib_compat.h.
      b722d3d7
  18. 31 Oct, 2009 2 commits
  19. 26 Oct, 2009 1 commit
  20. 24 Oct, 2009 1 commit
  21. 23 Oct, 2009 1 commit
    • Max Kellermann's avatar
      output_plugin: added methods enable() and disable() · e53ca368
      Max Kellermann authored
      With these methods, an output plugin can allocate some global
      resources only if it is actually enabled.  The method enable() is
      called after daemonization, which allows for more sophisticated
      resource allocation during that method.
      e53ca368
  22. 22 Oct, 2009 2 commits
  23. 20 Oct, 2009 1 commit
    • Max Kellermann's avatar
      main: call g_set_application_name() · 2e9e34aa
      Max Kellermann authored
      I'm not sure about the advantages of calling g_set_application_name(),
      because I don't use a task manager (except for ps and kill), but it
      sure doesn't hurt.
      2e9e34aa
  24. 13 Oct, 2009 2 commits
  25. 08 Oct, 2009 1 commit
  26. 25 Sep, 2009 1 commit
  27. 24 Sep, 2009 4 commits
  28. 20 Sep, 2009 1 commit
  29. 22 Jul, 2009 1 commit
  30. 19 Jul, 2009 1 commit
    • Michal Nazarewicz's avatar
      daemon: added "group" configuration option · d718a8b5
      Michal Nazarewicz authored
      The "group" configuration option is similar to "user" as it
      sets user set what group MPD shall run as.  With "user"
      option, MPD changed GID to the GID of the user, however,
      more control could be desired.
      
      Moreover, the patch changes the way of checking whether no
      setuid(2)/setgid(2) is required -- previously user names
      were compered, now UID and GIDs are compered (ie. the one we
      already have (getuid(2)/getgid(2)) with the one we want to
      change to).
      d718a8b5