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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3975 - (show annotations) (download)
Sat Jul 17 21:10:19 2021 UTC (2 years, 9 months ago) by schoenebeck
File size: 46522 byte(s)
* gig: Fixed Sample::Write() method not having updated sample's CRC
  (correctly) if sample was previously resized.

* Bumped version (4.3.0.svn28).

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

  ViewVC Help
Powered by ViewVC