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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2572  
changed lines
  Added in v.3913

  ViewVC Help
Powered by ViewVC