Commit Graph
2325 Commits
Author SHA1 Message Date
LGUG2Z b1fa8651e4 fix(rules): keep a rule whose id another kind of rule already has 2026-10-30 12:25:18 -07:00
LGUG2Z 0b57006053 chore(deps): update libz-sys to 1.1.31 for RUSTSEC-2026-0418
libz-sys before 1.1.31 logs the compiler command of its zlib probe, which
with cc 1.6.0 or later includes every environment variable of the build,
and cargo stores that output under target/. It is a build dependency of
shadow-rs via git2 and libgit2-sys; bump it in the lockfile.
2026-10-30 12:13:42 -07:00
LGUG2Z 5c8e4770dc fix(monitor): do not mistake an unplugged display for one that is still attached
Displays were matched on serial_number_id.eq(..) || device_id.eq(..), so
two displays with no serial number matched each other through None == None,
and two with no device path through the shared "UNKNOWN" device id. When
a display without either was unplugged, the one that stayed attached
"matched" it, nothing was removed, and every display change started the
3s verification again; state kept listing the display for good.

A serial number now identifies a display only when both have one and it is
not empty, and a display without a device path is told apart by its name.
The removal takes the monitors out by index instead of by id, so that two
displays sharing the id UNKNOWN are not removed together, and adding a
connected monitor no longer skips a display for sharing that id.
2026-10-30 12:13:42 -07:00
LGUG2Z 3b424dd707 fix(config): accept an integer for an initial window placement rule
PlacementTarget deserialized through String, so the integer the docs
promise ("initial_window_placement_rules": 2) made the daemon exit at
start with an untagged enum error while "2" worked. Accept integers as
well as strings.

The derived schema described an externally tagged object that neither
form matches, so describe the type by hand and regenerate both schemas.
2026-10-30 12:13:42 -07:00
LGUG2Z 837ca257d4 fix(monitor): validate the target before moving a container or workspace
move_container_to_monitor and move_workspace_to_monitor took the container
or workspace out of its place and only then looked the target monitor up,
so a monitor index that does not exist left the window on screen but in no
workspace. Check the index first so the command fails and nothing moves.
2026-10-30 12:13:42 -07:00
LGUG2Z 9b9cad997c fix(rules): keep a rule whose id another kind of rule already has
The socket handlers for manage, ignore, object-name-change, tray, layered
and title bar rules skipped a new rule when any simple rule had the same
id, whatever its kind, so ignore-rule exe foo after ignore-rule class foo
was dropped. Share one helper that compares the kind as well.
2026-10-30 12:13:42 -07:00
LGUG2Z a599e9ecc1 chore: keep the line endings LF
Everything but dependencies.json is stored with LF, which nothing said, so
a CRLF file could get in unnoticed (it did, for two files, in a round trip
that shows as a rewrite of every line of both).

* .gitattributes: normalize every text file to LF in the repository and
  check it out with LF, whatever core.autocrlf is (the Windows runner
  defaults it to true)
* rustfmt.toml: newline_style = "Unix", so cargo fmt --check fails on
  a Rust file with CRLF
* CI: fail when a file is stored with CRLF
* dependencies.json: the one file that was stored with CRLF
2026-10-30 12:13:42 -07:00
LGUG2Z bbe002be54 docs(repo): the scenario table made from the last runs 2026-10-30 12:06:25 -07:00
LGUG2Z 774e93fff3 feat(nix): core-lock runs the locking scenario as a suite step 2026-10-30 12:06:25 -07:00
LGUG2Z 3af590c300 feat(repo): scenario-status counts a scenario from its newest log 2026-10-30 12:06:25 -07:00
LGUG2Z d2249f63dc fix(repo): ignore Python bytecode 2026-10-30 12:03:10 -07:00
LGUG2Z 37bb9e3fe4 feat(repo): scenario-status makes the table from the runs 2026-10-30 12:03:01 -07:00
LGUG2Z 781b082778 feat(nix): a test that no extra repeats a shared check 2026-10-30 12:03:01 -07:00
LGUG2Z ab63b0c340 docs(repo): the faster loop, the ledger of the KDE-only suites, the kfw padding 2026-10-30 12:03:01 -07:00
LGUG2Z 70d8041a62 feat(nix): run_suite times each step and can run only some 2026-10-30 12:03:01 -07:00
LGUG2Z a33504f377 feat(nix): the KDE-only suites as extras and run_suite steps 2026-10-30 12:03:01 -07:00
LGUG2Z c144b90509 feat(nix): the VM tests install the daemon built with a constant commit 2026-10-30 12:03:01 -07:00
LGUG2Z e7645cc89a docs(repo): the ledger of what stacks, kwin-restart and the rest moved 2026-10-30 12:03:01 -07:00
LGUG2Z 3fba34cbec feat(nix): core-e2e leaves KWin restarts to the kwin-restart suite 2026-10-30 12:03:01 -07:00
LGUG2Z cc32260230 feat(nix): kwin-restart as a KDE extra 2026-10-30 12:03:01 -07:00
LGUG2Z 00adb90244 feat(nix): stacks as a KDE extra 2026-10-30 12:03:01 -07:00
LGUG2Z 52d44c2829 feat(nix): scrolling as a KDE extra 2026-10-30 12:03:01 -07:00
LGUG2Z b72edf4bcf feat(nix): workspace-switch as a KDE extra 2026-10-30 12:03:01 -07:00
LGUG2Z 92aaaeb65f feat(nix): placement as shared steps and KDE extras 2026-10-30 12:03:01 -07:00
LGUG2Z 0e79d4d009 docs(repo): the ledger of what workspace-rules moved 2026-10-30 12:03:01 -07:00
LGUG2Z caa5b011a8 feat(nix): workspace-rules as KDE extras and shared steps 2026-10-30 12:03:01 -07:00
LGUG2Z d5eff2c445 feat(nix): the KWin helpers several KDE extras use 2026-10-30 12:03:01 -07:00
LGUG2Z 227e1e0e89 docs(repo): the ledger of what core-e2e moved 2026-10-30 12:03:01 -07:00
LGUG2Z 5e0721bec4 feat(nix): core-e2e as shared steps and KDE extras 2026-10-30 12:03:01 -07:00
LGUG2Z 2c58920db0 feat(nix): a suite names its steps and returns what they returned 2026-10-30 12:03:01 -07:00
LGUG2Z af25cf8564 docs(repo): the ledger of what commands and drag-resize moved 2026-10-30 12:03:01 -07:00
LGUG2Z 3b40bedac3 feat(nix): drag-resize as KDE extras and shared steps 2026-10-30 12:03:01 -07:00
LGUG2Z bc5f4babc4 feat(nix): commands as shared steps and KDE extras 2026-10-30 12:03:01 -07:00
LGUG2Z b09011dce7 fix(nix): a suite step may call something that returns a value 2026-10-30 12:03:01 -07:00
LGUG2Z 5570e994e7 docs(repo): rules_exe passes on kfw 2026-10-30 12:03:01 -07:00
LGUG2Z d84d0b98e7 docs(repo): a ledger of the checks that moved to shared scenarios 2026-10-30 12:03:01 -07:00
LGUG2Z f5db6975b4 feat(nix): hotplug as shared steps and KDE extras 2026-10-30 12:03:01 -07:00
LGUG2Z 47123ad748 feat(nix): scoped checks and a suite helper in the core 2026-10-30 12:03:01 -07:00
LGUG2Z 15d6a5aef3 feat(nix): exe_id spells the id of a rule for a program 2026-10-30 12:03:00 -07:00
LGUG2Z f4dbc790a0 docs(repo): config_reload and locking pass on kfw, rules_exe needs exe_id 2026-10-30 12:03:00 -07:00
LGUG2Z dbe84192d4 feat(nix): an optional komorebi-recorder in the core suites 2026-10-30 12:03:00 -07:00
LGUG2Z ce5b389bad docs(repo): config reload, exe rules and lock in the scenario table 2026-10-30 12:03:00 -07:00
LGUG2Z 2e078f9ef6 feat(nix): config reload, exe rules and lock scenarios in the core 2026-10-30 12:03:00 -07:00
LGUG2Z fcf19933be docs(repo): rules_class passes on kfw 2026-10-30 12:03:00 -07:00
LGUG2Z 13d740bfdf docs(repo): reloading the configuration and rules by exe are not neutral 2026-10-30 12:03:00 -07:00
LGUG2Z 733a5a4934 feat(nix): the rules_class scenario, and an app id for Platform.spawn
A workspace rule by class sends a window to its workspace, an ignore
rule by class leaves one alone, and a window of another class stays
where it opened. Platform.spawn takes an app_id, which is foot's -a on
KDE and the window class on Windows. core-e2e passes 271 checks on KDE.
2026-10-30 12:03:00 -07:00
LGUG2Z 6a6d5ce49a docs(repo): rules_class is in the table 2026-10-30 12:03:00 -07:00
LGUG2Z ccbfc83463 docs(repo): scrolling passes on kfw 2026-10-30 12:03:00 -07:00
LGUG2Z e375d0a151 feat(nix): the scrolling scenario
In the scrolling layout each window in turn, given the focus, has it
and is inside the work area; changed back to bsp, every window is where
the layout says. core-e2e passes 265 checks on KDE.
2026-10-30 12:03:00 -07:00
LGUG2Z 9c29757cff docs(repo): lifecycle_hidden passes on kfw, and scrolling is in the table 2026-10-30 12:03:00 -07:00