Subject: CVS commit: pkgsrc/audio/libxmp
From: Rui-Xiang Guo
Date: 2015-02-10 04:30:03
Message id: 20150210033003.7B9BF98@cvs.netbsd.org

Log Message:
4.3.5 (20150207):
	Fix crashes with fuzzed files (reported by Lionel Debroux):
	- add sanity check for ST3 S3M maximum sample size
	- add sanity check for sample loop start
	- add sanity check for speed 0
	- add sanity check for invalid XM effects
	- add sanity check for maximum number of channels
	- add sanity check for number of points in IT envelope
	- add sanity check for S3M file format information
	- add sanity check for maximum sample size
	- add sanity check for invalid envelope points
	- add sanity check for basic module parameters
	- add sanity check for instrument release after load error
	- add sanity check for XM header size
	- add sanity check for XM/IT/S3M/MTM/RTM parameters and sample size
	- add sanity checks to inflate and lha decompressors
	- add more tests to 669 and NO file detection
	- fix mixer index overflow with large samples
	- fix prowizard data request response
	- fix EU/NP1/NP2/NP3 prowizard depackers
	- fix crash on attempt to play invalid sample
	- fix infinite loop in break+delay quirk
	- reset module data before loading module
	Other changes:
	- fix loop processing error in scan (reported by Lionel Debroux)
	- fix minimum BPM value for MED (reported by cspiegel)
	- fix sample loop adjustment (by Emmanuel Julien)

4.3.4 (20150111):
	Fix bugs caught in the OpenMPT test cases:
	- fix XM keyoff+delay combinations
	- fix XM fine pitch slide with pattern delay
	- fix XM vibrato rampdown waveform
	- fix XM volume column pan with keyoff and delay
	- fix XM pan envelope position setting
	- fix channel volume and instrument initialization
	- fix end of module detection inside a loop
	Fix bugs reported by Francisco Pareja-Lecaros:
	- fix MASI (PSM) volume command
	- fix MASI (PSM) note number parsing
	- fix Noisetracker note limit detection
	Other changes:
	- fix overflow in linear interpolator (reported by Jochen Goernitz)
	- fix MTM invalid track load (reported by Douglas Carmichael)
	- add ProPacker 3.0 loader

4.3.3 (20141231):
	Fix bugs caught in the OpenMPT test cases:
	- fix XM note delay volume with no note or instrument set
	- fix XM out-of-range note delays with pattern delays
	Other changes:
	- fix XM envelope loop length (reported by Per Törner)
	- fix big-endian detection in configuration (by Andreas Schwab)

4.3.2 (20141130):
	Fix bugs caught in the OpenMPT test cases:
	- fix IT invalid instrument number recovery
	- fix IT note retrig on portamento with same sample
	- fix XM portamento target reset on new instrument
	- fix XM portamento with offset
	- fix XM pan slide memory
	- fix XM tremolo and vibrato waveforms
	- fix MOD pattern break with pattern delay
	- fix MOD Protracker offset bug emulation
	- fix tremolo rate
	Other changes:
	- fix IT portamento after keyoff and note end
	- fix IT fadeout reset on new note
	- fix IT pattern row delay scan
	- fix MOD/XM volume up+down priority (reported by Jason Gibson)
	- fix MOD fine volume slide memory (reported by Dennis Lindroos)
	- fix set sample offset effect (by Dennis Lindroos)
	- fix Windows temp file (reported by Andreas Argirakis & Eric Lévesque)
	- add emulation of the FT2 pattern loop bug (by Eugene Toder)
	- allow loading of packed formats from memory
	- allow loading of OpenMPT MOD files with large samples
	- enable offset bug emulation by default for Protracker MODs
	- code cleanup

4.3.1 (20141111):
	Fix bugs caught in the OpenMPT test cases:
	- fix IT filter envelope range
	- fix IT envelope carry after envelope end
	- fix XM note off with volume command
	- fix XM K00 effect handling
	- fix XM portamento with volume column portamento
	- fix XM keyoff with instrument
	- fix XM note limits
	Fix bugs reported by Andreas Argirakis:
	- fix MOD false positive for UNIC Tracker modules
	- fix EMOD instrument finetune
	- fix UNIC Tracker instrument finetune test
	- fix NoisePacker1 loader
	Other changes:
	- fix IT tone portamento in first note (reported by Jan Engelhardt)
	- fix XM invalid memory access in event reader
	- fix STM empty note event read
	- fix ABK loader test in Win32
	- fix MOD period range enforcing (reported by Jason Gibson)
	- fix ST2.6 speed effect (reported by Saga Musix)
	- fix corner case memory leak in S3M loader
	- fix retrig of single-shot samples after the end of the sample
	- fix crash in envelope reset with invalid instrument
	- fix module titles and instrument names in Mac OS X
	- fix row delay initialization on new module
	- refactor depacking code
	- code cleanup

4.3.0 (20140926):
	Fix bugs reported by Sami Jumppanen:
	- fix MED4 instrument numbering
	- fix MED effect FFF (turn note off)
	- fix MED synth finetune effect
	Fix bugs reported by Alexander Null:
	- fix fine volume slide memory
	- fix IT portamento after note end in sample mode
	- fix S3M portamento after note end
	Fix bugs caught in the OpenMPT test cases:
	- add XM and IT envelope loop and sustain point quirk
	- fix Amiga limits for notes with finetune
	- fix XM invalid offset handling
	- fix XM note release reset on new volume
	- fix XM pattern loader to honor header size
	- fix XM fine volume slide effect memory
	- fix XM fine pitch slide effect memory
	- fix XM finetune effect
	- fix IT portamento if offset effect is used
	- fix IT NNA on invalid sample mapping
	- fix IT filter envelope index reset
	- fix IT envelope carry on note cut events
	- fix IT envelope reset on new instrument
	- fix IT instrument change on portamento in compatible GXX mode
	- fix IT unmapped sample parsing
	- fix IT filter cutoff reset
	Other changes:
	- add API call to load a module from a file handle
	- add API call to set default pan separation value
	- add OpenMPT test cases to regression test suite
	- add AMOS Music Bank loader (by Stephen Leary)
	- refactor memory I/O calls
	- read OctaMED annotation and song info text
	- fix segfault in mixer caused by sample position overflow
	- fix MED synth pitch slide reset on new note
	- fix MED synth volume change during wait command
	- fix MED synth envelope loop handling (reported by Stefan Martens)
	- fix OctaMED SS default pitch transpose (reported by Karl Churchill)
	- fix OctaMED instrument name loading
	- fix XM, S3M, IT and MED offset effect handling
	- fix IT fadeout and envelope reset on new virtual channel
	- fix S3M shared effect parameter memory
	- fix S3M default pan positions
	- fix S3M set BPM effect with values < 32 (reported by Kyu S.)
	- fix incorrect Noisetracker effect filtering (reported by Kyu S.)
	- fix period limits for (possibly non-Amiga) Protracker clones
	- fix loop counter reset on play buffer reset
	- fix finetune effect

4.2.8 (20140714):
	Fix bugs reported by Sami Jumppanen:
	- fix OctaMED decimal volume decoding
	- fix MED4 sampled instrument octave range
	- fix mishandling of MED4 effect FFD
	- fix MED synth waveform command CHD
	Other changes:
	- fix sequence number reset on player start
	- fix stray notes in XM (reported by Andreas Argirakis)
	- limit note number to avoid crash (reported by Bastian Pflieger)
	- disable recursive file decompression

Files:
RevisionActionfile
1.8modifypkgsrc/audio/libxmp/Makefile
1.7modifypkgsrc/audio/libxmp/distinfo
1.2modifypkgsrc/audio/libxmp/patches/patch-src_common.h