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

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

  ViewVC Help
Powered by ViewVC