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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2785  
changed lines
  Added in v.3934

  ViewVC Help
Powered by ViewVC