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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.3117  
changed lines
  Added in v.3902

  ViewVC Help
Powered by ViewVC