Author SHA1 Message Date
AramJonghu 0ab8707d70 fix(ci): rust ci revert node container for checkout
C++ / fmt (pull_request) Successful in 18s
JS/TS / fmt & lint (pull_request) Successful in 18s
Python / fmt & lint (pull_request) Successful in 35s
C++ / build & lint (pull_request) Failing after 2m31s
Python / test & nuitka build (pull_request) Failing after 1m36s
Rust / clippy & fmt (pull_request) Failing after 59s
2026-10-30 23:23:07 +01:00
AramJonghu 516ec9dd54 chore(format): format files that were unformatted
JS/TS / fmt & lint (pull_request) Successful in 12s
Rust / clippy & fmt (pull_request) Failing after 43s
C++ / fmt (pull_request) Successful in 5s
Python / fmt & lint (pull_request) Successful in 42s
Python / test & nuitka build (pull_request) Failing after 1m34s
C++ / build & lint (pull_request) Failing after 2m17s
2026-10-30 22:57:48 +01:00
AramJonghu b279c5d664 fix(makefile): ruff fmt is now not just a check 2026-10-30 22:46:52 +01:00
AramJonghu 82c307de11 fix(Dockerfile): adds mpv dep
C++ / fmt (pull_request) Failing after 5s
JS/TS / fmt & lint (pull_request) Successful in 13s
C++ / build & lint (pull_request) Failing after 20s
Python / test & nuitka build (pull_request) Canceled after 24s
Python / fmt & lint (pull_request) Canceled after 26s
Rust / clippy & fmt (pull_request) Failing after 3s
2026-10-30 02:51:22 +01:00
AramJonghu 388482c620 ci(rust): fixes and optimizations
C++ / fmt (pull_request) Failing after 5s
C++ / build & lint (pull_request) Failing after 13s
JS/TS / fmt & lint (pull_request) Successful in 11s
Python / fmt & lint (pull_request) Successful in 26s
Rust / clippy & fmt (pull_request) Failing after 50s
Python / test & nuitka build (pull_request) Failing after 1m23s
- removes cargo check since the clippy step builds already
- image switched to rust:alpine
- less correctness during build for speedier compilation
2026-10-30 02:49:22 +01:00
AramJonghu ab4a662013 ci(cpp): introduce caching cmake and build + format optimization 2026-10-30 02:46:17 +01:00
57 changed files with 130 additions and 223 deletions
+19 -2
View File
@@ -17,8 +17,7 @@ jobs:
run: |
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) \
-not -path './build/*' \
-exec clang-format -i --style=file {} +
git diff --exit-code && echo "clang-format: passed"
-exec clang-format --dry-run -Werror --style=file {} +
build & lint:
runs-on: alpine
@@ -30,11 +29,29 @@ jobs:
with:
fetch-depth: 0
- name: Cache CMake build
uses: actions/cache@v4
with:
path: build
key: cpp-build-${{ hashFiles('CMakeLists.txt', '**/CMakeLists.txt') }}
restore-keys: |
cpp-build-
- name: Cache ccache
uses: actions/cache@v4
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-${{ github.sha }}
restore-keys: |
ccache-${{ runner.os }}-
- name: Configure
run: cmake -B build -G Ninja -DENABLE_MODULES=plugin -DCMAKE_BUILD_TYPE=Release
- name: Build
run: ninja -C build
env:
CMAKE_CXX_COMPILER_LAUNCHER: ccache
- name: clang-tidy
run: |
+8 -31
View File
@@ -3,11 +3,10 @@ name: Rust
on:
pull_request:
# jobs can be separated if we integrate tests
jobs:
build, clippy & fmt:
clippy & fmt:
runs-on: alpine
container: node:26-alpine
container: node:26-alpine # keep node image for checkout to work
env:
CARGO_HOME: ${{ github.workspace }}/.cargo
@@ -17,48 +16,25 @@ jobs:
- name: Cache cargo packages
uses: actions/cache@v4
env:
cache-name: cache-cargo-packages
with:
path: |
.cargo/registry
.cargo/git
target
key: rust-build-${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.lock') }}
key: rust-build-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
rust-${{ runner.os }}-build-${{ env.cache-name }}-
rust-${{ runner.os }}-build-
rust-
rust-${{ runner.os }}-cargo-
- name: Install tools
run: |
apk add --no-cache \
git \
cargo \
rust \
rust-clippy \
rustfmt
apk add --no-cache git cargo rust rust-clippy rustfmt
- name: Cargo check
run: |
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
for manifest in $(find . -name "Cargo.toml"); do
cargo check --manifest-path "$manifest" && \
echo "$manifest: check passed" || \
{ echo "$manifest: check failed"; exit 1; }
done
elif [ -n "$(find . -name "*.rs" -print -quit)" ]; then
echo "Rust files found but no Cargo.toml"
exit 1
else
echo "No Rust project found"
fi
- name: Clippy
- name: Clippy (with compile check)
run: |
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
status=0
for manifest in $(find . -name "Cargo.toml"); do
cargo clippy --manifest-path "$manifest" --all-targets --all-features -- -D warnings && \
cargo clippy --manifest-path "$manifest" -- -D warnings && \
echo "$manifest: Clippy passed" || \
{ echo "$manifest: Clippy failed"; status=1; }
done
@@ -69,6 +45,7 @@ jobs:
else
echo "No Rust project found"
fi
- name: Format check
run: |
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
+2 -4
View File
@@ -46,8 +46,7 @@ Item {
strokeWidth: Math.min(1, remainingArc.sweepAngle) * root.strokeWidth
Behavior on strokeColor {
CAnim {
}
CAnim {}
}
PathAngleArc {
@@ -84,8 +83,7 @@ Item {
}
}
Behavior on color {
CAnim {
}
CAnim {}
}
Anim on waveProgress {
id: waveProgAnim
+1 -2
View File
@@ -160,8 +160,7 @@ Item {
Behavior on color {
enabled: false
CAnim {
}
CAnim {}
}
}
+1 -2
View File
@@ -8,7 +8,6 @@ MultiEffect {
colorization: 1
Behavior on colorizationColor {
CAnim {
}
CAnim {}
}
}
+1 -2
View File
@@ -7,7 +7,6 @@ ClippingRectangle {
color: "transparent"
Behavior on color {
CAnim {
}
CAnim {}
}
}
+1 -2
View File
@@ -7,7 +7,6 @@ ClippingWrapperRectangle {
color: "transparent"
Behavior on color {
CAnim {
}
CAnim {}
}
}
+2 -4
View File
@@ -124,8 +124,7 @@ ProgressBar {
anchors.left: parent.left
Behavior on implicitWidth {
Anim {
}
Anim {}
}
Component.onCompleted: implicitWidth = Qt.binding(() => parent.width * root.visualPosition)
@@ -222,8 +221,7 @@ ProgressBar {
}
}
Behavior on color {
CAnim {
}
CAnim {}
}
Anim on waveProgress {
duration: root.waveDuration
+5 -10
View File
@@ -105,20 +105,16 @@ Switch {
width: height
Behavior on end1 {
PropAnim {
}
PropAnim {}
}
Behavior on end2 {
PropAnim {
}
PropAnim {}
}
Behavior on start1 {
PropAnim {
}
PropAnim {}
}
Behavior on start2 {
PropAnim {
}
PropAnim {}
}
ShapePath {
@@ -134,8 +130,7 @@ Switch {
strokeWidth: 16 * 0.15
Behavior on strokeColor {
CAnim {
}
CAnim {}
}
PathLine {
+2 -4
View File
@@ -20,8 +20,7 @@ Text {
textFormat: Text.PlainText
Behavior on color {
CAnim {
}
CAnim {}
}
Behavior on text {
enabled: root.animate
@@ -33,8 +32,7 @@ Text {
type: Anim.FastEffects
}
PropertyAction {
}
PropertyAction {}
TAnim {
target: root
+1 -2
View File
@@ -65,8 +65,7 @@ Image {
value: root.source
}
PropertyAction {
}
PropertyAction {}
ScriptAction {
script: root.maybeStartInAnim()
+4 -1
View File
@@ -138,7 +138,10 @@ Item {
const t = (tlo + thi) / 2;
const u = 1 - t;
const y = u * u * u * p1.y + 3 * u * u * t * c1y + 3 * u * t * t * c2y + t * t * t * p2.y;
return { x: targetX, y };
return {
x: targetX,
y
};
}
// Part of the curve left/right of a cut x, including the cut point
+1 -2
View File
@@ -64,8 +64,7 @@ MaterialShape {
to: 360
}
Behavior on color {
CAnim {
}
CAnim {}
}
ElapsedTimer {
+2 -4
View File
@@ -47,12 +47,10 @@ Item {
implicitWidth: vertical ? elideText.implicitHeight : elideText.implicitWidth
Behavior on leftFadeStrength {
Anim {
}
Anim {}
}
Behavior on rightFadeStrength {
Anim {
}
Anim {}
}
onHeightChanged: resetMarquee()
+3 -6
View File
@@ -102,8 +102,7 @@ Row {
topLeftRadius: rad
Behavior on rad {
Anim {
}
Anim {}
}
StateLayer {
@@ -127,12 +126,10 @@ Row {
text: "expand_more"
Behavior on anchors.horizontalCenterOffset {
Anim {
}
Anim {}
}
Behavior on rotation {
Anim {
}
Anim {}
}
}
}
+3 -6
View File
@@ -44,8 +44,7 @@ Item {
onValuesChanged: root.flagChanged()
}
ToastWrapper {
}
ToastWrapper {}
}
component ToastWrapper: MouseArea {
@@ -86,12 +85,10 @@ Item {
}
}
Behavior on opacity {
Anim {
}
Anim {}
}
Behavior on scale {
Anim {
}
Anim {}
}
Component.onCompleted: modelData.lock(this)
+1 -2
View File
@@ -20,8 +20,7 @@ Shape {
strokeWidth: 0
Behavior on fillColor {
CAnim {
}
CAnim {}
}
PathSvg {
-1
View File
@@ -141,7 +141,6 @@ Singleton {
BeatTracker {
id: beatTracker
}
PwObjectTracker {
+1 -2
View File
@@ -295,8 +295,7 @@ Singleton {
Component {
id: apComp
AccessPoint {
}
AccessPoint {}
}
Process {
+2 -5
View File
@@ -1081,15 +1081,13 @@ Singleton {
Component {
id: commandProc
CommandProcess {
}
CommandProcess {}
}
Component {
id: apComp
AccessPoint {
}
AccessPoint {}
}
Timer {
@@ -1310,7 +1308,6 @@ Singleton {
}
stdout: StdioCollector {
id: stdoutCollector
}
onExited: code => {
+1 -2
View File
@@ -164,8 +164,7 @@ Singleton {
Component {
id: notifComp
Notif {
}
Notif {}
}
component Notif: QtObject {
+2 -4
View File
@@ -46,8 +46,7 @@ Item {
strokeWidth: Math.min(1, remainingArc.sweepAngle) * root.strokeWidth
Behavior on strokeColor {
CAnim {
}
CAnim {}
}
PathAngleArc {
@@ -84,8 +83,7 @@ Item {
}
}
Behavior on color {
CAnim {
}
CAnim {}
}
Anim on waveProgress {
id: waveProgAnim
+1 -2
View File
@@ -7,7 +7,6 @@ ClippingRectangle {
color: "transparent"
Behavior on color {
CAnim {
}
CAnim {}
}
}
+2 -4
View File
@@ -20,8 +20,7 @@ Text {
textFormat: Text.PlainText
Behavior on color {
CAnim {
}
CAnim {}
}
Behavior on text {
enabled: root.animate
@@ -33,8 +32,7 @@ Text {
type: Anim.FastEffects
}
PropertyAction {
}
PropertyAction {}
TAnim {
target: root
+1 -2
View File
@@ -65,8 +65,7 @@ Image {
value: root.source
}
PropertyAction {
}
PropertyAction {}
ScriptAction {
script: root.maybeStartInAnim()
+1 -2
View File
@@ -64,8 +64,7 @@ MaterialShape {
to: 360
}
Behavior on color {
CAnim {
}
CAnim {}
}
ElapsedTimer {
-1
View File
@@ -200,6 +200,5 @@ Singleton {
ElapsedTimer {
id: timer
}
}
-1
View File
@@ -16,7 +16,6 @@ ShellRoot {
GreeterState {
id: greeter
}
GreeterSurface {
+1 -2
View File
@@ -69,8 +69,7 @@ Singleton {
model: Quickshell.screens
Monitor {
}
Monitor {}
}
Process {
+1 -2
View File
@@ -33,8 +33,7 @@ Singleton {
implicitHeight: 0
implicitWidth: 0
mask: Region {
}
mask: Region {}
}
}
+1 -2
View File
@@ -50,8 +50,7 @@ Item {
}
Behavior on offsetScale {
Anim {
}
Anim {}
}
Behavior on x {
enabled: !root.horizontal || root.offsetScale < 1
+7 -14
View File
@@ -26,20 +26,15 @@ StackView {
initialItem: SubMenu {
handle: root.trayItem
}
popEnter: NoAnim {
}
popExit: NoAnim {
}
pushEnter: NoAnim {
}
pushExit: NoAnim {
}
popEnter: NoAnim {}
popExit: NoAnim {}
pushEnter: NoAnim {}
pushExit: NoAnim {}
Component {
id: subMenuComp
SubMenu {
}
SubMenu {}
}
component NoAnim: Transition {
@@ -59,12 +54,10 @@ StackView {
spacing: Tokens.spacing.extraSmall
Behavior on opacity {
Anim {
}
Anim {}
}
Behavior on scale {
Anim {
}
Anim {}
}
Component.onCompleted: shown = true
+2 -4
View File
@@ -307,12 +307,10 @@ CustomMouseArea {
}
}
Behavior on x {
Anim {
}
Anim {}
}
Behavior on y {
Anim {
}
Anim {}
}
onTodayItemChanged: {
+1 -2
View File
@@ -77,8 +77,7 @@ Item {
implicitSize: height
Behavior on clampedVal {
Anim {
}
Anim {}
}
MaterialIcon {
+2 -4
View File
@@ -33,8 +33,7 @@ Item {
Repeater {
id: shapes
DriftingShape {
}
DriftingShape {}
}
FrameAnimation {
@@ -80,8 +79,7 @@ Item {
shape: root.shapePool[Math.floor(Math.random() * root.shapePool.length)]
Behavior on color {
CAnim {
}
CAnim {}
}
Behavior on opacity {
Anim {
+1 -2
View File
@@ -18,8 +18,7 @@ Item {
layer.enabled: true
Behavior on fallbackColor {
CAnim {
}
CAnim {}
}
layer.effect: MultiEffect {
blurMax: 1
+5 -10
View File
@@ -54,14 +54,12 @@ Item {
Behavior on x {
enabled: !mouseArea.drag.active && !root.isSnapping && !root.iconsRoot.selectedIcons.includes(root.filePath)
Anim {
}
Anim {}
}
Behavior on y {
enabled: !mouseArea.drag.active && !root.isSnapping && !root.iconsRoot.selectedIcons.includes(root.filePath)
Anim {
}
Anim {}
}
Item {
@@ -85,8 +83,7 @@ Item {
y: (root.iconsRoot.selectedIcons.includes(root.filePath) && root.iconsRoot.dragLeader !== "" && root.iconsRoot.dragLeader !== root.filePath) ? root.iconsRoot.groupDragY : 0
}
transitions: Transition {
Anim {
}
Anim {}
}
onXChanged: {
@@ -208,8 +205,7 @@ Item {
radius: Tokens.rounding.small
Behavior on opacity {
Anim {
}
Anim {}
}
}
@@ -268,8 +264,7 @@ Item {
radius: Tokens.rounding.small
Behavior on opacity {
Anim {
}
Anim {}
}
}
}
+1 -2
View File
@@ -82,8 +82,7 @@ CustomRect {
Loader {
active: isSeparator
sourceComponent: DockSeparator {
}
sourceComponent: DockSeparator {}
anchors {
fill: parent
+1 -2
View File
@@ -41,8 +41,7 @@ CarouselView {
tileHeight: focalWidth / 16 * 9
delegate: Component {
WallpaperTile {
}
WallpaperTile {}
}
Component.onDestruction: Wallpapers.stopPreview()
+1 -2
View File
@@ -22,8 +22,7 @@ Searcher {
model: Config.launcher.actions.values.filter(a => (a.enabled ?? true) && (Config.launcher.enableDangerousActions || !(a.dangerous ?? false)))
Action {
}
Action {}
}
component Action: QtObject {
+1 -2
View File
@@ -131,8 +131,7 @@ Item {
}
}
Behavior on opacity {
Anim {
}
Anim {}
}
}
}
+1 -2
View File
@@ -15,8 +15,7 @@ ClipRect {
radius: Tokens.rounding.largeIncreased
Behavior on animPerc {
Anim {
}
Anim {}
}
Contents {
+1 -2
View File
@@ -51,8 +51,7 @@ CustomRect {
value: Memory.percentage
Behavior on clampedVal {
Anim {
}
Anim {}
}
ColumnLayout {
+6 -12
View File
@@ -81,8 +81,7 @@ Item {
active: Config.dashboard.performance.showStorage
sourceComponent: StorageCard {
}
sourceComponent: StorageCard {}
}
WrappedLoader {
@@ -90,8 +89,7 @@ Item {
active: Config.dashboard.performance.showMemory
sourceComponent: MemoryCard {
}
sourceComponent: MemoryCard {}
}
WrappedLoader {
@@ -99,8 +97,7 @@ Item {
active: Config.dashboard.performance.showVram
sourceComponent: VramCard {
}
sourceComponent: VramCard {}
}
WrappedLoader {
@@ -108,8 +105,7 @@ Item {
active: Config.dashboard.performance.showNetwork && !vramCard.active
sourceComponent: NetworkCard {
}
sourceComponent: NetworkCard {}
}
}
@@ -118,8 +114,7 @@ Item {
active: Config.dashboard.performance.showNetwork && vramCard.active
sourceComponent: NetworkCard {
}
sourceComponent: NetworkCard {}
}
}
@@ -127,8 +122,7 @@ Item {
Layout.fillWidth: false
active: Battery.isLaptop && Config.dashboard.performance.showBattery
sourceComponent: BatteryTank {
}
sourceComponent: BatteryTank {}
}
}
+1 -2
View File
@@ -22,8 +22,7 @@ CustomRect {
topRightRadius: first ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall
Behavior on opacity {
Anim {
}
Anim {}
}
CustomRect {
+2 -4
View File
@@ -26,8 +26,7 @@ CustomRect {
state: expanded ? "expanded" : ""
Behavior on implicitHeight {
Anim {
}
Anim {}
}
states: State {
name: "expanded"
@@ -116,8 +115,7 @@ CustomRect {
anchors.topMargin: Tokens.spacing.extraSmall
shouldBeActive: root.expanded
sourceComponent: ExpandedBody {
}
sourceComponent: ExpandedBody {}
}
component ExpandedBody: ColumnLayout {
+3 -6
View File
@@ -58,18 +58,15 @@ LazyListView {
}
}
Behavior on scale {
Anim {
}
Anim {}
}
Behavior on x {
Anim {
}
Anim {}
}
Behavior on y {
enabled: notif.LazyListView.ready
Anim {
}
Anim {}
}
onPositionChanged: event => {
+4 -8
View File
@@ -52,8 +52,7 @@ CustomRect {
radius: Tokens.rounding.large
Behavior on implicitHeight {
Anim {
}
Anim {}
}
Component.onDestruction: {
@@ -155,8 +154,7 @@ CustomRect {
spacing: root.expanded ? Math.round(Tokens.spacing.extraSmall) : 0
Behavior on spacing {
Anim {
}
Anim {}
}
RowLayout {
@@ -214,12 +212,10 @@ CustomRect {
text: "expand_more"
Behavior on Layout.topMargin {
Anim {
}
Anim {}
}
Behavior on rotation {
Anim {
}
Anim {}
}
}
}
+3 -6
View File
@@ -59,18 +59,15 @@ LazyListView {
}
}
Behavior on scale {
Anim {
}
Anim {}
}
Behavior on x {
Anim {
}
Anim {}
}
Behavior on y {
enabled: notif.LazyListView.ready
Anim {
}
Anim {}
}
Component.onCompleted: modelData?.lock(this)
+1 -2
View File
@@ -17,8 +17,7 @@ ShapePath {
strokeWidth: -1
Behavior on fillColor {
CAnim {
}
CAnim {}
}
PathLine {
+4 -3
View File
@@ -653,7 +653,8 @@ void WallpaperDb::queueMetadata(
existingCache.isEmpty() ? "" : ", existing blob");
m_queue.append(
MetadataJob{entry, entry->path(), isVideo, existingCache, existingPoster});
MetadataJob{
entry, entry->path(), isVideo, existingCache, existingPoster});
if (!m_queueTimer.isActive()) {
m_queueTimer.start();
@@ -771,8 +772,8 @@ void WallpaperDb::runMetadataJob(const MetadataJob& job) {
QByteArray poster = job.existingPoster;
if (poster.isEmpty()) {
poster =
job.isVideo ? videoPosterBytes(job.path, cacheSize) : cache;
poster = job.isVideo ? videoPosterBytes(job.path, cacheSize)
: cache;
}
result.cache = cache;
+2 -2
View File
@@ -110,8 +110,8 @@ class WallpaperDb : public QObject {
[[nodiscard]] static QString thumbnailUrl(const QString& path);
Q_INVOKABLE QVariantMap crop(const QString& path, const QString& screen)
const;
Q_INVOKABLE QVariantMap
crop(const QString& path, const QString& screen) const;
Q_INVOKABLE void setCrop(
const QString& path, const QString& screen, const QVariantMap& crop);
+2 -2
View File
@@ -50,7 +50,7 @@ QString VideoTranscoder::codecName(const QString& path) const {
if (!probe.waitForFinished(2000) || probe.exitCode() != 0) {
qWarning(transcodeLog) << "WallpaperService: ffprobe failed for" << path
<< "(exit" << probe.exitCode() << ")";
<< "(exit" << probe.exitCode() << ")";
return {};
}
@@ -120,7 +120,7 @@ void VideoTranscoder::start(const QString& src, const QString& dst) {
});
qWarning(transcodeLog) << "WallpaperService: transcoding" << src << "->"
<< dst;
<< dst;
proc->setProgram("nice");
proc->setArguments({
+3 -5
View File
@@ -72,11 +72,9 @@ void WallpaperObject::syncCrop(const QVariantMap& crop) {
const qreal y = crop.value("y").toDouble();
const qreal width = crop.contains("width") ? crop.value("width").toDouble()
: 1.0;
const qreal height = crop.contains("height")
? crop.value("height").toDouble()
: 1.0;
const qreal z =
crop.contains("zoom") ? crop.value("zoom").toDouble() : 1.0;
const qreal height =
crop.contains("height") ? crop.value("height").toDouble() : 1.0;
const qreal z = crop.contains("zoom") ? crop.value("zoom").toDouble() : 1.0;
const bool prev = m_pushEnabled;
m_pushEnabled = false;
+1 -2
View File
@@ -34,7 +34,6 @@ Singleton {
model: Quickshell.screens
ScreenState {
}
ScreenState {}
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ RUN pacman -Syu --noconfirm \
base-devel cmake ninja clang lld nodejs tree-sitter \
jkqtplotter cmark-gfm git wayland-protocols ffmpeg mpv \
qt6-base qt6-declarative qt6-shadertools qt6-5compat \
qt6-canvaspainter qt6-wayland qt5-wayland \
qt6-canvaspainter qt6-wayland qt5-wayland mpv \
libqalculate pipewire aubio cava lm_sensors glib2 \
&& pacman -Scc --noconfirm
+2 -2
View File
@@ -55,7 +55,7 @@ cpp-compile:
# Python
py-fmt:
ruff format --check
ruff format
py-lint:
ruff check ./cli
@@ -107,4 +107,4 @@ check-py:
$(MAKE) py-compile
fmt-make:
mbake format makefile
mbake format makefile