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. 15 Oct, 2021 2 commits
  3. 13 Oct, 2021 1 commit
  4. 06 Oct, 2021 1 commit
  5. 31 May, 2021 1 commit
  6. 17 May, 2021 1 commit
  7. 04 Mar, 2021 1 commit
    • Érico Rolim's avatar
      storage/plugins/CurlStorage: don't use glibc extension in · c95e3dc0
      Érico Rolim authored
      ParseTimePoint.
      
      %Z is a glibc extension to strptime, and is a no-op there, due to the
      mapping between timezone names and their definition (especially when the
      name comes from a different machine) being ambiguous / impossible.  Time
      in HTTP headers is guaranteed to be UTC.
      
      Passing an unknown format to strptime() implementations that don't
      support it will generally cause them to return NULL, which will lead to
      ParseTimePoint throwing an exception and ParseTimeStamp using an
      unnecessary fallback.
      
      Since the timezone name goes at the end of the string, we don't need to
      use %Z to skip it (could be an issue in a different time stamp format),
      so simply removing %Z works best.
      c95e3dc0
  8. 05 Feb, 2021 1 commit
  9. 17 Jan, 2021 1 commit
  10. 08 Jan, 2021 1 commit
  11. 05 Jan, 2021 1 commit
  12. 04 Jan, 2021 3 commits
  13. 01 Jan, 2021 1 commit
  14. 01 Dec, 2020 1 commit
  15. 06 Nov, 2020 2 commits
  16. 16 Sep, 2020 1 commit
  17. 20 Jul, 2020 4 commits
  18. 30 May, 2020 1 commit
  19. 22 Apr, 2020 1 commit
  20. 15 Apr, 2020 2 commits
  21. 06 Apr, 2020 1 commit
  22. 03 Apr, 2020 4 commits
  23. 26 Mar, 2020 2 commits
  24. 16 Mar, 2020 1 commit
  25. 13 Mar, 2020 1 commit
  26. 12 Mar, 2020 2 commits
  27. 07 Mar, 2020 1 commit