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
LoopsGod
7efee615ad
Add CTRL + I shortcut to actionStatistics
...
Mapped the CTRL + I shortcut to open statistics in GUI.
4 years ago
jagannatharjun
d73757bf6e
Use palette colors in pieces bars
4 years ago
Sophist
4c37c229d9
Expose LibTorrent peer_turnover settings
...
This PR exposes the LibTorrent Peer Turnover Settings in qBT Advanced Settings in order to allow users to adjust how frequently slow and uninteresting connections are closed to allow potentially better / faster connections to be made.
The default settings are to turnover peers when the number of connections is at least 90% of allowed global or per torrent connections, and to disconnect the least attractive 4% of these connections every 5 minutes.
See https://www.libtorrent.org/reference-Settings.html#peer_turnover
4 years ago
Chocobo1
8869dc543f
Fix seeding time checkbox placement in WebUI
4 years ago
Chocobo1
ed2756b885
Convert to the proper type
4 years ago
Chocobo1
f7f0a27d76
Clean up coding style
4 years ago
Chocobo1
b2f951a269
Remove duplicate code
4 years ago
ngosang
71be4f03be
Update minimum Python version to 3.5.0
4 years ago
Ernesto Castellotti
5c4dfbec39
Add a scroll area to torrent creator dialog
...
As to prevent the dialog from going out-of-screen on a small monitor.
4 years ago
Sepro
e07c7d57d2
Change api requests in RSS WebUI to relative paths
4 years ago
jagannatharjun
01849297ef
Fix incorrect foreground for read articles with custom theme
4 years ago
jagannatharjun
a63ca5f0c4
Allow changing RSS article list colors from custom UI theme
...
Use ArticleListWidget own palette to obtain default colors
4 years ago
Vladimir Golovnev (Glassez)
b77568839d
Remove legacy/unused torrent property
4 years ago
Vladimir Golovnev (Glassez)
dc3d23c045
Improve torrent loading code
4 years ago
Vladimir Golovnev (Glassez)
eb99bfe20f
Remove deprecated and unused code
4 years ago
jagannatharjun
f1a07d6c43
Use palette colors in RSS feeds
4 years ago
an0n666
dc211f69ac
Read piece for torrents added with skip hash only for older libtorrent
4 years ago
jagannatharjun
5b4a940842
Load custom theme before initializing main window
...
Improves debug build startup time with custom themes
4 years ago
jagannatharjun
b323c4e6be
Set stylesheet of target widget rather then defining global stylesheet
4 years ago
Chocobo1
b092fc9abb
Disable edit action
4 years ago
jagannatharjun
f1edda2c81
Only enqueue session refresh request once previous request is completed
...
Fixes impossible speed in graph
4 years ago
Vladimir Golovnev (Glassez)
bac7fbc68e
Notify user when torrent moving finished
4 years ago