transmission/libtransmission
Charles Kerr 51760bd5c1
refactor: make tr_peerIoGetAddress() a member function (#3141)
* refactor: make tr_peerIoGetAddress() a member function

* refactor: make tr_peerIo.addr a private field

* refactor: make tr_peerIoIsIncoming a member function

* refactor: make tr_peerIoHasBandwidthLeft a member function

* refactor: make tr_peerIoGetPieceSpeed_Bps a member function

* refactor: make tr_peerIoSupportsFEXT() a member function

* refactor: mark tr_peerIo::supportsDHT nodiscard

* refactor: update naming style for tr_peerIo fields

* refactor: make tr_peerIo.is_seed a private field
2022-05-26 12:17:03 -05:00
..
.clang-tidy build: re-enable cert-err33-c clang-tidy warning (#2968) 2022-04-22 14:56:54 -05:00
CMakeLists.txt perf: faster detection of invalid filenames (#3126) 2022-05-23 17:53:26 -05:00
announce-list.cc refactor: remove tr_announce_list.tiers (#2960) 2022-04-21 15:48:30 -05:00
announce-list.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
announcer-common.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
announcer-http.cc refactor: add tr_address::fromCompact() (#2961) 2022-04-21 17:06:00 -05:00
announcer-udp.cc refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
announcer.cc Address format conversion warnings in localizations (#3059) 2022-05-14 00:31:24 -05:00
announcer.h docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
bandwidth.cc refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
bandwidth.h refactor: remove unused tr_torrent fields (#3013) 2022-04-28 11:52:07 -05:00
benc.h perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
bitfield.cc fix: compiler warnings (#3123) 2022-05-22 21:22:34 -05:00
bitfield.h refactor: remove unused tr_torrent fields (#3013) 2022-04-28 11:52:07 -05:00
block-info.cc meta info piece_size should be maximum UINT32_MAX (#2914) 2022-04-15 00:38:59 -05:00
block-info.h meta info piece_size should be maximum UINT32_MAX (#2914) 2022-04-15 00:38:59 -05:00
blocklist.cc fix: compiler warnings (#3123) 2022-05-22 21:22:34 -05:00
blocklist.h fix: compiler warnings (#3123) 2022-05-22 21:22:34 -05:00
cache.cc fix: sonarcloud warnings (#2804) 2022-03-24 00:18:41 -05:00
cache.h refactor: use tr_block_info::Location in cache.cc (#2652) 2022-02-19 07:45:19 -06:00
clients.cc fix: tr_clientForId() (#2887) 2022-04-06 12:06:11 -05:00
clients.h
completion.cc refactor: tr_block_info (#2908) 2022-04-13 20:22:59 -05:00
completion.h refactor: tr_block_info (#2908) 2022-04-13 20:22:59 -05:00
crypto-utils-ccrypto.cc docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
crypto-utils-cyassl.cc refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
crypto-utils-fallback.cc
crypto-utils-openssl.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
crypto-utils-polarssl.cc refactor: a little more logging (#2800) 2022-03-22 11:45:56 -05:00
crypto-utils.cc refactor: remove tr_strvJoin() (#2896) 2022-04-07 17:26:59 -05:00
crypto-utils.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
crypto.cc
crypto.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
error-types.h
error.cc refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
error.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
file-piece-map.cc perf: faster file priorities (#2992) 2022-04-26 11:11:21 -05:00
file-piece-map.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
file-posix.cc perf: tr_sys_path_dirname() returns a std::string_view (#2990) 2022-05-21 11:10:58 -05:00
file-win32.cc perf: tr_sys_path_dirname() returns a std::string_view (#2990) 2022-05-21 11:10:58 -05:00
file.cc
file.h perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
handshake.cc refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
handshake.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
history.h refactor: make tr_recentHistory a template class (#3012) 2022-04-28 10:52:26 -05:00
inout.cc fixup! fixup! fix: ensure all bytes read / written to file (#2682) (#2780) (#3035) 2022-04-30 18:43:32 -05:00
inout.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
interned-string.h fix: sonarcloud (#2837) 2022-03-29 05:57:04 -05:00
jsonsl.c docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
jsonsl.h docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
libt.dox docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
log.cc fixup: minor log string formatting changes (#2913) 2022-04-13 23:19:18 -05:00
log.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
lru-cache.h refactor: replace tr_fdlimit with tr_open_files (#3016) 2022-04-28 21:35:47 -05:00
magnet-metainfo.cc perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
magnet-metainfo.h perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
makemeta.cc perf: faster detection of invalid filenames (#3126) 2022-05-23 17:53:26 -05:00
makemeta.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
mime-types.h
mime-types.js
natpmp.cc refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
natpmp_local.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
net.cc fix: ESPIPE "illegal seek" error while seeding (#3137) 2022-05-25 18:16:15 -05:00
net.h refactor: add tr_address.readable (#2962) 2022-04-21 18:37:02 -05:00
open-files.cc fix: silence unexpected key warnings in torrent file parser (#3133) 2022-05-24 15:28:02 -05:00
open-files.h Fix TeamCity Code Style (#3045) 2022-05-01 13:06:32 -05:00
peer-common.h fix: invalid tr_peerMsgsImpl::prefetchCount value (#3024) 2022-04-29 12:44:22 -05:00
peer-io.cc refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
peer-io.h refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
peer-mgr-active-requests.cc fix: sonarcloud (#2868) 2022-04-02 17:42:51 -05:00
peer-mgr-active-requests.h
peer-mgr-wishlist.cc refactor: rename mediator classes (#2681) 2022-02-22 09:09:24 -06:00
peer-mgr-wishlist.h refactor: rename mediator classes (#2681) 2022-02-22 09:09:24 -06:00
peer-mgr.cc refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
peer-mgr.h refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
peer-msgs.cc refactor: make tr_peerIoGetAddress() a member function (#3141) 2022-05-26 12:17:03 -05:00
peer-msgs.h fix: invalid tr_peerMsgsImpl::prefetchCount value (#3024) 2022-04-29 12:44:22 -05:00
peer-socket.h fix: ESPIPE "illegal seek" error while seeding (#3137) 2022-05-25 18:16:15 -05:00
platform-quota.cc Address build warnings (#3052) 2022-05-04 18:54:41 -05:00
platform-quota.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
platform.cc refactor: add pathbuf and std::string-friendly helpers to tr_sys file and path funcs (#3118) 2022-05-21 20:17:00 -05:00
platform.h refactor: use fmt to build the GTK client's user-visible strings (#2788) 2022-03-21 09:15:48 -05:00
port-forwarding.cc refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
port-forwarding.h refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
ptrarray.cc refactor: remove unused macros (#2897) 2022-04-07 19:20:29 -05:00
ptrarray.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
quark.cc Limit bandwidth used by a group of torrents (#2761) 2022-03-18 08:11:59 -05:00
quark.h refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
resume.cc refactor: use smaller integral types in some structs (#3005) 2022-04-27 20:06:51 -05:00
resume.h Limit bandwidth used by a group of torrents (#2761) 2022-03-18 08:11:59 -05:00
rpc-server.cc fix: compiler warnings (#3123) 2022-05-22 21:22:34 -05:00
rpc-server.h refactor: prefer tr_pathbuf over tr_strvPath() (#2966) 2022-04-22 11:35:56 -05:00
rpcimpl.cc refactor: prefer std::vector over raw array in torrentGet() (#3140) 2022-05-26 09:36:00 -05:00
rpcimpl.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
session-id.cc refactor: add pathbuf and std::string-friendly helpers to tr_sys file and path funcs (#3118) 2022-05-21 20:17:00 -05:00
session-id.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
session.cc Revert "refactor: move tr_torrent callbacks to tr_session (#3003)" (#3104) 2022-05-16 13:48:43 -05:00
session.h fix: ESPIPE "illegal seek" error while seeding (#3137) 2022-05-25 18:16:15 -05:00
stats.cc refactor: tr_variantToFile() takes a string_view filename (#2824) 2022-03-25 22:39:08 -05:00
stats.h
subprocess-posix.cc refactor: prefer FMT_STRING (#2845) 2022-03-30 14:59:13 -05:00
subprocess-win32.cc refactor: remove tr_strvJoin() (#2896) 2022-04-07 17:26:59 -05:00
subprocess.h
torrent-ctor.cc refactor: use std::vector<tr_quark> for torrent labels (#2942) 2022-04-18 00:53:48 -05:00
torrent-files.cc perf: faster detection of invalid filenames (#3126) 2022-05-23 17:53:26 -05:00
torrent-files.h perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
torrent-magnet.cc Pause magnet download when "Start when added" is unchecked (#2902) 2022-04-18 01:03:44 -05:00
torrent-magnet.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
torrent-metainfo.cc fix: silence unexpected key warnings in torrent file parser (#3133) 2022-05-24 15:28:02 -05:00
torrent-metainfo.h perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
torrent.cc refactor: add pathbuf and std::string-friendly helpers to tr_sys file and path funcs (#3118) 2022-05-21 20:17:00 -05:00
torrent.h Revert "refactor: move tr_torrent callbacks to tr_session (#3003)" (#3104) 2022-05-16 13:48:43 -05:00
torrents.cc refactor: prefer std::vector as the default container (#2964) 2022-04-22 08:08:02 -05:00
torrents.h refactor: prefer std::vector as the default container (#2964) 2022-04-22 08:08:02 -05:00
tr-assert.cc refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-assert.h refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-assert.mm refactor: remove varargs from TR_ASSERT_MSG() (#2861) 2022-04-01 18:00:51 -05:00
tr-dht.cc refactor: remove unused tr_torrent fields (#3013) 2022-04-28 11:52:07 -05:00
tr-dht.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
tr-getopt.cc
tr-getopt.h
tr-lpd.cc fix: ESPIPE "illegal seek" error while seeding (#3137) 2022-05-25 18:16:15 -05:00
tr-lpd.h refactor: remove unused functions (#2863) 2022-04-01 21:55:30 -05:00
tr-macros.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
tr-popcount.h Refactor: use popcnt in bitfield and cleanup warnings (#2950) 2022-04-22 06:54:35 -05:00
tr-strbuf.h refactor: add pathbuf and std::string-friendly helpers to tr_sys file and path funcs (#3118) 2022-05-21 20:17:00 -05:00
tr-udp.cc fix: ESPIPE "illegal seek" error while seeding (#3137) 2022-05-25 18:16:15 -05:00
tr-udp.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
tr-utp.cc refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
tr-utp.h refactor: use tr_block_info::Location in cache.cc (#2652) 2022-02-19 07:45:19 -06:00
transmission.h Revert "refactor: move tr_torrent callbacks to tr_session (#3003)" (#3104) 2022-05-16 13:48:43 -05:00
trevent.cc build: re-enable cert-err33-c clang-tidy warning (#2968) 2022-04-22 14:56:54 -05:00
trevent.h fix: sonarcloud (#2865) 2022-04-02 09:06:02 -05:00
upnp.cc refactor: add a tr_port safety class (#2952) 2022-04-21 10:58:13 -05:00
upnp.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
utils.cc perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
utils.h perf: use fast_float to parse floating-point numbers (#3092) 2022-05-16 00:06:17 -05:00
variant-benc.cc test: fuzz test tr_variantFromBuf() (#2892) 2022-04-06 16:39:39 -05:00
variant-common.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
variant-json.cc perf: use fast_float to parse floating-point numbers (#3092) 2022-05-16 00:06:17 -05:00
variant.cc perf: use fast_float to parse floating-point numbers (#3092) 2022-05-16 00:06:17 -05:00
variant.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
verify.cc refactor: make tr_torrent::verify_state_ private (#2982) 2022-04-24 22:43:26 -05:00
verify.h
version.h.in
watchdir-common.h
watchdir-generic.cc refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
watchdir-inotify.cc refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
watchdir-kqueue.cc refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
watchdir-win32.cc refactor: remove remaining vararg log messages (#2776) 2022-03-17 17:39:06 -05:00
watchdir.cc refactor: convert watchdir to C++ (#2899) 2022-04-09 09:58:02 -05:00
watchdir.h
web-utils.cc perf: do not use tr_variant when parsing .torrent files 2022-05-23 23:05:16 -05:00
web-utils.h refactor: remove tr_url_parsed_t.portstr (#2929) 2022-04-16 13:13:42 -05:00
web.cc refactor: annotate nodiscard, constexpr, noexcept methods (#2879) 2022-04-04 22:51:56 -05:00
web.h chore: iwyu cleanup (#2981) 2022-04-24 20:49:52 -05:00
webseed.cc fix: assertion failed: task->loc.byte <= task->end_byte (#3109) 2022-05-18 15:49:40 -05:00
webseed.h
wildmat.c