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

Diff of /libgig/trunk/ChangeLog

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

revision 3474 by schoenebeck, Wed Feb 20 16:04:19 2019 UTC revision 3980 by schoenebeck, Tue Aug 3 14:37:25 2021 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Add new command line tool "wav2gig".
5    
6      * src/gig.cpp, src/gig.h:
7        - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
8        - Region::SplitDimensionZone(): Fix clang sanatizer warning.
9        - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
10          (InternalDecompressionBuffer is no longer needed for 24 bit samples since
11          SVN r902 / libgig release 3.1.0).
12        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
13          entire gig.cpp file.
14        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
15          entire gig.cpp file.
16        - Added method Instrument::GetRegionAt().
17        - Marked methods Instrument::GetFirstRegion() and
18          Instrument::GetNextRegion() as deprecated.
19        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
20          gig.cpp file.
21        - Changed signature of method File::GetSample(uint) to
22          File::GetSample(size_t,progress_t*).
23        - Marked methods File::GetFirstSample() and File::GetNextSample() as
24          deprecated.
25        - Use File::GetSample() instead of File::GetFirstSample() /
26          File::GetNextSample() in entire gig.cpp file.
27        - Added method Group::GetSample().
28        - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
29          deprecated.
30        - Use Group::GetSample() instead of Group::GetFirstSample() /
31          Group::GetNextSample() in entire gig.cpp file.
32        - Changed signature of method File::GetGroup(uint) to
33          File::GetGroup(size_t).
34        - Fixed File::GetGroup(size_t) to be reentrant-safe.
35        - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
36        - Fixed GetGroup(String) to be reentrant-safe.
37        - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
38          gig.cpp file.
39        - Changed signature of method File::GetInstrument(uint,progress_t*) to
40          File::GetInstrument(size_t,progress_t*).
41        - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
42        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
43          as deprecated.
44        - Use File::GetInstrument() instead of File::GetFirstInstrument() /
45          File::GetNextInstrument() in entire gig.cpp file.
46        - Optimized method ScriptGroup::GetScript() to have constant time
47          efficiency.
48        - Changed signature of method File::GetScriptGroup(uint) to
49          File::GetScriptGroup(size_t).
50        - Optimized method File::GetScriptGroup(size_t) to have constant time
51          efficiency.
52        - Changed signature of method ScriptGroup::GetScript(uint) to
53          ScriptGroup::GetScript(size_t).
54        - Changed signature of method Instrument::GetScriptOfSlot(uint) to
55          Instrument::GetScriptOfSlot(size_t).
56        - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to
57          Instrument::SwapScriptSlots(size_t,size_t).
58        - Changed signature of method Instrument::RemoveScriptSlot(uint) to
59          Instrument::RemoveScriptSlot(size_t).
60        - Changed signature of method Instrument::ScriptSlotCount() to return
61          size_t instead of uint.
62        - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to
63          Instrument::IsScriptSlotBypassed(size_t).
64        - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool)
65          to Instrument::SetScriptSlotBypassed(size_t,bool).
66        - Changed signature of method
67          Instrument::IsScriptPatchVariableSet(int,String) to
68          Instrument::IsScriptPatchVariableSet(size_t,String).
69        - Changed signature of method Instrument::GetScriptPatchVariables(int) to
70          Instrument::GetScriptPatchVariables(size_t).
71        - Changed signature of method
72          Instrument::GetScriptPatchVariable(int,String) to
73          Instrument::GetScriptPatchVariable(size_t,String).
74        - Changed signature of method
75          Instrument::SetScriptPatchVariable(int,String,String) to
76          Instrument::SetScriptPatchVariable(size_t,String,String).
77        - Changed signature of method
78          Instrument::UnsetScriptPatchVariable(int,String) to
79          Instrument::UnsetScriptPatchVariable(ssize_t,String).
80        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
81          samples (only triggered if now deprecated File::GetFirstSample() /
82          File::GetNextSample() methods were still used).
83        - Fixed Sample::Write() method not having updated sample's CRC (correctly)
84          if sample was previously resized.
85        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
86          moving regions (only triggered if now deprecated File::GetFirstRegion() /
87          File::GetNextRegion() methods were still used).
88        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
89          instruments (only triggered if now deprecated File::GetFirstInstrument() /
90          File::GetNextInstrument() methods were still used).
91    
92      * src/SF.cpp, src/SF.h:
93        - File::DeleteInstrument(): Fix clang sanatizer warning.
94    
95      * src/DLS.cpp, src/DLS.h:
96        - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
97          entire DLS.cpp file.
98        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
99          entire DLS.cpp file.
100        - Added method Instrument::GetRegionAt().
101        - Marked methods Instrument::GetFirstRegion() and
102          Instrument::GetNextRegion() as deprecated.
103        - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
104          DLS.cpp file.
105        - Added method File::GetSample().
106        - Marked methods File::GetFirstSample() and File::GetNextSample() as
107          deprecated.
108        - Use File::GetSample() instead of File::GetFirstSample() /
109          File::GetNextSample() in entire DLS.cpp file.
110        - Added method Articulator::GetArticulation().
111        - Marked methods Articulator::GetFirstArticulation() and
112          Articulator::GetNextArticulation() as deprecated.
113        - Added method File::GetInstrument().
114        - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
115          as deprecated.
116        - Added method Instrument::CountRegions().
117        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
118          samples (only triggered if now deprecated File::GetFirstSample() /
119          File::GetNextSample() methods were still used).
120        - Fixed iterator invalidation (i.e. crash) caused by adding / removing /
121          moving regions (only triggered if now deprecated File::GetFirstRegion() /
122          File::GetNextRegion() methods were still used).
123        - Fixed iterator invalidation (i.e. crash) caused by adding / removing
124          instruments (only triggered if now deprecated File::GetFirstInstrument() /
125          File::GetNextInstrument() methods were still used).
126    
127      * src/RIFF.cpp, src/RIFF.h:
128        - Chunk::LoadChunkData(): Fix clang sanatizer warning.
129        - List::LoadSubChunks(): Fix potential garbage data access if reading a
130          RIFF chunk ID failed.
131        - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
132          latter allows to automatically use a separate file I/O stream state for
133          each thread.
134        - Added method List::GetSubChunkAt().
135        - Added method List::GetSubListAt().
136        - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
137          List::GetFirstSubList() and List::GetNextSubList() as deprecated.
138        - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
139          entire RIFF.cpp file.
140    
141    Version 4.3.0 (9 May 2021)
142    
143      * general changes:
144        - Require at least a C++11 compliant compiler.
145        - Require some UUID generating function by underlying system.
146    
147      * src/gig.cpp, src/gig.h:
148        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
149          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
150          allow to define override LFOs' wave form (e.g. saw or square instead of
151          the default wave form which was always sine in the original
152          Gigasampler/GigaStudio software).
153        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
154          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
155          move the start point horizontally of the LFOs' waves (0° ... 360°).
156        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
157          (the original Gigasampler/GigaStudio software only had that flip phase
158          option for LFO1 and LFO2).
159        - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
160          Region::UsesAnyGigFormatExtension(),
161          Instrument::UsesAnyGigFormatExtension() and
162          File::UsesAnyGigFormatExtension() (however only as private methods yet,
163          see comments on methods why).
164        - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
165          implementations to enum vcf_type_t: vcf_type_lowpass_1p,
166          vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
167          vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
168          vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
169        - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
170          (patch by Ivan Maguidhir).
171        - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
172          (original patch by Ivan Maguidhir).
173        - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
174          dimensions being in different order after deleting a dimension zone.
175        - Script: Generate a persistent UUID for each script.
176        - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
177          accordingly added new methods to Instrument class:
178          IsScriptPatchVariableSet(), GetScriptPatchVariables(),
179          GetScriptPatchVariable(), SetScriptPatchVariable(),
180          UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
181          as child of our '3LS ' list chunk on Instrument level.
182        - Fixed undefined behaviour when modifying script slots on an instrument
183          that had been cloned and not been saved yet (e.g. unintended modification
184          of original instrument's script slots, and crash on Instrument destruction
185          due to double free of pScriptRefs).
186    
187      * src/Serialization.cpp, src/Serialization.h:
188        - Fixed broken Archive(RawData) constructor which always threw an
189          Exception.
190        - Added built-in support for C++ String objects (a.k.a. std::string
191          from the STL) and bumped Srx format version to 1.1 for that reason.
192        - Fixed assertion fault on some systems if a member variable defined was
193          serialized which was declared as size_t or ssize_t data type.
194        - Added new method Archive::operation() which allows applications to
195          distinguish between serialization vs. deserialization in their
196          serialize() method implementations.
197        - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
198          the STL).
199        - Member offsets are now signed and for (newly added support of) member
200          variables on the heap -1 is always used as offset instead.
201        - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
202          STL).
203        - DataType: Added optional 2nd custom type name.
204        - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
205          STL).
206    
207      * src/helper.h:
208        - Fix compile error with GCC 9 due to ignored result value of vasprintf()
209          function call.
210    
211      * src/tools/gigdump.cpp:
212        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
213          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
214          LFO2FlipPhase and LFO3FlipPhase.
215    
216    Version 4.2.0 (25 Jul 2019)
217    
218      * general changes:
219        - Added MSVC build support (anonymous patch from mailing list).
220        - Introduced CMake build support (yet constrained for building with MSVC)
221          (anonymous patch from mailing list).
222        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
223          destructors. Added new virtual method DeleteChunks() to those classes
224          for this which must be explicitly called instead to remove their RIFF
225          chunks.
226        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
227          of zero; which is unsafe per se.
228        - Added C++11 "override" keyword where appropriate.
229        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
230          of their actions when not passing a progress_t callback structure.
231    
232    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
233      - Fixed Doxygen API comments for enum types (currently latest Doxygen      - Fixed Doxygen API comments for enum types (currently latest Doxygen
234        [v1.8.13] only supports C comments in macro arguments expansion, but        [v1.8.13] only supports C comments in macro arguments expansion, but
# Line 21  Version SVN trunk (?) Line 250  Version SVN trunk (?)
250        events.        events.
251      - Introduced support for writing extension files (.gx01, .gx02, ...)      - Introduced support for writing extension files (.gx01, .gx02, ...)
252        (original patch by Ivan Maguidhir).        (original patch by Ivan Maguidhir).
253        - Many gig classes derive now from DLS::Storage (see DLS changes below).
254        - Added File::GetRiffFile() method.
255    
256    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
257      - File: Fixed implicitly allocated RIFF::File object never been freed.      - File: Fixed implicitly allocated RIFF::File object never been freed.
258        - Added new abstract interface base class DLS::Storage which is derived by
259          the respective classes for implementing (the old) UpdateChunks() and the
260          new DeleteChunks() method.
261        - Added File::GetRiffFile() method.
262    
263      * src/sf2.cpp, src/sf2.h:
264        - Added Sample::GetFile() method.
265        - Added File::GetRiffFile() method.
266    
267    * src/Serialization.cpp, src/Serialization.h:    * src/Serialization.cpp, src/Serialization.h:
268      - Hide pure internal declarations from header file to avoid numerous      - Hide pure internal declarations from header file to avoid numerous
# Line 35  Version SVN trunk (?) Line 274  Version SVN trunk (?)
274      - Fix: Calling File::SetMode() left an undefined file handle on Windows and      - Fix: Calling File::SetMode() left an undefined file handle on Windows and
275        caused a resource leak        caused a resource leak
276      - Avoid compiler warning when building for 32 bit windows.      - Avoid compiler warning when building for 32 bit windows.
277        - Added new method progress_t::subdivide().
278        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
279        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
280          allows a more fine graded control into which portions the subtasks are
281          divided to.
282    
283    * src/tools/gigdump.cpp:    * src/tools/gigdump.cpp:
284      - Added command line option --instrument-names which causes only      - Added command line option --instrument-names which causes only

Legend:
Removed from v.3474  
changed lines
  Added in v.3980

  ViewVC Help
Powered by ViewVC