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

Diff of /libgig/trunk/ChangeLog

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

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

  ViewVC Help
Powered by ViewVC