On small or old libc's nl_langinfo will just return an empty string, where we used to default to ASCII, in Parrot_init_platform_encoding(). This is a regression on ppc. Closes #1180.
failed on cygwin 32bit with INTVAL_SIZE=8, but probably also on all other special --intval and pointer sizes. Calculate the slack for INTVAL dynamically. Use it internally +1 for the switch fallthru. Improves GH #601
Smoked ok, tested also on centos5 32bit and darwin ppc.
- First, for debugging only: track if no TRACE_RPA was ever emitted and do it at the end to see a splice noop. - Second, on splice off > size, enlarge the array as in perl5, see GH #1176. - Third, disallow the splice shrink fast, just adjusting the offset if we have to keep one element at the left. - Forth, fix splice shrink followed by a grow or fill, by not adjusting the offset twice. - Fifth, on splice shrink fast, also adjust the new size, as the newsize branch below is not always taken (jump to splice_copy) Add an optional argument to t/stress/rpa-splice.t for the maxsize, default 7. We still have 'splice off > size' errors > 7.
For GH #1175 and #1176. Use the first negative count tests only under a memory checker, valgrind or asan/msan. Use dynamic done_testing for the test count and allow a flexible MAXCOUNT for the p0 size. Fix the offset overflow detection, only use that on off by one to avoid too many noisy perl5 warnings. Failed tests: 88, 102-103, 105, 273 with MAXSIZE=5
See GH #1176. In parrot we have to manually enable the warning, in perl5 not. Whatever.
conformant to perl5 semantics. Closes GH #1176
also fix the nci.t structure for the skips
update generated t/pmc/nci.t signatures and move it to core_thunks.nci extra can be omitted via --without-extra-nci-thunks. cache a useful subset of pregenerated thunks in core. Document how to generate or update the signatures from a module. Also refactor tools/dev/mk_nci_thunks.pl a bit: Add Windows support. Add more docs to tools/dev/nci_thunk_gen.pir
They are required for most NCI samples and were never properly replaced.