Permalink
Switch branches/tags
Commits on Sep 14, 2015
  1. cperl-5.22.1 release

    Reini Urban committed Sep 14, 2015
    Get the ball rolling.
    
    No Tolkin quote.
    
    cperl is also less postmodern than perl5.  There is usually a best way to
    do it. Internally. In language interpreters there are not many good options,
    but many bad ones.
    cperl also not a religion.  We are liberal and don't enforce faith in the
    maintainers.  You can light a candle, nice, but we won't expell you if you
    do not.
  2. win32: win32/GNUmakefile

    Reini Urban committed Sep 14, 2015
    add Config.dll rule (untested) for mingw gcc
  3. win32: remove the #if also in config_h.SH

    Reini Urban committed Sep 14, 2015
    Replace it in the special win32/config_h.PL regex.
  4. win32: Improve win32/FindExt for static_ext

    Reini Urban committed Sep 14, 2015
    Allow possible static_ext Config and warnings, even if the win32
    build system doesn't allow that.
    But check the Config hash if it exists already. [cperl #33]
  5. win32: remove shell code from config_h.SH

    Reini Urban committed Sep 14, 2015
    if a hash_func is defined. But we have now a proper default,
    so get rid of the test.
    win32/config_h.PL does not understand it.
    
    allow old-style -Accflags='DPERL_HASH_FUNC_SIPHASH'
    so we need to check for all.
  6. Win32 build fixes

    bulk88 committed with Reini Urban Sep 14, 2015
    - "n." makefile syntax error, introduced by commit "attributes 0.26_01c"
    
    - using a var for array length apparantly isn't a constant expression
      according to Visual C which is C89
    ..\xsutils.c(713) : error C2057: expected constant expression
    ..\xsutils.c(713) : error C2466: cannot allocate an array of constant size 0
    ..\xsutils.c(713) : error C2133: 'name' : unknown size
    
    - add pp_type.c as core .o file,
    globals.obj : error LNK2001: unresolved external symbol _Perl_pp_i_aelem
    
    - \ paths cause win32's copy command to fatally error, change to / paths
    
    - on a rebuild, (mini) Config.pm can't be written to since it is Config XS
      last created it, and EUMM makes all built things RO with chmod, so
      de-readonly it to undo the RO attribute EUMM added
    
    -#ifdef inside a CPP macro is illegal
            cl -c    -nologo -GF -W3 -Od -MD -Zi -DNDEBUG -GL -DWIN32 -D_CONSOLE -DN
    O_STRICT -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D_
    USE_32BIT_TIME_T -DPERLDLL -Od -MD -Zi -DNDEBUG -GL    -DVERSION=\"2.00c\"  -DXS
    _VERSION=\"2.00c\"  "-I..\..\lib\CORE"  -DLIBC="msvcrt.lib" DynaLoader.c
    DynaLoader.c
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2146: syntax error : mi
    ssing ')' before identifier 'ifdef'
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2144: syntax error : '<
    Unknown>' should be preceded by '<Unknown>'
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2144: syntax error : '<
    Unknown>' should be preceded by '<Unknown>'
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2143: syntax error : mi
    ssing ')' before 'identifier'
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    c:\sources\cperl\ext\DynaLoader\dlutils.c(1070) : error C2121: '#' : invalid cha
    racter : possibly the result of a macro expansion
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    Unsuccessful make(ext/DynaLoader): code=512 at ..\make_ext.pl line 575.
    
    -rename perlbug, perldoc and perlivp, they were renamed in
     commit "cperl: update INSTALL, perlbug, perldoc" but not for win32
  7. STATUS: mention the inability to build Config

    Reini Urban committed Sep 14, 2015
    with OS-specific non-unix Makefiles. e.g. Windows, VMS, os2, Cross,
    NetWare.
  8. win32/FindExt cannot depend on Config

    Reini Urban committed Sep 14, 2015
    as FindExt is used to generate Config.
    cannot support -Dstatic_ext=Config or warnings with win32 for now,
    until win32/FindExt.pm is generated or patched up.
    Fixes [cperl #33], thanks to bulk88
  9. win32: rename perl523 to cperl522

    Reini Urban committed Sep 14, 2015
  10. Config: fix \\ quoting

    Reini Urban committed Sep 14, 2015
    fixes trnl: len=2 and "\\n" and \c also.
    quote \" and dquote \
  11. travis: move -Uusecperl to allow_failures

    Reini Urban committed Sep 14, 2015
    [cperl #34]
  12. travis: change allow_failures

    Reini Urban committed Sep 14, 2015
    not honored
  13. travis: add test for -Uusecperl

    Reini Urban committed Sep 14, 2015
    currently XSLoader is missing
    [cperl #34]
  14. -Uusecperl: boot_DynaLoader, boot_core_xsutils()

    Reini Urban committed Sep 14, 2015
    boot_DynaLoader and boot_core_xsutils
    are needed even without usecperl.
    we have no PP attributes, strict, DynaLoader et al anymore.
    boot them.
    Makes perl compile on cperl, but there are some test errors
    [cperl #34]
  15. -Uusecperl: skip SvNATIVE

    Reini Urban committed Sep 14, 2015
    [cperl #34], thanks to bulk88
  16. Config: fix \\ quoting

    Reini Urban committed Sep 14, 2015
    fixes trnl: len=2 and "\\n" and \c also.
    quote \" and dquote \
  17. Makefile: add XSLoader to DL_SRC

    Reini Urban committed Sep 14, 2015
    XSLoader is now included into DynaLoader [cperl #34]
  18. travis: skip the failing porting/authors test

    Reini Urban committed Sep 14, 2015
    on TRAVIS only. The fix for the pending authors obviously affected
    this one. [cperl #32]
  19. Config: more to avoid Config races

    Reini Urban committed Sep 14, 2015
    explicit deps for configpm.
    [cperl #32]
  20. travis: allow travis to change Config_xs.{in,out}

    Reini Urban committed Sep 14, 2015
    add it to the authors temp. to pass t/porting/pending-author.t
    [cperl #32]
  21. travis: TODO thread+DEBUGGING

    Reini Urban committed Sep 14, 2015
    This has crazy errors:
    '-Duse64bitall -Dusethreads -DDEBUGGING' CC='clang'
    [cperl #32]
  22. Porting: add all customized CPAN files

    Reini Urban committed Sep 14, 2015
    List them in Porting/Maintainers.pl for all
    affected CPAN releases.
  23. porting: customized ExtUtils-CBuilder tests

    Reini Urban committed Sep 14, 2015
    for Travis: [cperl #32]
  24. travis: skip instable 2 ExtUtils-CBuilder tests

    Reini Urban committed Sep 14, 2015
    on TRAVIS. [cperl #32]
  25. travis: more tuning. allow Config to fail. make 2x

    Reini Urban committed Sep 13, 2015
  26. travis: more builds (also threaded)

    Reini Urban committed Sep 13, 2015
  27. threads: fix remaining tests

    Reini Urban committed Sep 13, 2015
    Fixes [cperl #30]
  28. threads: add gv_fetchmethod_pvs_flags

    Reini Urban committed Sep 13, 2015
    The new gv api is together with the lexicals warnings non-API
    a highlight of confusion and API horrors.
    
    gv_fetchmethod_autoload is really a gv_fetchmethod_flags because it does
    not autoload, only with a true 3rd arg. gv_fetchmethod_flags and
    gv_fetchmethod_pv_flags are not generally usable because of the
    non-support of binary names, but ok internally for core.
    
    gv_fetchmethod_* cannot deal with protected stashes, because it tries
    a destructive hash lookup in a restricted hash just to find a method
    name which causes a run-time error. so we have now to protect each
    gv_fetchmethod_autoload from protected stashes.
    
    gv_fetchmethod_pvs_flags is my new helper for compile-time static strings.
    
    TODO: With protected stashes and an existing AUTOLOAD method do not error
    and perform the AUTOLOAD. Without autoload just search for the method, but
    not GV_ADD, thus do not error.
    
    See [cperl #31]
  29. threads: protect readonly stashes from CLONE

    Reini Urban committed Sep 13, 2015
    gv_fetchmethod_autoload which is used to find a CLONE or
    CLONE_SKIP method is not usable for protected stashes.
    
    use gv_fetchsv(name, GV_NOADD_NOINIT, SVt_PVCV) there instead to avoid
    errors like "Attempt to access disallowed key 'CLONE' in the restricted
    hash '%main::UInt::'"
  30. Config_boot: avoid mini_boot race

    Reini Urban committed Sep 13, 2015
    create lib/Config.pm before lib/buildcustomize.pl
  31. READONLY %{qw(! Internals)} in t/op/stash.t

    Reini Urban committed Sep 13, 2015
    The %Internals:: and %::! stashes should not be deleted and changed
    in t/op/stash.t 5 where we check which stashes we can
    delete with Internals::SvREADONLY, but when Internals:: gets deleted,
    we get a Attempt to free unreferenced glob pointers during global destruction.
    Accessing %! will tie Errno.pm, and tries to load it, which may lead to
    fatal errors with most other core stashes being already deleted.
    
      use Exporter; package A; sub a { // };
      for (keys %::) {delete $::{$_} unless Internals::SvREADONLY(%{$_})}
    
    Fixes [cperl #29].
    Also fix whitespace in pp_delete, proper indentation.
  32. Protect when PL_globalstash was deleted [cperl #29]

    Reini Urban committed Sep 13, 2015
    repro with t/op/stash.t 5 when deleting %main::! in some cases
    (depending on the hash order).
  33. new_SV: protect from freed CopFILE(PL_curcop)

    Reini Urban committed Sep 13, 2015
    With -DDEBUG_LEAKING_SCALARS only
    See #29
  34. DynaLoader: default @INC on AVREF

    Reini Urban committed Sep 13, 2015
    Set the default @INC member "." when the AVREF call returns no result
  35. pod: extend perlsub and perltypes from the multi branch

    Reini Urban committed Sep 13, 2015
    2 new type functions, and fix the docs for call-by-ref.