/[svn]/linuxsampler/trunk/ChangeLog
ViewVC logotype

Diff of /linuxsampler/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3577 by schoenebeck, Wed Aug 28 15:23:23 2019 UTC revision 3581 by schoenebeck, Fri Aug 30 11:40:25 2019 UTC
# Line 2  Version SVN trunk (?) Line 2  Version SVN trunk (?)
2    
3    * general changes:    * general changes:
4      - Fixed compiler error in Pool.h.      - Fixed compiler error in Pool.h.
5      - Require C++11 compiler support.      - Require C++14 compiler support.
6      - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used      - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
7        for checking in configure for C++11 support (as mandatory        for checking in configure for C++14 support (as mandatory
8        requirement) and automatically adds compiler argument if required        requirement) and automatically adds compiler argument if required
9        (e.g. -std=C++11).        (e.g. -std=C++14).
10      - RTMath: Implemented floating point comparison methods      - RTMath: Implemented floating point comparison methods
11        fEqual32(float,float) and fEqual64(double,double) which take the        fEqual32(float,float) and fEqual64(double,double) which take the
12        expected floating point tolerances into account.        expected floating point tolerances into account.
# Line 58  Version SVN trunk (?) Line 58  Version SVN trunk (?)
58        number.        number.
59      - Built-in script functions "min()" and "max()" optionally accept real      - Built-in script functions "min()" and "max()" optionally accept real
60        number arguments and return real number as result in that case.        number arguments and return real number as result in that case.
61        - NKSP VM API: Allow units and 'final'ness to be returned as result from
62          built-in functions (added methods VMFunction::returnUnitType() and
63          VMFunction::returnsFinal() for that purpose which must be implemented by
64          built-in function implementations).
65        - NKSP language: Allow metric unit prefixes of numeric scalar and array
66          variables to be changed freely at runtime (unlike unit types like Hz etc.
67          which are still sticky, parse-time features of variables which cannot be
68          changed at runtime for the intentional sake of determinism).
69        - NKSP language: 'final' values are prohibited for array variables for now
70          (attempt causes a parsers error).
71        - NKSP language: expressions with unit types (e.g. Hz) are prohibited for
72          conditions of runtime control structures like if(), while(), select()
73          (attempt causes a parser error).
74        - NKSP VM API: Allow built-in functions to perform their own, individual
75          parse time checks of arguments going to be passed to the function at
76          runtime (added method VMFunction::checkArgs() for that purpose).
77        - NKSP language: raise parser warning if only one operand of binary
78          operators (like logical 'or' comparison) contain a 'final' value (because
79          it would always yield in a 'final' result in such cases).
80        - NKSP language: Allow comparison (=, #, <, >, <=, >=) of values with
81          different metric unit prefixes, which will behave as expected (e.g.
82          result of expression '1000us < 2ms' is true).
83        - NKSP language: Allow adding values with different metric unit prefixes
84          (e.g. result of expression '100Hz + 5kHz' is '5100Hz').
85        - NKSP language: Allow subtracting values with different metric unit
86          prefixes (e.g. result of expression '1ms - 20us' is '980us').
87        - NKSP language: Allow multiplying with any metric unit prefixes
88          (e.g. result of expression '2k * 3ms' is '6s'), however multiplications
89          with unit types on both sides (e.g. '2s * 2s') is still prohibited since
90          we don't have any considerable practical use for a term like '4s^2'
91          (hence any attempt multiplying two unit types still causes parser error).
92        - NKSP language: Allow dividing by any metric unit prefixes and allow
93          division of same unit type on both sides (e.g. expression '8kHz / 1000Hz'
94          yields in unit free result '8'). So this is now a way to cast units away
95          e.g. for passing the result to other expressions, certain function calls
96          or variables which are not accepting any units (or that specific unit).
97        - NKSP language: integer arrays and real number arrays can now be converted
98          to strings (e.g. for dumping their content with message() calls for
99          script debugging purposes).
100        - NKSP language: expressions and variables with units are now correctly
101          casted to strings (e.g. with message() calls).
102        - NKSP language: comparing real numbers for equalness (e.g. '~foo = 3.1') or
103          unequalness (e.g. '~foo # 3.1') is now less strict and takes the expected
104          floating point tolerances into account.
105        - NKSP VM API: Added methods VMScalarNumberExpr::evalCastInt() and
106          VMScalarNumberExpr::evalCastReal().
107        - NKSP VM API: Added base class 'VMNumberArrayExpr' for classes
108          'VMIntArrayExpr' and 'VMRealArrayExpr'.
109        - NKSP VM API: replaced all unitPrefix() (parse time) methods by
110          unitFactor() (runtime) methods.
111        - Built-in function "exit()" supports now returning units and 'final'ness
112          for test cases.
113        - The following built-in functions support now units as well: "abs()",
114          "random()", "inc()", "dec()", "in_range()", "min()", "max()",
115          "real_to_int()", "int()", "int_to_real()" and "real()".
116        - Built-in functions "array_equal()", "search()" and "sort()" support now
117          real number arrays (correctly) as well.
118        - Added individual parse time checks of arguments to be passed to built-in
119          functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
120          "array_equal()" and "search()" specific for their individual purposes.
121    
122    * test cases:    * test cases:
123      - Fixed compiler errors in test cases.      - Fixed compiler errors in test cases.
# Line 72  Version SVN trunk (?) Line 132  Version SVN trunk (?)
132      - NKSP: Added real number test cases for built-in functions exit(),      - NKSP: Added real number test cases for built-in functions exit(),
133        int_to_real(), real(), real_to_int() and int(), as well as for the        int_to_real(), real(), real_to_int() and int(), as well as for the
134        plus, minus and negate language operators.        plus, minus and negate language operators.
135        - Added massive amount of NKSP test cases for standard measuring units and
136          'final' operator usage cases.
137        - Added NKSP test cases for (floating point tolerance aware) real number
138          equalness / unequalness comparison.
139    
140  Version 2.1.1 (27 Jul 2019)  Version 2.1.1 (27 Jul 2019)
141    

Legend:
Removed from v.3577  
changed lines
  Added in v.3581

  ViewVC Help
Powered by ViewVC