transmission/libtransmission
Charles Kerr fdf042d32c
refactor: add tr_compare_3way() (#5742)
* refactor: add tr_compare_3way()

This is a small templated utility function to make libtransmission's
sorting / comparison code more consistent and easier to read.
2023-07-06 18:51:08 -05:00
..
.clang-tidy refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
CMakeLists.txt refactor: add lightweight observable / observer for decoupling (#5716) 2023-07-04 15:47:18 -05:00
announce-list.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
announce-list.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
announcer-common.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
announcer-http.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
announcer-udp.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
announcer.cc refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
announcer.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
bandwidth.cc refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
bandwidth.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
benc.h
bitfield.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
bitfield.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
block-info.cc refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
block-info.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
blocklist.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
blocklist.h
cache.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
cache.h perf: make `CompareCacheBlockByKey` constexpr (#5678) 2023-06-28 10:23:38 -05:00
clients.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
clients.h
completion.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
completion.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
crypto-utils-ccrypto.cc
crypto-utils-fallback.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
crypto-utils-mbedtls.cc
crypto-utils-openssl.cc
crypto-utils-wolfssl.cc
crypto-utils.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
crypto-utils.h perf: avoid string allocations by using fixed-width hash strings (#5725) 2023-07-04 13:04:03 -05:00
error-types.h
error.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
error.h
favicon-cache.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
file-capacity.cc refactor: rename tr_dirSpace() to tr_sys_path_capacity() (#5689) 2023-06-29 10:23:00 -05:00
file-piece-map.cc perf: use small:set in tr_file_piece_map::reset() (#5720) 2023-07-03 21:57:09 -05:00
file-piece-map.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
file-posix.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
file-win32.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
file.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
file.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
global-ip-cache.cc fix: assert failure when Transmission quit with pending IP queries (#5721) 2023-07-04 16:33:58 -05:00
global-ip-cache.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
handshake.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
handshake.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
history.h
inout.cc perf: move log strings instead of cloning them (#5726) 2023-07-04 14:03:45 -05:00
inout.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
interned-string.h chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
libt.dox
log.cc perf: move log strings instead of cloning them (#5726) 2023-07-04 14:03:45 -05:00
log.h perf: move log strings instead of cloning them (#5726) 2023-07-04 14:03:45 -05:00
lru-cache.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
magnet-metainfo.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
magnet-metainfo.h perf: avoid string allocations by using fixed-width hash strings (#5725) 2023-07-04 13:04:03 -05:00
makelog
makemeta.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
makemeta.h perf: minor cleanups (#5728) 2023-07-04 19:47:51 -05:00
mime-types.h chore: update mime types (#5712) 2023-07-02 08:32:21 -05:00
mime-types.js chore: update mime types (#5712) 2023-07-02 08:32:21 -05:00
net.cc refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
net.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
observable.h refactor: add lightweight observable / observer for decoupling (#5716) 2023-07-04 15:47:18 -05:00
open-files.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
open-files.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
peer-common.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-io.cc refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
peer-io.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
peer-mgr-active-requests.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-mgr-active-requests.h
peer-mgr-wishlist.cc refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
peer-mgr-wishlist.h refactor: small again (#5666) 2023-06-25 12:33:32 -05:00
peer-mgr.cc refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
peer-mgr.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
peer-mse.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
peer-mse.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-msgs.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
peer-msgs.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
peer-socket.cc refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
peer-socket.h refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
platform.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
platform.h
port-forwarding-natpmp.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
port-forwarding-natpmp.h
port-forwarding-upnp.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
port-forwarding-upnp.h
port-forwarding.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
port-forwarding.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
quark.cc Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
quark.h Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
resume.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
resume.h
rpc-server.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
rpc-server.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
rpcimpl.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
rpcimpl.h
session-alt-speeds.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session-alt-speeds.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
session-id.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
session-id.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session-settings.cc chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
session-settings.h
session-thread.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
session-thread.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
session.h refactor: add lightweight observable / observer for decoupling (#5716) 2023-07-04 15:47:18 -05:00
stats.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
stats.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
subprocess-posix.cc chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
subprocess-win32.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
subprocess.h
timer-ev.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
timer-ev.h
timer.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
torrent-ctor.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
torrent-files.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-files.h
torrent-magnet.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-magnet.h
torrent-metainfo.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
torrent-metainfo.h perf: minor cleanups (#5728) 2023-07-04 19:47:51 -05:00
torrent.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
torrent.h perf: minor cleanups (#5728) 2023-07-04 19:47:51 -05:00
torrents.cc perf: convert comparator functors to static constexpr (#5687) 2023-06-29 13:13:25 -05:00
torrents.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
tr-arc4.h refactor: use reserve_space() in peer-io (#5532) 2023-05-17 13:57:27 -05:00
tr-assert.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
tr-assert.h
tr-assert.mm chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
tr-buffer.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
tr-dht.cc refactor: add tr_socket_address typedef (#5730) 2023-07-05 11:33:50 -05:00
tr-dht.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
tr-getopt.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
tr-getopt.h
tr-lpd.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
tr-lpd.h
tr-macros.h
tr-popcount.h
tr-strbuf.h perf: avoid string allocations by using fixed-width hash strings (#5725) 2023-07-04 13:04:03 -05:00
tr-udp.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
tr-utp.cc refactor: use `std::pair` to store socket addresses (#5723) 2023-07-04 20:29:12 -05:00
tr-utp.h
transmission.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
utils-ev.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
utils-ev.h
utils.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
utils.h refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
utils.mm
variant-benc.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
variant-common.h
variant-converters.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
variant-json.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
variant.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
variant.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
verify.cc refactor: add tr_compare_3way() (#5742) 2023-07-06 18:51:08 -05:00
verify.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
version.h.in
watchdir-base.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
watchdir-generic.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
watchdir-inotify.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
watchdir-kqueue.cc
watchdir-win32.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
watchdir.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
watchdir.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
web-utils.cc chore: misc-include-cleaner (partial) (#5738) 2023-07-06 10:00:07 -05:00
web-utils.h chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
web.cc fix: conform to libcurl requirements to avoid memory leak (#5702) 2023-07-05 22:05:03 -05:00
web.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
webseed.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
webseed.h