mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
f59118d1fe
* feat: add torrent-get 'primary-mime-type' to RPC.
This is a cheap way for RPC clients to know what type of content is in a
torrent. This info can be used to display the torrent, e.g. by using an
icon that corresponds to the mime type.
* use size_t for content byte count
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
* explicit boolean expressions
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
* use uint64_t for content byte counts
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
* avoid unnecessary logic branches
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
* explicit cast
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
* refactor: add an autogenerated mime-type.h header
* chore: maybe fix the win32 FTBFS
* chore: add mime-types.[ch] to xcode
* Squashed commit of the following:
commit
|
||
---|---|---|
.. | ||
.clang-tidy | ||
bitfield-test.cc | ||
blocklist-test.cc | ||
clients-test.cc | ||
CMakeLists.txt | ||
crypto-test-ref.h | ||
crypto-test.cc | ||
error-test.cc | ||
file-test.cc | ||
getopt-test.cc | ||
history-test.cc | ||
json-test.cc | ||
magnet-test.cc | ||
makemeta-test.cc | ||
metainfo-test.cc | ||
move-test.cc | ||
peer-msgs-test.cc | ||
quark-test.cc | ||
rename-test.cc | ||
rpc-test.cc | ||
session-test.cc | ||
subprocess-test.cc | ||
subprocess-test.cmd | ||
test-fixtures.h | ||
utils-test.cc | ||
variant-test.cc | ||
watchdir-test.cc |