--- linuxsampler/trunk/ChangeLog 2020/06/15 15:26:10 3792 +++ linuxsampler/trunk/ChangeLog 2021/02/01 17:37:52 3854 @@ -67,6 +67,13 @@ - Ref<> class is now thread safe (as lock-free and wait-free implementation). - Fixed compilation error with Bison >= 3.6.0. + - Fixed rare crash when switching between instruments that had instrument + scripts loaded. + - Allow EffectChain::InsertEffect() as alternative to + EffectChain::AppendEffect() (i.e. with index equal to current chain size). + - ConstCapacityArray class: Fixed bug in remove() method. + - Fixed crash on certain MIDI RPN and NRPN messages that occurred if no + real-time instrument script was loaded. * Real-time instrument scripts: - Added method ScriptVM::setExitResultEnabled() which allows to @@ -287,6 +294,24 @@ - NKSP language: emit warning if an array variable was declared with bigger array size than amount of initial values been assigned, and initialize the missing array elements with zero in this case. + - Fixed built-in NKSP exit() function to behave as return statement. + - NKSP parser: Fixed crash if unary '-' operator was used on a non-number + data type. + - NKSP VM: Fixed the "release" handler being executed too often under + certain situations if polyphonic data was passed from "note" handler to + "release" handler. + - Fixed memory leak in NKSP parser: string tokens were allocated as C + strings and never freed. + - Fixed incorrect polyphonic data transfer from wrong note handler to + release handler; which also fixes no release handler being executed + sometimes, and due to the latter it also fixes potential crashes as some + polyphonic script events were never released and the engine hence was + running out of free script events. + - Fixed crash when handling array results of built-in functions + (e.g. "num_elements(by_marks($MARK_1)"). + - NKSP VM: Fixed dead note events not been removed from user's event groups + (i.e. causing incorrect behaviour of built-in NKSP functions by_marks() + and set_event_mark() after max. size of event group list was exhausted). * test cases: - Fixed compiler errors in test cases. @@ -342,6 +367,8 @@ * SFZ format engine: - Fixed support for regions with loccN/hiccN conditions on more than one MIDI controller. + - Fixed internal opcode 'xfin_hivel' falsely being set by user opcode + 'xfin_lovel' (patch by Christian Czezatke). * Benchmarks: - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"