Charles Kerr
9a5d9a0ba2
refactor: tr_peer_socket ( #4325 )
...
* refactor: make tr_peer_socket.type private
* refactor: reimplement tr_peerIo::address() as a wrapper around tr_peer_socket::address()
* refactor: remove tr_address, tr_port from tr_peerIo
* refactor: replace tr_netClosePeerSocket() with tr_peer_socket::close()
2022-12-05 18:53:31 -06:00
Charles Kerr
468310300c
refactor: only need a single handshake mediator ( #4322 )
2022-12-05 11:47:11 -06:00
Mike Gelfand
0e193a0cb3
Simplify widget initialization in preferences dialog ( #4306 )
2022-12-03 00:20:33 +00:00
Charles Kerr
728e5b8350
refactor: stop tracking peerIo creation time ( #4300 )
2022-12-02 10:39:46 -06:00
Dmitry Antipov
bf6c80ae35
refactor, ci: switch clang-format to LLVM 15 ( #4297 )
...
Bump required clang-format version to 15
2022-12-02 09:57:50 -06:00
Charles Kerr
841419d067
chore: bump version to 4.0.0-beta.2-dev
2022-12-02 08:32:44 -06:00
Charles Kerr
bceb368f1b
chore: bump version to 4.0.0-beta.2
2022-12-01 18:06:16 -06:00
Charles Kerr
6496333e80
docs: add 4.0.0-beta.2 notes ( #4252 )
2022-12-01 17:48:39 -06:00
A Cœur
a656b3b8c9
fix: tr_rand_int modulo bias and fixed tr_rand_int for values larger than INT_MAX. ( #4235 )
2022-11-30 22:58:14 -06:00
Charles Kerr
a7261526ac
fix: shut down utp sooner during session shutdown ( #4287 )
2022-11-30 16:35:10 -06:00
Charles Kerr
c4b290586e
fixup! refactor: GTK favicon lookup improvements ( #4278 ) ( #4286 )
2022-11-30 14:51:38 -06:00
A Cœur
e038121857
refactor: second log of UTP errors as 'trace' messages ( #4283 )
2022-11-30 14:06:08 -06:00
Charles Kerr
f03fc9270b
Fix/long shutdown crash on shutdown ( #4285 )
2022-11-30 13:00:34 -06:00
Charles Kerr
a0b5623769
refactor: use tr_web instead of curl in transmission-show ( #4281 )
2022-11-29 21:53:28 -06:00
Charles Kerr
595d0ac14a
refactor: add tr_announcer.startShutdown() ( #4280 )
2022-11-29 21:05:11 -06:00
Charles Kerr
eeaefca6f3
refactor: UDP and TCP announces use same timeout interval ( #4279 )
...
* refactor: move announce, scrape timeout intervals into announcer-common.h
* refactor: udp and http announces, scrapes use same timeout vals
2022-11-29 19:38:53 -06:00
Charles Kerr
22d12aedc5
refactor: GTK favicon lookup improvements ( #4278 )
2022-11-29 18:09:32 -06:00
Peter
f2418f6111
Docs: refresh web-interface page ( #4277 )
...
* Add link to macos web interface enabling manual
* Delete mac-enable-web-2.png
* Crop mac-enable-web-2.png pic
2022-11-29 12:58:03 -06:00
Charles Kerr
8900a1646e
refactor: do not report peer EOF as an error ( #4275 )
2022-11-29 10:48:20 -06:00
Charles Kerr
59335eac03
fix: sonarcloud cpp:S6004 ( #4270 )
...
reduce scope of variables by using if-based initializer
2022-11-28 21:03:28 -06:00
Charles Kerr
4adda4dc1e
fix: sonarcloud cpp:S6005 ( #4268 )
2022-11-28 18:26:03 -06:00
Charles Kerr
8085ef6acb
fix: flaky subprocess tests ( #4266 )
2022-11-28 16:45:18 -06:00
Charles Kerr
af9f1b4e42
fix: potentially incorrect error message in rpc-server whitelist ( #4264 )
...
Fixes #928 .
2022-11-28 15:46:30 -06:00
Mike Gelfand
735ea201ea
Fix step id used in what-to-make outputs
2022-11-28 21:09:18 +00:00
Mike Gelfand
d91b5ca674
Make "Check State" step of what-to-make job verbose for debugging
2022-11-28 21:00:34 +00:00
Charles Kerr
e0a44a1e5d
refactor: remove references to FD_SETSIZE ( #4263 )
2022-11-28 14:36:39 -06:00
Charles Kerr
f27c5fa0fa
refactor: make some local pointer vars pointer-to-const ( #4262 )
2022-11-28 09:45:39 -06:00
Charles Kerr
14dfafde32
refactor: add std::unique_ptr<evhttp> handler to utils-ev ( #4261 )
2022-11-28 08:07:04 -06:00
A Cœur
e4276a3018
Use NSIndexSet getIndexes:maxCount:inIndexRange: directly ( #4179 )
2022-11-27 23:10:03 -06:00
Daniil Subbotin
9a6fbc9ced
Fix deleting previously selected torrent when trying to clear search field using Command + Delete ( #4245 )
...
* Fix deleting previously selected torrent when trying to clear search field using Command + Delete
Fixes #3599
* Fixes after code review
* Fixes after code review
* chore: make clang-format happy
Co-authored-by: Daniil Subbotin <d.subbotin@opends.tech>
2022-11-27 22:31:26 -06:00
Charles Kerr
0ee93068bb
fix: TR_TORRENT_LABELS env var in scripts ( #4260 )
2022-11-27 21:59:45 -06:00
Charles Kerr
0efb96124b
perf: remove cpu bottleneck in tr_peerIo::write() ( #4258 )
2022-11-27 20:46:03 -06:00
Charles Kerr
d8327949ac
refactor: do not reimplement tr_getRatio() in transmission-remote ( #4257 )
2022-11-27 16:58:58 -06:00
Charles Kerr
49393daf01
refactor: use std::optional.value_or() ( #4255 )
2022-11-27 14:56:34 -06:00
Charles Kerr
33c1098ea0
refactor: reduce scope of TR_NATIVE_EOL_STR, TR_NATIVE_EOL_STR_SIZE ( #4254 )
2022-11-27 12:11:25 -06:00
Mike Gelfand
d381939267
Sync translations ( #4247 )
...
* Sync translations with code
* Sync translations with Transifex
2022-11-26 16:32:26 +00:00
Mike Gelfand
b2343082b4
Add Windows configuration to GHA sanity builds ( #4200 )
2022-11-26 16:14:37 +00:00
Charles Kerr
3dd5cb439d
chore: updsate mime-types ( #4246 )
...
just running mime-types.js
2022-11-26 09:03:39 -06:00
Charles Kerr
ec6cb67c5c
fix GTK client message log window does not restore level selection ( #4242 )
...
* fix: save log level, encryption mod, preallocation mode as ints
* fix: ensure log level is saved in tr_sessionGetSettings()
* fix: ensure the right verbosity row is selected
2022-11-26 07:32:51 -06:00
Charles Kerr
feeea2649e
refactor: make tr_announcer.key a uint32_t ( #4241 )
2022-11-25 19:11:55 -06:00
A Cœur
ef2415293b
we do not support LevelButtonLevelTrace ( #4236 )
2022-11-25 16:01:29 -06:00
Charles Kerr
8a35aa0903
refactor: add tr_rand_obj() ( #4238 )
...
* refactor: add tr_rand_obj()
There are a lot of places in the codebase where we need to populate
an integral type or a fixed-size array with random data. To do this,
we instantiate a local on the stack, fill it with tr_rand_buffer(),
and then use it.
This PR creates a helper function to make this a one-liner.
2022-11-25 15:04:37 -06:00
A Cœur
342484d14a
refactor: log UTP_ETIMEDOUT errors to 'trace' messages ( #4237 )
2022-11-25 14:44:49 -06:00
A Cœur
6b861806a6
Fix building with cmake on macOS Mojave ( #4234 )
2022-11-24 11:20:48 -06:00
Charles Kerr
554ba06ae2
fix: coverity warnings, sonarcloud code smells ( #4232 )
2022-11-24 10:17:02 -06:00
A Cœur
ead71e8fd3
Fix building on macOS Mojave ( #4231 )
2022-11-24 01:14:20 -06:00
Charles Kerr
29090d6590
fixup! refactor: remove unused vars, code simplify and minor optimize ( #4172 ) ( #4230 )
...
set the converter state in isValidUtf8()
2022-11-24 01:12:01 -06:00
A Cœur
3ecf0dfccd
Fix "NSFilenamesPboardType is deprecated" ( #4221 )
2022-11-23 17:09:32 -06:00
A Cœur
b612020576
Support UserNotifications framework ( #3040 )
2022-11-23 13:47:56 -06:00
Charles Kerr
19bc15523f
fix: new sonarcloud, coverity, gcc warnings ( #4229 )
2022-11-23 13:47:04 -06:00