Chocobo1
a2a669572c
Use QSet for tracking server connections
...
We don't need to maintain order between connections so QSet would be more suitable.
6 years ago
Chocobo1
a35b6cc8dd
Remove closed connections immediately
...
Previously it relied on a timer to drop dead connections but that proved to
be too slow when there is an incoming burst of connections.
Fixes #10487 .
6 years ago
Chocobo1
41773a5465
Fix unsafe type narrowing
...
Appending the warning below:
qBittorrent\src\base/utils/version.h(176): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
qBittorrent\src\base/utils/version.h(185): note: see reference to function template instantiation 'std::array<T,2> Utils::Version<T,2,2>::parseList<StringsList>(const StringsList &)' being compiled
with
[
T=unsigned short,
StringsList=QList<QByteArray>
]
6 years ago
CzBiX
d254a98662
Always use index.html as default page
6 years ago
thalieht
2f3b7642c2
Show user friendly size in error
6 years ago
thalieht
25102b9c5d
Increase the download size limit to 100 MiB
6 years ago
Chocobo1
4bf4313862
Initialize class variable via constructor
6 years ago
Chocobo1
94aeeed95f
Work around the crash occurred in QTimer
...
See Qt commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qtimer.cpp?id=a623fe8d2a60ff333d5779f877e3b20f0e141ff1
Fixes #9985 .
6 years ago
Chocobo1
d86a984e25
Correctly handle '+' sign in x-www-form-urlencoded data
...
Fixes #10451 .
6 years ago
thalieht
371a090cec
Rename "Prefer encryption" to "Allow encryption"
...
Because it actually prefers non-encryption but allows it if requested.
6 years ago
Chocobo1
1ea61db1fb
Disable downloading tracker favicons by default
...
Workaround for a crash in Qt networking library, source:
https://github.com/qbittorrent/qBittorrent/issues/9667#issuecomment-464445025
Closes #9667 .
6 years ago
Chocobo1
7e99ce6d7f
Document current WebUI browser compatibility
6 years ago
thalieht
3731a3ea65
Make num enter key work the same as return in searchjobwidget
6 years ago
Vladimir Golovnev (Glassez)
ead078a38e
Add preliminary support of libtorrent v1.2
...
libtorrent v1.2 should be built with deprecated features enabled.
6 years ago
sledgehammer999
f403fdb2e8
Remove wrong ifdef
6 years ago
Chocobo1
b7d739ab3f
Fix build error
...
Apparently the function is not available on Windows platforms.
6 years ago
Chocobo1
cb9a160366
Utilize parent pointer appropriately
6 years ago
Chocobo1
874bc84efc
Remove excessive usage of pointer
6 years ago
Chocobo1
a3019f56b0
Clean up code
6 years ago
Chocobo1
04fd6e9d04
Avoid performance penalty when logger is full
6 years ago
thalieht
4c53447d35
Remove the max half-open connections option from GUI
...
Its functionality was deprecated long ago.
6 years ago
thalieht
bcfa62cc76
Rename "#" column to "Tier" in the tracker list
6 years ago
thalieht
cccaca0c01
Center align the section labels in advanced settings
6 years ago
thalieht
3fca49e44d
Add documentation links to some advanced settings
6 years ago
Vladimir Golovnev (Glassez)
4ee6a0ba29
Use Qt-provided HTTP redirection handling
6 years ago
Vladimir Golovnev (Glassez)
746916a963
Use DownloadHandler behind the scenes
6 years ago
knackebrot
c7b451b18f
Allow headless builds on Windows
...
Daemonizing is disabled because no direct equivalent exists in win32.
6 years ago
Chocobo1
f9e10616d0
Improve AdvancedSettings::addRow()
...
1. Add context to connect().
2. Use QLabel in the left table cell, this allows using rich text formatting, such as HTML links.
6 years ago
paolo-sz
1ea7907e09
Add default tooltip "Searching..." on tab creation.
6 years ago
paolo-sz
22835c0350
Avoid crashes on torrent search
...
qbittorrent closes itself without any error message when a search tab
should be notified of a status change: fixed bad pointer variable catch
in lambda code.
6 years ago
Chocobo1
78b9eafed2
Replace deprecated `qt_mac_set_dock_menu()`
6 years ago
Vladimir Golovnev (Glassez)
6cb15706f5
Reduce number of DownloadManager signals
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0
6 years ago
Peter Eszlari
9f250713d2
Linux/Wayland: make window title bar icon work
6 years ago
Chocobo1
3dd969df64
Replace deprecated QSignalMapper class
6 years ago
Chocobo1
c6ae1aa9d9
Replace deprecated QString::null
6 years ago
Chocobo1
6dab93f7fd
Replace deprecated QDesktopWidget class
6 years ago
Chocobo1
c657134344
Replace deprecated QSslSocket::setDefaultCiphers()
6 years ago
Chocobo1
168d3fbdac
Replace deprecated trUtf8()
6 years ago
Chocobo1
c33284fa8c
Add compile flag to show Qt deprecation warnings
6 years ago
thalieht
77aea3c59e
Add const to a few pointer arguments
6 years ago
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
e5dca50025
Convert to use private pointer for ui object
6 years ago
Chocobo1
5c0d9b7eab
Load torrent from data directly
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