Repository navigation
Conversation
Reuse rune::render::write_png, rune::color::srgb_decode, and crates/rune/assets/Inter-*.ttf in rune-fx and rune-light examples, and drop unused Knob tables and duplicate array texture views.
…, or launch activation
AppSpec gains min_size (None keeps 420×400; Hex's window wants 860×560). On macOS, set_dock_icon switches the activation policy between regular and accessory at runtime, for a menu-bar app's "Show Dock icon" setting. examples/background takes --accessory and a "dock on|off" command.
…, Path) Two uber-quad kinds, KIND_SEGMENT (analytic capsule/box per stroke segment) and KIND_TRIANGLE (ear-clipped fills, antialiased only on polygon edges), so shapes that change every frame (waveforms, meters) never touch the glyph atlas. examples/shapes shows a filled envelope, polylines, meters, Bezier paths, a concave fill and hairlines. Existing kinds are unchanged: the settings and kit-gallery snaps are byte-identical.
Waveforms in a flexible row can't know their width when the view runs; a view box maps them onto whatever size the element lays out at. Stroke widths stay in points.
… and never-key HUDs Windows now holds type-erased hosts, so an app can add an overlay with its own state type to the same loop: App::overlay(OverlaySpec, state) -> OverlayHandle<T> (show, hide, set_edge, update, availability), centred on the top or bottom edge of the primary display, sharing the GPU pool and never keeping the loop alive alone. Wayland uses a zwlr_layer_shell_v1 surface on winit's display (overlay layer, keyboard none, empty input region, preferred buffer scale); X11 an override-redirect notification window; macOS a status-level window on all Spaces ordered front without becoming key; Windows a WS_EX_NOACTIVATE|TRANSPARENT|LAYERED tool window shown without activation. Hosts drop in exiting() while winit's display is still open. examples/background drives a recording-HUD overlay (hud show|hide|top|bottom).
rune::Pixels is a cloneable, thread-safe image a producer replaces with set(w, h, rgba); El::pixels draws it scaled into the element's rect and corner radius without re-running the view. Each runtime keeps a CPU-side 1024² RGBA atlas (allocated on first use, uploaded by dirty rows) that the renderer binds as an Rgba8UnormSrgb texture at binding 2; instance kind 7 samples it bilinearly on premultiplied texels, clamped to the image. A GPU test checks texel-for-texel drawing and new frames; Settings and OpenCode snapshots are byte-identical.
Two threads creating Vulkan instances at once crash inside the loader (parallel GPU tests on lavapipe; Hex saw the same with transcribe.cpp). Gpu::instance and Gpu::new now hold a process-wide lock, so the rune tests pass in parallel again.
place(edge, margin) moves an overlay and changes its distance from the edge (Hex's HUD uses 12 pt at the top and 24 pt at the bottom). On Windows a bottom overlay on the primary display measures from the work area, so it stays above the taskbar.
…'s Workbench system
…nels on macOS OverlaySpec gains align/inset (centred or in a corner) and interactive (clicks reach the view; X11 keeps the input shape, Windows drops WS_EX_TRANSPARENT|LAYERED, Wayland reports Unavailable). OverlayHandle gains set_align and resize. On macOS winit's view and its Metal layer move into an NSPanel with NonactivatingPanel, so a click never activates the app and the panel never becomes key; new surfaces bind the moved view directly and the view returns to winit's window before it drops. examples/background adds a clickable corner capsule.
…ates signal interactivity
The field is built in one place for build and trigger; trigger reflects open (chevron, hover fill) for apps that open their own menu, and never builds a listbox.
…m/rune, production deploys anoma.ly/team/rune
feat(site): docs site hosted at anoma.ly/team/rune
AppSpec::chrome: macOS full-size content view (on by default, as before) with traffic lights placed like Electron's trafficLightPosition (re-placed after resize, scale, focus and un-occlude), and drag_regions, which stops AppKit's titlebar band from moving the window so only .window_drag() regions do. A double press on a .window_drag() region zooms (honouring AppleActionOnDoubleClick); Runtime::take_titlebar_action replaces take_window_drag. Hover groups with group_opacity/group_color and per-element hover curves, .cycle() opacity loops that wake the loop at their own fps (hosts report wake_at to the multi-window loop), and Drag::dx/dy. Growth and virtual rows spring horizontally so a re-centred column follows its moving parent. Traces mark held presses as touch and instant hover swaps as intended for motion-lint; --chrome paints the traffic lights and reports overlaps.
Sidebar under the traffic lights with Home, Search sessions, New session and pinned session tabs (project avatar, title, busy/attention/unread marks, close on hover), a resize handle (120-640, Beta's delayed pill), and the sidebar toggle that rides to the collapsed spot on Beta's 0.3 s spring. Tabs persist in <data dir>/rune-opencode/tabs.json and seed read-only from Desktop Beta's own list. Status follows /api/session/active, session.execution.*, session.viewed and permission/form events. Fixture gains tabs, read state and a status scene; scripts/check-shell.sh renders the headless checks.
Contributor
|
Thanks for this! We rewrote the repo history, so this branch no longer lines up with |
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3.
Linux QA pass over all 9 examples (headless snapshots + first-pixels green on Lavapipe; details in #3): the only blocker on stock Ubuntu 24.04 is the missing XKB X11 library — every windowed example panics at startup without it. Nothing documented system deps, so this adds a short prerequisites note (apt line + Lavapipe ICD var) under the Run section, verified end to end: panic before install, clean run under Xvfb after.
Docs-only, no code touched.