Commit graph

11550 commits

Author SHA1 Message Date
An0n
c1b38221d2
Fix WebUI crash due to missing tags from config
Tags can be missing from config but set inside .fastresume. May happen due to corrupted/deleted config.
Closes #11906.
PR #16739.
Original PR #16711.
2022-03-27 15:15:13 +08:00
Chocobo1
c621cae43b
Don't use explicit memory management
And avoid dangling pointers.
Original PR #16705.
2022-03-27 14:17:42 +08:00
sledgehammer999
ede7c8acbb
Bump to 4.4.2 2022-03-22 16:14:07 +02:00
sledgehammer999
9195df5179
Update Changelog 2022-03-22 16:03:12 +02:00
sledgehammer999
a3d5ea829b
Sync translations from Transifex and run lupdate 2022-03-22 15:47:50 +02:00
Vladimir Golovnev
c062f86bac
Avoid integer overflow when calculating working set size
PR #16700.
2022-03-22 16:15:21 +03:00
Vladimir Golovnev
e5894831ec
Prevent crash when open torrent destination folder
Uses the same workaround as Qt does to call ShellExecute() when you use QDesktopServices::openUrl().

PR #16670.
Closes #16423.
2022-03-20 21:54:34 +03:00
Vladimir Golovnev
f40e92f186
Remove incorrect/redundant code
PR #16663.
2022-03-19 08:58:18 +03:00
Vladimir Golovnev
0ab10ef2b3
Merge pull request #16659 from glassez/backport
Backport changes to v4.4.x branch
2022-03-18 16:16:07 +03:00
Vladimir Golovnev (Glassez)
049e376953
Properly handle metadata download for an existing torrent 2022-03-17 16:54:58 +03:00
Vladimir Golovnev (Glassez)
6dab4615aa
Prevent loading resume data with inconsistent ID 2022-03-17 16:18:17 +03:00
Chocobo1
0b9a1dfd9d
Add back erroneously removed alert handler
Fix up d26e582cc1.
Closes #16655.
PR #16657.
2022-03-17 12:37:32 +08:00
Vladimir Golovnev
11c45db2ec
Allow to limit max memory working set size
PR #16485.
2022-03-12 21:40:02 +03:00
Chocobo1
ba147d72b9
Merge pull request #16608 from Chocobo1/disable
Disable performance alert
2022-03-10 12:33:25 +08:00
Chocobo1
97ead6d7c9
GHA CI: disable uploading built artifacts for macOS
The binary aren't usable universally because users are required to
install related libraries.
2022-03-09 11:29:22 +08:00
Chocobo1
51cb3ca0c8
GHA CI: install boost library manually
libtorrent 2.0.5 has build issues with boost >= 1.78.
2022-03-09 11:29:21 +08:00
RqndomHax
c514c2b7a8
Update NSIS French translation
PR #16562.
2022-03-09 10:12:37 +08:00
Chocobo1
d26e582cc1
Disable performance alert
The alert is too annoying and there is no control knob for tuning it, so
disable it in v4_4_x branch.
Closes #16462.
2022-03-07 13:38:20 +08:00
Vladimir Golovnev
5d161d2477
Correctly handle changing of global save paths 2022-03-04 14:07:58 +03:00
Juanjo Jiménez
b9ea6a5dc5 Update NSIS translations for "Spanish" and "Spanish International"
PR #16455.
2022-02-19 12:08:01 +08:00
Kevin Cox
7b0b64a04e 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.
2022-02-19 12:08:01 +08:00
sledgehammer999
4cb386af35
Bump to 4.4.1 2022-02-15 17:14:35 +02:00
sledgehammer999
14ab1b015c
Update Changelog 2022-02-15 17:12:38 +02:00
sledgehammer999
0a4971c994
Partially revert e93c360db6
QShareDataPointer causes a crash upon start on 32bit Qt5 Windows.
This is a temporary fix in order to release v4.4.1.
2022-02-15 17:08:39 +02:00
sledgehammer999
a75ae21434
Sync translations from Transifex and run lupdate 2022-02-15 17:04:49 +02:00
Vladimir Golovnev (Glassez)
01eed5dae9 Try to recover missing categories 2022-02-15 16:36:33 +02:00
Chocobo1
e73397c750 Remove hack for outdated IE 6 browser
The `mask()` isn't valid in CSS.
2022-02-14 13:37:05 +08:00
sledgehammer999
869d079507 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.

PR #16030.
Closes #15994.
2022-02-11 16:09:16 +03:00
Prince Gupta
71174edf72 Optimize completed files handling
PR #16329.

Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
2022-02-11 16:09:16 +03:00
thalieht
b3d46ecb78 Add Select All/None buttons in new torrent dialog 2022-02-01 08:07:03 +03:00
thalieht
80035a2520 Fix "Free space on disk" in new torrent dialog
Always initialize it.
2022-02-01 08:07:03 +03:00
Chocobo1
6790335239 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.
2022-02-01 12:53:33 +08:00
Vladimir Golovnev
48ff494dca Open correct directory when clicked on Browse button
PR #16252.
2022-01-28 08:27:07 +03:00
Vladimir Golovnev
c5b361ce74 Change torrent moving state when it is cancelled
PR #16267.
2022-01-28 08:27:07 +03:00
thalieht
397b7b9407 Add tooltip to Automatic Torrent Management context menu action
PR #16241
2022-01-27 07:42:23 +03:00
thalieht
6e0c1e2147 Add confirmation for enabling Auto TMM from context menu
PR #16241
2022-01-27 07:42:23 +03:00
Vladimir Golovnev
e93c360db6
Store hybrid torrents using legacy filenames
* Make Digest32 implicitly shared class
* Store hybrid torrents using legacy filenames

PR #16237.
2022-01-25 08:22:35 +03:00
thalieht
270e2023cd Fix wrong closing brace position
Regression from 0086bf8958.
PR #16172.
2022-01-22 08:17:07 +03:00
Vladimir Golovnev
5ac858213b Don't start separate event loop for QFileDialog
It conflicts with QMenu on Qt6 that causes the crash.

PR #16158.
2022-01-22 08:17:07 +03:00
Vladimir Golovnev
f0ee6aba29 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.
2022-01-17 09:41:21 +03:00
Vladimir Golovnev
fa418087c4 Handle missing torrent alerts
PR #16085.
2022-01-17 09:41:21 +03:00
thalieht
8493e1ad64 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.
2022-01-16 12:06:46 +08:00
thalieht
fe90fcef5b Update the torrent's download path field when changing category
In torrent options dialog while in Automatic Management Mode.
PR #16026.
2022-01-16 12:06:46 +08:00
Vladimir Golovnev
210fd80167
Correctly concatenate paths
PR #16086.
2022-01-14 15:17:17 +03:00
Vladimir Golovnev (Glassez)
0a1e864f74 Correctly handle XML parsing errors 2022-01-14 10:20:42 +03:00
Chocobo1
7adccab687 Add Qt6 version to INSTALL file 2022-01-14 14:43:55 +08:00
Chocobo1
67e536d869 Update default value of "Type of service for peers"
Upstream change:
3d701c7380
PR #16036.
2022-01-14 14:43:55 +08:00
Vladimir Golovnev (Glassez)
86e8d848f6 Move torrent immediately when "save path" is changed 2022-01-12 08:39:23 +03:00
Vladimir Golovnev (Glassez)
88114b4588 Don't try to move storage into its current location 2022-01-12 08:39:23 +03:00
Vladimir Golovnev (Glassez)
e468f004f4 Correctly track the root folder name change 2022-01-12 08:39:23 +03:00