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

Annotation of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2310 - (hide annotations) (download)
Sat Feb 11 11:08:01 2012 UTC (12 years, 1 month ago) by persson
File size: 19703 byte(s)
* fixed minor "memory leak on exception" bug found with cppcheck

1 iliev 2016 Version CVS HEAD (?)
2 persson 2133 * general changes:
3     - minor Makefile fix for parallel make
4 persson 2182 - Mac OS X: link with CoreFoundation (for the UUID function)
5 persson 2133
6 iliev 2016 * SoundFont file format
7     - initial implementation
8 persson 2100 - changed region lookup API to avoid malloc in RT threads
9 persson 2202 - fixed GetEG1Sustain which didn't return correct value
10 iliev 2016
11 persson 2152 * src/gig.cpp:
12     - bugfix: VCF velocity dynamic range and VCF velocity curve
13     weren't saved correctly
14    
15 schoenebeck 2274 * src/DLS.cpp, src/DLS.h:
16     - added new method File::GetFileName()
17 persson 2310 - fixed minor "memory leak on exception" bug found with cppcheck
18 schoenebeck 2274
19 persson 2120 * src/RIFF.cpp, src/RIFF.h:
20     - bugfix: avoid calling read() with count 0 when writing a file,
21     as this may hang on some systems
22 persson 2155 - fixed memory leak and memory handling errors when file loading
23     fails
24 persson 2120
25 schoenebeck 1953 Version 3.3.0 (30 Jul 2009)
26 persson 1627
27 persson 1713 * general changes:
28     - fixed compilation with gcc 4.3
29 persson 1869 - fixes for building with Visual C++
30 persson 1894 - minor fix in configure for building DLL on Windows
31 persson 1713
32 persson 1627 * src/gig.cpp, src/gig.h:
33     - added partial support for MIDI rules, only the Controller
34     Triggered rule is supported so far
35 persson 1678 - bugfix: removed another iterator invalidation in DeleteSample
36 schoenebeck 1851 - bugfix in Sample::LoadSampleData*(): reset sample read position to
37     sample start before trying to (re)load sample data from file (#82)
38 persson 1869 - bugfix: EG3 depth parameter was not saved correctly
39 schoenebeck 1875 - fixed crash which occured when streaming a gig sample with
40     bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
41 persson 1627
42 persson 1678 * src/RIFF.cpp, src/RIFF.h:
43     - bugfix: saving to the same file after the file size had been
44     increased made the file corrupt (#82)
45 schoenebeck 1851 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
46     is not written physically yet (#82)
47 persson 1859 - bugfix: saving to the same file after the file size had been
48     decreased sometimes also made the file corrupt!
49 schoenebeck 1863 - bugfix: undefined behavior (e.g. endless loop) when opening zero
50     length files, now throws a RIFF::Exception instead (fixes bug #121)
51 persson 1869 - bugfix: destructor for base class RIFF::Chunk accessed members
52     of derived class RIFF::File, which is bad, and caused crashes
53     when using Visual C++
54 persson 1885 - bugfix: files that contain zero length RIFF lists were not read
55     correctly (fixes #127) (bug was introduced 2009-03-13)
56 persson 1678
57 schoenebeck 1549 Version 3.2.1 (5 Dec 2007)
58 schoenebeck 1459
59     * src/RIFF.cpp, src/RIFF.h:
60     - avoid Windows to perform unnecessary file stream caching which would
61     decrease disk streaming performance on Windows systems otherwise
62    
63 schoenebeck 1524 * src/gig.cpp, src/gig.h:
64     - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
65     applications to retrieve very superficial informations like amount of
66     instruments and their names in a very fast way
67    
68 schoenebeck 1416 Version 3.2.0 (14 Oct 2007)
69 schoenebeck 1154
70 schoenebeck 1172 * packaging changes:
71     - added Mac OSX XCode project files (patch by Toshi Nagata)
72 schoenebeck 1186 - Dev-C++ (win32) project file is automatically updated with
73     the version info from configure.in
74 persson 1330 - the configure script can now be used in Windows with MSYS
75 schoenebeck 1378 - added a mainpage for the Doxygen API documentation
76 schoenebeck 1172
77 schoenebeck 1154 * src/DLS.cpp, src/DLS.h:
78     - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
79 persson 1179 - fixed write support for big-endian systems
80 persson 1180 - improved handling of fixed length info strings - separate default
81     lengths can be specified for each INFO chunk
82 persson 1209 - added Resource::GenerateDLSID function
83 persson 1266 - write support fix: allow regions without mapped samples
84 schoenebeck 1335 - added method SetKeyRange() to the Region class which should be used
85     instead of setting the KeyRange member variable directly
86     - MoveRegion() method of Region class is now private
87 schoenebeck 1358 - added SetGain() method to Sampler class
88 persson 1388 - fixed crash when saving a file after a sample loop was added
89 schoenebeck 1154
90 schoenebeck 1158 * src/gig.cpp, src/gig.h:
91     - fixed segmentation fault in the gig::File destructor sequence which
92     happened when gig::Group informations were accessed before
93 persson 1179 - fixed write support for big-endian systems
94 persson 1180 - defined lengths of a fixed set of info strings. These strings
95     are saved when the file is written, even if they are empty.
96 persson 1182 - added missing parameter initalizations in sample, region and
97     instrument constructors
98     - clear unused fields when saving samples and regions
99     - fixed write support bugs: v3 dimension limits and chunksize
100     weren't saved, leverage controller of type controlchange
101 persson 1195 couldn't be saved, group name list chunk was placed wrong,
102     dimension region chunks also placed wrong
103 persson 1182 - added initialization of some fixed info strings in file and
104     instrument
105 persson 1192 - write support: files created by libgig will now have the RIFF
106     chunks in correct order
107 persson 1199 - write support: two previously unknown fields in dimension
108     definition are now saved
109     - added constants for gig file versions
110     - write support: the 3crc and einf chunks are now created or
111     updated when a file is saved (3crc contains sample checksums,
112     einf contains file statistics)
113 persson 1209 - write support: DLSID is now generated on the file and the
114     instruments
115 persson 1218 - write support: improved the default values for dimension region
116     parameters
117 persson 1247 - more write support fixes: crossfade parameters were not saved,
118     v3 dimension limits were not correctly initialized and saved
119     when dimensions were added or deleted, v3 wave pool offsets were
120     not saved correctly
121 persson 1264 - write support: 24 bit samples can now be written
122     - write support: version 3 is now the default for new files
123 persson 1266 - more write support fixes: the 3ewg chunk is now bigger for v3,
124     dimension regions without mapped samples are now allowed, 3gnl
125     list in v3 files now always has 128 entries, several parameters
126     where incorrectly saved due to an operator precedence mistake
127     - DeleteSample now removes all references to the deleted sample
128 persson 1301 - AddDimension now copies all parameters from existing dimension
129     regions and also makes sure that the samplechannel dimension is
130     placed first in the list of dimensions.
131 schoenebeck 1316 - added method GetParent() to class 'DimensionRegion', which returns its
132     parent Region
133 schoenebeck 1335 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
134     unused areas
135 schoenebeck 1358 - added various setter methods to DimensionRegion class which take care
136     of updating lookup tables / caches.
137 schoenebeck 1158
138 persson 1183 * src/RIFF.cpp, src/RIFF.h:
139 persson 1184 - added File::SetByteOrder method
140 persson 1301 - Windows fix: saving a new file didn't work
141 persson 1183
142 persson 1264 * src/gigdump.cpp:
143     - added some missing dimension strings
144    
145 schoenebeck 1116 Version 3.1.1 (24 Mar 2007)
146 schoenebeck 1050
147     * packaging changes:
148     - ported to Windows using native Windows functions for file IO
149     (provided Dev-C++ + mingw project file)
150 schoenebeck 1079 - only export relevant files to Doxygen API documentation
151 schoenebeck 1050
152 persson 1070 * src/gig.cpp, src/gig.h:
153     - custom velocity splits now works for gig v3 files too
154     - added support for custom splits points for other dimensions than
155     velocity (gig v3 feature)
156 persson 1076 - added "smart midi" and "round robin keyboard" dimensions
157 schoenebeck 1081 - added new method File::DeleteGroupOnly() which only deletes the given
158     group but moves all its members to another group, the other method,
159     that is File::DeleteGroup() now removes not just the group, but also
160     all the samples that belong to that group
161 schoenebeck 1083 - fixed crash which occured on interfering File::DeleteSample() and
162     File::GetNextSample() calls (due to iterator invalidation)
163 schoenebeck 1098 - fixed group names which were not saved
164 schoenebeck 1099 - fixed group destructor which did not remove the RIFF chunk associated
165     with the group
166 persson 1102 - added Instrument::MoveRegion method
167     - fixed constructor for Region, which did not initialize correctly
168     when used from Instrument::AddRegion
169 schoenebeck 1106 - when saving, override the gig::Regions sample reference simply by
170     the region's first dimension region's sample (avoids an exception
171     when trying to save a new instrument)
172 schoenebeck 1113 - fixed AddDimension() method which did not fill out all mandatory
173     dimension definition fields
174 persson 1070
175 persson 1102 * src/DLS.cpp, src/DLS.h:
176     - added Instrument::MoveRegion method
177 schoenebeck 1106 - fixed software info field which was wrongly stored on instruments,
178     causing an exception when trying to save a new instrument
179 persson 1102
180 schoenebeck 1095 * src/RIFF.cpp, src/RIFF.h:
181     - fixed RIFF::Chunk destructor which did not unregister previously
182     resized chunks, leading to a "zero size chunk" exception when
183     File::Save() was called
184 persson 1102 - added List::MoveSubChunk method
185 schoenebeck 1095
186 schoenebeck 933 Version 3.1.0 (24 Nov 2006)
187 persson 858
188 capela 867 * packaging changes:
189     - changed deprecated copyright attribute to license;
190     added ldconfig to post-(un)install steps on libgig.spec (RPM)
191 persson 902
192 persson 858 * src/gig.cpp, src/gig.h:
193     - added support for more than one set of custom velocity splits
194     inside a region (for example different velocity split levels for
195     pedal up and pedal down)
196 persson 864 - sample loop parameters are now taken from the DimensionRegion
197     instead of the wave chunk
198     - keyswitching dimension is changed from split type "normal" to
199     "bit"
200 persson 902 - real support for 24 bit samples - samples are not truncated to
201     16 bits anymore
202     - support for reading of ".art" files. (Merging of .art and .gig
203     files are not implemented yet.)
204 persson 918 - several fixes for the write support
205 schoenebeck 929 - support for sample groups added
206 persson 858
207 persson 918 * src/DLS.cpp, src/DLS.h:
208 persson 902 - support for reading of ".art" files
209 persson 918 - removed incorrect use of memccpy in the write support (patch by
210     Jeremy Kerr)
211     - several fixes for the write support
212 persson 902
213     * src/gigextract.cpp:
214     - real support for 24 bit samples
215    
216 schoenebeck 916 * src/gigdump.cpp:
217     - print global file informations
218 schoenebeck 929 - print sample groups
219 schoenebeck 916
220 schoenebeck 917 * general changes:
221     - added CPPUnit test cases (at the moment primarily for automatic check
222     of Gigasampler write support)
223    
224 schoenebeck 854 Version 3.0.0 (28 Apr 2006)
225 persson 773
226 schoenebeck 780 * general changes:
227 schoenebeck 809 - added write support (that is for creating and modifying RIFF, DLS and
228     gig files)
229     - loading DLS and gig files is now much more permissive, DLS and gig
230     files are now loaded even if mandatory RIFF chunks are missing
231 persson 834 - fixed some memory management errors, one of them was causing a
232     crash when a multi-file gig was deallocated
233 schoenebeck 780
234 persson 773 * src/gig.cpp, src/gig.h:
235     - fixed the GetVelocityCutoff function, it wasn't always using the
236     VCFVelocityScale parameter when no cutoff controller was defined
237 persson 774 - support for the gig v3 feature to have a number of dimension
238     splits not equal to a power of two
239 schoenebeck 809 - added write support (highly experimental)
240 persson 773
241 schoenebeck 800 * src/DLS.cpp, src/DLS.h:
242     - fixed loading of Articulation Connections (<artl> list chunks were
243     seeked instead of ordinary <artl> data chunks)
244     - added write support (highly experimental)
245    
246     * src/RIFF.cpp, src/RIFF.h:
247     - added write support
248     - Chunk::LoadChunkData() can now be called again to resize the buffer
249     after a Chunk::Resize() and before the File::Save() call to allow
250     placing the new data in the chunk's write buffer and perform the
251     resize and write operations in one rush
252    
253 schoenebeck 809 * src/gigdump.cpp:
254     - fixed to show the correct amount of dimension regions instead of 32
255     (patch by James Wylder)
256    
257 schoenebeck 804 * src/dlsdump.cpp:
258     - show for every region the name of the referenced sample
259     - show file name in quotation marks
260    
261 schoenebeck 732 Version 2.0.2 (15 Aug 2005)
262 schoenebeck 652
263     * packaging changes:
264     - require automake (>= 1.5) for 'make -f Makefile.cvs'
265     (mandatory for 'dist-bzip2' automake option)
266    
267 persson 666 * src/gig.cpp, src/gig.h:
268     - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
269     the extension files are read automatically when the samples are
270     loaded
271 persson 695 - fixed the 24 bit decompression, the result should now be exact
272     instead of an approximation
273 persson 728 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
274     function to DimensionRegion
275 persson 666
276     * src/DLS.cpp, src/DLS.h:
277     - the upper bits of the pool table indices are read (used as
278     extension file numbers for gig v3)
279    
280     * src/RIFF.cpp, src/RIFF.h:
281     - the file name is remembered in the RIFF::File object
282    
283 schoenebeck 632 Version 2.0.1 (12 Jun 2005)
284 schoenebeck 549
285 schoenebeck 634 * packaging changes:
286     - include debian/ directory on 'make dist'
287     - create a bzip2 tarball on 'make dist'
288    
289 schoenebeck 549 * src/gigextract.cpp:
290     - show also version of libsndfile or build version of libaudiofile when
291     using the -v switch
292 schoenebeck 608 - fixed mutual link dependency to libsndfile / libaudiofile
293 schoenebeck 549
294 persson 613 * src/gig.cpp, src/gig.h:
295     - added DimensionRegion::GetVelocityRelease function
296    
297 schoenebeck 530 Version 2.0.0 (9 May 2005)
298 schoenebeck 317
299 schoenebeck 383 * packaging changes:
300     - fixed conditional linkage of either libsndfile or libaudiofile
301     (if none of the two exist, configure script will abort)
302 schoenebeck 518 - man pages are now auto generated with the correct libgig version
303 schoenebeck 383
304 schoenebeck 317 * src/gig.cpp, src/gig.h:
305     - experimental support for Gigasampler v3 format;
306     64 bit file offsets are truncated to 32 bit, 24 bit samples are
307 schoenebeck 347 truncated to 16 bit, up to 8 dimensions are read, additional
308     articulation informations are ignored at the moment
309     (patch by Andreas Persson)
310 schoenebeck 317 - added some file format compatibility checks
311 schoenebeck 345 - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
312     never used, because the necessary check was made before
313     initialization)
314     - fixed crossfade points order (structure for big endian and little
315     endian systems was interchanged)
316 schoenebeck 355 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
317 schoenebeck 352 - fixed crash which occured when patches did not have a sample assigned
318     to their region or dimension region (patch by Andreas Persson)
319 persson 365 - support for compressed mono samples
320     - experimental support for compressed 24 bit samples
321     - fixed decompression on big-endian CPUs
322     - fixed decompression bug that truncated the last block of samples
323 schoenebeck 384 - external decompression buffers can now be used for streaming samples
324     to avoid race conditions in case of multiple streaming threads
325 persson 406 - added pre-calculated sample attenuation parameter
326 persson 437 - added v3 "random" and "round robin" dimensions
327 schoenebeck 515 - implemented progress indicator callback mechanism for loading
328     instruments and samples
329 schoenebeck 518 - added functions libraryName() and libraryVersion()
330 schoenebeck 317
331 schoenebeck 518 * src/DLS.cpp, src/DLS.h:
332 schoenebeck 515 - fixed File constructor which caused variable File::Instruments always
333     to be zero
334 schoenebeck 518 - added functions libraryName() and libraryVersion()
335 schoenebeck 515
336 schoenebeck 518 * src/RIFF.cpp, src/RIFF.h:
337 schoenebeck 515 - fixed method List::LoadSubChunks() which did not restore the original
338     position within the body of the given list chunk
339 schoenebeck 518 - added functions libraryName() and libraryVersion()
340 schoenebeck 515
341 schoenebeck 518 * src/rifftree.cpp:
342     - added command line switch -v to show rifftree's revision and the used
343     libgig version
344    
345     * src/dlsdump.cpp:
346     - added command line switch -v to show dlsdump's revision and the used
347     libgig version
348    
349 schoenebeck 334 * src/gigdump.cpp:
350 schoenebeck 530 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
351     LoopPlayCount
352 schoenebeck 518 - added command line switch -v to show gigdump's revision and the used
353     libgig version
354 schoenebeck 334
355 persson 365 * src/gigextract.cpp:
356     - support for compressed mono samples and compressed 24 bit samples
357 schoenebeck 518 - added command line switch -v to show gigextract's revision and the
358     used libgig version
359 persson 365
360 schoenebeck 315 Version 1.0.0 (26 Nov 2004)
361 schoenebeck 196
362     * packaging changes:
363     - renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
364     'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix
365 schoenebeck 315 - fixed man pages automake install rule (which didn't work on Mandrake,
366     SuSE and Fedora)
367     - fixed generation of Doxygen API documentation (now also included in
368     RPM and Debian packages)
369 schoenebeck 196
370 schoenebeck 231 * src/gig.cpp, src/gig.h:
371     - fixed / improved accuracy of all three velocity to volume
372 schoenebeck 315 transformation functions a.k.a. 'nonlinear','linear','special'
373     (patch by Andreas Persson)
374 schoenebeck 231 - denormals are filtered from the velocity to volume tables
375 schoenebeck 241 - bugfix for dimension region switching (wrong handling of the release
376     trigger dimension, no bit range check for dimensions of split type
377     'split_type_bit')
378 schoenebeck 269 - fixed panorama value in DimensionRegion (invalid conversion from
379     signed 7 bit to signed 8 bit)
380 schoenebeck 282 - added class attribute 'Layers' to class 'gig::Region'
381 schoenebeck 315 - symbol prototyping of gig::Region (fixes build failure with qsampler)
382 schoenebeck 231
383 schoenebeck 220 * src/gigextract.cpp:
384     - added support for libsndfile (if libaudiofile and libsndfile are
385     available then libsndfile is preferred)
386    
387 schoenebeck 229 * src/gigdump.cpp:
388     - added printout for dimension informations (amount, type, bits, zones)
389 schoenebeck 231 - added printout for velocity response curve parameters
390 schoenebeck 235 - added printout for crossfade definitions
391 schoenebeck 269 - added printout for panorama value for each DimensionRegion
392 schoenebeck 282 - replaced printout of DLS Region layer by printout of amount of
393     Gigasampler layers
394 schoenebeck 229
395 capela 168 Version 0.7.1 (2 Jul 2004)
396    
397     * packaging changes:
398 schoenebeck 192 - added libgig.spec and libgig.pc package configurations for generating
399     Redhat packages
400 capela 168 - header files included on installation.
401     - autotools-generated files removed from CVS repository.
402 schoenebeck 186 - added support for generating Debian packages
403     - version of shared library can be set in configure.in
404    
405 schoenebeck 58 Version 0.7.0 (3 May 2004)
406    
407     * general changes:
408     - various big endian specific corrections
409     (successfully tested now on PPC)
410     - minor adjustments to avoid compile errors on some systems
411     (using now pow() instead of powl() and --pedantic g++ compiler switch)
412     - libtoolized the library
413     - added man pages for the command line tools
414     (gigextract, gigdump, dlsdump, rifftree)
415    
416     * src/gig.cpp, src/gig.h:
417     - fixed bug in decompression algorithm which caused it not to detect
418     the end of a stream
419     - added method GetVelocityAttenuation() to class 'DimensionRegion' which
420     takes the MIDI key velocity value as an argument and returns the
421     appropriate volume factor (0.0 ... 1.0) for the sample to be played
422     back, the velocity curve transformation functions used for this are
423     only an approximation so far
424     - fixed class attributes 'Sample::LoopStart', 'Sample::LoopEnd' and
425     'Sample::LoopSize' which reflected wrong values
426     - class attributes 'Sample::LoopStart' and 'Sample::LoopEnd' are now
427     measured in sample points instead of byte offset
428     - renamed misleading attribute name 'Sample::MIDIPitchFraction' to
429     'Sample::FineTune'
430     - added class attribute 'Sample::LoopSize'
431     - added method GetInstrument(uint index) to class 'File'
432     - added ReadAndLoop() method to class 'Sample' which is an extension to
433     the normal Read() method to honor the sample's looping information
434     while streaming from disk
435     - changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and
436     'eg2_ctrl_t': replaced this huge enumeration by a structure which
437     reflects the MIDI controller number in case of an ordinary control
438     change controller (this saves a huge switch-case block in the
439     application of the library user)
440     - renamed following attributes in class 'DimensionRegion':
441     'AttenuationContol' -> 'AttenuationController',
442     'InvertAttenuationControl' -> 'InvertAttenuationController',
443     'AttenuationControlTreshold' -> 'AttenuationControllerThreshold'
444     - minor fix in API documentation for method GetVelocityAttenuation() in
445     class 'DimensionRegion'
446    
447     * src/RIFF.cpp, src/RIFF.h:
448     - added additional API documentation
449     - minor fix in Chunk::Read() method (only a minor efficiency issue)
450    
451     * src/gigdump.cpp:
452     - added printout of samples' looping informations
453    
454 schoenebeck 11 Version 0.6.0 (3 Nov 2003)
455    
456     * initial release

  ViewVC Help
Powered by ViewVC