thalieht
9d25405144
Check cheaper conditional first
4 years ago
thalieht
95b452a3e9
Fix regression of not hiding zero values in the peer list
...
Fixup 13aab6e04d
4 years ago
Chocobo1
19d77b0881
Add support for creating v2 torrents
4 years ago
Chocobo1
611f2de11f
Fix wrong capitalization
4 years ago
Chocobo1
744b89c878
Fix image not loading under proxy
...
Closes #13483 .
4 years ago
FranciscoPombal
2c10b3936b
Change some types (uint -> int) in RSS subsystem
4 years ago
FranciscoPombal
deffdbe881
Change some types (uint -> int) in Session class
4 years ago
FranciscoPombal
87864531ab
Clean up in Session class
4 years ago
FranciscoPombal
f502f60f7c
Avoid unessary QString allocation
4 years ago
FranciscoPombal
776c1f1546
Always use multi-arg arg() overload when possible
...
Fixed clazy-qstring-arg Clazy warnings
4 years ago
jagannatharjun
e2c0f00adb
Correctly fill whole width of graph
4 years ago
Vladimir Golovnev (Glassez)
3d0543c444
Fix static build with Qt < 5.14
4 years ago
Vladimir Golovnev (Glassez)
aef8f4f465
Set target property before it is used
4 years ago
jagannatharjun
fbe484a615
Use toned green color for downloading pieces in Pieces bar
4 years ago
Chocobo1
ef9765cea1
Remove meaningless const on pointers
...
This only apply to signals.
4 years ago
Chocobo1
2e37ea608c
Migrate away from obsoleted functions
4 years ago
Chocobo1
ac3ab2432a
Remove redundant namespace prefix
4 years ago
Chocobo1
f487d32594
Fix initialization order
4 years ago
Silver Zachara
97df5667e7
Use fully-qualified type names
...
Fixed fully-qualified-moc-types clazy warnings
4 years ago
Chocobo1
da2a26fa01
Use silent flag when invoking lrelease via cmake
4 years ago
NotTsunami
2eb3ff7f06
Allow users to configure no_connect_privileged_ports
...
Don't hardcode lt::settings_pack::no_connect_privileged_ports. We
support the peer alert for it already, so connections blocked by this
setting should be logged.
4 years ago
NotTsunami
8d64d38914
Prevent peers from being lost when banning
...
The selected rows aren't queried until after a user confirms they
would like to ban the selected peers. If a peer disconnects before
the confirmation is pressed, they will not be included in the
selection. This commit makes sure the selected rows are stored before
a selection is made to prevent the loss of any peers.
Closes #13385 .
4 years ago
FranciscoPombal
2534909d3b
CMake: fix linking against OpenSSL
...
This should have been there from the start,
but for some reason, the lack of it didn't cause any issued
for many systems.
4 years ago
Vladimir Golovnev (Glassez)
39d32063c1
Implement disk IO thread wrapper
4 years ago
Vladimir Golovnev (Glassez)
ff36356be0
Improve sequentialDownload/firstLastPiecePriority handling
...
Always store firstLastPiecePriority in resume data.
Don't recalculate firstLastPiecePriority value each time it is accessed.
Always store sequentialDownload in resume data as native libtorrent field.
4 years ago
Chocobo1
0539c816ae
Set compression rate for rcc targets
...
This follows our current setting in src.pro.
4 years ago
Chocobo1
6880e03145
Remove compile requirement for boost::system
...
boost::system is not a dependency for our project.
4 years ago
FranciscoPombal
46123b9989
CMake: overhaul and improve scripts
...
- Bump minimum required version and
make use of more modern language features
- Rely more on target_...() commands to establish dependency
relationships between targets rather than directory property commands
- Improve libtorrent package discovery
- Enable and handle application features more explicitly
- Improve user-facing output
- Fix various compilation issues on Windows (MSVC and MinGW) and macOS
- Improve handling of translations
- Add explanatory comments where relevant
- Make CMake scripts fully independent of qmake files/details
- Remove old functions/macros
4 years ago
Chocobo1
ccdc3b201b
Add missing semicolons
...
Also trim trailing whitespaces along the way.
4 years ago
FranciscoPombal
e0c62827a8
Fix peer blocked message
4 years ago
thalieht
ede1bd0657
Don't use HTML in Linux tray tooltip
...
HTML is no longer allowed in Linux tray tooltip's title, only in its subtext.
Closes #13030
4 years ago
Chocobo1
8cfac795c6
Avoid using libtorrent internal functions
...
`char const* socket_type_name(socket_type_t);` is decided to be not
exported and thus it is internal:
https://github.com/arvidn/libtorrent/pull/4859/files#r452925563
4 years ago
Chocobo1
01603c1f62
Enable faster disk space allocation by default
...
In libtorrent > 2.0, the setting is turned off by default, now we just
re-enable it to preserve the behavior as in earlier versions.
4 years ago
Chocobo1
79eb9a4990
Move signal connections to appropriate place
4 years ago
Chocobo1
0bf76723f1
Move enums into anonymous namespace
4 years ago
Chocobo1
2fd69a21b0
Initialize session with `session_params` class
...
The old way of initialization is deprecated in libtorrent 2.0.
4 years ago
Chocobo1
554eab50bb
Disable deprecated libtorrent settings
4 years ago
Vladimir Golovnev (Glassez)
5727fcb001
Store and use full magnet URI instead of hash
4 years ago
Vladimir Golovnev (Glassez)
20206ec92a
Improve adding torrent using Magnet URI
...
Closes #13249 .
4 years ago
Chocobo1
5677ce1cc9
Use proper uppercase "UTF-8" in charset field
4 years ago
Chocobo1
2f1016494b
Specify UTF-8 charset when forming data from plain text
...
This suppresses a browser warning about unspecified character encoding
of an HTTP response.
4 years ago
an0n666
73b39a8dec
Expose libtorrent max_concurrent_http_announces in advanced settings
4 years ago
Chocobo1
79bb8227d0
Migrate away from deprecated `address::to_string(error_code)`
...
The other overload require users to handle exceptions themselves.
4 years ago
Chocobo1
25a47dadeb
Migrate away from deprecated `address::from_string()`
4 years ago
Chocobo1
2a2ae2a566
Add helper function to convert to string from lt::socket_type_t type
4 years ago
Chocobo1
2c01ac4b75
Improve handling of empty iframe src
...
"about:blank" is suggested in https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
4 years ago
FranciscoPombal
9b43d260a7
Fix GeoDB download in systems with non-C locales
...
Closes #13318 .
4 years ago
Chocobo1
ef6dfa9b54
Fix "Open containing folder" opened the wrong path for folder item
...
Previously that action is the same as "Open" action which is wrong
behavior, it should be opening the parent folder instead. The wrong
behavior is observed on nautilus 3.36.3 and nemo 4.6.5.
4 years ago
Chocobo1
eb1a3e2b29
Fix open path won't work correctly
...
Previously, if double click on the Size number in torrent content tab
the path would be an incorrect value and as such open path functionality
won't work, this commit fixes it.
4 years ago
Chocobo1
307ca61c86
Code clean up
4 years ago