Chocobo1
c420ff29af
Revise operations in TorrentHandle class
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
672b44acba
Let OS assign listening port
...
This applies when "Use different port on startup" option is selected.
5 years ago
Chocobo1
c19f8f6b5e
Use a randomized port number for the first run
5 years ago
Chocobo1
d92bf13706
Use a QString directly instead of QStringList
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Chocobo1
f4e7b8c6bf
Replace QMap with QHash
5 years ago
Chocobo1
c1659a189b
Fix messed up symbols in log
5 years ago
Chocobo1
3ab2fe907f
Remove Windows XP remnants
5 years ago
Chocobo1
38fa6d2aee
Fix incomplete file extension not applied for new torrents
5 years ago
Chocobo1
7ab3479a34
Replace static_cast by qOverload
5 years ago
Chocobo1
ca44b40222
Move variables to the proper scope
5 years ago
Chocobo1
ccec50e18e
Improve parsing in BitTorrent::PeerAddress::parse
5 years ago
Vladimir Golovnev (Glassez)
4021a0c7ce
Store libtorrent native file index in QHash
5 years ago
Vladimir Golovnev (Glassez)
3d70ebfc46
Save updated resume data for completed torrents
...
If fastresume data was rejected we need to save updated
resume data after torrent finishes rechecking.
5 years ago
Vladimir Golovnev (Glassez)
ad6a40d5f4
Extract PeerAddress class into separate file
5 years ago
Vladimir Golovnev (Glassez)
b822d2c380
Fix requested torrent resume data handling
...
Session should increase an appropriate counter each time
the torrent resume data is requested to save.
5 years ago
Vladimir Golovnev (Glassez)
60ffa3030e
Don't use deprecated libtorrent features
5 years ago
Chocobo1
4a90716843
Add override keyword to functions
5 years ago
Chocobo1
7a5e883cd2
Revise inline keyword usage
...
And let compiler decide whether to inline functions.
5 years ago
Chocobo1
f6f8aaf3db
Put internal function into anonymous namespace
5 years ago
Chocobo1
f993230582
Use uniform initialization
5 years ago
Vladimir Golovnev (Glassez)
87d98403f4
Don't break torrent checking
5 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.
5 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
5 years ago
Vladimir Golovnev (Glassez)
644dc9792d
Avoid race conditions when adding torrent
5 years ago
Chocobo1
9e7f50517e
Add "Tracker entries" dialog
5 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
5 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.
5 years ago
Chocobo1
b9094ff8a5
Use proper log message when there are no error
5 years ago
Chocobo1
664cfe7d69
Fix torrent properties not saved for paused torrents
5 years ago
Chocobo1
c4dbe84832
Use newer libtorrent API
5 years ago
Chocobo1
ed2199b91c
Add "File pool size" option
5 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().
5 years ago
Chocobo1
73cf3fb68f
Use LogMsg() helper
5 years ago
Chocobo1
e6c448aa4f
Replace obsoleted QProcess::finished(int)
...
It is replaced by QProcess::finished(int, QProcess::ExitStatus).
5 years ago
Chocobo1
2bc91fba3e
Use newer libtorrent API
5 years ago
Chocobo1
0b1b3c1f84
Use numeric_limits instead of constants from C
...
In C++, using numeric_limits is more idiomatic compared to using constants.
5 years ago
Chocobo1
042cd4267f
Remove upper limit of "Disk cache" setting
5 years ago
Prince Gupta
ece70daaa5
Fix CMake Windows compilation
5 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.
5 years ago
Chocobo1
e31c1ca780
Use functor based QMetaObject::invokeMethod
5 years ago
Chocobo1
4880dc812c
Use appropriate type
5 years ago
Chocobo1
516c968373
Support year unit in userFriendlyDuration()
5 years ago
Chocobo1
a6c5a90630
Remove redundant variable
5 years ago
Chocobo1
3b015db77d
Add comparison operators for ProxyConfiguration
5 years ago
Chocobo1
623210df58
Improve handleFileErrorAlert error message
5 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.
5 years ago
Chocobo1
a64f3bbc6a
Reorder if conditions slightly
5 years ago
Chocobo1
9893a415c0
Fix updated save path not saved for paused torrents
5 years ago