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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1050  
changed lines
  Added in v.3350

  ViewVC Help
Powered by ViewVC