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
FranciscoPombal
966f891d91
Fix response to event=stopped
...
BEP-3 says all tracker responses to valid announce requests should be bencoded dictionaries with at least the "peers" and "interval" keys; the "peers" key can be empty.
Also clarify support for BEP-21.
5 years ago
FranciscoPombal
af6f63f82c
Don't use IPv4-mapped IPv6
...
Always register peers with either IPv4 or IPv6.
Fixes potential connection issues.
Also clarify related BEP-24 support.
5 years ago
FranciscoPombal
abc69dfd20
Fix BEP-23 support
...
The embedded tracker was returning a non-compliant response.
The peer lists should be packed strings instead of lists.
Also clarify level of compliance with BEP-7.
5 years ago
FranciscoPombal
9f045500d1
Fix IPv6 endianness
5 years ago
Vladimir Golovnev (Glassez)
e4ff206e3c
Move torrent storages one by one
5 years ago
Vladimir Golovnev (Glassez)
dd0cee44c1
Allow to save downloaded metadata as torrent file
5 years ago
Chocobo1
071ffd13de
Fix wrong field for translation comment
...
The `comment` field is used for disambiguation between identical
strings. Our case here should use the `extracomment` field which
meant as comment for translators.
5 years ago
Chocobo1
f4febb96b4
Remove misleading translation comment
...
Also it was using the wrong field for translation comment.
5 years ago
djt3
e6887fc950
Change placeholder text in torrent list's filter
5 years ago
FranciscoPombal
dc6a56afcb
Revert using random port by default
...
Revert change introduced in https://github.com/qbittorrent/qBittorrent/pull/11637 and also revert the associated follow-up https://github.com/qbittorrent/qBittorrent/pull/12000 .
Reason: https://github.com/arvidn/libtorrent/pull/4335
5 years ago
sledgehammer999
ea1481beef
Use IP geolocation database by DB-IP instead of MaxMind
...
Closes #11792
5 years ago
Chocobo1
e825473289
Simplify TrackerEntry::status() logic
5 years ago
an0n666
8423f43209
Do not list not contacted trackers as error
5 years ago
Chocobo1
45c357dfe2
Include resume folder path in exception message
...
The message in RuntimeError exception will be displayed to the users and
users would be clueless if we don't show the path.
5 years ago
Chocobo1
6eb190c373
Expose WebUI ban duration to users
5 years ago
Chocobo1
ec61ef5145
Fix coding inconsistencies in preferences.html
...
1. Format table tags properly
2. Add a proper label tag
3. Don't use abbreviation for seconds, we use full name everywhere else
5 years ago
Chocobo1
4f7b799732
Use QDeadlineTimer for tracking WebUI banned duration
...
It simplifies our code and the new timer is monotonic.
5 years ago
Vladimir Golovnev (Glassez)
3762514662
Don't access download handler after it's finished
5 years ago
Chocobo1
45bd79ee74
Close document properly after writing
...
Closing document explicitly is recommended by MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Document/write
5 years ago
Chocobo1
f88d6b2e55
Expose WebUI ban counter to users
5 years ago