1. 19 Nov, 2018 1 commit
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      Max Kellermann authored
      Since we switched from autotools to Meson in commit
      94592c14, we don't need to include
      `config.h` early to properly enable large file support.  Meson passes
      the required macros on the compiler command line instead of defining
      them in `config.h`.
      
      This means we can include `config.h` at any time, whenever we want to
      check its macros, and there are no ordering constraints.
      ce49d99c
  2. 31 Oct, 2018 1 commit
  3. 03 Jan, 2017 1 commit
  4. 28 Dec, 2016 5 commits
  5. 26 Feb, 2016 1 commit
  6. 01 Jan, 2015 1 commit
  7. 19 Feb, 2014 1 commit
  8. 13 Jan, 2014 1 commit
  9. 09 Jan, 2014 1 commit
  10. 28 Nov, 2013 1 commit
  11. 30 Oct, 2013 1 commit
  12. 17 Oct, 2013 1 commit
  13. 15 Oct, 2013 1 commit
  14. 07 Aug, 2013 1 commit
  15. 03 Aug, 2013 1 commit
  16. 12 May, 2013 1 commit
  17. 27 Feb, 2013 1 commit
  18. 14 Aug, 2012 1 commit
  19. 13 Dec, 2011 1 commit
    • Max Kellermann's avatar
      timer: fix time unit mixup in timer_delay() · 097e5dfb
      Max Kellermann authored
      The local variable was already divided by 1000, and the return value
      was being divided by 1000 again - doh!  This caused delays in the
      httpd output plugin that were too small by three orders of magnitude,
      and the buffer was filled too quickly.
      097e5dfb
  20. 27 Aug, 2011 1 commit
  21. 29 Jan, 2011 1 commit
  22. 18 Nov, 2010 1 commit
    • Max Kellermann's avatar
      timer: fix integer overflow in timer_delay() · 8f46f152
      Max Kellermann authored
      Fixes a regression: for output_plugin.delay(), we added a method to
      the timer class which returns the delay in milliseconds.  This fails
      to detect negative values, because the unsigned integer is divided by
      1000, and then casted to signed.
      8f46f152
  23. 05 Nov, 2010 2 commits
  24. 01 Jan, 2010 1 commit
  25. 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
  26. 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
  27. 19 Feb, 2009 1 commit
    • Max Kellermann's avatar
      utils: use g_usleep() instead of my_usleep() · e7131b5d
      Max Kellermann authored
      Now that I've found this nice function in the GLib docs, we can
      finally remove our custom sleep function.  Still all those callers of
      g_usleep() have to be migrated one day to use events, instead of
      regular polling.
      e7131b5d
  28. 03 Jan, 2009 1 commit
  29. 10 Oct, 2008 2 commits
  30. 08 Oct, 2008 1 commit
  31. 09 Sep, 2008 1 commit
    • Max Kellermann's avatar
      timer: constant pointers · 182746b9
      Max Kellermann authored
      The audio_format argument to timer_new() should be constant, because
      it is not modified.  The same is true for ShoutData.audioFormat.
      182746b9
  32. 07 Sep, 2008 1 commit
  33. 26 Jan, 2008 1 commit
  34. 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