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

  ViewVC Help
Powered by ViewVC