Charles Kerr
878405f862
Revert "fix: sonarcloud ( #2558 )" ( #2562 )
...
This reverts commit 8b9483f7fb
.
2022-02-01 11:30:51 -06:00
Charles Kerr
329c4d80e1
fix: edge case file leak if error while making torrent ( #2560 )
...
found by Coverity
2022-02-01 01:11:13 -06:00
Charles Kerr
fdff2893b6
refactor: static allocation of formatter units ( #2559 )
2022-01-31 23:59:43 -06:00
Charles Kerr
8b9483f7fb
fix: sonarcloud ( #2558 )
...
* fix: add const modifier for functions
* fix: many sonarcloud use-init-statement warnings
2022-01-31 22:46:27 -06:00
Charles Kerr
cf2c32e1ce
refactor: remove raw ptr variant of tr_peerMgrCompactToPex() ( #2556 )
2022-01-31 21:11:47 -06:00
Charles Kerr
b645c4cfc5
refactor: use std::chrono not OS-specific syscalls ( #2554 )
2022-01-31 19:02:59 -06:00
Charles Kerr
5db993d348
chore: iwyu ( #2553 )
2022-01-31 17:05:35 -06:00
Charles Kerr
7bc668680e
chore: remove unused function tr_strcasestr() ( #2552 )
2022-01-31 15:59:14 -06:00
Charles Kerr
253f4fe009
chore: remove /upload endpoint from rpc-server ( #2550 )
...
It's never been documented or supported and is unused by the web client.
In the unlikely case that a 3rd party app is using it, use 'torrent-add'
instead; it's documented + supported.
2022-01-31 14:54:21 -06:00
Charles Kerr
87dfabb9d2
refactor: replace tr_thread with std::thread ( #2548 )
2022-01-31 13:34:04 -06:00
Michael Lopez
bc9479d016
fix man pages listing invalid cli options ( #2549 )
...
removing unrecognized cli options to resolve issue #1621
2022-01-31 13:32:20 -06:00
Charles Kerr
b7235ed425
fixup! refactor: base64 utils ( #2381 ) ( #2545 )
...
fix regression when adding torrent via transmission-remote
Fixes #2541
2022-01-30 23:08:20 -06:00
Charles Kerr
6f9cba4088
fixup! refactor: SAX-like benc parser pt. 1 ( #2490 ) ( #2544 )
2022-01-30 21:12:57 -06:00
Mitch Livingston
0929d1a013
Merge pull request #2543 from transmission/sparkle-1.27.1
...
Update Sparkle to 1.27.1
2022-01-30 18:01:59 -05:00
Mitchell Livingston
0ea4a38c73
Update Sparkle to 1.27.1
2022-01-30 17:10:51 -05:00
Charles Kerr
314aa6925d
fix: sonarcloud use-init-statement warnings in new code ( #2536 )
2022-01-29 16:26:09 -06:00
Charles Kerr
52f6e80a61
test: add tr_torrent_metainfo.infoDictSize() tests ( #2535 )
2022-01-29 15:37:42 -06:00
Charles Kerr
374c24dde1
refactor: trevent use std:: tools intead of pipes ( #2520 )
2022-01-28 17:56:46 -06:00
Charles Kerr
9e264250d1
refactor: add benc::Handler::Context ( #2531 )
...
Prerequisite for using the new benc parser in tr_torrent_metainfo:
That code needs to know the span of the bencoded info dict.
2022-01-28 16:46:14 -06:00
Charles Kerr
7f60738cce
refactor: use the new benc parser in announcer-http ( #2529 )
2022-01-28 12:39:45 -06:00
Charles Kerr
b998032305
fix: paused torrents not scraped even if scrape-paused-torrents-enabled setting is true ( #2528 )
2022-01-27 22:17:11 -06:00
Charles Kerr
3c5442dd7b
test: add tests for parsing http tracker scrape responses ( #2527 )
2022-01-27 17:18:50 -06:00
Charles Kerr
4c36ba35bc
fixup! web: preferences: incomplete-dir ( #2183 )
...
chore: code-style.sh
2022-01-26 22:31:57 -06:00
Tomáš Kelemen
ef198858b1
web: preferences: incomplete-dir ( #2183 )
...
* web: preferences: incomplete-dir
This minor change adds an option to enable/disable/set the folder for
downloads in progress via the web interface preferences dialog.
2022-01-26 22:31:02 -06:00
FX Coudert
4fe33496c7
macOS: remove quitting badge ( #2495 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-25 11:45:06 -06:00
Ilkka
020a9e45ae
Add more decimals for low ratios ( #2508 )
2022-01-25 10:52:22 -06:00
Charles Kerr
02e9fd6b59
fix: use libdeflate_gzip_compress in rpc-server.cc ( #2507 )
2022-01-24 23:40:01 -06:00
Charles Kerr
4c4b2714f1
feat: remember tab selection in Details dialog ( #2506 )
2022-01-24 23:16:33 -06:00
Charles Kerr
064ad6a436
refactor: saxlike benc pt. 2: add announce response parsing tests ( #2505 )
2022-01-24 22:25:55 -06:00
Charles Kerr
81066aae25
fixup! refactor: use C++ objects in announcer ( #2474 ) ( #2502 )
...
fix Jan 22 regression in parsing port numbers from pex
2022-01-24 20:21:35 -06:00
Charles Kerr
ac823f3cc4
fix: sonarcloud warnings in new code ( #2500 )
2022-01-24 19:05:24 -06:00
Charles Kerr
e83a57efa3
refactor: re-enable some clang-tidy rules ( #2498 )
2022-01-24 13:07:55 -06:00
Charles Kerr
5efec26a3b
refactor: SAX-like benc parser pt. 1 ( #2490 )
...
* refactor: add SAX-like benc parser
This is the first part of a series of PRs whose end goal is to avoid
the overhead of tr_variant when parsing bencoded data, e.g. when
parsing .torrent files on startup or when parsing announce/scrape
tracker responses.
This PR introduces a SAX-like benc parser, reimplements variant-benc
to use the SAX benc parser (so that we don't have two benc parsers),
and updates the benc + variant tests.
2022-01-24 00:30:00 -06:00
Charles Kerr
2329f7541f
refactor: quark's static_assert formatting ( #2489 )
...
Slight refactor to libt/quark's static asserts so that the codebase
formats the same between clang-format 12, 13, and 14.
2022-01-23 23:26:14 -06:00
Charles Kerr
43bd736eb4
fixup! [android] Use android logger ( #585 ) ( #2488 )
...
clang-format
2022-01-23 21:53:49 -06:00
Andrey
d8dfbbe2d2
[android] Use android logger ( #585 )
2022-01-23 20:44:43 -06:00
Charles Kerr
b5cbbb7f8f
refactor: clang-tidy 14 ( #2487 )
...
get transmission building cleanly with clang-tidy 14
2022-01-23 20:44:14 -06:00
C.W. Betts
3b4909ac9d
Move private interfaces to interface extensions ( #932 )
2022-01-23 19:32:45 -06:00
Charles Kerr
26bb9f3440
fix: sonarcloud code smells ( #2486 )
2022-01-23 18:53:35 -06:00
FX Coudert
a2e30235c4
Make macOS crash reports provide more information ( #2471 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-23 18:10:06 -06:00
Charles Kerr
e51527203e
refactor: re-enable clang-tidy warnings ( #2485 )
2022-01-23 16:47:41 -06:00
Carles Pastor Badosa
8d1d445fbc
Add content_rating to appdata ( #1487 )
...
This tag can be used by app stores such as kde discover, gnome software, elementary appcenter, flathub or similar to discern age-appropriate content.
It uses the Open Age Ratings Service (OARS) in order to provide the required information.
2022-01-23 15:23:53 -06:00
Peter Bailey
96d9ab5abb
allow stopping torrents in verification states ( #715 )
2022-01-23 14:46:56 -06:00
Charles Kerr
85566c372e
test: tests for magnet links with bad/junk values ( #2483 )
...
Co-authored-by: Srinidhi Kaushik <shrinidhi.kaushik@gmail.com>
2022-01-23 13:01:48 -06:00
Charles Kerr
c5bc3091cc
fixup! NAT-PMP private/public port and lifetime fix ( #1602 ) ( #2482 )
...
ensure the value passed to tr_timerAdd() is non-negative
2022-01-23 11:31:20 -06:00
Charles Kerr
fa3cbc3e27
fix: memory leak in upnp ( #2481 )
...
Fixes #2480
2022-01-23 11:16:36 -06:00
Esa Varemo
032e01c9d8
Add the option of automatically picking up URLs from the clipboard on window focus ( #1633 )
2022-01-23 09:57:21 -06:00
dependabot[bot]
bda754bbeb
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /web ( #2473 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-23 08:39:53 -06:00
Charles Kerr
b45c831bcb
refactor: use C++ objects in announcer ( #2474 )
2022-01-22 23:41:01 -06:00
Charles Kerr
e0c3a7f3e6
docs: add CONTRIBUTING.md ( #2452 )
2022-01-21 21:34:23 -06:00