Permalink
Switch branches/tags
Commits on Nov 23, 2013
  1. win: results of module tests. not yet release ready

    Reini Urban
    Reini Urban committed Aug 25, 2013
  2. C: fix newGP replacement for windows

    Reini Urban
    Reini Urban committed Oct 11, 2012
    proto.h still defines Perl_newGP as being imported, despite its embed.fnc flags.
    So we get _imp_Perl_newGP not being found errors when linking with the perl516 importlib.
    
    Fixed Conflicts:
    	lib/B/C.pm
  3. C major change: skip redefinition of internal XS CVs

    Reini Urban
    Reini Urban committed Mar 6, 2013
    Internal XS xsubs are already booted in the perl_parse step.
    When we encounter them we set new GPs for those, which was a problem on Windows
    where we cannot declare and boot the said XS functions (not exported).
    We rather keep the old GV, GP and CV.
    
    Conflicts:
    	Changes
  4. C: cast PVX to char* from const char or ptr_undef

    Reini Urban
    Reini Urban committed Nov 23, 2013
    to avoid warning: initialization from incompatible pointer type
  5. C: fix some minor warnings

    Reini Urban
    Reini Urban committed Nov 23, 2013
    non in void context
    uninitialized const
    redefinition of SVs_GMG
    
    issue71.t is now fixed
    t/release-testing prefers now the old perlall-maketest
Commits on Nov 22, 2013
  1. C new-cog: fix 5.18 PADLISTs

    Reini Urban
    Reini Urban committed Nov 22, 2013
  2. C: new-cog fix remaining -O3 issues

    Reini Urban
    Reini Urban committed Nov 22, 2013
    save PV[NI]V->PVX $sym when !static
    use dynamic strings for padnames
    
    Fixes 125 also.
  3. C: new-cog fix static logic with shared_hek

    Reini Urban
    Reini Urban committed Nov 22, 2013
    Warning: not obvious and-logic with
      $static = $B::C::const_strings and ($sv->FLAGS & SVf_READONLY) and !$shared_hek
      which ignores $shared_hek and sets $static to 1
    
    Fixes -O3 regressions 42,43,74,200.
    Remaining regression: 125
  4. C: new-cog. Disable -O3 const_strings for curpad syms

    Reini Urban
    Reini Urban committed Nov 22, 2013
    Fixes -O3 tests: 12
    Already fixed before: 138,141
    Still failing -O3 regressions: 42,43,74,125,200
  5. C new-cog: unify constpv and savepv, use len=0 for static

    Reini Urban
    Reini Urban committed Nov 15, 2013
    IsCOW pvs are now cur+2, !IsCOW static or shared_hek: len=0
    unstatic all PV pads also.
    
    Failing tests: 12,42,43,74,75,95,125,143,152,159,166,185,188,200
  6. C new-cog: unstatic readonly and certain internal XSLoader pvs

    Reini Urban
    Reini Urban committed Nov 15, 2013
    Our own implementation of evaled XSLoader::load needs dynamic strings.
    
    Still failing -O3 tests: 12(new), 75,91,95,125,143,152,159,166(new),185,188
    so it fixed: 15,27,29,41-45,49,68,90,103,150
    and broke: 12,166
  7. C,CC: new-cog. disable -fcog, replace by -fconst-strings

    Reini Urban
    Reini Urban committed Nov 1, 2013
    start working on #141:
    -O3 adds -fcog, which sets most pvs to SvLEN=0 as static pv
    But static pv are only valid since cd84013aab030da47b76a44fb3
    (sv.c: !SvLEN does not mean undefined)
    i.e. since v5.17.6, because a conversion to IV would fail.
    
    Exception: Only a readonly "" or "0" string can have SvLEN=0 since it's
    converted to 0, which leads to the same result.
    
    perlcc -O3 -r -e'print "ok" if 1 == "1"'
    vs
    perlcc -O2 -r -e'print "ok" if 1 == "1"'
    ok
    
    refactor save_pv_or_rv to return if static
    handle shared_hek, READONLY and #141 (!SvLEN in 2iv) in save_pv_or_rv only
    Even static_free and SvFAKE_off post handling.
    
    Unify all PV handling code to use just save_pv_or_rv()
    move %optimization_map up, the the global init.
    CC: replace -fcog by -fconst_strings, even with >5.10 (does not work yet)
    
    POD: -fcog is now ignored and reserved for a future working IsCOW (5.22 maybe)
    
    Failing tests (14.4.4d-nt t/testc.sh -O3 -c -q)
      15,27,29,41-45,49,68,75,90,91,95,103,125,143,150,152,159,185,188
    vs release: 75,95, 138,141 (new-cog), 143,150,152,159,185,188
Commits on Nov 21, 2013
  1. C: minor reordering of sections, seperate $modxsname

    Reini Urban
    Reini Urban committed Nov 21, 2013
  2. C: add constant SVs_GMG (instead of $SVs_GMG)

    Reini Urban
    Reini Urban committed Nov 21, 2013
  3. C: abstract $section->typename (used in 2 places)

    Reini Urban
    Reini Urban committed Nov 21, 2013
    const sections do not work yet, as sections link to each other and some fields are written later to.
  4. C: fix $/ by checking GMG (get magic)

    Reini Urban
    Reini Urban committed Nov 20, 2013
    some PVs returned undef instead of their magic value, like PL_rs ($/).
    We should get this value by $sv->PV but this only calls SvPVX_const, not the proper SvPV_const macro.
    So we need to let perl expand the value for us.
    This should not happen for IV and NVs, I hope (TODO check)
Commits on Nov 20, 2013
  1. C+CC: fix regressions CC AV->MAGICAL in 5.6, PMf_ONCE <5.10, ARRAY_ut…

    Reini Urban
    Reini Urban committed Nov 20, 2013
    …f8<5.10
    
    B::AV->MAGICAL is not defined in 5.6, skip it in B::CC
    PMf_ONCE is not needed <5.10
    Skip ARRAY_utf8 <5.10, no shared heks there (and different sv class ids)
  2. C: mark #31 as fixed with B::C 1.42_55

    Reini Urban
    Reini Urban committed Nov 20, 2013
  3. C: fix perl5.18.1d t/issue130.t: CUR on undefined sv

    Reini Urban
    Reini Urban committed Nov 20, 2013
    Can't call method "CUR" on an undefined value at blib/lib/B/C.pm line 1814.
  4. The rx->PV should now look like the original one.

    Reini Urban
    Reini Urban committed Nov 20, 2013
    add all 3 testcases, 3rd being the shortest.
Commits on Nov 19, 2013
  1. C: fix #143, wrong length after double regex compilation

    Reini Urban
    Reini Urban committed Nov 19, 2013
    pregcomp changes the length of the compiled SV under the hood
    to stringify the rx interpretation of the flags, even if it's already done.
    This doesn't match the non-SvANY part of the pv.
    Reset the CUR/LEN after pregcomp.
  2. #143: simplify testcase, add -DR to B::C pod

    Reini Urban
    Reini Urban committed Nov 19, 2013
    also remove dead code for pmop save STASH, this is done in save_magic afterwards
  3. #143: reduced testcase

    Reini Urban
    Reini Urban committed Nov 19, 2013
    only the quoting of \. is wrong, not any utf8 char
Commits on Nov 18, 2013
  1. C #27: also add Config for Tie::Hash::NamedCapture (dynaloaded >=5.14)

    Reini Urban
    Reini Urban committed Nov 18, 2013
    also remove B dependency for Internals::V, use __ANON__ instead.
  2. C #27: for $! forcing Errno save Config before

    Reini Urban
    Reini Urban committed Nov 18, 2013
    We need to load and save Config so that when we force Errno
    the EGV for Errno::Config (and lateron DynaLoader::Config) is properly set.
    (The imported alias)
    This fixes now #27 run-time require again, in cases Errno or DynaLoader is
    (remotely) involved.
  3. revert part of 8bfcca4 (Nov 14)

    Reini Urban
    Reini Urban committed Nov 18, 2013
    perlcc passed -MO=C,-Wb=-fno-warnings to the compiler, not -MO=C,-fno-warnings
Commits on Nov 14, 2013
  1. C: Fix refcnt of all new core GVs

    Reini Urban
    Reini Urban committed Nov 14, 2013
    Fixes #225 and #227
    perlcc: add -Wb= to existing -Wb or -O\d options
  2. C: revert *-,*+,*! fetch magic, assign all core GVs to their global s…

    Reini Urban
    Reini Urban committed Nov 14, 2013
    …ymbols
    
    *!+- gv_fetch loading needs *INC, but this is not setup yet. so preload it again
    at compile-time. Fixes 901, 902, 903 (#199) but not 904 (#220) yet
    
    alias the proper global GVs: envgv, argvgv, incgv, stdingv, stderrgv, hintgv,
    defgv, errgv, replgv.
    strip defstash "main::" from gv_fetchpv calls
    
    fix sv_dump unthreaded
    more #201 testcases
  3. #90: add more testcases for @-, @+

    Reini Urban
    Reini Urban committed Nov 14, 2013
    filed as issue #220, already fixed in C