Chocobo1
64d8db0c93
Move system signal related functions to its own file
...
And revise "signal safe print" function.
PR #16953 .
3 years ago
summer
7b608fd0c9
Reduce the number of hashing threads by default
...
This seems to be the culprit responsible for slower hash rate in RC2_0 releases.
https://github.com/qbittorrent/qBittorrent/issues/16043#issuecomment-1113774868
PR #16951 .
3 years ago
Chocobo1
19cbffb5e2
Remove artificial max limits from "Torrent Queueing" related options
...
Closes #16936 .
PR #16942 .
3 years ago
Chocobo1
c5ea6b0502
Merge pull request #16941 from Chocobo1/msvc
...
Fix nogui compilation for Windows
3 years ago
Chocobo1
639ed40314
Disable Linux-specific function when compiling for Windows
3 years ago
Chocobo1
c5cbda0bbe
Avoid splitting code over `ifdef` boundary
...
By removing unimportant debug message.
3 years ago
Chocobo1
59e37210f3
Use correct type for comparisons
...
`_write()` actually returns `int` type.
And fix wrong function parameters.
Closes #16938 .
Closes #16944 .
3 years ago
Chocobo1
9351f66c26
Add support for exporting .torrent data to buffer
...
Related: https://github.com/qbittorrent/qBittorrent/pull/16886#discussion_r855882018
PR #16931 .
3 years ago
Vladimir Golovnev
7432c4dbfe
Merge pull request #16922 from glassez/avoid-blocking
...
Avoid some blocking calls to libtorrent
3 years ago
Vladimir Golovnev (Glassez)
1069bea273
Cache native torrent info to avoid extra blocking calls
3 years ago
Vladimir Golovnev (Glassez)
c740d105c9
Don't force update torrent status
3 years ago
Vladimir Golovnev (Glassez)
66a5a9863f
Fill torrent status with initial values when reload
3 years ago
Vladimir Golovnev (Glassez)
7ca47b8916
Delay event processing until status updated
3 years ago
Vladimir Golovnev (Glassez)
bcfa4866fe
Cache indexes of completed files
...
This avoids extra blocking calls to libtorrent.
3 years ago
Amanuense-del-diavolo
de8377ab53
added Dockefile and entrypoint.sh
...
It uses the latest available version for libtorrent and builds both libtorrent and qBittorrent with Cmake + ninja
The legal notice must be accepted trought an environment variable called LEGAL and passed to docker when the container is run, to set it true one must set "LEGAL=accept"
PR #16828 .
3 years ago
xavier2k6
b85b1e8834
Update grunt dependency
...
Use `*` so we don't need to care about its version anymore.
PR #16917 .
3 years ago
Chocobo1
eba5a48abd
Merge pull request #16886 from Chocobo1/export
...
Add "Export .torrent" action
3 years ago
Chocobo1
a90ade0446
Add "Export .torrent" action
3 years ago
xavier2k6
0b86eb9b4c
Update clipboard.js to v2.0.10
...
PR #16918 .
3 years ago
Vladimir Golovnev
359c4fef9d
Avoid dereferencing null pointers
...
PR #16896 .
Closes #16884 and similar issues.
3 years ago
Chocobo1
71b1cb3b9c
Remove unused header
3 years ago
xavier2k6
b740cc23d3
GHA CI: Update dependencies
...
Update `libtorrent` version(s) to `2.0.6` & `1.2.16` in `GHA CI`
- https://github.com/arvidn/libtorrent/releases/tag/v2.0.6
- https://github.com/arvidn/libtorrent/releases/tag/v1.2.16
Update `Boost` version to `1.79.0`
- https://www.boost.org/users/history/version_1_79_0.html
Bump `pre-commit-hooks` version to `4.2.0`
- https://github.com/pre-commit/pre-commit-hooks/releases/tag/v4.2.0
Update `Qt6` version to `6.3.0`
- https://www.qt.io/blog/qt-6.3-released
- https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.3.0/release-note.md
Note: used `aqtinstall 2.1.0` with `jurplel/install-qt-action` for support of `Qt 6.2.1+`
(this requirement can be removed on official release of `jurplel/install-qt-action v3`)
PR #16888 .
3 years ago
Vladimir Golovnev
613e9866aa
Merge pull request #16876 from glassez/blocking
...
Avoid some blocking calls to libtorrent
Under some conditions (when libtorrent is doing heavy work), blocking calls can wait quite a long time, thereby suspending the main application thread. In some cases, we can avoid this, since we have enough data to make the job without call to libtorrent. Although in some cases it may require a little more work to be done in the main thread, but overall responsiveness still benefits greatly in the end, especially when the libtorrent working thread is heavily loaded.
3 years ago
Chocobo1
bc937d38a2
Allow to set "working set limit" on non-Windows OS
...
PR #16874 .
3 years ago
Vladimir Golovnev (Glassez)
35fcf39fc8
Add additional trackers without extra blocking call
3 years ago
Vladimir Golovnev (Glassez)
bd45dc5d0f
Avoid some blocking calls to libtorrent
3 years ago
Vladimir Golovnev
7377974731
Improve path extension handling
...
PR #16867 .
3 years ago
Requi
669b67e666
WebAPI: return correct status
...
Fix web API returning Not Found instead of Forbidden.
When not having a session the API would return "Not Found" instead of "Forbidden" when trying to access a non-public endpoint.
PR #16866 .
3 years ago
Chocobo1
a2b85ba1fd
Provide interface for Application class
...
PR #16864 .
3 years ago
Chocobo1
dc22109fa7
Merge pull request #16863 from Chocobo1/run
...
Remove redundant function
3 years ago
Vladimir Golovnev
4471a6377e
Have separate API controller instances per session
...
PR #16848 .
3 years ago
Chocobo1
3f762a416d
Use proper method for deferred calls
3 years ago
Chocobo1
a59a6ce8e4
Remove redundant function
...
This helper function is useless after using `Path` class.
3 years ago
Chocobo1
189514c6de
Fix wrong v2 hash string displayed in WebUI
...
Previously `0000...` was erroneously displayed when v2 hash is absent,
now it correctly shows the `N/A`.
PR #16846 .
3 years ago
Vladimir Golovnev
dded874350
Correctly apply content layout when "Skip hash check" is enabled
...
PR #16825 .
3 years ago
Chocobo1
e42fa0e027
Merge pull request #16820 from Chocobo1/comparisons
...
Move comparison operator out of class
3 years ago
Vladimir Golovnev
33ffe95294
Correctly populate trackers filter list
...
PR #16814 .
3 years ago
Vladimir Golovnev
0657238ad1
Don't forget to create 'download_path' field
...
PR #16468 .
3 years ago
Vladimir Golovnev
4efece4ab8
Use an appropriate method to show modal dialog
...
PR #16809 .
3 years ago
Chocobo1
b9b2ed64f9
Assign temporary data to a variable
...
This is mainly to avoid dangerous code pattern: getting an iterator on a
temporary object. Previously `data()` returns a const reference so the
code wasn't doing any harm.
3 years ago
Chocobo1
16bc0531f4
Simplify code
3 years ago
Chocobo1
39c34078d6
Move comparison operator out of class
3 years ago
Chocobo1
9318f05e2b
Merge pull request #16801 from Chocobo1/int
...
Migrate away from unsigned integer types
3 years ago
sledgehammer999
95f3073e6f
Merge pull request #16745 from sledgehammer999/drop_qt_translations_folder
...
Drop qt translations folder
3 years ago
Chocobo1
6f4a9390ba
Fix wrong conversion to QVariant
...
It was converted to bool-like type which is wrong.
3 years ago
Chocobo1
0eb6967bb2
Migrate away from unsigned integer types
...
Signed integers should be preferred in these cases.
3 years ago
Chocobo1
2854630b1c
Use signed integer type for counters
3 years ago
Chocobo1
bbd781c420
Omit redundant cast
3 years ago
Chocobo1
f7cfdfcf63
Merge pull request #16784 from Chocobo1/webui
...
WebUI: show correct location path
3 years ago
Chocobo1
af7c32d3aa
WebUI: remove temporary element
3 years ago