--- libgig/trunk/ChangeLog 2019/12/14 17:04:28 3656 +++ libgig/trunk/ChangeLog 2021/02/14 14:21:55 3859 @@ -2,6 +2,7 @@ * general changes: - Require at least a C++11 compliant compiler. + - Require some UUID generating function by underlying system. * src/gig.cpp, src/gig.h: - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm, @@ -15,8 +16,11 @@ - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase (the original Gigasampler/GigaStudio software only had that flip phase option for LFO1 and LFO2). - - Added method DimensionRegion::UsesAnyGigFormatExtension() (however only as - private method yet, see comments on method why). + - Added methods DimensionRegion::UsesAnyGigFormatExtension(), + Region::UsesAnyGigFormatExtension(), + Instrument::UsesAnyGigFormatExtension() and + File::UsesAnyGigFormatExtension() (however only as private methods yet, + see comments on methods why). - GIG FORMAT EXTENSION: added LinuxSampler specific filter type implementations to enum vcf_type_t: vcf_type_lowpass_1p, vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p, @@ -24,6 +28,45 @@ vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p. - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks (patch by Ivan Maguidhir). + - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks + (original patch by Ivan Maguidhir). + - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed + dimensions being in different order after deleting a dimension zone. + - Script: Generate a persistent UUID for each script. + - GIG FORMAT EXTENSION: Added support for script 'patch' variables and + accordingly added new methods to Instrument class: + IsScriptPatchVariableSet(), GetScriptPatchVariables(), + GetScriptPatchVariable(), SetScriptPatchVariable(), + UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk + as child of our '3LS ' list chunk on Instrument level. + - Fixed undefined behaviour when modifying script slots on an instrument + that had been cloned and not been saved yet (e.g. unintended modification + of original instrument's script slots, and crash on Instrument destruction + due to double free of pScriptRefs). + + * src/Serialization.cpp, src/Serialization.h: + - Fixed broken Archive(RawData) constructor which always threw an + Exception. + - Added built-in support for C++ String objects (a.k.a. std::string + from the STL) and bumped Srx format version to 1.1 for that reason. + - Fixed assertion fault on some systems if a member variable defined was + serialized which was declared as size_t or ssize_t data type. + - Added new method Archive::operation() which allows applications to + distinguish between serialization vs. deserialization in their + serialize() method implementations. + - Added built-in support for C++ Array<> objects (a.k.a. std::vector from + the STL). + - Member offsets are now signed and for (newly added support of) member + variables on the heap -1 is always used as offset instead. + - Added built-in support for C++ Set<> objects (a.k.a. std::set from the + STL). + - DataType: Added optional 2nd custom type name. + - Added built-in support for C++ Map<> objects (a.k.a. std::map from the + STL). + + * src/helper.h: + - Fix compile error with GCC 9 due to ignored result value of vasprintf() + function call. * src/tools/gigdump.cpp: - Print dimension region properties LFO1WaveForm, LFO2WaveForm,