Commit Graph
53 Commits
Author SHA1 Message Date
shinyobjectz e3df1da170 FC0a: outline-offset and Bevy's outline corners in Blitz, corners resolved as Bevy's (CornerRadius, BorderRadius.px, clamped to the node), BorderColor per side, ImageNode in its own file; ui/styling/borders ported 2026-11-07 14:30:53 -08:00
shinyobjectz c33faa7e5e CI: only a pull request's runs cancel each other; every push to main runs to the end 2026-11-07 14:30:20 -08:00
shinyobjectz fa46f4ebb6 Gates: taxonomy fetches the locked crates first when Bevy's sources aren't unpacked yet (a fresh checkout), so it sees Bevy's names there too 2026-11-07 14:30:12 -08:00
shinyobjectz b4558ac472 FC0a: TextShadow and LetterSpacing on UI text, a centred or right-justified Text justified within its node's width; ui/widgets/button and ui/text/letter_spacing ported 2026-11-07 14:22:03 -08:00
shinyobjectz c0aec0a804 CI: the gates job installs ripgrep, which sdk-coverage reads the SDK with 2026-11-07 14:16:37 -08:00
shinyobjectz b952bb580b FC0a: a sliced UI picture takes an atlas cell (its rect in the layout, scaled to the sheet as Bevy's atlas UVs are); ui/images/ui_texture_atlas_slice ported 2026-11-07 14:14:59 -08:00
shinyobjectz 3a2b027488 FC0a: sliced and sampled UI pictures, UiScale, OverflowClipMargin, a 2D sampler and uv_transform, Text2d, and five more examples ported
UI. raea's Blitz draws CSS border-image (css-backgrounds-3: slice, width, outset, fill, and stretch, repeat, round or
space per axis), loading border-image-source as a third image layer beside backgrounds and masks. ImageNode's
image_mode { Sliced: TextureSlicer } is that border-image, and data-raea-bevy-slice gives Blitz bevy_ui's own rules: the
corners are the slices times min(the node over the picture, max_corner_scale), and Tile tiles a part from its start
every slice times stretch_value. A flipped sliced picture is mirrored on a layer behind its children. An ImageNode's
image can carry its own sampler ({ path, sampler: { filter } }). UiScale lays its roots out in a window 1/value of the
frame and scales it up. Node takes overflow_clip_margin, which Blitz honours for every clipping overflow as bevy_ui's
resolve_clip_rect does. The page bridge resolves url(..) in a style value (a background, a border-image) as it does
an img's src, which no CSS picture did before.

2D. Shape2D and Mesh2d's ColorMaterial take a texture with its own sampler (raea-sys-sampler) and a uv_transform
(Affine2). Text2d places a Text at its Transform, centred as Bevy's Anchor::CENTER. The shape2d row carries the sampler,
the uv_transform and the vertex colours as JSON in one loop, which keeps raea-runtime-scene under 2,000 lines.

Ported, each with a mutant that fails:
  ui/images/ui_texture_slice_flip_and_tile  1.0000 (stretched instead of tiled 0.7857, unflipped 0.8360)
  ui/images/ui_texture_slice                0.9990 (corner scale halved 0.9800)
  ui/scroll_and_overflow/overflow_clip_margin 0.9968 (without the margin 0.9890, tile 120)
  2d/mesh2d_repeated_texture                0.9912 (no uv_transform 0.9420, no sampler 0.9666, Text2d not centred 0.9789)
  ui/layout/flex_layout                     0.9909 (a Center row as FlexStart 0.9463)
58 of 61 ported pass; many_lights, many_foxes and transparency_3d still fail, as before.
2026-11-07 14:07:55 -08:00
shinyobjectz b78afb5676 Licences: the catalog regenerated against the public lock (five crates the engine no longer reaches move into it), and licenses.sh keeps LICENSES/Apache-2.0.txt, which NOTICE's credits cite 2026-11-07 14:07:24 -08:00
shinyobjectz 86af87a90d CI: the gates job installs sdk/raea's packages (bun, frozen lock) before sdk coverage, since node_modules aren't in git 2026-11-07 14:03:29 -08:00
shinyobjectz 8bd8e2c986 CI: one-version resolves each lock offline first and online when that fails (a fresh checkout has no registry cache), still --locked 2026-11-07 14:01:15 -08:00
shinyobjectz adb442d0f2 CI: the names gate reads its pattern as PCRE, so the Mac sees the same retired names as Linux (macOS git ignored \b and saw none); the 20 files left are recorded in names.allow, and the engine jobs install nasm for rav1d 2026-11-07 13:49:23 -08:00
shinyobjectz adedccddf0 Docs: the face test skips where the footage fixtures are absent (they are private now), and the release notes no longer mention the retired export script 2026-11-07 13:47:50 -08:00
shinyobjectz e2c4056347 Skills: the check works in a public checkout. The retired-word glossary is read only where it is (RAEA_GLOSSARY, else docs/skills.glossary.md), and a section's source may be in the maintainers' checkout (RAEA_LIVE), since both are private now models-1 2026-11-07 13:43:45 -08:00
shinyobjectz 3932de270b Skills: files.md regenerated from the public tree (the private signer's ~/.raea rows are gone) 2026-11-07 13:42:17 -08:00
shinyobjectz 11fd9d763e PF5: public CI on GitHub's hosted runners (guard, L0's repo-wide gates, a fresh clone's cargo check on macOS and Linux)
The cutover's first commit should have carried this file: the split moved it to .github/workflows/ci.yml, then removed
raea-dev's own CI at the same path along with the private paths. Every pull request and push to main now runs the
names-and-secrets guard, the repo-wide gates and cargo check --locked of raea-cli.
2026-11-07 13:40:32 -08:00
shane 3381690416 raea is developed here now (public-first)
This repository was an export of a private one; from this commit on it is where raea is developed. Contributions:
CONTRIBUTING.md.
2026-11-07 13:36:50 -08:00
shane cc729f2b25 Merge public PR #11 from JimGHTB12: check: flashing past WCAG 2.3.1 is a P1
Landed in raea through the private development repository with JimGHTB12 as author (a later export). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:07 -08:00
shane e8876bbe32 Merge public PR #10 from JimGHTB12: check: a freeze that runs to the end of the file is found
Landed in raea through the private development repository with JimGHTB12 as author (a later export). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:07 -08:00
shane 89cd67f664 Merge public PR #7 from tobitege: security updates, and the Windows build and raea play fixed
Landed in raea through the private development repository with tobitege as author (a later export). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:07 -08:00
shane b271b3b26c Merge public PR #5 from knowsuchagency: check: a voice ending a sentence isn't a dead stop
Landed in raea through the private development repository with knowsuchagency as author (export 1dff4f0). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:07 -08:00
shane 29cd01fd1b Merge public PR #3 from kumanday: raea render PAGE.html works from an install, and HTML pages animate
Landed in raea through the private development repository with kumanday as author (export 1dff4f0). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:06 -08:00
shane 12e7e30e19 Merge public PR #2 from kumanday: render --alpha: transparent PNGs for overlays
Landed in raea through the private development repository with kumanday as author (export 1dff4f0). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:06 -08:00
shane b6f91baa7f Merge public PR #1 from kumanday: Stills of a 2D composition skip the whole-timeline 3D pass
Landed in raea through the private development repository with kumanday as author (export 1dff4f0). This merge brings the original commits into this repository's history so they're credited here; it changes no files.
2026-11-07 09:47:06 -08:00
shane d3c399b4d5 raea origin/main 2026-11-07 01:29:24 -08:00
shane bd1ccec7f9 Post releases to the raea Discord 2026-11-06 23:20:31 -08:00
shinyobjectz c6243796a3 raea a6df6e9b3 2026-11-06 21:07:12 -08:00
shinyobjectz 6153823132 raea aa607870a 2026-11-06 21:00:07 -08:00
shinyobjectz ad67361762 raea e2d2dd2c0 web-ad67361 2026-11-06 20:49:59 -08:00
shinyobjectz 88ccb8284d raea 2e9eda9fa 2026-11-06 18:08:53 -08:00
shinyobjectz f955e031da raea 644193211 2026-11-06 17:26:46 -08:00
shinyobjectz 5e1c192d29 raea 9565b5f97 2026-11-06 16:27:57 -08:00
tobitege c88adb4695 raea play on Windows: plain paths for home() and the bundler's folders, a junction for the work folder's node_modules
Three Windows bugs stopped `raea play` before its first frame:

- raea-io-home: home() canonicalized the tree it came from, which on
  Windows gives a verbatim \\?\C:\ path. The lite entry imports
  bevy-react's bridge.ts by that path, and Rolldown can't resolve it
  ("Could not resolve '\\?\C:\...\bridge.ts'"). home() now drops the
  prefix before a drive path, as src() already did.
- raea-bundle: EditResolve canonicalized its folders the same way, so no
  importer (named without the prefix) was ever under the work folder. A
  live game's own `import "react"` went to the engine's React instead of
  the live runtime its tsconfig paths name: "not a function" at the
  first frame.
- raea-runtime-bundle: the work folder's node_modules link was made on
  Unix only, so lite/parts' ../../node_modules/bevy-react/src/bridge
  resolved nothing on Windows. It is a junction there now (no rights
  needed, as raea-io-npm links packages), removed before the work folder
  so the engine's packages are never touched.

Each has a regression test that fails without its fix.
2026-11-06 05:34:34 +01:00
James DimachkieandClaude Opus 5.5 08c4294a7f check: fix a missed strobe and a false red flash in the flash rule
A patch strobing while its background dimmed could leave the saved extreme stale, because the
window's mean outweighed the patch. Extremes now advance on the pixels that are swinging. And a colour
crossing the saturation line by one level read as a jump from zero; red's value now runs on through
the line, and a change counts when either end of it is saturated. Both found by the Codex review
on this PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 20:30:02 -08:00
James DimachkieandClaude Opus 5.5 94d344e268 check: flashing past WCAG 2.3.1 is a P1
raea check said "nothing to fix" on a render of six full-frame white flashes a second.
Flashing like that can cause seizures, and nothing in the floor looked for it. The new rule
counts pairs of opposing changes in the same pixels, in overlapping windows a third of the
frame wide and high, for general and saturated-red flashes, and fails past three a second.
Every decoded frame counts on its exact timestamp. A file FFmpeg can't decode is refused and
decode errors are a finding, rather than either reading as clean. It's a screen, not a
certification, and it says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 20:04:18 -08:00
James DimachkieandClaude Opus 5.5 16db1fe214 check: measure a trailing freeze on the clock the filter reads
A stream's duration is a length, not an end time. With video starting 2 s after the sound, a 6 s
freeze at the end read as 4 s, which drops it from P1 to P2. FFmpeg's filters count from the file's
first stream, so the picture's end is now its start relative to that plus its length. Found by the
Codex review on this PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 20:03:18 -08:00
tobitege 3e7134bb68 deps: gpu-allocator and gilrs-core on windows 0.62, so wgpu-hal's DX12 backend builds on Windows
gpu-allocator 0.28 accepts windows 0.53 to 0.62 and was resolved to 0.54
(the one cpal and gilrs-core pull in), while wgpu-hal 30 hands it
windows 0.62 types: `cargo build -p raea-cli` on Windows failed in
wgpu-hal's dx12/suballocation.rs with ten "expected ID3D12Device, found a
different ID3D12Device" errors. gilrs-core (windows 0.44 to 0.62) moves
to 0.62 with it; cpal 0.15 keeps 0.54.
2026-11-06 04:55:36 +01:00
James DimachkieandClaude Opus 5.5 a819751fb5 check: a freeze that runs to the end of the file is found
FFmpeg's freezedetect logs freeze_duration when the picture moves again, so a
freeze still running at the last frame has only a freeze_start. The rule counted
a freeze when it saw the duration, so a film frozen to its end passed with "nothing
holds still". Footage that runs out before the composition ends looks like this.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 19:46:28 -08:00
tobitege c365631a59 deps: security updates for tokio, rustls-webpki, wasmtime, zstd, ruzstd and undici
Lockfile updates within the existing version ranges, found by checking
the lockfiles against RustSec and the GitHub Advisory Database:

- tokio 1.54.1, rustls-webpki 0.103.16, webpki-roots and
  webpki-root-certs 1.0.11, zstd 0.13.4 / zstd-safe 7.4.0
- wasmtime 48.0.8 (root lock and engine/sandbox/wsx), wsx now asks for
  48.0.8 at least
- ruzstd 0.9 in raea-io-assets, with bevy_image 0.20.1 (and the Bevy
  crates it needs at 0.20.1), so one ruzstd builds again; bevy stays
  pinned at =0.20.0
- sdk/shell: undici 7.30.1 through an override (just-bash 3.6.0 pins
  guarded-fetch 0.1.3, which pins undici 7.29.0)
2026-11-06 04:19:27 +01:00
shinyobjectz 46e4b5295b raea a58fe84a985bdeb8b965446abd7757c352811012 2026-11-05 19:09:22 -08:00
shinyobjectz 91c544d21b raea 19885ca8c79779eff393afe944e54f122906c8a9 2026-11-05 17:26:47 -08:00
shinyobjectz 1dff4f0aa8 raea e699cf684509a8bbada118cc302c56e99065a680 2026-11-05 17:19:37 -08:00
Stephan Fitzpatrick f246af81be check: a voice ending a sentence isn't a dead stop; bands read in dBFS
`raea check` flagged its-a-race at 13.36 s ("the lows: a steady sound at
-0 dB stops dead") on both the Metal and llvmpipe exports. Nothing is cut
there: it's mid-segment, the mix follows race.wav at a constant +11.5 dB
through it, and the speaker ends "AI became a thing." and pauses. Dense
speech's lows held within 2.6 dB (the steadiness limit is 3), fell 12 dB
in one step and stayed down, so the rule took the voice for a cut bed.

- dead_stops: a stop now has to start from the bed's level (within 6 dB
  one or two steps before) and be gone by the next step (DROP under the
  bed). A word's tail comes back up after its first drop; a cut source
  doesn't. This also stops it flagging the last step of a 100 ms fade.
  It only adds conditions, so it finds nothing the old rule didn't.
- levels: the bands were 10*log10(|X|^2/N), about 16.5 dB over dBFS
  (hence "-0 dB" for lows at about -17 dBFS). They now read mean square
  through Parseval and the Hann window's power, so a tone reads the same
  in its band as in the mix. The band floor goes from -65 (old scale,
  about -81.5 dBFS) to -80 dBFS.
- The message says dBFS and names a fade long enough (100 ms) for a bed.
- Tests: the real 10 ms levels of its-a-race at 12-14 s (not flagged, and
  a bed cut under that voice still is), a cut partway through a step,
  a 100 ms fade, and bands in dBFS. The old code fails all three new
  assertions.

Claude-Session: https://claude.ai/code/session_01LJ21XqsPxtVd2swKwbVMa7
2026-11-05 19:38:27 +00:00
shinyobjectz fb3f70844e raea 34e25a107c2b006b1b0b7f39f286040074c8264c 2026-11-05 09:35:41 -08:00
shinyobjectz 925bc03c09 raea c8b196fdb32690c0ab507b6ecb34463bd859abf8 2026-11-05 04:36:44 -08:00
Leonardo Gonzalez 30c80d9a1f render --alpha: transparent PNGs for overlays
A frame or a folder of PNGs kept transparent where the composition draws nothing, for an overlay in another
editor's timeline. Three places made every frame opaque: the program's camera cleared to black, composite.k
packed alpha 255, and the PNG writer took the composite as it came. Now --alpha clears to #00000000,
composite.k (and composite_tex.k, both from gen.py) carries coverage through the clips and the overlay and packs
it, and the PNG folder writer makes the premultiplied composite straight. Over an opaque background every new step
keeps alpha at 255, so renders without the flag are the same pixels as before. A video output with --alpha is
refused with the ffmpeg line that makes ProRes 4444 from the folder.
2026-11-05 05:06:18 -05:00
Leonardo Gonzalez 8a365c13be HyperFrames pages: the timeline registry made before their scripts, the size read from the root element
Every HyperFrames page registers its timeline with window.__timelines["main"] = tl. HyperFrames' runtime makes
that object before the page's scripts run; raea's didn't, so each such script threw at that line and the page
never moved. And a page whose <head> styles name [data-composition-id=...] in a selector was sized from that
selector (no data-width there, so 1920 x 1080) instead of its root element.
2026-11-05 05:02:34 -05:00
Leonardo Gonzalez 6e7bbad157 raea render PAGE.html: the HTML runtime from raea's files, bundled in process 2026-11-05 05:02:34 -05:00
Leonardo Gonzalez 2774a34db1 Stills of a 2D piece skip the 3D rows' pass over the whole timeline
A still (--frame, --at, a PNG folder) first stepped React through every frame of the composition to find 3D,
even for a piece with none: 16 s before an 80 s film's single still, against ~2 s for the frame itself. The
frames asked for are now looked at first, each on its own (frames are pure); when none shows 3D their render
needs no rows and the pass is skipped. A still with 3D steps the timeline as before.
2026-11-05 04:23:09 -05:00
shinyobjectz ce59cf5f3f raea 10bed2385ced7a7130f228c5667abd36a4daecda 2026-11-04 23:09:58 -08:00
shinyobjectz f675b0ad2b raea dc579e418 2026-10-31 13:15:29 -07:00