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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1182  
changed lines
  Added in v.3412

  ViewVC Help
Powered by ViewVC