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

Diff of /libgig/trunk/ChangeLog

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

revision 2923 by schoenebeck, Sat May 21 08:54:32 2016 UTC revision 3903 by schoenebeck, Wed May 12 18:31:25 2021 UTC
# Line 1  Line 1 
1  Version SVN trunk  Version SVN trunk (?)
2    
3      * src/gig.cpp, src/gig.h:
4        - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
5    
6      * src/SF.cpp, src/SF.h:
7        - File::DeleteInstrument(): Fix clang sanatizer warning.
8    
9      * src/RIFF.cpp, src/RIFF.h:
10        - Chunk::LoadChunkData(): Fix clang sanatizer warning.
11        - List::LoadSubChunks(): Fix potential garbage data access if reading a
12          RIFF chunk ID failed.
13    
14    Version 4.3.0 (9 May 2021)
15    
16      * general changes:
17        - Require at least a C++11 compliant compiler.
18        - Require some UUID generating function by underlying system.
19    
20      * src/gig.cpp, src/gig.h:
21        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
22          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
23          allow to define override LFOs' wave form (e.g. saw or square instead of
24          the default wave form which was always sine in the original
25          Gigasampler/GigaStudio software).
26        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
27          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
28          move the start point horizontally of the LFOs' waves (0° ... 360°).
29        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
30          (the original Gigasampler/GigaStudio software only had that flip phase
31          option for LFO1 and LFO2).
32        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
33          Region::UsesAnyGigFormatExtension(),
34          Instrument::UsesAnyGigFormatExtension() and
35          File::UsesAnyGigFormatExtension() (however only as private methods yet,
36          see comments on methods why).
37        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
38          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
39          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
40          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
41          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
42        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
43          (patch by Ivan Maguidhir).
44        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
45          (original patch by Ivan Maguidhir).
46        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
47          dimensions being in different order after deleting a dimension zone.
48        - Script: Generate a persistent UUID for each script.
49        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
50          accordingly added new methods to Instrument class:
51          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
52          GetScriptPatchVariable(), SetScriptPatchVariable(),
53          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
54          as child of our '3LS ' list chunk on Instrument level.
55        - Fixed undefined behaviour when modifying script slots on an instrument
56          that had been cloned and not been saved yet (e.g. unintended modification
57          of original instrument's script slots, and crash on Instrument destruction
58          due to double free of pScriptRefs).
59    
60      * src/Serialization.cpp, src/Serialization.h:
61        - Fixed broken Archive(RawData) constructor which always threw an
62          Exception.
63        - Added built-in support for C++ String objects (a.k.a. std::string
64          from the STL) and bumped Srx format version to 1.1 for that reason.
65        - Fixed assertion fault on some systems if a member variable defined was
66          serialized which was declared as size_t or ssize_t data type.
67        - Added new method Archive::operation() which allows applications to
68          distinguish between serialization vs. deserialization in their
69          serialize() method implementations.
70        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
71          the STL).
72        - Member offsets are now signed and for (newly added support of) member
73          variables on the heap -1 is always used as offset instead.
74        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
75          STL).
76        - DataType: Added optional 2nd custom type name.
77        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
78          STL).
79    
80      * src/helper.h:
81        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
82          function call.
83    
84      * src/tools/gigdump.cpp:
85        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
86          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
87          LFO2FlipPhase and LFO3FlipPhase.
88    
89    Version 4.2.0 (25 Jul 2019)
90    
91      * general changes:
92        - Added MSVC build support (anonymous patch from mailing list).
93        - Introduced CMake build support (yet constrained for building with MSVC)
94          (anonymous patch from mailing list).
95        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
96          destructors. Added new virtual method DeleteChunks() to those classes
97          for this which must be explicitly called instead to remove their RIFF
98          chunks.
99        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
100          of zero; which is unsafe per se.
101        - Added C++11 "override" keyword where appropriate.
102        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
103          of their actions when not passing a progress_t callback structure.
104    
105      * src/gig.cpp, src/gig.h:
106        - Fixed Doxygen API comments for enum types (currently latest Doxygen
107          [v1.8.13] only supports C comments in macro arguments expansion, but
108          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
109          the Doxygen source code, which currently also filter out new line
110          \n chars).
111        - Added new method File::CountSamples().
112        - Added new method File::CountInstruments().
113        - Fixed gig v4 files falsely being handled as v2 format
114          (patch by Ivan Maguidhir).
115        - Added gig v4 version identifier (File::VERSION_4).
116        - GIG FORMAT EXTENSION: Added attribute
117          DimensionRegion::SustainReleaseTrigger which allows to define whether
118          a sustain pedal up event shall cause a release trigger sample to be
119          played (default: don't play release trigger sample by sustain pedal).
120        - GIG FORMAT EXTENSION: Added attribute
121          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
122          regular behaviour of playing release trigger sample on MIDI note-off
123          events.
124        - Introduced support for writing extension files (.gx01, .gx02, ...)
125          (original patch by Ivan Maguidhir).
126        - Many gig classes derive now from DLS::Storage (see DLS changes below).
127        - Added File::GetRiffFile() method.
128    
129      * src/DLS.cpp, src/DLS.h:
130        - File: Fixed implicitly allocated RIFF::File object never been freed.
131        - Added new abstract interface base class DLS::Storage which is derived by
132          the respective classes for implementing (the old) UpdateChunks() and the
133          new DeleteChunks() method.
134        - Added File::GetRiffFile() method.
135    
136      * src/sf2.cpp, src/sf2.h:
137        - Added Sample::GetFile() method.
138        - Added File::GetRiffFile() method.
139    
140      * src/Serialization.cpp, src/Serialization.h:
141        - Hide pure internal declarations from header file to avoid numerous
142          compiler warnings when building and linking against the public API.
143        - Fixed comparision logic bug
144        - Fixed memory leak in DataType::customTypeName().
145    
146      * src/RIFF.cpp, src/RIFF.h:
147        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
148          caused a resource leak
149        - Avoid compiler warning when building for 32 bit windows.
150        - Added new method progress_t::subdivide().
151        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
152        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
153          allows a more fine graded control into which portions the subtasks are
154          divided to.
155    
156      * src/tools/gigdump.cpp:
157        - Added command line option --instrument-names which causes only
158          instrument names and their index numbers to be printed.
159    
160    Version 4.1.0 (25 Nov 2017)
161    * general changes:    * general changes:
162      - removed 2 GB limitation when loading a gig or DLS file      - removed 2 GB limitation when loading a gig or DLS file
163      - using now native integer size where appropriate      - using now native integer size where appropriate
164        - fixed minor issues with man pages (patch by Debian maintainer)
165        - fixed various spelling mistakes (patch by Debian maintainer)
166        - Added new "Serialization" framework (and equally named namespace)
167          which allows to serialize and deserialize native C++ objects
168          in a portable, easy and flexible way.
169        - print compiler warning if no RTTI available
170        - Fixed potential crash in command line tools gig2stereo, korg2gig,
171          korgdump and sf2extract.
172        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
173          (original patch by Paul Brossier, slightly modified).
174        - Debian: Fixed packaging error about invalid substitution variable
175          "Source-Version".
176        - Raised Debian compatibility level to Debian 9 "Stretch".
177    
178    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
179      - fixed bug in Script::SetGroup: the script chunk wasn't moved      - fixed bug in Script::SetGroup: the script chunk wasn't moved
# Line 14  Version SVN trunk Line 186  Version SVN trunk
186        if there were dimensions after the velocity dimension: it only created        if there were dimensions after the velocity dimension: it only created
187        valid velocity tables for cases of dimensions lower than the velocity        valid velocity tables for cases of dimensions lower than the velocity
188        dimension.        dimension.
189        - added new method Sample::VerifyWaveData() which allows to check whether
190          a sample had been damaged for some reason
191        - Fix: samples' CRC checksums were damaged on file structure changes.
192        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
193        - Added new method Sample::GetWaveDataCRC32Checksum().
194        - Changed default value of EG2Release (filter release time) to 60s.
195        - Instruments' default pitch bend range is now +-2 semi tones.
196        - Fixed CRC checksums being wrong sometimes.
197        - Fix: method File::AddContentOf() did not clone script groups and scripts
198          of passed original file.
199        - Added support for serializing & deserializing DimensionRegion
200          objects (and crossfade_t and leverage_ctrl_t objects).
201        - Added enum reflection API functions for retrieving enum declaration type
202          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
203        - Exception class now has a variadic constructor which allows to add
204          textual format specifiers like with printf().
205        - On unknown leverage controller exception: show precise unknown leverage
206          controller number found.
207        - Ignore invalid leverage controller types and just show a warning on the
208          console instead of throwing an exception.
209        - Added new struct eg_opt_t and new class member variable
210          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
211          extension to the gig file format, which allows to override the default
212          behavior of the first two EGs' state machines.
213        - Fixed undefined behavior when loading a gig file with invalid
214          velocity curve parameters (fixes CVE-2017-12951).
215        - Fixed undefined behavior when loading a gig file with invalid wave
216          pool index number (fixes CVE-2017-12954).
217    
218    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
219      - 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
220        larger than 4 GB).        larger than 4 GB).
221              - Exception class now has a variadic constructor which allows to add
222          textual format specifiers like with printf().
223    
224    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
225      - 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
226        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF
# Line 27  Version SVN trunk Line 229  Version SVN trunk
229        with a new option added to the RIFF File constructor though        with a new option added to the RIFF File constructor though
230      - when saving a modified, grown RIFF file, the temporary file size during      - when saving a modified, grown RIFF file, the temporary file size during
231        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
232        - Exception class now has a variadic constructor which allows to add
233          textual format specifiers like with printf().
234    
235      * src/Serialization.cpp, src/Serialization.h:
236        - Archive: Added method isModified().
237        - Archive: Added method setAutoValue().
238        - Archive: Added method setIntValue().
239        - Archive: Added method setRealValue().
240        - Archive: Added method setBoolValue().
241        - Archive: Added method setEnumValue().
242        - Archive: Added method valueAsString().
243        - Archive::rawData(): Automatically re-encode new raw data stream if
244          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
245        - Object: Added method memberByUID().
246        - Object: remove() method is now protected.
247        - Archive: Added method removeMember().
248        - Archive: Added methods name() and setName().
249        - Archive: Added methods comment() and setComment().
250        - Archive: Added methods timeStampCreated(), timeStampModified(),
251          dateTimeCreated() and dateTimeModified().
252        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
253        - DataType: Implemented demangling C++ type names (for methods
254          asLongDescr() and customTypeName(bool demangle=false)).
255        - Archive::setAutoValue(): Handle human readable boolean text
256          representations like "yes", "no", "true", "false" as expected.
257        - Exception class now has a variadic constructor which allows to add
258          textual format specifiers like with printf().
259        - DataType fix: Retain backward compatibility to older versions of native
260          C++ classes/structs.
261    
262      * src/Akai.cpp:
263        - Fixed compilation error with recent, more strict compilers.
264    
265    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
266      - improved output of non-ascii characters in usage messages      - improved output of non-ascii characters in usage messages
# Line 39  Version SVN trunk Line 273  Version SVN trunk
273    * src/tools/gigdump.cpp:    * src/tools/gigdump.cpp:
274      - additionally print VelocityUpperLimit and DimensionUpperLimits of all      - additionally print VelocityUpperLimit and DimensionUpperLimits of all
275        dimension regions        dimension regions
276        - additionally print RIFF chunk file offset and RIFF chunk size of sample
277          data
278        - added and implemented new parameter "--verify" which allows to check
279          the raw wave form data integrity of all samples
280        - added and implemented new parameter "--rebuild-checksums" which allows
281          to recalculate the CRC32 checksum of all samples' raw wave data and
282          rebuilding the gig file's global checksum table (i.e. in case the
283          file's checksum table was damaged)
284        - print samples' CRC32 checksums
285        - Print the new EG behavior options (eg_opt_t).
286    
287      * src/tools/gigextract.cpp:
288        - Fix: if sample name contains a path separator (slash or backslash) then
289          replace them by a minus sign to avoid file system issues.
290    
291      * src/tools/gig2stereo.cpp:
292        - Also merge mono sample pairs with non matching loop information if
293          argument --incompatible was given.
294    
295    * packaging changes:    * packaging changes:
296      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to

Legend:
Removed from v.2923  
changed lines
  Added in v.3903

  ViewVC Help
Powered by ViewVC