Chocobo1
7c1a986e61
Implement stringable interface for `Version` type
3 years ago
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
bbd936fdfa
Don't use explicit memory management
...
And avoid dangling pointers.
3 years ago
Chocobo1
8a708fd97e
Use proper type to represent a path
3 years ago
Chocobo1
6c10aa33e1
Provide interface for serialization to string type
...
PR #16685 .
3 years ago
AbeniMatteo
baa8d2c326
Add option to toggle filters sidebar
...
PR #15409 .
3 years ago
Vladimir Golovnev
ca2be2f499
Prevent Digest32 shared data from being detached
...
Delayed hash string generation should not cause detaching of shared data.
PR #16664 .
3 years ago
Chocobo1
efc04645b7
Use QString literals
...
It covers src/webui and enables `QT_NO_CAST_FROM_ASCII`.
3 years ago
Chocobo1
802ec5a14e
Use QString literals
...
This patch covers src/gui and some leftovers from previous commit.
3 years ago
Vladimir Golovnev (Glassez)
ce42f7c9f1
Properly handle metadata download for an existing torrent
3 years ago
Chocobo1
154ee1a73e
Use hashing helpers provided by Qt6
3 years ago
Chocobo1
b3fb6bd990
Avoid redundant hashing
...
The return type of `std::hash()` is larger (or equal) than what
`qHash()` requires so we can omit hashing it again.
3 years ago
Chocobo1
926d51839f
Update function signature for Qt6 `qHash()`
...
Since the `qhash()` signature has changed in Qt6.
3 years ago
Aleksandr Cupacenko
1b53c590f2
Allow blank lines in multipart form-data input
...
Fixes #11298 .
PR #16579 .
3 years ago
Chocobo1
f0dd7b7dae
Use QString literals
...
This patch covers src/app and src/base folders.
Follow up of ab64ee872b
.
3 years ago
Chocobo1
9f32e6e50d
Fix wrong parentheses
...
Fix up 294ea17222
.
3 years ago
An0n
801cfdbc24
Allow setting the number of maximum active checking torrents
...
This is to allow re-checking of multiple torrents simultaneously. This will benefit users who
have multiple disks or SSD.
Closes #15296 .
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
3 years ago
Prince Gupta
ad6e2b4b94
Create hash string of Digest on demand
...
most of the time hash string is not needed and InfoHash is often used as
temporaries for torrent searching in handling of torrent alerts. This
improves the creation time of Infohash
3 years ago
Prince Gupta
30319e51e5
Improve Status Filter
...
replaces quadratic update operation with linear
3 years ago
Chocobo1
294ea17222
Provide upstream documentation link for performance warning
3 years ago
Chocobo1
fad954df18
Add option for enable/disable performance warnings from libtorrent
3 years ago
Prince Gupta
cd9ed1706d
Improve torrent event handling in TrackerFiltersList
3 years ago
Vladimir Golovnev (Glassez)
cbc0ef860b
Prevent loading resume data with inconsistent ID
3 years ago
Chocobo1
ab64ee872b
Use QString literals
...
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually.
PR #16561 .
3 years ago
Chocobo1
ac97ed685f
Add tuning options related to performance warnings
...
Related: #16462 .
PR #16538 .
3 years ago
Vladimir Golovnev (Glassez)
c5ff9b353c
Allow to disable Automatic mode when "temp" path changed
3 years ago
Vladimir Golovnev (Glassez)
04c1988665
Correctly handle changing of global save path
3 years ago
Chocobo1
14fc3dc9b3
Suppress conversion warning
3 years ago
Chocobo1
5cb295341c
Convert to QString literals
3 years ago
Chocobo1
b854c3b00e
Unify log messages format
...
This improves readability and may allow users to match log message with
better accuracy.
Now log message is consisted of 2 parts:
The first part is a short sentence describing the event. It should avoid
writing out the specifics of the event as it will be described in the
next part of the message. The sentence should use correct tense of the
event.
The second part consist of `Name: Value` pairs which will provide
sufficient info for the event.
Note that none of the message parts is mandatory, one of them can be
omitted when the resulting log message is clear enough.
PR #16437 .
3 years ago
Vladimir Golovnev
2d3ff6a97c
Use std::optional to represent "any value" filters
...
PR #16460 .
3 years ago
Vladimir Golovnev (Glassez)
1e45b7f50b
Add fast way of removing suggested extension
3 years ago
Vladimir Golovnev (Glassez)
293479a1f2
Improve performance of checking path extension
3 years ago
Chocobo1
852a14992c
Add literal operator to efficiently construct `QString` in Qt5
...
PR #16448 .
3 years ago
Vladimir Golovnev
b3f5bf1583
Try to recover missing categories
...
PR #16430 .
3 years ago
Vladimir Golovnev
c3a64b3d6c
Cache file priorities
...
Speedup access to file priorities by avoiding extra blocking call to libtorrent thread.
Improve the Torrent interface by hiding the asynchrony of file priority changes behind the scenes.
PR #16425 .
3 years ago
Chocobo1
70eed10a34
Fix wrong size
...
Fix up cf96e6c642
.
3 years ago
Chocobo1
56c3983885
Improve `Path` constructor performance
3 years ago
Vladimir Golovnev
78eaa49cd6
Correctly register PathList alias
...
PR #16411 .
3 years ago
Vladimir Golovnev
4a7f1116ac
Improve tracker status handling
...
PR #16383 .
3 years ago
Chocobo1
610009fb7f
Make Path::operator== a free function
3 years ago
Chocobo1
4cb075b168
Use "table look-up" method for reversing byte
...
This method takes constant time and is less prone to (CPU) pipeline stalling due to less
computation. Also it is slightly faster than the previous method.
3 years ago
Chocobo1
cf96e6c642
Use QVarLengthArray whenever applicable
3 years ago
Vladimir Golovnev
dd1bd8ad10
Implement class for handling filesystem paths
...
PR #15915 .
3 years ago
Vladimir Golovnev
facfa26eed
Allow to use Category paths in "Manual" mode
...
If the option is enabled any relative save path will be resolved against an appropriate Category path instead of Global default one.
PR #16330 .
3 years ago
Prince Gupta
0012a3ede7
Optimize completed files handling
...
PR #16329 .
Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
3 years ago
Prince Gupta
414361a3db
Improve tracker error handling
...
* Improve tracker error handling
* Fix typo in function name
PR #16298 .
3 years ago
Prince Gupta
1d4071d6d8
Don't rename file because of difference in path separator
...
PR #16317 .
3 years ago
Vladimir Golovnev
ca9e5e8531
Change torrent moving state when it is cancelled
...
PR #16267 .
3 years ago