Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
5 years ago
sledgehammer999
a17b1f2b78
Use static_cast for explicit type conversions
5 years ago
Chocobo1
648d44d9b9
Reduce padding in structure
...
Log::Msg originally takes 32 bytes, now shrinks to 24 bytes.
Log::Peer originally takes 40 bytes, now shrinks to 32 bytes.
5 years ago
thalieht
f0549b4cb2
Make a few cosmetic changes in code
5 years ago
Chocobo1
d3d3f7dbb3
Add final specifier to classes
...
This allow compilers to generate more efficient code.
5 years ago
Vladimir Golovnev (Glassez)
1132b84548
Split TorrentHandle interface and implementation
5 years ago
an0n666
ec6b249509
Change default upload slot choking limits
5 years ago
jagannatharjun
fd89717330
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com>
5 years ago
an0n666
1168387df0
Change default stop_tracker_timeout settings
5 years ago
Raif Atef
1549b782e6
Do not use 0.0.0.0 or [::] for outgoing interfaces
...
Fixes #12443
5 years ago
Chocobo1
31648a4433
Fix date format for "Last seen complete"
...
Closes #12462 .
5 years ago
Sepro
2c8230f1ae
Fix unable to add multiple peers in WebUI
...
Wrong delimiter was used.
5 years ago
Chocobo1
e7890fb727
Preallocate output buffer
5 years ago
Chocobo1
d476ae4f14
Fix header inclusion order
5 years ago
Chocobo1
f76d56e224
Suppress unused variable warning on macOS
5 years ago
Chocobo1
d8401c76f5
Avoid holding encoded resume data in memory
...
Now it the encoded resume data will be streamed to file instead of a
temporary buffer holding the whole of it.
5 years ago
an0n666
026aad2c04
Remove deprecated strict super seeding mode from advanced settings
5 years ago
Raif Atef
bf1c9e34d7
Fix outgoing interface is not getting assigned
...
Assignment was missing in main branch of condition statement.
Closes https://github.com/qbittorrent/qBittorrent/issues/12421
5 years ago
Vladimir Golovnev (Glassez)
0a8c2f75af
Save "resume data" when torrent storage is moved
5 years ago
Chocobo1
2fa6a7f6f5
Avoid inefficient behavior
...
Since the class needs to be copy-constructible, there may be many
copies of an instance. So instead of writing to the device on every
destructor call, only flush buffer on the last destructor call.
5 years ago
Chocobo1
5eaedb13e5
Sort locale language list
5 years ago
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