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

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

  ViewVC Help
Powered by ViewVC