transmission/libtransmission
tearfur 9c17463a80
fix: revert "perf: improve IPv4 `tr_address` comparison" (#5709)
* Revert "perf: improve IPv4 `tr_address` comparison (#5651)"

This reverts commit 70decc1d9d.

* added tests

* add ipv4 equal test and std header
2023-07-01 09:39:35 -05:00
..
.clang-tidy fix: cppcoreguidelines-pro-type-cstyle-cast (#4685) 2023-01-28 15:26:23 -06:00
CMakeLists.txt refactor: rename tr_dirSpace() to tr_sys_path_capacity() (#5689) 2023-06-29 10:23:00 -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 refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
announcer-udp.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
announcer.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
bitfield.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
cache.cc perf: make `CompareCacheBlockByKey` constexpr (#5678) 2023-06-28 10:23:38 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-fallback.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-mbedtls.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-openssl.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils-wolfssl.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
crypto-utils.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
crypto-utils.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error-types.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
error.cc chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
error.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -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 iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
file.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
global-ip-cache.cc refactor: utils naming (#5696) 2023-06-30 09:49: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 perf: use a std::map to store peers in `tr_swarm` (#5645) 2023-06-22 15:21:44 -05:00
history.h underscores in documentation comments should be code escaped (#4639) 2023-01-23 10:26:11 -06:00
inout.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -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 docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
log.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
log.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
lru-cache.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
magnet-metainfo.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
magnet-metainfo.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
makelog refactor: misc-use-anonymous-namespace pt. 4 (#4550) 2023-01-07 12:58:16 -06:00
makemeta.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
makemeta.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
mime-types.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
mime-types.js chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
net.cc fix: revert "perf: improve IPv4 `tr_address` comparison" (#5709) 2023-07-01 09:39:35 -05:00
net.h refactor: followup/cleanup of `tr_global_ip_cache` PR (#5498) 2023-05-05 22:05:28 -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 iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-io.h perf: add StackBuffer using small::vector (#5672) 2023-06-27 10:51:20 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
peer-mgr-wishlist.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-mgr-wishlist.h refactor: small again (#5666) 2023-06-25 12:33:32 -05:00
peer-mgr.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-mgr.h perf: use a std::map to store peers in `tr_swarm` (#5645) 2023-06-22 15:21:44 -05:00
peer-mse.cc refactor: use reserve_space() in peer-io (#5532) 2023-05-17 13:57:27 -05:00
peer-mse.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-msgs.cc refactor: remove unused function tr_peer.bandwidth() (#5691) 2023-06-29 11:14:05 -05:00
peer-msgs.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
peer-socket.cc refactor: small again (#5666) 2023-06-25 12:33:32 -05:00
peer-socket.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
platform.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
platform.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-natpmp.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
port-forwarding-natpmp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
port-forwarding-upnp.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
port-forwarding-upnp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 fix: 5053 old torrent files keep appearing (#5117) 2023-03-01 20:12:19 -06:00
rpc-server.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
rpc-server.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
rpcimpl.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
rpcimpl.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 fix: generate peer-id on launch (#5233) 2023-03-15 20:53:48 -05:00
session-thread.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session-thread.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
session.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
session.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer-ev.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
timer-ev.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
timer.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
torrent-ctor.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-files.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-files.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
torrent-magnet.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-magnet.h fix: magnet links are always paused when added (#4856) 2023-02-13 12:33:33 -06:00
torrent-metainfo.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent-metainfo.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
torrent.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
torrent.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -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: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
tr-assert.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-lpd.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
tr-lpd.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-macros.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
tr-popcount.h fix: Remove faulty `popcnt` features checks for MSVC [#4872] (#4886) 2023-02-18 02:11:56 +00:00
tr-strbuf.h chore: prefer fmt/core.h over fmt/format.h (#5404) 2023-04-16 15:34:19 -05:00
tr-udp.cc add support for sending the `ipv4` parameter during ltep handshake (#5643) 2023-06-20 10:51:07 -05:00
tr-utp.cc refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
tr-utp.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
transmission.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
utils-ev.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
utils-ev.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
utils.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
utils.h refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
utils.mm fix: potential NSString leak in tr_strv_convert_utf8() 2023-04-11 17:36:22 -05:00
variant-benc.cc refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
variant-common.h chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
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 refactor: utils naming (#5696) 2023-06-30 09:49:58 -05:00
variant.h iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
verify.cc iwyu: remove, add std headers where used (#5694) 2023-06-29 23:51:55 -05:00
verify.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
version.h.in build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00
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: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
watchdir-kqueue.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -05:00
watchdir-win32.cc chore: include directory name in libtransmission #includes (#5308) 2023-04-14 14:33:23 -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 refactor: utils naming (#5696) 2023-06-30 09:49:58 -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 chore: remove tr_wait(); use std::this_thread::sleep_for() (#5683) 2023-06-29 08:51:39 -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 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00