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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2985  
changed lines
  Added in v.3900

  ViewVC Help
Powered by ViewVC