Ka1-S da966211cb JSFX: EEL2's preprocessor table is filled once, before any other thread uses it (a crash in a Windows export) 3 روز پیش
..
include ab0c123592 JSFX support, stages 1-2 (issue #241, round 190pj): ysfx hosted as a JUCE plugin format 1 هفته پیش
sources da966211cb JSFX: EEL2's preprocessor table is filled once, before any other thread uses it (a crash in a Windows export) 3 روز پیش
thirdparty ab0c123592 JSFX support, stages 1-2 (issue #241, round 190pj): ysfx hosted as a JUCE plugin format 1 هفته پیش
LICENSE ab0c123592 JSFX support, stages 1-2 (issue #241, round 190pj): ysfx hosted as a JUCE plugin format 1 هفته پیش
README-LYNX.md da966211cb JSFX: EEL2's preprocessor table is filled once, before any other thread uses it (a crash in a Windows export) 3 روز پیش
README.md ab0c123592 JSFX support, stages 1-2 (issue #241, round 190pj): ysfx hosted as a JUCE plugin format 1 هفته پیش

README-LYNX.md

ysfx in LYNX SHARE

ysfx 0.0.47 from https://github.com/JoepVanlier/ysfx at commit 5c3452fee6 (2026-08-19), with its submodule dr_libs at f13cbcfd. Licence: Apache-2.0 (LICENSE); the bundled parts keep their own (thirdparty/WDL/LICENSE.txt, sources/eel2-gas/LICENSE.txt, thirdparty/dr_libs/LICENSE).

Kept: include/, sources/ (without lice_stb/), thirdparty/WDL/source/WDL without lice/, swell/ and eel2/asm-nseel-x64-sse.asm (the nasm original of sources/eel2-gas, used by MSVC builds only), and dr_wav.h, dr_flac.h of dr_libs. Left out: the JUCE plugin, @gfx drawing (LICE / SWELL, stb), tests, tools, nlohmann json, clap-juce-extensions. LYNX builds it with YSFX_NO_GFX (CMakeLists.txt target lynx_ysfx, scripts/build-windows-zig.sh).

LYNX's changes (marked "LYNX" in the files):

  • include/ysfx.h, sources/ysfx.hpp, sources/ysfx.cpp: ysfx_lynx_set_path_filter, a host filter consulted by ysfx_find_data_file (what file_open, file sliders and gfx_loadimg open). LYNX lets scripts read only inside the JSFX folders, their Data folders and the open project's folder (src/engine/JsfxFormat.cpp). Without a filter ysfx behaves as upstream.
  • sources/ysfx.cpp: ysfx_lynx_fp_guard (rollup 0.1.31 step 7). EEL2's code left the calling thread's floating-point control register changed on aarch64 (FPCR 0 -> 0x2800000: rounding toward minus infinity, default NaN; found by LYNX's Linux arm64 self-test, whose float round trips, renders and paint tiles after a script ran differed). ysfx_compile, ysfx_unload_code, ysfx_init, the process functions and ysfx_serialize put the caller's floating-point environment back when they return (std::fegetenv / std::fesetenv; once per call, i.e. once per audio block).
  • sources/ysfx_preprocess.cpp (rollup 0.1.33 step 40): the first EEL2_PreProcessor is made under a function-local static. EEL2's preprocessor fills a static function table the first time one is made, with no lock; LYNX's JSFX scan thread and a JSFX load on another thread could do it at once and corrupt the table (an access violation in functable_lowerbound / stricmp, seen once in a Windows export, 2026-12-01). WDL itself is unmodified.