Chocobo1
ddec247d4f
Migrate away from deprecated Qt functions
...
`QString QDateTime::toString(Qt::DateFormat format = Qt::TextDate)` will
be removed in Qt6.
2021-01-17 22:50:37 +02:00
Chocobo1
d431ecbe00
Disable clang "range loop analysis" compiler warning
...
See: https://github.com/qbittorrent/qBittorrent/pull/13915#issuecomment-739449084
2021-01-17 22:50:36 +02:00
Chocobo1
be929ed88c
Set source character sets to UTF-8
...
This suppress warning C4819.
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-160
2021-01-17 22:50:35 +02:00
Chocobo1
2e1f9bf8be
Add script for generating project tarball
2021-01-17 22:50:20 +02:00
lbilli
7fff393b0e
On Linux use legacy 'data' directory only as a fallback
2021-01-17 22:47:13 +02:00
sledgehammer999
a669ec49ad
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.
2021-01-17 22:47:11 +02:00
Vladimir Golovnev (Glassez)
1880082017
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.
2021-01-17 22:47:00 +02:00
sledgehammer999
0cbd15890a
Merge pull request #14170 from sledgehammer999/use_cxx1z
...
Use c++1z to enable c++17
2021-01-07 13:40:05 +02:00
sledgehammer999
7fe7c6c277
Use c++1z to enable c++17
...
It increases compatibility with older qt versions.
2021-01-06 21:54:46 +02:00
jagannatharjun
e4c177fec7
Correctly set items flags in TorrentContentModel
...
Only set editable flag on item's where editing is handled in the delegate
closes #13515
2021-01-06 21:36:40 +02:00
Chocobo1
77f4e6c2cf
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.
2021-01-06 21:36:39 +02:00
sledgehammer999
4563b11a2e
Bump copyright year
2021-01-06 21:36:37 +02:00
Vladimir Golovnev (Glassez)
cb477f9a29
QMake: Raise minimal macOS target version
2021-01-06 21:36:35 +02:00
Vladimir Golovnev (Glassez)
58ac07667e
Use single parameter to accept torrent source
2021-01-06 21:36:34 +02:00
Vladimir Golovnev (Glassez)
74bf3af41c
Use std::optional<bool> instead of custom TriStateBool
2021-01-06 21:36:33 +02:00
Vladimir Golovnev (Glassez)
9317071122
Change parseBool() to return optional bool value
2021-01-06 21:36:31 +02:00
Vladimir Golovnev (Glassez)
dab32f2090
Use std::optional instead of boost::optional
2021-01-06 21:36:29 +02:00
Vladimir Golovnev (Glassez)
dc464d4d41
Use nested namespaces definition syntax
2021-01-06 21:36:28 +02:00
Chocobo1
e7e3f6a9db
Don't use deprecated locale name
2021-01-06 21:36:27 +02:00
Chocobo1
5a1c4e79b3
Revise store/load state operations of Options Dialog
2021-01-06 21:36:26 +02:00
Chocobo1
c6d9ab6810
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".
2021-01-06 21:36:24 +02:00
Chocobo1
d7afad835e
Revise SettingsStorage store/load value interface
2021-01-06 21:36:22 +02:00
Chocobo1
8608d7b9da
Improve load data behavior of SettingsStorage class
...
Previously it only handle the case of failed lookup, now it discard
invalid values when deserializing the database from disk.
Also checks whether the data is convertible to the intended type.
2021-01-06 21:36:22 +02:00
Vladimir Golovnev (Glassez)
72970602af
Reload "missing files" torrent instead of re-checking
2021-01-06 21:36:20 +02:00
Vladimir Golovnev (Glassez)
86579ca87d
Extract torrent reloading logic into separate method
2021-01-06 21:36:19 +02:00
Vladimir Golovnev (Glassez)
e55582124c
Drop notification about move storage failed
2021-01-06 21:36:17 +02:00
Vladimir Golovnev (Glassez)
bd8b06c607
Drop notification about move storage finished
2021-01-06 21:36:16 +02:00
Chocobo1
230fedf069
Move parsing of TriStateBool to a static class function
2021-01-06 21:36:14 +02:00
thalieht
7bea10f507
Update "Keep top-level folder" in WebUI options
2021-01-06 21:36:13 +02:00
Chocobo1
7cde969b90
Exclude configure script for "trailing newlines" checking
2021-01-06 21:36:12 +02:00
Chocobo1
a3b8f6880b
Migrate away from deprecated AC_OUTPUT
macro
...
The `AC_OUTPUT` has two versions, the deprecated one takes arguments and the other not. Check the
following link for equivalent replacement:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html#Obsolete-Macros
Also regenerate the configure script with the latest Autoconf 2.70.
2021-01-06 21:35:33 +02:00
Chocobo1
ad79fc8d43
Migrate away from deprecated std::iterator
class
2021-01-06 21:31:51 +02:00
Chocobo1
fb4bf94a56
Use function-pointer based signal-slot connection
2021-01-06 21:31:50 +02:00
Chocobo1
1c184944fd
Remove unused define
2021-01-06 21:31:49 +02:00
Chocobo1
ec420f6617
Bump project requirement to C++17
2021-01-06 21:31:47 +02:00
Chocobo1
d908227619
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.
2021-01-06 21:31:45 +02:00
sledgehammer999
ac8167410b
Add new languages
...
* Azerbaijani
* Estonian
2021-01-06 21:31:44 +02:00
Vladimir Golovnev (Glassez)
26ce187b30
Don't call non-existent elements
...
Fixed a regression where the script tries to access elements that no longer
exist on the page, because they were replaced with others by a previous change.
2021-01-06 21:31:43 +02:00
Vladimir Golovnev (Glassez)
2c4e04e537
Don't call non-existent elements
...
Fixed a regression where the script tries to access elements that no longer
exist on the page, because they were replaced with others by a previous change.
2021-01-06 21:31:42 +02:00
Vladimir Golovnev (Glassez)
b418f65c2f
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.
2021-01-06 21:31:41 +02:00
Vladimir Golovnev (Glassez)
dd3a8d5d56
Fix folder name extraction functions
...
It should return empty string if there is no parent folder.
2021-01-06 21:31:39 +02:00
Chocobo1
49e54a55df
Capitalize locale names
2021-01-06 21:31:38 +02:00
thalieht
8cd0a7ae85
Group several torrent options into one dialog
...
Speed limits, share limits and the new options to disable DHT, PeX, LSD per torrent
2021-01-06 21:31:36 +02:00
thalieht
442f0df613
Save fastresume when setting torrent speed limits
2021-01-06 21:31:35 +02:00
thalieht
f9ee5bdb59
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
2021-01-06 21:31:33 +02:00
thalieht
b9602cc6ab
Convert existing speed dialog to global + alt global limits only
2021-01-06 21:31:25 +02:00
sledgehammer999
abb854a1e6
Bump to 4.3.2
2020-12-27 13:42:41 +02:00
sledgehammer999
4ee17a73d0
Update Changelog
2020-12-27 13:42:40 +02:00
sledgehammer999
faf6e82274
Sync translations from Transifex and run lupdate
2020-12-26 21:18:40 +02:00
Vladimir Golovnev (Glassez)
c08ec1ac5e
Allow to add root folder to torrent content
2020-12-26 20:27:34 +02:00