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

Diff of /libgig/trunk/ChangeLog

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

revision 1330 by persson, Sun Sep 9 10:36:23 2007 UTC revision 3349 by schoenebeck, Tue Oct 3 17:12:07 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    
54      * src/DLS.cpp, src/DLS.h:
55        - Sample: wave pool offsets are now 64 bits (to allow support for files
56          larger than 4 GB).
57        - Exception class now has a variadic constructor which allows to add
58          textual format specifiers like with printf().
59          
60      * src/RIFF.cpp, src/RIFF.h:
61        - added support for RIFF files larger than 4 GB, by default the required
62          internal RIFF file offset size is automatically detected (that is RIFF
63          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
64          automatically use 64 bit offsets), a particular offset size can be forced
65          with a new option added to the RIFF File constructor though
66        - when saving a modified, grown RIFF file, the temporary file size during
67          Save() operation will no longer be larger than the final grown file size
68        - Exception class now has a variadic constructor which allows to add
69          textual format specifiers like with printf().
70    
71      * src/Serialization.cpp, src/Serialization.h:
72        - Archive: Added method isModified().
73        - Archive: Added method setAutoValue().
74        - Archive: Added method setIntValue().
75        - Archive: Added method setRealValue().
76        - Archive: Added method setBoolValue().
77        - Archive: Added method setEnumValue().
78        - Archive: Added method valueAsString().
79        - Archive::rawData(): Automatically re-encode new raw data stream if
80          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
81        - Object: Added method memberByUID().
82        - Object: remove() method is now protected.
83        - Archive: Added method removeMember().
84        - Archive: Added methods name() and setName().
85        - Archive: Added methods comment() and setComment().
86        - Archive: Added methods timeStampCreated(), timeStampModified(),
87          dateTimeCreated() and dateTimeModified().
88        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
89        - DataType: Implemented demangling C++ type names (for methods
90          asLongDescr() and customTypeName(bool demangle=false)).
91        - Archive::setAutoValue(): Handle human readable boolean text
92          representations like "yes", "no", "true", "false" as expected.
93        - Exception class now has a variadic constructor which allows to add
94          textual format specifiers like with printf().
95        - DataType fix: Retain backward compatibility to older versions of native
96          C++ classes/structs.
97    
98      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
99        - improved output of non-ascii characters in usage messages
100        - fixed printf format strings
101    
102      * src/tools/korg2gig.cpp:
103        - fixed c++11 narrowing warnings
104        - fixed fine tuning which was not translated at all
105    
106      * src/tools/gigdump.cpp:
107        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
108          dimension regions
109        - additionally print RIFF chunk file offset and RIFF chunk size of sample
110          data
111        - added and implemented new parameter "--verify" which allows to check
112          the raw wave form data integrity of all samples
113        - added and implemented new parameter "--rebuild-checksums" which allows
114          to recalculate the CRC32 checksum of all samples' raw wave data and
115          rebuilding the gig file's global checksum table (i.e. in case the
116          file's checksum table was damaged)
117        - print samples' CRC32 checksums
118        - Print the new EG behavior options (eg_opt_t).
119    
120      * src/tools/gigextract.cpp:
121        - Fix: if sample name contains a path separator (slash or backslash) then
122          replace them by a minus sign to avoid file system issues.
123    
124      * src/tools/gig2stereo.cpp:
125        - Also merge mono sample pairs with non matching loop information if
126          argument --incompatible was given.
127    
128      * packaging changes:
129        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
130          auto detect whether it (sh/c)ould output its messages in color.
131    
132    Version 4.0.0 (14 Jul 2015)
133      * general changes:
134        - minor Makefile fix for parallel make
135        - Mac OS X: link with CoreFoundation (for the UUID function)
136        - removed gcc 4.7 warnings
137        - modernized configure script
138        - removed usage of deprecated Automake variable INCLUDES
139        - added new command line tool "gigmerge"
140        - added "const" keyword to several methods
141        - added new command line tool "gig2mono"
142        - added man page for "sf2dump"
143        - added new command line tool "korgdump" (and a man page for it)
144        - added new command line tool "korg2gig" (and a man page for it)
145        - moved source files of command line tools to new subdir src/tools
146        - libgig.so and libakai.so files are now installed under
147          $(prefix)/lib/libgig/ by default.
148        - Header files are now installed under $(prefix)/include/libgig/ by default.
149        - Fixed various packaging issues regarding installation directories
150          (fixes #218).
151        - added new command line tool "gig2stereo" (and a man page for it)
152        - unit tests: fixed wrong return value when test suite app exits
153          (patch by Ryan Schmidt)
154        - added new command line tool "sf2extract" (and a man page for it)
155    
156      * SoundFont file format:
157        - initial implementation
158        - changed region lookup API to avoid malloc in RT threads
159        - fixed GetEG1Sustain which didn't return correct value
160        - bugfix: GetPan always returned -1, 0 or 1
161    
162      * KORG file format:
163        - initial support for sample based instruments in KORG's file format
164          (.KMP and .KSF files)
165    
166      * AKAI file format:
167        - Added Linux/POSIX ported version of libakai. Note that libakai is released
168          under LGPL terms while libgig is released under GPL terms. To handle this
169          license difference appropriately the AKAI support part is built as
170          separate DLL (.so file).
171        - Fixed Mac OSX support so that the Akai lib files and tools compile without
172          any exotic third party libraries.
173        - Fixed various compilation errors for Windows.
174        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
175          (fixes #219).
176    
177      * src/gig.cpp:
178        - bugfix: VCF velocity dynamic range and VCF velocity curve
179          weren't saved correctly
180        - implemented File::AddDuplicateInstrument()
181        - bugfix: negative EG3 depth values were not correctly parsed or
182          saved
183        - added write support for CtrlTrigger midi rule
184        - added read and write support for Legato and Alternator midi
185          rules
186        - bugfix: sample groups were sometimes created multiple times or with
187          wrong textual group name
188        - added new method File::AddContentOf() for merging .gig files
189        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
190          controller types (only works with LinuxSampler & gigedit, will not
191          work with Gigasampler/GigaStudio)
192        - added new method File::GetGroup(String name) for getting group by name
193        - added new method Region::GetDimensionDefinition(dimension_t type)
194        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
195        - added some more sanity checks in Region::AddDimension()
196        - added new method Region::DeleteDimensionZone(dimension_t, int)
197        - added new method Region::SplitDimensionZone(dimension_t, int)
198        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
199          with certain velocity split sounds under certain conditions (added bound
200          constraints to prevent that)
201        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
202        - added new method Region::GetDimensionRegionIndexByValue()
203        - added new method Script::GetGroup()
204        - added new method Region::SetDimensionType()
205        - Added support for custom progress notification while saving to gig file.
206        - Bugfix: Adding a new region in between two existing regions caused the
207          new one being dropped after save operation and the gig file being tainted
208          (chunks at wrong location in the RIFF tree).
209        - Added new method Instrument::MoveTo() which allows to rearrange the order
210          of instruments within the same gig file.
211    
212      * src/DLS.cpp, src/DLS.h:
213        - added new method File::GetFileName()
214        - fixed minor "memory leak on exception" bug found with cppcheck
215        - added new method File::GetExtensionFile(int index)
216        - added new method File::SetFileName() allowing to call File::Save()
217          later on without passing a file name
218        - added inline helper methods overlaps() for struct range_t
219        - Added support for custom progress notification while saving to DLS file.
220        - Bugfix: Adding a new region in between two existing regions caused the
221          new one being dropped after save operation and the gig file being tainted
222          (chunks at wrong location in the RIFF tree).
223    
224      * src/SF.cpp, src/SF.h:
225        - added new method Sample::ReadNoClear()
226    
227      * src/RIFF.cpp, src/RIFF.h:
228        - bugfix: avoid calling read() with count 0 when writing a file,
229          as this may hang on some systems
230        - fixed memory leak and memory handling errors when file loading
231          fails
232        - added new method Chunk::ReadString
233        - added new method File::SetFileName() allowing to call File::Save()
234          later on without passing a file name
235        - added new method File::IsNew()
236        - added support for loading RIFF-like files with a bit different layout
237          than "real" RIFF files (used for KORG format support)
238        - added new method Chunk::GetFile()
239        - added new method Chunk::GetLayout()
240        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
241          allows to move a subchunk within the current List, whereas the new 2nd
242          one allows to move the subchunk from the current list to another list
243        - POSIX: only assume -1 result value as error on open() calls
244        - POSIX: show operating system's error reason if opening a file failed
245        - Added support for custom progress notification while saving to RIFF file.
246        - Fixed embarrassing old bug: POSIX read() errors were never detected on
247          Chunk::Read() calls due to signment incompatible variable.
248        - Cleanup of an old DLL binary backward compatibility hack.
249    
250      * src/gigextract.cpp:
251        - export sample loop, unity note and fine tune with libsndfile
252    
253      * src/riftree.cpp:
254        - added more command line options for being able to also dump other kind
255          of file formats similar but not equal to the RIFF format
256    
257    Version 3.3.0 (30 Jul 2009)
258    
259      * general changes:
260        - fixed compilation with gcc 4.3
261        - fixes for building with Visual C++
262        - minor fix in configure for building DLL on Windows
263    
264      * src/gig.cpp, src/gig.h:
265        - added partial support for MIDI rules, only the Controller
266          Triggered rule is supported so far
267        - bugfix: removed another iterator invalidation in DeleteSample
268        - bugfix in Sample::LoadSampleData*(): reset sample read position to
269          sample start before trying to (re)load sample data from file (#82)
270        - bugfix: EG3 depth parameter was not saved correctly
271        - fixed crash which occured when streaming a gig sample with
272          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
273    
274      * src/RIFF.cpp, src/RIFF.h:
275        - bugfix: saving to the same file after the file size had been
276          increased made the file corrupt (#82)
277        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
278          is not written physically yet (#82)
279        - bugfix: saving to the same file after the file size had been
280          decreased sometimes also made the file corrupt!
281        - bugfix: undefined behavior (e.g. endless loop) when opening zero
282          length files, now throws a RIFF::Exception instead (fixes bug #121)
283        - bugfix: destructor for base class RIFF::Chunk accessed members
284          of derived class RIFF::File, which is bad, and caused crashes
285          when using Visual C++
286        - bugfix: files that contain zero length RIFF lists were not read
287          correctly (fixes #127) (bug was introduced 2009-03-13)
288    
289    Version 3.2.1 (5 Dec 2007)
290    
291      * src/RIFF.cpp, src/RIFF.h:
292        - avoid Windows to perform unnecessary file stream caching which would
293          decrease disk streaming performance on Windows systems otherwise
294    
295      * src/gig.cpp, src/gig.h:
296        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
297          applications to retrieve very superficial informations like amount of
298          instruments and their names in a very fast way
299    
300    Version 3.2.0 (14 Oct 2007)
301    
302    * packaging changes:    * packaging changes:
303      - added Mac OSX XCode project files (patch by Toshi Nagata)      - added Mac OSX XCode project files (patch by Toshi Nagata)
304      - Dev-C++ (win32) project file is automatically updated with      - Dev-C++ (win32) project file is automatically updated with
305        the version info from configure.in        the version info from configure.in
306      - the configure script can now be used in Windows with MSYS      - the configure script can now be used in Windows with MSYS
307        - added a mainpage for the Doxygen API documentation
308    
309    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
310      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
# Line 13  Version CVS HEAD (?) Line 313  Version CVS HEAD (?)
313        lengths can be specified for each INFO chunk        lengths can be specified for each INFO chunk
314      - added Resource::GenerateDLSID function      - added Resource::GenerateDLSID function
315      - write support fix: allow regions without mapped samples      - write support fix: allow regions without mapped samples
316        - added method SetKeyRange() to the Region class which should be used
317          instead of setting the KeyRange member variable directly
318        - MoveRegion() method of Region class is now private
319        - added SetGain() method to Sampler class
320        - fixed crash when saving a file after a sample loop was added
321    
322    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
323      - fixed segmentation fault in the gig::File destructor sequence which      - fixed segmentation fault in the gig::File destructor sequence which
# Line 57  Version CVS HEAD (?) Line 362  Version CVS HEAD (?)
362        placed first in the list of dimensions.        placed first in the list of dimensions.
363      - added method GetParent() to class 'DimensionRegion', which returns its      - added method GetParent() to class 'DimensionRegion', which returns its
364        parent Region        parent Region
365        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
366          unused areas
367        - added various setter methods to DimensionRegion class which take care
368          of updating lookup tables / caches.
369    
370    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
371      - added File::SetByteOrder method      - added File::SetByteOrder method

Legend:
Removed from v.1330  
changed lines
  Added in v.3349

  ViewVC Help
Powered by ViewVC