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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.902  
changed lines
  Added in v.3198

  ViewVC Help
Powered by ViewVC