--- libgig/trunk/ChangeLog 2017/12/09 16:39:27 3398 +++ libgig/trunk/ChangeLog 2019/02/10 20:25:05 3464 @@ -6,10 +6,36 @@ not C++ comments; see lexer rules in src/pre.l of the Doxygen source code, which currently also filter out new line \n chars). + - Added new method File::CountSamples(). + - Added new method File::CountInstruments(). + - Fixed gig v4 files falsely being handled as v2 format + (patch by Ivan Maguidhir). + - Added gig v4 version identifier (File::VERSION_4). + - GIG FORMAT EXTENSION: Added attribute + DimensionRegion::SustainReleaseTrigger which allows to define whether + a sustain pedal up event shall cause a release trigger sample to be + played (default: don't play release trigger sample by sustain pedal). + - GIG FORMAT EXTENSION: Added attribute + DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the + regular behaviour of playing release trigger sample on MIDI note-off + events. + + * src/DLS.cpp, src/DLS.h: + - File: Fixed implicitly allocated RIFF::File object never been freed. * src/Serialization.cpp, src/Serialization.h: - Hide pure internal declarations from header file to avoid numerous compiler warnings when building and linking against the public API. + - Fixed comparision logic bug + - Fixed memory leak in DataType::customTypeName(). + + * src/RIFF.cpp, src/RIFF.h: + - Fix: Calling File::SetMode() left an undefined file handle on Windows and + caused a resource leak + + * src/tools/gigdump.cpp: + - Added command line option --instrument-names which causes only + instrument names and their index numbers to be printed. Version 4.1.0 (25 Nov 2017) * general changes: @@ -74,7 +100,7 @@ larger than 4 GB). - Exception class now has a variadic constructor which allows to add textual format specifiers like with printf(). - + * src/RIFF.cpp, src/RIFF.h: - added support for RIFF files larger than 4 GB, by default the required internal RIFF file offset size is automatically detected (that is RIFF