203 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 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 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 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 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 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 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 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 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 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
adminandClaude Opus 5.5 3d9bdb295d PERFORMANCE: three apps static against shared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:49:16 +01:00
adminandClaude Opus 5.5 54ef9b810a Docs: the shared library, its option and its packages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:44:51 +01:00
adminandClaude Opus 5.5 0c88ad0b67 Review: rerun a crash under its wrapper, and drop what nothing needs
check-libreaktor.sh reran a crash in gdb or lldb without the -w
wrapper, so a hang lost its timeout. The quit-reason logs and the
REAKTOR_SDL_GPU shim go (it never shipped under that name), check-abi.sh
reads no CC, and the shared comments say less.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:38:18 +01:00
admin 056a3ea3b8 Merge remote-tracking branch 'origin/master' into shared-proto
# Conflicts:
#	tools/libreaktor-pkg.sh
2026-11-03 23:45:14 +01:00
adminandClaude Opus 5.5 244efd2e4b Tray: the D-Bus path on the BSDs too, and no SDL tray without dbus-1
FreeBSD, OpenBSD and NetBSD take the same StatusNotifierItem path as Linux;
their CI package lists and arm64 sysroots already carry dbus. A Linux or BSD
build without dbus-1 now has no tray instead of falling back to SDL's and GTK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:38:40 +01:00
adminandClaude Opus 5.5 cd0fb02237 Tray: StatusNotifierItem and dbusmenu over libdbus on Linux and the BSDs
SDL's tray there loads AppIndicator, dbusmenu-gtk3 and GTK 3, which took the
showcase from 57 mapped libraries to 110 and its tray open to 79-133 ms. The
tray is now an org.kde.StatusNotifierItem with a com.canonical.dbusmenu menu
on a private session-bus connection: 57 libraries, 7-23 ms. A thread waits on
the bus socket and wakes the frame loop, which reads and answers. With no
watcher on the bus reaktor_tray_open answers 0. Windows, macOS and builds
without dbus-1 keep SDL's tray.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:37:37 +01:00
adminandClaude Opus 5.5 97f20682de REAKTOR_SDL_GPU is REAKTOR_SHADERS
Named after what it is for: an application's own shaders, through SDL's
GPU API and --renderer sdl-gpu. OpenGL, Direct3D and Metal never needed
it. The old name is still read once, with a warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:50:20 +01:00
adminandClaude Opus 5.5 e7a024b841 PERFORMANCE: what SDL's GPU API costs the software renderer
Built in, it makes SDL load Vulkan, its drivers and LLVM even when the
software renderer draws: a frame on the display 13.6-16.3 ms against
2.1-2.4 ms, and 63.1 MB private against 5.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:40:36 +01:00
adminandClaude Opus 5.5 c0bc5ea61c SDL's GPU API is opt-in: REAKTOR_SDL_GPU defaults to OFF
The software renderer is the default, and the GPU API is 291 KB of the
shared SDL on Linux. --renderer sdl-gpu without it falls back like any
renderer that will not start. Every shot and dump is byte-identical.
The BSD build cache key moves on, since a cached CMakeCache would keep
the old default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:19:32 +01:00
adminandClaude Opus 5.5 d0fae747c8 Nuklear built for size
-Os (/O1 with MSVC) on nk_impl.c: the stripped shared libreaktor goes
from 1.88 MB to 1.74 MB on Linux x86-64, with no frame-time change past
the bench's own spread and every shot and dump byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:17:27 +01:00
admin 22212b6cbb Merge pull request #106 from Alpaq92/settings-toml
Settings: TOML through toml-c instead of INI
2026-11-02 13:23:59 +01:00
adminandClaude Opus 5.5 d04f86f072 NOTICE: toml-c is tomlc99's fork, under its notice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:15:53 +01:00
adminandClaude Opus 5.5 1245b7328a Settings: TOML through toml-c instead of INI through ini.h
settings.conf becomes settings.toml, one quoted key and string per line,
read by toml-c (MIT, a maintained fork of tomlc99) and written by the
runtime. The mglibs submodule goes, with ini.h's license.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:15:03 +01:00
admin aade1c39d9 Merge pull request #105 from Alpaq92/shared-phase0
Shared libreaktor, Phase 0: measured, no-go
2026-11-02 11:18:41 +01:00
adminandClaude Opus 5.5 27bef86b50 PLAN.md: Phase 0 on a Linux desktop, 17.3%, no-go
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:33:32 +01:00
admin 7b24009bee Merge pull request #104 from Alpaq92/papayaplayer-requests
Requests from PapayaPlayer
2026-11-01 20:12:11 +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 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 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 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 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 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 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 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