Vladimir Golovnev
7cd2445a49
Improve tracker entries handling
...
PR #19496 .
* Add torrent entry status to represent tracker error
* Add torrent entry status to represent unreachable endpoint
* Display tracker entry next/min announce time
* Reset tracker entries when torrent is stopped
1 year ago
yuri@FreeBSD
2f94c92df9
Enable DBUS cmake option on FreeBSD
...
PR #19559 .
1 year ago
Chocobo1
39efd0e9ff
Remove thin space
...
Generally qbt doesn't put a space before percentage symbol.
This change makes the UI elements consistent.
1 year ago
Chocobo1
ff80e0ce66
Use Qt built-in non-breaking space variable
1 year ago
Victor Chernyakin
65930ddf94
Use `std::pair` instead of `QPair`
...
PR #19548 .
1 year ago
Chocobo1
4d2015cfed
Support creating .torrent with larger piece size
...
Warning: users are at their own discretion to create .torrent with >= 64 MiB piece size as not
every torrent client supports it.
Larger piece sizes are only available when using libtorrent 2.x. libtorrent 1.x is not
efficient with memory usage and in order to avoid user complaints it is limited to 128 MiB.
Also note that, as of this writing, libtorrent 2.0.9 has an internal limitation that only
allows loading maximum 256 MiB piece size. And therefore > 256 MiB size options are forbidden
for now.
Closes #19527 .
PR #19535 .
1 year ago
Victor Chernyakin
2dc1a7d66f
Set up infrastructure for localized man pages
...
PR #19515 .
1 year ago
Matic Babnik
145971b915
Add "Add Tags" field for RSS rules in WebUI
...
PR #19519 .
1 year ago
Chocobo1
43e3d0b4b2
Make the title label selectable
...
And therefore its text is copyable.
1 year ago
Chocobo1
0fdb1b3f53
Add button to copy library versions to clipboard
...
Closes #18702 .
1 year ago
Chocobo1
24da51ffa0
Perform type conversion properly
...
Closes #19521 .
PR #19525 .
1 year ago
sledgehammer999
e434812cda
Bump copyright year
1 year ago
sledgehammer999
9a1df0c595
Pull translations from Transifex
1 year ago
Victor Chernyakin
44763d3e15
Fix duplicated text in GitHub's `SUPPORT.md`
...
PR #19508 .
1 year ago
Xu Chao
9a73a21f3f
Don't set parent of "Add new torrent dialog" on macOS
...
PR #19494 .
Closes #12849 .
Closes #12852 .
Closes #19072 .
---------
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
1 year ago
Victor Chernyakin
e045b4678d
Use `std::clamp()` instead of various custom implementations
...
PR #19501 .
1 year ago
Chocobo1
d8a03cd8d8
Use atomic primitives from standard library
...
QAtomicInteger underlying is using std::atomic structures, so
using std::atomic directly should not be a problem for us.
PR #19507 .
1 year ago
Xu Chao
270c63d64c
Open "Save path" if torrent has no metadata
...
PR #19495 .
Closes #18738 .
1 year ago
rcarpa
bbac94cc95
Use QThreadPool for torrent creation
...
The change is in preparation for adding the possibility to create
torrent files via the API.
Rework TorrentCreatorThread to be a more lightweight QRunnable class.
The parameters are now defined on construction time and are fixed
throughout the lifecycle of the TorrentCreator. The lifecycle of the
object is not bound to the one of QDialog anymore; it is now handled
by the QThreadPool. This will enable easier queueing of multiple torrent
creation jobs without risk of spawning many threads.
PR #19500 .
1 year ago
Vladimir Golovnev
9ab8203c8a
Don't overwrite tracker entry of unrelated protocol
...
PR #19493 .
1 year ago
Vladimir Golovnev
c805606524
Improve tracker entries handling
...
PR #19468 .
* Use QHash to map tracker endpoints
* Don't clear numPeers unexpectedly
* Remove outdated tracker entry endpoints
* Move presentation logic from Core to GUI code
* Show all endpoints per tracker in tree structure
---------
Co-authored-by: Kacper Michajłow <kasper93@gmail.com>
1 year ago
Victor Chernyakin
34d30ed031
Replace `Q_UNUSED` with `[[maybe_unused]]` attribute
...
PR #19471 .
1 year ago
Victor Chernyakin
f3f4610ba4
Convert Windows header names to lowercase
...
PR #19465 .
1 year ago
xavier2k6
21b77cb4f8
GHA CI: Bump Windows/macOS Boost version to 1.83.0
...
PR #19453 .
1 year ago
Vladimir Golovnev
dcf3e97291
Implement gateway for adding new torrents
...
PR #19355 .
1 year ago
Victor Chernyakin
e4313d6651
Use using declarations instead of typedef
...
PR #19458 .
1 year ago
Victor Chernyakin
52fbb774a2
Disable clang-tidy for 3rd-party code
...
PR #19459 .
1 year ago
Vladimir Golovnev
a0e41a11de
Display error message when unrecoverable error occurred
...
PR #19462 .
1 year ago
Vladimir Golovnev
cab5edb721
Add more precondition checks when handle async operation result
...
PR #19460 .
1 year ago
Vladimir Golovnev
7a9a102b6f
Check returned Bundle ID for NULL
...
PR #19463 .
1 year ago
Omar Abdul Azeez
6ba561dea2
Fix overwriting feeds.json with an incomplete load of it
...
PR #19444 .
Closes #19439 .
---------
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
1 year ago
Vladimir Golovnev
56ba5e5182
Correctly load colors from custom themes
...
PR #19448 .
Closes #19447 .
1 year ago
Chocobo1
69d60b5f1c
Specify interface requirements as an C++ concept
...
PR #19440 .
1 year ago
Victor Chernyakin
850da9dd83
Replace Q_UNLIKELY with [[unlikely]] attribute
...
PR #19445 .
1 year ago
Chocobo1
502b3d3228
Merge pull request #19427 from Chocobo1/cleanup
...
Remove unused include
1 year ago
Victor Chernyakin
c25d14b1d0
Specify charset and end_of_line in .editorconfig
...
Additionally, changes the link to the EditorConfig website
from http to https.
PR #19437 .
1 year ago
Chocobo1
31fe327763
Move to separate headers
...
Hopefully this can speed up compilation times.
https://doc.qt.io/qt-6/qtglobal.html#details
PR #19430 .
1 year ago
Chocobo1
870bcc7a19
Switch to QHash
1 year ago
Chocobo1
44f0a63354
Remove unused include
1 year ago
Chocobo1
9fa48a375d
Merge pull request #19428 from Chocobo1/boost
...
Bump boost requirement to 1.76
1 year ago
Victor Chernyakin
f2b4aa6570
Remove unused parameter in `Utils::Gui::scaledPixmap()`
...
PR #19426 .
1 year ago
Chocobo1
5c06d0aa75
Replace template conditionals with C++20 `requires` clause
...
Related: https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-constraints.html
PR #19424 .
1 year ago
Chocobo1
4d98761e99
GHA CI: remove redundant conditionals
1 year ago
Chocobo1
180e708f3c
Bump boost requirement to 1.76
...
std::hash specialisations for boost::asio structures is required.
1 year ago
Chocobo1
da4f2c2439
GHA CI: install boost from upstream
1 year ago
Vladimir Golovnev
33d767b765
Disable using Qt functions deprecated up to Qt 6.5
...
* Disable using Qt functions deprecated up to Qt 6.5
* Utilize QSet::removeIf()
PR #19419 .
1 year ago
Vladimir Golovnev
06581636a1
Utilize QByteArrayView
...
PR #19417 .
1 year ago
Vladimir Golovnev
a0fa1709d5
Raise minimum supported Qt version to 6.5
...
PR #19394 .
1 year ago
Chocobo1
699dc1689a
Remove column span
...
The property widget already has scroll bars and thus we don't need this span.
Closes #15000 .
PR #19404 .
1 year ago
Chocobo1
a427b9228d
Ensure file name is valid when exporting torrents
...
Closes #19275 .
Closes #19329 .
PR #19403 .
1 year ago