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

  ViewVC Help
Powered by ViewVC