55 |
'designated initializers'. |
'designated initializers'. |
56 |
- Added global backtraceAsString() function for debugging purposes |
- Added global backtraceAsString() function for debugging purposes |
57 |
(POSIX systems only, no Windows implementation yet). |
(POSIX systems only, no Windows implementation yet). |
58 |
|
- Thread class: Added new methods pushCancelable(), popCancelable(), name(), |
59 |
|
nameOfCaller() and setNameOfCaller(). |
60 |
|
- configure: Always check for availability of pthread_testcancel() and use |
61 |
|
it if so (previously it was only used if explicitly enabled by configure |
62 |
|
option). |
63 |
|
- Thread class: raise compiler warning if pthread_testcancel() is not |
64 |
|
available, because it can lead to deadlocks. |
65 |
|
- Mutex class: Implemented optional bug detection and deadlock debugging |
66 |
|
features. |
67 |
|
- Ref<> class is now thread safe (as lock-free and wait-free |
68 |
|
implementation). |
69 |
|
- Fixed compilation error with Bison >= 3.6.0. |
70 |
|
- Fixed rare crash when switching between instruments that had instrument |
71 |
|
scripts loaded. |
72 |
|
- Allow EffectChain::InsertEffect() as alternative to |
73 |
|
EffectChain::AppendEffect() (i.e. with index equal to current chain size). |
74 |
|
|
75 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
76 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
283 |
- Fixed re-entrant issue with function calls which caused wrong result |
- Fixed re-entrant issue with function calls which caused wrong result |
284 |
values if the same function was called multiple times in a term |
values if the same function was called multiple times in a term |
285 |
(specifically if metric prefixes were used). |
(specifically if metric prefixes were used). |
286 |
|
- NKSP language: Just throw a warning, not an error if an array variable of |
287 |
|
size zero was declared. |
288 |
|
- NKSP language: Allow omitting explicit array size on array variable |
289 |
|
declaration if combined with immediate value assignment |
290 |
|
(e.g. declare %foo[] := ( 1, 2, 3 ) ). |
291 |
|
- NKSP language: emit warning if an array variable was declared with bigger |
292 |
|
array size than amount of initial values been assigned, and initialize the |
293 |
|
missing array elements with zero in this case. |
294 |
|
- Fixed built-in NKSP exit() function to behave as return statement. |
295 |
|
- NKSP parser: Fixed crash if unary '-' operator was used on a non-number |
296 |
|
data type. |
297 |
|
- NKSP VM: Fixed the "release" handler being executed too often under |
298 |
|
certain situations if polyphonic data was passed from "note" handler to |
299 |
|
"release" handler. |
300 |
|
- Fixed memory leak in NKSP parser: string tokens were allocated as C |
301 |
|
strings and never freed. |
302 |
|
- Fixed incorrect polyphonic data transfer from wrong note handler to |
303 |
|
release handler; which also fixes no release handler being executed |
304 |
|
sometimes, and due to the latter it also fixes potential crashes as some |
305 |
|
polyphonic script events were never released and the engine hence was |
306 |
|
running out of free script events. |
307 |
|
- Fixed crash when handling array results of built-in functions |
308 |
|
(e.g. "num_elements(by_marks($MARK_1)"). |
309 |
|
|
310 |
* test cases: |
* test cases: |
311 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
361 |
* SFZ format engine: |
* SFZ format engine: |
362 |
- Fixed support for regions with loccN/hiccN conditions on more than one |
- Fixed support for regions with loccN/hiccN conditions on more than one |
363 |
MIDI controller. |
MIDI controller. |
364 |
|
- Fixed internal opcode 'xfin_hivel' falsely being set by user opcode |
365 |
|
'xfin_lovel' (patch by Christian Czezatke). |
366 |
|
|
367 |
* Benchmarks: |
* Benchmarks: |
368 |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |