Chocobo1
1cea6a25af
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
2020-04-22 18:19:23 +03:00
Chocobo1
ebc704ef14
Reduce padding in class
...
TorrentHandleImpl size is reduced from 768 bytes to 736 bytes.
CreateTorrentParams size didn't change.
Size numbers are from x64.
2020-04-22 18:19:22 +03:00
Chocobo1
a2a1a78f44
Move initialization default values to header
2020-04-22 18:19:21 +03:00
Chocobo1
3a54d574b0
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.
2020-04-22 18:19:20 +03:00
an0n666
d0be71c225
Change default upload slot choking limits
2020-04-22 18:19:19 +03:00
Chocobo1
7c04b4acd8
Add final specifier to classes
...
This allow compilers to generate more efficient code.
2020-04-22 18:19:18 +03:00
sledgehammer999
eda3747c08
Use static_cast for explicit type conversions
2020-04-22 18:19:17 +03:00
sledgehammer999
7d23ea1f80
TravisCI: Use libtorrent with deprecated functions disabled for Linux builds
2020-04-22 18:19:16 +03:00
Vladimir Golovnev (Glassez)
698ee94d0b
Split TorrentHandle interface and implementation
2020-04-22 18:19:14 +03:00
jagannatharjun
65d1b588d9
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com>
2020-04-22 18:19:13 +03:00
an0n666
eea693979a
Change default stop_tracker_timeout settings
2020-04-22 18:19:12 +03:00
Raif Atef
654bf85a71
Do not use 0.0.0.0 or [::] for outgoing interfaces
...
Fixes #12443
2020-04-22 18:19:11 +03:00
an0n666
8706a7c973
Remove deprecated strict super seeding mode from advanced settings
2020-04-22 18:19:10 +03:00
Chocobo1
439a2ef597
Fix date format for "Last seen complete"
...
Closes #12462 .
2020-04-22 18:19:08 +03:00
Sepro
c5a7aa7668
Fix unable to add multiple peers in WebUI
...
Wrong delimiter was used.
2020-04-22 18:19:07 +03:00
Chocobo1
e5bf83a594
Preallocate output buffer
2020-04-22 18:19:06 +03:00
Chocobo1
2a3e64933b
Fix header inclusion order
2020-04-22 18:19:05 +03:00
Chocobo1
35f8af32a3
Suppress unused variable warning on macOS
2020-04-22 18:19:04 +03:00
Chocobo1
37354a9e29
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.
2020-04-22 18:19:02 +03:00
József Sallai
7cb14e2a5b
Detect python3 executable on Windows
2020-04-22 18:19:01 +03:00
Vladimir Golovnev (Glassez)
4aae7266a5
Save "resume data" when torrent storage is moved
2020-04-22 18:19:00 +03:00
Raif Atef
075245c915
Fix outgoing interface is not getting assigned
...
Assignment was missing in main branch of condition statement.
Closes https://github.com/qbittorrent/qBittorrent/issues/12421
2020-04-22 18:18:59 +03:00
adem
476707cc80
Remove white outline around mascot.png
2020-04-22 18:18:58 +03:00
Chocobo1
7b0b5e3d7f
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.
2020-04-22 18:18:56 +03:00
Chocobo1
4142722303
Sort locale language list
2020-04-22 18:18:55 +03:00
NotTsunami
8ebb11f981
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
.
2020-04-22 18:18:54 +03:00
Chocobo1
80016db781
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.
2020-04-22 18:18:53 +03:00
Chocobo1
a9f43bd5d2
Clean up coding style
2020-04-22 18:18:52 +03:00
Chocobo1
2f0c3f047a
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()`.
2020-04-22 18:18:50 +03:00
Vladimir Golovnev (Glassez)
f40a36ecb3
Fix sub-sorting of Transfer list
...
Closes #12330 .
2020-04-22 18:18:50 +03:00
Chocobo1
a1ee1c0448
Remove redundant type attribute
...
It already defaults to `text/css` if value is absent (in HTML5).
2020-04-22 18:18:49 +03:00
Chocobo1
939f83bdd5
Fix mismatch ID
2020-04-22 18:18:48 +03:00
Chocobo1
e98a887286
Improve logging for errors
...
This commit also allows the strings to be translated.
2020-04-22 18:18:37 +03:00
sledgehammer999
29e9594859
Bump to 4.2.3
2020-04-02 00:19:58 +03:00
sledgehammer999
e881a42368
Update Changelog
2020-04-02 00:19:54 +03:00
Vladimir Golovnev (Glassez)
67c6107892
Fix unexpected torrent resume after app restart
...
Closes #12322 .
2020-04-02 00:17:45 +03:00
sledgehammer999
ea66edd1cb
Sync translations from Transifex and run lupdate
2020-04-01 17:42:06 +03:00
Vladimir Golovnev (Glassez)
cb444978ef
Prevent multiple instances for the same app config
2020-04-01 17:18:39 +03:00
sledgehammer999
2794e883b6
Fix broken UNC paths in fastresumes on Windows
...
See #12245 and #12282
2020-04-01 17:18:38 +03:00
Tester798
e86249a4e8
Fix regression when fastresume contains network path
...
Closes #12245 after regression was introduced in #11785 .
2020-04-01 17:18:37 +03:00
NotTsunami
6f45764629
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.
2020-04-01 17:18:36 +03:00
LameLemon
5250a8be42
Add alt and title tags for WebUI footer
...
Improves accessibility of the WebUI. Closes #12219 .
2020-04-01 17:18:35 +03:00
Chocobo1
f3d878324b
Initialize struct variables
...
clang static analyzer was emitting some warning about uninitialized
variable usage and this patch fixes it.
2020-04-01 17:18:34 +03:00
Chocobo1
43d9d16241
Add logging for SOCKS5 proxy errors
2020-04-01 17:18:33 +03:00
Andrei Stepanov
5ad8f60ca1
NSIS: Update Russian translation
...
Remake of my previous PR https://github.com/qbittorrent/qBittorrent/pull/12251
2020-04-01 17:18:32 +03:00
Chocobo1
539fe7259e
Avoid log file excessive flushing
...
Excessive flushing could happen when a lot of logging happens in a short
time interval.
2020-04-01 17:18:30 +03:00
Chocobo1
6521d00d5b
Save log file in UTF-8 encoding
...
Otherwise it uses sytem defaults: usually UTF-8 on Linux and local 8-bit
encoding on Windows.
2020-04-01 17:18:29 +03:00
Chocobo1
e8010abc8b
Rename variable
2020-04-01 17:18:28 +03:00
Chocobo1
99614aaa9d
Include translation resources with file globbing
...
This will include all qtbase_*.qm files and only explicitly listed
qt_*.qm files will be included.
2020-04-01 17:18:27 +03:00
Burak Yavuz
56342c9c79
NSIS: Update Turkish translation
2020-04-01 17:18:25 +03:00