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

Diff of /libgig/trunk/ChangeLog

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

revision 1266 by persson, Thu Aug 2 14:12:55 2007 UTC revision 3478 by schoenebeck, Thu Feb 21 20:10:08 2019 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Added MSVC build support (anonymous patch from mailing list).
5        - Introduced CMake build support (yet constrained for building with MSVC)
6          (anonymous patch from mailing list).
7        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
8          destructors. Added new virtual method DeleteChunks() to those classes
9          for this which must be explicitly called instead to remove their RIFF
10          chunks.
11        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
12          of zero; which is unsafe per se.
13        - Added C++11 "override" keyword where appropriate.
14    
15      * src/gig.cpp, src/gig.h:
16        - Fixed Doxygen API comments for enum types (currently latest Doxygen
17          [v1.8.13] only supports C comments in macro arguments expansion, but
18          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
19          the Doxygen source code, which currently also filter out new line
20          \n chars).
21        - Added new method File::CountSamples().
22        - Added new method File::CountInstruments().
23        - Fixed gig v4 files falsely being handled as v2 format
24          (patch by Ivan Maguidhir).
25        - Added gig v4 version identifier (File::VERSION_4).
26        - GIG FORMAT EXTENSION: Added attribute
27          DimensionRegion::SustainReleaseTrigger which allows to define whether
28          a sustain pedal up event shall cause a release trigger sample to be
29          played (default: don't play release trigger sample by sustain pedal).
30        - GIG FORMAT EXTENSION: Added attribute
31          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
32          regular behaviour of playing release trigger sample on MIDI note-off
33          events.
34        - Introduced support for writing extension files (.gx01, .gx02, ...)
35          (original patch by Ivan Maguidhir).
36        - Many gig classes derive now from DLS::Storage (see DLS changes below).
37    
38      * src/DLS.cpp, src/DLS.h:
39        - File: Fixed implicitly allocated RIFF::File object never been freed.
40        - Added new abstract interface base class DLS::Storage which is derived by
41          the respective classes for implementing (the old) UpdateChunks() and the
42          new DeleteChunks() method.
43    
44      * src/Serialization.cpp, src/Serialization.h:
45        - Hide pure internal declarations from header file to avoid numerous
46          compiler warnings when building and linking against the public API.
47        - Fixed comparision logic bug
48        - Fixed memory leak in DataType::customTypeName().
49    
50      * src/RIFF.cpp, src/RIFF.h:
51        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
52          caused a resource leak
53        - Avoid compiler warning when building for 32 bit windows.
54        - Added new method progress_t::subdivide().
55    
56      * src/tools/gigdump.cpp:
57        - Added command line option --instrument-names which causes only
58          instrument names and their index numbers to be printed.
59    
60    Version 4.1.0 (25 Nov 2017)
61      * general changes:
62        - removed 2 GB limitation when loading a gig or DLS file
63        - using now native integer size where appropriate
64        - fixed minor issues with man pages (patch by Debian maintainer)
65        - fixed various spelling mistakes (patch by Debian maintainer)
66        - Added new "Serialization" framework (and equally named namespace)
67          which allows to serialize and deserialize native C++ objects
68          in a portable, easy and flexible way.
69        - print compiler warning if no RTTI available
70        - Fixed potential crash in command line tools gig2stereo, korg2gig,
71          korgdump and sf2extract.
72        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
73          (original patch by Paul Brossier, slightly modified).
74        - Debian: Fixed packaging error about invalid substitution variable
75          "Source-Version".
76        - Raised Debian compatibility level to Debian 9 "Stretch".
77    
78      * src/gig.cpp, src/gig.h:
79        - fixed bug in Script::SetGroup: the script chunk wasn't moved
80        - fixed compilation error with clang 3.4
81        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
82          as one single monolithic gig file. In case .gig file is >= 2GB expect a
83          large monolithic file, otherwise if .gig file is < 2 GB check for
84          "extension" files (.gx01, .gx02, ...) instead.
85        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
86          if there were dimensions after the velocity dimension: it only created
87          valid velocity tables for cases of dimensions lower than the velocity
88          dimension.
89        - added new method Sample::VerifyWaveData() which allows to check whether
90          a sample had been damaged for some reason
91        - Fix: samples' CRC checksums were damaged on file structure changes.
92        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
93        - Added new method Sample::GetWaveDataCRC32Checksum().
94        - Changed default value of EG2Release (filter release time) to 60s.
95        - Instruments' default pitch bend range is now +-2 semi tones.
96        - Fixed CRC checksums being wrong sometimes.
97        - Fix: method File::AddContentOf() did not clone script groups and scripts
98          of passed original file.
99        - Added support for serializing & deserializing DimensionRegion
100          objects (and crossfade_t and leverage_ctrl_t objects).
101        - Added enum reflection API functions for retrieving enum declaration type
102          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
103        - Exception class now has a variadic constructor which allows to add
104          textual format specifiers like with printf().
105        - On unknown leverage controller exception: show precise unknown leverage
106          controller number found.
107        - Ignore invalid leverage controller types and just show a warning on the
108          console instead of throwing an exception.
109        - Added new struct eg_opt_t and new class member variable
110          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
111          extension to the gig file format, which allows to override the default
112          behavior of the first two EGs' state machines.
113        - Fixed undefined behavior when loading a gig file with invalid
114          velocity curve parameters (fixes CVE-2017-12951).
115        - Fixed undefined behavior when loading a gig file with invalid wave
116          pool index number (fixes CVE-2017-12954).
117    
118      * src/DLS.cpp, src/DLS.h:
119        - Sample: wave pool offsets are now 64 bits (to allow support for files
120          larger than 4 GB).
121        - Exception class now has a variadic constructor which allows to add
122          textual format specifiers like with printf().
123    
124      * src/RIFF.cpp, src/RIFF.h:
125        - added support for RIFF files larger than 4 GB, by default the required
126          internal RIFF file offset size is automatically detected (that is RIFF
127          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
128          automatically use 64 bit offsets), a particular offset size can be forced
129          with a new option added to the RIFF File constructor though
130        - when saving a modified, grown RIFF file, the temporary file size during
131          Save() operation will no longer be larger than the final grown file size
132        - Exception class now has a variadic constructor which allows to add
133          textual format specifiers like with printf().
134    
135      * src/Serialization.cpp, src/Serialization.h:
136        - Archive: Added method isModified().
137        - Archive: Added method setAutoValue().
138        - Archive: Added method setIntValue().
139        - Archive: Added method setRealValue().
140        - Archive: Added method setBoolValue().
141        - Archive: Added method setEnumValue().
142        - Archive: Added method valueAsString().
143        - Archive::rawData(): Automatically re-encode new raw data stream if
144          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
145        - Object: Added method memberByUID().
146        - Object: remove() method is now protected.
147        - Archive: Added method removeMember().
148        - Archive: Added methods name() and setName().
149        - Archive: Added methods comment() and setComment().
150        - Archive: Added methods timeStampCreated(), timeStampModified(),
151          dateTimeCreated() and dateTimeModified().
152        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
153        - DataType: Implemented demangling C++ type names (for methods
154          asLongDescr() and customTypeName(bool demangle=false)).
155        - Archive::setAutoValue(): Handle human readable boolean text
156          representations like "yes", "no", "true", "false" as expected.
157        - Exception class now has a variadic constructor which allows to add
158          textual format specifiers like with printf().
159        - DataType fix: Retain backward compatibility to older versions of native
160          C++ classes/structs.
161    
162      * src/Akai.cpp:
163        - Fixed compilation error with recent, more strict compilers.
164    
165      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
166        - improved output of non-ascii characters in usage messages
167        - fixed printf format strings
168    
169      * src/tools/korg2gig.cpp:
170        - fixed c++11 narrowing warnings
171        - fixed fine tuning which was not translated at all
172    
173      * src/tools/gigdump.cpp:
174        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
175          dimension regions
176        - additionally print RIFF chunk file offset and RIFF chunk size of sample
177          data
178        - added and implemented new parameter "--verify" which allows to check
179          the raw wave form data integrity of all samples
180        - added and implemented new parameter "--rebuild-checksums" which allows
181          to recalculate the CRC32 checksum of all samples' raw wave data and
182          rebuilding the gig file's global checksum table (i.e. in case the
183          file's checksum table was damaged)
184        - print samples' CRC32 checksums
185        - Print the new EG behavior options (eg_opt_t).
186    
187      * src/tools/gigextract.cpp:
188        - Fix: if sample name contains a path separator (slash or backslash) then
189          replace them by a minus sign to avoid file system issues.
190    
191      * src/tools/gig2stereo.cpp:
192        - Also merge mono sample pairs with non matching loop information if
193          argument --incompatible was given.
194    
195      * packaging changes:
196        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
197          auto detect whether it (sh/c)ould output its messages in color.
198    
199    Version 4.0.0 (14 Jul 2015)
200      * general changes:
201        - minor Makefile fix for parallel make
202        - Mac OS X: link with CoreFoundation (for the UUID function)
203        - removed gcc 4.7 warnings
204        - modernized configure script
205        - removed usage of deprecated Automake variable INCLUDES
206        - added new command line tool "gigmerge"
207        - added "const" keyword to several methods
208        - added new command line tool "gig2mono"
209        - added man page for "sf2dump"
210        - added new command line tool "korgdump" (and a man page for it)
211        - added new command line tool "korg2gig" (and a man page for it)
212        - moved source files of command line tools to new subdir src/tools
213        - libgig.so and libakai.so files are now installed under
214          $(prefix)/lib/libgig/ by default.
215        - Header files are now installed under $(prefix)/include/libgig/ by default.
216        - Fixed various packaging issues regarding installation directories
217          (fixes #218).
218        - added new command line tool "gig2stereo" (and a man page for it)
219        - unit tests: fixed wrong return value when test suite app exits
220          (patch by Ryan Schmidt)
221        - added new command line tool "sf2extract" (and a man page for it)
222    
223      * SoundFont file format:
224        - initial implementation
225        - changed region lookup API to avoid malloc in RT threads
226        - fixed GetEG1Sustain which didn't return correct value
227        - bugfix: GetPan always returned -1, 0 or 1
228    
229      * KORG file format:
230        - initial support for sample based instruments in KORG's file format
231          (.KMP and .KSF files)
232    
233      * AKAI file format:
234        - Added Linux/POSIX ported version of libakai. Note that libakai is released
235          under LGPL terms while libgig is released under GPL terms. To handle this
236          license difference appropriately the AKAI support part is built as
237          separate DLL (.so file).
238        - Fixed Mac OSX support so that the Akai lib files and tools compile without
239          any exotic third party libraries.
240        - Fixed various compilation errors for Windows.
241        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
242          (fixes #219).
243    
244      * src/gig.cpp:
245        - bugfix: VCF velocity dynamic range and VCF velocity curve
246          weren't saved correctly
247        - implemented File::AddDuplicateInstrument()
248        - bugfix: negative EG3 depth values were not correctly parsed or
249          saved
250        - added write support for CtrlTrigger midi rule
251        - added read and write support for Legato and Alternator midi
252          rules
253        - bugfix: sample groups were sometimes created multiple times or with
254          wrong textual group name
255        - added new method File::AddContentOf() for merging .gig files
256        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
257          controller types (only works with LinuxSampler & gigedit, will not
258          work with Gigasampler/GigaStudio)
259        - added new method File::GetGroup(String name) for getting group by name
260        - added new method Region::GetDimensionDefinition(dimension_t type)
261        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
262        - added some more sanity checks in Region::AddDimension()
263        - added new method Region::DeleteDimensionZone(dimension_t, int)
264        - added new method Region::SplitDimensionZone(dimension_t, int)
265        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
266          with certain velocity split sounds under certain conditions (added bound
267          constraints to prevent that)
268        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
269        - added new method Region::GetDimensionRegionIndexByValue()
270        - added new method Script::GetGroup()
271        - added new method Region::SetDimensionType()
272        - Added support for custom progress notification while saving to gig file.
273        - Bugfix: Adding a new region in between two existing regions caused the
274          new one being dropped after save operation and the gig file being tainted
275          (chunks at wrong location in the RIFF tree).
276        - Added new method Instrument::MoveTo() which allows to rearrange the order
277          of instruments within the same gig file.
278    
279      * src/DLS.cpp, src/DLS.h:
280        - added new method File::GetFileName()
281        - fixed minor "memory leak on exception" bug found with cppcheck
282        - added new method File::GetExtensionFile(int index)
283        - added new method File::SetFileName() allowing to call File::Save()
284          later on without passing a file name
285        - added inline helper methods overlaps() for struct range_t
286        - Added support for custom progress notification while saving to DLS file.
287        - Bugfix: Adding a new region in between two existing regions caused the
288          new one being dropped after save operation and the gig file being tainted
289          (chunks at wrong location in the RIFF tree).
290    
291      * src/SF.cpp, src/SF.h:
292        - added new method Sample::ReadNoClear()
293    
294      * src/RIFF.cpp, src/RIFF.h:
295        - bugfix: avoid calling read() with count 0 when writing a file,
296          as this may hang on some systems
297        - fixed memory leak and memory handling errors when file loading
298          fails
299        - added new method Chunk::ReadString
300        - added new method File::SetFileName() allowing to call File::Save()
301          later on without passing a file name
302        - added new method File::IsNew()
303        - added support for loading RIFF-like files with a bit different layout
304          than "real" RIFF files (used for KORG format support)
305        - added new method Chunk::GetFile()
306        - added new method Chunk::GetLayout()
307        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
308          allows to move a subchunk within the current List, whereas the new 2nd
309          one allows to move the subchunk from the current list to another list
310        - POSIX: only assume -1 result value as error on open() calls
311        - POSIX: show operating system's error reason if opening a file failed
312        - Added support for custom progress notification while saving to RIFF file.
313        - Fixed embarrassing old bug: POSIX read() errors were never detected on
314          Chunk::Read() calls due to signment incompatible variable.
315        - Cleanup of an old DLL binary backward compatibility hack.
316    
317      * src/gigextract.cpp:
318        - export sample loop, unity note and fine tune with libsndfile
319    
320      * src/riftree.cpp:
321        - added more command line options for being able to also dump other kind
322          of file formats similar but not equal to the RIFF format
323    
324    Version 3.3.0 (30 Jul 2009)
325    
326      * general changes:
327        - fixed compilation with gcc 4.3
328        - fixes for building with Visual C++
329        - minor fix in configure for building DLL on Windows
330    
331      * src/gig.cpp, src/gig.h:
332        - added partial support for MIDI rules, only the Controller
333          Triggered rule is supported so far
334        - bugfix: removed another iterator invalidation in DeleteSample
335        - bugfix in Sample::LoadSampleData*(): reset sample read position to
336          sample start before trying to (re)load sample data from file (#82)
337        - bugfix: EG3 depth parameter was not saved correctly
338        - fixed crash which occured when streaming a gig sample with
339          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
340    
341      * src/RIFF.cpp, src/RIFF.h:
342        - bugfix: saving to the same file after the file size had been
343          increased made the file corrupt (#82)
344        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
345          is not written physically yet (#82)
346        - bugfix: saving to the same file after the file size had been
347          decreased sometimes also made the file corrupt!
348        - bugfix: undefined behavior (e.g. endless loop) when opening zero
349          length files, now throws a RIFF::Exception instead (fixes bug #121)
350        - bugfix: destructor for base class RIFF::Chunk accessed members
351          of derived class RIFF::File, which is bad, and caused crashes
352          when using Visual C++
353        - bugfix: files that contain zero length RIFF lists were not read
354          correctly (fixes #127) (bug was introduced 2009-03-13)
355    
356    Version 3.2.1 (5 Dec 2007)
357    
358      * src/RIFF.cpp, src/RIFF.h:
359        - avoid Windows to perform unnecessary file stream caching which would
360          decrease disk streaming performance on Windows systems otherwise
361    
362      * src/gig.cpp, src/gig.h:
363        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
364          applications to retrieve very superficial informations like amount of
365          instruments and their names in a very fast way
366    
367    Version 3.2.0 (14 Oct 2007)
368    
369    * packaging changes:    * packaging changes:
370      - added Mac OSX XCode project files (patch by Toshi Nagata)      - added Mac OSX XCode project files (patch by Toshi Nagata)
371      - Dev-C++ (win32) project file is automatically updated with      - Dev-C++ (win32) project file is automatically updated with
372        the version info from configure.in        the version info from configure.in
373        - the configure script can now be used in Windows with MSYS
374        - added a mainpage for the Doxygen API documentation
375    
376    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
377      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
# Line 12  Version CVS HEAD (?) Line 380  Version CVS HEAD (?)
380        lengths can be specified for each INFO chunk        lengths can be specified for each INFO chunk
381      - added Resource::GenerateDLSID function      - added Resource::GenerateDLSID function
382      - write support fix: allow regions without mapped samples      - write support fix: allow regions without mapped samples
383        - added method SetKeyRange() to the Region class which should be used
384          instead of setting the KeyRange member variable directly
385        - MoveRegion() method of Region class is now private
386        - added SetGain() method to Sampler class
387        - fixed crash when saving a file after a sample loop was added
388    
389    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
390      - fixed segmentation fault in the gig::File destructor sequence which      - fixed segmentation fault in the gig::File destructor sequence which
# Line 51  Version CVS HEAD (?) Line 424  Version CVS HEAD (?)
424        list in v3 files now always has 128 entries, several parameters        list in v3 files now always has 128 entries, several parameters
425        where incorrectly saved due to an operator precedence mistake        where incorrectly saved due to an operator precedence mistake
426      - DeleteSample now removes all references to the deleted sample      - DeleteSample now removes all references to the deleted sample
427        - AddDimension now copies all parameters from existing dimension
428          regions and also makes sure that the samplechannel dimension is
429          placed first in the list of dimensions.
430        - added method GetParent() to class 'DimensionRegion', which returns its
431          parent Region
432        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
433          unused areas
434        - added various setter methods to DimensionRegion class which take care
435          of updating lookup tables / caches.
436    
437    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
438      - added File::SetByteOrder method      - added File::SetByteOrder method
439        - Windows fix: saving a new file didn't work
440    
441    * src/gigdump.cpp:    * src/gigdump.cpp:
442      - added some missing dimension strings      - added some missing dimension strings

Legend:
Removed from v.1266  
changed lines
  Added in v.3478

  ViewVC Help
Powered by ViewVC