Commit graph

9872 commits

Author SHA1 Message Date
Mike Tzou
e009f17889
Merge pull request #11476 from Chocobo1/lupdate
Address lupdate warnings
2019-11-12 12:47:44 +08:00
warren
74009f13d9 Add "Preview file" double-click action 2019-11-11 23:12:55 +05:00
Chocobo1
ff4aae11f8
Add required header
The header was missing and our cmake CI builds failed as a result.
2019-11-11 20:12:53 +08:00
Xegor
325f36fa4f Add create subfolder option to RSS auto-download rules 2019-11-11 12:46:51 +01:00
Chocobo1
d936bca268
Move DownloadHandlerImpl class to its own file
This also resolves lupdate warning.
2019-11-11 19:41:10 +08:00
Chocobo1
b4c518e075
Run lupdate in CI 2019-11-11 16:40:15 +08:00
Chocobo1
9ef2cd48e0
Fix translation not applied 2019-11-11 16:39:55 +08:00
sledgehammer999
eff0208382
Bump Web API version
Closes #11403
2019-11-11 02:18:59 +02:00
sledgehammer999
0ff3b7641d
Correctly update WebUI translations 2019-11-11 02:13:35 +02:00
sledgehammer999
871161310b
Sync translations from Transifex and run lupdate 2019-11-11 02:03:06 +02:00
Mike Tzou
d12468ffb5
Merge pull request #11354 from thalieht/pausechecking
Reallow to pause checking torrents
2019-11-09 09:28:18 +08:00
thalieht
f150b3077d Reallow to pause checking torrents 2019-11-08 19:14:50 +02:00
Mike Tzou
6a6c05fba2
Merge pull request #11423 from nl6720/systemd-unit
Order qbittorrent-nox@.service after network-online.target
2019-11-05 09:42:35 +08:00
Mike Tzou
50c20e1ef4
Merge pull request #11446 from Chocobo1/handle
Clean up in Session class
2019-11-05 09:42:19 +08:00
Chocobo1
b408a09755
Remove unused type alias 2019-11-04 13:47:30 +08:00
Chocobo1
1b47350952
Remove anonymous function forward declarations
Also reorder the functions slightly to make it compile.
2019-11-04 12:21:16 +08:00
Mike Tzou
2fb1182700
Merge pull request #11317 from Chocobo1/preview
Fix "preview file" action not working
2019-11-04 11:32:14 +08:00
Mike Tzou
475fbfb712
Merge pull request #11356 from Chocobo1/banIP
Allow to select multiple entries in "banned IP" dialog
2019-11-04 11:29:22 +08:00
Mike Tzou
a7f38eaa82
Merge pull request #11374 from horgan/patch-1
Fix country name misspelling
2019-11-03 00:43:48 +08:00
horgan
89d214bb8f
Fix country name misspelling 2019-11-03 00:17:04 +08:00
Mike Tzou
6da39d9279
Merge pull request #11422 from Chocobo1/buffer
Reserve memory for file data buffers
2019-11-02 13:16:21 +08:00
Mike Tzou
565eb4cdc8
Merge pull request #11430 from Chocobo1/qt
Fix integer narrowing on x86
2019-11-01 10:34:56 +08:00
Mike Tzou
d944a0ccbd
Merge pull request #11426 from Chocobo1/priority
Add option to control qBittorrent process memory priority
2019-11-01 10:34:39 +08:00
Chocobo1
e262b86c44
Reserve memory for file data buffers 2019-10-31 23:09:28 +08:00
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.
2019-10-31 13:04:02 +08:00
Chocobo1
6fd678195c
Replace deprecated Qt functions
QSet::toList() is replaced by QSet::values()
2019-10-31 12:40:24 +08:00
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.
2019-10-31 03:18:43 +08:00
nl6720
a40d490b76 Order qbittorrent-nox@.service after network-online.target
This ensures that qbittorrent-nox doesn't start while the network is not up yet.
2019-10-30 09:25:24 +02:00
Mike Tzou
c1e0207454
Merge pull request #11307 from Chocobo1/session_conf
Clean up Session class configure routines
2019-10-30 15:13:13 +08:00
Chocobo1
29fe0029f0
Rename variables in Session class 2019-10-30 11:56:16 +08:00
Chocobo1
89c58921de
Log error properly 2019-10-30 01:46:57 +08:00
Chocobo1
a3fd340187
Revise Session::getPendingAlerts function signature 2019-10-30 01:46:57 +08:00
Chocobo1
e32ef7f5c5
Use implicit sharing when getting categories from Session class 2019-10-30 01:46:57 +08:00
Chocobo1
865394a59c
Clean up Session class variable initialization 2019-10-30 01:46:56 +08:00
Chocobo1
abb3e7ace0
Move libtorrent session initialization to its own function
`m_IPFilteringChanged` default value has changed due to code unification.
2019-10-30 01:46:52 +08:00
Mike Tzou
c73d698718
Merge pull request #11409 from Chocobo1/dpi
Fix screen scaling factor calculation
2019-10-29 09:56:17 +08:00
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.
2019-10-28 15:01:42 +08:00
sledgehammer999
9c466d84ec
Bump to 4.2.0beta1 2019-10-27 17:22:47 +02:00
sledgehammer999
721ba608c7
Update Changelog 2019-10-27 17:21:30 +02:00
sledgehammer999
009ccbef7f
Bump Web API version
Closes #11304
2019-10-27 17:20:28 +02:00
Mike Tzou
0de5cbaa4b
Merge pull request #11377 from Chocobo1/listeningIPs
Clean up "network interfaces configuration" code
2019-10-24 15:02:18 +08:00
Chocobo1
49266cb9e4
Replace boost::int64_t by std::int64_t 2019-10-23 13:43:49 +08:00
Chocobo1
cbe78baff1
Migrate to lt::error_code 2019-10-23 13:43:46 +08:00
Chocobo1
0d3152e4b0
Clean up "network interfaces configuration" code 2019-10-23 13:43:16 +08:00
Mike Tzou
11bebd50d9
Merge pull request #11382 from Chocobo1/cmake
Fix missing libraries in cmake-mingw build
2019-10-23 13:31:20 +08:00
Mike Tzou
06a3a30619
Merge pull request #11384 from Chocobo1/autotools
Update autotools scripts
2019-10-21 11:43:22 +08:00
Chocobo1
d0e084ce1d
Update m4 scripts 2019-10-20 01:28:10 +08:00
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.
2019-10-20 01:28:10 +08:00
Chocobo1
bb23366912
Fix missing libraries in cmake-mingw build 2019-10-19 14:03:39 +08:00
Mike Tzou
c5da4d1500
Merge pull request #11344 from Chocobo1/defines
Update libtorrent build defines on Windows
2019-10-12 10:42:22 +08:00