Commit Graph

307 Commits

Author SHA1 Message Date
Charles Kerr
4e1c0228af Revert "Compatibility with libevent 2.2" (#7795)
* Revert "Compatibility with libevent 2.2 (#7765)"

This reverts commit b372f7b193.

* Compatibility with libevent 2.2

---------

Co-authored-by: Cœur <coeur@gmx.fr>
2025-11-10 14:08:19 -06:00
Cœur
b372f7b193 Compatibility with libevent 2.2 (#7765)
* Compatibility with libevent 2.2

* Fix Android builds

* Fix Win32 builds
2025-11-10 10:33:20 -06:00
Cœur
aba9a7d6fd Bump fmt to 12.1 (#7793) 2025-11-10 09:06:19 -06:00
Cœur
9e5b72df0f bump miniupnpc to 2.3.3 (#7783) 2025-11-09 14:51:44 -06:00
Yat Ho
0715897fc8 feat: use canonical peer priority to decide which peers to keep (#6981)
* feat: CRC32-C

* feat: canonical peer priority calculation bep-40

* test: add test cases for IPv4 canonical peer priority

* refactor: compare by canonical priority

* fix: use network byte order for peer ports

* test: more cases

* build: xcode

Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com>

* ci: test system crc32c library

---------

Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2025-10-25 12:05:20 -05:00
Yat Ho
fb25228f24 chore: bump {fmt} to 11.2.0 and fix compatibility (#7612)
* chore: bump fmt to 11.2.0

Acquire 6797f0c39a, which fixes compile error on GCC 15.1.

Acquire
9f269062a7,
which fixes buffer overflow in NetBSD 10.1 on GCC 10.5.

Replace `fmt::localtime` with `std::localtime`, as `fmt::` is now
deprecated.

* fix: format timezone ourselves on Windows

{fmt} 11.2.0 removed the ability to format `std::tm` with the format specifier `%z` on Windows, for a good reason. Ref: https://github.com/fmtlib/fmt/issues/4444

This forces us to implement our own solution on Windows as there's no alternative.

* fix: support `FMT_USE_EXCEPTIONS`
2025-10-14 12:53:08 -05:00
Yat Ho
10e7f10d26 chore: bump libevent (#7578) 2025-05-01 14:44:37 +01:00
Yat Ho
0659f50373 chore: bump libnatpmp (#7536) 2025-05-01 11:53:38 +01:00
Yat Ho
e42bac88a6 chore: bump dht (#7577) 2025-05-01 11:24:19 +01:00
Yat Ho
7a094006fb chore: bump googletest (#7538) 2025-05-01 04:48:04 +01:00
Yat Ho
0a6c123fb7 chore: bump libpsl (#7575) 2025-05-01 02:06:25 +01:00
Yat Ho
90d71d928d chore: bump rapidjson (#7537) 2025-04-30 23:29:33 +01:00
Yat Ho
52a12200b2 chore: bump wide-integer (#7383)
* chore: bump wide_integer

* refactor: use `uint64_t` for better performance
2025-03-04 08:19:01 -06:00
Yat Ho
384b265033 chore: bump libutp (#7250) 2024-11-17 20:37:34 -06:00
Yat Ho
abfd39065c chore: bump small (#6976)
https://github.com/alandefreitas/small/pull/46
2024-08-13 03:00:58 +01:00
Cœur
2dcd01df1f compatibility with libfmt v11 (#6979)
* compatibility with libfmt v11

* bumping fmt from 11.0.1 to 11.0.2
2024-08-13 02:41:05 +01:00
Cœur
e028ee4b1d bump googletest from 1.14.0 to 1.15.2 (#7031) 2024-08-13 00:58:45 +01:00
Cœur
018fbbf074 bump fast_float from 6.1.1 to 6.1.3 (#7032) 2024-08-13 00:55:51 +01:00
Cœur
febfe49ca3 bump miniupnpc to 2.2.8 (#6907)
* bump miniupnpc to 2.2.8

* Avoid build error "ln: include/miniupnpc/.: Operation not permitted"
2024-06-15 00:24:06 +01:00
Dzmitry Neviadomski
f24582ea2b Fix incorrect value for SortIncludes in .clang-format (#6784)
See https://clang.llvm.org/docs/ClangFormatStyleOptions.html#sortincludes

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2024-05-24 10:31:21 -05:00
Cœur
5e5ec143b4 bump fast-float to 6.1.1 and miniupnpc to 2.2.7 and libdeflate to 1.2.0 (#6721)
* bump fast-float to 6.1.1

* bump miniupnpc to 2.2.7

* bump libdeflate to 1.2.0
2024-04-01 11:19:49 -05:00
Cœur
1edd9193a3 bumping libdeflate/small/utfcpp to newer versions (#6709)
* bumping small from 0.2.0 to 0.2.1
bumping libdeflate from 1.18 to 1.19
bumping utfcpp from 3.2.1 to 4.0.5

* rolling back `small` to allow building on NetBSD/amd64.

* keeping submodules on Transmission forks

* bumping `small` to allow building on NetBSD/amd64.
2024-03-17 17:28:47 -05:00
Cœur
0749300090 bumping googletest from 1.11.0 to 1.14.0 (#6702)
* bumping googletest from 1.11.0 to 1.14.0

* logging ::testing::TempDir()

* sandboxing ::testing::TempDir()
2024-03-17 15:13:56 -05:00
Cœur
a72a93764e deps: update miniupnp to 2.3.4 (miniupnpc 2.2.6) (#6459)
* refactor: add miniupnp 2.3.0 as a submodule

* refactor: remove miniupnpc submodule

* deps: specify the 2.3.0 branch

* build: point to miniupnp monorepo subdirectory miniupnpc

* Fix building miniupnp from Xcode

* fixed miniupnp updateminiupnpcstrings.sh usage

* updating to miniupnpc 2.2.6

* fix build for Windows

* code review: removing the header move

---------

Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-03-15 18:19:51 -05:00
Yat Ho
33898b002d chore: bump small (#6669) 2024-03-08 15:36:50 -06:00
Cœur
d7e74654c9 bump fast-float from 5.3.0 to 6.1.0 (#6602)
* bump fast-float from 5.3.0 to 6.0.0

* bump fast-float from 6.0.0 to 6.1.0
2024-02-17 13:32:22 -06:00
Charles Kerr
17a63b8026 chore: bump fmt to 10.2.0 (#6478) 2024-01-01 23:58:28 -06:00
Charles Kerr
4037726150 chore: bump fmt to 10.1.1 (#6358) 2023-12-08 11:20:04 -06:00
Charles Kerr
7c177224ed chore: bump utp snapshot to pick up assertion fix 2023-11-14 17:26:27 -06:00
Charles Kerr
07d96036d9 refactor: Values pt. 6 - remove deprecated API (#6250) 2023-11-14 17:23:51 -06:00
Cœur
b26d9a58a6 chore: fast_float 5.3.0 (#6255) 2023-11-14 16:45:01 -06:00
Yat Ho
cf077bbba0 chore: bump libutp (#6251) 2023-11-14 13:24:18 -06:00
Charles Kerr
3a0fe97983 deps: bump fmt to 10.1.1 (#6220) 2023-11-07 13:24:10 -06:00
Mike Gelfand
1c421d6d23 Minor CMake maintainability improvements (#6186)
* Prefer `PROJECT_{SOURCE,BINARY}_DIR` to `CMAKE_` ones

* Extend use of 3rd-party dir vars to reduce duplication

* Fix typo in submodule repo name

* Remove `CURL::libcurl` target fallback

The target is always available since CMake 3.12, which is our current
minimum version.
2023-10-30 20:44:34 +03:00
Yat Ho
b7c5aca6ad feat: update TR_VCS_REVISION when git HEAD changes (#6100) 2023-10-30 02:03:40 -04:00
Yat Ho
2130eb941a refactor: drop jsonsl in favour of RapidJSON (#6138) 2023-10-21 14:00:12 -05:00
Charles Kerr
c13500240a chore: bump to head of small/devel (#5743) 2023-07-07 11:02:25 -05:00
Charles Kerr
432fc9bafc refactor: add libsmall dependency (#5649)
* refactor: add small dependency

* refactor: use small in variant.cc

* refactor: use small in cache.h
2023-06-20 22:50:36 -05:00
Charles Kerr
fd583ac878 deps: bump libfmt to v10.0.0 (#5635)
seems to be semver/minor safe for our API use

Fixes #5511.

Possibly fixes #5627.
2023-06-18 17:36:39 -05:00
Charles Kerr
87f254ae90 chore: bump fast_float snaapshot to 5.2.0 (#5605) 2023-06-11 18:52:45 -05:00
Charles Kerr
3feb8e11e3 deps: bump libdeflate to v1.18 (#5388)
this is a bugfix-only release, semver patch
2023-04-13 13:36:00 -05:00
Mike Gelfand
b3abadf8ba Bump bundled libutp to rollback anonymous unions fix (#4877) 2023-02-18 02:59:15 +00:00
Mike Gelfand
39acf93f1a Always build bundled libb64 and libutp libraries as static (#4810) 2023-02-11 00:08:55 +00:00
Charles Kerr
854e01e893 build: bump libdeflate snapshot to 1.17 (#4596)
* build: bump libdeflate snapshot to 1.17

* Link to static libdeflate

Disable shared library and gzip program (both unused)

* Use platform-specific libdeflate library name

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2023-01-15 09:55:16 -06:00
Mike Gelfand
128cf34123 Move jsonsl and wildmat to third-party (#4402)
* Move jsonsl to third-party

This treats it as proper 3rd-party code to which our warning and style
settings don't extend.

* Move wildmat to third-party

This treats it as proper 3rd-party code to which our warning and style
settings don't extend.

* Fixup Xcode project to match new project structure
2022-12-18 19:19:07 +00:00
Charles Kerr
8b3fea9adf build: bump libb64 (#4129)
this fixes a libb64 FTBFS in clang-15 due to -Werror
2022-11-09 14:04:06 -06:00
Charles Kerr
7f1a8bafe3 build: bump fast_float from v3.5.0 to v3.6.0 (#4098) 2022-11-04 18:46:13 -05:00
A Cœur
2ca095d4a8 Fix set_version "The left operand of '&' is a garbage value" (#4064) 2022-11-02 05:39:14 +00:00
A Cœur
12e564096b fix: "Implicit conversion loses integer precision" warnings (#3960) 2022-10-25 11:14:42 -05:00
Charles Kerr
5bcbb7e34b refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00