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

Diff of /libgig/trunk/ChangeLog

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

revision 3323 by schoenebeck, Thu Jul 20 22:09:54 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 43  Version SVN trunk Line 119  Version SVN trunk
119      - Ignore invalid leverage controller types and just show a warning on the      - Ignore invalid leverage controller types and just show a warning on the
120        console instead of throwing an exception.        console instead of throwing an exception.
121      - Added new struct eg_opt_t and new class member variable      - Added new struct eg_opt_t and new class member variable
122        DimensionRegion::EGOptions as an extension to the gig file format, which        DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
123        allows to override the default behavior of EGs' state machines.        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      - Exception class now has a variadic constructor which allows to add
134        textual format specifiers like with printf().        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 87  Version SVN trunk Line 168  Version SVN trunk
168        representations like "yes", "no", "true", "false" as expected.        representations like "yes", "no", "true", "false" as expected.
169      - Exception class now has a variadic constructor which allows to add      - Exception class now has a variadic constructor which allows to add
170        textual format specifiers like with printf().        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

Legend:
Removed from v.3323  
changed lines
  Added in v.3524

  ViewVC Help
Powered by ViewVC