Chocobo1
cd3635985e
Merge pull request #15567 from Chocobo1/qt6
...
Fix Qt6 compiling issues
3 years ago
Chocobo1
8a7179195f
Suppress remove null widget warning
...
And improve text format for translation work.
3 years ago
Chocobo1
e45e29b431
Avoid type specifier mismatch
...
Qt5 uses `int` and Qt6 uses `qsizetype`, so use the stream version of
`qDebug()` to avoid specifying types.
3 years ago
Chocobo1
ca28fc27dc
Disable deprecated Qt functions
...
Also Qt6 by default set these attributes to our preferred value.
3 years ago
Chocobo1
08b2cde8e8
Let infohash v2 text be mouse selectable
...
And drop unused property.
3 years ago
Chocobo1
489d88e02a
Suppress conversion warning
...
This fixes MSVC warning C4305: 'argument': truncation from 'double' to 'float'.
`QColor::setAlphaF()` parameter has been changed to `float` in Qt6.
3 years ago
Chocobo1
dff39ffd20
Fix typo
...
https://doc.qt.io/qt-6/qmake-variable-reference.html#qt-major-version
3 years ago
Chocobo1
3c948ef063
Merge pull request #15562 from Chocobo1/precommit
...
GHA CI: Switch to pre-commit framework for checking file health
3 years ago
Chocobo1
7087565d92
Fix typo
3 years ago
Chocobo1
3467358663
GHA CI: Switch to pre-commit framework for checking file health
...
Now users are able to run the same checks on their local development
environment.
https://pre-commit.com/
3 years ago
Chocobo1
45a1c25a29
Merge pull request #15467 from xavier2k6/Python_URL
...
Update python installer URL for Windows
3 years ago
Chocobo1
70a11a12b3
Merge pull request #15549 from Chocobo1/api
...
WebAPI: Use specific number to represent non-existing values
3 years ago
Vladimir Golovnev
5d5b0d572e
Merge pull request #15536 from glassez/expected
...
Don't use output parameters for error handling
3 years ago
Chocobo1
7c8eadfddf
Revert "WebUI: group trackers by hostname"
...
This functionality wasn't ever correctly implemented and couldn't be
done without considerable effort, so revert it for now.
This reverts commit 4ac25a50ed
.
PR #15542 .
3 years ago
Chocobo1
89ca0c537d
Fix filename extension
3 years ago
xavier2k6
a92a6404cb
Make Python minimum version requirement an argument
3 years ago
Vladimir Golovnev (Glassez)
78459fcb31
Don't throw exception in TorrentInfo::saveToFile()
3 years ago
Vladimir Golovnev (Glassez)
41fc0fd084
Don't use output parameters for error handling
3 years ago
Chocobo1
5c9655abc3
WebAPI: Use specific number to represent non-existing values
...
Closes #15545 .
3 years ago
Chocobo1
3301797491
Merge pull request #15530 from Chocobo1/errmsg
...
Log error message in DownloadHandlerImpl class
3 years ago
Daniel Aleksandersen
eb5e1d34df
WebUI: Add meta application name
...
Used for installable/pinned app installs.
PR #15539 .
3 years ago
Daniel Aleksandersen
9e92e5995f
WebUI: Set icon sizes attribute
...
Gives browsers more information to pick the best icon.
PR #15540 .
3 years ago
Chocobo1
e96f2d7be0
Simplify comparison
...
From https://doc.qt.io/qt-5/qdatetime.html#operator-eq-eq :
>Since 5.14, all invalid datetimes are equal to one another and differ from all other datetimes.
3 years ago
Chocobo1
03cb51844b
Remove redundant define
...
NOMINMAX is already defined in build scripts.
3 years ago
Chocobo1
6b06cc9216
Log error message in DownloadHandlerImpl class
3 years ago
Chocobo1
6b49323f05
Improve error message reporting
3 years ago
Chocobo1
4a11fab2b1
Add constexpr to Sample class functions
3 years ago
Vladimir Golovnev
c382191e75
Correctly iterate through the files of torrent
...
PR #15535 .
3 years ago
luzpaz
4d480b8761
Fix various typos
...
Found via `codespell -q 3 -S *.ts`.
PR #15520 .
3 years ago
Chocobo1
cd25562fd2
Merge pull request #15516 from Chocobo1/win_ci
...
GHA CI: build dependencies manually
3 years ago
Chocobo1
9a3d560d9e
GHA CI: use larger cache for compiling
...
Previous default was 500MB and it couldn't fit all compile results in
it, enlarge it to 2GB. Note that 2GB isn't the actual size stored on the
server, it will be compressed again by zstd and will be a lot smaller.
3 years ago
Chocobo1
4924fb95f8
GHA CI: build dependencies manually
...
Now it builds boost, libtorrent manually and we have control over its
version.
Enable build matrix for libtorrent versions.
Reorganized the folder/file layout in built artifact.
3 years ago
Chocobo1
6de67fe81f
Merge pull request #15511 from Chocobo1/pr
...
Put PR template into action
3 years ago
Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev
a8ade3a04b
Merge pull request #14465 from glassez/qt6
...
Allow to build with Qt6
3 years ago
Chocobo1
eca04e2e92
Revise "Opening PR" section in contributing guide
3 years ago
Chocobo1
763b9fc1da
Put PR template into action
3 years ago
Vladimir Golovnev (glassez)
add75fbc77
Make complete type declarations available where needed
3 years ago
Vladimir Golovnev (Glassez)
86b1ac5d7c
CMake: Allow to build with Qt6
3 years ago
Vladimir Golovnev (glassez)
b51197936b
QMake: Don't use WinExtras module with Qt6
3 years ago
Jose M. Abuin
64609ce5cf
Add missing double-click action
...
Closes #15422 .
PR #15509 .
3 years ago
Chocobo1
b81cbf9062
Merge pull request #15505 from Chocobo1/freebsd
...
Add detection for various OS
3 years ago
Chocobo1
e7e881e5d7
Merge pull request #15500 from Chocobo1/networkfs
...
Add remote filesystem magic numbers
3 years ago
Chocobo1
e236a76d5a
Use case statement for host OS detection
3 years ago
Chocobo1
ad8a827c1f
Add detection for Haiku in configure script
...
Patch taken from downstream:
https://github.com/haikuports/haikuports/blob/master/net-p2p/qbittorrent/patches/qbittorrent-4.3.1.patchset
3 years ago
Chocobo1
08ac33bc5c
Add detection for OpenBSD in configure script
...
Patch taken from downstream:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/net/qbittorrent/qbittorrent/patches/patch-configure_ac
3 years ago
Chocobo1
5cf39a2970
Reuse code path
...
`buf.f_type` should be compatible across platforms.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/statfs.2.html
3 years ago
Chocobo1
1c9321d5a1
Add remote filesystem magic numbers
3 years ago
Chocobo1
97a8d865dc
WebUI: revise hash function
...
In benchmark, using `Math.imul()` is about ~20% faster than floating
point multiplication.
PR #15475 .
3 years ago
Chocobo1
982133d9b6
CI: Clean up scripts
...
* Remove redundant dependencies
* Replace ccache action provider
* Let coverity-scan script build with libtorrent v2.0.4.
PR #15483 .
3 years ago