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
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
e4a67183bd
Update default value of "Type of service for peers"
...
Upstream change:
3d701c7380
PR #16036 .
3 years ago
Vladimir Golovnev
a3be239a60
Keep "torrent info" alive while generating .torrent file
...
PR #16018 .
3 years ago
Vladimir Golovnev
d39c6bef4b
Correctly handle Auto TMM in Torrent Files Watcher
...
PR #13690 .
3 years ago
Vladimir Golovnev
84a8158aa2
Correctly track the root folder name change
...
PR #16004 .
3 years ago
sledgehammer999
a7c5826e05
Migrate proxy settings
...
Q_ENUM_NS(ProxyType) was introduced in 4.4.0.
Before that wrapping QMetaEnum used the int value itself for loading/storing.
Closes #15994
3 years ago
Chocobo1
d6e0164766
WebAPI: fix wrong key used for categories
...
Regression from 1c0f8b4289
.
Closes #15969 .
PR #15988 .
3 years ago
Vladimir Golovnev (Glassez)
fbc85bed64
Move torrent immediately when "save path" is changed
3 years ago
Vladimir Golovnev (Glassez)
52b54fe154
Don't try to move storage into its current location
3 years ago
Vladimir Golovnev
f44341a8e2
Handle .!qB extension behind the scenes
...
PR #15920 .
3 years ago
Chocobo1
9f6130cbaa
Move new line character out of translation string
...
PR #15948 .
3 years ago
thalieht
d3bdeaab3f
Replace "seeding_duration" with "finished_duration" everywhere
...
Closes #10223 .
PR #13601 .
3 years ago
sledgehammer999
d6fc020ba7
Bump to 4.5.0alpha1
3 years ago
sledgehammer999
74dc000ac1
Sync translations from Transifex and run lupdate
3 years ago
sledgehammer999
702c79a92f
Don't delete old config keys yet
...
It will allow users to go back to previous versions without
losing their settings.
3 years ago
sledgehammer999
a27822b557
Correct the order of the migrated settings' mappings
3 years ago
sledgehammer999
ac5a485651
Disambiguate the data type
3 years ago
sledgehammer999
e8c65388eb
Bump copyright year
3 years ago
sledgehammer999
f2cbb61d49
Sync translations from Transifex and run lupdate
3 years ago
Chocobo1
01a0fff4c2
Add missing field initial value
...
Suppresses the following warning:
qBittorrent/src/base/bittorrent/categoryoptions.cpp: In static member function ‘static BitTorrent::CategoryOptions BitTorrent::CategoryOptions::fromJSON(const QJsonObject&)’:
qBittorrent/src/base/bittorrent/categoryoptions.cpp:44:59: warning: missing initializer for member ‘BitTorrent::CategoryOptions::DownloadPathOption::path’ [-Wmissing-field-initializers]
44 | options.downloadPath = {downloadPathValue.toBool()};
3 years ago
Chocobo1
bf9516d164
Simplify code
...
This version saves an `if` conditional.
3 years ago
Vladimir Golovnev (Glassez)
fdbf8cb0ee
Correctly concatenate path components
3 years ago
Prince Gupta
7e8a176751
Support folder based UI Themes
...
Support folder based Themes in UIThemeManager.
Add option to select config.json as them file.
PR #15888 .
3 years ago
Vladimir Golovnev (Glassez)
1c0f8b4289
Redesign "Incomplete folder" feature
...
Change "Incomplete/temp folder" term with "download folder".
Allow to set "download folder" per torrent (in manual mode) and per category (in automatic mode).
3 years ago
Chocobo1
63043b4927
Replace min, max, clamp functions with std counterparts
3 years ago
Chocobo1
3ea4c66d41
Replace QPair with std::pair
3 years ago
Chocobo1
e7ebbffbfd
Set appropriate migration version number for new installations
3 years ago
Chocobo1
39f054eef6
Migrate "setting key mappings" to upgrade code
3 years ago
Chocobo1
7a620c794d
Fix garbage message when reporting error
...
PR #15883 .
3 years ago
Vladimir Golovnev (Glassez)
b0e41abf5a
Allow to set placeholder for FileSystemPathEdit
3 years ago
Vladimir Golovnev (Glassez)
6f8fae9a7b
Apply selected layout to displayed torrent content
3 years ago
Vladimir Golovnev (Glassez)
62b50d1475
Make TorrentInfo immutable
3 years ago
Vladimir Golovnev
2fb0c86f1e
Add "Show torrent options" double-click action
...
PR #15853 .
Closes #15837 .
3 years ago
Chocobo1
aedd997604
Don't expire connection when there are data in buffer
...
For writing, this ensures expire handler won't be executed in a small
time window, that is after `m_socket->write()` and before
`QIODevice::bytesWritten()` signal.
For reading, this let the socket to have the chance to process the
received data instead of dropping it.
PR #15849 .
3 years ago
Chocobo1
aa3da942cb
Use correct URL scheme when https is enabled
...
Closes #15844 .
PR #15847 .
3 years ago
Chocobo1
cca93c2be2
Show GUI lock icon after system tray icon is initialized
3 years ago