/[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 3710 by schoenebeck, Fri Jan 10 13:32:34 2020 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Require at least a C++11 compliant compiler.
5    
6      * src/gig.cpp, src/gig.h:
7        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
8          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
9          allow to define override LFOs' wave form (e.g. saw or square instead of
10          the default wave form which was always sine in the original
11          Gigasampler/GigaStudio software).
12        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
13          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
14          move the start point horizontally of the LFOs' waves (0° ... 360°).
15        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
16          (the original Gigasampler/GigaStudio software only had that flip phase
17          option for LFO1 and LFO2).
18        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
19          Region::UsesAnyGigFormatExtension(),
20          Instrument::UsesAnyGigFormatExtension() and
21          File::UsesAnyGigFormatExtension() (however only as private methods yet,
22          see comments on methods why).
23        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
24          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
25          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
26          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
27          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
28        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
29          (patch by Ivan Maguidhir).
30        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
31          (original patch by Ivan Maguidhir).
32        - Region::DeleteDimensionZone(): Fixed dimensions being in different order
33          after deleting a dimension zone.
34    
35      * src/tools/gigdump.cpp:
36        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
37          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
38          LFO2FlipPhase and LFO3FlipPhase.
39    
40    Version 4.2.0 (25 Jul 2019)
41    
42      * general changes:
43        - Added MSVC build support (anonymous patch from mailing list).
44        - Introduced CMake build support (yet constrained for building with MSVC)
45          (anonymous patch from mailing list).
46        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
47          destructors. Added new virtual method DeleteChunks() to those classes
48          for this which must be explicitly called instead to remove their RIFF
49          chunks.
50        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
51          of zero; which is unsafe per se.
52        - Added C++11 "override" keyword where appropriate.
53        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
54          of their actions when not passing a progress_t callback structure.
55    
56      * src/gig.cpp, src/gig.h:
57        - Fixed Doxygen API comments for enum types (currently latest Doxygen
58          [v1.8.13] only supports C comments in macro arguments expansion, but
59          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
60          the Doxygen source code, which currently also filter out new line
61          \n chars).
62        - Added new method File::CountSamples().
63        - Added new method File::CountInstruments().
64        - Fixed gig v4 files falsely being handled as v2 format
65          (patch by Ivan Maguidhir).
66        - Added gig v4 version identifier (File::VERSION_4).
67        - GIG FORMAT EXTENSION: Added attribute
68          DimensionRegion::SustainReleaseTrigger which allows to define whether
69          a sustain pedal up event shall cause a release trigger sample to be
70          played (default: don't play release trigger sample by sustain pedal).
71        - GIG FORMAT EXTENSION: Added attribute
72          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
73          regular behaviour of playing release trigger sample on MIDI note-off
74          events.
75        - Introduced support for writing extension files (.gx01, .gx02, ...)
76          (original patch by Ivan Maguidhir).
77        - Many gig classes derive now from DLS::Storage (see DLS changes below).
78        - Added File::GetRiffFile() method.
79    
80      * src/DLS.cpp, src/DLS.h:
81        - File: Fixed implicitly allocated RIFF::File object never been freed.
82        - Added new abstract interface base class DLS::Storage which is derived by
83          the respective classes for implementing (the old) UpdateChunks() and the
84          new DeleteChunks() method.
85        - Added File::GetRiffFile() method.
86    
87      * src/sf2.cpp, src/sf2.h:
88        - Added Sample::GetFile() method.
89        - Added File::GetRiffFile() method.
90    
91      * src/Serialization.cpp, src/Serialization.h:
92        - Hide pure internal declarations from header file to avoid numerous
93          compiler warnings when building and linking against the public API.
94        - Fixed comparision logic bug
95        - Fixed memory leak in DataType::customTypeName().
96    
97      * src/RIFF.cpp, src/RIFF.h:
98        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
99          caused a resource leak
100        - Avoid compiler warning when building for 32 bit windows.
101        - Added new method progress_t::subdivide().
102        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
103        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
104          allows a more fine graded control into which portions the subtasks are
105          divided to.
106    
107      * src/tools/gigdump.cpp:
108        - Added command line option --instrument-names which causes only
109          instrument names and their index numbers to be printed.
110    
111    Version 4.1.0 (25 Nov 2017)
112      * general changes:
113        - removed 2 GB limitation when loading a gig or DLS file
114        - using now native integer size where appropriate
115        - fixed minor issues with man pages (patch by Debian maintainer)
116        - fixed various spelling mistakes (patch by Debian maintainer)
117        - Added new "Serialization" framework (and equally named namespace)
118          which allows to serialize and deserialize native C++ objects
119          in a portable, easy and flexible way.
120        - print compiler warning if no RTTI available
121        - Fixed potential crash in command line tools gig2stereo, korg2gig,
122          korgdump and sf2extract.
123        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
124          (original patch by Paul Brossier, slightly modified).
125        - Debian: Fixed packaging error about invalid substitution variable
126          "Source-Version".
127        - Raised Debian compatibility level to Debian 9 "Stretch".
128    
129      * src/gig.cpp, src/gig.h:
130        - fixed bug in Script::SetGroup: the script chunk wasn't moved
131        - fixed compilation error with clang 3.4
132        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
133          as one single monolithic gig file. In case .gig file is >= 2GB expect a
134          large monolithic file, otherwise if .gig file is < 2 GB check for
135          "extension" files (.gx01, .gx02, ...) instead.
136        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
137          if there were dimensions after the velocity dimension: it only created
138          valid velocity tables for cases of dimensions lower than the velocity
139          dimension.
140        - added new method Sample::VerifyWaveData() which allows to check whether
141          a sample had been damaged for some reason
142        - Fix: samples' CRC checksums were damaged on file structure changes.
143        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
144        - Added new method Sample::GetWaveDataCRC32Checksum().
145        - Changed default value of EG2Release (filter release time) to 60s.
146        - Instruments' default pitch bend range is now +-2 semi tones.
147        - Fixed CRC checksums being wrong sometimes.
148        - Fix: method File::AddContentOf() did not clone script groups and scripts
149          of passed original file.
150        - Added support for serializing & deserializing DimensionRegion
151          objects (and crossfade_t and leverage_ctrl_t objects).
152        - Added enum reflection API functions for retrieving enum declaration type
153          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
154        - Exception class now has a variadic constructor which allows to add
155          textual format specifiers like with printf().
156        - On unknown leverage controller exception: show precise unknown leverage
157          controller number found.
158        - Ignore invalid leverage controller types and just show a warning on the
159          console instead of throwing an exception.
160        - Added new struct eg_opt_t and new class member variable
161          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
162          extension to the gig file format, which allows to override the default
163          behavior of the first two EGs' state machines.
164        - Fixed undefined behavior when loading a gig file with invalid
165          velocity curve parameters (fixes CVE-2017-12951).
166        - Fixed undefined behavior when loading a gig file with invalid wave
167          pool index number (fixes CVE-2017-12954).
168    
169      * src/DLS.cpp, src/DLS.h:
170        - Sample: wave pool offsets are now 64 bits (to allow support for files
171          larger than 4 GB).
172        - Exception class now has a variadic constructor which allows to add
173          textual format specifiers like with printf().
174    
175      * src/RIFF.cpp, src/RIFF.h:
176        - added support for RIFF files larger than 4 GB, by default the required
177          internal RIFF file offset size is automatically detected (that is RIFF
178          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
179          automatically use 64 bit offsets), a particular offset size can be forced
180          with a new option added to the RIFF File constructor though
181        - when saving a modified, grown RIFF file, the temporary file size during
182          Save() operation will no longer be larger than the final grown file size
183        - Exception class now has a variadic constructor which allows to add
184          textual format specifiers like with printf().
185    
186      * src/Serialization.cpp, src/Serialization.h:
187        - Archive: Added method isModified().
188        - Archive: Added method setAutoValue().
189        - Archive: Added method setIntValue().
190        - Archive: Added method setRealValue().
191        - Archive: Added method setBoolValue().
192        - Archive: Added method setEnumValue().
193        - Archive: Added method valueAsString().
194        - Archive::rawData(): Automatically re-encode new raw data stream if
195          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
196        - Object: Added method memberByUID().
197        - Object: remove() method is now protected.
198        - Archive: Added method removeMember().
199        - Archive: Added methods name() and setName().
200        - Archive: Added methods comment() and setComment().
201        - Archive: Added methods timeStampCreated(), timeStampModified(),
202          dateTimeCreated() and dateTimeModified().
203        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
204        - DataType: Implemented demangling C++ type names (for methods
205          asLongDescr() and customTypeName(bool demangle=false)).
206        - Archive::setAutoValue(): Handle human readable boolean text
207          representations like "yes", "no", "true", "false" as expected.
208        - Exception class now has a variadic constructor which allows to add
209          textual format specifiers like with printf().
210        - DataType fix: Retain backward compatibility to older versions of native
211          C++ classes/structs.
212    
213      * src/Akai.cpp:
214        - Fixed compilation error with recent, more strict compilers.
215    
216      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
217        - improved output of non-ascii characters in usage messages
218        - fixed printf format strings
219    
220      * src/tools/korg2gig.cpp:
221        - fixed c++11 narrowing warnings
222        - fixed fine tuning which was not translated at all
223    
224      * src/tools/gigdump.cpp:
225        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
226          dimension regions
227        - additionally print RIFF chunk file offset and RIFF chunk size of sample
228          data
229        - added and implemented new parameter "--verify" which allows to check
230          the raw wave form data integrity of all samples
231        - added and implemented new parameter "--rebuild-checksums" which allows
232          to recalculate the CRC32 checksum of all samples' raw wave data and
233          rebuilding the gig file's global checksum table (i.e. in case the
234          file's checksum table was damaged)
235        - print samples' CRC32 checksums
236        - Print the new EG behavior options (eg_opt_t).
237    
238      * src/tools/gigextract.cpp:
239        - Fix: if sample name contains a path separator (slash or backslash) then
240          replace them by a minus sign to avoid file system issues.
241    
242      * src/tools/gig2stereo.cpp:
243        - Also merge mono sample pairs with non matching loop information if
244          argument --incompatible was given.
245    
246      * packaging changes:
247        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
248          auto detect whether it (sh/c)ould output its messages in color.
249    
250    Version 4.0.0 (14 Jul 2015)
251    * general changes:    * general changes:
252      - minor Makefile fix for parallel make      - minor Makefile fix for parallel make
253      - 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 260  Version CVS HEAD (?)
260      - added man page for "sf2dump"      - added man page for "sf2dump"
261      - added new command line tool "korgdump" (and a man page for it)      - added new command line tool "korgdump" (and a man page for it)
262      - added new command line tool "korg2gig" (and a man page for it)      - added new command line tool "korg2gig" (and a man page for it)
263        - moved source files of command line tools to new subdir src/tools
264        - libgig.so and libakai.so files are now installed under
265          $(prefix)/lib/libgig/ by default.
266        - Header files are now installed under $(prefix)/include/libgig/ by default.
267        - Fixed various packaging issues regarding installation directories
268          (fixes #218).
269        - added new command line tool "gig2stereo" (and a man page for it)
270        - unit tests: fixed wrong return value when test suite app exits
271          (patch by Ryan Schmidt)
272        - added new command line tool "sf2extract" (and a man page for it)
273    
274    * SoundFont file format:    * SoundFont file format:
275      - initial implementation      - initial implementation
# Line 22  Version CVS HEAD (?) Line 281  Version CVS HEAD (?)
281      - initial support for sample based instruments in KORG's file format      - initial support for sample based instruments in KORG's file format
282        (.KMP and .KSF files)        (.KMP and .KSF files)
283    
284      * AKAI file format:
285        - Added Linux/POSIX ported version of libakai. Note that libakai is released
286          under LGPL terms while libgig is released under GPL terms. To handle this
287          license difference appropriately the AKAI support part is built as
288          separate DLL (.so file).
289        - Fixed Mac OSX support so that the Akai lib files and tools compile without
290          any exotic third party libraries.
291        - Fixed various compilation errors for Windows.
292        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
293          (fixes #219).
294    
295    * src/gig.cpp:    * src/gig.cpp:
296      - bugfix: VCF velocity dynamic range and VCF velocity curve      - bugfix: VCF velocity dynamic range and VCF velocity curve
297        weren't saved correctly        weren't saved correctly
# Line 38  Version CVS HEAD (?) Line 308  Version CVS HEAD (?)
308        controller types (only works with LinuxSampler & gigedit, will not        controller types (only works with LinuxSampler & gigedit, will not
309        work with Gigasampler/GigaStudio)        work with Gigasampler/GigaStudio)
310      - added new method File::GetGroup(String name) for getting group by name      - added new method File::GetGroup(String name) for getting group by name
311        - added new method Region::GetDimensionDefinition(dimension_t type)
312        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
313        - added some more sanity checks in Region::AddDimension()
314        - added new method Region::DeleteDimensionZone(dimension_t, int)
315        - added new method Region::SplitDimensionZone(dimension_t, int)
316        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
317          with certain velocity split sounds under certain conditions (added bound
318          constraints to prevent that)
319        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
320        - added new method Region::GetDimensionRegionIndexByValue()
321        - added new method Script::GetGroup()
322        - added new method Region::SetDimensionType()
323        - Added support for custom progress notification while saving to gig file.
324        - Bugfix: Adding a new region in between two existing regions caused the
325          new one being dropped after save operation and the gig file being tainted
326          (chunks at wrong location in the RIFF tree).
327        - Added new method Instrument::MoveTo() which allows to rearrange the order
328          of instruments within the same gig file.
329    
330    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
331      - added new method File::GetFileName()      - added new method File::GetFileName()
# Line 45  Version CVS HEAD (?) Line 333  Version CVS HEAD (?)
333      - added new method File::GetExtensionFile(int index)      - added new method File::GetExtensionFile(int index)
334      - added new method File::SetFileName() allowing to call File::Save()      - added new method File::SetFileName() allowing to call File::Save()
335        later on without passing a file name        later on without passing a file name
336        - added inline helper methods overlaps() for struct range_t
337        - Added support for custom progress notification while saving to DLS file.
338        - Bugfix: Adding a new region in between two existing regions caused the
339          new one being dropped after save operation and the gig file being tainted
340          (chunks at wrong location in the RIFF tree).
341    
342      * src/SF.cpp, src/SF.h:
343        - added new method Sample::ReadNoClear()
344    
345    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
346      - 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 355  Version CVS HEAD (?)
355        than "real" RIFF files (used for KORG format support)        than "real" RIFF files (used for KORG format support)
356      - added new method Chunk::GetFile()      - added new method Chunk::GetFile()
357      - added new method Chunk::GetLayout()      - added new method Chunk::GetLayout()
358        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
359          allows to move a subchunk within the current List, whereas the new 2nd
360          one allows to move the subchunk from the current list to another list
361        - POSIX: only assume -1 result value as error on open() calls
362        - POSIX: show operating system's error reason if opening a file failed
363        - Added support for custom progress notification while saving to RIFF file.
364        - Fixed embarrassing old bug: POSIX read() errors were never detected on
365          Chunk::Read() calls due to signment incompatible variable.
366        - Cleanup of an old DLL binary backward compatibility hack.
367    
368    * src/gigextract.cpp:    * src/gigextract.cpp:
369      - 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.3710

  ViewVC Help
Powered by ViewVC