Vladimir Golovnev
15f1fdddd9
Merge pull request #14166 from glassez/cleanup-class-names
...
Remove redundant suffix from TorrentHandle class name
4 years ago
Chocobo1
24fa9e32b0
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
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
Vladimir Golovnev
35731b96dc
Merge pull request #14157 from jagannatharjun/content-search
...
Correctly set items flags in TorrentContentModel
4 years ago
Mike Tzou
b79a1b5755
Merge pull request #14145 from Chocobo1/define
...
Generate version header when configuring project
4 years ago
sledgehammer999
1561f6f09f
Merge pull request #14156 from sledgehammer999/copyright_2021
...
Bump copyright year
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
8771e1a339
Merge pull request #14138 from glassez/add-torrent
...
Use single parameter to accept torrent source
4 years ago
Vladimir Golovnev
7b657c942d
Merge pull request #14137 from glassez/std-optional
...
Use std::optional for optional parameters
4 years ago
Vladimir Golovnev (Glassez)
531ae501ad
Use std::optional<bool> instead of custom TriStateBool
4 years ago
Vladimir Golovnev (Glassez)
d0cac421bb
Change parseBool() to return optional bool value
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
Vladimir Golovnev (Glassez)
4d349f5f81
QMake: Raise minimal macOS target version
4 years ago
Vladimir Golovnev
08e0349ca3
Merge pull request #14140 from glassez/namespace
...
Use nested namespaces definition syntax
4 years ago
Vladimir Golovnev (Glassez)
ee5fe424e8
Use single parameter to accept torrent source
4 years ago
Vladimir Golovnev (Glassez)
552ff0489d
Use nested namespaces definition syntax
4 years ago
Mike Tzou
04a9ce6e81
Merge pull request #14074 from Chocobo1/dialog_size
...
Remember dialog sizes
4 years ago
Mike Tzou
586bdc0567
Merge pull request #14121 from Chocobo1/settingsStorage
...
Improve load data behavior of SettingsStorage class
4 years ago
Vladimir Golovnev
4bb3d13921
Merge pull request #14123 from glassez/restart-missing-files
...
Don't re-check "missing files" torrents when re-start
4 years ago
Vladimir Golovnev
7c02630186
Merge pull request #14116 from glassez/drop-move-notify
...
Drop notification about move storage finished
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
Mike Tzou
d21fdb7546
Merge pull request #14118 from Chocobo1/fromstring
...
Move parsing of TriStateBool to a static class function
4 years ago
Chocobo1
be5af2796d
Revise SettingsStorage store/load value interface
4 years ago
Chocobo1
b1020c599f
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.
4 years ago
Vladimir Golovnev (Glassez)
b2199202ab
Reload "missing files" torrent instead of re-checking
4 years ago
Vladimir Golovnev (Glassez)
06105072f9
Extract torrent reloading logic into separate method
4 years ago
Vladimir Golovnev
b676ca7d96
Merge pull request #14108 from thalieht/webui-options-content-layout
...
Update "Keep top-level folder" in WebUI options
4 years ago
sledgehammer999
90f355cfaf
Merge pull request #14094 from Chocobo1/autotools
...
Migrate away from deprecated `AC_OUTPUT` macro
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
Chocobo1
e022c371ff
Move parsing of TriStateBool to a static class function
4 years ago
Chocobo1
50a2cc9917
Exclude configure script for "trailing newlines" checking
4 years ago
Chocobo1
5209b0172b
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.
4 years ago
Mike Tzou
cfb55d9d77
Merge pull request #14005 from Chocobo1/cpp17
...
Bump project requirement to C++17
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
thalieht
bb698d682c
Update "Keep top-level folder" in WebUI options
4 years ago
Chocobo1
5bd6ff2285
Migrate away from deprecated `std::iterator` class
4 years ago
Chocobo1
e6cf186c23
Use function-pointer based signal-slot connection
4 years ago
Chocobo1
e8b5508463
Remove unused define
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Mike Tzou
a579b4a519
Merge pull request #14085 from Chocobo1/settingvalue
...
Add a thin layer around SettingsStorage class
4 years ago
sledgehammer999
fffa2f097e
Merge pull request #14069 from sledgehammer999/new_languages
...
Add new languages
4 years ago
Vladimir Golovnev
cabb2198b0
Merge pull request #14097 from glassez/fix-webui
...
Don't call non-existent elements (part 2)
4 years ago
Vladimir Golovnev (Glassez)
3af2168b02
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.
4 years ago
Vladimir Golovnev
f1337524f6
Merge pull request #14089 from glassez/fix-webui
...
Don't call non-existent elements
4 years ago
Vladimir Golovnev
348109a1f9
Merge pull request #13995 from glassez/rename-files
...
Improve content file/folder names handling
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