550 Commits
Author SHA1 Message Date
adminandClaude Opus 5.5 31ac5adf6b Fetch third-party mirrors from the Gizmo org (renamed from Iris)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:24:42 +01:00
adminandClaude Opus 5.5 c390e6f5b2 Fetch third-party mirrors from the Iris org
The mirrors moved from Alpaq to the Iris org; point at them directly instead
of relying on Gitea's redirect from the old names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:20:18 +01:00
adminandClaude Opus 5.5 3d093767f7 Submodules: point at the Gitea repositories
The GitHub repositories are gone with the suspended account (or are
mirrored on Gitea). Relative URLs (../<repo>.git) resolve against wherever
this repository is cloned from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:45:27 +01:00
admin 4dd3b1e4d6 Merge pull request #145 from Alpaq92/macos-shared-no-lto
CI: the macOS shared libreaktor without link-time optimization
0.11.0
2026-11-11 17:36:25 +01:00
admin 58e1ad6bbf Merge pull request #144 from Alpaq92/perf-remeasure-2
Performance: the chart's benchmark re-measured in forty passes
2026-11-11 17:36:09 +01:00
Roman ChojnackiandClaude Opus 5.5 e9858a3654 CI: the macOS shared libreaktor without link-time optimization
Its package carries libreaktor-modules.a, a static archive an app links
itself, so like the static libreaktor it is built with REAKTOR_LTO off now
that Apple Clang defaults to on. The static build's configure line is split
back into continued lines and uses the job's compiler cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:20:08 +01:00
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
admin 7f7a3b723d Merge pull request #143 from Alpaq92/lto-apple-clang
Build: link-time optimization on with Apple Clang; drop the LTO comparison
2026-11-11 17:16:41 +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
admin 1b7b72093d Merge pull request #142 from Alpaq92/licenses-gibus
Licenses: gibus's only where gibus is built; custom commands as they are keyed
2026-11-11 10:08:39 +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
admin c2a5d634c1 Merge pull request #141 from Alpaq92/perf-remeasure
Performance: re-measured with the overdraw cut and link-time optimization
2026-11-11 09:13:08 +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
admin ba7a725b67 Merge pull request #140 from Alpaq92/lto-portable
CI: pass the LTO check's CMake arguments after --
2026-11-10 20:26:24 +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
admin 80deeea691 Merge pull request #139 from Alpaq92/software-overdraw
Software overdraw
2026-11-10 20:21:33 +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
admin 6370e207e0 Merge pull request #138 from Alpaq92/release-0.11.0
Release 0.11.0
2026-11-10 02:19:06 +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
admin fa4b49544c Merge pull request #136 from Alpaq92/perf-0.11
Performance: re-measured for 0.11.0
2026-11-10 01:21:40 +01:00
admin c8963fd5e3 Merge pull request #137 from Alpaq92/damage-idle
Render: free the last-frame texture after an idle second
2026-11-10 01:19:01 +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
admin 022615bcdf Merge pull request #135 from Alpaq92/review-fixes
Review fixes: tray callbacks between frames, a consistent GetItems, and smaller things
2026-11-09 18:42:05 +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
admin 192584eb9a Merge pull request #133 from Alpaq92/simplify-platform
Platform and UI: shared helpers, one hover test, fewer error objects
2026-11-09 17:45:51 +01:00
admin f86cbe8571 Merge pull request #134 from Alpaq92/simplify-render
Render: one pass through one list; damage bookkeeping only where it is used
2026-11-09 17:34:26 +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
admin 43507e8dc4 Merge pull request #132 from Alpaq92/docs-tighten
Docs: current with master, and a first trim
2026-11-09 16:46:16 +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
admin 5bf6513957 Merge pull request #131 from Alpaq92/fix-damage-x86
Text: draw shaped text from its shape entry, not the command's string
2026-11-09 15:26:21 +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
admin 1c2cb0db75 Merge pull request #130 from Alpaq92/skip-by-default
Skip unchanged frames by default
2026-11-09 15:05:03 +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