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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2764  
changed lines
  Added in v.3915

  ViewVC Help
Powered by ViewVC