A frame whose draw commands equal the last presented one is skipped, and on
the software renderer a changed frame is redrawn only where it changed, for
every app. The launch field .skip_same_frames becomes .draw_every_frame,
which turns both off; bench sets it so it keeps measuring full frames.
The launch struct an app sees changed, so libreaktor's SOVERSION is now 1,
and the runtime package libreaktor0 becomes libreaktor1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full audit of Reaktor's own sources: section banners, return-value and
parameter notes, and descriptions of what a function does are gone. What
stays records a library, OS or browser quirk, a threading or lifetime rule,
or a license. Two comments that still named libdbus are corrected. Code is
unchanged; the vendored nk_sdl3_renderer.h keeps its own comments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
REAKTOR_SDL_GPU, on by default, builds SDL's GPU API and its gpu renderer:
Direct3D 12 on Windows, Metal on macOS, Vulkan on Linux and the BSDs, which
lets an application set its own shaders with SDL_CreateGPURenderState. It is
--renderer sdl-gpu, or the launch's .renderer; --renderer gpu keeps meaning a
native driver. Built in, it costs 184 KB on Windows and nothing at runtime.
The launch's .hdr, or --hdr on, makes the renderer with an scRGB output, and
secondary windows follow the main one. The software renderer, or one that
refuses it, is made SDR as before; so is SDL's gpu renderer on a display that
cannot show the linear swapchain, where it would otherwise draw everything
dark. The resize settle frame now shares the redraw switch.
Requested by PapayaPlayer (#104, items 2 and 3).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
background and background-image take a two-stop linear-gradient() run to a
side or a multiple of 90deg; background-color leaves it in place, as in CSS.
reaktor_style carries it as gradient, gradient_from and gradient_to, and bg
falls back to the first stop where nothing draws it. A rounded gradient is the
corner masks cut into texel strips along the run, each tinted where it sits,
and multi-color runs between them, so its edge is as smooth as a solid fill's
on the software renderer. reaktor_fill_gradient draws one for an application.
Requested by PapayaPlayer (#104, item 1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reaktor_item_spacing, reaktor_text_color and reaktor_current_font answer what showcase read from ctx->style most. Showcase uses them; its pushes still point into ctx->style, so Nuklear's layout stays in the ABI.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
reaktor_tray_hide_on_minimize(app, 1) hides the main window when it is
minimized while the tray icon is open. reaktor_set_visible(app, 1) now
restores a minimized window, and the showcase's Show entry uses it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The engine parses every selector when the sheets load and a rule's
declarations the first time a query matches it. Loading the sheets takes
0.16 ms instead of 0.35, and the first round of queries on top 0.21 ms
instead of 0.33. A sheet can be added after the others: the role sheet is
appended with reaktor_style_add instead of loading every sheet again.
Diagnostics and the Inspector show where startup goes: the window, the
font atlas and the first frame, beside the stylesheets.
REAKTOR_SDL_D3D, on by default, builds SDL's Direct3D 11 and 12 renderers;
off, a program is 105 KB smaller and draws in software only. MSVC builds
with /Gw, so unused data goes as unused functions do: 24 KB off the small
programs, 96 KB off the showcase. DOCUMENTATION steers away from direct3d11,
whose CPU is in SDL's renderer or the driver, and the chart drops it.
Against the libcss build, measured in one session with the clock pinned,
old and new alternating: private memory is 0.16-0.28 MB lower everywhere,
direct3d11 frames a little faster, and the rest the same within noise.
PERFORMANCE.md carries today's sizes, memory, frame times and WARP, with
the frame-time method written down.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
core/css/css.c reads the stylesheets once into typed values and cascades
them as CSS does: !important, then specificity, then source order. It takes
var(), color-mix(in srgb, ...), em and rem, calc() over pixels, the @media
features Reaktor answers, @import at the top of a sheet, :not(), :enabled,
attribute selectors read as classes, descendant and child combinators, and
escapes. Rules are bucketed by the last compound of their selector, so a
query checks only the rules that could match. cssflat.c, LCUI's libcss and
yutil, and the lcui submodule go.
Screenshots of every showcase tab, notepad and simple, light and dark, with
normal and more contrast, are byte-identical to the libcss build, with
Water.css and with Simple.css; --a11y-dump differs only in the a11y struct's
size. Three values change to what CSS says: an unset background is
transparent black, an unset border color is the text's, and Simple.css's
:enabled:hover no longer reaches a disabled button. Against libcss, loading
the sheets takes 0.35 ms instead of 1.24 and a first query 0.32 us instead
of 4.4. csstest covers the cascade, values, @media and hostile sheets: import
loops and fan-out, var() that grows or expands too often, deep calc(), a sheet
left open, a huge file. 200,000 mutated sheets ran clean under AddressSanitizer.
Simplifications: dead state (redraw_always, sw_noaa, the hover-gap pin, a
muted note, an overwritten slider range, the font-baking blocks of the SDL
renderer, the a11y change index); REAKTOR_LAY_FILL for FILL_X | FILL_Y; one
helper each for flag parsing, capture runs, timings, paths from the working
directory, array growth, focus moves, tooltips, button presses, a11y slot
probes, UIA fragments and test strings; launchtest's notef() and last_node();
the output folder set once in CMake and a write-if-changed function; one test
list, tools/ci/tests.txt, for every workflow, so basetest and imagetest run.
The showcase drops its relaunch button, an ask() button is as wide as its
label, and build.sh takes a bare target. The docs follow, and PERFORMANCE.md
and the chart carry a new pass of all seven benchmark arms on one machine.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
core/render/font.c builds the atlas: FreeType 2.15.0 draws each glyph with
light hinting, and the metrics are Nuklear's, so layout is unchanged. The
Text module draws its fallback glyphs with FreeType too, and a font is
checked by opening it with FreeType. NK_INCLUDE_FONT_BAKING and
NK_INCLUDE_DEFAULT_FONT are off, which takes stb_truetype and stb_rect_pack
out of the build.
FreeType builds only its TrueType, CFF, autofit and smooth modules, and
reaktor_ftoption.h drops what Reaktor never reads, its environment override
among them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A link handed its URL straight to SDL_OpenURL, which on Windows opens anything: a file: URL runs a program, a share path sends the user's network credentials, a registered protocol reaches whatever handles it. An app showing links from documents or user content let that content do so. reaktor_link now opens http, https and mailto, plus the schemes its .schemes lists, as "file,ftp", and logs anything else. urltest covers the schemes, drive and share paths, and blank or missing schemes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- nk_impl.c builds with /wd4116 (Nuklear's NK_ALIGNOF) and the core library
with /wd5287 (nuklear.h's own enum arithmetic), as the showcase already did.
- benchmarks/run.ps1 holds the process handle, without which Windows
PowerShell 5.1 reports no exit code and every arm reads as failed.
- Diagnostics' startup memory gets REAKTOR_RSS_START after the application's
start callback, so the stylesheets line no longer carries the showcase's
splash window and tray (+2.4 MB private there, +0.0 MB for the sheets).
- The button row of the widget table says .keys is announced, and the key
hook binds it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A launch that sets .skip_same_frames hashes each frame's draw commands field
by field (the command structs have gaps holding stale bytes, and the buffer
can still hold a pass that was laid out again) and neither renders nor
presents a frame that matches the last presented one. Exposed, shown,
resized, restored or rescaled windows, renderer resets, shots and captures
are always drawn. Off by default; the showcase turns it on and its
Diagnostics page counts frames drawn and skipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reaktor_test_app launches an application on SDL's dummy video driver and
runs a script on its own thread once the first frame settles. The script
finds widgets by name or by a .box.mark ("#mark"), clicks, types and presses
keys through SDL events, reads values and states, and waits for each frame
to settle; the run exits 0 when every check passed. tests/uitest.c covers
it, and CI runs it on every platform.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .fit_content sizes an icon button to the icon's drawn width, a 12 px gap,
the label and half the sheet's padding; a .box.w is then its least width,
and the button rule's min-width applies.
- At any width the icon and label are centered together on the icon's drawn
pixels; the icon follows the button font, or 'button .icon' in the sheet.
- reaktor_button_width, reaktor_button_accent_icon, .accent with .icon.
- reaktor_button_custom and .paint/.paint_user: the sheet's button with the
inside painted by the app.
- Showcase: icon buttons sized to content and wrapping, a Width section with
the four ways to size a button, and a Custom content section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reaktor_tip(app, rect, text) is a tooltip over a rectangle the caller drew,
in the .tooltip style, and makes it a hot rectangle so hover redraws.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
.single_instance claims a named mutex and pipe on Windows, a Unix socket
elsewhere; a later launch sends its paths, made absolute, and exits.
--new-instance opts out, and shot and dump runs never claim. The showcase
demonstrates it on Diagnostics, and CI checks the hand-off on every platform.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@media (prefers-reduced-motion) and (prefers-contrast) are answered from the
OS (Windows settings, macOS accessibility, the desktop portal, the browser),
reduced motion makes every animation jump to its end, and reaktor.css
strengthens muted text and borders under more contrast. --motion and
--contrast override; --watch-css restyles when a sheet on disk is saved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A "Nuklear underneath" section on the Display tab uses a Nuklear menu,
tree node, selectable element and right-aligned checkbox, and reads the
style structs and the panel bounds. Writing it found reaktor_tree_element
naming a function Nuklear does not have (reaktor_tree_element_pop is what
was missing), and no REAKTOR_ names for the symbols or for TEXT_RIGHT.
Widgets passed cursors as bare numbers, which is why the text fields'
I-beam looked unused; they are named now. reaktor_style_darken and
reaktor_locale_start move to internal headers, and the two _is_open
queries are documented.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fill anti-aliasing went off on every renderer when rounded fills became
masks, which left the bench's rotated boxes jagged under --renderer
direct3d11. A GPU renderer anti-aliases fills again; the software one,
the default, still does not. .anti_aliasing (REAKTOR_AA_AUTO, _ON, _OFF)
and --aa <auto|on|off> decide, and the Diagnostics page reads it back.
The showcase's pixels do not change on either renderer; the bench
screenshot is retaken.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Water.css replaces tiny.css and Bamboo replaces simple.css. cssflat reads
@import, and drops a token too long for libcss or a value with a ';',
which crashed Picnic. reaktor.css maps the tokens Water lacks and no
longer overrides its hover.
A label's color token falls back when it vanishes on the page, an icon
moves to the edge before it is dropped, and a field filled like its card
takes the page's color. Buttons get .flat, for icon-only toolbar buttons.
The Inspector opens from Diagnostics, keeps its actions as flat icons
beside the tabs, and has room around its contents. Notepad's menu bar and
the Translations language row are centered and sized. Screenshots are
retaken.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An optional module an app attaches with .inspector. It opens in a window
of its own with Ctrl+Shift+I (Cmd+Option+I on macOS), a call, or
--inspect, and in a floater on the web. Off, pixels and dumps are
unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every SDL_Log line is appended with its time, priority and category, and
still goes where it went before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- reaktor_notify: a tray balloon on Windows (shown as a toast), a
freedesktop Notify call over D-Bus on Linux and the BSDs,
UNUserNotificationCenter on macOS, the browser's Notification on the web.
REAKTOR_NOTIFY switches it off.
- reaktor_print and reaktor_print_pdf: pages the app lays out are drawn as on
screen in a hidden window at print resolution, written to a PDF through
libHaru (new submodule, zlib/libpng) with plutovg's JPEG writer, and printed
through the Windows print dialog, macOS's PDFKit print dialog, or the
user's PDF viewer on Linux and the BSDs. REAKTOR_PRINT switches it off.
- Extra windows honor .window.hidden. Notepad gets Print (Ctrl+P) and Export
as PDF; the showcase sends a notification; launchtest gains print-pdf.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- reaktor_tree: nodes in depth-first order, drawn as a list (only visible
rows), with chevrons and icons; Right and Left open, close and step in and
out.
- Fields: a growing heap buffer (.heap, .heap_cap), line numbers, and
reaktor_field_select to focus a field and select text. Notepad opens files
of any size and gets a find bar (Ctrl+F, F3).
- reaktor_spinner steps through any list of values in the property chrome.
- reaktor_date_pick and reaktor_time_pick: segmented fields in the
language's date order, opening wheels in a flyout. Locale gains LLLL
(date.months.standalone) and reaktor_format_pattern.
- Lists with .drag and .dropped reorder rows and move them between lists.
- An undo stack per window: steps, merge keys, groups, labels, a saved mark;
Ctrl+Z and Ctrl+Y when no field is being edited.
launchtest gains tree-keys, field-find, spin-keys, date-keys and undo.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reaktor_menubar takes menus of entries: icons, shortcuts, checks, disabled
entries, separators, submenus and rows drawn by the app. Keyboard: Tab to a
title, Enter opens it, arrows walk it and move between menus, Escape closes
one level. On the desktop each open menu is an SDL popup-menu window and can
reach past the main window; on the web, or with --popups inline, it is an
in-window popup fitted inside the window.
Settings, the tray and popup windows become modules with _none twins
(REAKTOR_SETTINGS, REAKTOR_TRAY, REAKTOR_POPUP_WINDOWS). Property chevrons
line up with the text. Showcase and notepad use the declared menu bar;
launchtest gains menu-keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Any window takes .centered and .skip_taskbar beside .borderless, and the
main window can start .hidden until reaktor_set_visible shows it;
reaktor_version names the release. The showcase opens with a two-second
splash built from those: the mark, the name, the version and what it is
built on. The web skips it, as its loading screen is the splash.
SDL 3.4.18, mojibake 0.4.1 (its byte_offset quirk is unchanged), and the
latest kb_text_shape, Nuklear and NukAnim.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The web build's loading overlay shows the Reaktor mark, the name, a
progress bar and Emscripten's download count, in tiny.css's colors for
either scheme, and fades out once the app starts.
include/reaktor/anim.h aliases the NukAnim names the samples use as
reaktor_anim_ and REAKTOR_ANIM_, so the samples no longer name nka_.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Names: applications see only reaktor_ names. include/reaktor/nuklear.h
aliases the Nuklear types, constants and calls the samples use, so values
mix freely with nk_*. The samples and public headers use them throughout;
colour and CENTRE are color and CENTER.
Speed: the web accessibility tree moves only the nodes out of place, the
style cache is a hash table with no size cap, wrapped labels keep their
line breaks, and screen-reader lookups in the snapshot are indexed.
Features: reaktor_file_dialog_open (open, many, save, folder, filters),
reaktor_ask, reaktor_timer and reaktor_post, settings with remembered
window geometry, reaktor_list (sheet-styled, only the visible rows, keys
move the selection), reaktor_splitter (drag or arrow keys), .tooltip,
PNG and JPEG through .src, a link's .url, and REAKTOR_CURSOR_*. The quit
confirmation is a reaktor_ask. A root box that fills is as wide as its
panel. Dead code is gone: css_field, unused App fields, duplicate helpers.
Tree: src/ is gone (core/internal.h), core/base/util.h, render/svg.c, the
tests in tests/, assets/css/reaktor.css. app.c hands input to input.c;
declare.c keeps the frame and boxes, controls.c and views.c the widgets.
NukAnim's switch is now nka_set_keep_at_rest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comments that restated a name, explained a design the docs already
describe, or repeated another comment are gone; what remains names a
dependency's quirk, an ordering rule, or a locale or browser trap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rule's margin now only parts a widget from its neighbors. Across a row or
column it is skipped, since the page sized the box; along it the first
widget's leading margin and the last one's trailing margin are dropped, so a
row of buttons starts and ends where the field below it does, and in a row
that wraps each line starts at the edge. A margin set in code always counts.
The first frame after a stylesheet loads counts as unsettled, so the new
sheet's sizes are laid out before the frame settles.
cssflat.c works out calc() over pixels and plain numbers, drops :enabled,
since every widget that asks is enabled, rewrites a bare [disabled] as
.disabled, and drops a selector that names the same class or pseudo-class
twice in one compound, which made libcss go on using a list it had freed. The
new csstest checks those, and simple.css read through it, in every CI job.
The page and its text come from the body rule, and the accent from a:link,
falling back to --links: accent buttons, sliders, progress bars, checks and
accent icons follow it, and reaktor_page_color and reaktor_accent_color hand
them to an application. Fields read input.type-text, so a sheet's
[type=text] rule reaches them. reaktor_style carries a rule's opacity.
A disabled button reads button.disabled:disabled and is faded by that rule's
opacity, as a browser fades it, instead of having its colors halved toward
black; a sheet that does not tell a disabled button apart gets half. A rule
can give a button's border a color per state, and an icon on a button takes
its label's color. A rounded border's straight runs are cut from mask texels
that hold a straight band, so a one-pixel border with small corners is sharp.
The showcase's login card takes its height from its rows, so a sheet's
margins no longer push the last line out of it, and the showcase's accented
decorations read reaktor_accent_color.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NukAnim, a submodule at external/nukanim, replaces core/anim's own tweens.
Each window keeps a NukAnim context: the runtime advances it before the page
and draws another frame while anything the page sampled still moves, so a
page at rest asks for none. reaktor_animate and the 31 REAKTOR_EASE_* curves
keep their names and meaning, and reaktor_anim(app) hands an application the
context for the rest of nukanim.h.
The showcase's Animation page shows it: its five tracks share one section,
and new sections cover clips staggered across a grid with NukAnim's debug
timeline, motion paths, procedural motion with a shaking password field,
five color spaces, and text arriving a glyph at a time. The ms property there
sat 8 px short of its row, squeezed by tiny.css's input margin; its row now
gives the three controls one height and wraps on a phone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nuklear insets a button's label by its corner radius as well as its
padding, which CSS does not, so a button left to size itself cut the
end off its label. The runtime now hands Nuklear the padding less the
radius, and draws an icon beside a label itself, where Nuklear did.
A button too narrow for its icon and its label draws the label alone
instead of one over the other. .fit_content sizes a button to both,
whatever its box asks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AntiClam, built against include/reaktor/ alone, still reached into
src/internal.h for four things a hand-laid page needs, with no public
call to stand in:
- reaktor_ionicon_exact and reaktor_glyph_at: an Ionicon in any color,
as an image or drawn into a rectangle. reaktor_svg's query could
rebuild the first, but only by copying the stroke widths the widgets
pick.
- reaktor_button_icon and reaktor_field_text: the styled icon button and
text field inside nk_ layouts. The declared reaktor_button and
reaktor_field need a declared parent, so a page laid out with
nk_layout_row_* had none.
- reaktor_icon_surface: an SVG asset as an SDL_Surface, for a tray of
the app's own, as SDL_SetTrayIcon takes one.
Their declarations move from src/internal.h to ui.h and launch.h, which
internal.h already includes, so nothing inside Reaktor changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An application that keeps a language of its own must not override
--lang, and nothing public told it whether --lang was given: the runtime
strips the flag from argv before start() runs. reaktor_lang_pref(app)
answers with its value, or NULL.
Reaktor already opened in the system's language; now it keeps following
it. reaktor_locale_set(NULL) follows the system and
reaktor_locale_system() says whether it does; a code picks a language
and stops following. When the system's language changes, the runtime
switches and redraws every window. The showcase's language row starts
with System, and localetest covers the new state with a stand-in for
SDL's preferred locales.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Applications now include reaktor/reaktor.h and nothing else of
Reaktor's: include/reaktor holds every type and call a program uses,
App is opaque, and the internal headers include the public ones instead
of declaring the same things again. The samples prove it: each builds
from the public headers alone, MSVC refuses an implicit declaration in
any app, and the showcase draws every page as before. Where they reached
into App there are calls now: the SDL window and renderer, the theme,
the borderless titlebar, focus areas, SVG icons, and the frame and
process timings.
The libreaktor target merges Reaktor, its modules and every dependency
into one static archive, and the libreaktor install component lays it
out with the public headers, Nuklear's and SDL's, a CMake package
(find_package(reaktor), reaktor::reaktor), a pkg-config file and the
licenses. Added with add_subdirectory, Reaktor builds no samples or
tests and installs nothing unless asked. examples/consumer builds Simple
against an installed package.
Every workflow builds, installs and links libreaktor and checks that the
consumer's Simple draws exactly what the tree's does. Releases gain a
libreaktor archive for every system and architecture, and SHA256SUMS.
The version is 0.2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A window opened with reaktor_window_open now runs as its own App: an input
queue that takes one change a frame, a wake of its own, its keys and dropped
files through the key hook and file_opened with its App, animations scoped
to it, and its accessibility tree served to UI Automation under its own
handle (NSAccessibility and AT-SPI still serve the main window only).
Closing one frees its layout, undo, icon cache and queue, and one closed
while its file picker is open is kept until the picker answers.
reaktor_set_title retitles the window whose App it gets, and a theme set
from any window applies to every window.
Nuklear's own rounded fills are swapped for masks once the command list is
built, so fill anti-aliasing stays off on every renderer without jagged
corners on the GPU ones. GTK's setlocale under the tray is undone,
stylesheets parse under the C numeric locale, and cssflat reads and writes
numbers and colors without the locale, clamping NaN and huge channels. A
font is checked table by table before stb_truetype sees it, and a --font
that cannot be read falls back to Aileron. A missing icon draws as nothing
rather than a white square, and an icon-only button draws its icon through
its CSS look. On the web, the page's key event no longer takes the event
type every wake pushes.
The BSD jobs: SDL's dlopen notes are left out on the BSDs, as OpenBSD
refuses a program whose note segment passes 1 KB; libm is linked into every
target on Unix rather than plutovg alone; and the smoke run picks its video
driver with the new --video flag instead of an environment variable.
.confirm_close and reaktor_set_confirm_close ask a question in a modal
floater, with Cancel and Quit, before a quit that closing could refuse,
bringing a minimized window back to ask it; the showcase's Popups page turns
it on. The sidebar takes copy-outline for Layout, chatbubble-outline for
Popups and color-fill-outline for Styling. Comments are trimmed again to the
ones that guard a trap, the screenshots are retaken, and PERFORMANCE.md's
module sizes and UI Automation count are measured again.
Verified: the seven tests pass, the 24 launchtest hold probes match the
last run, and new launchtest modes cover a window's keys, drops, animation,
title, theme, wakes, one change a frame, a drag, 200 open-and-close cycles,
its picker and a close under it, and the question both answered and
canceled. Each step was diffed against the previous sweep of every page in
both themes; the last differs only by the Popups page's new section and the
Diagnostics page's live numbers, and the accessibility-off build draws
byte-identical pixels and dumps. The web build passes its typing harness
and the wake, floater and toast checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An application now owns main and makes one call, launchApp, declared in
include/reaktor/launch.h with its hooks (page, start, key, closing, stop,
file_opened) and the quit reasons platform/lifecycle reports: the window, the
app, the console, a signal, the session.
Above the page sit floaters, dialogs inside the main window whose modal kind
holds everything under it, and toasts. reaktor_window_open opens real windows
with their own renderer, and reaktor_tray_open puts the icon in the system
tray with a menu; SDL's tray is built again for it. reaktor_sidebar and
reaktor_tabs share one spec. The showcase moves its pages into a sidebar, with
the scheme and the titlebar switch at its foot, around a rounded panel, and
its tray menu shows the window, sends a toast and picks the theme.
Along the way: the icon cache gives up its stalest slot instead of drawing
white squares once full; a toast honors each side's padding; the click that
activates a window lands everywhere but macOS; cssflat works out
color-mix(), which reaktor.css uses for stronger light hovers and a tinted
current sidebar entry; the web link reads its asset list from a response
file, which had outgrown cmd.exe. Comments are cut to the few that guard a
trap, and every Markdown file is rewritten, DOCUMENTATION.md with a catalogue
of every widget, container, layer and helper.
Verified: the seven tests and lt3 pass, and the 24 launchtest hold probes give
their expected results. Every page in both themes was reviewed by eye and
diffed against the last baseline's accessibility dump, which lost no node.
The web build was captured on four phone configurations, with the Android
typing harness passing 62 of 62 checks; the tray menu, toasts and secondary
windows were driven through Win32 and UI Automation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>