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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1378  
changed lines
  Added in v.3645

  ViewVC Help
Powered by ViewVC