1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 10:07:40 +00:00
transmission/libtransmission
Charles Kerr 581349ac37
refactor: simplify tr_clientForId() (#3751)
* refactor: use make buf_append() a template function; use libfmt

* refactor: make charint() use a lookup table

* chore: use std::equal instead of strncmp
2022-09-03 02:13:22 -05:00
..
.clang-tidy refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
announce-list.cc refactor: avoid tr_new() in transmission-remote (#3665) 2022-08-17 20:25:42 -05:00
announce-list.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
announcer-common.h refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
announcer-http.cc refactor: reduce http announce timeout interval to 45 seconds (#3745) 2022-09-01 15:11:51 -05:00
announcer-udp.cc refactor: make tr_session.speed_limit_Bps_ private (#3645) 2022-08-15 12:48:05 -05:00
announcer.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
announcer.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
bandwidth.cc refactor: tr_peerIo ref, unref (#3735) 2022-08-30 12:38:30 -05:00
bandwidth.h fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
benc.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
bitfield.cc fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
bitfield.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
block-info.cc refactor: make blockinfo methods constexpr (#3682) 2022-08-20 10:40:18 -05:00
block-info.h refactor: make blockinfo methods constexpr (#3682) 2022-08-20 10:40:18 -05:00
blocklist.cc refactor: remove tr_sys file_map_for_reading() (#3723) 2022-08-27 14:05:21 -05:00
blocklist.h refactor: remove tr_sys file_map_for_reading() (#3723) 2022-08-27 14:05:21 -05:00
cache.cc refactor: tr_peerIo ref, unref (#3735) 2022-08-30 12:38:30 -05:00
cache.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
clients.cc refactor: simplify tr_clientForId() (#3751) 2022-09-03 02:13:22 -05:00
clients.h refactor: simplify tr_clientForId() (#3751) 2022-09-03 02:13:22 -05:00
CMakeLists.txt refactor: local peer discovery (#3696) 2022-08-24 16:03:30 -05:00
completion.cc perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
completion.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
crypto-utils-ccrypto.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
crypto-utils-cyassl.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
crypto-utils-fallback.cc refactor: remove tr_dh code (#3443) 2022-07-14 19:54:10 -05:00
crypto-utils-openssl.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
crypto-utils-polarssl.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
crypto-utils.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
crypto-utils.h refactor: local peer discovery (#3696) 2022-08-24 16:03:30 -05:00
error-types.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
error.cc refactor: remove tr_free() (#3668) 2022-08-18 09:14:12 -05:00
error.h fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
file-piece-map.cc perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
file-piece-map.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
file-posix.cc refactor: remove unused function tr_sys_file_seek() (#3727) 2022-08-28 14:10:00 -05:00
file-win32.cc refactor: remove unused function tr_sys_file_seek() (#3727) 2022-08-28 14:10:00 -05:00
file.cc refactor: remove tr_sys file_map_for_reading() (#3723) 2022-08-27 14:05:21 -05:00
file.h refactor: remove unused function tr_sys_file_seek() (#3727) 2022-08-28 14:10:00 -05:00
handshake.cc refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
handshake.h refactor: prefer std::unique_ptr over std::shared_ptr (#3741) 2022-08-30 19:30:47 -05:00
history.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
inout.cc fix: when renaming local data files fails, set the torrent error and pause the torrent (#3717) 2022-08-26 18:57:44 -05:00
inout.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
interned-string.h refactor: remove tr_quark_get_string() (#3728) 2022-08-28 16:17:07 -05:00
jsonsl.c docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
jsonsl.h fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
libt.dox docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
log.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
log.h refactor: remove tr_new, tr_free pt. 1 (#3626) 2022-08-11 19:59:58 -05:00
lru-cache.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
magnet-metainfo.cc fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
magnet-metainfo.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
makemeta.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
makemeta.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
mime-types.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
mime-types.js chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
natpmp.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
natpmp_local.h refactor: remove tr_sys file_map_for_reading() (#3723) 2022-08-27 14:05:21 -05:00
net.cc refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
net.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
open-files.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
open-files.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
peer-common.h refactor: tr_peer_event (#3746) 2022-09-01 16:37:11 -05:00
peer-io.cc perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
peer-io.h refactor: tr_peerIo ref, unref (#3735) 2022-08-30 12:38:30 -05:00
peer-mgr-active-requests.cc refactor: iwyu (#3525) 2022-07-25 21:45:54 -05:00
peer-mgr-active-requests.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
peer-mgr-wishlist.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
peer-mgr-wishlist.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
peer-mgr.cc perf: check torrrent seed ratio less frequently (#3747) 2022-09-01 21:16:43 -05:00
peer-mgr.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
peer-mse.cc perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
peer-mse.h perf: make methods constexpr (#3742) 2022-08-30 23:17:23 -05:00
peer-msgs.cc refactor: tr_peer_event (#3746) 2022-09-01 16:37:11 -05:00
peer-msgs.h refactor: remove unnecessary default destructors (#3740) 2022-08-30 14:31:40 -05:00
peer-socket.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
platform-quota.cc refactor: use std::wstring on win32 (#3578) 2022-08-03 18:07:38 -05:00
platform-quota.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
platform.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
platform.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
port-forwarding.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
port-forwarding.h refactor: remove tr_new, tr_free pt. 1 (#3626) 2022-08-11 19:59:58 -05:00
quark.cc refactor: remove tr_quark_get_string() (#3728) 2022-08-28 16:17:07 -05:00
quark.h refactor: remove tr_quark_get_string() (#3728) 2022-08-28 16:17:07 -05:00
resume.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
resume.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
rpc-server.cc refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
rpc-server.h refactor: prefer std::unique_ptr over std::shared_ptr (#3741) 2022-08-30 19:30:47 -05:00
rpcimpl.cc refactor: prefer std::unique_ptr over std::shared_ptr (#3741) 2022-08-30 19:30:47 -05:00
rpcimpl.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
session-id.cc refactor: make tr_session_id a class (#3598) 2022-08-06 14:27:37 -05:00
session-id.h fix: coverity warnings (#3632) 2022-08-13 12:11:07 -05:00
session.cc refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
session.h refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
stats.cc refactor: local peer discovery (#3696) 2022-08-24 16:03:30 -05:00
stats.h refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
subprocess-posix.cc refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
subprocess-win32.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
subprocess.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
timer-ev.cc fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
timer-ev.h refactor: remove unnecessary default destructors (#3740) 2022-08-30 14:31:40 -05:00
timer.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
torrent-ctor.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
torrent-files.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
torrent-files.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
torrent-magnet.cc refactor: use std::ifstream in torrent-magnet (#3726) 2022-08-28 12:33:58 -05:00
torrent-magnet.h refactor: remove tr_session nonmember functions (#3641) 2022-08-14 14:41:57 -05:00
torrent-metainfo.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
torrent-metainfo.h refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
torrent.cc refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
torrent.h refactor: more constexpr (#3744) 2022-08-31 17:33:51 -05:00
torrents.cc fix: 3579 assertion when RPC client asks for torrent-id 0 (#3683) 2022-08-20 11:55:32 -05:00
torrents.h chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
tr-arc4.h refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
tr-assert.cc refactor: iwyu (#3525) 2022-07-25 21:45:54 -05:00
tr-assert.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
tr-assert.mm fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
tr-dht.cc refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
tr-dht.h fix: readability-inconsistent-declaration-parameter-name warnings in libtransmission (#3572) 2022-08-03 01:15:37 -05:00
tr-getopt.cc refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
tr-getopt.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
tr-lpd.cc refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
tr-lpd.h fix: lpd fixup (#3704) 2022-08-24 22:18:58 -05:00
tr-macros.h refactor: remove unused (#3675) 2022-08-18 22:47:23 -05:00
tr-popcount.h fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
tr-strbuf.h refactor: remove unnecessary default destructors (#3740) 2022-08-30 14:31:40 -05:00
tr-udp.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
tr-udp.h refactor: iwyu string, vector, cstdint (#2898) 2022-04-07 20:50:26 -05:00
tr-utp.cc Refactor/tr peer io member funcs (#3734) 2022-08-29 15:58:18 -05:00
tr-utp.h Update libutp to 3.4+ (TRAC-5888) (#3416) 2022-07-08 10:13:22 -05:00
transmission.h fix: fix various user facing and non-user facing typos (#3743) 2022-08-31 11:28:54 -05:00
trevent.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
trevent.h refactor: timer pt 3 (#3624) 2022-08-11 14:30:00 -05:00
upnp.cc refactor: modernize-avoid-c-arrays pt. 2 (#3713) 2022-08-26 13:35:28 -05:00
upnp.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
utils.cc refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
utils.h refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
variant-benc.cc refactor: split tr_parseNum inout var into two vars (#3748) 2022-09-02 01:04:09 -05:00
variant-common.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
variant-json.cc refactor: modernize-avoid-c-arrays pt. 1 (#3702) 2022-08-24 20:19:21 -05:00
variant.cc refactor: remove tr_removeElementFromArray() (#3731) 2022-08-28 21:51:26 -05:00
variant.h refactor: avoid tr_new() in transmission-remote (#3665) 2022-08-17 20:25:42 -05:00
verify.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
verify.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
version.h.in
watchdir-base.h refactor: remove unnecessary default destructors (#3740) 2022-08-30 14:31:40 -05:00
watchdir-generic.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
watchdir-inotify.cc chore: re-enable readability-redundant-access-specifiers warning (#3685) 2022-08-20 14:49:11 -05:00
watchdir-kqueue.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
watchdir-win32.cc chore: iwyu headers (#3661) 2022-08-17 11:08:36 -05:00
watchdir.cc perf: sonarcloud warnings about temp objects (#3686) 2022-08-20 15:57:32 -05:00
watchdir.h refactor: watchdir (#3606) 2022-08-10 08:34:51 -05:00
web-utils.cc refactor: replace tr_http_escape() with tr_urlEscape() (#3678) 2022-08-19 14:33:06 -05:00
web-utils.h refactor: tr_urlPercentEncode() (#3688) 2022-08-21 08:43:09 -05:00
web.cc refactor: prefer std::unique_ptr over std::shared_ptr (#3741) 2022-08-30 19:30:47 -05:00
web.h Fix IPv6 announce socket binding interface. (#3692) 2022-08-21 18:37:38 -05:00
webseed.cc refactor: tr_peer_event (#3746) 2022-09-01 16:37:11 -05:00
webseed.h chore: fix spdx abbreviations (#3602) 2022-08-08 13:05:39 -05:00
wildmat.c