1. 04 Nov, 2013 2 commits
  2. 15 Oct, 2013 2 commits
  3. 02 Oct, 2013 1 commit
  4. 04 Sep, 2013 1 commit
  5. 04 Aug, 2013 1 commit
  6. 30 Jul, 2013 1 commit
  7. 09 Jan, 2013 1 commit
  8. 14 Aug, 2012 1 commit
    • Max Kellermann's avatar
      log: store duplicated path string · dc22846d
      Max Kellermann authored
      Don't free the string right after calling log_init_file().  Add a new
      function log_deinit() that frees the string on shutdown.
      
      This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
      dc22846d
  9. 09 Sep, 2011 1 commit
  10. 29 Jan, 2011 1 commit
  11. 01 Jan, 2010 1 commit
  12. 15 Mar, 2009 1 commit
  13. 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
  14. 19 Feb, 2009 1 commit
  15. 29 Dec, 2008 1 commit
  16. 28 Dec, 2008 1 commit
  17. 02 Dec, 2008 2 commits
  18. 05 Nov, 2008 3 commits
    • Max Kellermann's avatar
      log: use bool · 787c6f5e
      Max Kellermann authored
      Use the bool data type for flags.
      787c6f5e
    • Max Kellermann's avatar
      log: use GLib message logging · a5348a37
      Max Kellermann authored
      The logging functions from log.h are deprecated, and the code should
      use GLib logging instead.  Make ERROR(), WARNING() etc. call g_logv()
      internally.
      a5348a37
    • Max Kellermann's avatar
      log: removed warning buffer · 08aaf57f
      Max Kellermann authored
      The warning buffer is a complex piece of code for no good reason.
      Remove it and find a better solution, e.g. open the log file earlier.
      08aaf57f
  19. 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
  20. 08 Oct, 2008 1 commit
  21. 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
  22. 27 Aug, 2007 1 commit
    • Eric Wong's avatar
      export FATAL() with noreturn attribute · 0f2e9ee6
      Eric Wong authored
      This attribute was set in log.c, but not exported to other
      modules in log.h
      
      This allows us to remove some unneccessary variable
      initializations that were added in r6277.  I did
      audioOutput_shout.c a bit differently, to avoid some
      jumps.
      
      before:
      $ size src/mpd
      text    data     bss     dec     hex filename
      225546    4040   14600  244186   3b9da src/mpd
      
      after:
      $ size src/mpd
      text    data     bss     dec     hex filename
      224698    4040   14600  243338   3b68a src/mpd
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@6821 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      0f2e9ee6
  23. 05 Apr, 2007 1 commit
  24. 26 Aug, 2006 1 commit
    • Eric Wong's avatar
      Replace strdup and {c,re,m}alloc with x* variants to check for OOM errors · 90847fc8
      Eric Wong authored
      I'm checking for zero-size allocations and assert()-ing them,
      so we can more easily get backtraces and debug problems, but we'll
      also allow -DNDEBUG people to live on the edge if they wish.
      
      We do not rely on errno when checking for OOM errors because
      some implementations of malloc do not set it, and malloc
      is commonly overridden by userspace wrappers.
      
      I've spent some time looking through the source and didn't find any
      obvious places where we would explicitly allocate 0 bytes, so we
      shouldn't trip any of those assertions.
      
      We also avoid allocating zero bytes because C libraries don't
      handle this consistently (some return NULL, some not); and it's
      dangerous either way.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4690 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      90847fc8
  25. 20 Aug, 2006 1 commit
  26. 12 Aug, 2006 1 commit
  27. 01 Aug, 2006 1 commit
    • Eric Wong's avatar
      logging cleanups · 89073cfb
      Eric Wong authored
      * Moved all logging-related stuff into log.c
      (and not myfprintf.c)
      
      * ISO C90-compliant strftime usage:
      %e and %R replaced with %d and %H:%M respectively
      
      * Got rid of variadic macros since some old-school compilers
      don't like them
      
      * compiling with -DNDEBUG disables the DEBUG() macro
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      89073cfb
  28. 30 Jul, 2006 1 commit
  29. 20 Jul, 2006 1 commit
  30. 14 Jul, 2006 1 commit
  31. 13 Jul, 2006 1 commit
  32. 12 Jun, 2004 1 commit
  33. 29 May, 2004 1 commit
  34. 14 Apr, 2004 1 commit
  35. 18 Mar, 2004 1 commit