1. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  2. 24 Jun, 2021 1 commit
  3. 19 Jan, 2021 1 commit
  4. 01 Jan, 2021 1 commit
  5. 20 Jul, 2020 2 commits
  6. 01 Jul, 2020 1 commit
  7. 25 Mar, 2020 1 commit
  8. 21 Mar, 2020 1 commit
  9. 16 Mar, 2020 1 commit
  10. 18 Jan, 2020 1 commit
  11. 03 Aug, 2019 1 commit
  12. 17 Jun, 2019 1 commit
  13. 07 May, 2019 1 commit
  14. 26 Apr, 2019 1 commit
  15. 25 Apr, 2019 1 commit
  16. 17 Mar, 2019 1 commit
  17. 08 Mar, 2019 1 commit
  18. 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
  19. 31 Oct, 2018 1 commit
  20. 08 Sep, 2017 1 commit
    • Max Kellermann's avatar
      output/Interface: allow Pause() to throw exception · d0f6131b
      Max Kellermann authored
      Coverity discovered that the Pulse plugin could throw exceptions from
      Pause(), but that method was marked "noexcept" because its caller was
      not designed to catch exceptions.  So instead of avoiding exceptions
      (by catching and logging them in each and every implementation), let's
      allow them, and do the catch/log game in the MPD core.
      d0f6131b
  21. 10 Aug, 2017 1 commit
  22. 08 Aug, 2017 1 commit
  23. 07 Aug, 2017 2 commits
  24. 16 May, 2017 1 commit
  25. 28 Apr, 2017 1 commit
  26. 25 Jan, 2017 1 commit
  27. 17 Jan, 2017 1 commit
  28. 03 Jan, 2017 2 commits
  29. 28 Dec, 2016 1 commit
  30. 09 Nov, 2016 2 commits
  31. 26 Feb, 2016 1 commit
  32. 01 Feb, 2015 1 commit
  33. 21 Jan, 2015 1 commit
  34. 01 Jan, 2015 1 commit
  35. 29 Dec, 2014 2 commits