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

Diff of /libgig/trunk/ChangeLog

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

revision 2922 by schoenebeck, Wed May 18 18:04:49 2016 UTC revision 3478 by schoenebeck, Thu Feb 21 20:10:08 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    
38      * src/DLS.cpp, src/DLS.h:
39        - File: Fixed implicitly allocated RIFF::File object never been freed.
40        - Added new abstract interface base class DLS::Storage which is derived by
41          the respective classes for implementing (the old) UpdateChunks() and the
42          new DeleteChunks() method.
43    
44      * src/Serialization.cpp, src/Serialization.h:
45        - Hide pure internal declarations from header file to avoid numerous
46          compiler warnings when building and linking against the public API.
47        - Fixed comparision logic bug
48        - Fixed memory leak in DataType::customTypeName().
49    
50      * src/RIFF.cpp, src/RIFF.h:
51        - Fix: Calling File::SetMode() left an undefined file handle on Windows and
52          caused a resource leak
53        - Avoid compiler warning when building for 32 bit windows.
54        - Added new method progress_t::subdivide().
55    
56      * src/tools/gigdump.cpp:
57        - Added command line option --instrument-names which causes only
58          instrument names and their index numbers to be printed.
59    
60    Version 4.1.0 (25 Nov 2017)
61    * general changes:    * general changes:
62      - removed 2 GB limitation when loading a gig or DLS file      - removed 2 GB limitation when loading a gig or DLS file
63      - using now native integer size where appropriate      - using now native integer size where appropriate
64        - fixed minor issues with man pages (patch by Debian maintainer)
65        - fixed various spelling mistakes (patch by Debian maintainer)
66        - Added new "Serialization" framework (and equally named namespace)
67          which allows to serialize and deserialize native C++ objects
68          in a portable, easy and flexible way.
69        - print compiler warning if no RTTI available
70        - Fixed potential crash in command line tools gig2stereo, korg2gig,
71          korgdump and sf2extract.
72        - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
73          (original patch by Paul Brossier, slightly modified).
74        - Debian: Fixed packaging error about invalid substitution variable
75          "Source-Version".
76        - Raised Debian compatibility level to Debian 9 "Stretch".
77    
78    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
79      - fixed bug in Script::SetGroup: the script chunk wasn't moved      - fixed bug in Script::SetGroup: the script chunk wasn't moved
# Line 10  Version SVN trunk Line 82  Version SVN trunk
82        as one single monolithic gig file. In case .gig file is >= 2GB expect a        as one single monolithic gig file. In case .gig file is >= 2GB expect a
83        large monolithic file, otherwise if .gig file is < 2 GB check for        large monolithic file, otherwise if .gig file is < 2 GB check for
84        "extension" files (.gx01, .gx02, ...) instead.        "extension" files (.gx01, .gx02, ...) instead.
85        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
86          if there were dimensions after the velocity dimension: it only created
87          valid velocity tables for cases of dimensions lower than the velocity
88          dimension.
89        - added new method Sample::VerifyWaveData() which allows to check whether
90          a sample had been damaged for some reason
91        - Fix: samples' CRC checksums were damaged on file structure changes.
92        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
93        - Added new method Sample::GetWaveDataCRC32Checksum().
94        - Changed default value of EG2Release (filter release time) to 60s.
95        - Instruments' default pitch bend range is now +-2 semi tones.
96        - Fixed CRC checksums being wrong sometimes.
97        - Fix: method File::AddContentOf() did not clone script groups and scripts
98          of passed original file.
99        - Added support for serializing & deserializing DimensionRegion
100          objects (and crossfade_t and leverage_ctrl_t objects).
101        - Added enum reflection API functions for retrieving enum declaration type
102          information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
103        - Exception class now has a variadic constructor which allows to add
104          textual format specifiers like with printf().
105        - On unknown leverage controller exception: show precise unknown leverage
106          controller number found.
107        - Ignore invalid leverage controller types and just show a warning on the
108          console instead of throwing an exception.
109        - Added new struct eg_opt_t and new class member variable
110          DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
111          extension to the gig file format, which allows to override the default
112          behavior of the first two EGs' state machines.
113        - Fixed undefined behavior when loading a gig file with invalid
114          velocity curve parameters (fixes CVE-2017-12951).
115        - Fixed undefined behavior when loading a gig file with invalid wave
116          pool index number (fixes CVE-2017-12954).
117    
118    * src/DLS.cpp, src/DLS.h:    * src/DLS.cpp, src/DLS.h:
119      - 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
120        larger than 4 GB).        larger than 4 GB).
121              - Exception class now has a variadic constructor which allows to add
122          textual format specifiers like with printf().
123    
124    * src/RIFF.cpp, src/RIFF.h:    * src/RIFF.cpp, src/RIFF.h:
125      - 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
126        internal RIFF file offset size is automatically detected (that is RIFF        internal RIFF file offset size is automatically detected (that is RIFF
# Line 23  Version SVN trunk Line 129  Version SVN trunk
129        with a new option added to the RIFF File constructor though        with a new option added to the RIFF File constructor though
130      - when saving a modified, grown RIFF file, the temporary file size during      - when saving a modified, grown RIFF file, the temporary file size during
131        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
132        - Exception class now has a variadic constructor which allows to add
133          textual format specifiers like with printf().
134    
135      * src/Serialization.cpp, src/Serialization.h:
136        - Archive: Added method isModified().
137        - Archive: Added method setAutoValue().
138        - Archive: Added method setIntValue().
139        - Archive: Added method setRealValue().
140        - Archive: Added method setBoolValue().
141        - Archive: Added method setEnumValue().
142        - Archive: Added method valueAsString().
143        - Archive::rawData(): Automatically re-encode new raw data stream if
144          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
145        - Object: Added method memberByUID().
146        - Object: remove() method is now protected.
147        - Archive: Added method removeMember().
148        - Archive: Added methods name() and setName().
149        - Archive: Added methods comment() and setComment().
150        - Archive: Added methods timeStampCreated(), timeStampModified(),
151          dateTimeCreated() and dateTimeModified().
152        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
153        - DataType: Implemented demangling C++ type names (for methods
154          asLongDescr() and customTypeName(bool demangle=false)).
155        - Archive::setAutoValue(): Handle human readable boolean text
156          representations like "yes", "no", "true", "false" as expected.
157        - Exception class now has a variadic constructor which allows to add
158          textual format specifiers like with printf().
159        - DataType fix: Retain backward compatibility to older versions of native
160          C++ classes/structs.
161    
162      * src/Akai.cpp:
163        - Fixed compilation error with recent, more strict compilers.
164    
165    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:    * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
166      - improved output of non-ascii characters in usage messages      - improved output of non-ascii characters in usage messages
# Line 32  Version SVN trunk Line 170  Version SVN trunk
170      - fixed c++11 narrowing warnings      - fixed c++11 narrowing warnings
171      - fixed fine tuning which was not translated at all      - fixed fine tuning which was not translated at all
172    
173      * src/tools/gigdump.cpp:
174        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
175          dimension regions
176        - additionally print RIFF chunk file offset and RIFF chunk size of sample
177          data
178        - added and implemented new parameter "--verify" which allows to check
179          the raw wave form data integrity of all samples
180        - added and implemented new parameter "--rebuild-checksums" which allows
181          to recalculate the CRC32 checksum of all samples' raw wave data and
182          rebuilding the gig file's global checksum table (i.e. in case the
183          file's checksum table was damaged)
184        - print samples' CRC32 checksums
185        - Print the new EG behavior options (eg_opt_t).
186    
187      * src/tools/gigextract.cpp:
188        - Fix: if sample name contains a path separator (slash or backslash) then
189          replace them by a minus sign to avoid file system issues.
190    
191      * src/tools/gig2stereo.cpp:
192        - Also merge mono sample pairs with non matching loop information if
193          argument --incompatible was given.
194    
195    * packaging changes:    * packaging changes:
196      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
197        auto detect whether it (sh/c)ould output its messages in color.        auto detect whether it (sh/c)ould output its messages in color.

Legend:
Removed from v.2922  
changed lines
  Added in v.3478

  ViewVC Help
Powered by ViewVC