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

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

  ViewVC Help
Powered by ViewVC