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

Diff of /libgig/trunk/ChangeLog

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

revision 3117 by schoenebeck, Sun Apr 16 23:20:30 2017 UTC revision 3623 by schoenebeck, Wed Oct 2 16:30:29 2019 UTC
# Line 1  Line 1 
1  Version SVN trunk  Version SVN trunk (?)
2    
3      * general changes:
4        - Require at least a C++11 compliant compiler.
5    
6      * src/gig.cpp, src/gig.h:
7        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
8          DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
9          allow to define override LFOs' wave form (e.g. saw or square instead of
10          the default wave form which was always sine in the original
11          Gigasampler/GigaStudio software).
12        - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
13          DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
14          move the start point horizontally of the LFOs' waves (0° ... 360°).
15        - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
16          (the original Gigasampler/GigaStudio software only had that flip phase
17          option for LFO1 and LFO2).
18        - Added method DimensionRegion::UsesAnyGigFormatExtension() (however only as
19          private method yet, see comments on method why).
20    
21      * src/tools/gigdump.cpp:
22        - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
23          LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
24          LFO2FlipPhase and LFO3FlipPhase.
25    
26    Version 4.2.0 (25 Jul 2019)
27    
28      * general changes:
29        - Added MSVC build support (anonymous patch from mailing list).
30        - Introduced CMake build support (yet constrained for building with MSVC)
31          (anonymous patch from mailing list).
32        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
33          destructors. Added new virtual method DeleteChunks() to those classes
34          for this which must be explicitly called instead to remove their RIFF
35          chunks.
36        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
37          of zero; which is unsafe per se.
38        - Added C++11 "override" keyword where appropriate.
39        - Fixed crash in RIFF, DLS and gig classes which occurred on certain
40          of their actions when not passing a progress_t callback structure.
41    
42      * src/gig.cpp, src/gig.h:
43        - Fixed Doxygen API comments for enum types (currently latest Doxygen
44          [v1.8.13] only supports C comments in macro arguments expansion, but
45          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
46          the Doxygen source code, which currently also filter out new line
47          \n chars).
48        - Added new method File::CountSamples().
49        - Added new method File::CountInstruments().
50        - Fixed gig v4 files falsely being handled as v2 format
51          (patch by Ivan Maguidhir).
52        - Added gig v4 version identifier (File::VERSION_4).
53        - GIG FORMAT EXTENSION: Added attribute
54          DimensionRegion::SustainReleaseTrigger which allows to define whether
55          a sustain pedal up event shall cause a release trigger sample to be
56          played (default: don't play release trigger sample by sustain pedal).
57        - GIG FORMAT EXTENSION: Added attribute
58          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
59          regular behaviour of playing release trigger sample on MIDI note-off
60          events.
61        - Introduced support for writing extension files (.gx01, .gx02, ...)
62          (original patch by Ivan Maguidhir).
63        - Many gig classes derive now from DLS::Storage (see DLS changes below).
64        - Added File::GetRiffFile() method.
65    
66      * src/DLS.cpp, src/DLS.h:
67        - File: Fixed implicitly allocated RIFF::File object never been freed.
68        - Added new abstract interface base class DLS::Storage which is derived by
69          the respective classes for implementing (the old) UpdateChunks() and the
70          new DeleteChunks() method.
71        - Added File::GetRiffFile() method.
72    
73      * src/sf2.cpp, src/sf2.h:
74        - Added Sample::GetFile() method.
75        - Added File::GetRiffFile() method.
76    
77      * src/Serialization.cpp, src/Serialization.h:
78        - Hide pure internal declarations from header file to avoid numerous
79          compiler warnings when building and linking against the public API.
80        - Fixed comparision logic bug
81        - Fixed memory leak in DataType::customTypeName().
82    
83      * src/RIFF.cpp, src/RIFF.h:
84        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
85          caused a resource leak
86        - Avoid compiler warning when building for 32 bit windows.
87        - Added new method progress_t::subdivide().
88        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
89        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
90          allows a more fine graded control into which portions the subtasks are
91          divided to.
92    
93      * src/tools/gigdump.cpp:
94        - Added command line option --instrument-names which causes only
95          instrument names and their index numbers to be printed.
96    
97    Version 4.1.0 (25 Nov 2017)
98    * general changes:    * general changes:
99      - removed 2 GB limitation when loading a gig or DLS file      - removed 2 GB limitation when loading a gig or DLS file
100      - using now native integer size where appropriate      - using now native integer size where appropriate
101      - fixed minor issues with man pages (patch by Debian maintainer)      - fixed minor issues with man pages (patch by Debian maintainer)
102      - fixed various spelling mistakes (patch by Debian maintainer)      - fixed various spelling mistakes (patch by Debian maintainer)
103        - Added new "Serialization" framework (and equally named namespace)
104          which allows to serialize and deserialize native C++ objects
105          in a portable, easy and flexible way.
106        - print compiler warning if no RTTI available
107        - Fixed potential crash in command line tools gig2stereo, korg2gig,
108          korgdump and sf2extract.
109        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
110          (original patch by Paul Brossier, slightly modified).
111        - Debian: Fixed packaging error about invalid substitution variable
112          "Source-Version".
113        - Raised Debian compatibility level to Debian 9 "Stretch".
114    
115    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
116      - fixed bug in Script::SetGroup: the script chunk wasn't moved      - fixed bug in Script::SetGroup: the script chunk wasn't moved
# Line 26  Version SVN trunk Line 133  Version SVN trunk
133      - Fixed CRC checksums being wrong sometimes.      - Fixed CRC checksums being wrong sometimes.
134      - Fix: method File::AddContentOf() did not clone script groups and scripts      - Fix: method File::AddContentOf() did not clone script groups and scripts
135        of passed original file.        of passed original file.
136        - Added support for serializing & deserializing DimensionRegion
137          objects (and crossfade_t and leverage_ctrl_t objects).
138        - Added enum reflection API functions for retrieving enum declaration type
139          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
140        - Exception class now has a variadic constructor which allows to add
141          textual format specifiers like with printf().
142        - On unknown leverage controller exception: show precise unknown leverage
143          controller number found.
144        - Ignore invalid leverage controller types and just show a warning on the
145          console instead of throwing an exception.
146        - Added new struct eg_opt_t and new class member variable
147          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
148          extension to the gig file format, which allows to override the default
149          behavior of the first two EGs' state machines.
150        - Fixed undefined behavior when loading a gig file with invalid
151          velocity curve parameters (fixes CVE-2017-12951).
152        - Fixed undefined behavior when loading a gig file with invalid wave
153          pool index number (fixes CVE-2017-12954).
154    
155    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
156      - 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
157        larger than 4 GB).        larger than 4 GB).
158              - Exception class now has a variadic constructor which allows to add
159          textual format specifiers like with printf().
160    
161    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
162      - 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
163        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF
# Line 39  Version SVN trunk Line 166  Version SVN trunk
166        with a new option added to the RIFF File constructor though        with a new option added to the RIFF File constructor though
167      - when saving a modified, grown RIFF file, the temporary file size during      - when saving a modified, grown RIFF file, the temporary file size during
168        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
169        - Exception class now has a variadic constructor which allows to add
170          textual format specifiers like with printf().
171    
172      * src/Serialization.cpp, src/Serialization.h:
173        - Archive: Added method isModified().
174        - Archive: Added method setAutoValue().
175        - Archive: Added method setIntValue().
176        - Archive: Added method setRealValue().
177        - Archive: Added method setBoolValue().
178        - Archive: Added method setEnumValue().
179        - Archive: Added method valueAsString().
180        - Archive::rawData(): Automatically re-encode new raw data stream if
181          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
182        - Object: Added method memberByUID().
183        - Object: remove() method is now protected.
184        - Archive: Added method removeMember().
185        - Archive: Added methods name() and setName().
186        - Archive: Added methods comment() and setComment().
187        - Archive: Added methods timeStampCreated(), timeStampModified(),
188          dateTimeCreated() and dateTimeModified().
189        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
190        - DataType: Implemented demangling C++ type names (for methods
191          asLongDescr() and customTypeName(bool demangle=false)).
192        - Archive::setAutoValue(): Handle human readable boolean text
193          representations like "yes", "no", "true", "false" as expected.
194        - Exception class now has a variadic constructor which allows to add
195          textual format specifiers like with printf().
196        - DataType fix: Retain backward compatibility to older versions of native
197          C++ classes/structs.
198    
199      * src/Akai.cpp:
200        - Fixed compilation error with recent, more strict compilers.
201    
202    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
203      - improved output of non-ascii characters in usage messages      - improved output of non-ascii characters in usage messages
# Line 60  Version SVN trunk Line 219  Version SVN trunk
219        rebuilding the gig file's global checksum table (i.e. in case the        rebuilding the gig file's global checksum table (i.e. in case the
220        file's checksum table was damaged)        file's checksum table was damaged)
221      - print samples' CRC32 checksums      - print samples' CRC32 checksums
222        - Print the new EG behavior options (eg_opt_t).
223    
224    * src/tools/gigextract.cpp:    * src/tools/gigextract.cpp:
225      - Fix: if sample name contains a path separator (slash or backslash) then      - Fix: if sample name contains a path separator (slash or backslash) then

Legend:
Removed from v.3117  
changed lines
  Added in v.3623

  ViewVC Help
Powered by ViewVC