transmission/tests/libtransmission
Daniel Kamil Kozar 77b11232f2
Add support for creating torrents with a source flag (#443)
* Add support for creating torrents with a source flag

* Add the source flag functionality for Mac OSX

* Source flag should be a part of the info dictionary

* Address review comments

* Rename "sourceFlag" to "source" since "Flag" is usually reserved for booleans.
* Free the "source" pointer in tr_metainfoFree.
* Add information about transmission-create argument to its manpage.

* Replace all occurences of "sourceFlag" with "source" and use "Source tag" in UI

* Settle on just "Source" in UI

* The last usage of "flag" hopefully bites the dust! ;-)

* Add a missing free for the source in tr_metainfoFree

* Add a "source" field to the torrent-get RPC method

* uncrustify

* Test for torrents having different infohashes due to different source flags.

This is the whole point of this feature, so it makes sense to test it.

* case is important

* try to incorporate the macosx xml changes
2021-10-18 18:05:39 -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 tr_quark_new() now takes a std::string_view (#1961) 2021-10-15 08:28:47 -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 Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
rpc-test.cc refactor: tr_rpc_parse_list_str() takes a std::string_view (#1966) 2021-10-15 18:34:22 -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_utf8clean now takes a std::string_view (#1967) 2021-10-15 20:02:40 -05:00
variant-test.cc tr_quark_new() now takes a std::string_view (#1961) 2021-10-15 08:28:47 -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