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

Diff of /libgig/trunk/ChangeLog

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

revision 3414 by schoenebeck, Tue Jan 30 20:17:12 2018 UTC revision 3934 by schoenebeck, Thu Jun 17 09:44:03 2021 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3    * src/gig.cpp, src/gig.h:    * 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      - Fixed Doxygen API comments for enum types (currently latest Doxygen
156        [v1.8.13] only supports C comments in macro arguments expansion, but        [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        not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
# Line 8  Version SVN trunk (?) Line 159  Version SVN trunk (?)
159        \n chars).        \n chars).
160      - Added new method File::CountSamples().      - Added new method File::CountSamples().
161      - Added new method File::CountInstruments().      - 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:    * src/Serialization.cpp, src/Serialization.h:
190      - Hide pure internal declarations from header file to avoid numerous      - Hide pure internal declarations from header file to avoid numerous
191        compiler warnings when building and linking against the public API.        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:    * src/RIFF.cpp, src/RIFF.h:
196      - Fix: Calling File::SetMode() left an undefined file handle on Windows and      - Fix: Calling File::SetMode() left an undefined file handle on Windows and
197        caused a resource leak        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)  Version 4.1.0 (25 Nov 2017)
210    * general changes:    * general changes:
# Line 80  Version 4.1.0 (25 Nov 2017) Line 269  Version 4.1.0 (25 Nov 2017)
269        larger than 4 GB).        larger than 4 GB).
270      - Exception class now has a variadic constructor which allows to add      - Exception class now has a variadic constructor which allows to add
271        textual format specifiers like with printf().        textual format specifiers like with printf().
272          
273    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
274      - 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
275        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF

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

  ViewVC Help
Powered by ViewVC