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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2  
changed lines
  Added in v.3934

  ViewVC Help
Powered by ViewVC