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

  ViewVC Help
Powered by ViewVC