2 |
* general changes: |
* general changes: |
3 |
- removed 2 GB limitation when loading a gig or DLS file |
- removed 2 GB limitation when loading a gig or DLS file |
4 |
- using now native integer size where appropriate |
- using now native integer size where appropriate |
5 |
|
- fixed minor issues with man pages (patch by Debian maintainer) |
6 |
|
- fixed various spelling mistakes (patch by Debian maintainer) |
7 |
|
- Added new "Serialization" framework (and equally named namespace) |
8 |
|
which allows to serialize and deserialize native C++ objects |
9 |
|
in a portable, easy and flexible way. |
10 |
|
- print compiler warning if no RTTI available |
11 |
|
- Fixed potential crash in command line tools gig2stereo, korg2gig, |
12 |
|
korgdump and sf2extract. |
13 |
|
- Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953 |
14 |
|
(original patch by Paul Brossier, slightly modified). |
15 |
|
|
16 |
* src/gig.cpp, src/gig.h: |
* src/gig.cpp, src/gig.h: |
17 |
- fixed bug in Script::SetGroup: the script chunk wasn't moved |
- fixed bug in Script::SetGroup: the script chunk wasn't moved |
20 |
as one single monolithic gig file. In case .gig file is >= 2GB expect a |
as one single monolithic gig file. In case .gig file is >= 2GB expect a |
21 |
large monolithic file, otherwise if .gig file is < 2 GB check for |
large monolithic file, otherwise if .gig file is < 2 GB check for |
22 |
"extension" files (.gx01, .gx02, ...) instead. |
"extension" files (.gx01, .gx02, ...) instead. |
23 |
|
- fixed Region::UpdateUpdateVelocityTable() which did not work correctly |
24 |
|
if there were dimensions after the velocity dimension: it only created |
25 |
|
valid velocity tables for cases of dimensions lower than the velocity |
26 |
|
dimension. |
27 |
|
- added new method Sample::VerifyWaveData() which allows to check whether |
28 |
|
a sample had been damaged for some reason |
29 |
|
- Fix: samples' CRC checksums were damaged on file structure changes. |
30 |
|
- Fix: samples' CRC checksums were misordered when a Sample was deleted. |
31 |
|
- Added new method Sample::GetWaveDataCRC32Checksum(). |
32 |
|
- Changed default value of EG2Release (filter release time) to 60s. |
33 |
|
- Instruments' default pitch bend range is now +-2 semi tones. |
34 |
|
- Fixed CRC checksums being wrong sometimes. |
35 |
|
- Fix: method File::AddContentOf() did not clone script groups and scripts |
36 |
|
of passed original file. |
37 |
|
- Added support for serializing & deserializing DimensionRegion |
38 |
|
objects (and crossfade_t and leverage_ctrl_t objects). |
39 |
|
- Added enum reflection API functions for retrieving enum declaration type |
40 |
|
information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()). |
41 |
|
- Exception class now has a variadic constructor which allows to add |
42 |
|
textual format specifiers like with printf(). |
43 |
|
- On unknown leverage controller exception: show precise unknown leverage |
44 |
|
controller number found. |
45 |
|
- Ignore invalid leverage controller types and just show a warning on the |
46 |
|
console instead of throwing an exception. |
47 |
|
- Added new struct eg_opt_t and new class member variable |
48 |
|
DimensionRegion::EG1Options and DimensionRegion::EG2Options as an |
49 |
|
extension to the gig file format, which allows to override the default |
50 |
|
behavior of the first two EGs' state machines. |
51 |
|
- Fixed undefined behavior when loading a gig file with invalid |
52 |
|
velocity curve parameters (fixes CVE-2017-12951). |
53 |
|
|
54 |
* src/DLS.cpp, src/DLS.h: |
* src/DLS.cpp, src/DLS.h: |
55 |
- Sample: wave pool offsets are now 64 bits (to allow support for files |
- Sample: wave pool offsets are now 64 bits (to allow support for files |
56 |
larger than 4 GB). |
larger than 4 GB). |
57 |
|
- Exception class now has a variadic constructor which allows to add |
58 |
|
textual format specifiers like with printf(). |
59 |
|
|
60 |
* src/RIFF.cpp, src/RIFF.h: |
* src/RIFF.cpp, src/RIFF.h: |
61 |
- added support for RIFF files larger than 4 GB, by default the required |
- added support for RIFF files larger than 4 GB, by default the required |
65 |
with a new option added to the RIFF File constructor though |
with a new option added to the RIFF File constructor though |
66 |
- when saving a modified, grown RIFF file, the temporary file size during |
- when saving a modified, grown RIFF file, the temporary file size during |
67 |
Save() operation will no longer be larger than the final grown file size |
Save() operation will no longer be larger than the final grown file size |
68 |
|
- Exception class now has a variadic constructor which allows to add |
69 |
|
textual format specifiers like with printf(). |
70 |
|
|
71 |
|
* src/Serialization.cpp, src/Serialization.h: |
72 |
|
- Archive: Added method isModified(). |
73 |
|
- Archive: Added method setAutoValue(). |
74 |
|
- Archive: Added method setIntValue(). |
75 |
|
- Archive: Added method setRealValue(). |
76 |
|
- Archive: Added method setBoolValue(). |
77 |
|
- Archive: Added method setEnumValue(). |
78 |
|
- Archive: Added method valueAsString(). |
79 |
|
- Archive::rawData(): Automatically re-encode new raw data stream if |
80 |
|
archive had been modified (i.e. by remove(), setAutoValue(), etc.). |
81 |
|
- Object: Added method memberByUID(). |
82 |
|
- Object: remove() method is now protected. |
83 |
|
- Archive: Added method removeMember(). |
84 |
|
- Archive: Added methods name() and setName(). |
85 |
|
- Archive: Added methods comment() and setComment(). |
86 |
|
- Archive: Added methods timeStampCreated(), timeStampModified(), |
87 |
|
dateTimeCreated() and dateTimeModified(). |
88 |
|
- Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool(). |
89 |
|
- DataType: Implemented demangling C++ type names (for methods |
90 |
|
asLongDescr() and customTypeName(bool demangle=false)). |
91 |
|
- Archive::setAutoValue(): Handle human readable boolean text |
92 |
|
representations like "yes", "no", "true", "false" as expected. |
93 |
|
- Exception class now has a variadic constructor which allows to add |
94 |
|
textual format specifiers like with printf(). |
95 |
|
- DataType fix: Retain backward compatibility to older versions of native |
96 |
|
C++ classes/structs. |
97 |
|
|
98 |
* src/tools/akaidump.cpp, src/tools/akaiextract.cpp: |
* src/tools/akaidump.cpp, src/tools/akaiextract.cpp: |
99 |
- improved output of non-ascii characters in usage messages |
- improved output of non-ascii characters in usage messages |
103 |
- fixed c++11 narrowing warnings |
- fixed c++11 narrowing warnings |
104 |
- fixed fine tuning which was not translated at all |
- fixed fine tuning which was not translated at all |
105 |
|
|
106 |
|
* src/tools/gigdump.cpp: |
107 |
|
- additionally print VelocityUpperLimit and DimensionUpperLimits of all |
108 |
|
dimension regions |
109 |
|
- additionally print RIFF chunk file offset and RIFF chunk size of sample |
110 |
|
data |
111 |
|
- added and implemented new parameter "--verify" which allows to check |
112 |
|
the raw wave form data integrity of all samples |
113 |
|
- added and implemented new parameter "--rebuild-checksums" which allows |
114 |
|
to recalculate the CRC32 checksum of all samples' raw wave data and |
115 |
|
rebuilding the gig file's global checksum table (i.e. in case the |
116 |
|
file's checksum table was damaged) |
117 |
|
- print samples' CRC32 checksums |
118 |
|
- Print the new EG behavior options (eg_opt_t). |
119 |
|
|
120 |
|
* src/tools/gigextract.cpp: |
121 |
|
- Fix: if sample name contains a path separator (slash or backslash) then |
122 |
|
replace them by a minus sign to avoid file system issues. |
123 |
|
|
124 |
|
* src/tools/gig2stereo.cpp: |
125 |
|
- Also merge mono sample pairs with non matching loop information if |
126 |
|
argument --incompatible was given. |
127 |
|
|
128 |
* packaging changes: |
* packaging changes: |
129 |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
130 |
auto detect whether it (sh/c)ould output its messages in color. |
auto detect whether it (sh/c)ould output its messages in color. |