1. 26 Oct, 2009 1 commit
  2. 13 Oct, 2009 1 commit
  3. 24 Sep, 2009 1 commit
    • Max Kellermann's avatar
      conf: handle fatal errors with GError · 06d5d4b0
      Max Kellermann authored
      Don't call g_error(), which will abort the process and dump core.
      
      This patch does not affect all the config_get_X() functions.  These
      need some more refactoring.
      06d5d4b0
  4. 24 Aug, 2009 1 commit
  5. 19 Jul, 2009 2 commits
    • Michal Nazarewicz's avatar
      conf: replaced gcc "const" attribute with "pure" · 03e43356
      Michal Nazarewicz authored
      The functions were not "const" (they examined values pointed
      by arguments passed to them, quoting gcc's doc: "Note that
      a function that has pointer arguments and examines the data
      pointed to must _not_ be declared 'const'.") but rather
      "pure" and still not all of them.
      
      Note also, that even some of the functions declared "pure"
      are not pure, however, due to reasons stated in source code
      the attribute has been kept.
      03e43356
    • 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
  6. 15 Jul, 2009 1 commit
  7. 02 Jul, 2009 1 commit
  8. 25 Jun, 2009 6 commits
  9. 03 Jun, 2009 2 commits
  10. 30 Mar, 2009 1 commit
  11. 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
  12. 02 Mar, 2009 1 commit
  13. 15 Feb, 2009 1 commit
  14. 25 Jan, 2009 3 commits
  15. 21 Jan, 2009 1 commit
  16. 19 Jan, 2009 1 commit
  17. 18 Jan, 2009 4 commits
  18. 17 Jan, 2009 4 commits
  19. 11 Jan, 2009 1 commit
  20. 31 Dec, 2008 1 commit
  21. 21 Dec, 2008 1 commit
  22. 28 Nov, 2008 1 commit
    • Raphaël Rigo's avatar
      update: added options which control symlink behaviour · 5b089f85
      Raphaël Rigo authored
      The configuration options "follow_outside_symlinks" and
      "follow_inside_symlinks" let the user control whether MPD should
      follow symbolic links in the music directory.
      
      [mk: converted variables to "bool"; moved configuration to
      update_global_init()]
      5b089f85
  23. 27 Nov, 2008 1 commit
    • Max Kellermann's avatar
      conf: added config_get_bool() · bd0653f4
      Max Kellermann authored
      In contrast to, getBoolConfigParam(), config_get_bool() properly
      returns a "bool" value.  In case of "unset", it returns the default
      value provided by the caller.
      bd0653f4
  24. 31 Oct, 2008 1 commit
    • 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
  25. 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