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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1524  
changed lines
  Added in v.3414

  ViewVC Help
Powered by ViewVC