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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1388  
changed lines
  Added in v.3440

  ViewVC Help
Powered by ViewVC