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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.2923  
changed lines
  Added in v.3940

  ViewVC Help
Powered by ViewVC