/[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 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
76        - fixed minor issues with man pages (patch by Debian maintainer)
77        - fixed various spelling mistakes (patch by Debian maintainer)
78        - Added new "Serialization" framework (and equally named namespace)
79          which allows to serialize and deserialize native C++ objects
80          in a portable, easy and flexible way.
81        - print compiler warning if no RTTI available
82        - Fixed potential crash in command line tools gig2stereo, korg2gig,
83          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 10  Version SVN trunk Line 94  Version SVN trunk
94        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
95        large monolithic file, otherwise if .gig file is < 2 GB check for        large monolithic file, otherwise if .gig file is < 2 GB check for
96        "extension" files (.gx01, .gx02, ...) instead.        "extension" files (.gx01, .gx02, ...) instead.
97        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
98          if there were dimensions after the velocity dimension: it only created
99          valid velocity tables for cases of dimensions lower than the velocity
100          dimension.
101        - added new method Sample::VerifyWaveData() which allows to check whether
102          a sample had been damaged for some reason
103        - Fix: samples' CRC checksums were damaged on file structure changes.
104        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
105        - Added new method Sample::GetWaveDataCRC32Checksum().
106        - Changed default value of EG2Release (filter release time) to 60s.
107        - Instruments' default pitch bend range is now +-2 semi tones.
108        - Fixed CRC checksums being wrong sometimes.
109        - Fix: method File::AddContentOf() did not clone script groups and scripts
110          of passed original file.
111        - Added support for serializing & deserializing DimensionRegion
112          objects (and crossfade_t and leverage_ctrl_t objects).
113        - Added enum reflection API functions for retrieving enum declaration type
114          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 23  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:
148        - Archive: Added method isModified().
149        - Archive: Added method setAutoValue().
150        - Archive: Added method setIntValue().
151        - Archive: Added method setRealValue().
152        - Archive: Added method setBoolValue().
153        - Archive: Added method setEnumValue().
154        - Archive: Added method valueAsString().
155        - Archive::rawData(): Automatically re-encode new raw data stream if
156          archive had been modified (i.e. by remove(), setAutoValue(), etc.).
157        - Object: Added method memberByUID().
158        - Object: remove() method is now protected.
159        - Archive: Added method removeMember().
160        - Archive: Added methods name() and setName().
161        - Archive: Added methods comment() and setComment().
162        - Archive: Added methods timeStampCreated(), timeStampModified(),
163          dateTimeCreated() and dateTimeModified().
164        - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
165        - DataType: Implemented demangling C++ type names (for methods
166          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 32  Version SVN trunk Line 182  Version SVN trunk
182      - fixed c++11 narrowing warnings      - fixed c++11 narrowing warnings
183      - fixed fine tuning which was not translated at all      - fixed fine tuning which was not translated at all
184    
185      * src/tools/gigdump.cpp:
186        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
187          dimension regions
188        - additionally print RIFF chunk file offset and RIFF chunk size of sample
189          data
190        - added and implemented new parameter "--verify" which allows to check
191          the raw wave form data integrity of all samples
192        - added and implemented new parameter "--rebuild-checksums" which allows
193          to recalculate the CRC32 checksum of all samples' raw wave data and
194          rebuilding the gig file's global checksum table (i.e. in case the
195          file's checksum table was damaged)
196        - print samples' CRC32 checksums
197        - Print the new EG behavior options (eg_opt_t).
198    
199      * src/tools/gigextract.cpp:
200        - Fix: if sample name contains a path separator (slash or backslash) then
201          replace them by a minus sign to avoid file system issues.
202    
203      * src/tools/gig2stereo.cpp:
204        - Also merge mono sample pairs with non matching loop information if
205          argument --incompatible was given.
206    
207    * packaging changes:    * packaging changes:
208      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
209        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.3524

  ViewVC Help
Powered by ViewVC