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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2685  
changed lines
  Added in v.3731

  ViewVC Help
Powered by ViewVC