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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.804  
changed lines
  Added in v.3349

  ViewVC Help
Powered by ViewVC