Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvements from cperl #134

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open

improvements from cperl #134

wants to merge 44 commits into from

Commits on Jun 6, 2019

  1. CVE-2019-11358 jquery-1.12.4.js update to latest

    Also update the two plugins to latest,
    and adjusted the tablesorter css.
    rurban committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    45f38b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Configuration menu
    Copy the full SHA
    db79b1d View commit details
    Browse the repository at this point in the history
  2. Fixes for PERL_CORE and cperl integration

    make it work as cpan/Devel-NYTProf extension.
    fix the compiler warnings
    with cperl we dont need the XSLoader workaround
    pass podchecker
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    e4cf5a6 View commit details
    Browse the repository at this point in the history
  3. win32 CORE pathsep fixes

    as needed by cmd.exe
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    485d6e2 View commit details
    Browse the repository at this point in the history
  4. no diag 00-load with CORE

    These diagnostics are ony useful for failing cpantesters reports
    but not in core.
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    cb98a39 View commit details
    Browse the repository at this point in the history
  5. nytprofhtml without File::Which

    File::Which is not in core.
    prefer scriptdir over bin.
    rather use our hardcoded path to find the other tools.
    
    also fallback to Cpanel::JSON::XS from JSON::MaybeXS, which is also not in
    core
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    dc9482c View commit details
    Browse the repository at this point in the history
  6. Fix -Wc++11-compat warnings

    and the undefined OP_SETSTATE warning.
    Note that a dev. version 6.04_01 fails in the t/40-savesrc.t test
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    52a1ee0 View commit details
    Browse the repository at this point in the history
  7. prepare dev version support

    XSLoad the XS_VERSION string, not cleaned up float VERSION
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    f32e53d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    879381c View commit details
    Browse the repository at this point in the history
  9. fix -Wvarargs warnings

    change the enum tag to an int.
    warning: passing an object that undergoes default argument promotion to
          va_start has undefined behavior [-Wvarargs]
    Reini Urban authored and rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    75133d3 View commit details
    Browse the repository at this point in the history
  10. close raw_file on error

    Resource leak detected by coverity
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    a544df0 View commit details
    Browse the repository at this point in the history
  11. fix win64 warning

    in format arg
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    7cd5632 View commit details
    Browse the repository at this point in the history
  12. c++ -fpermissive compat

    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    7e75533 View commit details
    Browse the repository at this point in the history
  13. fix c++ with clock_gettime

    newer darwins since macOS 10.12 do have clock_gettime with clockid_t as
    1st arg, which fails to cast to IV with c++.
    change this argument to long, and fix the remaining clock_gettime()
    calls to use the CLOCK_GETTIME macro.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    8626932 View commit details
    Browse the repository at this point in the history
  14. fixup for c++ with clock_gettime

    adjust one printf format from IV to long.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    b8984ef View commit details
    Browse the repository at this point in the history
  15. bin/nytprofmerge

    Fix new Autovivified hash slice warning, cperl-only
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    180bb78 View commit details
    Browse the repository at this point in the history
  16. remove dead code

    Closes Coverity CID #165315
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    7cfb5d9 View commit details
    Browse the repository at this point in the history
  17. add ALLOW_SV_YES_AS_SUB check WIP

    5.27.7/5.27.3c started disallowing &PL_sv_yes as sub for silently ignoring
    a missing import/unimport.
    RT #63790 / timbunce#113
    
    TODO: get an invalid SP after importing NYTProf, with empty import sub.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    73235f6 View commit details
    Browse the repository at this point in the history
  18. no assign to PL_ppaddr[OP_SETSTATE]

    only with <5.11
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    58c150e View commit details
    Browse the repository at this point in the history
  19. honor cperl in perl_version

    use a c suffix. not used in any reader code
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    f241476 View commit details
    Browse the repository at this point in the history
  20. Replace U64_CONST with UINT64_C in modules

    the c99 names.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    04718d0 View commit details
    Browse the repository at this point in the history
  21. fix resolve_sub_to_cv

    Bug detected by scan-build: Branch condition evaluates to a garbage value.
    subname_gv_ptr == NULL holds a garbage stack value of dummy_gv. Initialize it.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    fb775ec View commit details
    Browse the repository at this point in the history
  22. fix MemoryProfiling.pod =item

    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    5a21139 View commit details
    Browse the repository at this point in the history
  23. .svn check => .git

    for all Currently a developer-only test checks
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    88550ca View commit details
    Browse the repository at this point in the history
  24. NYTPROF_TEST_PORTABILITY_FILES => AUTHOR_TESTING

    and disable the test_one_dot rule:
    .indent.pro, .travis.yml, t/test02.pf.csv
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    b33bf29 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2a134be View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    6e8fc4c View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f25b378 View commit details
    Browse the repository at this point in the history
  28. Test::More::note requires 0.82

    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    a349831 View commit details
    Browse the repository at this point in the history
  29. check version string against XS_VERSION

    VERSION is just the numified variant
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    d9f39ff View commit details
    Browse the repository at this point in the history
  30. more PERL_CORE fixes

    skip zlib -m32 cross-compiled
    skip touch t/test40pmc.pmc if it does not exist
    skip exit 0
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    a0742fe View commit details
    Browse the repository at this point in the history
  31. skip t/test14.t <5.014

    or adjust this testdata for early versions
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    8bdca46 View commit details
    Browse the repository at this point in the history
  32. t/44-model.t: strict => vars

    strict is a builtin in cperl, rather use vars.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    a7cffa1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c8691e6 View commit details
    Browse the repository at this point in the history
  34. skip signature op on cperl

    to get a functions cop.
    does not fix many undef-undef lines yet
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    1694fc4 View commit details
    Browse the repository at this point in the history
  35. current_cv: adjust from dump.c:deb_curcv

    describe eval context deviation from deb_curcv.
    handle faked sort sub.
    fix some typos, re-add some tracing
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    3e11da9 View commit details
    Browse the repository at this point in the history
  36. 22-readstream.t: skip anon subs

    import calls were previously ignored. now they
    appear, with cperl even named.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    3b9bc90 View commit details
    Browse the repository at this point in the history
  37. fixup nested streval numbering

    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    0964cb2 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    17883bc View commit details
    Browse the repository at this point in the history
  39. bump to 6.06_02

    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    df271f4 View commit details
    Browse the repository at this point in the history
  40. Bump to 6.06_03 for cperl-5.30.0

    cperl-5.39.2 shipped with 6.06_02 but without the jquery
    security fixes.
    rurban committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    24f0ccc View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2019

  1. fix remaining cperl tests

    workaround cperl not storing main:: prefixes
    in %DBsub keys. add it manually for perl5 compat.
    
    add . to @inc in core to be able to expand the test filenames.
    
    use alloca() for the first time in cperl (cperl only though)
    
    silence hashiter warning since v5.29.1c:
      "Attempt to change hash while iterating over it" in SubInfo
       while (each %$cb) { delete $cb->{$line} }
    
    skipped tests with cperl5.28:
    t/42-global.t        (Wstat: 8192 Tests: 289 Failed: 32)
    t/70-subname.t       (Wstat: 4096 Tests: 57 Failed: 16)
    t/test40pmc.t        (Wstat: 4096 Tests: 113 Failed: 16)
    t/test50-disable.t   (Wstat: 7168 Tests: 113 Failed: 28)
    t/test51-enable.t    (Wstat: 19456 Tests: 161 Failed: 76)
    t/test60-subname.t   (Wstat: 7168 Tests: 65 Failed: 28)
    t/test62-subcaller1.t (Wstat: 7168 Tests: 65 Failed: 28)
    rurban committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    5f62c3a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2019

  1. travis: add cperl

    rurban committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    9a281cd View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. cleanup test files

    rurban committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    7dff59c View commit details
    Browse the repository at this point in the history