From 2bd4066a932ec8fc401e4b85e9f8441b17df3cfb Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 11:34:44 -0300 Subject: effects out, Lift and InactiveDim: the core's per-pane lift springs (Pardes.lifts, lift_serials, Region.lift, Chrome.lift_style) and the unfocused panes' recede (draw.zig's dim, its contrast memo and linear blend) go with the words, their settings and tests; the window loses its soft shadows (addSoft, the lift and rim casting, the shadow a sliding pane cast, the contrast ceilings, decor.frag's Gaussian path) and Chrome.sel_fg and sel_bg, which only the ceilings read; a pane closed mid-lift left its spring unsettled and continuous() true for ever, so a window could never go idle (monkey-gui failed `never settled` in the Lift combinations, and passes now); GUI golden 18-mid-transition changes, its sliding pane casting no shadow (the scene leaves with the transitions); root_ctl's out-of-range case is SearchRows', settings' GUI-only case GripWidth's, the window monkey loses its Lift axis Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/behaviour/root_ctl.zig | 2 +- test/behaviour/settings.zig | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'test/behaviour') diff --git a/test/behaviour/root_ctl.zig b/test/behaviour/root_ctl.zig index 7bf15ee2..b9909eef 100644 --- a/test/behaviour/root_ctl.zig +++ b/test/behaviour/root_ctl.zig @@ -63,7 +63,7 @@ test "root-ctl: the root ctl reads the settings as a write takes them, and takes .{ "Nonsense 1", "unknown control message \"Nonsense\"" }, .{ "Verbose maybe", "bad value in control message; takes on, off \"maybe\"" }, // A number's refusal names its range. - .{ "InactiveDim 200", "bad value in control message; takes 0-100 (a percentage) \"200\"" }, + .{ "SearchRows 200", "bad value in control message; takes 1-100 (rows) \"200\"" }, .{ "MessageLinger x", "bad value in control message; takes 0-60000 (milliseconds) \"x\"" }, .{ "Newcol 2", "wrong #args in control message \"Newcol\"" }, .{ "Theme", "wrong #args in control message \"Theme\"" }, diff --git a/test/behaviour/settings.zig b/test/behaviour/settings.zig index 76b60da4..5ad4b7eb 100644 --- a/test/behaviour/settings.zig +++ b/test/behaviour/settings.zig @@ -93,8 +93,6 @@ test "settings: a setting this frontend cannot show says GUI-only, never run as var s = try Session.initFile(std.testing.allocator, "x\n"); defer s.deinit(); if (comptime @import("pardes_config").platform != .gui) { - _ = try s.refused("/ctl", "Lift on\n"); - try std.testing.expectEqualStrings("Lift is GUI-only, invalid here \"Lift\"", s.said); _ = try s.refused("/ctl", "GripWidth 120\n"); try std.testing.expectEqualStrings("GripWidth is GUI-only, invalid here \"GripWidth\"", s.said); // A builtin the GUI alone has, written to a ctl or an exec, never -- cgit v1.3