Charles Kerr
|
d61e31c419
|
fix: more thread safety updates (#4136)
* fix: thread safety in tr_sessionLoadTorrents()
* refactor: use std::future in tr_sessionSet()
* refactor: use std::future in tr_sessionClose()
|
2022-11-10 12:04:49 -06:00 |
Charles Kerr
|
ab78759233
|
test: add libtransmission::Timer tests (#4121)
|
2022-11-08 16:20:21 -06:00 |
Charles Kerr
|
00cc28cf0b
|
perf: reuse existing evtimers instead of creating new ones (#4116)
|
2022-11-07 22:42:42 -06:00 |
Charles Kerr
|
4d8509c180
|
refactor: add libtransmission::evhelpers (#4104)
|
2022-11-06 15:11:30 -06:00 |
Charles Kerr
|
831eb8d40f
|
refactor: make `tr_session_thread` a unique_ptr owned by tr_session (#4069)
|
2022-11-04 16:20:27 -05:00 |
Charles Kerr
|
cdf817f2e7
|
fix: FTBFS on Windows (#4036)
* refactor: getPiececLength() now returns size_t
* refactor: tr_torrentSetMetadataPiece() length arg is now size_t
* refactor: tr_peerIo::flushOutgoingProtocolMsgs() returns size_t, takes a tr_error** for reporting errors
* refactor: define tr_mode_t for convenience
* fix: suseconds_t portability fix
|
2022-10-28 19:12:37 -05:00 |
A Cœur
|
12e564096b
|
fix: "Implicit conversion loses integer precision" warnings (#3960)
|
2022-10-25 11:14:42 -05:00 |
luzpaz
|
f8203148f0
|
fix: fix various user facing and non-user facing typos (#3743)
* fix: fix various user facing and non-user facing typos
Found via `odespell -q 3 -S ./third-party,*.po,*.ts -L filetest,inout`
|
2022-08-31 11:28:54 -05:00 |
Charles Kerr
|
29f57bc296
|
chore: iwyu headers (#3661)
|
2022-08-17 11:08:36 -05:00 |
Charles Kerr
|
c7466b3ff4
|
fix: coverity warnings (#3632)
* fix: uninitialized field natpmp
* fix: unchecked downcast result
* fix: potential tr_error leak
* fix: potential tr_error leak
* fix: potential tr_error leak
* fix: potential nullptr dereference in test fixtures
* fix: handshake fields not initialized in constructor
* chore: cast unchecked return value to void
* chore: cast unchecked return value to void
* chore: cast unchecked return value to void
* chore: make single-arg constructors explicit
* fix: code smell make variable a pointer-to-const
* fix: code smell make variable a pointer-to-const
* chore: make single-arg constructors explicit
* chore: silence sonarcloud false warning on commented-out-code
* chore: fix code smell use std::array
* chore: make EvTimer::handleTimer() const
* chore: mark tr_bandwidth remove_child as noexcept
|
2022-08-13 12:11:07 -05:00 |
Charles Kerr
|
b49cccbd3e
|
refactor: add timer class (#3603)
Wraps around evtimer so that some of the codebase can use libevent without coupling to it.
|
2022-08-08 17:53:20 -05:00 |