Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 21, 2015
  1. @Util

    Prepare for the 7.0.0 release.

    Util authored
Commits on Jan 20, 2015
  1. @moritz
Commits on Jan 19, 2015
  1. @rurban

    [nci] fix new libffi code for big-endian

    rurban authored
    wrong pointer for nci sigs 2, 3. See GH #601.
  2. @rurban

    ChangeLog: for #1180

    rurban authored
  3. @rurban

    [core] silence Unknown codeset `', defaulting to ASCII

    rurban authored
    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.
  4. @rurban
  5. @rurban
  6. @rurban
Commits on Jan 18, 2015
  1. @rurban

    [nci] fix 234 call_ffi calculation for cornercases

    rurban authored
    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
  2. @rurban

    Merge branch 'smoke-me/rpa-splice-shrink-fast-gh1174'

    rurban authored
    Smoked ok, tested also on centos5 32bit and darwin ppc.
  3. @rurban

    ChangeLog: more tuning

    rurban authored
  4. @rurban
  5. @rurban

    [pmc] this should be the last splice fix GH #1176

    rurban authored
    Do not enlarge the array on overlarge offset. Rather fix the offset, as in perl5.
    Add a proper testcase also
  6. @rurban
  7. @rurban

    [pmc] fix more rpa splice cases #1174 + #1175 + #1176

    rurban authored
    - 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.
  8. @rurban

    [test] refactor t/stress/rpa-splice.t

    rurban authored
    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
  9. @rurban

    [test] enable the rpa-splice offset past end warning

    rurban authored
    See GH #1176. In parrot we have to manually enable the warning, in perl5 not. Whatever.
Commits on Jan 17, 2015
  1. @rurban

    [test] fix testcases for #1176

    rurban authored
    check now for proper splice() offset past end of array exceptions
  2. @rurban

    [test] add testcases for #1176

    rurban authored
    we see now splice() offset past end of array excpetions in perl5 and parrot.
    This is of course not yet usable as such
  3. @rurban

    [pmc] rpa: add splice: offset past end of array exception

    rurban authored
    conformant to perl5 semantics. Closes GH #1176
  4. @rurban

    [test] add more rpa-splice stress tests

    rurban authored
    this time with explicit result checks, with perl5 semantics.
    All tests pass, the new #1175 assertion in splice grow with (5,4,8) off=0 count=0
    not repro yet
  5. @rurban

    [pmc] fix rpa shrink fast GH #1174

    rurban authored
    shrink (deleted) off-by-one. Passes now the new stress tests.
    Closes GH #1174 and fixes perl6/nqp 209
  6. @rurban

    [test] add test and stress tests for GH #1174

    rurban authored
    delete one too less in rpa splice shrink fast
Commits on Jan 16, 2015
  1. @rurban

    [pmc] temp. disable the rpa splice shrink fast optimization branch

    rurban authored
    to fix a perl6 blocker perl6/nqp#209, GH #1174.
    But this broke test 129 of t/pmc/resizablepmcarray.t
    WIP
Commits on Jan 15, 2015
  1. @rurban

    Merge branch 'smoke-me/new-thunks-gh1171'

    rurban authored
    Smoked ok
  2. @rurban
  3. @rurban

    nci: add ipp sig to core thunk for nci.t 32 funcptr

    rurban authored
    also fix the nci.t structure for the skips
  4. @rurban

    nci: avoid static thunks for 234

    rurban authored
    The cc optimizer will create invalid conversions due to strict aliasing.
    We rather rely on the better code in libffi to convert 234 intrefs dynamically.
    Closes GH #1171
  5. @rurban

    nci: fix static thunks

    rurban authored
    add slow support for t234 refs to nci_thunk_gen.pir.
    libfii manipulates the iv slots directly, but we go the safe and slow route here.
    special-case t234 as if they were refs.
    
    Makefile: warn when one of the src/nci/*_thunks.c is out of date.
  6. @rurban

    nci_thunk_gen.pir v0.03

    rurban authored
    properly cast argument pc c<=> c types.
    regenerate thunks, now without warnings
  7. @rurban

    nci: bootstrap-nci static thunks

    rurban authored
    enable t234 in nci_thunk_gen.pir
  8. @rurban

    nci: move t/pmc/nci.t signatures from extra to core

    rurban authored
    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
  9. @rurban

    [docs] undeprecate t234 in docs/pdds/draft/pdd16_native_call.pod

    rurban authored
    They are required for most NCI samples and were never properly replaced.
  10. @rurban

    nci: add SDL thunk definitions

    rurban authored
Commits on Jan 14, 2015
  1. @rurban

    nci: provide new thunk definitions

    rurban authored
    generated all used Curses signature thunks.
    Added the new/old nci types t234 to the thunk generator.
Something went wrong with that request. Please try again.