Chocobo1
610009fb7f
Make Path::operator== a free function
3 years ago
Chocobo1
4cb075b168
Use "table look-up" method for reversing byte
...
This method takes constant time and is less prone to (CPU) pipeline stalling due to less
computation. Also it is slightly faster than the previous method.
3 years ago
Chocobo1
cf96e6c642
Use QVarLengthArray whenever applicable
3 years ago
Vladimir Golovnev
dd1bd8ad10
Implement class for handling filesystem paths
...
PR #15915 .
3 years ago
Vladimir Golovnev
facfa26eed
Allow to use Category paths in "Manual" mode
...
If the option is enabled any relative save path will be resolved against an appropriate Category path instead of Global default one.
PR #16330 .
3 years ago
Prince Gupta
0012a3ede7
Optimize completed files handling
...
PR #16329 .
Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
3 years ago
Vladimir Golovnev
b61a818a3f
Merge pull request #16333 from thalieht/newdlg
...
Add Select All/None buttons in new torrent dialog
3 years ago
Chocobo1
a2c44dedce
Fix crash when shutting down and clicked on system tray icon
...
Disconnect all signals of system tray icon when shutting down.
Closes #16324 .
PR #16328 .
3 years ago
thalieht
a8ad4f784a
Fix "Free space on disk" in new torrent dialog
...
Always initialize it.
3 years ago
thalieht
78d69bcbf0
Add Select All/None buttons in new torrent dialog
3 years ago
Prince Gupta
414361a3db
Improve tracker error handling
...
* Improve tracker error handling
* Fix typo in function name
PR #16298 .
3 years ago
Prince Gupta
1d4071d6d8
Don't rename file because of difference in path separator
...
PR #16317 .
3 years ago
Vladimir Golovnev
47daf1b358
Allow to open incomplete files from content view
...
Fixes regression from f44341a8e2
.
PR #16318 .
3 years ago
Chocobo1
7a910a8cc1
Merge pull request #16256 from Chocobo1/bitarray
...
Speed up bitfields conversion
3 years ago
Vladimir Golovnev
9818c7b6a4
Open correct directory when clicked on Browse button
...
PR #16252 .
3 years ago
Vladimir Golovnev
ca9e5e8531
Change torrent moving state when it is cancelled
...
PR #16267 .
3 years ago
Chocobo1
aafee60033
Allocate memory on stack whenever feasible
...
The fast path gives another 20% speed up than the slower path.
3 years ago
Vladimir Golovnev
adf7c4ffb6
Merge pull request #16268 from glassez/fix-15955
...
Store hybrid torrents using "torrent ID" as basename
3 years ago
Prince Gupta
96965ae347
CMake: Call UIC on the .ui files manually
...
Fixes unnecessary recompilation when editing GUI files.
PR #16151 .
3 years ago
Vladimir Golovnev
bc2ef5d726
Add confirmation for enabling Auto TMM from context menu
...
* Add confirmation for enabling Auto TMM from context
* Add tooltip to Automatic Torrent Management context menu action
PR #16241 .
3 years ago
Vladimir Golovnev (Glassez)
7a539d9890
Store hybrid torrents using "torrent ID" as basename
3 years ago
Vladimir Golovnev (Glassez)
c40408b337
Make Digest32 implicitly shared class
3 years ago
Chocobo1
4e2daf117b
Speed up bitfields conversion
...
The old code took 3~5 times longer than the newer version.
3 years ago
Chocobo1
9553afc3c2
Merge pull request #16247 from Chocobo1/count_bits
...
Speed up piece relevance calculation
3 years ago
Vladimir Golovnev
26352c9eb4
Cache pieces info
...
PR #16238 .
3 years ago
thalieht
62c167fc77
Add tooltip to Automatic Torrent Management context menu action
3 years ago
thalieht
03c774eae7
Add confirmation for enabling Auto TMM from context menu
...
Closes #16046
3 years ago
Chocobo1
53992bf0d5
Initialize class variable in initializer list
3 years ago
Chocobo1
ff99e5ac9a
Speed up piece relevance calculation
...
For ~800 pieces, this roughly cuts the run time (of this function) in
half.
3 years ago
Prince Gupta
0cc318664d
Improve Torrent content tree structure creation
...
Use QHash to cache folder items.
PR #16183 .
3 years ago
Chocobo1
43c427b253
Merge pull request #16167 from Chocobo1/auto-resize
...
Add "Auto resize columns" functionality
3 years ago
Chocobo1
44c8d60a70
Remove unused parameter
3 years ago
Chocobo1
54252184ab
Make use of std algorithms
...
Since the result code is shorter.
3 years ago
Chocobo1
7ae68b20e7
Add "Auto resize columns" functionality
3 years ago
Chocobo1
208234b934
Clean up code related to show/hide columns
3 years ago
thalieht
1729b9f29c
Fix wrong closing brace position
...
Regression from 0086bf895806346e701cfe56f18fd0b5bdde41ab.
PR #16172 .
3 years ago
Vladimir Golovnev
5d69334287
Don't start separate event loop for QFileDialog
...
It conflicts with QMenu on Qt6 that causes the crash.
PR #16158 .
3 years ago
Vladimir Golovnev
4d54fb675f
Correctly handle received metadata
...
It did not work correctly, since it assumed that 'lt::torrent_plugin' is created at an earlier stage and is able to track all changes in the torrent state, but in reality it turned out that it was created after the torrent moved to the `downloading_metadata` state, so we had to additionally handle it in the constructor.
PR #16121 .
3 years ago
Chocobo1
e93de54eb5
Merge pull request #16099 from Chocobo1/errormsg
...
Revise error message
3 years ago
Vladimir Golovnev
43441d8291
Handle missing torrent alerts
...
PR #16085 .
3 years ago
Chocobo1
d6dce1efe9
Add comment for new libtorrent build flag
...
Upstream change:
66def89089
3 years ago
Chocobo1
dca69f053a
Remove outdated build configuration
3 years ago
Chocobo1
5ebbed8160
Revise error message
...
Remove the period mark at the end of error message since
`errc.message()` already contains one.
3 years ago
thalieht
3fdb330bd9
Restore all settings to the torrent list's context menu
...
Set location
Category
Sequential download
Download first/Last pieces first
Automatic Torrent Management
PR #16016 .
3 years ago
Chocobo1
c05dbc451a
GHA CI: build libtorrent with `/guard:cf` flag
...
qbt cmake script enables that flag already, so it make sense to build
dependencies with it too.
PR #16083 .
3 years ago
Vladimir Golovnev
5f623e32c4
Correctly handle XML parsing errors
...
PR #16071 .
3 years ago
thalieht
7c37c5c06f
Update the torrent's download path field when changing category
...
In torrent options dialog while in Automatic Management Mode.
PR #16026 .
3 years ago
Chocobo1
4d541ca969
Add Qt6 version to INSTALL file
...
PR #16054 .
3 years ago
Chocobo1
e4a67183bd
Update default value of "Type of service for peers"
...
Upstream change:
3d701c7380
PR #16036 .
3 years ago
sledgehammer999
d25be686ee
Merge pull request #16030 from sledgehammer999/migrate_proxy_enum
...
Migrate proxy settings
3 years ago