--- linuxsampler/trunk/ChangeLog 2020/01/27 16:34:44 3727 +++ linuxsampler/trunk/ChangeLog 2020/06/15 15:26:10 3792 @@ -51,6 +51,22 @@ instrument editor. - Fixed playing noise at the end of a disk stream under certain conditions. - Fixed potential crash with high pitch at end of RAM playback. + - Added configure checks whether C++ compiler supports so called + 'designated initializers'. + - Added global backtraceAsString() function for debugging purposes + (POSIX systems only, no Windows implementation yet). + - Thread class: Added new methods pushCancelable(), popCancelable(), name(), + nameOfCaller() and setNameOfCaller(). + - configure: Always check for availability of pthread_testcancel() and use + it if so (previously it was only used if explicitly enabled by configure + option). + - Thread class: raise compiler warning if pthread_testcancel() is not + available, because it can lead to deadlocks. + - Mutex class: Implemented optional bug detection and deadlock debugging + features. + - Ref<> class is now thread safe (as lock-free and wait-free + implementation). + - Fixed compilation error with Bison >= 3.6.0. * Real-time instrument scripts: - Added method ScriptVM::setExitResultEnabled() which allows to @@ -244,6 +260,33 @@ "change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and "change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double the LFO frequency / resonance / cutoff frequency. + - Reduced code involved for parsing NKSP variable declarations by using 2 + generalized grammar rules with optional components (i.e. optional value + assignment and optional variable qualifiers) instead of previous linear + combinations of grammar rules, which also fixes some edge case. + - NKSP language parser: track code block locations also by a) raw byte + position in NKSP source code string and b) length of that code block in + bytes (along to the already existing code block tracking by line/column); + and added appropriate new members to public C++ API classes like + 'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. + - NKSP language: Added support for 'patch' variable qualifier (capture their + locations and allow replacement of their assignment expression via VM C++ + API). + - Fixed incorrect EG times if standard measuring unit was passed to built-in + functions "change_attack()", "change_decay()" or "change_release()". + - Fixed intermediate function result values never having reflected any + standard measuring unit type. + - Fixed re-entrant issue with function calls which caused wrong result + values if the same function was called multiple times in a term + (specifically if metric prefixes were used). + - NKSP language: Just throw a warning, not an error if an array variable of + size zero was declared. + - NKSP language: Allow omitting explicit array size on array variable + declaration if combined with immediate value assignment + (e.g. declare %foo[] := ( 1, 2, 3 ) ). + - 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. * test cases: - Fixed compiler errors in test cases. @@ -292,6 +335,9 @@ - If minimum cutoff is defined, remap cutoff controller CC values to really span the entire possible cutoff range (and avoiding a dead controller zone). + - Implemented support for loading instrument scripts with 'patch' variables + (by patching these script variables with potentially overridden ones by + gig Instrument). * SFZ format engine: - Fixed support for regions with loccN/hiccN conditions on more than one