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. 01 Jan, 2021 1 commit
  4. 23 Sep, 2020 1 commit
    • Max Kellermann's avatar
      LogLevel: rename DEFAULT to NOTICE · c843bce9
      Max Kellermann authored
      "DEFAULT" is a bad name - all it says is that it's the default value,
      but it doesn't say what it means.  The name NOTICE mimics the syslog
      level.
      c843bce9
  5. 18 Jan, 2020 1 commit
  6. 17 Jun, 2019 1 commit
  7. 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
  8. 31 Oct, 2018 1 commit
  9. 10 Nov, 2017 1 commit
  10. 03 Jan, 2017 2 commits
  11. 18 Mar, 2016 4 commits
  12. 26 Feb, 2016 1 commit
  13. 01 Jan, 2015 1 commit
  14. 26 Feb, 2014 1 commit
  15. 04 Feb, 2014 1 commit
  16. 30 Jan, 2014 1 commit
  17. 24 Jan, 2014 2 commits
  18. 23 Jan, 2014 1 commit
  19. 19 Jan, 2014 1 commit
  20. 13 Jan, 2014 1 commit
  21. 09 Jan, 2014 1 commit
    • Max Kellermann's avatar
      DetachedSong: fork of struct Song · 322b0616
      Max Kellermann authored
      From now on, struct Song will be used by the database only, and
      DetachedSong will be used by everybody else.  DetachedSong is easier
      to use, but Song has lower overhead.
      322b0616
  22. 07 Jan, 2014 1 commit
  23. 28 Nov, 2013 1 commit
  24. 04 Nov, 2013 1 commit
    • Max Kellermann's avatar
      Log: add level "DEFAULT" · ecf12a60
      Max Kellermann authored
      Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to
      G_LOG_LEVEL_MESSAGE.  Now client connect/disconnect message are only
      logged on log_level "secure".
      ecf12a60
  25. 30 Oct, 2013 1 commit
  26. 21 Oct, 2013 1 commit
  27. 19 Oct, 2013 1 commit
  28. 16 Oct, 2013 1 commit
  29. 02 Oct, 2013 1 commit
  30. 28 Jul, 2013 1 commit
  31. 17 Apr, 2013 1 commit
  32. 21 Jan, 2013 1 commit
  33. 09 Jan, 2013 2 commits
  34. 07 Jan, 2013 1 commit