Chocobo1
14fc3dc9b3
Suppress conversion warning
3 years ago
Chocobo1
5cb295341c
Convert to QString literals
3 years ago
Vladimir Golovnev (Glassez)
1e45b7f50b
Add fast way of removing suggested extension
3 years ago
Vladimir Golovnev (Glassez)
293479a1f2
Improve performance of checking path extension
3 years ago
Chocobo1
852a14992c
Add literal operator to efficiently construct `QString` in Qt5
...
PR #16448 .
3 years ago
Kevin Cox
37e6a9ebc2
Fix UI crash when torrent is in non-existent category.
...
This checks that `category_list[categoryHash].torrents` is truthy before dereferencing it. In some cases the API response will have a torrent in a category that doesn't exist resulting in the check to return `undefined` which is not `null`. This broadens the check so that it will create the category even if null.
PR #16432 .
3 years ago
Vladimir Golovnev
b3f5bf1583
Try to recover missing categories
...
PR #16430 .
3 years ago
sledgehammer999
a3a8c19dc2
Sync translations from Transifex and run lupdate
3 years ago
Vladimir Golovnev
c3a64b3d6c
Cache file priorities
...
Speedup access to file priorities by avoiding extra blocking call to libtorrent thread.
Improve the Torrent interface by hiding the asynchrony of file priority changes behind the scenes.
PR #16425 .
3 years ago
Chocobo1
70eed10a34
Fix wrong size
...
Fix up cf96e6c642
.
3 years ago
Chocobo1
56c3983885
Improve `Path` constructor performance
3 years ago
Vladimir Golovnev
78eaa49cd6
Correctly register PathList alias
...
PR #16411 .
3 years ago
Vladimir Golovnev
4a7f1116ac
Improve tracker status handling
...
PR #16383 .
3 years ago
Chocobo1
f12ce78b5c
Remove hack for outdated IE 6 browser
...
The `mask()` isn't valid in CSS.
3 years ago
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
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
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
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 (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
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
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
Vladimir Golovnev
43441d8291
Handle missing torrent alerts
...
PR #16085 .
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
Vladimir Golovnev
5f623e32c4
Correctly handle XML parsing errors
...
PR #16071 .
3 years ago