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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.334  
changed lines
  Added in v.2985

  ViewVC Help
Powered by ViewVC