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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3974 - (show annotations) (download)
Fri Jul 16 16:53:13 2021 UTC (2 years, 9 months ago) by schoenebeck
File size: 46403 byte(s)
* gig/DLS: Fix iterator invalidation (i.e. crash) caused by adding /
  removing samples (fixes SVN r3928).

* Bumped version (4.3.0.svn27).

1 Version SVN trunk (?)
2
3 * src/gig.cpp, src/gig.h:
4 - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
5 - Region::SplitDimensionZone(): Fix clang sanatizer warning.
6 - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
7 (InternalDecompressionBuffer is no longer needed for 24 bit samples since
8 SVN r902 / libgig release 3.1.0).
9 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
10 entire gig.cpp file.
11 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
12 entire gig.cpp file.
13 - Added method Instrument::GetRegionAt().
14 - Marked methods Instrument::GetFirstRegion() and
15 Instrument::GetNextRegion() as deprecated.
16 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
17 gig.cpp file.
18 - Changed signature of method File::GetSample(uint) to
19 File::GetSample(size_t,progress_t*).
20 - Marked methods File::GetFirstSample() and File::GetNextSample() as
21 deprecated.
22 - Use File::GetSample() instead of File::GetFirstSample() /
23 File::GetNextSample() in entire gig.cpp file.
24 - Added method Group::GetSample().
25 - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
26 deprecated.
27 - Use Group::GetSample() instead of Group::GetFirstSample() /
28 Group::GetNextSample() in entire gig.cpp file.
29 - Changed signature of method File::GetGroup(uint) to
30 File::GetGroup(size_t).
31 - Fixed File::GetGroup(size_t) to be reentrant-safe.
32 - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
33 - Fixed GetGroup(String) to be reentrant-safe.
34 - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
35 gig.cpp file.
36 - Changed signature of method File::GetInstrument(uint,progress_t*) to
37 File::GetInstrument(size_t,progress_t*).
38 - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
39 - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
40 as deprecated.
41 - Use File::GetInstrument() instead of File::GetFirstInstrument() /
42 File::GetNextInstrument() in entire gig.cpp file.
43 - Optimized method ScriptGroup::GetScript() to have constant time
44 efficiency.
45 - Changed signature of method File::GetScriptGroup(uint) to
46 File::GetScriptGroup(size_t).
47 - Optimized method File::GetScriptGroup(size_t) to have constant time
48 efficiency.
49 - Changed signature of method ScriptGroup::GetScript(uint) to
50 ScriptGroup::GetScript(size_t).
51 - Changed signature of method Instrument::GetScriptOfSlot(uint) to
52 Instrument::GetScriptOfSlot(size_t).
53 - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to
54 Instrument::SwapScriptSlots(size_t,size_t).
55 - Changed signature of method Instrument::RemoveScriptSlot(uint) to
56 Instrument::RemoveScriptSlot(size_t).
57 - Changed signature of method Instrument::ScriptSlotCount() to return
58 size_t instead of uint.
59 - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to
60 Instrument::IsScriptSlotBypassed(size_t).
61 - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool)
62 to Instrument::SetScriptSlotBypassed(size_t,bool).
63 - Changed signature of method
64 Instrument::IsScriptPatchVariableSet(int,String) to
65 Instrument::IsScriptPatchVariableSet(size_t,String).
66 - Changed signature of method Instrument::GetScriptPatchVariables(int) to
67 Instrument::GetScriptPatchVariables(size_t).
68 - Changed signature of method
69 Instrument::GetScriptPatchVariable(int,String) to
70 Instrument::GetScriptPatchVariable(size_t,String).
71 - Changed signature of method
72 Instrument::SetScriptPatchVariable(int,String,String) to
73 Instrument::SetScriptPatchVariable(size_t,String,String).
74 - Changed signature of method
75 Instrument::UnsetScriptPatchVariable(int,String) to
76 Instrument::UnsetScriptPatchVariable(ssize_t,String).
77 - Fixed iterator invalidation (i.e. crash) caused by adding / removing
78 samples (only triggered if now deprecated File::GetFirstSample() /
79 File::GetNextSample() methods were still used).
80
81 * src/SF.cpp, src/SF.h:
82 - File::DeleteInstrument(): Fix clang sanatizer warning.
83
84 * src/DLS.cpp, src/DLS.h:
85 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
86 entire DLS.cpp file.
87 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
88 entire DLS.cpp file.
89 - Added method Instrument::GetRegionAt().
90 - Marked methods Instrument::GetFirstRegion() and
91 Instrument::GetNextRegion() as deprecated.
92 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
93 DLS.cpp file.
94 - Added method File::GetSample().
95 - Marked methods File::GetFirstSample() and File::GetNextSample() as
96 deprecated.
97 - Use File::GetSample() instead of File::GetFirstSample() /
98 File::GetNextSample() in entire DLS.cpp file.
99 - Added method Articulator::GetArticulation().
100 - Marked methods Articulator::GetFirstArticulation() and
101 Articulator::GetNextArticulation() as deprecated.
102 - Added method File::GetInstrument().
103 - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
104 as deprecated.
105 - Added method Instrument::CountRegions().
106 - Fixed iterator invalidation (i.e. crash) caused by adding / removing
107 samples (only triggered if now deprecated File::GetFirstSample() /
108 File::GetNextSample() methods were still used).
109
110 * src/RIFF.cpp, src/RIFF.h:
111 - Chunk::LoadChunkData(): Fix clang sanatizer warning.
112 - List::LoadSubChunks(): Fix potential garbage data access if reading a
113 RIFF chunk ID failed.
114 - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
115 latter allows to automatically use a separate file I/O stream state for
116 each thread.
117 - Added method List::GetSubChunkAt().
118 - Added method List::GetSubListAt().
119 - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
120 List::GetFirstSubList() and List::GetNextSubList() as deprecated.
121 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
122 entire RIFF.cpp file.
123
124 Version 4.3.0 (9 May 2021)
125
126 * general changes:
127 - Require at least a C++11 compliant compiler.
128 - Require some UUID generating function by underlying system.
129
130 * src/gig.cpp, src/gig.h:
131 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
132 DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
133 allow to define override LFOs' wave form (e.g. saw or square instead of
134 the default wave form which was always sine in the original
135 Gigasampler/GigaStudio software).
136 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
137 DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
138 move the start point horizontally of the LFOs' waves (0�� ... 360��).
139 - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
140 (the original Gigasampler/GigaStudio software only had that flip phase
141 option for LFO1 and LFO2).
142 - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
143 Region::UsesAnyGigFormatExtension(),
144 Instrument::UsesAnyGigFormatExtension() and
145 File::UsesAnyGigFormatExtension() (however only as private methods yet,
146 see comments on methods why).
147 - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
148 implementations to enum vcf_type_t: vcf_type_lowpass_1p,
149 vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
150 vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
151 vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
152 - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
153 (patch by Ivan Maguidhir).
154 - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
155 (original patch by Ivan Maguidhir).
156 - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
157 dimensions being in different order after deleting a dimension zone.
158 - Script: Generate a persistent UUID for each script.
159 - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
160 accordingly added new methods to Instrument class:
161 IsScriptPatchVariableSet(), GetScriptPatchVariables(),
162 GetScriptPatchVariable(), SetScriptPatchVariable(),
163 UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
164 as child of our '3LS ' list chunk on Instrument level.
165 - Fixed undefined behaviour when modifying script slots on an instrument
166 that had been cloned and not been saved yet (e.g. unintended modification
167 of original instrument's script slots, and crash on Instrument destruction
168 due to double free of pScriptRefs).
169
170 * src/Serialization.cpp, src/Serialization.h:
171 - Fixed broken Archive(RawData) constructor which always threw an
172 Exception.
173 - Added built-in support for C++ String objects (a.k.a. std::string
174 from the STL) and bumped Srx format version to 1.1 for that reason.
175 - Fixed assertion fault on some systems if a member variable defined was
176 serialized which was declared as size_t or ssize_t data type.
177 - Added new method Archive::operation() which allows applications to
178 distinguish between serialization vs. deserialization in their
179 serialize() method implementations.
180 - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
181 the STL).
182 - Member offsets are now signed and for (newly added support of) member
183 variables on the heap -1 is always used as offset instead.
184 - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
185 STL).
186 - DataType: Added optional 2nd custom type name.
187 - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
188 STL).
189
190 * src/helper.h:
191 - Fix compile error with GCC 9 due to ignored result value of vasprintf()
192 function call.
193
194 * src/tools/gigdump.cpp:
195 - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
196 LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
197 LFO2FlipPhase and LFO3FlipPhase.
198
199 Version 4.2.0 (25 Jul 2019)
200
201 * general changes:
202 - Added MSVC build support (anonymous patch from mailing list).
203 - Introduced CMake build support (yet constrained for building with MSVC)
204 (anonymous patch from mailing list).
205 - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
206 destructors. Added new virtual method DeleteChunks() to those classes
207 for this which must be explicitly called instead to remove their RIFF
208 chunks.
209 - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
210 of zero; which is unsafe per se.
211 - Added C++11 "override" keyword where appropriate.
212 - Fixed crash in RIFF, DLS and gig classes which occurred on certain
213 of their actions when not passing a progress_t callback structure.
214
215 * src/gig.cpp, src/gig.h:
216 - Fixed Doxygen API comments for enum types (currently latest Doxygen
217 [v1.8.13] only supports C comments in macro arguments expansion, but
218 not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
219 the Doxygen source code, which currently also filter out new line
220 \n chars).
221 - Added new method File::CountSamples().
222 - Added new method File::CountInstruments().
223 - Fixed gig v4 files falsely being handled as v2 format
224 (patch by Ivan Maguidhir).
225 - Added gig v4 version identifier (File::VERSION_4).
226 - GIG FORMAT EXTENSION: Added attribute
227 DimensionRegion::SustainReleaseTrigger which allows to define whether
228 a sustain pedal up event shall cause a release trigger sample to be
229 played (default: don't play release trigger sample by sustain pedal).
230 - GIG FORMAT EXTENSION: Added attribute
231 DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
232 regular behaviour of playing release trigger sample on MIDI note-off
233 events.
234 - Introduced support for writing extension files (.gx01, .gx02, ...)
235 (original patch by Ivan Maguidhir).
236 - Many gig classes derive now from DLS::Storage (see DLS changes below).
237 - Added File::GetRiffFile() method.
238
239 * src/DLS.cpp, src/DLS.h:
240 - File: Fixed implicitly allocated RIFF::File object never been freed.
241 - Added new abstract interface base class DLS::Storage which is derived by
242 the respective classes for implementing (the old) UpdateChunks() and the
243 new DeleteChunks() method.
244 - Added File::GetRiffFile() method.
245
246 * src/sf2.cpp, src/sf2.h:
247 - Added Sample::GetFile() method.
248 - Added File::GetRiffFile() method.
249
250 * src/Serialization.cpp, src/Serialization.h:
251 - Hide pure internal declarations from header file to avoid numerous
252 compiler warnings when building and linking against the public API.
253 - Fixed comparision logic bug
254 - Fixed memory leak in DataType::customTypeName().
255
256 * src/RIFF.cpp, src/RIFF.h:
257 - Fix: Calling File::SetMode() left an undefined file handle on Windows and
258 caused a resource leak
259 - Avoid compiler warning when building for 32 bit windows.
260 - Added new method progress_t::subdivide().
261 - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
262 - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
263 allows a more fine graded control into which portions the subtasks are
264 divided to.
265
266 * src/tools/gigdump.cpp:
267 - Added command line option --instrument-names which causes only
268 instrument names and their index numbers to be printed.
269
270 Version 4.1.0 (25 Nov 2017)
271 * general changes:
272 - removed 2 GB limitation when loading a gig or DLS file
273 - using now native integer size where appropriate
274 - fixed minor issues with man pages (patch by Debian maintainer)
275 - fixed various spelling mistakes (patch by Debian maintainer)
276 - Added new "Serialization" framework (and equally named namespace)
277 which allows to serialize and deserialize native C++ objects
278 in a portable, easy and flexible way.
279 - print compiler warning if no RTTI available
280 - Fixed potential crash in command line tools gig2stereo, korg2gig,
281 korgdump and sf2extract.
282 - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
283 (original patch by Paul Brossier, slightly modified).
284 - Debian: Fixed packaging error about invalid substitution variable
285 "Source-Version".
286 - Raised Debian compatibility level to Debian 9 "Stretch".
287
288 * src/gig.cpp, src/gig.h:
289 - fixed bug in Script::SetGroup: the script chunk wasn't moved
290 - fixed compilation error with clang 3.4
291 - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
292 as one single monolithic gig file. In case .gig file is >= 2GB expect a
293 large monolithic file, otherwise if .gig file is < 2 GB check for
294 "extension" files (.gx01, .gx02, ...) instead.
295 - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
296 if there were dimensions after the velocity dimension: it only created
297 valid velocity tables for cases of dimensions lower than the velocity
298 dimension.
299 - added new method Sample::VerifyWaveData() which allows to check whether
300 a sample had been damaged for some reason
301 - Fix: samples' CRC checksums were damaged on file structure changes.
302 - Fix: samples' CRC checksums were misordered when a Sample was deleted.
303 - Added new method Sample::GetWaveDataCRC32Checksum().
304 - Changed default value of EG2Release (filter release time) to 60s.
305 - Instruments' default pitch bend range is now +-2 semi tones.
306 - Fixed CRC checksums being wrong sometimes.
307 - Fix: method File::AddContentOf() did not clone script groups and scripts
308 of passed original file.
309 - Added support for serializing & deserializing DimensionRegion
310 objects (and crossfade_t and leverage_ctrl_t objects).
311 - Added enum reflection API functions for retrieving enum declaration type
312 information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
313 - Exception class now has a variadic constructor which allows to add
314 textual format specifiers like with printf().
315 - On unknown leverage controller exception: show precise unknown leverage
316 controller number found.
317 - Ignore invalid leverage controller types and just show a warning on the
318 console instead of throwing an exception.
319 - Added new struct eg_opt_t and new class member variable
320 DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
321 extension to the gig file format, which allows to override the default
322 behavior of the first two EGs' state machines.
323 - Fixed undefined behavior when loading a gig file with invalid
324 velocity curve parameters (fixes CVE-2017-12951).
325 - Fixed undefined behavior when loading a gig file with invalid wave
326 pool index number (fixes CVE-2017-12954).
327
328 * src/DLS.cpp, src/DLS.h:
329 - Sample: wave pool offsets are now 64 bits (to allow support for files
330 larger than 4 GB).
331 - Exception class now has a variadic constructor which allows to add
332 textual format specifiers like with printf().
333
334 * src/RIFF.cpp, src/RIFF.h:
335 - added support for RIFF files larger than 4 GB, by default the required
336 internal RIFF file offset size is automatically detected (that is RIFF
337 files < 4 GB automatically use 32 bit offsets while files >= 4 GB
338 automatically use 64 bit offsets), a particular offset size can be forced
339 with a new option added to the RIFF File constructor though
340 - when saving a modified, grown RIFF file, the temporary file size during
341 Save() operation will no longer be larger than the final grown file size
342 - Exception class now has a variadic constructor which allows to add
343 textual format specifiers like with printf().
344
345 * src/Serialization.cpp, src/Serialization.h:
346 - Archive: Added method isModified().
347 - Archive: Added method setAutoValue().
348 - Archive: Added method setIntValue().
349 - Archive: Added method setRealValue().
350 - Archive: Added method setBoolValue().
351 - Archive: Added method setEnumValue().
352 - Archive: Added method valueAsString().
353 - Archive::rawData(): Automatically re-encode new raw data stream if
354 archive had been modified (i.e. by remove(), setAutoValue(), etc.).
355 - Object: Added method memberByUID().
356 - Object: remove() method is now protected.
357 - Archive: Added method removeMember().
358 - Archive: Added methods name() and setName().
359 - Archive: Added methods comment() and setComment().
360 - Archive: Added methods timeStampCreated(), timeStampModified(),
361 dateTimeCreated() and dateTimeModified().
362 - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
363 - DataType: Implemented demangling C++ type names (for methods
364 asLongDescr() and customTypeName(bool demangle=false)).
365 - Archive::setAutoValue(): Handle human readable boolean text
366 representations like "yes", "no", "true", "false" as expected.
367 - Exception class now has a variadic constructor which allows to add
368 textual format specifiers like with printf().
369 - DataType fix: Retain backward compatibility to older versions of native
370 C++ classes/structs.
371
372 * src/Akai.cpp:
373 - Fixed compilation error with recent, more strict compilers.
374
375 * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
376 - improved output of non-ascii characters in usage messages
377 - fixed printf format strings
378
379 * src/tools/korg2gig.cpp:
380 - fixed c++11 narrowing warnings
381 - fixed fine tuning which was not translated at all
382
383 * src/tools/gigdump.cpp:
384 - additionally print VelocityUpperLimit and DimensionUpperLimits of all
385 dimension regions
386 - additionally print RIFF chunk file offset and RIFF chunk size of sample
387 data
388 - added and implemented new parameter "--verify" which allows to check
389 the raw wave form data integrity of all samples
390 - added and implemented new parameter "--rebuild-checksums" which allows
391 to recalculate the CRC32 checksum of all samples' raw wave data and
392 rebuilding the gig file's global checksum table (i.e. in case the
393 file's checksum table was damaged)
394 - print samples' CRC32 checksums
395 - Print the new EG behavior options (eg_opt_t).
396
397 * src/tools/gigextract.cpp:
398 - Fix: if sample name contains a path separator (slash or backslash) then
399 replace them by a minus sign to avoid file system issues.
400
401 * src/tools/gig2stereo.cpp:
402 - Also merge mono sample pairs with non matching loop information if
403 argument --incompatible was given.
404
405 * packaging changes:
406 - Automake: set environment variable GCC_COLORS=auto to allow GCC to
407 auto detect whether it (sh/c)ould output its messages in color.
408
409 Version 4.0.0 (14 Jul 2015)
410 * general changes:
411 - minor Makefile fix for parallel make
412 - Mac OS X: link with CoreFoundation (for the UUID function)
413 - removed gcc 4.7 warnings
414 - modernized configure script
415 - removed usage of deprecated Automake variable INCLUDES
416 - added new command line tool "gigmerge"
417 - added "const" keyword to several methods
418 - added new command line tool "gig2mono"
419 - added man page for "sf2dump"
420 - added new command line tool "korgdump" (and a man page for it)
421 - added new command line tool "korg2gig" (and a man page for it)
422 - moved source files of command line tools to new subdir src/tools
423 - libgig.so and libakai.so files are now installed under
424 $(prefix)/lib/libgig/ by default.
425 - Header files are now installed under $(prefix)/include/libgig/ by default.
426 - Fixed various packaging issues regarding installation directories
427 (fixes #218).
428 - added new command line tool "gig2stereo" (and a man page for it)
429 - unit tests: fixed wrong return value when test suite app exits
430 (patch by Ryan Schmidt)
431 - added new command line tool "sf2extract" (and a man page for it)
432
433 * SoundFont file format:
434 - initial implementation
435 - changed region lookup API to avoid malloc in RT threads
436 - fixed GetEG1Sustain which didn't return correct value
437 - bugfix: GetPan always returned -1, 0 or 1
438
439 * KORG file format:
440 - initial support for sample based instruments in KORG's file format
441 (.KMP and .KSF files)
442
443 * AKAI file format:
444 - Added Linux/POSIX ported version of libakai. Note that libakai is released
445 under LGPL terms while libgig is released under GPL terms. To handle this
446 license difference appropriately the AKAI support part is built as
447 separate DLL (.so file).
448 - Fixed Mac OSX support so that the Akai lib files and tools compile without
449 any exotic third party libraries.
450 - Fixed various compilation errors for Windows.
451 - POSIX fix: open() requires third (mode) argument if used with O_CREAT
452 (fixes #219).
453
454 * src/gig.cpp:
455 - bugfix: VCF velocity dynamic range and VCF velocity curve
456 weren't saved correctly
457 - implemented File::AddDuplicateInstrument()
458 - bugfix: negative EG3 depth values were not correctly parsed or
459 saved
460 - added write support for CtrlTrigger midi rule
461 - added read and write support for Legato and Alternator midi
462 rules
463 - bugfix: sample groups were sometimes created multiple times or with
464 wrong textual group name
465 - added new method File::AddContentOf() for merging .gig files
466 - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
467 controller types (only works with LinuxSampler & gigedit, will not
468 work with Gigasampler/GigaStudio)
469 - added new method File::GetGroup(String name) for getting group by name
470 - added new method Region::GetDimensionDefinition(dimension_t type)
471 - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
472 - added some more sanity checks in Region::AddDimension()
473 - added new method Region::DeleteDimensionZone(dimension_t, int)
474 - added new method Region::SplitDimensionZone(dimension_t, int)
475 - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
476 with certain velocity split sounds under certain conditions (added bound
477 constraints to prevent that)
478 - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
479 - added new method Region::GetDimensionRegionIndexByValue()
480 - added new method Script::GetGroup()
481 - added new method Region::SetDimensionType()
482 - Added support for custom progress notification while saving to gig file.
483 - Bugfix: Adding a new region in between two existing regions caused the
484 new one being dropped after save operation and the gig file being tainted
485 (chunks at wrong location in the RIFF tree).
486 - Added new method Instrument::MoveTo() which allows to rearrange the order
487 of instruments within the same gig file.
488
489 * src/DLS.cpp, src/DLS.h:
490 - added new method File::GetFileName()
491 - fixed minor "memory leak on exception" bug found with cppcheck
492 - added new method File::GetExtensionFile(int index)
493 - added new method File::SetFileName() allowing to call File::Save()
494 later on without passing a file name
495 - added inline helper methods overlaps() for struct range_t
496 - Added support for custom progress notification while saving to DLS file.
497 - Bugfix: Adding a new region in between two existing regions caused the
498 new one being dropped after save operation and the gig file being tainted
499 (chunks at wrong location in the RIFF tree).
500
501 * src/SF.cpp, src/SF.h:
502 - added new method Sample::ReadNoClear()
503
504 * src/RIFF.cpp, src/RIFF.h:
505 - bugfix: avoid calling read() with count 0 when writing a file,
506 as this may hang on some systems
507 - fixed memory leak and memory handling errors when file loading
508 fails
509 - added new method Chunk::ReadString
510 - added new method File::SetFileName() allowing to call File::Save()
511 later on without passing a file name
512 - added new method File::IsNew()
513 - added support for loading RIFF-like files with a bit different layout
514 than "real" RIFF files (used for KORG format support)
515 - added new method Chunk::GetFile()
516 - added new method Chunk::GetLayout()
517 - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
518 allows to move a subchunk within the current List, whereas the new 2nd
519 one allows to move the subchunk from the current list to another list
520 - POSIX: only assume -1 result value as error on open() calls
521 - POSIX: show operating system's error reason if opening a file failed
522 - Added support for custom progress notification while saving to RIFF file.
523 - Fixed embarrassing old bug: POSIX read() errors were never detected on
524 Chunk::Read() calls due to signment incompatible variable.
525 - Cleanup of an old DLL binary backward compatibility hack.
526
527 * src/gigextract.cpp:
528 - export sample loop, unity note and fine tune with libsndfile
529
530 * src/riftree.cpp:
531 - added more command line options for being able to also dump other kind
532 of file formats similar but not equal to the RIFF format
533
534 Version 3.3.0 (30 Jul 2009)
535
536 * general changes:
537 - fixed compilation with gcc 4.3
538 - fixes for building with Visual C++
539 - minor fix in configure for building DLL on Windows
540
541 * src/gig.cpp, src/gig.h:
542 - added partial support for MIDI rules, only the Controller
543 Triggered rule is supported so far
544 - bugfix: removed another iterator invalidation in DeleteSample
545 - bugfix in Sample::LoadSampleData*(): reset sample read position to
546 sample start before trying to (re)load sample data from file (#82)
547 - bugfix: EG3 depth parameter was not saved correctly
548 - fixed crash which occured when streaming a gig sample with
549 bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
550
551 * src/RIFF.cpp, src/RIFF.h:
552 - bugfix: saving to the same file after the file size had been
553 increased made the file corrupt (#82)
554 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
555 is not written physically yet (#82)
556 - bugfix: saving to the same file after the file size had been
557 decreased sometimes also made the file corrupt!
558 - bugfix: undefined behavior (e.g. endless loop) when opening zero
559 length files, now throws a RIFF::Exception instead (fixes bug #121)
560 - bugfix: destructor for base class RIFF::Chunk accessed members
561 of derived class RIFF::File, which is bad, and caused crashes
562 when using Visual C++
563 - bugfix: files that contain zero length RIFF lists were not read
564 correctly (fixes #127) (bug was introduced 2009-03-13)
565
566 Version 3.2.1 (5 Dec 2007)
567
568 * src/RIFF.cpp, src/RIFF.h:
569 - avoid Windows to perform unnecessary file stream caching which would
570 decrease disk streaming performance on Windows systems otherwise
571
572 * src/gig.cpp, src/gig.h:
573 - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
574 applications to retrieve very superficial informations like amount of
575 instruments and their names in a very fast way
576
577 Version 3.2.0 (14 Oct 2007)
578
579 * packaging changes:
580 - added Mac OSX XCode project files (patch by Toshi Nagata)
581 - Dev-C++ (win32) project file is automatically updated with
582 the version info from configure.in
583 - the configure script can now be used in Windows with MSYS
584 - added a mainpage for the Doxygen API documentation
585
586 * src/DLS.cpp, src/DLS.h:
587 - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
588 - fixed write support for big-endian systems
589 - improved handling of fixed length info strings - separate default
590 lengths can be specified for each INFO chunk
591 - added Resource::GenerateDLSID function
592 - write support fix: allow regions without mapped samples
593 - added method SetKeyRange() to the Region class which should be used
594 instead of setting the KeyRange member variable directly
595 - MoveRegion() method of Region class is now private
596 - added SetGain() method to Sampler class
597 - fixed crash when saving a file after a sample loop was added
598
599 * src/gig.cpp, src/gig.h:
600 - fixed segmentation fault in the gig::File destructor sequence which
601 happened when gig::Group informations were accessed before
602 - fixed write support for big-endian systems
603 - defined lengths of a fixed set of info strings. These strings
604 are saved when the file is written, even if they are empty.
605 - added missing parameter initalizations in sample, region and
606 instrument constructors
607 - clear unused fields when saving samples and regions
608 - fixed write support bugs: v3 dimension limits and chunksize
609 weren't saved, leverage controller of type controlchange
610 couldn't be saved, group name list chunk was placed wrong,
611 dimension region chunks also placed wrong
612 - added initialization of some fixed info strings in file and
613 instrument
614 - write support: files created by libgig will now have the RIFF
615 chunks in correct order
616 - write support: two previously unknown fields in dimension
617 definition are now saved
618 - added constants for gig file versions
619 - write support: the 3crc and einf chunks are now created or
620 updated when a file is saved (3crc contains sample checksums,
621 einf contains file statistics)
622 - write support: DLSID is now generated on the file and the
623 instruments
624 - write support: improved the default values for dimension region
625 parameters
626 - more write support fixes: crossfade parameters were not saved,
627 v3 dimension limits were not correctly initialized and saved
628 when dimensions were added or deleted, v3 wave pool offsets were
629 not saved correctly
630 - write support: 24 bit samples can now be written
631 - write support: version 3 is now the default for new files
632 - more write support fixes: the 3ewg chunk is now bigger for v3,
633 dimension regions without mapped samples are now allowed, 3gnl
634 list in v3 files now always has 128 entries, several parameters
635 where incorrectly saved due to an operator precedence mistake
636 - DeleteSample now removes all references to the deleted sample
637 - AddDimension now copies all parameters from existing dimension
638 regions and also makes sure that the samplechannel dimension is
639 placed first in the list of dimensions.
640 - added method GetParent() to class 'DimensionRegion', which returns its
641 parent Region
642 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
643 unused areas
644 - added various setter methods to DimensionRegion class which take care
645 of updating lookup tables / caches.
646
647 * src/RIFF.cpp, src/RIFF.h:
648 - added File::SetByteOrder method
649 - Windows fix: saving a new file didn't work
650
651 * src/gigdump.cpp:
652 - added some missing dimension strings
653
654 Version 3.1.1 (24 Mar 2007)
655
656 * packaging changes:
657 - ported to Windows using native Windows functions for file IO
658 (provided Dev-C++ + mingw project file)
659 - only export relevant files to Doxygen API documentation
660
661 * src/gig.cpp, src/gig.h:
662 - custom velocity splits now works for gig v3 files too
663 - added support for custom splits points for other dimensions than
664 velocity (gig v3 feature)
665 - added "smart midi" and "round robin keyboard" dimensions
666 - added new method File::DeleteGroupOnly() which only deletes the given
667 group but moves all its members to another group, the other method,
668 that is File::DeleteGroup() now removes not just the group, but also
669 all the samples that belong to that group
670 - fixed crash which occured on interfering File::DeleteSample() and
671 File::GetNextSample() calls (due to iterator invalidation)
672 - fixed group names which were not saved
673 - fixed group destructor which did not remove the RIFF chunk associated
674 with the group
675 - added Instrument::MoveRegion method
676 - fixed constructor for Region, which did not initialize correctly
677 when used from Instrument::AddRegion
678 - when saving, override the gig::Regions sample reference simply by
679 the region's first dimension region's sample (avoids an exception
680 when trying to save a new instrument)
681 - fixed AddDimension() method which did not fill out all mandatory
682 dimension definition fields
683
684 * src/DLS.cpp, src/DLS.h:
685 - added Instrument::MoveRegion method
686 - fixed software info field which was wrongly stored on instruments,
687 causing an exception when trying to save a new instrument
688
689 * src/RIFF.cpp, src/RIFF.h:
690 - fixed RIFF::Chunk destructor which did not unregister previously
691 resized chunks, leading to a "zero size chunk" exception when
692 File::Save() was called
693 - added List::MoveSubChunk method
694
695 Version 3.1.0 (24 Nov 2006)
696
697 * packaging changes:
698 - changed deprecated copyright attribute to license;
699 added ldconfig to post-(un)install steps on libgig.spec (RPM)
700
701 * src/gig.cpp, src/gig.h:
702 - added support for more than one set of custom velocity splits
703 inside a region (for example different velocity split levels for
704 pedal up and pedal down)
705 - sample loop parameters are now taken from the DimensionRegion
706 instead of the wave chunk
707 - keyswitching dimension is changed from split type "normal" to
708 "bit"
709 - real support for 24 bit samples - samples are not truncated to
710 16 bits anymore
711 - support for reading of ".art" files. (Merging of .art and .gig
712 files are not implemented yet.)
713 - several fixes for the write support
714 - support for sample groups added
715
716 * src/DLS.cpp, src/DLS.h:
717 - support for reading of ".art" files
718 - removed incorrect use of memccpy in the write support (patch by
719 Jeremy Kerr)
720 - several fixes for the write support
721
722 * src/gigextract.cpp:
723 - real support for 24 bit samples
724
725 * src/gigdump.cpp:
726 - print global file informations
727 - print sample groups
728
729 * general changes:
730 - added CPPUnit test cases (at the moment primarily for automatic check
731 of Gigasampler write support)
732
733 Version 3.0.0 (28 Apr 2006)
734
735 * general changes:
736 - added write support (that is for creating and modifying RIFF, DLS and
737 gig files)
738 - loading DLS and gig files is now much more permissive, DLS and gig
739 files are now loaded even if mandatory RIFF chunks are missing
740 - fixed some memory management errors, one of them was causing a
741 crash when a multi-file gig was deallocated
742
743 * src/gig.cpp, src/gig.h:
744 - fixed the GetVelocityCutoff function, it wasn't always using the
745 VCFVelocityScale parameter when no cutoff controller was defined
746 - support for the gig v3 feature to have a number of dimension
747 splits not equal to a power of two
748 - added write support (highly experimental)
749
750 * src/DLS.cpp, src/DLS.h:
751 - fixed loading of Articulation Connections (<artl> list chunks were
752 seeked instead of ordinary <artl> data chunks)
753 - added write support (highly experimental)
754
755 * src/RIFF.cpp, src/RIFF.h:
756 - added write support
757 - Chunk::LoadChunkData() can now be called again to resize the buffer
758 after a Chunk::Resize() and before the File::Save() call to allow
759 placing the new data in the chunk's write buffer and perform the
760 resize and write operations in one rush
761
762 * src/gigdump.cpp:
763 - fixed to show the correct amount of dimension regions instead of 32
764 (patch by James Wylder)
765
766 * src/dlsdump.cpp:
767 - show for every region the name of the referenced sample
768 - show file name in quotation marks
769
770 Version 2.0.2 (15 Aug 2005)
771
772 * packaging changes:
773 - require automake (>= 1.5) for 'make -f Makefile.cvs'
774 (mandatory for 'dist-bzip2' automake option)
775
776 * src/gig.cpp, src/gig.h:
777 - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
778 the extension files are read automatically when the samples are
779 loaded
780 - fixed the 24 bit decompression, the result should now be exact
781 instead of an approximation
782 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
783 function to DimensionRegion
784
785 * src/DLS.cpp, src/DLS.h:
786 - the upper bits of the pool table indices are read (used as
787 extension file numbers for gig v3)
788
789 * src/RIFF.cpp, src/RIFF.h:
790 - the file name is remembered in the RIFF::File object
791
792 Version 2.0.1 (12 Jun 2005)
793
794 * packaging changes:
795 - include debian/ directory on 'make dist'
796 - create a bzip2 tarball on 'make dist'
797
798 * src/gigextract.cpp:
799 - show also version of libsndfile or build version of libaudiofile when
800 using the -v switch
801 - fixed mutual link dependency to libsndfile / libaudiofile
802
803 * src/gig.cpp, src/gig.h:
804 - added DimensionRegion::GetVelocityRelease function
805
806 Version 2.0.0 (9 May 2005)
807
808 * packaging changes:
809 - fixed conditional linkage of either libsndfile or libaudiofile
810 (if none of the two exist, configure script will abort)
811 - man pages are now auto generated with the correct libgig version
812
813 * src/gig.cpp, src/gig.h:
814 - experimental support for Gigasampler v3 format;
815 64 bit file offsets are truncated to 32 bit, 24 bit samples are
816 truncated to 16 bit, up to 8 dimensions are read, additional
817 articulation informations are ignored at the moment
818 (patch by Andreas Persson)
819 - added some file format compatibility checks
820 - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
821 never used, because the necessary check was made before
822 initialization)
823 - fixed crossfade points order (structure for big endian and little
824 endian systems was interchanged)
825 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
826 - fixed crash which occured when patches did not have a sample assigned
827 to their region or dimension region (patch by Andreas Persson)
828 - support for compressed mono samples
829 - experimental support for compressed 24 bit samples
830 - fixed decompression on big-endian CPUs
831 - fixed decompression bug that truncated the last block of samples
832 - external decompression buffers can now be used for streaming samples
833 to avoid race conditions in case of multiple streaming threads
834 - added pre-calculated sample attenuation parameter
835 - added v3 "random" and "round robin" dimensions
836 - implemented progress indicator callback mechanism for loading
837 instruments and samples
838 - added functions libraryName() and libraryVersion()
839
840 * src/DLS.cpp, src/DLS.h:
841 - fixed File constructor which caused variable File::Instruments always
842 to be zero
843 - added functions libraryName() and libraryVersion()
844
845 * src/RIFF.cpp, src/RIFF.h:
846 - fixed method List::LoadSubChunks() which did not restore the original
847 position within the body of the given list chunk
848 - added functions libraryName() and libraryVersion()
849
850 * src/rifftree.cpp:
851 - added command line switch -v to show rifftree's revision and the used
852 libgig version
853
854 * src/dlsdump.cpp:
855 - added command line switch -v to show dlsdump's revision and the used
856 libgig version
857
858 * src/gigdump.cpp:
859 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
860 LoopPlayCount
861 - added command line switch -v to show gigdump's revision and the used
862 libgig version
863
864 * src/gigextract.cpp:
865 - support for compressed mono samples and compressed 24 bit samples
866 - added command line switch -v to show gigextract's revision and the
867 used libgig version
868
869 Version 1.0.0 (26 Nov 2004)
870
871 * packaging changes:
872 - renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
873 'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix
874 - fixed man pages automake install rule (which didn't work on Mandrake,
875 SuSE and Fedora)
876 - fixed generation of Doxygen API documentation (now also included in
877 RPM and Debian packages)
878
879 * src/gig.cpp, src/gig.h:
880 - fixed / improved accuracy of all three velocity to volume
881 transformation functions a.k.a. 'nonlinear','linear','special'
882 (patch by Andreas Persson)
883 - denormals are filtered from the velocity to volume tables
884 - bugfix for dimension region switching (wrong handling of the release
885 trigger dimension, no bit range check for dimensions of split type
886 'split_type_bit')
887 - fixed panorama value in DimensionRegion (invalid conversion from
888 signed 7 bit to signed 8 bit)
889 - added class attribute 'Layers' to class 'gig::Region'
890 - symbol prototyping of gig::Region (fixes build failure with qsampler)
891
892 * src/gigextract.cpp:
893 - added support for libsndfile (if libaudiofile and libsndfile are
894 available then libsndfile is preferred)
895
896 * src/gigdump.cpp:
897 - added printout for dimension informations (amount, type, bits, zones)
898 - added printout for velocity response curve parameters
899 - added printout for crossfade definitions
900 - added printout for panorama value for each DimensionRegion
901 - replaced printout of DLS Region layer by printout of amount of
902 Gigasampler layers
903
904 Version 0.7.1 (2 Jul 2004)
905
906 * packaging changes:
907 - added libgig.spec and libgig.pc package configurations for generating
908 Redhat packages
909 - header files included on installation.
910 - autotools-generated files removed from CVS repository.
911 - added support for generating Debian packages
912 - version of shared library can be set in configure.in
913
914 Version 0.7.0 (3 May 2004)
915
916 * general changes:
917 - various big endian specific corrections
918 (successfully tested now on PPC)
919 - minor adjustments to avoid compile errors on some systems
920 (using now pow() instead of powl() and --pedantic g++ compiler switch)
921 - libtoolized the library
922 - added man pages for the command line tools
923 (gigextract, gigdump, dlsdump, rifftree)
924
925 * src/gig.cpp, src/gig.h:
926 - fixed bug in decompression algorithm which caused it not to detect
927 the end of a stream
928 - added method GetVelocityAttenuation() to class 'DimensionRegion' which
929 takes the MIDI key velocity value as an argument and returns the
930 appropriate volume factor (0.0 ... 1.0) for the sample to be played
931 back, the velocity curve transformation functions used for this are
932 only an approximation so far
933 - fixed class attributes 'Sample::LoopStart', 'Sample::LoopEnd' and
934 'Sample::LoopSize' which reflected wrong values
935 - class attributes 'Sample::LoopStart' and 'Sample::LoopEnd' are now
936 measured in sample points instead of byte offset
937 - renamed misleading attribute name 'Sample::MIDIPitchFraction' to
938 'Sample::FineTune'
939 - added class attribute 'Sample::LoopSize'
940 - added method GetInstrument(uint index) to class 'File'
941 - added ReadAndLoop() method to class 'Sample' which is an extension to
942 the normal Read() method to honor the sample's looping information
943 while streaming from disk
944 - changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and
945 'eg2_ctrl_t': replaced this huge enumeration by a structure which
946 reflects the MIDI controller number in case of an ordinary control
947 change controller (this saves a huge switch-case block in the
948 application of the library user)
949 - renamed following attributes in class 'DimensionRegion':
950 'AttenuationContol' -> 'AttenuationController',
951 'InvertAttenuationControl' -> 'InvertAttenuationController',
952 'AttenuationControlTreshold' -> 'AttenuationControllerThreshold'
953 - minor fix in API documentation for method GetVelocityAttenuation() in
954 class 'DimensionRegion'
955
956 * src/RIFF.cpp, src/RIFF.h:
957 - added additional API documentation
958 - minor fix in Chunk::Read() method (only a minor efficiency issue)
959
960 * src/gigdump.cpp:
961 - added printout of samples' looping informations
962
963 Version 0.6.0 (3 Nov 2003)
964
965 * initial release

  ViewVC Help
Powered by ViewVC