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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

1 Version CVS HEAD (?)
2 * general changes:
3 - minor Makefile fix for parallel make
4 - Mac OS X: link with CoreFoundation (for the UUID function)
5
6 * SoundFont file format
7 - initial implementation
8 - changed region lookup API to avoid malloc in RT threads
9 - fixed GetEG1Sustain which didn't return correct value
10
11 * src/gig.cpp:
12 - bugfix: VCF velocity dynamic range and VCF velocity curve
13 weren't saved correctly
14
15 * src/DLS.cpp, src/DLS.h:
16 - added new method File::GetFileName()
17 - fixed minor "memory leak on exception" bug found with cppcheck
18
19 * 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 - fixed memory leak and memory handling errors when file loading
23 fails
24
25 Version 3.3.0 (30 Jul 2009)
26
27 * general changes:
28 - fixed compilation with gcc 4.3
29 - fixes for building with Visual C++
30 - minor fix in configure for building DLL on Windows
31
32 * src/gig.cpp, src/gig.h:
33 - added partial support for MIDI rules, only the Controller
34 Triggered rule is supported so far
35 - bugfix: removed another iterator invalidation in DeleteSample
36 - bugfix in Sample::LoadSampleData*(): reset sample read position to
37 sample start before trying to (re)load sample data from file (#82)
38 - bugfix: EG3 depth parameter was not saved correctly
39 - fixed crash which occured when streaming a gig sample with
40 bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
41
42 * 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 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
46 is not written physically yet (#82)
47 - bugfix: saving to the same file after the file size had been
48 decreased sometimes also made the file corrupt!
49 - bugfix: undefined behavior (e.g. endless loop) when opening zero
50 length files, now throws a RIFF::Exception instead (fixes bug #121)
51 - 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 - bugfix: files that contain zero length RIFF lists were not read
55 correctly (fixes #127) (bug was introduced 2009-03-13)
56
57 Version 3.2.1 (5 Dec 2007)
58
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 * 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 Version 3.2.0 (14 Oct 2007)
69
70 * packaging changes:
71 - added Mac OSX XCode project files (patch by Toshi Nagata)
72 - Dev-C++ (win32) project file is automatically updated with
73 the version info from configure.in
74 - the configure script can now be used in Windows with MSYS
75 - added a mainpage for the Doxygen API documentation
76
77 * src/DLS.cpp, src/DLS.h:
78 - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
79 - fixed write support for big-endian systems
80 - improved handling of fixed length info strings - separate default
81 lengths can be specified for each INFO chunk
82 - added Resource::GenerateDLSID function
83 - write support fix: allow regions without mapped samples
84 - 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 - added SetGain() method to Sampler class
88 - fixed crash when saving a file after a sample loop was added
89
90 * 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 - fixed write support for big-endian systems
94 - 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 - 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 couldn't be saved, group name list chunk was placed wrong,
102 dimension region chunks also placed wrong
103 - added initialization of some fixed info strings in file and
104 instrument
105 - write support: files created by libgig will now have the RIFF
106 chunks in correct order
107 - 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 - write support: DLSID is now generated on the file and the
114 instruments
115 - write support: improved the default values for dimension region
116 parameters
117 - 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 - write support: 24 bit samples can now be written
122 - write support: version 3 is now the default for new files
123 - 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 - 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 - added method GetParent() to class 'DimensionRegion', which returns its
132 parent Region
133 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
134 unused areas
135 - added various setter methods to DimensionRegion class which take care
136 of updating lookup tables / caches.
137
138 * src/RIFF.cpp, src/RIFF.h:
139 - added File::SetByteOrder method
140 - Windows fix: saving a new file didn't work
141
142 * src/gigdump.cpp:
143 - added some missing dimension strings
144
145 Version 3.1.1 (24 Mar 2007)
146
147 * packaging changes:
148 - ported to Windows using native Windows functions for file IO
149 (provided Dev-C++ + mingw project file)
150 - only export relevant files to Doxygen API documentation
151
152 * 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 - added "smart midi" and "round robin keyboard" dimensions
157 - 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 - fixed crash which occured on interfering File::DeleteSample() and
162 File::GetNextSample() calls (due to iterator invalidation)
163 - fixed group names which were not saved
164 - fixed group destructor which did not remove the RIFF chunk associated
165 with the group
166 - added Instrument::MoveRegion method
167 - fixed constructor for Region, which did not initialize correctly
168 when used from Instrument::AddRegion
169 - 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 - fixed AddDimension() method which did not fill out all mandatory
173 dimension definition fields
174
175 * src/DLS.cpp, src/DLS.h:
176 - added Instrument::MoveRegion method
177 - fixed software info field which was wrongly stored on instruments,
178 causing an exception when trying to save a new instrument
179
180 * 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 - added List::MoveSubChunk method
185
186 Version 3.1.0 (24 Nov 2006)
187
188 * packaging changes:
189 - changed deprecated copyright attribute to license;
190 added ldconfig to post-(un)install steps on libgig.spec (RPM)
191
192 * 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 - 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 - 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 - several fixes for the write support
205 - support for sample groups added
206
207 * src/DLS.cpp, src/DLS.h:
208 - support for reading of ".art" files
209 - removed incorrect use of memccpy in the write support (patch by
210 Jeremy Kerr)
211 - several fixes for the write support
212
213 * src/gigextract.cpp:
214 - real support for 24 bit samples
215
216 * src/gigdump.cpp:
217 - print global file informations
218 - print sample groups
219
220 * general changes:
221 - added CPPUnit test cases (at the moment primarily for automatic check
222 of Gigasampler write support)
223
224 Version 3.0.0 (28 Apr 2006)
225
226 * general changes:
227 - 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 - fixed some memory management errors, one of them was causing a
232 crash when a multi-file gig was deallocated
233
234 * 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 - support for the gig v3 feature to have a number of dimension
238 splits not equal to a power of two
239 - added write support (highly experimental)
240
241 * 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 * src/gigdump.cpp:
254 - fixed to show the correct amount of dimension regions instead of 32
255 (patch by James Wylder)
256
257 * src/dlsdump.cpp:
258 - show for every region the name of the referenced sample
259 - show file name in quotation marks
260
261 Version 2.0.2 (15 Aug 2005)
262
263 * packaging changes:
264 - require automake (>= 1.5) for 'make -f Makefile.cvs'
265 (mandatory for 'dist-bzip2' automake option)
266
267 * 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 - fixed the 24 bit decompression, the result should now be exact
272 instead of an approximation
273 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
274 function to DimensionRegion
275
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 Version 2.0.1 (12 Jun 2005)
284
285 * packaging changes:
286 - include debian/ directory on 'make dist'
287 - create a bzip2 tarball on 'make dist'
288
289 * src/gigextract.cpp:
290 - show also version of libsndfile or build version of libaudiofile when
291 using the -v switch
292 - fixed mutual link dependency to libsndfile / libaudiofile
293
294 * src/gig.cpp, src/gig.h:
295 - added DimensionRegion::GetVelocityRelease function
296
297 Version 2.0.0 (9 May 2005)
298
299 * packaging changes:
300 - fixed conditional linkage of either libsndfile or libaudiofile
301 (if none of the two exist, configure script will abort)
302 - man pages are now auto generated with the correct libgig version
303
304 * 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 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 - added some file format compatibility checks
311 - 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 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
317 - fixed crash which occured when patches did not have a sample assigned
318 to their region or dimension region (patch by Andreas Persson)
319 - 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 - external decompression buffers can now be used for streaming samples
324 to avoid race conditions in case of multiple streaming threads
325 - added pre-calculated sample attenuation parameter
326 - added v3 "random" and "round robin" dimensions
327 - implemented progress indicator callback mechanism for loading
328 instruments and samples
329 - added functions libraryName() and libraryVersion()
330
331 * src/DLS.cpp, src/DLS.h:
332 - fixed File constructor which caused variable File::Instruments always
333 to be zero
334 - added functions libraryName() and libraryVersion()
335
336 * src/RIFF.cpp, src/RIFF.h:
337 - fixed method List::LoadSubChunks() which did not restore the original
338 position within the body of the given list chunk
339 - added functions libraryName() and libraryVersion()
340
341 * 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 * src/gigdump.cpp:
350 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
351 LoopPlayCount
352 - added command line switch -v to show gigdump's revision and the used
353 libgig version
354
355 * src/gigextract.cpp:
356 - support for compressed mono samples and compressed 24 bit samples
357 - added command line switch -v to show gigextract's revision and the
358 used libgig version
359
360 Version 1.0.0 (26 Nov 2004)
361
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 - 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
370 * src/gig.cpp, src/gig.h:
371 - fixed / improved accuracy of all three velocity to volume
372 transformation functions a.k.a. 'nonlinear','linear','special'
373 (patch by Andreas Persson)
374 - denormals are filtered from the velocity to volume tables
375 - 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 - fixed panorama value in DimensionRegion (invalid conversion from
379 signed 7 bit to signed 8 bit)
380 - added class attribute 'Layers' to class 'gig::Region'
381 - symbol prototyping of gig::Region (fixes build failure with qsampler)
382
383 * src/gigextract.cpp:
384 - added support for libsndfile (if libaudiofile and libsndfile are
385 available then libsndfile is preferred)
386
387 * src/gigdump.cpp:
388 - added printout for dimension informations (amount, type, bits, zones)
389 - added printout for velocity response curve parameters
390 - added printout for crossfade definitions
391 - added printout for panorama value for each DimensionRegion
392 - replaced printout of DLS Region layer by printout of amount of
393 Gigasampler layers
394
395 Version 0.7.1 (2 Jul 2004)
396
397 * packaging changes:
398 - added libgig.spec and libgig.pc package configurations for generating
399 Redhat packages
400 - header files included on installation.
401 - autotools-generated files removed from CVS repository.
402 - added support for generating Debian packages
403 - version of shared library can be set in configure.in
404
405 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 Version 0.6.0 (3 Nov 2003)
455
456 * initial release

  ViewVC Help
Powered by ViewVC