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

Diff of /libgig/trunk/ChangeLog

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

revision 3173 by schoenebeck, Wed May 10 23:07:28 2017 UTC revision 3481 by schoenebeck, Fri Feb 22 12:12:50 2019 UTC
# Line 1  Line 1 
1  Version SVN trunk  Version SVN trunk (?)
2    
3      * general changes:
4        - Added MSVC build support (anonymous patch from mailing list).
5        - Introduced CMake build support (yet constrained for building with MSVC)
6          (anonymous patch from mailing list).
7        - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
8          destructors. Added new virtual method DeleteChunks() to those classes
9          for this which must be explicitly called instead to remove their RIFF
10          chunks.
11        - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
12          of zero; which is unsafe per se.
13        - Added C++11 "override" keyword where appropriate.
14    
15      * src/gig.cpp, src/gig.h:
16        - Fixed Doxygen API comments for enum types (currently latest Doxygen
17          [v1.8.13] only supports C comments in macro arguments expansion, but
18          not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
19          the Doxygen source code, which currently also filter out new line
20          \n chars).
21        - Added new method File::CountSamples().
22        - Added new method File::CountInstruments().
23        - Fixed gig v4 files falsely being handled as v2 format
24          (patch by Ivan Maguidhir).
25        - Added gig v4 version identifier (File::VERSION_4).
26        - GIG FORMAT EXTENSION: Added attribute
27          DimensionRegion::SustainReleaseTrigger which allows to define whether
28          a sustain pedal up event shall cause a release trigger sample to be
29          played (default: don't play release trigger sample by sustain pedal).
30        - GIG FORMAT EXTENSION: Added attribute
31          DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
32          regular behaviour of playing release trigger sample on MIDI note-off
33          events.
34        - Introduced support for writing extension files (.gx01, .gx02, ...)
35          (original patch by Ivan Maguidhir).
36        - Many gig classes derive now from DLS::Storage (see DLS changes below).
37        - Added File::GetRiffFile() method.
38    
39      * src/DLS.cpp, src/DLS.h:
40        - File: Fixed implicitly allocated RIFF::File object never been freed.
41        - Added new abstract interface base class DLS::Storage which is derived by
42          the respective classes for implementing (the old) UpdateChunks() and the
43          new DeleteChunks() method.
44        - Added File::GetRiffFile() method.
45    
46      * src/sf2.cpp, src/sf2.h:
47        - Added Sample::GetFile() method.
48        - Added File::GetRiffFile() method.
49    
50      * src/Serialization.cpp, src/Serialization.h:
51        - Hide pure internal declarations from header file to avoid numerous
52          compiler warnings when building and linking against the public API.
53        - Fixed comparision logic bug
54        - Fixed memory leak in DataType::customTypeName().
55    
56      * src/RIFF.cpp, src/RIFF.h:
57        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
58          caused a resource leak
59        - Avoid compiler warning when building for 32 bit windows.
60        - Added new method progress_t::subdivide().
61        - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
62        - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
63          allows a more fine graded control into which portions the subtasks are
64          divided to.
65    
66      * src/tools/gigdump.cpp:
67        - Added command line option --instrument-names which causes only
68          instrument names and their index numbers to be printed.
69    
70    Version 4.1.0 (25 Nov 2017)
71    * general changes:    * general changes:
72      - removed 2 GB limitation when loading a gig or DLS file      - removed 2 GB limitation when loading a gig or DLS file
73      - using now native integer size where appropriate      - using now native integer size where appropriate
# Line 8  Version SVN trunk Line 77  Version SVN trunk
77        which allows to serialize and deserialize native C++ objects        which allows to serialize and deserialize native C++ objects
78        in a portable, easy and flexible way.        in a portable, easy and flexible way.
79      - print compiler warning if no RTTI available      - print compiler warning if no RTTI available
80        - Fixed potential crash in command line tools gig2stereo, korg2gig,
81          korgdump and sf2extract.
82        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
83          (original patch by Paul Brossier, slightly modified).
84        - Debian: Fixed packaging error about invalid substitution variable
85          "Source-Version".
86        - Raised Debian compatibility level to Debian 9 "Stretch".
87    
88    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
89      - fixed bug in Script::SetGroup: the script chunk wasn't moved      - fixed bug in Script::SetGroup: the script chunk wasn't moved
# Line 33  Version SVN trunk Line 109  Version SVN trunk
109      - Added support for serializing & deserializing DimensionRegion      - Added support for serializing & deserializing DimensionRegion
110        objects (and crossfade_t and leverage_ctrl_t objects).        objects (and crossfade_t and leverage_ctrl_t objects).
111      - Added enum reflection API functions for retrieving enum declaration type      - Added enum reflection API functions for retrieving enum declaration type
112        information at runtime (countEnum(), enumKey(), enumKeys(), enumValue()).        information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
113        - Exception class now has a variadic constructor which allows to add
114          textual format specifiers like with printf().
115        - On unknown leverage controller exception: show precise unknown leverage
116          controller number found.
117        - Ignore invalid leverage controller types and just show a warning on the
118          console instead of throwing an exception.
119        - Added new struct eg_opt_t and new class member variable
120          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
121          extension to the gig file format, which allows to override the default
122          behavior of the first two EGs' state machines.
123        - Fixed undefined behavior when loading a gig file with invalid
124          velocity curve parameters (fixes CVE-2017-12951).
125        - Fixed undefined behavior when loading a gig file with invalid wave
126          pool index number (fixes CVE-2017-12954).
127    
128    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
129      - 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
130        larger than 4 GB).        larger than 4 GB).
131              - Exception class now has a variadic constructor which allows to add
132          textual format specifiers like with printf().
133    
134    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
135      - 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
136        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF
# Line 47  Version SVN trunk Line 139  Version SVN trunk
139        with a new option added to the RIFF File constructor though        with a new option added to the RIFF File constructor though
140      - when saving a modified, grown RIFF file, the temporary file size during      - when saving a modified, grown RIFF file, the temporary file size during
141        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
142        - Exception class now has a variadic constructor which allows to add
143          textual format specifiers like with printf().
144    
145    * src/Serialization.cpp, src/Serialization.h:    * src/Serialization.cpp, src/Serialization.h:
146      - Archive: Added method isModified().      - Archive: Added method isModified().
# Line 68  Version SVN trunk Line 162  Version SVN trunk
162      - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().      - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
163      - DataType: Implemented demangling C++ type names (for methods      - DataType: Implemented demangling C++ type names (for methods
164        asLongDescr() and customTypeName(bool demangle=false)).        asLongDescr() and customTypeName(bool demangle=false)).
165        - Archive::setAutoValue(): Handle human readable boolean text
166          representations like "yes", "no", "true", "false" as expected.
167        - Exception class now has a variadic constructor which allows to add
168          textual format specifiers like with printf().
169        - DataType fix: Retain backward compatibility to older versions of native
170          C++ classes/structs.
171    
172      * src/Akai.cpp:
173        - Fixed compilation error with recent, more strict compilers.
174    
175    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
176      - improved output of non-ascii characters in usage messages      - improved output of non-ascii characters in usage messages
# Line 89  Version SVN trunk Line 192  Version SVN trunk
192        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
193        file's checksum table was damaged)        file's checksum table was damaged)
194      - print samples' CRC32 checksums      - print samples' CRC32 checksums
195        - Print the new EG behavior options (eg_opt_t).
196    
197    * src/tools/gigextract.cpp:    * src/tools/gigextract.cpp:
198      - 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.3173  
changed lines
  Added in v.3481

  ViewVC Help
Powered by ViewVC