Files
magpie/build/darwin
yetone bdb856b23c icon: the bird is white in macOS 26's clear and tinted icon styles, where it was a dark glass bird on a dark tile
psikent (Discord #feedback, 11-03) sent a dark Launchpad where magpie's
icon was a near-black tile with a near-black, glassy bird. AppIcon.icon
gave the bird a fill for the light and dark appearances only, so in the
Clear and Tinted styles (System Settings, Appearance, Icon & widget
style), which draw from the tintable rendition, actool used the light
fill: the bird at 0.086 grey, whose luminance is what the system tints.
On a dark tile that is dark on dark. The bird now has a "tinted" fill of
white, so it takes the tint (or the clear glass) at full brightness.
Light and plain Dark are unchanged.

Not (a) or (c): the shipped Assets.car (v0.1.2816 in /Applications,
same sha as build/darwin/Assets.car) matched icon.json, its dark
rendition already a 0.957 bird on the dark grey tile, and the release
build (magpie-releases release.yml, `make app`) copies that file.

Run at this head, on mote (macOS 27.2, Xcode 27.2):
- xcrun actool on build/darwin/AppIcon.icon, as `make icons` runs it;
  that output is this Assets.car (sha 72fe0ee3). The old one was made by
  Xcode 26.5; StorageVersion 17 and the 25 renditions are the same, and
  this Mac's macOS 26.2 assetutil reads it, the tintable group now
  filled with Color-2 (white).
- A test bundle (build/darwin/Info.plist, magpie.icns, the Assets.car)
  drawn by IconServices for appearances 0-3 x variants 0-3, and by
  NSWorkspace iconForFile under AppleIconAppearanceTheme RegularLight,
  RegularDark, ClearLight, ClearDark, TintedLight and TintedDark (mote's
  setting put back after). The old Assets.car reproduces the report in
  ClearDark and TintedDark; the new one shows a bright bird in all six,
  and RegularLight / RegularDark look as before.
- Broken by hand: a colour-coded icon (light red, dark green, tinted
  blue) showed Clear and Tinted draw from the "tinted" fill.

Not tried: drawing it on macOS 26 itself (no macOS 26 test box; mote is
on 27), and macOS 15 or older, which use the flattened renditions that
this change doesn't alter. IconServices' variant 1 with dark appearance
(no setting in the six themes maps to it) still draws the light bird on
a black tile, as before.
2026-11-03 21:14:33 +08:00
..
gui: the page runs in macOS 12's WebKit — no regex lookbehind, the few newer built-ins filled in, fallbacks for container queries, subgrid, :has and color-mix (#220 uclort: on macOS 12.7.6 the app opened blank, the panel showing its tab bar, a "Profiles + Save current" heading and "Open magpie · Quit" and nothing else, no button working) — the page runs in the system's WebKit, on macOS 12 Safari 15.x's, and app.js's snippet highlighter had a regex lookbehind, (?<==)\S+ (app.js:2167), which WebKit only parses from Safari 16.4: a SyntaxError in a literal fails the whole file, so app.js never ran (and routing.js and library.js, which lean on it, threw), leaving index.html's static markup; library.js had two more, (?<![\w-]) in the SVG greying (library.js:162-163). The highlighter now finds a value after "=" by hand (the character before the match, a sticky \S+) and the greying checks the character before a colour name in its replace callback, each giving the same output as before (compared on shell, curl, Python and Node snippets and an SVG with attribute and style colours, data-fill and x-color left alone). Built-ins newer than Safari 15.0 in use, routing.js:307's findLast and library.js:1042's structuredClone (15.4), are filled in by a new compat.js loaded before the other scripts (with at, findLastIndex and Object.hasOwn), each only where missing; structuredClone there is a JSON copy, enough for the API's plain data. Styles: a selector list with :focus-visible (15.4) drops the whole rule before 15.4, so the agent handle's hover, an account's Remove and protocol buttons showing on hover, the protocol menu's hover and the editor's focus ring are split from their :focus-visible (or it is dropped where :focus covers it); .acc:has(.aq) and the panel's .profiles:has(> .chip-input) hint (15.4) are classes set by app.js (with-aq, naming); the Routing page's container queries and the request list's subgrid (16) get @supports not fallbacks by the window's width (the tray panel is narrower than all of them) and a row's own columns; and the panel's --panel-tint, a color-mix() (16.2) in a custom property that would have gone invalid and painted the panel clear (tintPanel then handing the system white under dark text), falls back to --bg, as the floating status and Library's sticky head do. Other things newer than 15.0 are left as cosmetic: inert (15.5) on the folded agent list, accent-color, the rest of color-mix() on hover and focus shades, .quota's subgrid rows. The build: Go 1.25 and later run on macOS 12 and up only (the linker stamps 12.0 as the oldest), so Info.plist's LSMinimumSystemVersion and the Makefile's -mmacosx-version-min go from 11.0 to 12.0 and the site says macOS 12+ rather than 11+. Tested with a new internal/gui/tests/old-webkit.test.cjs: every assets/*.js parsed with the Babel parser Playwright bundles, failing on a regex lookbehind, v flag or modifiers (in a literal or new RegExp("…")), a class static block, decorators, import attributes or using (checked against the old highlighter's regex and a static block, and not on named groups, lookahead, ??= or private methods); a grep for built-ins newer than 15.0 (at, findLast, structuredClone, hasOwn, toSorted and co., Set methods, groupBy, withResolvers, Iterator helpers, popover …) unless compat.js fills them in (fails on main's routing.js:307 and library.js:1042 without it); compat.js the first of the page's scripts and every script loaded; the CSS with no :has(), no :focus-visible in a mixed list, no nesting or dvh, and @container, subgrid columns and a color-mix() custom property only with an @supports not fallback in the same file; and, in WebKit with those built-ins deleted, the panel's tabs, Save current's name field and every window page drawn with no page error. Documented in internal/gui/tests/README.md. go build -tags nogui (and GOOS=linux, GOOS=windows), go build (darwin GUI), go test -tags nogui ./... and the whole GUI suite (130 tests) pass. Not tried on a real macOS 12 or Safari 15: the old engine's parse is judged by the parser, not run.
2026-09-29 23:52:38 +08:00