Chocobo1
99d25eec71
Use proper capitalization for MSVC linker flags
...
The linker flags are case insensitive [1] but it would be better to use the proper capitalization [2].
[1] https://learn.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-170#command-line
[2] https://learn.microsoft.com/en-us/cpp/build/reference/guard-enable-guard-checks?view=msvc-170
PR #22940 .
2025-06-30 01:45:10 +08:00
xavier2k6
86e11d344f
GHA CI: Bump pandoc
to latest
...
* Bump `pandoc` to latest (3.7.0.2)
* Apply upstream suggestions
PR #22708 .
2025-06-22 14:21:50 +08:00
xavier2k6
9b66693cb8
GHA CI: Bump dependencies
...
CI - Ubuntu / Build (push) Has been cancelled
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled
* Bumped `Qt` to `6.9.1` on macOS/Windows
* Bumped `Qt` to `6.9.1` & `Boost` to `1.88.0` on `coverity-scan`
PR #22839 .
2025-06-14 21:17:19 +08:00
Chocobo1
50d60b9589
GHA CI: enforce sorted import in Python scripts
...
This main point is to normalize the sorting of imports in Python scripts.
Currently the default setting from isort is used: https://pycqa.github.io/isort/docs/configuration/custom_sections_and_ordering.html
PR #22793 .
2025-05-31 18:01:02 +08:00
Chocobo1
2477e13b3f
GHA CI: update zizmor rules ID
...
zizmor 1.7.0 has changed the ID.
https://docs.zizmor.sh/release-notes/#v170
PR #22684 .
2025-05-13 00:36:31 +08:00
Vladimir Golovnev
33aaa867b5
Drop support of Qt 6.5
...
PR #22599 .
2025-04-27 16:21:20 +03:00
xavier2k6
72e8b3272b
GHA CI: Use Qt 6.9.0 on Windows and macOS
...
PR #22509 .
2025-04-08 15:35:58 +08:00
Chocobo1
1b044d9476
GHA CI: shorten Windows CI build time
...
Now vcpkg caches b2 tool. Boost doesn't need the exact b2 version to generate the cmake files.
2025-03-01 16:12:59 +08:00
Chocobo1
83599f1f7b
GHA CI: tweak cache size
...
It seems ~500MB is enough to cache all the build artifacts but we still
make it a bit larger to avoid thrashing.
2025-03-01 16:12:57 +08:00
Chocobo1
0ac47496d4
GHA CI: ensure compatibility with newer cmake versions
...
Fixes #22315 .
PR #22320 .
2025-02-25 14:08:09 +08:00
Chocobo1
955688c125
WebUI: replace rounding function from MooTools
...
The `round()` returning floating point number is not a good idea. This is due to floating point
representation is imprecise and sometimes it cannot faithfully represent a number, for example
`0.09 + 0.01 !== 0.1 `. Therefore, it should be avoided and/or utilize other function
to achieve the goal.
Also, improve `window.qBittorrent.Misc.toFixedPointString()` and add test cases.
PR #22281 .
2025-02-17 15:11:55 +08:00
Chocobo1
ddf6dd5fa2
GHA CI: fix AppImage building
...
Upstream now defaults to static runtime and the previous URL is invalid now.
Upstream commits:
* c28054bab6
* ce5291e259
Also fuse2 is not needed now as stated on:
https://github.com/AppImage/type2-runtime?tab=readme-ov-file#type2-runtime-
PR #22286 .
2025-02-16 05:08:39 +08:00
xavier2k6
f8469d02f7
GHA CI: Bump FORTIFY_SOURCE
hardening flag to 3
...
PR #22248 .
2025-02-08 17:00:10 +08:00
Chocobo1
dc10b88cec
GHA CI: explicitly set C++20 mode for libtorrent
...
Bump Boost version. Boost::asio 1.76 has a bug that prevents compiling in C++20 mode.
PR #22245 .
2025-02-08 16:30:36 +08:00
xavier2k6
463700b76d
GHA CI: Bump libtorrent versions
...
PR #22217 .
2025-02-03 09:07:35 +03:00
Chocobo1
3ef4d0d798
GHA CI: add checking for GHA workflows
...
PR #22200 .
---------
Co-authored-by: userdocs <16525024+userdocs@users.noreply.github.com>
2025-01-26 03:44:59 +08:00
Chocobo1
4686d6709e
GHA CI: show installed version
...
Before this change, it wasn't clear which exact version were installed.
PR #22155 .
2025-01-13 17:24:08 +08:00
xavier2k6
45b7947cd0
GHA CI: Update Boost URL
...
The agreement between Boost & JFrog came to an end in December 2024.
Reference: https://github.com/boostorg/boost/issues/924
PR #22125 .
2025-01-11 21:33:51 +08:00
xavier2k6
e2db0bc866
GHA CI: Update pandoc
to latest
...
* Bumped `pandoc` -> 3.6
PR #22021 .
2024-12-20 18:27:05 +08:00
Chocobo1
0a36171999
Sort grid items properly
...
Supersedes #21856 .
2024-12-16 01:30:47 +08:00
Chocobo1
c887a6f7d8
GHA CI: add checks for grid items order
...
Now all items under `QGridLayout` are required to be sorted. This allow
us to omit tabstop order. The tabstop order will follow the layout order.
The script can be invoked to fix wrong grid items order in .ui files:
```console
python check_grid_items_order.py file.ui
```
2024-12-14 17:08:18 +08:00
Vladimir Golovnev
a47e1cdb48
Allow to choose color scheme on Windows
...
PR #21615 .
2024-10-19 13:37:51 +03:00
Vladimir Golovnev
2d185dc1c7
Allow to choose Qt style
...
PR #21553 .
2024-10-11 16:04:57 +03:00
xavier2k6
56a0692b68
GHA CI: Update pre-commit-config workflow
...
* Bumped numerous revisions
* Removed obsolete exclusions (files/folders were removed previously)
* Implement fix/workaround for "false positives" (typos/codespell)
PR #21460 .
2024-10-06 16:49:30 +08:00
xavier2k6
dfa4eebbce
GHA CI: Bump pandoc to latest version
...
PR #21458 .
2024-10-06 16:41:38 +08:00
Chocobo1
6ed662c68b
CI: turn on assertion checks
...
This turn on assertions from qbt codebase so that testers can verify the assertions really hold.
PR #21499 .
2024-10-06 16:13:14 +08:00
xavier2k6
f09d43d073
GHA CI: Bump boost dependency
...
PR #21214 .
2024-08-19 15:59:09 +08:00
Chocobo1
8b7fdf0f22
Bump Python version minimum requirement
...
The new minimum version is Python 3.9.
Debian Buster (oldoldstable) support ends at [2024.06.30](https://www.debian.org/releases/buster/ ).
Ubuntu Focal (20.04LTS) support ends at [2025.04](https://ubuntu.com/about/release-cycle ).
By the time qbt v5.1 is released, Buster and Focal would have become EOL.
https://packages.debian.org/search?keywords=python3
https://packages.ubuntu.com/search?keywords=python3
PR #21064 .
2024-07-17 12:13:58 +08:00
Chocobo1
610d5ef5ff
GHA CI: use static versions of AppImage builder
...
It does not affect the produced artifacts. The only difference is the
tool itself won't depend on some specific OS image or library version.
PR #20983 .
2024-06-25 13:11:32 +08:00
Chocobo1
d71086e400
Add type annotations
...
A few code are revised because the type checker (mypy) doesn't allow
changing types on a variable.
PR #20935 .
2024-06-17 13:18:32 +08:00
dependabot[bot]
b9a1bbbb8a
GHA CI: Bump Github Actions versions
...
PR #20913 .
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2024-06-04 14:15:44 +08:00
Chocobo1
04154ebb76
GHA CI: don't use hardcoded path
...
PR #20763 .
2024-05-17 01:44:43 +08:00
xavier2k6
ddb0ff29e2
GHA CI: Use Qt 6.7.0 on Windows and macOS
...
PR #20431 .
2024-04-22 15:21:16 +03:00
xavier2k6
6c57fad0cd
GHA CI: Bump Boost version to 1.85.0
...
PR #20723 .
2024-04-22 13:39:58 +08:00
Chocobo1
01cc4ea90b
GHA CI: revise packaging failure detection
...
Fix up 1d221c22e4
.
PR #20664 .
2024-04-09 14:22:05 +08:00
dependabot[bot]
e4aad461c7
GHA CI: Bump Github Actions versions
...
PR #20652 .
---
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 13:00:50 +08:00
Chocobo1
1d221c22e4
GHA CI: retry action on failure
...
PR #20641 .
2024-04-01 19:59:26 +08:00
Chocobo1
2fe91a6c8f
GHA CI: only store cache for master branch
...
Also set a lower cache limit for macOS to prevent cache thrashing. Previously the default was 5G.
PR #20640 .
2024-04-01 19:36:45 +08:00
Chocobo1
47c38e8d91
Apply formatting
2024-03-23 13:55:58 +08:00
Chocobo1
34d19e5714
GHA CI: check python scripts
2024-03-23 13:54:57 +08:00
Chocobo1
71f1e6df59
GHA CI: disable security hardening flag
...
OpenSSL isn't compatible with `/guard:cf` flag so we omit it for now.
Related: https://github.com/openssl/openssl/issues/22554
Closes #20479 .
PR #20487 .
2024-03-03 13:49:07 +08:00
dependabot[bot]
896f5fe729
GHA CI: Bump action version
...
PR #20486 .
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-03 13:33:07 +08:00
xavier2k6
c6ee0ff017
GHA CI: Bump libtorrent 2 version to 2.0.10
...
PR #20455 .
2024-02-25 19:30:20 +08:00
xavier2k6
6d68ab4dae
GHA CI: Bump boost dependency and revise install method
...
PR #20371 .
2024-02-14 03:36:47 +08:00
Chocobo1
31d456c43b
Set specific exit codes when NSIS installer failed in silent mode
...
* Set specific exit codes when NSIS installer failed in silent mode
Related: https://github.com/qbittorrent/qBittorrent/issues/18115#issuecomment-1789404780
* GHA CI: treat NSIS warnings as errors
PR #20296 .
2024-01-22 14:01:15 +08:00
dependabot[bot]
293a2efca7
GHA CI: Bump Github Actions versions
...
PR #20220 .
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 16:23:09 +08:00
Chocobo1
8bd604f633
GHA CI: add fallback URL for boost library
...
Boost main download site jfrog is unavailable at the time of writing.
Related: https://github.com/boostorg/boost/issues/842
PR #20218 .
2024-01-02 15:54:49 +08:00
Chocobo1
be5bf9a138
GHA CI: ditch unusable build step
...
lukka/run-vcpkg v11.3 has deliberately changed to avoid writing outside of `GITHUB_WORKSPACE`
directory and this conflict with our usage. So ditch it and invoke vcpkg directly.
https://github.com/lukka/run-vcpkg/releases/tag/v11.3
PR #20202 .
2023-12-31 14:03:42 +08:00
Chocobo1
4057972b2d
GHA CI: fix coverity build failure
...
PR #20129 .
2023-12-19 00:30:36 +08:00
Chocobo1
608efc77e8
GHA CI: put libtorrent into its own directory
...
Previously it was rooted within qbt project and it caused some issues when running
'update translations' command.
2023-12-05 02:39:24 +08:00