sledgehammer999
fd30bf7423
Notify users on 1st time close/minimize to tray
6 years ago
Chocobo1
8e1f3ac016
Make ProgramUpdater upgrade to 64-bit qbt when running on 64-bit Windows
6 years ago
Lukas Greib
48cd993c92
Inhibit sleep regardless of activity
...
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.
Closes #1696 , #4592 , #4655 , #7019 , #7159 , #7452
6 years ago
Chocobo1
9612a75faa
Put temporary files in qbt own temp folder
6 years ago
Chocobo1
e1727c9a6a
Refactor GuiIconProvider::generateDifferentSizes()
6 years ago
Chocobo1
9df67b52b8
Add const to function signature
6 years ago
thalieht
c55daeec38
Set "enter" as shortcut to download the selected torrents in search job
6 years ago
Chocobo1
a70219eea0
Move member variable initialization
...
Move the initialization from constructor body to member initializer
list.
Remove superfluous initializer.
6 years ago
Chocobo1
56766dc08b
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
Chocobo1
cb687ba3bd
Add options in AddNewTorrentDialog
...
The new checkboxes are: "Download in sequential order", "Download first
and last pieces first".
6 years ago
Chocobo1
1b406c97da
Revise dialog messages
...
Using critical dialog is a bit too strong as qbt didn't actually run
into something that fails, so downgrade to warning dialog.
6 years ago
thalieht
ae03ecea21
Add hotkey for toggling focus between the search LineEdits
6 years ago
thalieht
2e9c61c452
Limit the scope of find torrents hotkey in MainWindow
...
To TransferListWidget because it will interfere with the SearchWidget's focus hotkey
6 years ago
thalieht
df9aa6dc36
Add a name filter for search results
...
Closes #8226
6 years ago
Vladimir Golovnev (Glassez)
088273a767
Download favicon using appropriate protocol
...
Some trackers use UDP protocol but we can't download its favicon
using UDP. Just try to download it using HTTP.
6 years ago
Thomas Piccirello
b2ffd6e03b
Instantiate SearchPluginManager with other application components
6 years ago
sledgehammer999
de8050701d
Revert email address changes in copyright notices
6 years ago
tjjh89017
670a8e27af
Add async io threads option to AdvancedSettings
7 years ago
Chocobo1
d61435e4bf
Allow save resume interval to be disabled
...
Also raise the allowable upper limit
7 years ago
Chocobo1
a0348c46fc
Remove unnecessary resources inclusion
7 years ago
thalieht
456270bbb1
Delete several unused #include
7 years ago
thalieht
eb508d67ef
Fix coding style
7 years ago
thalieht
6d4434ad66
Convert the names used in ui and c++ files from snake_case to camelCase
7 years ago
Vladimir Golovnev (Glassez)
112a9bcfa2
Use new DownloadManager interface
7 years ago
Chocobo1
6bf3f1d0b8
Add checkbox for recursive download dialog
...
Also group similar options together.
7 years ago
Chocobo1
78d7cc0570
Work around crash when procesing recursive download
...
The messagebox is modal and exec() it makes it generates a new local
event loop, however the new local event loop will continue to process
libtorrent events (in Session::readAlerts()), at the time exec()
returns, the original libt::alert pointers are lost and resume
processing alerts will cause the crash.
One solution is to make the messagebox use show() and avoid exec().
Closes #9086 .
7 years ago
Chocobo1
3e6c8a05dd
Reduce queries to python version
...
Instead of doing at least 2 queries for python infos, now requires only
1 query (in ideal condition), and the result is cached.
7 years ago
Chocobo1
51e82762c5
Move related functions to Utils::Python
7 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
Chocobo1
0073f2c8ab
Replace deprecated function on macOS
...
Closes #8993 .
7 years ago
Chocobo1
5ddbf9bba9
Replace post-increment with pre-increment
...
And post-decrement with pre-decrement.
7 years ago
Chocobo1
96819f3798
Disable certain mouse wheel events in Options dialog
...
The mouse wheel events for QComboBox & QSpinBox widgets in Options
dialog are filtered out.
7 years ago
Eugene Shalygin
fa770871e9
Refactor CMake build scripts
...
1. Use FeatureSummary module to show configuration results.
2. Invert option()/find_package() relationship: instead of
calling find_package(... REQUIRED) when option is set, rely on optional
find package call and PackageName_FOUND variable.
3. Refactor handling options that result in simple preprocessor defines
(actually copy the snippet from libtorrent) so that everything is done
in a single function call.
4. Populate target properties in order to get rid of
include_directories() calls.
7 years ago
Chocobo1
0b050e2a30
Remove duplicate private sections in class
...
And group related methods & variables together.
7 years ago
thalieht
356d6a6589
Fix coding style
7 years ago
Chocobo1
09f759355f
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
7 years ago
Chocobo1
c22e6b4502
Cleanup header include order
...
Add missing header.
Cleanup license.
7 years ago
Chocobo1
68c6ddf05d
Add changelog link in program updater
...
Closes #8997 .
7 years ago
Chocobo1
ee202b721d
Refactor function
7 years ago
Chocobo1
727800ef2c
Improve DownloadFromURL behavior
...
URL should be considered case sensitive.
7 years ago
Chocobo1
34ed0cba08
Move DownloadFromURLDialog to its own file
...
Simplify code, no functionality changes.
Remove debug messages.
Capitalize dialog name.
Capitalize class name.
Update license text.
7 years ago
Chocobo1
817b7bb4f2
Add missing header include
7 years ago
Chocobo1
4751b79f42
Initialize variables properly
...
The warnings are emitted when compiling on msys2, mingw
The warning was:
gui/torrentcontentmodel.cpp:135:33: warning: missing initializer for
member '_SHFILEINFOW::iIcon' [-Wmissing-field-initializers]
..\..\qBittorrent\src\app\stacktrace_win.h:141:30: warning: missing
initializer for member '_IMAGEHLP_LINE64::Key'
[-Wmissing-field-initializers]
7 years ago
Chocobo1
9eeef0be97
Add option to control CSRF protection
...
Some users are using WebUI with simple port-forwarding from their router,
providing an option to control the protection will save them from setting up an
non-trival web proxy.
Closes #7274 .
7 years ago
Chocobo1
bad4d94f77
Add option to control WebUI clickjacking protection
...
Some users actually want embedding WebUI into their custom build iframe.
Closes #7370 .
7 years ago
sledgehammer999
b4c1a949cc
Fix Stats dialog size
...
Partially reverts e31ec20ec4
.
Closes #8870 .
7 years ago
Vladimir Golovnev (Glassez)
3be945a401
Add last used save path to the front of history
7 years ago
Chocobo1
eb72b9ca7d
Simplify the saving & loading of a setting
...
Remove excessive usage of constexpr.
7 years ago