Commit graph

11518 commits

Author SHA1 Message Date
sledgehammer999
2be2ee6fc2
Delete Qt translations files 2022-05-22 18:58:08 +03:00
sledgehammer999
be4fa061ee
qmake: Use installed Qt's translations for packaging 2022-05-22 18:58:08 +03:00
sledgehammer999
665bbc2421
CMake: Use installed Qt's translations for packaging 2022-05-22 18:57:59 +03:00
thalieht
8d408ffc8b
Consistently emit signal when file "ignored" state is changed
PR #17042.
Closes #17037.
2022-05-20 08:29:22 +03:00
Chocobo1
aa39c7aae5 Fix wrong GUI behavior in "Optional IP address to bind to" setting
Previously the address field got erroneously reset to "All addresses"
when the network interface is down.
2022-05-20 12:29:31 +08:00
Vladimir Golovnev
7ad667e8d2
Add trackers in exported .torrent files
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>

PR #17018.
2022-05-12 08:12:19 +03:00
summer
0c8220c9fd
Prevent the new update box from blocking input on other dialogues
PR #16678.
2022-05-01 16:20:00 +03:00
summer
e9364b72f9 Reduce the number of hashing threads by default
This seems to be the culprit responsible for slower hash rate in RC2_0 releases
2022-05-01 12:31:27 +08:00
Chocobo1
a004f0afc5 WebUI: show correct location path
The `path` might contains '&' (delimit character) so it must be
encoded.
Closes #15976.
2022-05-01 12:28:09 +08:00
Chocobo1
d7f172060c Disable Linux-specific function when compiling for Windows 2022-05-01 12:28:09 +08:00
Chocobo1
9eae2b8ea9 Use correct type for comparisons
`_write()` actually returns `int` type.

And fix wrong function parameters.

Closes #16938.
Closes #16944.
2022-05-01 12:28:09 +08:00
Vladimir Golovnev
26e220e003
Avoid dereferencing null pointers
PR #16896.
Closes #16884 and similar issues.
2022-04-20 10:44:21 +03:00
Vladimir Golovnev
d7e9533e8c
Don't corrupt IDs of v2 torrents
PR #16841.
2022-04-09 11:53:17 +03:00
Vladimir Golovnev
8306a41d11
Correctly apply content layout when "Skip hash check" is enabled
PR #16825.
2022-04-07 07:15:31 +03:00
Vladimir Golovnev
169c4991d5
Use an appropriate method to show modal dialog
PR #16809.
2022-04-06 08:39:34 +03:00
Vladimir Golovnev
78344a10fa
Don't forget to create 'download_path' field
PR #16810.
2022-04-06 08:38:50 +03:00
Chocobo1
f8d9f70e7f
GHA CI: work around error when installing Qt
This is to (temporarily) work around CI errors at jurplel/install-qt-action.
Upstream issue: https://github.com/jurplel/install-qt-action/issues/130

Original PR #16767.
PR #16780.
2022-03-31 13:15:46 +08:00
Vladimir Golovnev
011ac90a52
Correctly handle changing of temp save path
PR #16753.
2022-03-28 07:32:13 +03:00
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