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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1416  
changed lines
  Added in v.3463

  ViewVC Help
Powered by ViewVC