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. 13 Oct, 2021 2 commits
  3. 21 Aug, 2021 1 commit
  4. 05 Aug, 2021 5 commits
  5. 01 Jan, 2021 1 commit
  6. 08 Apr, 2020 1 commit
  7. 12 Mar, 2020 1 commit
  8. 18 Jan, 2020 1 commit
  9. 05 Jul, 2019 1 commit
  10. 17 Jun, 2019 1 commit
  11. 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
  12. 31 Oct, 2018 1 commit
  13. 20 Jan, 2018 2 commits
  14. 20 Dec, 2017 1 commit
  15. 10 Nov, 2017 1 commit
  16. 12 Sep, 2017 1 commit
  17. 08 Feb, 2017 1 commit
  18. 03 Jan, 2017 1 commit
  19. 01 Mar, 2016 1 commit
  20. 26 Feb, 2016 1 commit
  21. 30 Sep, 2015 1 commit
  22. 24 Aug, 2015 2 commits
  23. 06 Feb, 2015 1 commit
    • Max Kellermann's avatar
      TagBuilder: allow adding duplicate tag types in Complement() · b3fe3e8b
      Max Kellermann authored
      Build a table of pre-existing tag types before adding new items.  The
      old way would check HasType() each time, which would return true after
      the first instance of that tag type had been added, preventing
      duplicate tag types to be merged.
      
      This broke duplicate tag types loaded from the state file, because
      this code path uses TagBuilder::Complement().
      b3fe3e8b
  24. 01 Jan, 2015 1 commit
  25. 26 Dec, 2014 1 commit
  26. 10 Oct, 2014 1 commit
  27. 29 Aug, 2014 1 commit
  28. 24 Apr, 2014 1 commit
  29. 13 Jan, 2014 1 commit
  30. 08 Jan, 2014 2 commits
  31. 07 Jan, 2014 1 commit
  32. 03 Dec, 2013 1 commit