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. 01 Jan, 2021 1 commit
  3. 12 Mar, 2020 1 commit
  4. 18 Jan, 2020 1 commit
  5. 17 Jun, 2019 1 commit
  6. 29 May, 2019 1 commit
  7. 07 May, 2019 2 commits
  8. 05 Apr, 2019 1 commit
  9. 04 Apr, 2019 1 commit
  10. 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
  11. 31 Oct, 2018 1 commit
  12. 06 Jul, 2018 1 commit
  13. 22 Jun, 2018 1 commit
    • Max Kellermann's avatar
      input/Stream: remove attribute "cond", replace with handler interface · d0fbf6db
      Max Kellermann authored
      This adds a bit of overhead, but also adds flexibility to the API,
      because arbitrary triggers may be invoked from that virtual method
      implementation, not just Cond::signal().
      
      The motivation for this is to make the handlers more dynamic, for the
      upcoming buffering class utilizing ProxyInputStream.
      d0fbf6db
  14. 20 Jan, 2018 1 commit
  15. 20 Dec, 2017 1 commit
  16. 10 Nov, 2017 1 commit
  17. 21 Sep, 2017 2 commits
  18. 19 Sep, 2017 2 commits
  19. 04 Jun, 2017 1 commit
  20. 08 May, 2017 1 commit
  21. 25 Jan, 2017 1 commit
  22. 03 Jan, 2017 2 commits
  23. 16 Sep, 2016 2 commits
  24. 09 Sep, 2016 2 commits
  25. 17 Jun, 2016 3 commits
  26. 01 Mar, 2016 1 commit
  27. 26 Feb, 2016 1 commit
  28. 06 Jan, 2015 1 commit
    • Max Kellermann's avatar
      input/async: reset the "open" flag after seeking successfully · 37e90108
      Max Kellermann authored
      Fixes a problem with the "curl" input plugin: IsEOF() always returns
      true because the "open" flag was cleared by
      CurlInputStream::RequestDone() when end-of-stream was reached.  This
      flag stays false even when seeking to another position has succeeded.
      
      This patch resets the "open" flag to true after seeking successfully.
      37e90108
  29. 01 Jan, 2015 1 commit
  30. 07 Nov, 2014 1 commit
  31. 19 Aug, 2014 1 commit
  32. 21 Jun, 2014 1 commit