Commit Graph
100 Commits
Author SHA1 Message Date
Roman ChojnackiandClaude Opus 5.5 d5df2d54e8 Performance: the chart's benchmark re-measured in forty passes
Two sessions of twenty interleaved passes on master for 0.11.0, from the
same binaries as 2026-11-10: software 8.8 MB / 6.0%, direct3d11 57.6 MB /
11.7%, direct3d12 120.5 MB / 5.2%, opengl 68.7 MB / 5.9%. software's
median falls between its two memory levels (16 of 40 runs on the lower).
The page now says how far a whole session moves with nothing changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:18:38 +01:00
Roman ChojnackiandClaude Opus 5.5 f01e11d17e Build: link-time optimization on with Apple Clang; drop the LTO comparison
Apple Clang rendered bench 5-8% faster with it, with no new warnings, so
REAKTOR_LTO now defaults to ON there as with MSVC. The macOS release builds
its static libreaktor with it off, as the Windows release does, since its
objects link only with the same compiler. GCC (69 new warnings in
dependencies) and Clang on Linux (no gain, +8.6% size) stay off.

The decision made, tools/ci/lto-check.sh and its dispatch-only jobs go;
PERFORMANCE.md keeps the 2026-11-10 numbers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:09:20 +01:00
Roman ChojnackiandClaude Opus 5.5 073e5444a4 Licenses: gibus's only where gibus is built; custom commands as they are keyed
Windows, macOS and the web compile no gibus, so their licenses/ folder
leaves it out. The docs name everything a custom command is keyed by.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:44:30 +01:00
Roman ChojnackiandClaude Opus 5.5 90ffae56ee Performance: re-measured with the overdraw cut and link-time optimization
Twenty interleaved passes of the chart's benchmark for Reaktor's four
renderers: software 9.1 MB / 6.1%, direct3d11 57.2 MB / 9.1%, direct3d12
120.3 MB / 5.1%, opengl 68.9 MB / 5.0%. software's memory sits at
8.1-8.3 or 9.1-9.2 MB per run, before #139 as well (median 9.1 for both,
twelve paired passes). Interaction and idle memory again against 0.10.0,
twelve pairs and ten launches. Sizes and the modules table for the
link-time optimized build; LTO measured on GCC, Clang and Apple Clang in
CI, where it stays off. The LTO check runs only when dispatched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 21:36:28 +01:00
Roman ChojnackiandClaude Opus 5.5 96b1ef396b CI: pass the LTO check's CMake arguments after --
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:23:02 +01:00
Roman ChojnackiandClaude Opus 5.5 879cac89ab CI: compare builds with link-time optimization off and on
GCC and Clang on Linux, Apple Clang on macOS: tests, shots and dumps,
sizes, and bench frame times taken in turn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:18:18 +01:00
Roman ChojnackiandClaude Opus 5.5 b9c62c134b Build: no warnings with link-time optimization
SDL_mslibc.c is empty with the C library, so SDL's /GL- on it only
clashed with the precompiled header. Nuklear's size flag is /Os, which
/O2 does not override with a warning the way /O1 does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:16:30 +01:00
Roman ChojnackiandClaude Opus 5.5 a32bc97624 Render: compute cover areas in 64 bits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:04:06 +01:00
Roman ChojnackiandClaude Opus 5.5 5c3e22687a Build: link-time optimization with MSVC, REAKTOR_LTO
Reaktor and SDL are optimized as one program in a Release build. Without
it, SDL's software rasterizer ran up to 5% faster or slower as unrelated
code linked before it changed size; with it, the bench's software render
is 7-10% shorter than 0.10.0's and pixels are unchanged. Programs are
3-5% larger.

On by default with MSVC only, where it was measured. LTO objects link only
with the compiler that made them, so the packaged static libraries are
built with it off: tools/libreaktor-pkg.sh when it configures, and the
Windows release's separate library build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:46:12 +01:00
Roman ChojnackiandClaude Opus 5.5 56a3463c98 Render: software fills skip what later opaque fills cover
A frame drawn whole on the software renderer filled the page background,
then the panel, title bar and sidebar over almost all of it: about twice
the window's pixels per frame. Each large opaque rectangle now fills only
what no later opaque rectangle covers, since that one replaces those
pixels. Clips round inward, so a cover is never larger than what SDL
paints. Damaged frames and frames with fewer than two large opaque fills
are drawn as before.

Pixels and --a11y-dump are unchanged on every showcase page, both themes,
at scales 1, 1.1, 1.25, 1.5, 1.75 and 2, and on notepad and simple.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:22:16 +01:00
Roman ChojnackiandClaude Opus 5.5 9619e3f69b Release 0.11.0
The BSD packages no longer need the dbus package: gibus talks to the bus
itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 01:23:08 +01:00
Roman ChojnackiandClaude Opus 5.5 ee19706511 Performance: review corrections, idle memory with #137, 0.11 module sizes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 00:56:50 +01:00
Roman ChojnackiandClaude Opus 5.5 72f12cd098 Render: free the last-frame texture after an idle second
An idle window keeps no copy of its last frame; the next change draws
one full frame and partial frames follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 00:38:01 +01:00
Roman ChojnackiandClaude Opus 5.5 90614340ec Performance: re-measured for 0.11.0
Twenty interleaved passes of the chart's benchmark (6 s with startup and
the 3-8 s steady state, 60 fps, pinned clock) for Reaktor's four
renderers and Electron 44.3.0: software 8.4 MB / 6.6%, direct3d11
57.7 MB / 12.5%, direct3d12 120.5 MB / 5.0%, opengl 69.2 MB / 5.8%,
Electron 155.2 MB / 20.7%. Flutter and Kotlin Multiplatform were not
rebuilt and keep their figures of 2026-10-24, dated as such in the chart
and the table.

Idle memory, ten launches each, taken in turn with 0.10.0: showcase
15.8 MB (12.9 on 0.10.0), notepad 11.0 (8.8), simple 7.3 (7.1), so the
quoted range is now 7-16 MB.

A new Interaction section: master against 0.10.0 on hover, slider drag,
typing and the wheel, twelve pairs each. A drawn frame takes 41-43% less
time, 20% less on the wheel.

PERFORMANCE.md drops figures from builds the code has left behind: the
four-platform tables of the single-executable build, the web module
sizes from before the CSS engine, the libdbus tray comparison.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:21:51 +01:00
Roman ChojnackiandClaude Opus 5.5 66e2d9a0ae Render: mask only frames that draw, one switch per command, SDL rects
The damage keys and the skip hash read the list before rounded fills
become masks; reaktor_damage_render masks once, after a frame proves to
draw and before any pass, the check pass included. command_read keys and
spans a command in one switch. Damage boxes are SDL_Rect, cut, joined and
tested through SDL's helpers; touches keeps its inclusive edge, and
nk_sdl_meets stays, as SDL_HasRectIntersectionFloat counts a shared edge.

The steppers of a property wash only where its field lights: one flag,
reaktor_property_live, for both. The manual says a new theme, icon or atlas
is redrawn where it changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:16:36 +01:00
Roman ChojnackiandClaude Opus 5.5 247f375034 A11y: GetItems walks one locked snapshot, diffs find nodes by id
Cache.GetItems walks the snapshot under its lock through
reaktor_snap_walk, so every item's parent is sent before it and each child
count matches the children sent. diff_tree finds the new node through an id
table like the snapshot's own, and a diff past REAKTOR_SNAP_DIFFS marks the
snapshot so reaktor_snap_structural_in reports a structural change, which
the bridges answer by invalidating the tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:16:36 +01:00
Roman ChojnackiandClaude Opus 5.5 69758d2733 Tray: a setter sends, menu callbacks run between frames
reaktor_tray_check only sends ItemsPropertiesUpdated and reaktor_tray_open
only dispatches, so neither runs a queued .chosen callback in the middle of
a page build. Callbacks still run after dispatch, from reaktor_tray_event.
Closing the tray drops what was queued.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:16:35 +01:00
Roman ChojnackiandClaude Opus 5.5 16087f2f5f Hover: a read-only window still shows hover
Nuklear marks the page read-only while a floater, an inline menu or a
picker is active, and the page's hover, tooltips and menubar switching
must still answer there. Only the spinbutton's own look follows Nuklear's
gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:34:08 +01:00
Roman ChojnackiandClaude Opus 5.5 348e611aa0 Icons: keep the stroke color as a color
The image cache keys an icon's stroke as a struct nk_color and writes it
out with reaktor_hex(). The stroke width keeps its printed quantization:
rounding sw * 100 hands the rasterizer a different float at ties such as
0.125 or 1.625.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:00:53 +01:00
Roman ChojnackiandClaude Opus 5.5 bbdfeaeacb Damage: key textures by a serial number, not only their address
Each texture the image cache, the corner masks and the font atlas create
gets a serial number in its properties, and image and text keys carry it
next to the pointer, so a texture made again at a freed address reads as
changed. The window's clear color joins the frame hash. Evicting or
clearing the image cache, rebuilding the font and restyling no longer set
must_draw; window events still do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:56:45 +01:00
Roman ChojnackiandClaude Opus 5.5 49e1581d07 Damage: bookkeeping only where it is used
Where the damage path cannot apply (no software renderer, or a fractional
scale) the frame is hashed in one streaming pass, without keys or boxes.
Where it does, the frame hash folds the item hashes instead of hashing the
key buffer again.

The diff hands back the area it covers; the per-frame kind, rectangles and
share are locals of reaktor_damage_render; have_ref is !fresh; collected is
cleared once; reaktor_damage_add and collect close an item the same way;
scaled images are found by their recorded indices. The list grows with
reaktor_grow. Each run's vertex box is computed once and tested against
every rectangle, instead of once per rectangle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:54:06 +01:00
Roman ChojnackiandClaude Opus 5.5 20c940e87f Render: one pass through one list
Rounded fills become masks once, right after the frame is built, so the
damage keys, text preparation and every pass see the same list.
reaktor_render(app, rects, n) is the one entry: n == 0 draws the whole
window, otherwise one SDL_RenderFillRects clears the rectangles before the
pass. nk_sdl_render_ex goes, and nk_sdl_frame_done keeps only nk_clear and
the frame time.

A frame whose commands changed but whose pixels would not is handled as a
skipped one: no render, no copy, no present.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:50:12 +01:00
Roman ChojnackiandClaude Opus 5.5 c8df8227db Tray: menu callbacks after dispatch, icons through SDL_ConvertPixels
A chosen item is recorded while gibus dispatches and its callback runs
once dispatch returns, so a callback that closes the tray or checks an
item no longer reenters the bus and the bookkeeping for that is gone.
Labels share reaktor_utf8_clean_dup, and errors nobody reads are NULL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:48:42 +01:00
Roman ChojnackiandClaude Opus 5.5 dfc310f1cb Notify: reaktor_utf8_clean_dup, REAKTOR_HAVE_GIBUS
A cleaned copy is one call next to reaktor_utf8_clean. Notifications
use it, pass NULL for the session's error, and test the same define the
runtime does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:48:41 +01:00
Roman ChojnackiandClaude Opus 5.5 5d445b5c4f AT-SPI: one variant writer, no unread error objects
append_variant takes the type and signature, send_reply drops the message
it never read, and the bus address and connection pass NULL for errors
nobody reads. A diff carries the state and value it reports, so changes
are emitted without looking each node up again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:48:40 +01:00
Roman ChojnackiandClaude Opus 5.5 20e345eb93 UI: one hover test, read-only windows and disabled blocks included
hot_hover now answers no in a read-only window or a disabled block, as
Nuklear's own widgets do, so the property no longer checks by hand. The
menu's click, a field's drag rectangle and the picker's wheel use it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:48:39 +01:00
Roman ChojnackiandClaude Opus 5.5 be028beec5 Docs: tighter, and current with master
Same facts in fewer words across README, CLAUDE.md, CONTRIBUTING,
DOCUMENTATION, FAQ, DEMO and NOTICE, and the claims that had drifted from
the code brought back in line:

- CI runs eleven console tests from tools/ci/tests.txt, plus the scripted
  uitest, skiptest and damagetest; the Tests table lists the last two.
- Linux ARMv7 and RISC-V build on every pull request, emulated and allowed
  to fail, not only on master.
- CONTRIBUTING runs the tests from tools/ci/tests.txt instead of an old list.
- The showcase is about 4,600 lines and notepad about 410.
- The shared library also ships as -macos-universal.
- SDL's GPU API is built only with REAKTOR_SHADERS.
- The architecture list names core/sdl and damage drawing.
- CLAUDE.md: --shot also hides partial redraws; damagetest catches them.
- PLAN.md is marked finished, with what has changed since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:32:35 +01:00
Roman ChojnackiandClaude Opus 5.5 54e0a01b27 Text: draw shaped text from its shape entry, not the command's string
reaktor_text_prepare kept a pointer to each text command's string inside
Nuklear's command memory. Splicing a rounded fill before the draw appends
commands to that memory, and a reallocation freed the string, so the custom
draw shaped whatever the heap left there. On 32-bit Windows the damage check
caught it: the partial frame and the full redraw read the label differently.
The draw now keeps the shape entry looked up at prepare time.

The manual says how a custom command is recorded for skipping and damage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:21:43 +01:00
Roman ChojnackiandClaude Opus 5.5 876aa46965 BSD: check the cross-built shared library through its soname
The library file keeps the project's version, libreaktor.so.0.10.0, so the
SOVERSION no longer prefixes it; libreaktor.so.1 is the link to follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:42:54 +01:00
Roman ChojnackiandClaude Opus 5.5 01ee4bb1b0 ABI tables for libreaktor.so.1
Written by check-abi.sh on CI's Linux x86-64, arm64 and x86 machines; they
differ from the .so.0 ones only in the renamed launch field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:41:27 +01:00
Roman ChojnackiandClaude Opus 5.5 b5bbe962ed Skip unchanged frames by default
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>
2026-11-09 14:23:07 +01:00
Roman ChojnackiandClaude Opus 5.5 39f0728b68 CI: drop the temporary framebuffer-acceleration measurement
It was merged with #128 by mistake; it only ran on its own branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:15:37 +01:00
Roman Chojnacki 51633b7c60 Temporary: measure framebuffer acceleration on macOS 2026-11-09 14:06:03 +01:00
Roman ChojnackiandClaude Opus 5.5 b614363b6d Software: redraw only where the commands changed
With .skip_same_frames, a software frame at a whole-number scale now
redraws only the rectangles whose Nuklear commands changed. Each command
gets a key and a device-pixel box; the list is diffed against the last
drawn one and the changed boxes merged into at most four rectangles. The
frame is drawn into a target texture that keeps the last frame, as SDL
documents a window's back buffer does not, and copied to the window.
Anything that invalidates the window, a capture, a fractional scale or a
GPU renderer draws in full as before.

The test harness redraws every partial frame whole and compares pixels;
damagetest drives hovers, typing, popups, scrolling, toasts, focus,
tweens, a theme switch and scales 1, 2 and 1.25, with and without text
shaping. Shots and dumps match master on every tab in both themes.

Ryzen 5 4600H, showcase at 1100x680, 12 interleaved pairs: render -58% to
-61% per drawn frame, whole frames -42% to -46%, process CPU -9% (hover)
to -26% (slider drag).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:41:33 +01:00
Roman ChojnackiandClaude Opus 5.5 db91726cd4 Hover: redraw wherever a widget lights
Motion redraws only across a rectangle hot_push registered, so a widget
that lights where no hot rectangle lies changed only on some later frame.
Two causes:

- A spinbutton lit its whole field but registered only its steppers. The
  field is now hot too, and a numeric property lights over all of it, as
  the spinner does, except in a read-only window or a disabled block.
- Widgets that draw their own hover tested the pointer against bounds
  that hot_push clips to the panel, so one cut off by a scroll lit while
  the pointer was outside the panel. hot_hover tests against the same
  clip; sliders, progress bars, steppers, spinners, list and tree rows,
  menus and tooltips use it.

A hover probe over every interactive node on all tabs and scroll
positions found 5 such hovers; none remain. Pixels at rest are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:59:55 +01:00
Roman ChojnackiandClaude Opus 5.5 c07d6100c2 Build: look icons up by name and ASCII glyphs by index
An icon drawn in a built frame no longer formats an
"external/ionicons/...svg?stroke=...&sw=..." string to find its texture:
the image cache keys Ionicons on name, stroke color, width and size, and
builds the path only on a miss. Codepoints below 128 find their glyph
through a table filled at bake time instead of a binary search.

Pixels and accessibility dumps are unchanged on every showcase tab in both
themes. Software renderer, every frame built, 16 interleaved pairs on a
Ryzen 5 4600H: build time -16% to -22% for icons and -10% to -17% for
glyphs on Login and Buttons; whole frames on Buttons -4.5% and -2.3%.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:40:31 +01:00
Roman ChojnackiandClaude Opus 5.5 56f853fd0e D-Bus: take gibus as a submodule in place of platform/dbus
The client moves to its own library, gibus (MIT, ported from minidbus),
under external/gibus. It drops SDL for pthreads, so the runtime links
threads where it builds gibus. Callers, the private export list, the test
and CI follow the rename.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:25:12 +01:00
Roman ChojnackiandClaude Opus 5.5 b772d346df Comments: keep only what the code cannot say
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>
2026-11-09 10:24:23 +01:00
Roman ChojnackiandClaude Opus 5.5 2f9cc53b82 README: rewrap the line that names the D-Bus client
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:51:04 +01:00
Roman ChojnackiandClaude Opus 5.5 9223d43685 README: the opening says what Reaktor answers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:49:56 +01:00
Roman ChojnackiandClaude Opus 5.5 959c0e8222 rdbus: a wake pipe, so a thread may wait on the bus without a timeout
A sender that leaves bytes the socket refused tells the polling thread to
watch for output too. The AT-SPI pump now waits without end instead of
waking five times a second, and rdbus_call no longer polls every 10 ms
while another thread reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:49:28 +01:00
Roman ChojnackiandClaude Opus 5.5 74856a2026 rdbus: each message checked once, fewer allocations, no copy to send
Measured on the message format (MSVC /O2, median of 7, messages built
the way the callers build them):

- Walking a parsed or built message no longer validates what parsing or
  building already did: stepping keeps the bounds and depth checks only.
  GetChildren 17.9 to 4.9 us, the menu layout 19.3 to 6.9, the portal's
  ReadAll 24.7 to 8.6.
- A variant's signature is checked once, and names skip the UTF-8 pass
  their own rules already cover. A parse takes one allocation, with the
  bytes 16-aligned after the message. A call header parses in 261 ns
  where it took 451; GetChildren in 3.2 us where it took 4.7.
- Header names live in the message's own allocation, and values reserve
  their room once: a call builds in 3 allocations, not 7 to 9, and in
  28 to 38% less time.
- AT-SPI object paths are written with SDL_uitoa, the same bytes: a
  50-child reply builds 36% faster.

The connection keeps queued messages in a ring and the handler list on
the stack, and sends straight from the message when nothing is queued.
A live test fills the queue past its 4096 messages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 17:07:44 +01:00
Roman ChojnackiandClaude Opus 5.5 1e20d9445f The runtime takes platform/dbus as a directory, not a link
A private link to the include-only reaktor_rdbus put $<LINK_ONLY:...>
in the runtime's INTERFACE_LINK_LIBRARIES, which the shared library links
as it stands, and ninja refused the $.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:24:07 +01:00
Roman ChojnackiandClaude Opus 5.5 7c8fdb6732 D-Bus without libdbus: platform/dbus, a client of Reaktor's own
Linux and the BSDs spoke D-Bus through libdbus for the AT-SPI bridge,
the tray and notifications, and the theme code loaded it by hand for
the portal's appearance settings. platform/dbus is a client ported to
C from minidbus (MIT; licenses/minidbus.txt): EXTERNAL authentication
over a Unix socket, the message format validated as the specification
asks, and calls, replies, signals, match rules, exported paths and
fallbacks, Peer and default introspection, as libdbus answered them.
It is built into the runtime, and the modules reach it through the
map's private section; nothing links libdbus, and SDL alone still opens
it where the system has it.

dbustest checks the message format everywhere, with hostile input and a
mutation loop, and on Linux and the BSDs runs a private dbus-daemon for
the connection; CI asks for that half with --require-bus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:11:59 +01:00
Roman ChojnackiandClaude Opus 5.5 721b848e8b Reaktor 0.10.0
find_package asks for 0.10, and the benchmark rows are 0.10.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:52:24 +01:00
Roman ChojnackiandClaude Opus 5.5 5d83c7e8e4 Performance: Reaktor's arms re-measured on 2026-11-07
Two passes of ten runs on the documented builds, the default one for
software, direct3d11 and direct3d12 and the OpenGL one for opengl, taken
in turn with master's: the two read the same. The chart, the alt texts
and the manual's memory line follow; older figures beside them carry
their dates. Started through Git Bash, the runner reads about 3 MB less
private memory, so the doc says to run it from PowerShell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:38:44 +01:00
Roman ChojnackiandClaude Opus 5.5 25e22230ca Skip pacing leaves print passes alone and waits for every window's drag
A print page's build-only frames set the callback rate and never ran
the countdown that puts it back, so an idle app kept iterating at the
display's refresh. And a skipped tween frame in one window restored the
rate while another window still held a button. Build-only frames no
longer pace, and the rate comes back only when no window drags or
flings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:38:43 +01:00
Roman ChojnackiandClaude Opus 5.5 6066f21306 Timing that names the rasterizing, and skipped frames that stay clean and paced
SDL only queues draw calls, so a software frame's rasterizing was booked
as present. The runtime now flushes before the present timer, and the
docs and Diagnostics say what each number holds.

A skipped frame never reached nk_clear, so the next build's popups and
overlay never joined the list and combos stopped answering; it clears
now. Skipped frames also had no present to wait on, so a tween that
changed no pixel spun a core at about 390,000 frames a second. They now
follow the display's refresh, as a held mouse button does.

A software frame that opens by filling the whole window drops the clear
under it. A theme change forces the next frame to draw.

tests/skiptest.c covers both skip faults and runs in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 03:21:55 +01:00
Roman ChojnackiandClaude Fable 5.1 154ffdcc80 Release: the .rpm artifact holds its files at the top
The rpm job uploaded dist-pkg/*.rpm and dist-pkg-shared/*.rpm as two
paths, so upload-artifact kept both folders and the publish step found
two directories among the downloads: sha256sum refused them and 0.9.0
never published. The shared packages now move into dist-pkg before the
upload, which is one path and lands flat like the .deb artifacts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 19:45:17 +01:00
Roman ChojnackiandClaude Fable 5.1 ce3269e2f0 Docs for 0.9.0: the chart and every number re-measured, and what the audit found stale
benchmark.svg and PERFORMANCE.md carry a new pass of Reaktor's arms at the
chart's standard (10 runs, 60 fps, steady state 3-8 s, quiet machine):
software 9.1 MB / 7.1%, direct3d11 57.3 MB / 11.4%, direct3d12 120.8 MB /
4.1%, opengl 69.0 MB / 6.4%; the other arms keep their pass of 2026-10-24,
and the chart says which is which. From default builds of this branch:
the four executables' sizes, the per-module sizes, LOCALE_EMBED's, the
static-CRT sizes in BENCHMARKS.md, and idle memory on Login, Diagnostics
and Translations, medians of ten launches.

An audit of every document against the branch found 24 statements the
code had left behind: the tray on Linux and the BSDs is Reaktor's own over
libdbus, so SDL's GTK tray never opens there and dbus-1 is linked for the
tray and notifications too; twelve submodules, nine modules, the Inspector
among them; toml-c inside libreaktor; the shared library's soname and
export map; -s splits the package in three, with the dependencies and
conflicts the packages declare; what REAKTOR_A11Y=OFF and REAKTOR_TRAY=OFF
now save; .file_opened unset means no drop target; find_package asks for
0.9; the shared tarballs' names in two workflow comments; and numbers
quoted as today's that were October's, re-measured or dated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 15:10:13 +01:00
Roman ChojnackiandClaude Fable 5.1 d970a56858 Version 0.9.0: find_package asks for 0.9, and the notes list toml-c
The package's version file keeps the minor, so the consumer example and
the two docs that quote it ask for 0.9; every CI job failed on 0.8.
toml-c, inside libreaktor since the settings moved to TOML, joins the
release notes' list.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 14:15:05 +01:00
Roman ChojnackiandClaude Fable 5.1 8af61f7497 Reaktor 0.9.0
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 14:00:40 +01:00
Roman ChojnackiandClaude Fable 5.1 09ddd61657 Docs: Bitdefender's share of the Windows numbers; libreaktor-sdl3 on OpenBSD
PERFORMANCE.md names what the antivirus adds to every process on the
benchmark machine, measured on bench: about 2.2 MB of the 8.9, with the
split and the rest of the ledger, so a reader on a machine without it can
subtract. DOCUMENTATION.md notes the OpenBSD spelling of the SDL runtime
package.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 13:35:36 +01:00
Roman ChojnackiandClaude Fable 5.1 3c0c9b5d23 REAKTOR_RENDERERS lists the renderers built, in --renderer's words
One option replaces REAKTOR_SDL_D3D and REAKTOR_SDL_GL: a list of
direct3d11, direct3d12, opengl and opengles2, with commas or semicolons
between. Empty is the platform's default, direct3d11;direct3d12 on
Windows and nothing on Linux and the BSDs; none is software only. A word
that is not a renderer fails the configure, as does ON or OFF; a word a
platform cannot build is noted and ignored. macOS and the web keep what
they always built.

A cache from before keeps its renderers: the two old entries are read
once, turned into the list with a warning, and removed, so a build
directory holding REAKTOR_SDL_GL=ON does not lose OpenGL on its next
configure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 13:35:36 +01:00
Roman ChojnackiandClaude Fable 5.1 c763039a16 No drop target for an app that opens no dropped file
SDL registers every window it creates as a drop target while a drop
event is enabled; on Windows that is COM's drag-and-drop, with clbcatq,
DataExchange and twinapi.appcore and three threads for the life of the
process. A launch with no .file_opened never reads SDL_EVENT_DROP_FILE,
so it disables the two drop events after SDL_Init, before any window.

Measured on bench (Ryzen 5 4600H, Windows 11 26300, software renderer):
window creation 26.7 to 21.9 ms, threads 5 to 2, modules 49 to 45,
0.2 to 0.5 MB less private; frame time unchanged. Pixels and
--a11y-dump identical across the showcase's tabs in both themes,
simple and notepad.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 13:33:28 +01:00
Roman ChojnackiandClaude Fable 5.1 974918ba32 CMakeLists.txt: REAKTOR_NOTIFY's option() had lost its space
cd0fb02 left `option(REAKTOR_NOTIFY"System notifications..." ON)`, which
defines a variable named with the description. A build directory from
before kept its REAKTOR_NOTIFY=ON; a clean configure had none, so
`if(NOT REAKTOR_NOTIFY)` linked the _none twin and every fresh build
shipped without notifications.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 13:11:58 +01:00
Roman ChojnackiandClaude Fable 5.1 3dfb7ba4b8 libreaktor-pkg.sh: libreaktor-sdl3 on OpenBSD, whose names read -0 as a version
OpenBSD takes a package name's version from its first dash followed by a
digit, so libreaktor-sdl3-0-0.8.0 was stem libreaktor-sdl3, version 0 and
a flavor that may not start with a digit: "bad package name". The SDL
runtime package drops the dash there; libreaktor0 has none.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 12:14:40 +01:00
Roman ChojnackiandClaude Fable 5.1 ca891389a5 libreaktor-pkg.sh: OpenBSD's @conflict takes a package spec, not a glob
packages-specs(7) has no character classes: `libreaktor-shared-[0-9]*`
made pkg_create fail with "Unmatched [ in regex". `libreaktor-shared-*`
is its spelling for any version. NetBSD's -C keeps the glob; it is a
pkg_match pattern there.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-04 11:10:36 +01:00
Roman Chojnacki 86a9f7f62e Merge branch 'papaya-requests': gradients, a quiet list header, a settle frame after resize, SDL's GPU renderer and HDR output 2026-11-01 19:11:18 +01:00
Roman ChojnackiandClaude Opus 5.5 2c904f245d Renderer: --renderer sdl-gpu for application shaders, and an HDR output
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>
2026-11-01 19:10:59 +01:00
Roman ChojnackiandClaude Opus 5.5 929519a168 Renderer: --renderer gpu picks a native GPU driver for each platform
metal on macOS; opengl, else direct3d12, else direct3d11 on Windows; opengl,
else opengles2 on Linux and the BSDs; opengles2 on the web. A driver left out
of the build is skipped. The documentation also says macOS builds OpenGL
whatever REAKTOR_SDL_GL says. Defaulting REAKTOR_SDL_GL on is still open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:10:50 +01:00
Roman ChojnackiandClaude Opus 5.5 271b1c143b Gradients: solid bands, one per level, along the run
SDL's software renderer shades a rectangle from its corners far slower than it
fills a solid one. A run is now solid bands, one for each level the ramp moves
by, on whole pixels so neighbors cannot round apart, and the long run lies
across the ramp so each band is drawn once. On the Buttons tab with every
button a gradient pill (23 pills, Windows, software renderer), a frame costs
1.06 ms more than flat pills where it cost 1.66 ms more; present is within
0.1 ms of flat. Flat fills are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:48:09 +01:00
Roman ChojnackiandClaude Opus 5.5 4a852cd5d0 Gradients: one shape for flat and graded fills, one emit for the pair
reaktor_fill_round and reaktor_fill_gradient lay out their corners and runs
through one routine; the button's per-state ramps need no separate flag; the
two background properties emit the gradient through one call. Pixels and
--a11y-dump unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 17:37:39 +01:00
Roman ChojnackiandClaude Opus 5.5 1ea440438f CSS: linear-gradient() fills buttons and a slider's filled part
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>
2026-11-01 16:10:22 +01:00
Roman ChojnackiandClaude Opus 5.5 6557e1dbbe List: the header row is the sheet's color as written
A thead background or --table close to the page or the rows was swapped for
the accent, so a quiet dark header came out bright. Every built-in sheet
leaves thead unset and --table at --links, which the check never caught, so
only a color the application chose was ever replaced. Requested by
PapayaPlayer (#104, item 5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 15:57:27 +01:00
Roman ChojnackiandClaude Opus 5.5 926cc50cd3 Resize: a new size draws a second frame, since boxes are placed a frame late
Windows sends enough events with a resize to draw twice, but the web page's
resize, and a platform that sends a single event, drew only once and left an
idle app showing the old layout until the next input. Requested by
PapayaPlayer (#104, item 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 15:55:14 +01:00
Roman ChojnackiandClaude Opus 5.5 85ae03f1c0 docs: requests from PapayaPlayer
Gradients in CSS, HDR output, SDL's GPU renderer, a settle frame after
a resize, and a list header that keeps the stylesheet's colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:33:14 +01:00
Roman ChojnackiandClaude Opus 5.5 49fe58e0a3 PLAN.md: a desktop run adds no GL; SDL's is compiled out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:24:09 +01:00
Roman ChojnackiandClaude Opus 5.5 95d708574d PLAN.md: only the showcase is single instance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:23:53 +01:00
Roman ChojnackiandClaude Opus 5.5 daa26c0adf PLAN.md: Phase 0 results and how to run them on a Linux desktop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:19:48 +01:00
Roman ChojnackiandClaude Opus 5.5 913fa39b69 PERFORMANCE.md: the saving counted page by page, 20.2%
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:13:43 +01:00
Roman ChojnackiandClaude Opus 5.5 1a100e7c11 pss-pages.sh: seek in pagemap with dd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:03:49 +01:00
Roman ChojnackiandClaude Opus 5.5 11910482b8 pss-pages.sh: count only the resident pages a shared libreaktor would hold
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:55:31 +01:00
Roman ChojnackiandClaude Opus 5.5 180c4b1904 PERFORMANCE.md: what a shared libreaktor would save, measured
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:13:34 +01:00
Roman ChojnackiandClaude Opus 5.5 fd264f7e37 pss.sh: wait for the apps, not for a log they may never write
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:08:22 +01:00
Roman ChojnackiandClaude Opus 5.5 598e56ab25 PLAN.md: the shared-libreaktor plan, with the 20% threshold agreed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:04:46 +01:00
Roman ChojnackiandClaude Opus 5.5 1931bdf9c9 Phase 0 of a shared libreaktor: tools/ci/pss.sh measures what sharing would save
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 09:53:58 +01:00
Roman ChojnackiandClaude Opus 5.5 5a8b7f38cc Merge branch 'style-accessors': item spacing, text color and current font read by three calls
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 00:39:01 +02:00
Roman ChojnackiandClaude Opus 5.5 5928f9a6b0 Style read by three calls: item spacing, text color, current font
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>
2026-10-24 23:10:20 +02:00
Roman ChojnackiandClaude Opus 5.5 724f4db1e6 Merge branch 'tray-hide-on-minimize': minimizing can hide the window in the tray
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 22:18:04 +02:00
Roman ChojnackiandClaude Opus 5.5 b15249634b onlay: README demo of the layout reflowing
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 22:15:48 +02:00
Roman ChojnackiandClaude Opus 5.5 23ffcba28f Tray: minimizing can hide the window there; showing it again restores it
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>
2026-10-24 22:15:48 +02:00
Roman Chojnacki 1aadda7f61 Merge branch 'netbsd-fetch-retry': NetBSD sysroot downloads retried, a failure names its URL 2026-10-24 19:37:51 +02:00
Roman ChojnackiandClaude Opus 5.5 b9e156f212 NetBSD sysroot: each download tried four times, and a failure names its URL
The arm64 sysroot fetches its sets and packages from cdn.NetBSD.org with
ftp -V, which prints nothing when a request fails, so a dropped request
failed "Gather the arm64 sysroot" with no message, and bsd-arm64 then
found no cross-netbsd-arm64 artifact to download.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 19:37:51 +02:00
Roman Chojnacki bd7e53ec94 Merge branch 'dedupe-work': print warm-up, preferences, list cells and glyph state done once 2026-10-24 17:16:15 +02:00
Roman ChojnackiandClaude Opus 5.5 7a8ae2ef3b Work done once: print warm-up, preferences, list cells, glyph state
- Printing: the warm-up frames before a page is captured build without
  rendering or presenting; only the capture frame draws. The PDF is
  byte-identical, and a two-page export takes 359 to 344 ms of CPU.
- System preferences are read once on every path; load_theme no longer
  reads them again after its caller has.
- A list row asks for its first cell once, for the accessible name and
  the drawing, and a tree row no longer asks for its label a third time.
- The software renderer asks a texture's size once per draw command,
  sets a glyph's color only when it changes, and puts the color and
  blend back once per run instead of after every rectangle. Render step:
  0.24 to 0.19 ms on Login, 0.97 to 0.85 ms on Buttons.

Pixels and --a11y-dump are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 17:14:20 +02:00
Roman Chojnacki 61e8ad0250 Merge branch 'fix-localetest-include': include SDL in localetest; implicit declarations are errors in tests 2026-10-24 16:47:32 +02:00
Roman ChojnackiandClaude Opus 5.5 4f379e06fc localetest includes SDL for SDL_free; tests treat implicit declarations as errors on MSVC
localetest now frees the codepoint array with SDL_free but never included
SDL's header, so clang and GCC rejected the implicit declaration on macOS,
NetBSD and the RISC-V cross-build while MSVC only warned. The tests get the
same /we4013 the applications have, so Windows catches it too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 16:47:23 +02:00
Roman Chojnacki 2f8d2edd2d Merge branch 'atlas-reuse-and-fixes': atlas opened once and kept for later windows; DPI, Retina and portal fixes 2026-10-24 16:33:41 +02:00
Roman ChojnackiandClaude Opus 5.5 66129d3bc7 Atlas: each font opened once, kept for later windows; DPI, Retina and portal fixes
- The atlas bake opens each font file once instead of once per size:
  36.8 ms to 18.5 ms per bake, byte-identical output. A threaded bake
  was faster still but kept 0.5-1.1 MB the heap never returned.
- The first window after the main one keeps its atlas image and glyph
  tables; later windows and menus copy them instead of baking (about
  11 ms to 0.3 ms each). Freed when the main window rebakes or quits.
- The first window is sized by the primary display's content scale;
  reaktor_dpi_query_scale(NULL) always answered 1.0.
- Windows opened with reaktor_window_open are sized in window
  coordinates, as popups already were, so a Retina Mac no longer
  doubles them.
- Linux reads the portal's settings in one ReadAll call and stops asking
  only when there is no portal or no ReadAll; reaktor_prefers() replaces
  the two preference queries.
- The a11y tree finds a node through its hash index; sRGB to linear is a
  table; a box reads its style once; the locale scan is one pass.
- PERFORMANCE.md, the chart and the README remeasured for Reaktor.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 16:33:23 +02:00
Roman ChojnackiandClaude Opus 5.5 ae20da7c57 Merge branch 'perf-lazy-css': CSS on first match, startup timings, D3D switch and /Gw
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 11:59:24 +02:00
Roman ChojnackiandClaude Opus 5.5 f1404b4193 CSS reads declarations on first match; startup timings; D3D switch and /Gw
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>
2026-10-24 11:59:03 +02:00
Roman ChojnackiandClaude Opus 5.5 dffcce22d5 CSS: Reaktor's own engine replaces libcss, and a pass of simplifications
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>
2026-10-24 02:37:13 +02:00
Roman ChojnackiandClaude Opus 5.5 7bf48d453a Version 0.8.0: find_package asks for 0.8, and the notes list FreeType
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 18:46:20 +02:00
Roman ChojnackiandClaude Opus 5.5 ca3f1fc9a7 Version 0.8.0
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 18:35:52 +02:00
Roman ChojnackiandClaude Opus 5.5 126a42597e Performance: drop the work-per-frame column
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 17:53:29 +02:00
Roman ChojnackiandClaude Opus 5.5 aa6e1b0fb9 Performance: drop the work-per-frame column
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 15:12:15 +02:00
Roman ChojnackiandClaude Opus 5.5 646ef493f4 Performance: today's numbers, a pinned clock and work per frame
The runner holds the processor at full speed (-PinClock), adds the
steady-state CPU (-Steady) and the work of a frame drawn flat out
(-FlatOut), and no longer counts a process that started before the app
as its child: Windows reuses process ids.

PERFORMANCE.md, the chart and the figures quoted elsewhere are remeasured
on today's build: sizes, modules, memory, frame times and WARP, which now
reads as process CPU per frame.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 15:04:09 +02:00
Roman ChojnackiandClaude Opus 5.5 d45b73c8c1 Submodules: mojibake 0.5.0, kb_text_shape 2.28g
mojibake 0.5.0 takes its text as an mjb_text, and its line breaker reports
the byte position of each break, so reaktor_text_break no longer works it
out from the iterator's index. Its bidi characters still carry byte_offset
at their last byte, so levels are still matched in order. kb_text_shape
2.28f removes unaligned reads that were undefined behavior.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 10:22:14 +02:00
Roman ChojnackiandClaude Opus 5.5 a29d97846d Onlay: its merged master, with CI and the README fixes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 10:16:57 +02:00