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

Diff of /libgig/trunk/ChangeLog

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

revision 2564 by schoenebeck, Tue May 20 12:15:05 2014 UTC revision 3942 by schoenebeck, Fri Jun 18 14:23:21 2021 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  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        - Changed signature of method File::GetGroup(uint) to
30          File::GetGroup(size_t).
31        - Fixed File::GetGroup(size_t) to be reentrant-safe.
32        - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
33        - Fixed GetGroup(String) to be reentrant-safe.
34        - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
35          gig.cpp file.
36        - Changed signature of method File::GetInstrument(uint,progress_t*) to
37          File::GetInstrument(size_t,progress_t*).
38    
39      * src/SF.cpp, src/SF.h:
40        - File::DeleteInstrument(): Fix clang sanatizer warning.
41    
42      * src/DLS.cpp, src/DLS.h:
43        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
44          entire DLS.cpp file.
45        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
46          entire DLS.cpp file.
47        - Added method Instrument::GetRegionAt().
48        - Marked methods Instrument::GetFirstRegion() and
49          Instrument::GetNextRegion() as deprecated.
50        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
51          DLS.cpp file.
52        - Added method File::GetSample().
53        - Marked methods File::GetFirstSample() and File::GetNextSample() as
54          deprecated.
55        - Use File::GetSample() instead of File::GetFirstSample() /
56          File::GetNextSample() in entire DLS.cpp file.
57        - Added method Articulator::GetArticulation().
58        - Marked methods Articulator::GetFirstArticulation() and
59          Articulator::GetNextArticulation() as deprecated.
60        - Added method File::GetInstrument().
61        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
62          as deprecated.
63    
64      * src/RIFF.cpp, src/RIFF.h:
65        - Chunk::LoadChunkData(): Fix clang sanatizer warning.
66        - List::LoadSubChunks(): Fix potential garbage data access if reading a
67          RIFF chunk ID failed.
68        - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
69          latter allows to automatically use a separate file I/O stream state for
70          each thread.
71        - Added method List::GetSubChunkAt().
72        - Added method List::GetSubListAt().
73        - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
74          List::GetFirstSubList() and List::GetNextSubList() as deprecated.
75        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
76          entire RIFF.cpp file.
77    
78    Version 4.3.0 (9 May 2021)
79    
80      * general changes:
81        - Require at least a C++11 compliant compiler.
82        - Require some UUID generating function by underlying system.
83    
84      * src/gig.cpp, src/gig.h:
85        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
86          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
87          allow to define override LFOs' wave form (e.g. saw or square instead of
88          the default wave form which was always sine in the original
89          Gigasampler/GigaStudio software).
90        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
91          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
92          move the start point horizontally of the LFOs' waves (0° ... 360°).
93        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
94          (the original Gigasampler/GigaStudio software only had that flip phase
95          option for LFO1 and LFO2).
96        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
97          Region::UsesAnyGigFormatExtension(),
98          Instrument::UsesAnyGigFormatExtension() and
99          File::UsesAnyGigFormatExtension() (however only as private methods yet,
100          see comments on methods why).
101        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
102          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
103          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
104          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
105          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
106        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
107          (patch by Ivan Maguidhir).
108        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
109          (original patch by Ivan Maguidhir).
110        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
111          dimensions being in different order after deleting a dimension zone.
112        - Script: Generate a persistent UUID for each script.
113        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
114          accordingly added new methods to Instrument class:
115          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
116          GetScriptPatchVariable(), SetScriptPatchVariable(),
117          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
118          as child of our '3LS ' list chunk on Instrument level.
119        - Fixed undefined behaviour when modifying script slots on an instrument
120          that had been cloned and not been saved yet (e.g. unintended modification
121          of original instrument's script slots, and crash on Instrument destruction
122          due to double free of pScriptRefs).
123    
124      * src/Serialization.cpp, src/Serialization.h:
125        - Fixed broken Archive(RawData) constructor which always threw an
126          Exception.
127        - Added built-in support for C++ String objects (a.k.a. std::string
128          from the STL) and bumped Srx format version to 1.1 for that reason.
129        - Fixed assertion fault on some systems if a member variable defined was
130          serialized which was declared as size_t or ssize_t data type.
131        - Added new method Archive::operation() which allows applications to
132          distinguish between serialization vs. deserialization in their
133          serialize() method implementations.
134        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
135          the STL).
136        - Member offsets are now signed and for (newly added support of) member
137          variables on the heap -1 is always used as offset instead.
138        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
139          STL).
140        - DataType: Added optional 2nd custom type name.
141        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
142          STL).
143    
144      * src/helper.h:
145        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
146          function call.
147    
148      * src/tools/gigdump.cpp:
149        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
150          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
151          LFO2FlipPhase and LFO3FlipPhase.
152    
153    Version 4.2.0 (25 Jul 2019)
154    
155      * general changes:
156        - Added MSVC build support (anonymous patch from mailing list).
157        - Introduced CMake build support (yet constrained for building with MSVC)
158          (anonymous patch from mailing list).
159        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
160          destructors. Added new virtual method DeleteChunks() to those classes
161          for this which must be explicitly called instead to remove their RIFF
162          chunks.
163        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
164          of zero; which is unsafe per se.
165        - Added C++11 "override" keyword where appropriate.
166        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
167          of their actions when not passing a progress_t callback structure.
168    
169      * src/gig.cpp, src/gig.h:
170        - Fixed Doxygen API comments for enum types (currently latest Doxygen
171          [v1.8.13] only supports C comments in macro arguments expansion, but
172          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
173          the Doxygen source code, which currently also filter out new line
174          \n chars).
175        - Added new method File::CountSamples().
176        - Added new method File::CountInstruments().
177        - Fixed gig v4 files falsely being handled as v2 format
178          (patch by Ivan Maguidhir).
179        - Added gig v4 version identifier (File::VERSION_4).
180        - GIG FORMAT EXTENSION: Added attribute
181          DimensionRegion::SustainReleaseTrigger which allows to define whether
182          a sustain pedal up event shall cause a release trigger sample to be
183          played (default: don't play release trigger sample by sustain pedal).
184        - GIG FORMAT EXTENSION: Added attribute
185          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
186          regular behaviour of playing release trigger sample on MIDI note-off
187          events.
188        - Introduced support for writing extension files (.gx01, .gx02, ...)
189          (original patch by Ivan Maguidhir).
190        - Many gig classes derive now from DLS::Storage (see DLS changes below).
191        - Added File::GetRiffFile() method.
192    
193      * src/DLS.cpp, src/DLS.h:
194        - File: Fixed implicitly allocated RIFF::File object never been freed.
195        - Added new abstract interface base class DLS::Storage which is derived by
196          the respective classes for implementing (the old) UpdateChunks() and the
197          new DeleteChunks() method.
198        - Added File::GetRiffFile() method.
199    
200      * src/sf2.cpp, src/sf2.h:
201        - Added Sample::GetFile() method.
202        - Added File::GetRiffFile() method.
203    
204      * src/Serialization.cpp, src/Serialization.h:
205        - Hide pure internal declarations from header file to avoid numerous
206          compiler warnings when building and linking against the public API.
207        - Fixed comparision logic bug
208        - Fixed memory leak in DataType::customTypeName().
209    
210      * src/RIFF.cpp, src/RIFF.h:
211        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
212          caused a resource leak
213        - Avoid compiler warning when building for 32 bit windows.
214        - Added new method progress_t::subdivide().
215        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
216        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
217          allows a more fine graded control into which portions the subtasks are
218          divided to.
219    
220      * src/tools/gigdump.cpp:
221        - Added command line option --instrument-names which causes only
222          instrument names and their index numbers to be printed.
223    
224    Version 4.1.0 (25 Nov 2017)
225      * general changes:
226        - removed 2 GB limitation when loading a gig or DLS file
227        - using now native integer size where appropriate
228        - fixed minor issues with man pages (patch by Debian maintainer)
229        - fixed various spelling mistakes (patch by Debian maintainer)
230        - Added new "Serialization" framework (and equally named namespace)
231          which allows to serialize and deserialize native C++ objects
232          in a portable, easy and flexible way.
233        - print compiler warning if no RTTI available
234        - Fixed potential crash in command line tools gig2stereo, korg2gig,
235          korgdump and sf2extract.
236        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
237          (original patch by Paul Brossier, slightly modified).
238        - Debian: Fixed packaging error about invalid substitution variable
239          "Source-Version".
240        - Raised Debian compatibility level to Debian 9 "Stretch".
241    
242      * src/gig.cpp, src/gig.h:
243        - fixed bug in Script::SetGroup: the script chunk wasn't moved
244        - fixed compilation error with clang 3.4
245        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
246          as one single monolithic gig file. In case .gig file is >= 2GB expect a
247          large monolithic file, otherwise if .gig file is < 2 GB check for
248          "extension" files (.gx01, .gx02, ...) instead.
249        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
250          if there were dimensions after the velocity dimension: it only created
251          valid velocity tables for cases of dimensions lower than the velocity
252          dimension.
253        - added new method Sample::VerifyWaveData() which allows to check whether
254          a sample had been damaged for some reason
255        - Fix: samples' CRC checksums were damaged on file structure changes.
256        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
257        - Added new method Sample::GetWaveDataCRC32Checksum().
258        - Changed default value of EG2Release (filter release time) to 60s.
259        - Instruments' default pitch bend range is now +-2 semi tones.
260        - Fixed CRC checksums being wrong sometimes.
261        - Fix: method File::AddContentOf() did not clone script groups and scripts
262          of passed original file.
263        - Added support for serializing & deserializing DimensionRegion
264          objects (and crossfade_t and leverage_ctrl_t objects).
265        - Added enum reflection API functions for retrieving enum declaration type
266          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
267        - Exception class now has a variadic constructor which allows to add
268          textual format specifiers like with printf().
269        - On unknown leverage controller exception: show precise unknown leverage
270          controller number found.
271        - Ignore invalid leverage controller types and just show a warning on the
272          console instead of throwing an exception.
273        - Added new struct eg_opt_t and new class member variable
274          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
275          extension to the gig file format, which allows to override the default
276          behavior of the first two EGs' state machines.
277        - Fixed undefined behavior when loading a gig file with invalid
278          velocity curve parameters (fixes CVE-2017-12951).
279        - Fixed undefined behavior when loading a gig file with invalid wave
280          pool index number (fixes CVE-2017-12954).
281    
282      * src/DLS.cpp, src/DLS.h:
283        - Sample: wave pool offsets are now 64 bits (to allow support for files
284          larger than 4 GB).
285        - Exception class now has a variadic constructor which allows to add
286          textual format specifiers like with printf().
287    
288      * src/RIFF.cpp, src/RIFF.h:
289        - added support for RIFF files larger than 4 GB, by default the required
290          internal RIFF file offset size is automatically detected (that is RIFF
291          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
292          automatically use 64 bit offsets), a particular offset size can be forced
293          with a new option added to the RIFF File constructor though
294        - when saving a modified, grown RIFF file, the temporary file size during
295          Save() operation will no longer be larger than the final grown file size
296        - Exception class now has a variadic constructor which allows to add
297          textual format specifiers like with printf().
298    
299      * src/Serialization.cpp, src/Serialization.h:
300        - Archive: Added method isModified().
301        - Archive: Added method setAutoValue().
302        - Archive: Added method setIntValue().
303        - Archive: Added method setRealValue().
304        - Archive: Added method setBoolValue().
305        - Archive: Added method setEnumValue().
306        - Archive: Added method valueAsString().
307        - Archive::rawData(): Automatically re-encode new raw data stream if
308          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
309        - Object: Added method memberByUID().
310        - Object: remove() method is now protected.
311        - Archive: Added method removeMember().
312        - Archive: Added methods name() and setName().
313        - Archive: Added methods comment() and setComment().
314        - Archive: Added methods timeStampCreated(), timeStampModified(),
315          dateTimeCreated() and dateTimeModified().
316        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
317        - DataType: Implemented demangling C++ type names (for methods
318          asLongDescr() and customTypeName(bool demangle=false)).
319        - Archive::setAutoValue(): Handle human readable boolean text
320          representations like "yes", "no", "true", "false" as expected.
321        - Exception class now has a variadic constructor which allows to add
322          textual format specifiers like with printf().
323        - DataType fix: Retain backward compatibility to older versions of native
324          C++ classes/structs.
325    
326      * src/Akai.cpp:
327        - Fixed compilation error with recent, more strict compilers.
328    
329      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
330        - improved output of non-ascii characters in usage messages
331        - fixed printf format strings
332    
333      * src/tools/korg2gig.cpp:
334        - fixed c++11 narrowing warnings
335        - fixed fine tuning which was not translated at all
336    
337      * src/tools/gigdump.cpp:
338        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
339          dimension regions
340        - additionally print RIFF chunk file offset and RIFF chunk size of sample
341          data
342        - added and implemented new parameter "--verify" which allows to check
343          the raw wave form data integrity of all samples
344        - added and implemented new parameter "--rebuild-checksums" which allows
345          to recalculate the CRC32 checksum of all samples' raw wave data and
346          rebuilding the gig file's global checksum table (i.e. in case the
347          file's checksum table was damaged)
348        - print samples' CRC32 checksums
349        - Print the new EG behavior options (eg_opt_t).
350    
351      * src/tools/gigextract.cpp:
352        - Fix: if sample name contains a path separator (slash or backslash) then
353          replace them by a minus sign to avoid file system issues.
354    
355      * src/tools/gig2stereo.cpp:
356        - Also merge mono sample pairs with non matching loop information if
357          argument --incompatible was given.
358    
359      * packaging changes:
360        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
361          auto detect whether it (sh/c)ould output its messages in color.
362    
363    Version 4.0.0 (14 Jul 2015)
364    * general changes:    * general changes:
365      - minor Makefile fix for parallel make      - minor Makefile fix for parallel make
366      - Mac OS X: link with CoreFoundation (for the UUID function)      - Mac OS X: link with CoreFoundation (for the UUID function)
# Line 11  Version CVS HEAD (?) Line 373  Version CVS HEAD (?)
373      - added man page for "sf2dump"      - added man page for "sf2dump"
374      - added new command line tool "korgdump" (and a man page for it)      - added new command line tool "korgdump" (and a man page for it)
375      - added new command line tool "korg2gig" (and a man page for it)      - added new command line tool "korg2gig" (and a man page for it)
376        - moved source files of command line tools to new subdir src/tools
377        - libgig.so and libakai.so files are now installed under
378          $(prefix)/lib/libgig/ by default.
379        - Header files are now installed under $(prefix)/include/libgig/ by default.
380        - Fixed various packaging issues regarding installation directories
381          (fixes #218).
382        - added new command line tool "gig2stereo" (and a man page for it)
383        - unit tests: fixed wrong return value when test suite app exits
384          (patch by Ryan Schmidt)
385        - added new command line tool "sf2extract" (and a man page for it)
386    
387    * SoundFont file format:    * SoundFont file format:
388      - initial implementation      - initial implementation
# Line 22  Version CVS HEAD (?) Line 394  Version CVS HEAD (?)
394      - initial support for sample based instruments in KORG's file format      - initial support for sample based instruments in KORG's file format
395        (.KMP and .KSF files)        (.KMP and .KSF files)
396    
397      * AKAI file format:
398        - Added Linux/POSIX ported version of libakai. Note that libakai is released
399          under LGPL terms while libgig is released under GPL terms. To handle this
400          license difference appropriately the AKAI support part is built as
401          separate DLL (.so file).
402        - Fixed Mac OSX support so that the Akai lib files and tools compile without
403          any exotic third party libraries.
404        - Fixed various compilation errors for Windows.
405        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
406          (fixes #219).
407    
408    * src/gig.cpp:    * src/gig.cpp:
409      - bugfix: VCF velocity dynamic range and VCF velocity curve      - bugfix: VCF velocity dynamic range and VCF velocity curve
410        weren't saved correctly        weren't saved correctly
# Line 46  Version CVS HEAD (?) Line 429  Version CVS HEAD (?)
429      - Fixed crash caused by Region::GetDimensionRegionByValue() that happened      - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
430        with certain velocity split sounds under certain conditions (added bound        with certain velocity split sounds under certain conditions (added bound
431        constraints to prevent that)        constraints to prevent that)
432        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
433        - added new method Region::GetDimensionRegionIndexByValue()
434        - added new method Script::GetGroup()
435        - added new method Region::SetDimensionType()
436        - Added support for custom progress notification while saving to gig file.
437        - Bugfix: Adding a new region in between two existing regions caused the
438          new one being dropped after save operation and the gig file being tainted
439          (chunks at wrong location in the RIFF tree).
440        - Added new method Instrument::MoveTo() which allows to rearrange the order
441          of instruments within the same gig file.
442    
443    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
444      - added new method File::GetFileName()      - added new method File::GetFileName()
# Line 54  Version CVS HEAD (?) Line 447  Version CVS HEAD (?)
447      - added new method File::SetFileName() allowing to call File::Save()      - added new method File::SetFileName() allowing to call File::Save()
448        later on without passing a file name        later on without passing a file name
449      - added inline helper methods overlaps() for struct range_t      - added inline helper methods overlaps() for struct range_t
450        - Added support for custom progress notification while saving to DLS file.
451        - Bugfix: Adding a new region in between two existing regions caused the
452          new one being dropped after save operation and the gig file being tainted
453          (chunks at wrong location in the RIFF tree).
454    
455      * src/SF.cpp, src/SF.h:
456        - added new method Sample::ReadNoClear()
457    
458    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
459      - bugfix: avoid calling read() with count 0 when writing a file,      - bugfix: avoid calling read() with count 0 when writing a file,
# Line 68  Version CVS HEAD (?) Line 468  Version CVS HEAD (?)
468        than "real" RIFF files (used for KORG format support)        than "real" RIFF files (used for KORG format support)
469      - added new method Chunk::GetFile()      - added new method Chunk::GetFile()
470      - added new method Chunk::GetLayout()      - added new method Chunk::GetLayout()
471        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
472          allows to move a subchunk within the current List, whereas the new 2nd
473          one allows to move the subchunk from the current list to another list
474        - POSIX: only assume -1 result value as error on open() calls
475        - POSIX: show operating system's error reason if opening a file failed
476        - Added support for custom progress notification while saving to RIFF file.
477        - Fixed embarrassing old bug: POSIX read() errors were never detected on
478          Chunk::Read() calls due to signment incompatible variable.
479        - Cleanup of an old DLL binary backward compatibility hack.
480    
481    * src/gigextract.cpp:    * src/gigextract.cpp:
482      - export sample loop, unity note and fine tune with libsndfile      - export sample loop, unity note and fine tune with libsndfile

Legend:
Removed from v.2564  
changed lines
  Added in v.3942

  ViewVC Help
Powered by ViewVC