Chocobo1
28d31b9d5b
Add ability to prioritize selected items by shown file order
...
Closes #2834 .
4 years ago
Chocobo1
3985d58d3c
Move menu actions out of .ui files
...
This is to move related code together.
4 years ago
Chocobo1
cede5ac9d2
Migrate away from deprecated Qt functions
...
`QString QDateTime::toString(Qt::DateFormat format = Qt::TextDate)` will
be removed in Qt6.
4 years ago
sledgehammer999
9b67e988db
Correct copyright attribution
...
These files were created and edited in their entirety in commit 8db4bde15d
As far as I can tell they were almost entirety rewritten from their original state.
The old copyright attribution is restored and the new author is added too.
4 years ago
Vladimir Golovnev (Glassez)
0b4fef19f6
Remove redundant suffix from TorrentHandle class
...
Originally, it was just a wrapper for libtorrent::torrent_handle class, so it mimicked its name.
It was then transformed into a more complex aggregate, but the name was retained (just by inertia).
Unlike libtorrent::torrent_handle class in whose name "handle" means the pattern used,
it does not matter for qBittorrent classes and just eats up space in the source code.
4 years ago
jagannatharjun
36d7fce909
Correctly set items flags in TorrentContentModel
...
Only set editable flag on item's where editing is handled in the delegate
closes #13515
4 years ago
sledgehammer999
b8d6058b28
Bump copyright year
4 years ago
Vladimir Golovnev (Glassez)
531ae501ad
Use std::optional<bool> instead of custom TriStateBool
4 years ago
Vladimir Golovnev (Glassez)
4429a16ca8
Use std::optional instead of boost::optional
4 years ago
Chocobo1
c669401767
Generate version header when configuring project
...
The basic idea is we create a version header template at
"src/base/version.h.in" and the build systems are expected to replace
strings that are enclosed with @ symbols and generate
"src/base/version.h" for other source files to consume/include.
4 years ago
Chocobo1
ff63ad8b97
Don't use deprecated locale name
4 years ago
Chocobo1
bdf1fb6db8
Revise store/load state operations of Options Dialog
4 years ago
Chocobo1
be5af2796d
Revise SettingsStorage store/load value interface
4 years ago
Chocobo1
757ab3dc92
Remember dialog sizes
...
This applies to "About Dialog", "Ban List Options Dialog", "Download From URL Dialog", "IP Subnet
Whitelist Options Dialog", "Search Plugin Select Dialog", "Search Plugin Source Dialog",
"Statistics Dialog", "Speed Limit Dialog" and "Torrent Options Dialog".
Also unifies storing the dialog size under the key "Size".
4 years ago
Vladimir Golovnev (Glassez)
df2bbe129d
Drop notification about move storage failed
4 years ago
Vladimir Golovnev (Glassez)
f7cae610a4
Drop notification about move storage finished
4 years ago
Chocobo1
e6cf186c23
Use function-pointer based signal-slot connection
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Chocobo1
0b0597be0c
Add a thin layer around SettingsStorage class
...
This new layer would be handy for saving GUI widget states as they don't
need the value cached and they store/load rarely.
4 years ago
sledgehammer999
ffebe82586
Add new languages
...
* Azerbaijani
* Estonian
4 years ago
Vladimir Golovnev (Glassez)
4453e7fcdd
Improve content file/folder names handling
...
Move files/folders renaming functions to core classes.
Query file/folder for renaming by its current path.
Add ability to rename content folders from WebAPI/WebUI.
4 years ago
thalieht
8db4bde15d
Group several torrent options into one dialog
...
Speed limits, share limits and the new options to disable DHT, PeX, LSD per torrent
4 years ago
thalieht
aafa12eb6e
Increase maximum global speed limits from ~1 GiB/s to ~2 GiB/s
...
Closer to the INT_MAX limit of ~2 Billion when multiplied by 1024 for libtorrent
4 years ago
thalieht
76f285f19c
Convert existing speed dialog to global + alt global limits only
4 years ago
Chocobo1
90a1ea4281
Don't use removed stat metric in libtorrent 2.0
...
For now, the metric is not entirely removed due to WebAPI still needs to
access it.
4 years ago
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
4 years ago
Chocobo1
20ae89c2a1
Add support for `allow_idna` option
...
Upstream PR: https://github.com/arvidn/libtorrent/pull/5316
4 years ago
FranciscoPombal
6152b83405
Use #pragma once instead of include guards
4 years ago
Chocobo1
5ba6a5fca1
Add operator< for InfoHash class
4 years ago
Chocobo1
cba8d83b21
Migrate away from deprecated QVariant comparison operators
...
Another idea would be manually define a custom comparison function for
QVariant. However, having the function would be excessive due to its
limited usage count, also note that we are already casting
various QVariant to its underlying type in existing code.
4 years ago
Chocobo1
498da509db
Use Qt provided forward declaration header
4 years ago
Chocobo1
9f0429ca6f
Use the correct type when referring to info hash
4 years ago
Vladimir Golovnev
2f6ed86c78
Drop support for building with libtorrent < 1.2.11
...
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
4 years ago
Vladimir Golovnev (Glassez)
a93b675cb8
Search for existing files in separate thread
4 years ago
Chocobo1
6aa5abf298
Update URL to libtorrent settings
4 years ago
Chocobo1
bd672c4c4e
Move "embedded tracker" options to qbt section
4 years ago
Chocobo1
8d768bda31
Add links to libtorrent documentation
4 years ago
Chocobo1
5110994f81
Lift upper limit of "Max concurrent HTTP announces" option
...
Closes #13800 .
4 years ago
Vladimir Golovnev (Glassez)
0e8feed2f2
Clean up metadata downloading code
4 years ago
Chocobo1
eaaacd71a8
Simplify the calculation of speed graph scale
4 years ago
Chocobo1
75cead9266
Avoid potential rounding to integer issues
4 years ago
Chocobo1
4381739b6d
Fix coding style
4 years ago
Chocobo1
8f2cdcef0e
Fix availability value
...
Closes #13869 .
Fix up 02f19bfbee
.
4 years ago
Chocobo1
13c4581c86
Fix wrong data used for comparison
...
In torrent transfer list we should use underlying data for sorting, not
displayed values.
Closes #13818 .
4 years ago
Thomas De Rocker
9515b40ca5
Fix confusion in date format description ( #1 )
...
* Update automatedrssdownloader.ui
* Update rssDownloader.html (#2 )
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
sledgehammer999
6ec07d744e
Add Latgalian translation
...
Closes #12415
4 years ago
Chocobo1
0be2567d97
Don't use deprecated torrent state "allocating"
...
Closes #13737 .
4 years ago
Vladimir Golovnev (Glassez)
85bd0feee0
Handle torrent "paused" state at application level
4 years ago
Chocobo1
6b4a4517ec
Remove redundant semicolon
4 years ago