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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2543  
changed lines
  Added in v.3398

  ViewVC Help
Powered by ViewVC