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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.867  
changed lines
  Added in v.3447

  ViewVC Help
Powered by ViewVC