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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.518  
changed lines
  Added in v.3348

  ViewVC Help
Powered by ViewVC