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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1195  
changed lines
  Added in v.3657

  ViewVC Help
Powered by ViewVC