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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.1859  
changed lines
  Added in v.3447

  ViewVC Help
Powered by ViewVC