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

Diff of /libgig/trunk/ChangeLog

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

revision 1388 by persson, Sun Oct 7 11:10:02 2007 UTC revision 3900 by schoenebeck, Wed May 12 17:25:27 2021 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * src/SF.cpp, src/SF.h:
4        - File::DeleteInstrument(): Fix clang sanatizer warning.
5    
6    Version 4.3.0 (9 May 2021)
7    
8      * general changes:
9        - Require at least a C++11 compliant compiler.
10        - Require some UUID generating function by underlying system.
11    
12      * src/gig.cpp, src/gig.h:
13        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
14          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
15          allow to define override LFOs' wave form (e.g. saw or square instead of
16          the default wave form which was always sine in the original
17          Gigasampler/GigaStudio software).
18        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
19          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
20          move the start point horizontally of the LFOs' waves (0° ... 360°).
21        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
22          (the original Gigasampler/GigaStudio software only had that flip phase
23          option for LFO1 and LFO2).
24        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
25          Region::UsesAnyGigFormatExtension(),
26          Instrument::UsesAnyGigFormatExtension() and
27          File::UsesAnyGigFormatExtension() (however only as private methods yet,
28          see comments on methods why).
29        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
30          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
31          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
32          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
33          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
34        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
35          (patch by Ivan Maguidhir).
36        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
37          (original patch by Ivan Maguidhir).
38        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
39          dimensions being in different order after deleting a dimension zone.
40        - Script: Generate a persistent UUID for each script.
41        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
42          accordingly added new methods to Instrument class:
43          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
44          GetScriptPatchVariable(), SetScriptPatchVariable(),
45          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
46          as child of our '3LS ' list chunk on Instrument level.
47        - Fixed undefined behaviour when modifying script slots on an instrument
48          that had been cloned and not been saved yet (e.g. unintended modification
49          of original instrument's script slots, and crash on Instrument destruction
50          due to double free of pScriptRefs).
51    
52      * src/Serialization.cpp, src/Serialization.h:
53        - Fixed broken Archive(RawData) constructor which always threw an
54          Exception.
55        - Added built-in support for C++ String objects (a.k.a. std::string
56          from the STL) and bumped Srx format version to 1.1 for that reason.
57        - Fixed assertion fault on some systems if a member variable defined was
58          serialized which was declared as size_t or ssize_t data type.
59        - Added new method Archive::operation() which allows applications to
60          distinguish between serialization vs. deserialization in their
61          serialize() method implementations.
62        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
63          the STL).
64        - Member offsets are now signed and for (newly added support of) member
65          variables on the heap -1 is always used as offset instead.
66        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
67          STL).
68        - DataType: Added optional 2nd custom type name.
69        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
70          STL).
71    
72      * src/helper.h:
73        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
74          function call.
75    
76      * src/tools/gigdump.cpp:
77        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
78          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
79          LFO2FlipPhase and LFO3FlipPhase.
80    
81    Version 4.2.0 (25 Jul 2019)
82    
83      * general changes:
84        - Added MSVC build support (anonymous patch from mailing list).
85        - Introduced CMake build support (yet constrained for building with MSVC)
86          (anonymous patch from mailing list).
87        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
88          destructors. Added new virtual method DeleteChunks() to those classes
89          for this which must be explicitly called instead to remove their RIFF
90          chunks.
91        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
92          of zero; which is unsafe per se.
93        - Added C++11 "override" keyword where appropriate.
94        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
95          of their actions when not passing a progress_t callback structure.
96    
97      * src/gig.cpp, src/gig.h:
98        - Fixed Doxygen API comments for enum types (currently latest Doxygen
99          [v1.8.13] only supports C comments in macro arguments expansion, but
100          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
101          the Doxygen source code, which currently also filter out new line
102          \n chars).
103        - Added new method File::CountSamples().
104        - Added new method File::CountInstruments().
105        - Fixed gig v4 files falsely being handled as v2 format
106          (patch by Ivan Maguidhir).
107        - Added gig v4 version identifier (File::VERSION_4).
108        - GIG FORMAT EXTENSION: Added attribute
109          DimensionRegion::SustainReleaseTrigger which allows to define whether
110          a sustain pedal up event shall cause a release trigger sample to be
111          played (default: don't play release trigger sample by sustain pedal).
112        - GIG FORMAT EXTENSION: Added attribute
113          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
114          regular behaviour of playing release trigger sample on MIDI note-off
115          events.
116        - Introduced support for writing extension files (.gx01, .gx02, ...)
117          (original patch by Ivan Maguidhir).
118        - Many gig classes derive now from DLS::Storage (see DLS changes below).
119        - Added File::GetRiffFile() method.
120    
121      * src/DLS.cpp, src/DLS.h:
122        - File: Fixed implicitly allocated RIFF::File object never been freed.
123        - Added new abstract interface base class DLS::Storage which is derived by
124          the respective classes for implementing (the old) UpdateChunks() and the
125          new DeleteChunks() method.
126        - Added File::GetRiffFile() method.
127    
128      * src/sf2.cpp, src/sf2.h:
129        - Added Sample::GetFile() method.
130        - Added File::GetRiffFile() method.
131    
132      * src/Serialization.cpp, src/Serialization.h:
133        - Hide pure internal declarations from header file to avoid numerous
134          compiler warnings when building and linking against the public API.
135        - Fixed comparision logic bug
136        - Fixed memory leak in DataType::customTypeName().
137    
138      * src/RIFF.cpp, src/RIFF.h:
139        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
140          caused a resource leak
141        - Avoid compiler warning when building for 32 bit windows.
142        - Added new method progress_t::subdivide().
143        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
144        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
145          allows a more fine graded control into which portions the subtasks are
146          divided to.
147    
148      * src/tools/gigdump.cpp:
149        - Added command line option --instrument-names which causes only
150          instrument names and their index numbers to be printed.
151    
152    Version 4.1.0 (25 Nov 2017)
153      * general changes:
154        - removed 2 GB limitation when loading a gig or DLS file
155        - using now native integer size where appropriate
156        - fixed minor issues with man pages (patch by Debian maintainer)
157        - fixed various spelling mistakes (patch by Debian maintainer)
158        - Added new "Serialization" framework (and equally named namespace)
159          which allows to serialize and deserialize native C++ objects
160          in a portable, easy and flexible way.
161        - print compiler warning if no RTTI available
162        - Fixed potential crash in command line tools gig2stereo, korg2gig,
163          korgdump and sf2extract.
164        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
165          (original patch by Paul Brossier, slightly modified).
166        - Debian: Fixed packaging error about invalid substitution variable
167          "Source-Version".
168        - Raised Debian compatibility level to Debian 9 "Stretch".
169    
170      * src/gig.cpp, src/gig.h:
171        - fixed bug in Script::SetGroup: the script chunk wasn't moved
172        - fixed compilation error with clang 3.4
173        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
174          as one single monolithic gig file. In case .gig file is >= 2GB expect a
175          large monolithic file, otherwise if .gig file is < 2 GB check for
176          "extension" files (.gx01, .gx02, ...) instead.
177        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
178          if there were dimensions after the velocity dimension: it only created
179          valid velocity tables for cases of dimensions lower than the velocity
180          dimension.
181        - added new method Sample::VerifyWaveData() which allows to check whether
182          a sample had been damaged for some reason
183        - Fix: samples' CRC checksums were damaged on file structure changes.
184        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
185        - Added new method Sample::GetWaveDataCRC32Checksum().
186        - Changed default value of EG2Release (filter release time) to 60s.
187        - Instruments' default pitch bend range is now +-2 semi tones.
188        - Fixed CRC checksums being wrong sometimes.
189        - Fix: method File::AddContentOf() did not clone script groups and scripts
190          of passed original file.
191        - Added support for serializing & deserializing DimensionRegion
192          objects (and crossfade_t and leverage_ctrl_t objects).
193        - Added enum reflection API functions for retrieving enum declaration type
194          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
195        - Exception class now has a variadic constructor which allows to add
196          textual format specifiers like with printf().
197        - On unknown leverage controller exception: show precise unknown leverage
198          controller number found.
199        - Ignore invalid leverage controller types and just show a warning on the
200          console instead of throwing an exception.
201        - Added new struct eg_opt_t and new class member variable
202          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
203          extension to the gig file format, which allows to override the default
204          behavior of the first two EGs' state machines.
205        - Fixed undefined behavior when loading a gig file with invalid
206          velocity curve parameters (fixes CVE-2017-12951).
207        - Fixed undefined behavior when loading a gig file with invalid wave
208          pool index number (fixes CVE-2017-12954).
209    
210      * src/DLS.cpp, src/DLS.h:
211        - Sample: wave pool offsets are now 64 bits (to allow support for files
212          larger than 4 GB).
213        - Exception class now has a variadic constructor which allows to add
214          textual format specifiers like with printf().
215    
216      * src/RIFF.cpp, src/RIFF.h:
217        - added support for RIFF files larger than 4 GB, by default the required
218          internal RIFF file offset size is automatically detected (that is RIFF
219          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
220          automatically use 64 bit offsets), a particular offset size can be forced
221          with a new option added to the RIFF File constructor though
222        - when saving a modified, grown RIFF file, the temporary file size during
223          Save() operation will no longer be larger than the final grown file size
224        - Exception class now has a variadic constructor which allows to add
225          textual format specifiers like with printf().
226    
227      * src/Serialization.cpp, src/Serialization.h:
228        - Archive: Added method isModified().
229        - Archive: Added method setAutoValue().
230        - Archive: Added method setIntValue().
231        - Archive: Added method setRealValue().
232        - Archive: Added method setBoolValue().
233        - Archive: Added method setEnumValue().
234        - Archive: Added method valueAsString().
235        - Archive::rawData(): Automatically re-encode new raw data stream if
236          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
237        - Object: Added method memberByUID().
238        - Object: remove() method is now protected.
239        - Archive: Added method removeMember().
240        - Archive: Added methods name() and setName().
241        - Archive: Added methods comment() and setComment().
242        - Archive: Added methods timeStampCreated(), timeStampModified(),
243          dateTimeCreated() and dateTimeModified().
244        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
245        - DataType: Implemented demangling C++ type names (for methods
246          asLongDescr() and customTypeName(bool demangle=false)).
247        - Archive::setAutoValue(): Handle human readable boolean text
248          representations like "yes", "no", "true", "false" as expected.
249        - Exception class now has a variadic constructor which allows to add
250          textual format specifiers like with printf().
251        - DataType fix: Retain backward compatibility to older versions of native
252          C++ classes/structs.
253    
254      * src/Akai.cpp:
255        - Fixed compilation error with recent, more strict compilers.
256    
257      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
258        - improved output of non-ascii characters in usage messages
259        - fixed printf format strings
260    
261      * src/tools/korg2gig.cpp:
262        - fixed c++11 narrowing warnings
263        - fixed fine tuning which was not translated at all
264    
265      * src/tools/gigdump.cpp:
266        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
267          dimension regions
268        - additionally print RIFF chunk file offset and RIFF chunk size of sample
269          data
270        - added and implemented new parameter "--verify" which allows to check
271          the raw wave form data integrity of all samples
272        - added and implemented new parameter "--rebuild-checksums" which allows
273          to recalculate the CRC32 checksum of all samples' raw wave data and
274          rebuilding the gig file's global checksum table (i.e. in case the
275          file's checksum table was damaged)
276        - print samples' CRC32 checksums
277        - Print the new EG behavior options (eg_opt_t).
278    
279      * src/tools/gigextract.cpp:
280        - Fix: if sample name contains a path separator (slash or backslash) then
281          replace them by a minus sign to avoid file system issues.
282    
283      * src/tools/gig2stereo.cpp:
284        - Also merge mono sample pairs with non matching loop information if
285          argument --incompatible was given.
286    
287      * packaging changes:
288        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
289          auto detect whether it (sh/c)ould output its messages in color.
290    
291    Version 4.0.0 (14 Jul 2015)
292      * general changes:
293        - minor Makefile fix for parallel make
294        - Mac OS X: link with CoreFoundation (for the UUID function)
295        - removed gcc 4.7 warnings
296        - modernized configure script
297        - removed usage of deprecated Automake variable INCLUDES
298        - added new command line tool "gigmerge"
299        - added "const" keyword to several methods
300        - added new command line tool "gig2mono"
301        - added man page for "sf2dump"
302        - added new command line tool "korgdump" (and a man page for it)
303        - added new command line tool "korg2gig" (and a man page for it)
304        - moved source files of command line tools to new subdir src/tools
305        - libgig.so and libakai.so files are now installed under
306          $(prefix)/lib/libgig/ by default.
307        - Header files are now installed under $(prefix)/include/libgig/ by default.
308        - Fixed various packaging issues regarding installation directories
309          (fixes #218).
310        - added new command line tool "gig2stereo" (and a man page for it)
311        - unit tests: fixed wrong return value when test suite app exits
312          (patch by Ryan Schmidt)
313        - added new command line tool "sf2extract" (and a man page for it)
314    
315      * SoundFont file format:
316        - initial implementation
317        - changed region lookup API to avoid malloc in RT threads
318        - fixed GetEG1Sustain which didn't return correct value
319        - bugfix: GetPan always returned -1, 0 or 1
320    
321      * KORG file format:
322        - initial support for sample based instruments in KORG's file format
323          (.KMP and .KSF files)
324    
325      * AKAI file format:
326        - Added Linux/POSIX ported version of libakai. Note that libakai is released
327          under LGPL terms while libgig is released under GPL terms. To handle this
328          license difference appropriately the AKAI support part is built as
329          separate DLL (.so file).
330        - Fixed Mac OSX support so that the Akai lib files and tools compile without
331          any exotic third party libraries.
332        - Fixed various compilation errors for Windows.
333        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
334          (fixes #219).
335    
336      * src/gig.cpp:
337        - bugfix: VCF velocity dynamic range and VCF velocity curve
338          weren't saved correctly
339        - implemented File::AddDuplicateInstrument()
340        - bugfix: negative EG3 depth values were not correctly parsed or
341          saved
342        - added write support for CtrlTrigger midi rule
343        - added read and write support for Legato and Alternator midi
344          rules
345        - bugfix: sample groups were sometimes created multiple times or with
346          wrong textual group name
347        - added new method File::AddContentOf() for merging .gig files
348        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
349          controller types (only works with LinuxSampler & gigedit, will not
350          work with Gigasampler/GigaStudio)
351        - added new method File::GetGroup(String name) for getting group by name
352        - added new method Region::GetDimensionDefinition(dimension_t type)
353        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
354        - added some more sanity checks in Region::AddDimension()
355        - added new method Region::DeleteDimensionZone(dimension_t, int)
356        - added new method Region::SplitDimensionZone(dimension_t, int)
357        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
358          with certain velocity split sounds under certain conditions (added bound
359          constraints to prevent that)
360        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
361        - added new method Region::GetDimensionRegionIndexByValue()
362        - added new method Script::GetGroup()
363        - added new method Region::SetDimensionType()
364        - Added support for custom progress notification while saving to gig file.
365        - Bugfix: Adding a new region in between two existing regions caused the
366          new one being dropped after save operation and the gig file being tainted
367          (chunks at wrong location in the RIFF tree).
368        - Added new method Instrument::MoveTo() which allows to rearrange the order
369          of instruments within the same gig file.
370    
371      * src/DLS.cpp, src/DLS.h:
372        - added new method File::GetFileName()
373        - fixed minor "memory leak on exception" bug found with cppcheck
374        - added new method File::GetExtensionFile(int index)
375        - added new method File::SetFileName() allowing to call File::Save()
376          later on without passing a file name
377        - added inline helper methods overlaps() for struct range_t
378        - Added support for custom progress notification while saving to DLS file.
379        - Bugfix: Adding a new region in between two existing regions caused the
380          new one being dropped after save operation and the gig file being tainted
381          (chunks at wrong location in the RIFF tree).
382    
383      * src/SF.cpp, src/SF.h:
384        - added new method Sample::ReadNoClear()
385    
386      * src/RIFF.cpp, src/RIFF.h:
387        - bugfix: avoid calling read() with count 0 when writing a file,
388          as this may hang on some systems
389        - fixed memory leak and memory handling errors when file loading
390          fails
391        - added new method Chunk::ReadString
392        - added new method File::SetFileName() allowing to call File::Save()
393          later on without passing a file name
394        - added new method File::IsNew()
395        - added support for loading RIFF-like files with a bit different layout
396          than "real" RIFF files (used for KORG format support)
397        - added new method Chunk::GetFile()
398        - added new method Chunk::GetLayout()
399        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
400          allows to move a subchunk within the current List, whereas the new 2nd
401          one allows to move the subchunk from the current list to another list
402        - POSIX: only assume -1 result value as error on open() calls
403        - POSIX: show operating system's error reason if opening a file failed
404        - Added support for custom progress notification while saving to RIFF file.
405        - Fixed embarrassing old bug: POSIX read() errors were never detected on
406          Chunk::Read() calls due to signment incompatible variable.
407        - Cleanup of an old DLL binary backward compatibility hack.
408    
409      * src/gigextract.cpp:
410        - export sample loop, unity note and fine tune with libsndfile
411    
412      * src/riftree.cpp:
413        - added more command line options for being able to also dump other kind
414          of file formats similar but not equal to the RIFF format
415    
416    Version 3.3.0 (30 Jul 2009)
417    
418      * general changes:
419        - fixed compilation with gcc 4.3
420        - fixes for building with Visual C++
421        - minor fix in configure for building DLL on Windows
422    
423      * src/gig.cpp, src/gig.h:
424        - added partial support for MIDI rules, only the Controller
425          Triggered rule is supported so far
426        - bugfix: removed another iterator invalidation in DeleteSample
427        - bugfix in Sample::LoadSampleData*(): reset sample read position to
428          sample start before trying to (re)load sample data from file (#82)
429        - bugfix: EG3 depth parameter was not saved correctly
430        - fixed crash which occured when streaming a gig sample with
431          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
432    
433      * src/RIFF.cpp, src/RIFF.h:
434        - bugfix: saving to the same file after the file size had been
435          increased made the file corrupt (#82)
436        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
437          is not written physically yet (#82)
438        - bugfix: saving to the same file after the file size had been
439          decreased sometimes also made the file corrupt!
440        - bugfix: undefined behavior (e.g. endless loop) when opening zero
441          length files, now throws a RIFF::Exception instead (fixes bug #121)
442        - bugfix: destructor for base class RIFF::Chunk accessed members
443          of derived class RIFF::File, which is bad, and caused crashes
444          when using Visual C++
445        - bugfix: files that contain zero length RIFF lists were not read
446          correctly (fixes #127) (bug was introduced 2009-03-13)
447    
448    Version 3.2.1 (5 Dec 2007)
449    
450      * src/RIFF.cpp, src/RIFF.h:
451        - avoid Windows to perform unnecessary file stream caching which would
452          decrease disk streaming performance on Windows systems otherwise
453    
454      * src/gig.cpp, src/gig.h:
455        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
456          applications to retrieve very superficial informations like amount of
457          instruments and their names in a very fast way
458    
459    Version 3.2.0 (14 Oct 2007)
460    
461    * packaging changes:    * packaging changes:
462      - added Mac OSX XCode project files (patch by Toshi Nagata)      - added Mac OSX XCode project files (patch by Toshi Nagata)

Legend:
Removed from v.1388  
changed lines
  Added in v.3900

  ViewVC Help
Powered by ViewVC