transmission/tests/libtransmission
Charles Kerr 8cdc2c633e
refactor: replace tr_torrentFiles() with tr_torrentFileProgress() (#1994)
* refactor: s/tr_torrentFiles/tr_torrentFileProgress

Replace tr_torrentFiles() with a new function, tr_torrentFileProgress().

tr_torrentFiles() heap-allocated an array of progress structs. There is
nothing intrinsic in tr_torrent making batch computation more efficient,
so this PR replaces it with tr_torrentFileProgress(), a per-file variant
that doesn't use the heap.
2021-10-21 13:31:03 -05:00
..
assets Fix/benc zero length dict key (#1964) 2021-10-15 13:13:33 -05:00
.clang-tidy build: silence new clang-tidy 13 warnings (#1982) 2021-10-17 19:48:33 -05:00
CMakeLists.txt Fix/benc zero length dict key (#1964) 2021-10-15 13:13:33 -05:00
bitfield-test.cc fix: assertion failure in bitfield::bitfield(flags, n) (#1976) 2021-10-17 10:34:36 -05:00
blocklist-test.cc fix: some Coverity regressions reported on 2021-09-16 (#1870) 2021-10-01 15:28:01 -05:00
clients-test.cc refactor: C++ify clients.cc (#1907) 2021-10-08 21:46:10 -05:00
copy-test.cc fix: some Coverity regressions reported on 2021-09-16 (#1870) 2021-10-01 15:28:01 -05:00
crypto-test-ref.h Switch to a standalone ARC4 implementation (#1788) 2021-09-12 06:47:29 +03:00
crypto-test.cc refactor: prefer "using" over "typedef" (#1883) 2021-10-06 09:26:07 -05:00
error-test.cc
file-test.cc refactor: use maybe unused attribute (#1918) 2021-10-10 11:52:26 -05:00
getopt-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
history-test.cc refactor: use C++ inheritance for tr_peer, tr_peerMsgs, and tr_webseed (#1877) 2021-10-07 08:33:55 -05:00
json-test.cc refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
magnet-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
makemeta-test.cc Add support for creating torrents with a source flag (#443) 2021-10-18 18:05:39 -05:00
metainfo-test.cc refactor: tr_torrentInfoGetMagnetLink now takes a std::string_view (#1968) 2021-10-16 08:20:04 -05:00
move-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
peer-msgs-test.cc
quark-test.cc tr_quark_new() now takes a std::string_view (#1961) 2021-10-15 08:28:47 -05:00
rename-test.cc refactor: replace tr_torrentFiles() with tr_torrentFileProgress() (#1994) 2021-10-21 13:31:03 -05:00
rpc-test.cc refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
session-test.cc Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
subprocess-test-program.cc C++ modernization: Replace NULLs with typesafe nullptrs (#1799) 2021-09-14 19:18:09 -05:00
subprocess-test-script.cmd Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
subprocess-test.cc fix: some Coverity regressions reported on 2021-09-16 (#1870) 2021-10-01 15:28:01 -05:00
test-fixtures.h Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
utils-test.cc refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
variant-test.cc refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
watchdir-test.cc refactor: replace tr_ptrArray with std::unordered_set in tr_watchdir_scan() (#1854) 2021-09-29 12:25:52 -05:00