--- libgig/trunk/ChangeLog 2021/06/17 10:29:54 3936 +++ libgig/trunk/ChangeLog 2021/06/19 10:44:14 3957 @@ -29,6 +29,37 @@ - Changed signature of method File::GetGroup(uint) to File::GetGroup(size_t). - Fixed File::GetGroup(size_t) to be reentrant-safe. + - Marked methods GetFirstGroup() and GetNextGroup() as deprecated. + - Fixed GetGroup(String) to be reentrant-safe. + - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire + gig.cpp file. + - Changed signature of method File::GetInstrument(uint,progress_t*) to + File::GetInstrument(size_t,progress_t*). + - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe. + - Marked methods File::GetFirstInstrument() and File::GetNextInstrument() + as deprecated. + - Use File::GetInstrument() instead of File::GetFirstInstrument() / + File::GetNextInstrument() in entire gig.cpp file. + - Optimized method ScriptGroup::GetScript() to have constant time + efficiency. + - Changed signature of method File::GetScriptGroup(uint) to + File::GetScriptGroup(size_t). + - Optimized method File::GetScriptGroup(size_t) to have constant time + efficiency. + - Changed signature of method ScriptGroup::GetScript(uint) to + ScriptGroup::GetScript(size_t). + - Changed signature of method Instrument::GetScriptOfSlot(uint) to + Instrument::GetScriptOfSlot(size_t). + - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to + Instrument::SwapScriptSlots(size_t,size_t). + - Changed signature of method Instrument::RemoveScriptSlot(uint) to + Instrument::RemoveScriptSlot(size_t). + - Changed signature of method Instrument::ScriptSlotCount() to return + size_t instead of uint. + - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to + Instrument::IsScriptSlotBypassed(size_t). + - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool) + to Instrument::SetScriptSlotBypassed(size_t,bool). * src/SF.cpp, src/SF.h: - File::DeleteInstrument(): Fix clang sanatizer warning. @@ -48,6 +79,12 @@ deprecated. - Use File::GetSample() instead of File::GetFirstSample() / File::GetNextSample() in entire DLS.cpp file. + - Added method Articulator::GetArticulation(). + - Marked methods Articulator::GetFirstArticulation() and + Articulator::GetNextArticulation() as deprecated. + - Added method File::GetInstrument(). + - Marked methods File::GetFirstInstrument() and File::GetNextInstrument() + as deprecated. * src/RIFF.cpp, src/RIFF.h: - Chunk::LoadChunkData(): Fix clang sanatizer warning.