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

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

  ViewVC Help
Powered by ViewVC