Mike Tzou
565eb4cdc8
Merge pull request #11430 from Chocobo1/qt
...
Fix integer narrowing on x86
5 years ago
Mike Tzou
d944a0ccbd
Merge pull request #11426 from Chocobo1/priority
...
Add option to control qBittorrent process memory priority
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
Mike Tzou
c1e0207454
Merge pull request #11307 from Chocobo1/session_conf
...
Clean up Session class configure routines
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
Mike Tzou
c73d698718
Merge pull request #11409 from Chocobo1/dpi
...
Fix screen scaling factor calculation
5 years ago
Chocobo1
4888b22622
Fix screen scaling factor calculation
...
For some users on Windows the physicalDotsPerInch() could return values
that are smaller than the normal 96 DPI which leads to big dialog sizes
taking the entire screen.
So we need to ensure it is at least 96 DPI.
Closes #11405 , #11407 .
5 years ago
sledgehammer999
9c466d84ec
Bump to 4.2.0beta1
5 years ago
sledgehammer999
721ba608c7
Update Changelog
5 years ago
sledgehammer999
009ccbef7f
Bump Web API version
...
Closes #11304
5 years ago
Mike Tzou
0de5cbaa4b
Merge pull request #11377 from Chocobo1/listeningIPs
...
Clean up "network interfaces configuration" code
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
Mike Tzou
11bebd50d9
Merge pull request #11382 from Chocobo1/cmake
...
Fix missing libraries in cmake-mingw build
5 years ago
Mike Tzou
06a3a30619
Merge pull request #11384 from Chocobo1/autotools
...
Update autotools scripts
5 years ago
Chocobo1
d0e084ce1d
Update m4 scripts
5 years ago
Chocobo1
48d6286714
Regenerate build-aux scripts
...
It's been a while since the last update (26bf838a0b
)
and there is a lot of changes in upstream.
5 years ago
Chocobo1
bb23366912
Fix missing libraries in cmake-mingw build
5 years ago
Mike Tzou
c5da4d1500
Merge pull request #11344 from Chocobo1/defines
...
Update libtorrent build defines on Windows
5 years ago
Chocobo1
ccbd9c83e2
Update libtorrent build defines on Windows
...
`TORRENT_USE_LIBCRYPTO` replaced `TORRENT_USE_OPENSSL` since OpenSSL 1.1.
`TORRENT_DISABLE_RESOLVE_COUNTRIES` has been removed since libtorrent 1.2.
5 years ago
Mike Tzou
c7f092b95f
Merge pull request #11322 from Chocobo1/dpi
...
Use screen real physical DPI on Windows
5 years ago
Chocobo1
0760398e99
Use screen real physical DPI on Windows
...
Previously was using a hardcoded value which might lead to issues like #11234 .
5 years ago
Mike Tzou
339e195043
Merge pull request #11313 from Chocobo1/queue
...
Preserve relative order when moving to top/bottom in queue
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
Mike Tzou
a9e6ef183b
Merge pull request #11302 from Chocobo1/deletedialog
...
Revise DeletionConfirmationDialog class
5 years ago
Mike Tzou
c062a31f12
Merge pull request #11293 from Chocobo1/qt
...
Code clean up
5 years ago
Chocobo1
c632a91ee5
Handle "Delete confirmation" dialog result asynchronously
...
This is to avoid creating nested event loops as discussed in
https://github.com/qbittorrent/qBittorrent/pull/10786#issuecomment-502795822
5 years ago
Chocobo1
36056ad5af
Avoid redundant lookups
5 years ago
Chocobo1
19b6f56a0a
Move DeletionConfirmationDialog class to its own .cpp file
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
Mike Tzou
975b44d05f
Merge pull request #11241 from thalieht/delfolder
...
Add "Remove torrent and its files" option to share ratio limiting
5 years ago
Mike Tzou
68dcc972fa
Merge pull request #11270 from Chocobo1/mutex
...
Use non-recursive mutex
5 years ago
thalieht
53e7faa47c
Rename share ratio limiting options
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
Mike Tzou
7a3607c729
Merge pull request #11269 from Chocobo1/signals
...
Improve "stats updated" signal handling in MainWindow class
5 years ago
Mike Tzou
7c7963f93f
Merge pull request #11259 from Chocobo1/tristate
...
Revise TriStateBool class
5 years ago
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
5 years ago