1 |
Version SVN trunk (?) |
Version SVN trunk (?) |
2 |
|
|
3 |
|
* GigaStudio/Gigasampler format engine: |
4 |
|
- Use libgig's new IO-per-thread feature to avoid file I/O concurrency |
5 |
|
issues with .gig file. |
6 |
|
|
7 |
|
Version 2.2.0 (9 May 2021) |
8 |
|
|
9 |
* general changes: |
* general changes: |
10 |
- Fixed compiler error in Pool.h. |
- Fixed compiler error in Pool.h. |
11 |
- Require C++14 compiler support. |
- Require C++14 compiler support. |
61 |
'designated initializers'. |
'designated initializers'. |
62 |
- Added global backtraceAsString() function for debugging purposes |
- Added global backtraceAsString() function for debugging purposes |
63 |
(POSIX systems only, no Windows implementation yet). |
(POSIX systems only, no Windows implementation yet). |
64 |
|
- Thread class: Added new methods pushCancelable(), popCancelable(), name(), |
65 |
|
nameOfCaller() and setNameOfCaller(). |
66 |
|
- configure: Always check for availability of pthread_testcancel() and use |
67 |
|
it if so (previously it was only used if explicitly enabled by configure |
68 |
|
option). |
69 |
|
- Thread class: raise compiler warning if pthread_testcancel() is not |
70 |
|
available, because it can lead to deadlocks. |
71 |
|
- Mutex class: Implemented optional bug detection and deadlock debugging |
72 |
|
features. |
73 |
|
- Ref<> class is now thread safe (as lock-free and wait-free |
74 |
|
implementation). |
75 |
|
- Fixed compilation error with Bison >= 3.6.0. |
76 |
|
- Fixed rare crash when switching between instruments that had instrument |
77 |
|
scripts loaded. |
78 |
|
- Allow EffectChain::InsertEffect() as alternative to |
79 |
|
EffectChain::AppendEffect() (i.e. with index equal to current chain size). |
80 |
|
- ConstCapacityArray class: Fixed bug in remove() method. |
81 |
|
- Fixed crash on certain MIDI RPN and NRPN messages that occurred if no |
82 |
|
real-time instrument script was loaded. |
83 |
|
|
84 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
85 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
292 |
- Fixed re-entrant issue with function calls which caused wrong result |
- Fixed re-entrant issue with function calls which caused wrong result |
293 |
values if the same function was called multiple times in a term |
values if the same function was called multiple times in a term |
294 |
(specifically if metric prefixes were used). |
(specifically if metric prefixes were used). |
295 |
|
- NKSP language: Just throw a warning, not an error if an array variable of |
296 |
|
size zero was declared. |
297 |
|
- NKSP language: Allow omitting explicit array size on array variable |
298 |
|
declaration if combined with immediate value assignment |
299 |
|
(e.g. declare %foo[] := ( 1, 2, 3 ) ). |
300 |
|
- NKSP language: emit warning if an array variable was declared with bigger |
301 |
|
array size than amount of initial values been assigned, and initialize the |
302 |
|
missing array elements with zero in this case. |
303 |
|
- Fixed built-in NKSP exit() function to behave as return statement. |
304 |
|
- NKSP parser: Fixed crash if unary '-' operator was used on a non-number |
305 |
|
data type. |
306 |
|
- NKSP VM: Fixed the "release" handler being executed too often under |
307 |
|
certain situations if polyphonic data was passed from "note" handler to |
308 |
|
"release" handler. |
309 |
|
- Fixed memory leak in NKSP parser: string tokens were allocated as C |
310 |
|
strings and never freed. |
311 |
|
- Fixed incorrect polyphonic data transfer from wrong note handler to |
312 |
|
release handler; which also fixes no release handler being executed |
313 |
|
sometimes, and due to the latter it also fixes potential crashes as some |
314 |
|
polyphonic script events were never released and the engine hence was |
315 |
|
running out of free script events. |
316 |
|
- Fixed crash when handling array results of built-in functions |
317 |
|
(e.g. "num_elements(by_marks($MARK_1)"). |
318 |
|
- NKSP VM: Fixed dead note events not been removed from user's event groups |
319 |
|
(i.e. causing incorrect behaviour of built-in NKSP functions by_marks() |
320 |
|
and set_event_mark() after max. size of event group list was exhausted). |
321 |
|
|
322 |
* test cases: |
* test cases: |
323 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
373 |
* SFZ format engine: |
* SFZ format engine: |
374 |
- Fixed support for regions with loccN/hiccN conditions on more than one |
- Fixed support for regions with loccN/hiccN conditions on more than one |
375 |
MIDI controller. |
MIDI controller. |
376 |
|
- Fixed internal opcode 'xfin_hivel' falsely being set by user opcode |
377 |
|
'xfin_lovel' (patch by Christian Czezatke). |
378 |
|
|
379 |
* Benchmarks: |
* Benchmarks: |
380 |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |