Chocobo1
c6b772da11
Improve function interface
...
`SettingsStorage` methods require `QString` so make `SettingValue` follow it.
`Path::operator+` can use `QStringView` to accept wider audience.
3 years ago
Chocobo1
4ca6de2b54
Revise string literal usage
...
PR #16703 .
3 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
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
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
4 years ago
Vladimir Golovnev (Glassez)
d4a51979bb
Extract enum serialization/parsing functions
4 years ago
FranciscoPombal
6152b83405
Use #pragma once instead of include guards
4 years ago
Chocobo1
daf52a2610
Avoid double lookups
5 years ago
Chocobo1
c75500670d
Use forwarding reference when passing function objects
...
So instead of passing every function objects by value (a copy is made), now function objects
will be handled properly by reference (for lvalues) or by value (for rvalues).
6 years ago
Chocobo1
e288de7ec1
Forward declare as much as possible
6 years ago
Chocobo1
44e4a5b13a
Avoid performance penalty from type erasure
...
On average the affected code path is 0.1% faster and the result binary
is 10 KB smaller.
6 years ago
thalieht
20ca90800d
Fix coding style
7 years ago
Eugene Shalygin
ff710ebd2c
fixup! Implement enum support in CachedSettingValue
7 years ago
Eugene Shalygin
a22d2f0139
Implement enum support in CachedSettingValue
...
Enums are stored as strings, that improves configuration file
readability and maintainability. String values are obtained via
QMetaEnum, and since with Qt 5.5 QMetaEnum::fromType() includes a
static_assert, this has to be a safe method.
7 years ago
Chocobo1
3fb8ff281f
Tweak CachedSettingValue
...
* Add another constructor to save a call to proxyFunc when its not needed
note that this call is a virtual function call
* Pass in proxyFunc by const reference
* Move get methods together
8 years ago
Vladimir Golovnev (Glassez)
b2cb473b63
Don't use Preferences in BitTorrent::Session
9 years ago
Vladimir Golovnev (Glassez)
c982813acb
Create basic cookies management dialog
9 years ago
Vladimir Golovnev (Glassez)
ac365c5efb
Fix coding style (Issue #2192 ).
9 years ago
Vladimir Golovnev (Glassez)
8754fd5646
Move Search-related files into Gui.
9 years ago
Vladimir Golovnev (Glassez)
3797cc767f
Fix search-related file/class names.
9 years ago
sledgehammer999
1bf7e3cafa
Move the searchengine code back into its original place.
10 years ago
Vladimir Golovnev (Glassez)
ff9a281b72
Change project directory structure.
...
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
10 years ago
Christophe Dumez
f3448125c3
Coding style clean up
13 years ago
Christophe Dumez
7ec842929a
Moved search code into a subfolder
14 years ago
Christophe Dumez
843168bb62
- Move ui files to their own folder
15 years ago
Christophe Dumez
7dfdebd593
- License fix due to problems with OpenSSL
16 years ago
Christophe Dumez
b7ea2fb51a
- Allow to download plugins from their url
17 years ago
Christophe Dumez
9f36d521a4
- BUGFIX: Fixed deprecation warning with latest libtorrent svn
...
- FEATURE: Redesigned torrent creation dialog
- FEATURE: Allow to set piece size when creating a torrent
- improved new options dialog a little
17 years ago
Christophe Dumez
ce5baa93b7
- Ok, includes look fine now
18 years ago
Christophe Dumez
8df61db644
- Rollback to GNU GPLv2 because Qt4 is not compatible with GPLv3 :(
18 years ago
Christophe Dumez
54f9375b32
- Update to GNU GPL v3
18 years ago
Christophe Dumez
ff0dd88ee1
- Improved a lot the torrent creation module
18 years ago
Christophe Dumez
969a02b93e
- Moved everything to trunk to create a stable branch
18 years ago