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

  ViewVC Help
Powered by ViewVC