Vladimir Golovnev (Glassez)
22bda12d6c
Fix crash when torrent is deleted on limit reached
5 years ago
Chocobo1
9efd5eaed3
Register datatype properly
...
Qt 5.9.5 doesn't seem to recognize it, this patch fixes it.
Fix up: d8401c76f5
.
Related: #12601 .
5 years ago
Chocobo1
bb80b378c1
Add ability to send custom HTTP headers
5 years ago
an0n666
e3e5da7a71
Use configured net interface even when it is missing
5 years ago
Chocobo1
1b80890696
Reduce padding in class
...
TorrentHandleImpl size is reduced from 768 bytes to 736 bytes.
CreateTorrentParams size didn't change.
Size numbers are from x64.
5 years ago
Chocobo1
ac2d063add
Move initialization default values to header
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
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
e7890fb727
Preallocate output buffer
5 years ago
Chocobo1
d476ae4f14
Fix header inclusion order
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
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
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
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
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
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
7de8a4d6e0
Construct QString more efficiently
5 years ago
Chocobo1
2c23840947
Allow to translate error messages
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
thalieht
18289f2395
Append new move storage job to queue
...
fixup e4ff206e3c
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
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
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