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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2364  
changed lines
  Added in v.3464

  ViewVC Help
Powered by ViewVC