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

Diff of /libgig/trunk/ChangeLog

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

revision 3349 by schoenebeck, Tue Oct 3 17:12:07 2017 UTC revision 4094 by schoenebeck, Tue Feb 20 16:34:06 2024 UTC
# Line 1  Line 1 
1  Version SVN trunk  Version 4.4.1 (20 Feb 2024)
2    
3      * general changes:
4        - Move system dependent type and macro definitions into a shared header
5          file sysdef.h (fixes compilation error with MSVC).
6    
7      * src/RIFF.cpp, src/RIFF.h:
8        - Fixed compilation error with some compilers, caused by using
9          designated initializers, which is a C++20 feature.
10    
11    Version 4.4.0 (26 Jan 2024)
12    
13      * general changes:
14        - Add new command line tool "wav2gig".
15        - Fix build errors on Windows (patches by Ross Maxx).
16    
17      * src/gig.cpp, src/gig.h:
18        - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
19        - Region::SplitDimensionZone(): Fix clang sanatizer warning.
20        - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
21          (InternalDecompressionBuffer is no longer needed for 24 bit samples since
22          SVN r902 / libgig release 3.1.0).
23        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
24          entire gig.cpp file.
25        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
26          entire gig.cpp file.
27        - Added method Instrument::GetRegionAt().
28        - Marked methods Instrument::GetFirstRegion() and
29          Instrument::GetNextRegion() as deprecated.
30        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
31          gig.cpp file.
32        - Changed signature of method File::GetSample(uint) to
33          File::GetSample(size_t,progress_t*).
34        - Marked methods File::GetFirstSample() and File::GetNextSample() as
35          deprecated.
36        - Use File::GetSample() instead of File::GetFirstSample() /
37          File::GetNextSample() in entire gig.cpp file.
38        - Added method Group::GetSample().
39        - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
40          deprecated.
41        - Use Group::GetSample() instead of Group::GetFirstSample() /
42          Group::GetNextSample() in entire gig.cpp file.
43        - Changed signature of method File::GetGroup(uint) to
44          File::GetGroup(size_t).
45        - Fixed File::GetGroup(size_t) to be reentrant-safe.
46        - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
47        - Fixed GetGroup(String) to be reentrant-safe.
48        - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
49          gig.cpp file.
50        - Changed signature of method File::GetInstrument(uint,progress_t*) to
51          File::GetInstrument(size_t,progress_t*).
52        - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
53        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
54          as deprecated.
55        - Use File::GetInstrument() instead of File::GetFirstInstrument() /
56          File::GetNextInstrument() in entire gig.cpp file.
57        - Optimized method ScriptGroup::GetScript() to have constant time
58          efficiency.
59        - Changed signature of method File::GetScriptGroup(uint) to
60          File::GetScriptGroup(size_t).
61        - Optimized method File::GetScriptGroup(size_t) to have constant time
62          efficiency.
63        - Changed signature of method ScriptGroup::GetScript(uint) to
64          ScriptGroup::GetScript(size_t).
65        - Changed signature of method Instrument::GetScriptOfSlot(uint) to
66          Instrument::GetScriptOfSlot(size_t).
67        - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to
68          Instrument::SwapScriptSlots(size_t,size_t).
69        - Changed signature of method Instrument::RemoveScriptSlot(uint) to
70          Instrument::RemoveScriptSlot(size_t).
71        - Changed signature of method Instrument::ScriptSlotCount() to return
72          size_t instead of uint.
73        - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to
74          Instrument::IsScriptSlotBypassed(size_t).
75        - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool)
76          to Instrument::SetScriptSlotBypassed(size_t,bool).
77        - Changed signature of method
78          Instrument::IsScriptPatchVariableSet(int,String) to
79          Instrument::IsScriptPatchVariableSet(size_t,String).
80        - Changed signature of method Instrument::GetScriptPatchVariables(int) to
81          Instrument::GetScriptPatchVariables(size_t).
82        - Changed signature of method
83          Instrument::GetScriptPatchVariable(int,String) to
84          Instrument::GetScriptPatchVariable(size_t,String).
85        - Changed signature of method
86          Instrument::SetScriptPatchVariable(int,String,String) to
87          Instrument::SetScriptPatchVariable(size_t,String,String).
88        - Changed signature of method
89          Instrument::UnsetScriptPatchVariable(int,String) to
90          Instrument::UnsetScriptPatchVariable(ssize_t,String).
91        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
92          samples (only triggered if now deprecated File::GetFirstSample() /
93          File::GetNextSample() methods were still used).
94        - Fixed Sample::Write() method not having updated sample's CRC (correctly)
95          if sample was previously resized.
96        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
97          moving regions (only triggered if now deprecated File::GetFirstRegion() /
98          File::GetNextRegion() methods were still used).
99        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
100          instruments (only triggered if now deprecated File::GetFirstInstrument() /
101          File::GetNextInstrument() methods were still used).
102    
103      * src/SF.cpp, src/SF.h:
104        - File::DeleteInstrument(): Fix clang sanatizer warning.
105    
106      * src/DLS.cpp, src/DLS.h:
107        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
108          entire DLS.cpp file.
109        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
110          entire DLS.cpp file.
111        - Added method Instrument::GetRegionAt().
112        - Marked methods Instrument::GetFirstRegion() and
113          Instrument::GetNextRegion() as deprecated.
114        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
115          DLS.cpp file.
116        - Added method File::GetSample().
117        - Marked methods File::GetFirstSample() and File::GetNextSample() as
118          deprecated.
119        - Use File::GetSample() instead of File::GetFirstSample() /
120          File::GetNextSample() in entire DLS.cpp file.
121        - Added method Articulator::GetArticulation().
122        - Marked methods Articulator::GetFirstArticulation() and
123          Articulator::GetNextArticulation() as deprecated.
124        - Added method File::GetInstrument().
125        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
126          as deprecated.
127        - Added method Instrument::CountRegions().
128        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
129          samples (only triggered if now deprecated File::GetFirstSample() /
130          File::GetNextSample() methods were still used).
131        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
132          moving regions (only triggered if now deprecated File::GetFirstRegion() /
133          File::GetNextRegion() methods were still used).
134        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
135          instruments (only triggered if now deprecated File::GetFirstInstrument() /
136          File::GetNextInstrument() methods were still used).
137    
138      * src/RIFF.cpp, src/RIFF.h:
139        - Chunk::LoadChunkData(): Fix clang sanatizer warning.
140        - List::LoadSubChunks(): Fix potential garbage data access if reading a
141          RIFF chunk ID failed.
142        - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
143          latter allows to automatically use a separate file I/O stream state for
144          each thread.
145        - Added method List::GetSubChunkAt().
146        - Added method List::GetSubListAt().
147        - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
148          List::GetFirstSubList() and List::GetNextSubList() as deprecated.
149        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
150          entire RIFF.cpp file.
151    
152    Version 4.3.0 (9 May 2021)
153    
154      * general changes:
155        - Require at least a C++11 compliant compiler.
156        - Require some UUID generating function by underlying system.
157    
158      * src/gig.cpp, src/gig.h:
159        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
160          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
161          allow to define override LFOs' wave form (e.g. saw or square instead of
162          the default wave form which was always sine in the original
163          Gigasampler/GigaStudio software).
164        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
165          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
166          move the start point horizontally of the LFOs' waves (0° ... 360°).
167        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
168          (the original Gigasampler/GigaStudio software only had that flip phase
169          option for LFO1 and LFO2).
170        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
171          Region::UsesAnyGigFormatExtension(),
172          Instrument::UsesAnyGigFormatExtension() and
173          File::UsesAnyGigFormatExtension() (however only as private methods yet,
174          see comments on methods why).
175        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
176          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
177          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
178          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
179          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
180        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
181          (patch by Ivan Maguidhir).
182        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
183          (original patch by Ivan Maguidhir).
184        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
185          dimensions being in different order after deleting a dimension zone.
186        - Script: Generate a persistent UUID for each script.
187        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
188          accordingly added new methods to Instrument class:
189          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
190          GetScriptPatchVariable(), SetScriptPatchVariable(),
191          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
192          as child of our '3LS ' list chunk on Instrument level.
193        - Fixed undefined behaviour when modifying script slots on an instrument
194          that had been cloned and not been saved yet (e.g. unintended modification
195          of original instrument's script slots, and crash on Instrument destruction
196          due to double free of pScriptRefs).
197    
198      * src/Serialization.cpp, src/Serialization.h:
199        - Fixed broken Archive(RawData) constructor which always threw an
200          Exception.
201        - Added built-in support for C++ String objects (a.k.a. std::string
202          from the STL) and bumped Srx format version to 1.1 for that reason.
203        - Fixed assertion fault on some systems if a member variable defined was
204          serialized which was declared as size_t or ssize_t data type.
205        - Added new method Archive::operation() which allows applications to
206          distinguish between serialization vs. deserialization in their
207          serialize() method implementations.
208        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
209          the STL).
210        - Member offsets are now signed and for (newly added support of) member
211          variables on the heap -1 is always used as offset instead.
212        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
213          STL).
214        - DataType: Added optional 2nd custom type name.
215        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
216          STL).
217    
218      * src/helper.h:
219        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
220          function call.
221    
222      * src/tools/gigdump.cpp:
223        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
224          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
225          LFO2FlipPhase and LFO3FlipPhase.
226    
227    Version 4.2.0 (25 Jul 2019)
228    
229      * general changes:
230        - Added MSVC build support (anonymous patch from mailing list).
231        - Introduced CMake build support (yet constrained for building with MSVC)
232          (anonymous patch from mailing list).
233        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
234          destructors. Added new virtual method DeleteChunks() to those classes
235          for this which must be explicitly called instead to remove their RIFF
236          chunks.
237        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
238          of zero; which is unsafe per se.
239        - Added C++11 "override" keyword where appropriate.
240        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
241          of their actions when not passing a progress_t callback structure.
242    
243      * src/gig.cpp, src/gig.h:
244        - Fixed Doxygen API comments for enum types (currently latest Doxygen
245          [v1.8.13] only supports C comments in macro arguments expansion, but
246          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
247          the Doxygen source code, which currently also filter out new line
248          \n chars).
249        - Added new method File::CountSamples().
250        - Added new method File::CountInstruments().
251        - Fixed gig v4 files falsely being handled as v2 format
252          (patch by Ivan Maguidhir).
253        - Added gig v4 version identifier (File::VERSION_4).
254        - GIG FORMAT EXTENSION: Added attribute
255          DimensionRegion::SustainReleaseTrigger which allows to define whether
256          a sustain pedal up event shall cause a release trigger sample to be
257          played (default: don't play release trigger sample by sustain pedal).
258        - GIG FORMAT EXTENSION: Added attribute
259          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
260          regular behaviour of playing release trigger sample on MIDI note-off
261          events.
262        - Introduced support for writing extension files (.gx01, .gx02, ...)
263          (original patch by Ivan Maguidhir).
264        - Many gig classes derive now from DLS::Storage (see DLS changes below).
265        - Added File::GetRiffFile() method.
266    
267      * src/DLS.cpp, src/DLS.h:
268        - File: Fixed implicitly allocated RIFF::File object never been freed.
269        - Added new abstract interface base class DLS::Storage which is derived by
270          the respective classes for implementing (the old) UpdateChunks() and the
271          new DeleteChunks() method.
272        - Added File::GetRiffFile() method.
273    
274      * src/sf2.cpp, src/sf2.h:
275        - Added Sample::GetFile() method.
276        - Added File::GetRiffFile() method.
277    
278      * src/Serialization.cpp, src/Serialization.h:
279        - Hide pure internal declarations from header file to avoid numerous
280          compiler warnings when building and linking against the public API.
281        - Fixed comparision logic bug
282        - Fixed memory leak in DataType::customTypeName().
283    
284      * src/RIFF.cpp, src/RIFF.h:
285        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
286          caused a resource leak
287        - Avoid compiler warning when building for 32 bit windows.
288        - Added new method progress_t::subdivide().
289        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
290        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
291          allows a more fine graded control into which portions the subtasks are
292          divided to.
293    
294      * src/tools/gigdump.cpp:
295        - Added command line option --instrument-names which causes only
296          instrument names and their index numbers to be printed.
297    
298    Version 4.1.0 (25 Nov 2017)
299    * general changes:    * general changes:
300      - removed 2 GB limitation when loading a gig or DLS file      - removed 2 GB limitation when loading a gig or DLS file
301      - using now native integer size where appropriate      - using now native integer size where appropriate
# Line 12  Version SVN trunk Line 309  Version SVN trunk
309        korgdump and sf2extract.        korgdump and sf2extract.
310      - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953      - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
311        (original patch by Paul Brossier, slightly modified).        (original patch by Paul Brossier, slightly modified).
312        - Debian: Fixed packaging error about invalid substitution variable
313          "Source-Version".
314        - Raised Debian compatibility level to Debian 9 "Stretch".
315    
316    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
317      - fixed bug in Script::SetGroup: the script chunk wasn't moved      - fixed bug in Script::SetGroup: the script chunk wasn't moved
# Line 50  Version SVN trunk Line 350  Version SVN trunk
350        behavior of the first two EGs' state machines.        behavior of the first two EGs' state machines.
351      - Fixed undefined behavior when loading a gig file with invalid      - Fixed undefined behavior when loading a gig file with invalid
352        velocity curve parameters (fixes CVE-2017-12951).        velocity curve parameters (fixes CVE-2017-12951).
353        - Fixed undefined behavior when loading a gig file with invalid wave
354          pool index number (fixes CVE-2017-12954).
355    
356    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
357      - 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
358        larger than 4 GB).        larger than 4 GB).
359      - Exception class now has a variadic constructor which allows to add      - Exception class now has a variadic constructor which allows to add
360        textual format specifiers like with printf().        textual format specifiers like with printf().
361          
362    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
363      - 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
364        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF
# Line 95  Version SVN trunk Line 397  Version SVN trunk
397      - DataType fix: Retain backward compatibility to older versions of native      - DataType fix: Retain backward compatibility to older versions of native
398        C++ classes/structs.        C++ classes/structs.
399    
400      * src/Akai.cpp:
401        - Fixed compilation error with recent, more strict compilers.
402    
403    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
404      - improved output of non-ascii characters in usage messages      - improved output of non-ascii characters in usage messages
405      - fixed printf format strings      - fixed printf format strings
# Line 244  Version 4.0.0 (14 Jul 2015) Line 549  Version 4.0.0 (14 Jul 2015)
549      - POSIX: show operating system's error reason if opening a file failed      - POSIX: show operating system's error reason if opening a file failed
550      - Added support for custom progress notification while saving to RIFF file.      - Added support for custom progress notification while saving to RIFF file.
551      - Fixed embarrassing old bug: POSIX read() errors were never detected on      - Fixed embarrassing old bug: POSIX read() errors were never detected on
552        Chunk::Read() calls due to signment incompatible variable.        Chunk::Read() calls due to signment incompatible variable.
553      - Cleanup of an old DLL binary backward compatibility hack.      - Cleanup of an old DLL binary backward compatibility hack.
554    
555    * src/gigextract.cpp:    * src/gigextract.cpp:

Legend:
Removed from v.3349  
changed lines
  Added in v.4094

  ViewVC Help
Powered by ViewVC