Chocobo1
7a5e883cd2
Revise inline keyword usage
...
And let compiler decide whether to inline functions.
6 years ago
Chocobo1
f6f8aaf3db
Put internal function into anonymous namespace
6 years ago
Chocobo1
f993230582
Use uniform initialization
6 years ago
Vladimir Golovnev (Glassez)
87d98403f4
Don't break torrent checking
6 years ago
Vladimir Golovnev (Glassez)
9462685c78
Ignore some actions on uninitialized torrents
...
Some actions can lead to an inconsistent state if applied
to an uninitialized torrent, so we just ignore them.
6 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
6 years ago
Vladimir Golovnev (Glassez)
644dc9792d
Avoid race conditions when adding torrent
6 years ago
Chocobo1
9e7f50517e
Add "Tracker entries" dialog
6 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
6 years ago
Vladimir Golovnev (Glassez)
9399b876eb
Fix torrent checking issues
...
Start all torrents auto-managed to prevent simultaneous checking
of multiple torrents.
Handle checking state of paused torrent to prevent it from being
resumed when qBittorrent is closed until checking isn't complete.
6 years ago
Chocobo1
b9094ff8a5
Use proper log message when there are no error
6 years ago
Chocobo1
664cfe7d69
Fix torrent properties not saved for paused torrents
6 years ago
Chocobo1
c4dbe84832
Use newer libtorrent API
6 years ago
Chocobo1
ed2199b91c
Add "File pool size" option
6 years ago
Chocobo1
6286bc716c
Add "Socket backlog size" option
...
The default value in libtorrent is 5 which is too small nowadays.
The new default value 30 is chosen to be in line with
QTcpServer::maxPendingConnections().
6 years ago
Chocobo1
73cf3fb68f
Use LogMsg() helper
6 years ago
Chocobo1
e6c448aa4f
Replace obsoleted QProcess::finished(int)
...
It is replaced by QProcess::finished(int, QProcess::ExitStatus).
6 years ago
Chocobo1
2bc91fba3e
Use newer libtorrent API
6 years ago
Chocobo1
0b1b3c1f84
Use numeric_limits instead of constants from C
...
In C++, using numeric_limits is more idiomatic compared to using constants.
6 years ago
Chocobo1
042cd4267f
Remove upper limit of "Disk cache" setting
6 years ago
Prince Gupta
ece70daaa5
Fix CMake Windows compilation
6 years ago
Chocobo1
11fdf91196
Suppress compiler warning
...
The debug message is emitting a format mismatch warning.
Fixup 4880dc812c
.
And add curly brackets to if statement.
6 years ago
Chocobo1
e31c1ca780
Use functor based QMetaObject::invokeMethod
6 years ago
Chocobo1
4880dc812c
Use appropriate type
6 years ago
Chocobo1
516c968373
Support year unit in userFriendlyDuration()
6 years ago
Chocobo1
a6c5a90630
Remove redundant variable
6 years ago
Chocobo1
3b015db77d
Add comparison operators for ProxyConfiguration
6 years ago
Chocobo1
623210df58
Improve handleFileErrorAlert error message
6 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
6 years ago
Chocobo1
a64f3bbc6a
Reorder if conditions slightly
6 years ago
Chocobo1
9893a415c0
Fix updated save path not saved for paused torrents
6 years ago
Chocobo1
7d860b6c24
Log save_resume_data_failed_alert
6 years ago
Chocobo1
4e87aebf55
Don't remove parent directories
...
QDir::rmpath removes *all* parent directories while QDir::rmdir removes
the specified directory.
6 years ago
Chocobo1
440860c4a9
Properly remove empty leftover folders after rename
...
TorrentInfo::origFilePath will return the very original path from
.torrent file, not the most recent file path before the rename operation
and thus the code would not be working as we expected.
6 years ago
Chocobo1
89124bdcc8
Add WebAPI session timeout settings
...
Raise default timeout to 1 hour.
6 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
6 years ago
Chocobo1
8191f1498a
Log file rename failed errors
6 years ago
Chocobo1
431e7179ac
Remove redundant variable
6 years ago
Chocobo1
fbd5699786
Use switch statement
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Vladimir Golovnev (Glassez)
b644d6685f
Disable "Upload mode" when start preloaded torrent
6 years ago
Vladimir Golovnev (Glassez)
4ae4ae3cfc
Fix wrong indentation
6 years ago
Vladimir Golovnev (Glassez)
2c145fa57c
Fix incorrectly set torrent startup flag
6 years ago
Vladimir Golovnev (Glassez)
68ee071331
Ignore RSS articles with non-unique identifiers
6 years ago
Vladimir Golovnev (Glassez)
d710bbd9ef
Perform more RSS parsing in working thread
6 years ago
Chocobo1
411b956009
Fix speed limit not applying to IPv6 peers
...
`TORRENT_USE_IPV6` is not used by libtorrent 1.2 anymore.
6 years ago
Chocobo1
3f2ce8a2b7
Remove unused stats_alert handler
...
Fixup 0fe9cd05c4
.
6 years ago
Chocobo1
39830986c2
Use alert's timestamp
...
This way has better accuracy than running our own timer.
6 years ago