Vladimir Golovnev
cc61ad01b6
Explicitly set "added time" when adding new torrent
...
Don't overwrite "added time" with possibly incorrect value.
Explicitly set "added time" when adding new torrent.
PR #15644 .
3 years ago
sledgehammer999
8a44c1f6d5
Bump to 4.4.0rc1
3 years ago
Vladimir Golovnev
4f20769a6c
Use respective subcategory for "watched" torrents
...
Assign respective Subcategory of configured Category to torrents
if Automatic Torrent Management Mode is set for Watched folder.
PR #15603 .
3 years ago
Chocobo1
e45e29b431
Avoid type specifier mismatch
...
Qt5 uses `int` and Qt6 uses `qsizetype`, so use the stream version of
`qDebug()` to avoid specifying types.
3 years ago
Vladimir Golovnev (Glassez)
78459fcb31
Don't throw exception in TorrentInfo::saveToFile()
3 years ago
Vladimir Golovnev (Glassez)
41fc0fd084
Don't use output parameters for error handling
3 years ago
Chocobo1
03cb51844b
Remove redundant define
...
NOMINMAX is already defined in build scripts.
3 years ago
Chocobo1
6b06cc9216
Log error message in DownloadHandlerImpl class
3 years ago
Chocobo1
6b49323f05
Improve error message reporting
3 years ago
Chocobo1
4a11fab2b1
Add constexpr to Sample class functions
3 years ago
Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev (Glassez)
86b1ac5d7c
CMake: Allow to build with Qt6
3 years ago
Chocobo1
5cf39a2970
Reuse code path
...
`buf.f_type` should be compatible across platforms.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/statfs.2.html
3 years ago
Chocobo1
1c9321d5a1
Add remote filesystem magic numbers
3 years ago
Chocobo1
1c343a444b
Remove redundant const specifier
3 years ago
Chocobo1
1c9696b68e
Suppress function unused warning
3 years ago
Chocobo1
03012cc175
Revise description wordings
3 years ago
Chocobo1
9673be17cb
Improve handling when writing to temporary files
...
Let QTemporaryFile remove incomplete written file when error occurs.
"XXXXXX" template is not strictly required according to Qt doc.
3 years ago
Chocobo1
fa8786e230
Flush manually when saving a file
...
This is to work around https://bugreports.qt.io/browse/QTBUG-75077
3 years ago
Chocobo1
21f72baae2
Use QSaveFile wherever applicable
...
expected.hpp was fetched from:
b803e3c07b/include/nonstd/expected.hpp
3 years ago
jagannatharjun
a734199383
Fix startup with different profiles
3 years ago
Vladimir Golovnev (Glassez)
046b741700
Improve Profile handling
...
Add Profile::rootPath and Profile::configurationName properties.
3 years ago
gxcreator
307f5e6e56
Initialize member fields
3 years ago
Chocobo1
2efd4f2a77
Prevent self-assignment in assignment operator
3 years ago
Vladimir Golovnev
90296b3ef0
Add "Skip hash check" option for watched folders
...
Closes #15388 .
PR #15433 .
3 years ago
Chocobo1
81139c0098
Improve error detection when saving files
3 years ago
jagannatharjun
314f92f2d8
Use DownloadRequest::destFileName for downloading RSS feed icons
3 years ago
jagannatharjun
8b5db328ec
Add DownloadRequest::destFileName
3 years ago
sledgehammer999
2b501904cf
Bump to 4.4.0beta3
3 years ago
Vladimir Golovnev
b823d74ac3
Use "old file path" provided by libtorrent
...
Until libtorrent provided an "old_name" field in `file_renamed_alert` we relied
on a workaround with storing old file names to remove empty leftover folders.
PR #15356 .
3 years ago
Chocobo1
138c911ef4
Add compile definition to indicate using of libtorrent 2.0 ( #15297 )
...
The compile definition is temporary which will be removed when qbt
ditches libtorrent 1.x.
3 years ago
sledgehammer999
e5fe6401a0
Accept v2 infohashes for download
...
Partially fixes #15287
3 years ago
Vladimir Golovnev
bed643e627
Delay processing of watched folders ( #15282 )
...
Fixes regression of #14882 .
Closes #15272 .
3 years ago
Sylvain Finot
e87f8f5b93
Expose SSRF mitigation ( #15247 )
3 years ago
sledgehammer999
1d26f4c5f7
Bump to 4.4.0beta2
3 years ago
AbeniMatteo
e4730191db
Set default file priorities when not specified ( #15190 )
3 years ago
Chocobo1
49aab492e0
Use spinbox special value to represent "Use any available port"
...
WebAPI functionality is preserved (deprecated) for now and should be
removed in the future.
3 years ago
Chocobo1
09e558ae0b
Revise checkbox label for "Use any available ports" functionality
...
Also reorder the checkboxes a bit.
3 years ago
Chocobo1
96e0c0df20
Improve handling for magnet URI ( #15209 )
...
This add support for magnets URI in v2 hash format.
3 years ago
Vladimir Golovnev
ed4570cb4d
Store minimal metadata for "restore torrent" purposes ( #15191 )
...
We can no longer save valid torrent files in the general case, because
for torrents of version 2, we need a full merkle tree to do it, but if
a torrent is added from magnet link, full merkle tree may not be available
even before the end of downloading all the data. Actually, we don't need
the full torrent file for the purposes of resuming the torrent, so we can
allow libtorrent to produce only a minimal part of the metadata as part
complete resume data, but we still want to store it in a separate file,
so we extract the resulting metadata from the complete resume data before
saving and merge it together before loading.
3 years ago
AbeniMatteo
01d851440b
Add "Forced metadata downloading" state ( #15185 )
3 years ago
AbeniMatteo
e5943b64c1
Add filter "Checking" to side panel ( #15166 )
3 years ago
Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
3 years ago
Vladimir Golovnev
699b91ab8d
Properly create "clean path" for watched folder ( #15179 )
3 years ago
Vladimir Golovnev (glassez)
27baa55443
Raise minimum Qt version to 5.15.2
3 years ago
Chocobo1
fd3d4d479a
Suppress type narrowing warning on MSVC
...
Fix up 45e31a153c
.
3 years ago
Chocobo1
45e31a153c
Reserve space for vector
3 years ago
Chocobo1
7c23d800e6
Use `underlying_type` member directly
...
`LTUnderlyingType` served as a intermediate type for libtorrent 1.1 and
1.2 and is obsoleted now.
Also add helper to convert to underlying type.
3 years ago
Vladimir Golovnev
5d03917877
Use torrent info with hashes for creating .torrent file ( #15138 )
3 years ago
Vladimir Golovnev (Glassez)
d2f975a0f3
Don't forget to start "watch timer"
3 years ago