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

Diff of /libgig/trunk/ChangeLog

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

revision 1050 by schoenebeck, Fri Mar 2 01:04:45 2007 UTC revision 4094 by schoenebeck, Tue Feb 20 16:34:06 2024 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version 4.4.1 (20 Feb 2024)
2    
3      * general changes:
4        - Move system dependent type and macro definitions into a shared header
5          file sysdef.h (fixes compilation error with MSVC).
6    
7      * src/RIFF.cpp, src/RIFF.h:
8        - Fixed compilation error with some compilers, caused by using
9          designated initializers, which is a C++20 feature.
10    
11    Version 4.4.0 (26 Jan 2024)
12    
13      * general changes:
14        - Add new command line tool "wav2gig".
15        - Fix build errors on Windows (patches by Ross Maxx).
16    
17      * src/gig.cpp, src/gig.h:
18        - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
19        - Region::SplitDimensionZone(): Fix clang sanatizer warning.
20        - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
21          (InternalDecompressionBuffer is no longer needed for 24 bit samples since
22          SVN r902 / libgig release 3.1.0).
23        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
24          entire gig.cpp file.
25        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
26          entire gig.cpp file.
27        - Added method Instrument::GetRegionAt().
28        - Marked methods Instrument::GetFirstRegion() and
29          Instrument::GetNextRegion() as deprecated.
30        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
31          gig.cpp file.
32        - Changed signature of method File::GetSample(uint) to
33          File::GetSample(size_t,progress_t*).
34        - Marked methods File::GetFirstSample() and File::GetNextSample() as
35          deprecated.
36        - Use File::GetSample() instead of File::GetFirstSample() /
37          File::GetNextSample() in entire gig.cpp file.
38        - Added method Group::GetSample().
39        - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
40          deprecated.
41        - Use Group::GetSample() instead of Group::GetFirstSample() /
42          Group::GetNextSample() in entire gig.cpp file.
43        - Changed signature of method File::GetGroup(uint) to
44          File::GetGroup(size_t).
45        - Fixed File::GetGroup(size_t) to be reentrant-safe.
46        - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
47        - Fixed GetGroup(String) to be reentrant-safe.
48        - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
49          gig.cpp file.
50        - Changed signature of method File::GetInstrument(uint,progress_t*) to
51          File::GetInstrument(size_t,progress_t*).
52        - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
53        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
54          as deprecated.
55        - Use File::GetInstrument() instead of File::GetFirstInstrument() /
56          File::GetNextInstrument() in entire gig.cpp file.
57        - Optimized method ScriptGroup::GetScript() to have constant time
58          efficiency.
59        - Changed signature of method File::GetScriptGroup(uint) to
60          File::GetScriptGroup(size_t).
61        - Optimized method File::GetScriptGroup(size_t) to have constant time
62          efficiency.
63        - Changed signature of method ScriptGroup::GetScript(uint) to
64          ScriptGroup::GetScript(size_t).
65        - Changed signature of method Instrument::GetScriptOfSlot(uint) to
66          Instrument::GetScriptOfSlot(size_t).
67        - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to
68          Instrument::SwapScriptSlots(size_t,size_t).
69        - Changed signature of method Instrument::RemoveScriptSlot(uint) to
70          Instrument::RemoveScriptSlot(size_t).
71        - Changed signature of method Instrument::ScriptSlotCount() to return
72          size_t instead of uint.
73        - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to
74          Instrument::IsScriptSlotBypassed(size_t).
75        - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool)
76          to Instrument::SetScriptSlotBypassed(size_t,bool).
77        - Changed signature of method
78          Instrument::IsScriptPatchVariableSet(int,String) to
79          Instrument::IsScriptPatchVariableSet(size_t,String).
80        - Changed signature of method Instrument::GetScriptPatchVariables(int) to
81          Instrument::GetScriptPatchVariables(size_t).
82        - Changed signature of method
83          Instrument::GetScriptPatchVariable(int,String) to
84          Instrument::GetScriptPatchVariable(size_t,String).
85        - Changed signature of method
86          Instrument::SetScriptPatchVariable(int,String,String) to
87          Instrument::SetScriptPatchVariable(size_t,String,String).
88        - Changed signature of method
89          Instrument::UnsetScriptPatchVariable(int,String) to
90          Instrument::UnsetScriptPatchVariable(ssize_t,String).
91        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
92          samples (only triggered if now deprecated File::GetFirstSample() /
93          File::GetNextSample() methods were still used).
94        - Fixed Sample::Write() method not having updated sample's CRC (correctly)
95          if sample was previously resized.
96        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
97          moving regions (only triggered if now deprecated File::GetFirstRegion() /
98          File::GetNextRegion() methods were still used).
99        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
100          instruments (only triggered if now deprecated File::GetFirstInstrument() /
101          File::GetNextInstrument() methods were still used).
102    
103      * src/SF.cpp, src/SF.h:
104        - File::DeleteInstrument(): Fix clang sanatizer warning.
105    
106      * src/DLS.cpp, src/DLS.h:
107        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
108          entire DLS.cpp file.
109        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
110          entire DLS.cpp file.
111        - Added method Instrument::GetRegionAt().
112        - Marked methods Instrument::GetFirstRegion() and
113          Instrument::GetNextRegion() as deprecated.
114        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
115          DLS.cpp file.
116        - Added method File::GetSample().
117        - Marked methods File::GetFirstSample() and File::GetNextSample() as
118          deprecated.
119        - Use File::GetSample() instead of File::GetFirstSample() /
120          File::GetNextSample() in entire DLS.cpp file.
121        - Added method Articulator::GetArticulation().
122        - Marked methods Articulator::GetFirstArticulation() and
123          Articulator::GetNextArticulation() as deprecated.
124        - Added method File::GetInstrument().
125        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
126          as deprecated.
127        - Added method Instrument::CountRegions().
128        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
129          samples (only triggered if now deprecated File::GetFirstSample() /
130          File::GetNextSample() methods were still used).
131        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
132          moving regions (only triggered if now deprecated File::GetFirstRegion() /
133          File::GetNextRegion() methods were still used).
134        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
135          instruments (only triggered if now deprecated File::GetFirstInstrument() /
136          File::GetNextInstrument() methods were still used).
137    
138      * src/RIFF.cpp, src/RIFF.h:
139        - Chunk::LoadChunkData(): Fix clang sanatizer warning.
140        - List::LoadSubChunks(): Fix potential garbage data access if reading a
141          RIFF chunk ID failed.
142        - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
143          latter allows to automatically use a separate file I/O stream state for
144          each thread.
145        - Added method List::GetSubChunkAt().
146        - Added method List::GetSubListAt().
147        - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
148          List::GetFirstSubList() and List::GetNextSubList() as deprecated.
149        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
150          entire RIFF.cpp file.
151    
152    Version 4.3.0 (9 May 2021)
153    
154      * general changes:
155        - Require at least a C++11 compliant compiler.
156        - Require some UUID generating function by underlying system.
157    
158      * src/gig.cpp, src/gig.h:
159        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
160          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
161          allow to define override LFOs' wave form (e.g. saw or square instead of
162          the default wave form which was always sine in the original
163          Gigasampler/GigaStudio software).
164        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
165          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
166          move the start point horizontally of the LFOs' waves (0° ... 360°).
167        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
168          (the original Gigasampler/GigaStudio software only had that flip phase
169          option for LFO1 and LFO2).
170        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
171          Region::UsesAnyGigFormatExtension(),
172          Instrument::UsesAnyGigFormatExtension() and
173          File::UsesAnyGigFormatExtension() (however only as private methods yet,
174          see comments on methods why).
175        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
176          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
177          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
178          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
179          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
180        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
181          (patch by Ivan Maguidhir).
182        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
183          (original patch by Ivan Maguidhir).
184        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
185          dimensions being in different order after deleting a dimension zone.
186        - Script: Generate a persistent UUID for each script.
187        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
188          accordingly added new methods to Instrument class:
189          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
190          GetScriptPatchVariable(), SetScriptPatchVariable(),
191          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
192          as child of our '3LS ' list chunk on Instrument level.
193        - Fixed undefined behaviour when modifying script slots on an instrument
194          that had been cloned and not been saved yet (e.g. unintended modification
195          of original instrument's script slots, and crash on Instrument destruction
196          due to double free of pScriptRefs).
197    
198      * src/Serialization.cpp, src/Serialization.h:
199        - Fixed broken Archive(RawData) constructor which always threw an
200          Exception.
201        - Added built-in support for C++ String objects (a.k.a. std::string
202          from the STL) and bumped Srx format version to 1.1 for that reason.
203        - Fixed assertion fault on some systems if a member variable defined was
204          serialized which was declared as size_t or ssize_t data type.
205        - Added new method Archive::operation() which allows applications to
206          distinguish between serialization vs. deserialization in their
207          serialize() method implementations.
208        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
209          the STL).
210        - Member offsets are now signed and for (newly added support of) member
211          variables on the heap -1 is always used as offset instead.
212        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
213          STL).
214        - DataType: Added optional 2nd custom type name.
215        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
216          STL).
217    
218      * src/helper.h:
219        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
220          function call.
221    
222      * src/tools/gigdump.cpp:
223        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
224          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
225          LFO2FlipPhase and LFO3FlipPhase.
226    
227    Version 4.2.0 (25 Jul 2019)
228    
229      * general changes:
230        - Added MSVC build support (anonymous patch from mailing list).
231        - Introduced CMake build support (yet constrained for building with MSVC)
232          (anonymous patch from mailing list).
233        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
234          destructors. Added new virtual method DeleteChunks() to those classes
235          for this which must be explicitly called instead to remove their RIFF
236          chunks.
237        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
238          of zero; which is unsafe per se.
239        - Added C++11 "override" keyword where appropriate.
240        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
241          of their actions when not passing a progress_t callback structure.
242    
243      * src/gig.cpp, src/gig.h:
244        - Fixed Doxygen API comments for enum types (currently latest Doxygen
245          [v1.8.13] only supports C comments in macro arguments expansion, but
246          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
247          the Doxygen source code, which currently also filter out new line
248          \n chars).
249        - Added new method File::CountSamples().
250        - Added new method File::CountInstruments().
251        - Fixed gig v4 files falsely being handled as v2 format
252          (patch by Ivan Maguidhir).
253        - Added gig v4 version identifier (File::VERSION_4).
254        - GIG FORMAT EXTENSION: Added attribute
255          DimensionRegion::SustainReleaseTrigger which allows to define whether
256          a sustain pedal up event shall cause a release trigger sample to be
257          played (default: don't play release trigger sample by sustain pedal).
258        - GIG FORMAT EXTENSION: Added attribute
259          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
260          regular behaviour of playing release trigger sample on MIDI note-off
261          events.
262        - Introduced support for writing extension files (.gx01, .gx02, ...)
263          (original patch by Ivan Maguidhir).
264        - Many gig classes derive now from DLS::Storage (see DLS changes below).
265        - Added File::GetRiffFile() method.
266    
267      * src/DLS.cpp, src/DLS.h:
268        - File: Fixed implicitly allocated RIFF::File object never been freed.
269        - Added new abstract interface base class DLS::Storage which is derived by
270          the respective classes for implementing (the old) UpdateChunks() and the
271          new DeleteChunks() method.
272        - Added File::GetRiffFile() method.
273    
274      * src/sf2.cpp, src/sf2.h:
275        - Added Sample::GetFile() method.
276        - Added File::GetRiffFile() method.
277    
278      * src/Serialization.cpp, src/Serialization.h:
279        - Hide pure internal declarations from header file to avoid numerous
280          compiler warnings when building and linking against the public API.
281        - Fixed comparision logic bug
282        - Fixed memory leak in DataType::customTypeName().
283    
284      * src/RIFF.cpp, src/RIFF.h:
285        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
286          caused a resource leak
287        - Avoid compiler warning when building for 32 bit windows.
288        - Added new method progress_t::subdivide().
289        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
290        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
291          allows a more fine graded control into which portions the subtasks are
292          divided to.
293    
294      * src/tools/gigdump.cpp:
295        - Added command line option --instrument-names which causes only
296          instrument names and their index numbers to be printed.
297    
298    Version 4.1.0 (25 Nov 2017)
299      * general changes:
300        - removed 2 GB limitation when loading a gig or DLS file
301        - using now native integer size where appropriate
302        - fixed minor issues with man pages (patch by Debian maintainer)
303        - fixed various spelling mistakes (patch by Debian maintainer)
304        - Added new "Serialization" framework (and equally named namespace)
305          which allows to serialize and deserialize native C++ objects
306          in a portable, easy and flexible way.
307        - print compiler warning if no RTTI available
308        - Fixed potential crash in command line tools gig2stereo, korg2gig,
309          korgdump and sf2extract.
310        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
311          (original patch by Paul Brossier, slightly modified).
312        - Debian: Fixed packaging error about invalid substitution variable
313          "Source-Version".
314        - Raised Debian compatibility level to Debian 9 "Stretch".
315    
316      * src/gig.cpp, src/gig.h:
317        - fixed bug in Script::SetGroup: the script chunk wasn't moved
318        - fixed compilation error with clang 3.4
319        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
320          as one single monolithic gig file. In case .gig file is >= 2GB expect a
321          large monolithic file, otherwise if .gig file is < 2 GB check for
322          "extension" files (.gx01, .gx02, ...) instead.
323        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
324          if there were dimensions after the velocity dimension: it only created
325          valid velocity tables for cases of dimensions lower than the velocity
326          dimension.
327        - added new method Sample::VerifyWaveData() which allows to check whether
328          a sample had been damaged for some reason
329        - Fix: samples' CRC checksums were damaged on file structure changes.
330        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
331        - Added new method Sample::GetWaveDataCRC32Checksum().
332        - Changed default value of EG2Release (filter release time) to 60s.
333        - Instruments' default pitch bend range is now +-2 semi tones.
334        - Fixed CRC checksums being wrong sometimes.
335        - Fix: method File::AddContentOf() did not clone script groups and scripts
336          of passed original file.
337        - Added support for serializing & deserializing DimensionRegion
338          objects (and crossfade_t and leverage_ctrl_t objects).
339        - Added enum reflection API functions for retrieving enum declaration type
340          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
341        - Exception class now has a variadic constructor which allows to add
342          textual format specifiers like with printf().
343        - On unknown leverage controller exception: show precise unknown leverage
344          controller number found.
345        - Ignore invalid leverage controller types and just show a warning on the
346          console instead of throwing an exception.
347        - Added new struct eg_opt_t and new class member variable
348          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
349          extension to the gig file format, which allows to override the default
350          behavior of the first two EGs' state machines.
351        - Fixed undefined behavior when loading a gig file with invalid
352          velocity curve parameters (fixes CVE-2017-12951).
353        - Fixed undefined behavior when loading a gig file with invalid wave
354          pool index number (fixes CVE-2017-12954).
355    
356      * src/DLS.cpp, src/DLS.h:
357        - Sample: wave pool offsets are now 64 bits (to allow support for files
358          larger than 4 GB).
359        - Exception class now has a variadic constructor which allows to add
360          textual format specifiers like with printf().
361    
362      * src/RIFF.cpp, src/RIFF.h:
363        - added support for RIFF files larger than 4 GB, by default the required
364          internal RIFF file offset size is automatically detected (that is RIFF
365          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
366          automatically use 64 bit offsets), a particular offset size can be forced
367          with a new option added to the RIFF File constructor though
368        - when saving a modified, grown RIFF file, the temporary file size during
369          Save() operation will no longer be larger than the final grown file size
370        - Exception class now has a variadic constructor which allows to add
371          textual format specifiers like with printf().
372    
373      * src/Serialization.cpp, src/Serialization.h:
374        - Archive: Added method isModified().
375        - Archive: Added method setAutoValue().
376        - Archive: Added method setIntValue().
377        - Archive: Added method setRealValue().
378        - Archive: Added method setBoolValue().
379        - Archive: Added method setEnumValue().
380        - Archive: Added method valueAsString().
381        - Archive::rawData(): Automatically re-encode new raw data stream if
382          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
383        - Object: Added method memberByUID().
384        - Object: remove() method is now protected.
385        - Archive: Added method removeMember().
386        - Archive: Added methods name() and setName().
387        - Archive: Added methods comment() and setComment().
388        - Archive: Added methods timeStampCreated(), timeStampModified(),
389          dateTimeCreated() and dateTimeModified().
390        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
391        - DataType: Implemented demangling C++ type names (for methods
392          asLongDescr() and customTypeName(bool demangle=false)).
393        - Archive::setAutoValue(): Handle human readable boolean text
394          representations like "yes", "no", "true", "false" as expected.
395        - Exception class now has a variadic constructor which allows to add
396          textual format specifiers like with printf().
397        - DataType fix: Retain backward compatibility to older versions of native
398          C++ classes/structs.
399    
400      * src/Akai.cpp:
401        - Fixed compilation error with recent, more strict compilers.
402    
403      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
404        - improved output of non-ascii characters in usage messages
405        - fixed printf format strings
406    
407      * src/tools/korg2gig.cpp:
408        - fixed c++11 narrowing warnings
409        - fixed fine tuning which was not translated at all
410    
411      * src/tools/gigdump.cpp:
412        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
413          dimension regions
414        - additionally print RIFF chunk file offset and RIFF chunk size of sample
415          data
416        - added and implemented new parameter "--verify" which allows to check
417          the raw wave form data integrity of all samples
418        - added and implemented new parameter "--rebuild-checksums" which allows
419          to recalculate the CRC32 checksum of all samples' raw wave data and
420          rebuilding the gig file's global checksum table (i.e. in case the
421          file's checksum table was damaged)
422        - print samples' CRC32 checksums
423        - Print the new EG behavior options (eg_opt_t).
424    
425      * src/tools/gigextract.cpp:
426        - Fix: if sample name contains a path separator (slash or backslash) then
427          replace them by a minus sign to avoid file system issues.
428    
429      * src/tools/gig2stereo.cpp:
430        - Also merge mono sample pairs with non matching loop information if
431          argument --incompatible was given.
432    
433      * packaging changes:
434        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
435          auto detect whether it (sh/c)ould output its messages in color.
436    
437    Version 4.0.0 (14 Jul 2015)
438      * general changes:
439        - minor Makefile fix for parallel make
440        - Mac OS X: link with CoreFoundation (for the UUID function)
441        - removed gcc 4.7 warnings
442        - modernized configure script
443        - removed usage of deprecated Automake variable INCLUDES
444        - added new command line tool "gigmerge"
445        - added "const" keyword to several methods
446        - added new command line tool "gig2mono"
447        - added man page for "sf2dump"
448        - added new command line tool "korgdump" (and a man page for it)
449        - added new command line tool "korg2gig" (and a man page for it)
450        - moved source files of command line tools to new subdir src/tools
451        - libgig.so and libakai.so files are now installed under
452          $(prefix)/lib/libgig/ by default.
453        - Header files are now installed under $(prefix)/include/libgig/ by default.
454        - Fixed various packaging issues regarding installation directories
455          (fixes #218).
456        - added new command line tool "gig2stereo" (and a man page for it)
457        - unit tests: fixed wrong return value when test suite app exits
458          (patch by Ryan Schmidt)
459        - added new command line tool "sf2extract" (and a man page for it)
460    
461      * SoundFont file format:
462        - initial implementation
463        - changed region lookup API to avoid malloc in RT threads
464        - fixed GetEG1Sustain which didn't return correct value
465        - bugfix: GetPan always returned -1, 0 or 1
466    
467      * KORG file format:
468        - initial support for sample based instruments in KORG's file format
469          (.KMP and .KSF files)
470    
471      * AKAI file format:
472        - Added Linux/POSIX ported version of libakai. Note that libakai is released
473          under LGPL terms while libgig is released under GPL terms. To handle this
474          license difference appropriately the AKAI support part is built as
475          separate DLL (.so file).
476        - Fixed Mac OSX support so that the Akai lib files and tools compile without
477          any exotic third party libraries.
478        - Fixed various compilation errors for Windows.
479        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
480          (fixes #219).
481    
482      * src/gig.cpp:
483        - bugfix: VCF velocity dynamic range and VCF velocity curve
484          weren't saved correctly
485        - implemented File::AddDuplicateInstrument()
486        - bugfix: negative EG3 depth values were not correctly parsed or
487          saved
488        - added write support for CtrlTrigger midi rule
489        - added read and write support for Legato and Alternator midi
490          rules
491        - bugfix: sample groups were sometimes created multiple times or with
492          wrong textual group name
493        - added new method File::AddContentOf() for merging .gig files
494        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
495          controller types (only works with LinuxSampler & gigedit, will not
496          work with Gigasampler/GigaStudio)
497        - added new method File::GetGroup(String name) for getting group by name
498        - added new method Region::GetDimensionDefinition(dimension_t type)
499        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
500        - added some more sanity checks in Region::AddDimension()
501        - added new method Region::DeleteDimensionZone(dimension_t, int)
502        - added new method Region::SplitDimensionZone(dimension_t, int)
503        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
504          with certain velocity split sounds under certain conditions (added bound
505          constraints to prevent that)
506        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
507        - added new method Region::GetDimensionRegionIndexByValue()
508        - added new method Script::GetGroup()
509        - added new method Region::SetDimensionType()
510        - Added support for custom progress notification while saving to gig file.
511        - Bugfix: Adding a new region in between two existing regions caused the
512          new one being dropped after save operation and the gig file being tainted
513          (chunks at wrong location in the RIFF tree).
514        - Added new method Instrument::MoveTo() which allows to rearrange the order
515          of instruments within the same gig file.
516    
517      * src/DLS.cpp, src/DLS.h:
518        - added new method File::GetFileName()
519        - fixed minor "memory leak on exception" bug found with cppcheck
520        - added new method File::GetExtensionFile(int index)
521        - added new method File::SetFileName() allowing to call File::Save()
522          later on without passing a file name
523        - added inline helper methods overlaps() for struct range_t
524        - Added support for custom progress notification while saving to DLS file.
525        - Bugfix: Adding a new region in between two existing regions caused the
526          new one being dropped after save operation and the gig file being tainted
527          (chunks at wrong location in the RIFF tree).
528    
529      * src/SF.cpp, src/SF.h:
530        - added new method Sample::ReadNoClear()
531    
532      * src/RIFF.cpp, src/RIFF.h:
533        - bugfix: avoid calling read() with count 0 when writing a file,
534          as this may hang on some systems
535        - fixed memory leak and memory handling errors when file loading
536          fails
537        - added new method Chunk::ReadString
538        - added new method File::SetFileName() allowing to call File::Save()
539          later on without passing a file name
540        - added new method File::IsNew()
541        - added support for loading RIFF-like files with a bit different layout
542          than "real" RIFF files (used for KORG format support)
543        - added new method Chunk::GetFile()
544        - added new method Chunk::GetLayout()
545        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
546          allows to move a subchunk within the current List, whereas the new 2nd
547          one allows to move the subchunk from the current list to another list
548        - POSIX: only assume -1 result value as error on open() calls
549        - POSIX: show operating system's error reason if opening a file failed
550        - Added support for custom progress notification while saving to RIFF file.
551        - Fixed embarrassing old bug: POSIX read() errors were never detected on
552          Chunk::Read() calls due to signment incompatible variable.
553        - Cleanup of an old DLL binary backward compatibility hack.
554    
555      * src/gigextract.cpp:
556        - export sample loop, unity note and fine tune with libsndfile
557    
558      * src/riftree.cpp:
559        - added more command line options for being able to also dump other kind
560          of file formats similar but not equal to the RIFF format
561    
562    Version 3.3.0 (30 Jul 2009)
563    
564      * general changes:
565        - fixed compilation with gcc 4.3
566        - fixes for building with Visual C++
567        - minor fix in configure for building DLL on Windows
568    
569      * src/gig.cpp, src/gig.h:
570        - added partial support for MIDI rules, only the Controller
571          Triggered rule is supported so far
572        - bugfix: removed another iterator invalidation in DeleteSample
573        - bugfix in Sample::LoadSampleData*(): reset sample read position to
574          sample start before trying to (re)load sample data from file (#82)
575        - bugfix: EG3 depth parameter was not saved correctly
576        - fixed crash which occured when streaming a gig sample with
577          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
578    
579      * src/RIFF.cpp, src/RIFF.h:
580        - bugfix: saving to the same file after the file size had been
581          increased made the file corrupt (#82)
582        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
583          is not written physically yet (#82)
584        - bugfix: saving to the same file after the file size had been
585          decreased sometimes also made the file corrupt!
586        - bugfix: undefined behavior (e.g. endless loop) when opening zero
587          length files, now throws a RIFF::Exception instead (fixes bug #121)
588        - bugfix: destructor for base class RIFF::Chunk accessed members
589          of derived class RIFF::File, which is bad, and caused crashes
590          when using Visual C++
591        - bugfix: files that contain zero length RIFF lists were not read
592          correctly (fixes #127) (bug was introduced 2009-03-13)
593    
594    Version 3.2.1 (5 Dec 2007)
595    
596      * src/RIFF.cpp, src/RIFF.h:
597        - avoid Windows to perform unnecessary file stream caching which would
598          decrease disk streaming performance on Windows systems otherwise
599    
600      * src/gig.cpp, src/gig.h:
601        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
602          applications to retrieve very superficial informations like amount of
603          instruments and their names in a very fast way
604    
605    Version 3.2.0 (14 Oct 2007)
606    
607      * packaging changes:
608        - added Mac OSX XCode project files (patch by Toshi Nagata)
609        - Dev-C++ (win32) project file is automatically updated with
610          the version info from configure.in
611        - the configure script can now be used in Windows with MSYS
612        - added a mainpage for the Doxygen API documentation
613    
614      * src/DLS.cpp, src/DLS.h:
615        - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
616        - fixed write support for big-endian systems
617        - improved handling of fixed length info strings - separate default
618          lengths can be specified for each INFO chunk
619        - added Resource::GenerateDLSID function
620        - write support fix: allow regions without mapped samples
621        - added method SetKeyRange() to the Region class which should be used
622          instead of setting the KeyRange member variable directly
623        - MoveRegion() method of Region class is now private
624        - added SetGain() method to Sampler class
625        - fixed crash when saving a file after a sample loop was added
626    
627      * src/gig.cpp, src/gig.h:
628        - fixed segmentation fault in the gig::File destructor sequence which
629          happened when gig::Group informations were accessed before
630        - fixed write support for big-endian systems
631        - defined lengths of a fixed set of info strings. These strings
632          are saved when the file is written, even if they are empty.
633        - added missing parameter initalizations in sample, region and
634          instrument constructors
635        - clear unused fields when saving samples and regions
636        - fixed write support bugs: v3 dimension limits and chunksize
637          weren't saved, leverage controller of type controlchange
638          couldn't be saved, group name list chunk was placed wrong,
639          dimension region chunks also placed wrong
640        - added initialization of some fixed info strings in file and
641          instrument
642        - write support: files created by libgig will now have the RIFF
643          chunks in correct order
644        - write support: two previously unknown fields in dimension
645          definition are now saved
646        - added constants for gig file versions
647        - write support: the 3crc and einf chunks are now created or
648          updated when a file is saved (3crc contains sample checksums,
649          einf contains file statistics)
650        - write support: DLSID is now generated on the file and the
651          instruments
652        - write support: improved the default values for dimension region
653          parameters
654        - more write support fixes: crossfade parameters were not saved,
655          v3 dimension limits were not correctly initialized and saved
656          when dimensions were added or deleted, v3 wave pool offsets were
657          not saved correctly
658        - write support: 24 bit samples can now be written
659        - write support: version 3 is now the default for new files
660        - more write support fixes: the 3ewg chunk is now bigger for v3,
661          dimension regions without mapped samples are now allowed, 3gnl
662          list in v3 files now always has 128 entries, several parameters
663          where incorrectly saved due to an operator precedence mistake
664        - DeleteSample now removes all references to the deleted sample
665        - AddDimension now copies all parameters from existing dimension
666          regions and also makes sure that the samplechannel dimension is
667          placed first in the list of dimensions.
668        - added method GetParent() to class 'DimensionRegion', which returns its
669          parent Region
670        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
671          unused areas
672        - added various setter methods to DimensionRegion class which take care
673          of updating lookup tables / caches.
674    
675      * src/RIFF.cpp, src/RIFF.h:
676        - added File::SetByteOrder method
677        - Windows fix: saving a new file didn't work
678    
679      * src/gigdump.cpp:
680        - added some missing dimension strings
681    
682    Version 3.1.1 (24 Mar 2007)
683    
684    * packaging changes:    * packaging changes:
685      - ported to Windows using native Windows functions for file IO      - ported to Windows using native Windows functions for file IO
686        (provided Dev-C++ + mingw project file)        (provided Dev-C++ + mingw project file)
687        - only export relevant files to Doxygen API documentation
688    
689      * src/gig.cpp, src/gig.h:
690        - custom velocity splits now works for gig v3 files too
691        - added support for custom splits points for other dimensions than
692          velocity (gig v3 feature)
693        - added "smart midi" and "round robin keyboard" dimensions
694        - added new method File::DeleteGroupOnly() which only deletes the given
695          group but moves all its members to another group, the other method,
696          that is File::DeleteGroup() now removes not just the group, but also
697          all the samples that belong to that group
698        - fixed crash which occured on interfering File::DeleteSample() and
699          File::GetNextSample() calls (due to iterator invalidation)
700        - fixed group names which were not saved
701        - fixed group destructor which did not remove the RIFF chunk associated
702          with the group
703        - added Instrument::MoveRegion method
704        - fixed constructor for Region, which did not initialize correctly
705          when used from Instrument::AddRegion
706        - when saving, override the gig::Regions sample reference simply by
707          the region's first dimension region's sample (avoids an exception
708          when trying to save a new instrument)
709        - fixed AddDimension() method which did not fill out all mandatory
710          dimension definition fields
711    
712      * src/DLS.cpp, src/DLS.h:
713        - added Instrument::MoveRegion method
714        - fixed software info field which was wrongly stored on instruments,
715          causing an exception when trying to save a new instrument
716    
717      * src/RIFF.cpp, src/RIFF.h:
718        - fixed RIFF::Chunk destructor which did not unregister previously
719          resized chunks, leading to a "zero size chunk" exception when
720          File::Save() was called
721        - added List::MoveSubChunk method
722    
723  Version 3.1.0 (24 Nov 2006)  Version 3.1.0 (24 Nov 2006)
724    

Legend:
Removed from v.1050  
changed lines
  Added in v.4094

  ViewVC Help
Powered by ViewVC