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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.632  
changed lines
  Added in v.3369

  ViewVC Help
Powered by ViewVC