Chocobo1
f6eb341b32
Clean up code
5 years ago
Chocobo1
ddb9dfe185
Disable copy construction of QObject subclasses
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
an0n666
1d3bb705c8
Remove "requires restart" from network interface settings
...
Network interface changes are applied on the fly. A restart is not required.
5 years ago
thalieht
1bdffe1729
Rename "Create subfolder" to "Keep top-level folder"
...
Closes #12673
5 years ago
FranciscoPombal
d593d6baa1
CMake: Enforce minimum C++ mode support
5 years ago
Chocobo1
7ce83599b4
Improve behavior of deleting torrents in transfer list
...
Avoids accessing invalid pointers.
Closes #12584 .
5 years ago
Andrei Stepanov
159f93e051
Fix typo in optionsdialog.cpp
...
qBittorent -> qBittorrent
5 years ago
Chocobo1
4e961845cf
Clean up variable initialization order
5 years ago
sledgehammer999
480e732694
Bump Web API version
5 years ago
sledgehammer999
13a96407b3
Sync translations from Transifex and run lupdate
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
2729c0cb6d
Suppress misleading warning message
...
QString::split() was giving a non-empty QStringList, and
that caused Session::setBannedIPs() to emit misleading warning message.
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
Sepro
98bb63b390
WebAPI: Change delimiter from string to char in preferences API
5 years ago
Sepro
a3b58e59da
WebAPI: Expand RSS related API
...
Added markAsRead API method with optional parameter for specifying single article.
Added the rss_smart_episode_filters and rss_download_repack_proper_episodes keys to preference api.
Added matchingArticles API method for retrieving articles that match specified rule.
5 years ago
sledgehammer999
f1d02c6aee
Sync translations from Transifex and run lupdate
5 years ago
an0n666
e3e5da7a71
Use configured net interface even when it is missing
5 years ago
NotTsunami
075633cc40
WebUI: Fix UPnP lease duration get/set
...
Add missing setProperty and getProperty calls for the new UPnP lease
duration setting.
Fixes 6b4925d222
.
Closes #12566 .
5 years ago
Chocobo1
f915241bcb
Reduce ambiguity for selecting icons
...
Related: #12554 .
5 years ago
thalieht
5d16379941
Don't uncheck Authentication checkbox when changing proxy type
...
Closes #12525
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
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