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

Diff of /libgig/trunk/ChangeLog

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

revision 1266 by persson, Thu Aug 2 14:12:55 2007 UTC revision 3709 by schoenebeck, Fri Jan 10 11:21:59 2020 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Require at least a C++11 compliant compiler.
5    
6      * src/gig.cpp, src/gig.h:
7        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
8          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
9          allow to define override LFOs' wave form (e.g. saw or square instead of
10          the default wave form which was always sine in the original
11          Gigasampler/GigaStudio software).
12        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
13          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
14          move the start point horizontally of the LFOs' waves (0° ... 360°).
15        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
16          (the original Gigasampler/GigaStudio software only had that flip phase
17          option for LFO1 and LFO2).
18        - Added method DimensionRegion::UsesAnyGigFormatExtension() (however only as
19          private method yet, see comments on method why).
20        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
21          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
22          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
23          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
24          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
25        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
26          (patch by Ivan Maguidhir).
27        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
28          (original patch by Ivan Maguidhir).
29        - Region::DeleteDimensionZone(): Fixed dimensions being in different order
30          after deleting a dimension zone.
31    
32      * src/tools/gigdump.cpp:
33        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
34          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
35          LFO2FlipPhase and LFO3FlipPhase.
36    
37    Version 4.2.0 (25 Jul 2019)
38    
39      * general changes:
40        - Added MSVC build support (anonymous patch from mailing list).
41        - Introduced CMake build support (yet constrained for building with MSVC)
42          (anonymous patch from mailing list).
43        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
44          destructors. Added new virtual method DeleteChunks() to those classes
45          for this which must be explicitly called instead to remove their RIFF
46          chunks.
47        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
48          of zero; which is unsafe per se.
49        - Added C++11 "override" keyword where appropriate.
50        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
51          of their actions when not passing a progress_t callback structure.
52    
53      * src/gig.cpp, src/gig.h:
54        - Fixed Doxygen API comments for enum types (currently latest Doxygen
55          [v1.8.13] only supports C comments in macro arguments expansion, but
56          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
57          the Doxygen source code, which currently also filter out new line
58          \n chars).
59        - Added new method File::CountSamples().
60        - Added new method File::CountInstruments().
61        - Fixed gig v4 files falsely being handled as v2 format
62          (patch by Ivan Maguidhir).
63        - Added gig v4 version identifier (File::VERSION_4).
64        - GIG FORMAT EXTENSION: Added attribute
65          DimensionRegion::SustainReleaseTrigger which allows to define whether
66          a sustain pedal up event shall cause a release trigger sample to be
67          played (default: don't play release trigger sample by sustain pedal).
68        - GIG FORMAT EXTENSION: Added attribute
69          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
70          regular behaviour of playing release trigger sample on MIDI note-off
71          events.
72        - Introduced support for writing extension files (.gx01, .gx02, ...)
73          (original patch by Ivan Maguidhir).
74        - Many gig classes derive now from DLS::Storage (see DLS changes below).
75        - Added File::GetRiffFile() method.
76    
77      * src/DLS.cpp, src/DLS.h:
78        - File: Fixed implicitly allocated RIFF::File object never been freed.
79        - Added new abstract interface base class DLS::Storage which is derived by
80          the respective classes for implementing (the old) UpdateChunks() and the
81          new DeleteChunks() method.
82        - Added File::GetRiffFile() method.
83    
84      * src/sf2.cpp, src/sf2.h:
85        - Added Sample::GetFile() method.
86        - Added File::GetRiffFile() method.
87    
88      * src/Serialization.cpp, src/Serialization.h:
89        - Hide pure internal declarations from header file to avoid numerous
90          compiler warnings when building and linking against the public API.
91        - Fixed comparision logic bug
92        - Fixed memory leak in DataType::customTypeName().
93    
94      * src/RIFF.cpp, src/RIFF.h:
95        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
96          caused a resource leak
97        - Avoid compiler warning when building for 32 bit windows.
98        - Added new method progress_t::subdivide().
99        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
100        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
101          allows a more fine graded control into which portions the subtasks are
102          divided to.
103    
104      * src/tools/gigdump.cpp:
105        - Added command line option --instrument-names which causes only
106          instrument names and their index numbers to be printed.
107    
108    Version 4.1.0 (25 Nov 2017)
109      * general changes:
110        - removed 2 GB limitation when loading a gig or DLS file
111        - using now native integer size where appropriate
112        - fixed minor issues with man pages (patch by Debian maintainer)
113        - fixed various spelling mistakes (patch by Debian maintainer)
114        - Added new "Serialization" framework (and equally named namespace)
115          which allows to serialize and deserialize native C++ objects
116          in a portable, easy and flexible way.
117        - print compiler warning if no RTTI available
118        - Fixed potential crash in command line tools gig2stereo, korg2gig,
119          korgdump and sf2extract.
120        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
121          (original patch by Paul Brossier, slightly modified).
122        - Debian: Fixed packaging error about invalid substitution variable
123          "Source-Version".
124        - Raised Debian compatibility level to Debian 9 "Stretch".
125    
126      * src/gig.cpp, src/gig.h:
127        - fixed bug in Script::SetGroup: the script chunk wasn't moved
128        - fixed compilation error with clang 3.4
129        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
130          as one single monolithic gig file. In case .gig file is >= 2GB expect a
131          large monolithic file, otherwise if .gig file is < 2 GB check for
132          "extension" files (.gx01, .gx02, ...) instead.
133        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
134          if there were dimensions after the velocity dimension: it only created
135          valid velocity tables for cases of dimensions lower than the velocity
136          dimension.
137        - added new method Sample::VerifyWaveData() which allows to check whether
138          a sample had been damaged for some reason
139        - Fix: samples' CRC checksums were damaged on file structure changes.
140        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
141        - Added new method Sample::GetWaveDataCRC32Checksum().
142        - Changed default value of EG2Release (filter release time) to 60s.
143        - Instruments' default pitch bend range is now +-2 semi tones.
144        - Fixed CRC checksums being wrong sometimes.
145        - Fix: method File::AddContentOf() did not clone script groups and scripts
146          of passed original file.
147        - Added support for serializing & deserializing DimensionRegion
148          objects (and crossfade_t and leverage_ctrl_t objects).
149        - Added enum reflection API functions for retrieving enum declaration type
150          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
151        - Exception class now has a variadic constructor which allows to add
152          textual format specifiers like with printf().
153        - On unknown leverage controller exception: show precise unknown leverage
154          controller number found.
155        - Ignore invalid leverage controller types and just show a warning on the
156          console instead of throwing an exception.
157        - Added new struct eg_opt_t and new class member variable
158          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
159          extension to the gig file format, which allows to override the default
160          behavior of the first two EGs' state machines.
161        - Fixed undefined behavior when loading a gig file with invalid
162          velocity curve parameters (fixes CVE-2017-12951).
163        - Fixed undefined behavior when loading a gig file with invalid wave
164          pool index number (fixes CVE-2017-12954).
165    
166      * src/DLS.cpp, src/DLS.h:
167        - Sample: wave pool offsets are now 64 bits (to allow support for files
168          larger than 4 GB).
169        - Exception class now has a variadic constructor which allows to add
170          textual format specifiers like with printf().
171    
172      * src/RIFF.cpp, src/RIFF.h:
173        - added support for RIFF files larger than 4 GB, by default the required
174          internal RIFF file offset size is automatically detected (that is RIFF
175          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
176          automatically use 64 bit offsets), a particular offset size can be forced
177          with a new option added to the RIFF File constructor though
178        - when saving a modified, grown RIFF file, the temporary file size during
179          Save() operation will no longer be larger than the final grown file size
180        - Exception class now has a variadic constructor which allows to add
181          textual format specifiers like with printf().
182    
183      * src/Serialization.cpp, src/Serialization.h:
184        - Archive: Added method isModified().
185        - Archive: Added method setAutoValue().
186        - Archive: Added method setIntValue().
187        - Archive: Added method setRealValue().
188        - Archive: Added method setBoolValue().
189        - Archive: Added method setEnumValue().
190        - Archive: Added method valueAsString().
191        - Archive::rawData(): Automatically re-encode new raw data stream if
192          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
193        - Object: Added method memberByUID().
194        - Object: remove() method is now protected.
195        - Archive: Added method removeMember().
196        - Archive: Added methods name() and setName().
197        - Archive: Added methods comment() and setComment().
198        - Archive: Added methods timeStampCreated(), timeStampModified(),
199          dateTimeCreated() and dateTimeModified().
200        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
201        - DataType: Implemented demangling C++ type names (for methods
202          asLongDescr() and customTypeName(bool demangle=false)).
203        - Archive::setAutoValue(): Handle human readable boolean text
204          representations like "yes", "no", "true", "false" as expected.
205        - Exception class now has a variadic constructor which allows to add
206          textual format specifiers like with printf().
207        - DataType fix: Retain backward compatibility to older versions of native
208          C++ classes/structs.
209    
210      * src/Akai.cpp:
211        - Fixed compilation error with recent, more strict compilers.
212    
213      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
214        - improved output of non-ascii characters in usage messages
215        - fixed printf format strings
216    
217      * src/tools/korg2gig.cpp:
218        - fixed c++11 narrowing warnings
219        - fixed fine tuning which was not translated at all
220    
221      * src/tools/gigdump.cpp:
222        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
223          dimension regions
224        - additionally print RIFF chunk file offset and RIFF chunk size of sample
225          data
226        - added and implemented new parameter "--verify" which allows to check
227          the raw wave form data integrity of all samples
228        - added and implemented new parameter "--rebuild-checksums" which allows
229          to recalculate the CRC32 checksum of all samples' raw wave data and
230          rebuilding the gig file's global checksum table (i.e. in case the
231          file's checksum table was damaged)
232        - print samples' CRC32 checksums
233        - Print the new EG behavior options (eg_opt_t).
234    
235      * src/tools/gigextract.cpp:
236        - Fix: if sample name contains a path separator (slash or backslash) then
237          replace them by a minus sign to avoid file system issues.
238    
239      * src/tools/gig2stereo.cpp:
240        - Also merge mono sample pairs with non matching loop information if
241          argument --incompatible was given.
242    
243      * packaging changes:
244        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
245          auto detect whether it (sh/c)ould output its messages in color.
246    
247    Version 4.0.0 (14 Jul 2015)
248      * general changes:
249        - minor Makefile fix for parallel make
250        - Mac OS X: link with CoreFoundation (for the UUID function)
251        - removed gcc 4.7 warnings
252        - modernized configure script
253        - removed usage of deprecated Automake variable INCLUDES
254        - added new command line tool "gigmerge"
255        - added "const" keyword to several methods
256        - added new command line tool "gig2mono"
257        - added man page for "sf2dump"
258        - added new command line tool "korgdump" (and a man page for it)
259        - added new command line tool "korg2gig" (and a man page for it)
260        - moved source files of command line tools to new subdir src/tools
261        - libgig.so and libakai.so files are now installed under
262          $(prefix)/lib/libgig/ by default.
263        - Header files are now installed under $(prefix)/include/libgig/ by default.
264        - Fixed various packaging issues regarding installation directories
265          (fixes #218).
266        - added new command line tool "gig2stereo" (and a man page for it)
267        - unit tests: fixed wrong return value when test suite app exits
268          (patch by Ryan Schmidt)
269        - added new command line tool "sf2extract" (and a man page for it)
270    
271      * SoundFont file format:
272        - initial implementation
273        - changed region lookup API to avoid malloc in RT threads
274        - fixed GetEG1Sustain which didn't return correct value
275        - bugfix: GetPan always returned -1, 0 or 1
276    
277      * KORG file format:
278        - initial support for sample based instruments in KORG's file format
279          (.KMP and .KSF files)
280    
281      * AKAI file format:
282        - Added Linux/POSIX ported version of libakai. Note that libakai is released
283          under LGPL terms while libgig is released under GPL terms. To handle this
284          license difference appropriately the AKAI support part is built as
285          separate DLL (.so file).
286        - Fixed Mac OSX support so that the Akai lib files and tools compile without
287          any exotic third party libraries.
288        - Fixed various compilation errors for Windows.
289        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
290          (fixes #219).
291    
292      * src/gig.cpp:
293        - bugfix: VCF velocity dynamic range and VCF velocity curve
294          weren't saved correctly
295        - implemented File::AddDuplicateInstrument()
296        - bugfix: negative EG3 depth values were not correctly parsed or
297          saved
298        - added write support for CtrlTrigger midi rule
299        - added read and write support for Legato and Alternator midi
300          rules
301        - bugfix: sample groups were sometimes created multiple times or with
302          wrong textual group name
303        - added new method File::AddContentOf() for merging .gig files
304        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
305          controller types (only works with LinuxSampler & gigedit, will not
306          work with Gigasampler/GigaStudio)
307        - added new method File::GetGroup(String name) for getting group by name
308        - added new method Region::GetDimensionDefinition(dimension_t type)
309        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
310        - added some more sanity checks in Region::AddDimension()
311        - added new method Region::DeleteDimensionZone(dimension_t, int)
312        - added new method Region::SplitDimensionZone(dimension_t, int)
313        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
314          with certain velocity split sounds under certain conditions (added bound
315          constraints to prevent that)
316        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
317        - added new method Region::GetDimensionRegionIndexByValue()
318        - added new method Script::GetGroup()
319        - added new method Region::SetDimensionType()
320        - Added support for custom progress notification while saving to gig file.
321        - Bugfix: Adding a new region in between two existing regions caused the
322          new one being dropped after save operation and the gig file being tainted
323          (chunks at wrong location in the RIFF tree).
324        - Added new method Instrument::MoveTo() which allows to rearrange the order
325          of instruments within the same gig file.
326    
327      * src/DLS.cpp, src/DLS.h:
328        - added new method File::GetFileName()
329        - fixed minor "memory leak on exception" bug found with cppcheck
330        - added new method File::GetExtensionFile(int index)
331        - added new method File::SetFileName() allowing to call File::Save()
332          later on without passing a file name
333        - added inline helper methods overlaps() for struct range_t
334        - Added support for custom progress notification while saving to DLS file.
335        - Bugfix: Adding a new region in between two existing regions caused the
336          new one being dropped after save operation and the gig file being tainted
337          (chunks at wrong location in the RIFF tree).
338    
339      * src/SF.cpp, src/SF.h:
340        - added new method Sample::ReadNoClear()
341    
342      * src/RIFF.cpp, src/RIFF.h:
343        - bugfix: avoid calling read() with count 0 when writing a file,
344          as this may hang on some systems
345        - fixed memory leak and memory handling errors when file loading
346          fails
347        - added new method Chunk::ReadString
348        - added new method File::SetFileName() allowing to call File::Save()
349          later on without passing a file name
350        - added new method File::IsNew()
351        - added support for loading RIFF-like files with a bit different layout
352          than "real" RIFF files (used for KORG format support)
353        - added new method Chunk::GetFile()
354        - added new method Chunk::GetLayout()
355        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
356          allows to move a subchunk within the current List, whereas the new 2nd
357          one allows to move the subchunk from the current list to another list
358        - POSIX: only assume -1 result value as error on open() calls
359        - POSIX: show operating system's error reason if opening a file failed
360        - Added support for custom progress notification while saving to RIFF file.
361        - Fixed embarrassing old bug: POSIX read() errors were never detected on
362          Chunk::Read() calls due to signment incompatible variable.
363        - Cleanup of an old DLL binary backward compatibility hack.
364    
365      * src/gigextract.cpp:
366        - export sample loop, unity note and fine tune with libsndfile
367    
368      * src/riftree.cpp:
369        - added more command line options for being able to also dump other kind
370          of file formats similar but not equal to the RIFF format
371    
372    Version 3.3.0 (30 Jul 2009)
373    
374      * general changes:
375        - fixed compilation with gcc 4.3
376        - fixes for building with Visual C++
377        - minor fix in configure for building DLL on Windows
378    
379      * src/gig.cpp, src/gig.h:
380        - added partial support for MIDI rules, only the Controller
381          Triggered rule is supported so far
382        - bugfix: removed another iterator invalidation in DeleteSample
383        - bugfix in Sample::LoadSampleData*(): reset sample read position to
384          sample start before trying to (re)load sample data from file (#82)
385        - bugfix: EG3 depth parameter was not saved correctly
386        - fixed crash which occured when streaming a gig sample with
387          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
388    
389      * src/RIFF.cpp, src/RIFF.h:
390        - bugfix: saving to the same file after the file size had been
391          increased made the file corrupt (#82)
392        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
393          is not written physically yet (#82)
394        - bugfix: saving to the same file after the file size had been
395          decreased sometimes also made the file corrupt!
396        - bugfix: undefined behavior (e.g. endless loop) when opening zero
397          length files, now throws a RIFF::Exception instead (fixes bug #121)
398        - bugfix: destructor for base class RIFF::Chunk accessed members
399          of derived class RIFF::File, which is bad, and caused crashes
400          when using Visual C++
401        - bugfix: files that contain zero length RIFF lists were not read
402          correctly (fixes #127) (bug was introduced 2009-03-13)
403    
404    Version 3.2.1 (5 Dec 2007)
405    
406      * src/RIFF.cpp, src/RIFF.h:
407        - avoid Windows to perform unnecessary file stream caching which would
408          decrease disk streaming performance on Windows systems otherwise
409    
410      * src/gig.cpp, src/gig.h:
411        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
412          applications to retrieve very superficial informations like amount of
413          instruments and their names in a very fast way
414    
415    Version 3.2.0 (14 Oct 2007)
416    
417    * packaging changes:    * packaging changes:
418      - added Mac OSX XCode project files (patch by Toshi Nagata)      - added Mac OSX XCode project files (patch by Toshi Nagata)
419      - Dev-C++ (win32) project file is automatically updated with      - Dev-C++ (win32) project file is automatically updated with
420        the version info from configure.in        the version info from configure.in
421        - the configure script can now be used in Windows with MSYS
422        - added a mainpage for the Doxygen API documentation
423    
424    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
425      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods      - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
# Line 12  Version CVS HEAD (?) Line 428  Version CVS HEAD (?)
428        lengths can be specified for each INFO chunk        lengths can be specified for each INFO chunk
429      - added Resource::GenerateDLSID function      - added Resource::GenerateDLSID function
430      - write support fix: allow regions without mapped samples      - write support fix: allow regions without mapped samples
431        - added method SetKeyRange() to the Region class which should be used
432          instead of setting the KeyRange member variable directly
433        - MoveRegion() method of Region class is now private
434        - added SetGain() method to Sampler class
435        - fixed crash when saving a file after a sample loop was added
436    
437    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
438      - fixed segmentation fault in the gig::File destructor sequence which      - fixed segmentation fault in the gig::File destructor sequence which
# Line 51  Version CVS HEAD (?) Line 472  Version CVS HEAD (?)
472        list in v3 files now always has 128 entries, several parameters        list in v3 files now always has 128 entries, several parameters
473        where incorrectly saved due to an operator precedence mistake        where incorrectly saved due to an operator precedence mistake
474      - DeleteSample now removes all references to the deleted sample      - DeleteSample now removes all references to the deleted sample
475        - AddDimension now copies all parameters from existing dimension
476          regions and also makes sure that the samplechannel dimension is
477          placed first in the list of dimensions.
478        - added method GetParent() to class 'DimensionRegion', which returns its
479          parent Region
480        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
481          unused areas
482        - added various setter methods to DimensionRegion class which take care
483          of updating lookup tables / caches.
484    
485    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
486      - added File::SetByteOrder method      - added File::SetByteOrder method
487        - Windows fix: saving a new file didn't work
488    
489    * src/gigdump.cpp:    * src/gigdump.cpp:
490      - added some missing dimension strings      - added some missing dimension strings

Legend:
Removed from v.1266  
changed lines
  Added in v.3709

  ViewVC Help
Powered by ViewVC