Vladimir Golovnev (Glassez)
1b5dd0aa2d
Fix renaming RSS autodownload rule
5 years ago
Chocobo1
be152f45c9
Define and use Http::HeaderMap type
5 years ago
Vladimir Golovnev (Glassez)
53fd0e1607
Wait for storage to be moved when removing torrent
5 years ago
Chocobo1
d57b9be706
Rename function
5 years ago
Chocobo1
74a2168bc1
Define and use a proper HTTP header structure
5 years ago
Vladimir Golovnev (Glassez)
378a863611
Remove unwanted files after torrent removed
5 years ago
Vladimir Golovnev (Glassez)
e49c554044
Improve "move torrent storage" queue
5 years ago
Vladimir Golovnev (Glassez)
b6bf09fc0f
Fix calculation of torrent current state
...
Some actions can be performed despite of other states
(e.g. "Errored" torrent can check its files currently)
so the states that relate to such actions should override
other (so-called "static") states.
5 years ago
Vladimir Golovnev (Glassez)
a8c333ff25
Drop "private" subfolders
...
"private" subfolders violate the structure of the project,
since the existence of all other subfolders is based on a
different principle.
In addition, there is no clear line between "private" and
"non private".
5 years ago
Vladimir Golovnev (Glassez)
642bf7b8a6
CMake: Don't split GUI code into several libraries
5 years ago
Chocobo1
5ca26516eb
Handle empty piece range properly
...
Related: #12677 .
5 years ago
Chocobo1
f6eb341b32
Clean up code
5 years ago
Chocobo1
6d167e9a28
Remove const from class variables
...
It prohibits copy construction, copy assignment and move semantics.
5 years ago
Chocobo1
21581141f6
Support range-based iteration in IndexRange class
5 years ago
thalieht
1bdffe1729
Rename "Create subfolder" to "Keep top-level folder"
...
Closes #12673
5 years ago
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
NotTsunami
cc1ebbf379
Add HTTPS tracker certificate validation option
...
This commit adds a new libtorrent setting to validate HTTPS tracker
certificates. When enabled, libtorrent will validate the certificate
of HTTPS trackers against the system's certificate store. This option
is only enabled on libtorrent versions >= 1.2.6 and on non-Windows
systems, as OpenSSL does not use the system's certificate store on
Windows.
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