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

Diff of /libgig/trunk/ChangeLog

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

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

  ViewVC Help
Powered by ViewVC