thalieht
ce437817de
Make various minor changes
6 years ago
thalieht
89dce36e98
Use uniform initialization on some default arguments
6 years ago
thalieht
8a19a0d4a0
Remove const in declarations' arguments that are passed by value
6 years ago
thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
6 years ago
Chocobo1
5e3fddf456
Replace QScopedPointer with std::unqiue_ptr
...
These 2 types are very similar and we should prefer the one from C++
standard library, this reduces the number of types in our code base.
Also see:
https://stackoverflow.com/questions/40346393/should-i-use-qscopedpointer-or-stdunique-ptr#comment67966940_40346991
6 years ago
Chocobo1
8fe1ff87f1
Limit DownloadHandler max redirection to 20
...
Closes #10219 .
6 years ago
thalieht
86df25a3e9
Remove some unused stuff
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
Chocobo1
409557ef30
Clean up code
6 years ago
thalieht
8a3f942385
Don't use 'else' after return/break
6 years ago
Chocobo1
313a95bdd1
Log DownloadManager SSL errors
6 years ago
thalieht
445adb0ab4
Convert pass-by-value arguments to const refs where applicable
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
79d7ba8205
Fix wrong arg placeholder
6 years ago
Chocobo1
364a837dbd
Revise comments about C++14
6 years ago
Chocobo1
6d29a3af60
Make use of std algorithms
6 years ago
Chocobo1
f789df7edf
Add license header
6 years ago
Vladimir Golovnev (Glassez)
61925f74fd
Force recheck multiple torrents one by one
...
Closes #9120 .
6 years ago
Chocobo1
814eef1e56
Fix wrong arg placehoder
6 years ago
Chocobo1
5cdb3b6a2d
Load WebUI certificate & key from file path
...
This allow users to update certificate & key more easily, i.e. without the need to import them
into qbt.
Closes #6675 , #7547 , #8315 , #8564 .
6 years ago
Chocobo1
48d358872f
Cleanup header inclusion
6 years ago
Vladimir Golovnev (Glassez)
b0446380c6
Separate URL components before percent-decoding
...
Allow special characters in query string parameters.
Closes #9116 .
6 years ago
sledgehammer999
4a414d50f1
Remove leftover tracker authentication code
6 years ago
Chocobo1
04227f5a41
Add QBT_APP_64BIT define
...
Now we use QT_POINTER_SIZE to detect CPU bitness, it has the advantage of applicable to all CPU
architectures not limiting to x86 arch.
6 years ago
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10
6 years ago
Chocobo1
b7627db98c
Remove unused headers
6 years ago
Chocobo1
06e82d10f6
Replace boost::function with std::function
6 years ago
Chocobo1
d013e0922d
Use the proper Qt type
6 years ago
Chocobo1
2b903fc3d1
Move Utils::Misc::isUrl() function
...
All usage of this function gets to call Net::DownloadManager eventually.
6 years ago
Chocobo1
6759446639
Cleanup code
...
Also remove redundant code, it is already handled correctly in subsequent function calls.
6 years ago
Chocobo1
19d6de795c
Drop support for "BC Link" format
...
The format is marked obsolete on 2009.12.28 and has been replaced by magnet links.
http://wiki.bitcomet.com/inside_bitcomet#bc_link_format_obsoleted_as_of_v117
https://www.bitcomet.com/en/changelog
6 years ago
sledgehammer999
1fff760722
Drop upgrade code
6 years ago
Chocobo1
a5c53ff756
Simplify InfoHash, TrackerEntry class internals
6 years ago
Chocobo1
2a84345835
Mark constructors as explicit
6 years ago
thalieht
d9416299f4
Fix regression on resuming torrents without metadata
6 years ago
Stephen Dawkins
70435ab5bf
Keep track of REPACK/PROPER downloads
...
When using the smart episode filter, if the episode contains REPACK and/or
PROPER, these should be stored to prevent it from redownloading a duplicate
episodes.
Closes #9898 .
6 years ago
sledgehammer999
63cf216550
Use configured locale only for translating
...
Don't use other aspects of it eg for date formatting. We should depend
on the system locale for all these. The user probably likes it that way,
otherwise he would have changed it.
6 years ago
Thomas Piccirello
7f349732ee
Send numeric status without translation
6 years ago
Thomas Piccirello
c5b8f62780
Set priority for multiple files in one WebAPI request
...
Closes #6259 .
6 years ago
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
6 years ago
Chocobo1
7fd30fa90f
Enforce referrer-policy in WebUI
...
This stops leaking private data to other websites via Referrer header.
6 years ago
Chocobo1
f13bcbd772
Add OpenSSL version to GUI & stackdump
6 years ago
Chocobo1
a137f1493e
Use correct locale to display date
6 years ago
Chocobo1
de437b905b
Fix MSVC C4267 warning
...
The warning was: "warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of
data"
6 years ago
FranciscoPombal
74be5d9030
Add checking_mem_usage option to AdvancedSettings
6 years ago
Vladimir Golovnev (Glassez)
89deccd9b5
Show error message when Session failed to start
6 years ago
Chocobo1
2c8890bd06
Apply PBKDF2 to GUI lock
6 years ago
Chocobo1
05d6a29416
Apply PBKDF2 when storing passwords
6 years ago
Chocobo1
ede9b1a7c4
Fix typo
6 years ago