Prince Gupta
d3aa45526a
Allow transfer list text color changes through QSS
5 years ago
sledgehammer999
64e5d41a2c
Don't unnecessarily delete OS files in folders
5 years ago
an0n666
e0d7876990
Disable Torrent Queue by default
...
It should remain disabled by default. Anyone that needs to Queue torrents for seeding/downloading should go to settings and change it to their preference.
5 years ago
sledgehammer999
564d845d87
Use the incomplete folder where appropriate
...
Restored torrents already have the correct path saved in their fastresume. Don't override it.
Magnets and new torrents have to be set explicitly to the incomplete folder if it is enabled.
Closes #11552
5 years ago
Chocobo1
796595ffb6
Enable "Apply rate limit to peers on LAN" option by default
...
Because some ISP will deploy Carrier Grade NAT (means assigning private
IP address to user) and thus accidentally circumvent the speed limiter.
https://www.a10networks.com/blog/carrier-grade-nat/
5 years ago
sledgehammer999
8200ef6bd5
Rework the listening IP/interface selection code
...
Closes #11561
5 years ago
Chocobo1
c896982efb
Fix incorrect translation displayed after language change
...
It is expected in WebUI that the language change applies immediately
(without a program restart) and this static caching prevents that.
5 years ago
Vladimir Golovnev (Glassez)
9342fb15b3
Log "RSS Feed successfully downloaded" event
5 years ago
Chocobo1
bf58555a7a
Migrate away from deprecated API
5 years ago
Chocobo1
2ca70cf6cc
Fix stuck in wrong torrent state
...
Before this patch, adding the torrent in
https://github.com/qbittorrent/qBittorrent/issues/11511 and the torrrent
state will stay in torrent_status::checking_resume_data forever.
This is not the correct state since the `torrent_status.errc` field is
non-zero and this commit fixes it.
5 years ago
sledgehammer999
7aa01a1b51
Revert "Always save info dict when saving fastresume"
...
This reverts commit 4aab44e779
.
5 years ago
sledgehammer999
005f0010ec
Revert "Fix unable to remove web seeds"
...
This reverts commit d657c87243
.
5 years ago
Vladimir Golovnev (Glassez)
a4b9a4d9da
Fix compilation for Windows 7 with MinGW
5 years ago
Chocobo1
af52a18f82
Avoid session reconfiguration when limit has not changed
...
Fix up 5d46c9b2d6
.
5 years ago
thalieht
4ffc0cff12
Reallow to force recheck torrents that aren't fully started
5 years ago
Chocobo1
5d46c9b2d6
Revise "speed limits" related code
...
The old code has a wrong comparison which compares speed limits
in different magnitude: bytes vs KiB. The comparison is removed.
Also the old code treats values that are smaller than 1024 as unlimited
speed which is clearly wrong.
5 years ago
Chocobo1
b55403ce66
Pass TriStateBool by value
5 years ago
Chocobo1
640f52c05f
Let eta function return signed integer
...
We already use signed integer internally so it make sense to return it
as-is.
5 years ago
Xegor
325f36fa4f
Add create subfolder option to RSS auto-download rules
5 years ago
Chocobo1
d936bca268
Move DownloadHandlerImpl class to its own file
...
This also resolves lupdate warning.
5 years ago
Chocobo1
9ef2cd48e0
Fix translation not applied
5 years ago
thalieht
f150b3077d
Reallow to pause checking torrents
5 years ago
Chocobo1
b408a09755
Remove unused type alias
5 years ago
Chocobo1
1b47350952
Remove anonymous function forward declarations
...
Also reorder the functions slightly to make it compile.
5 years ago
horgan
89d214bb8f
Fix country name misspelling
5 years ago
Chocobo1
e262b86c44
Reserve memory for file data buffers
5 years ago
Chocobo1
f31ee6a225
Fix integer narrowing on x86
...
The f_type is an alias to `int` on 32-bit system and the switch cases
uses `unsigned int`.
Closes #11427 .
5 years ago
Chocobo1
6fd678195c
Replace deprecated Qt functions
...
QSet::toList() is replaced by QSet::values()
5 years ago
Chocobo1
0f60121b94
Add option to control qBittorrent process memory priority
...
This is to avoid Windows swapping out other application data from
OS cache and put in torrent data which hinders other program
responsiveness.
The default value "Below normal" is choosen because casual users have
other higher priority apps (such as browser) running and they don't
expect OS to swap out its data. Dedicated seeders most probably will not
have other app running on their system and would expect qbt has
priority over other background services.
The option only has effect on Windows >= 8.
5 years ago
Chocobo1
29fe0029f0
Rename variables in Session class
5 years ago
Chocobo1
89c58921de
Log error properly
5 years ago
Chocobo1
a3fd340187
Revise Session::getPendingAlerts function signature
5 years ago
Chocobo1
e32ef7f5c5
Use implicit sharing when getting categories from Session class
5 years ago
Chocobo1
865394a59c
Clean up Session class variable initialization
5 years ago
Chocobo1
abb3e7ace0
Move libtorrent session initialization to its own function
...
`m_IPFilteringChanged` default value has changed due to code unification.
5 years ago
Chocobo1
49266cb9e4
Replace boost::int64_t by std::int64_t
5 years ago
Chocobo1
cbe78baff1
Migrate to lt::error_code
5 years ago
Chocobo1
0d3152e4b0
Clean up "network interfaces configuration" code
5 years ago
Chocobo1
0607050ecc
Clean up PreviewSelectDialog class
5 years ago
Chocobo1
021908320e
Preserve relative order when moving to top/bottom in queue
...
Closes #11312 .
5 years ago
Chocobo1
e0a23ba93d
Use InfoHash type in queueing operations
...
This avoids redundant type conversions.
5 years ago
Chocobo1
36056ad5af
Avoid redundant lookups
5 years ago
Chocobo1
d76adff81d
Change Session::deleteTorrent() first parameter to take InfoHash type
5 years ago
Chocobo1
7f453a80d3
Revise SessionSettingsEnums wrapper
...
This simplify the wrapper to become a namespace.
5 years ago
Chocobo1
7276a79cef
Call Windows API directly
...
We already bumped the OS requirement to Windows 7 and those functions
can be called directly without the need to load them first.
5 years ago
thalieht
07eb261991
Add "Remove torrent and its files" option to share ratio limiting
5 years ago
Chocobo1
de7d62c128
Clean up code
5 years ago
Chocobo1
103e2b9398
Use non-recursive mutex
...
The related classes doesn't really need recursive mutex so drop it. And
if it is really required it usually indicates bad design and we should
avoid it anyway.
5 years ago
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
5 years ago
Chocobo1
72faf89e26
Use the same internal data type for conversion function
5 years ago