NotTsunami
e48612a703
Set disk cache size for older libtorrent versions
...
Libtorrent versions older than 1.2.6 have a bug when setting disk
cache size to auto.
See 6c880159c9
.
5 years ago
Chocobo1
09545d4036
Fix wrong logic that disables "prevent sleeping" timer
...
Also update power management state early so we don't need to wait for
the timer timeout to have the effect.
5 years ago
Chocobo1
3752453522
Clean up coding style
5 years ago
adem
eddc82d8a5
Remove white outline around mascot.png
5 years ago
Vladimir Golovnev (Glassez)
b759a71c5d
Fix sub-sorting of Transfer list
...
Closes #12330 .
5 years ago
Chocobo1
9f281c2d25
Avoid holding entire file in memory
...
Previously we need a file buffer that is as large as the file size and
this could be a problem when user has less free memory available or
having very large data. Now with the help of `FileOutputIterator`,
we can have a much smaller, fixed size immediate file buffer and also
the code looks nice with `lt::bencode()`.
5 years ago
Chocobo1
42d5d63867
Remove redundant type attribute
...
It already defaults to `text/css` if value is absent (in HTML5).
5 years ago
Chocobo1
e0c841d1e6
Fix mismatch ID
5 years ago
Chocobo1
17f608685d
Improve logging for errors
...
This commit also allows the strings to be translated.
5 years ago
József Sallai
f9564564f8
Detect python3 executable on Windows
5 years ago
Vladimir Golovnev (Glassez)
8bd9a97f6f
Fix unexpected torrent resume after app restart
...
Closes #12322 .
5 years ago
sledgehammer999
0dfa3a9c6f
Sync translations from Transifex and run lupdate
5 years ago
Vladimir Golovnev (Glassez)
4e6790dfbb
Prevent multiple instances for the same app config
5 years ago
sledgehammer999
13af503003
Fix broken UNC paths in fastresumes on Windows
...
See #12245 and #12282
5 years ago
NotTsunami
6b4925d222
Add UPnP lease duration advanced option
...
This is a new setting added that is pending addition to
libtorrent 1.2.6. This setting is important because some routers do
not support expiration times on port-maps and do not return an error
either, silently failing. The previous default of permanent leases is
retained.
5 years ago
Chocobo1
af430d6635
Initialize struct variables
...
clang static analyzer was emitting some warning about uninitialized
variable usage and this patch fixes it.
5 years ago
LameLemon
757274d315
Add alt and title tags for WebUI footer
...
Improves accessibility of the WebUI. Closes #12219 .
5 years ago
Tester798
1c6b4c0a79
Fix regression when fastresume contains network path
...
Closes #12245 after regression was introduced in #11785 .
5 years ago
Chocobo1
54a685e953
Add logging for SOCKS5 proxy errors
5 years ago
Chocobo1
c52737e07c
Avoid log file excessive flushing
...
Excessive flushing could happen when a lot of logging happens in a short
time interval.
5 years ago
Chocobo1
12396a7582
Save log file in UTF-8 encoding
...
Otherwise it uses sytem defaults: usually UTF-8 on Linux and local 8-bit
encoding on Windows.
5 years ago
Chocobo1
d179c6d5a1
Rename variable
5 years ago
Chocobo1
9630e7b689
Rely on Qt ownership to free resources
...
The m_reply has already changed parent in
DownloadHandlerImpl::assignNetworkReply() and thus we can rely on Qt
ownership to delete the object.
5 years ago
Chocobo1
1466c562e5
Include translation resources with file globbing
...
This will include all qtbase_*.qm files and only explicitly listed
qt_*.qm files will be included.
5 years ago
Nick Korotysh
a9b0d84df9
Don't round scaling factor
...
Qt 5.14 introduced new feature related to HighDPI screens support,
this parameter is called "scale factor rounding policy", and it is
intended to improve fractional scale factor support (like 150%).
Qt::PassThrough value guarantee that no any rounding will applied to
scale factor, and will be used as is.
5 years ago
Chocobo1
7de8a4d6e0
Construct QString more efficiently
5 years ago
Chocobo1
2c23840947
Allow to translate error messages
5 years ago
sledgehammer999
fcc87b4e9b
Sync translations from Transifex and run lupdate
5 years ago
an0n666
a711558ba0
NSIS: Add option to remove Windows path length limitation
5 years ago
Kacper Michajłow
e2c9ca5ee5
Add missing QPainterPath header include
5 years ago
FranciscoPombal
e496e664db
WebAPI: Always allow whitespace in category names
5 years ago
FranciscoPombal
7d24e1c063
WebAPI: fix matching uncategorized torrents
...
Closes #11748 .
5 years ago
thalieht
598c856c88
Disable Auto TMM when not using default savepath from monitored folder
5 years ago
FranciscoPombal
a81789f4af
Fix total connected peers count calculation
...
Also fix small typo in function name.
5 years ago
NotTsunami
c5aab39836
Allow other keypresses in LogListWidget
...
By not emitting the native signal, all other keypresses other than
the copy and select keysequences are ignored. This should reallow
keyboard navigation within LogListWidget objects.
Closes #12172 .
5 years ago
thalieht
18289f2395
Append new move storage job to queue
...
fixup e4ff206e3c
5 years ago
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
5 years ago
Chocobo1
6c307774f1
Get library version strings at runtime
...
We mostly use boost in header-only mode, so it is a non-trivial job to
get the version string at runtime.
5 years ago
Chocobo1
7b25dd24d0
Update Qt translation files
5 years ago
Chocobo1
62b0d25140
Capture pointer by value
5 years ago
Nick Korotysh
d49d7c1d82
Delegate GUI scaling work to Qt
...
Set Qt::AA_EnableHighDpiScaling application attribute when Qt 5.14.x or
newer is used. This fixes a lot of scaling issues on HiDPI displays.
Unfortunately, this flag must be set only before QApllication object
creation, so the only one place where it can be done is main().
5 years ago
Chocobo1
48e7191ef7
Initialize boolean variables
5 years ago
Chocobo1
9c6bc6c89a
Fix crash when renaming torrent contents
...
Closes #10328 .
5 years ago
Vladimir Golovnev (Glassez)
38e54206d5
Allow single app instance per configuration
5 years ago
Chocobo1
290d198977
Use proper type for piece index
5 years ago
Chocobo1
2157e500ef
Use helper functions to construct smart pointers
5 years ago
an0n666
f7d2085b0a
Check if file exists in seed mode
5 years ago
Chocobo1
24cd7c3611
Avoid unnecessary memory writes
...
Before this change, qbt spent ~1% in these two functions, now it
only spends about ~0.5% in my naive testing.
5 years ago
NotTsunami
f1788c76a9
Improve the options tooltips
...
* Fix wrong fields for translation comments
* Improve torrent management tooltip to cover both modes
* Add new tooltips for potentially confusing settings
Decent progress towards #6346 , closes #9994 , closes #11528
5 years ago
Vladimir Golovnev (Glassez)
74884d57ec
Let libtorrent decide whether to resume a torrent
5 years ago