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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1081  
changed lines
  Added in v.3481

  ViewVC Help
Powered by ViewVC