Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: opt_methods
Commits on Sep 27, 2011
  1. merge from blead

    authored
  2. Export DynaLoader symbols from libperl again

    authored
    With 5.15.2 and the new xubpp, DynaLoader symbols were XS_INTERNAL, before
    they were effectively XS_EXTERNAL. This broke B::C and possibly other
    embedded apps which link to DynaLoader functions.
  3. Florian Ragwitz
  4. Avoid a "use of uninitialized value" warning from pwent.t

    Nicholas Clark authored
    16acebf refactored parts of t/op/pwent.t and enabled warnings.
    The refactoring was not the cause - the previous t/op/pwent.t code would
    warn if run with -w.
    
    On OS X (and presumably any other platform where the test processes the
    output of /usr/bin/dscl), where a user does not have a real name, dscl does
    not output a corresponding line, and as a result the test's processing code
    had undef in a data structure. The implicit conversion of this to an empty
    string was correct for the test to pass, but generates a warning when
    warnings are enabled. Hence disable this specific warning for the minimal
    scope where the conversion is wanted behaviour.
Commits on Sep 26, 2011
  1. Florian Ragwitz
  2. Florian Ragwitz

    Add 5.14.2 to perlhist

    rafl authored
  3. Florian Ragwitz

    Add 5.14.2-RC1 to perlhist

    rafl authored
  4. Florian Ragwitz

    Add the 5.14.2 perldelta

    rafl authored
  5. Florian Ragwitz

    Add the 5.14.2 epigraph

    rafl authored
  6. podcheck.t: Work for scripts/utilities under VMS

    Karl Williamson authored
     As noted in the comments in the code for this commit, VMS builds
     add a '.com' suffix to scripts and utilities and hence their names don't
     match what is in podcheck's db.  This canonicalizes such names
     back to what the db is expecting.
Commits on Sep 25, 2011
  1. t/re/re_tests: Add TODO

    Karl Williamson authored
  2. perlrebackslash: Add missing paren to example

    Karl Williamson authored
  3. podcheck.t: New method for skipping .PL files

    Karl Williamson authored
    This reverts most of commit df80274
    and uses a different method to exclude .PL files, suggested by Nicholas
    Clark.
    
    It uses the MANIFEST to find such files and then excludes them based on
    the full path name.
  4. podcheck.t: Remove extra loop initialization

    Karl Williamson authored
    I think its clearer to put the subroutine call in each line of
    initialization
  5. podcheck.t: Move hash declaration to earlier in file

    Karl Williamson authored
    The only change is to move a block of code around.  This is to prepare
    for future commits
  6. podcheck.t: Move subroutine defn earlier in file

    Karl Williamson authored
    This is to prepare for future commits, to avoid a warning message
    about prototype checking
  7. podcheck.t: Don't calc value twice

    Karl Williamson authored
  8. podcheck.t: remove unused variable

    Karl Williamson authored
  9. Chris Williams
  10. Chip Salzenberg
  11. Avoid a double free with CORE->lc

    Father Chrysostomos authored
    The code for autovivifying coresubs for method calls ended up calling
    hv_store(stash,name,len,(SV *)gv,0) where gv is already in the stash
    under that entry.  Since hv_store takes ownership of one reference
    count and decrements that of what it overwrites (which is the same gv
    in this case), it ends up freeing the gv prematurely.
    
    It ended up making that call because S_maybe_add_coresub needs the
    stash to get its ENAME (which happens when called by gv_fetchmeth),
    but it also assumed that the presence of the stash meant the gv
    needed to be stored in it (as is the case with the other caller,
    gv_fetchpvn_flags).
    
    This patch reuses the fullen (full length) parameter as a flag to
    indicate that that hv_store call should be skipped.
    
    These workarounds for the assumptions that newATTRSUB makes are start-
    ing to make inlining look very attractive....
Commits on Sep 24, 2011
  1. regexp.t: print diagnostics with leading '#'

    Karl Williamson authored
    Some test platforms don't like unexpected output without the comment
    prefix character
  2. Add t/porting/checkcfgvar.t to run Porting/checkcfgvar.pl as a test.

    Nicholas Clark authored
    Add TAP generation and a --tap option to Porting/checkcfgvar.pl.
    
    In checkcfgvar.t, document its purpose, and the likely way to fix the
    problems that it has flagged up. This is a prototype before adding similar
    instructions to the other t/porting tests.
  3. A small refactor of checkcfgvar.pl

    Nicholas Clark authored
    For --list, only print the name out in one place.
    Remove a now-redundant sort for --regen.
    Alert the user if default values are not being added because --default was
    not specified.
  4. Refactor t/porting/regen.t to use TestInit q(T A);

    Nicholas Clark authored
    Previously it had custom code to change directory to the top of the source
    tree, and to convert the library paths to absolute. TestInit has common code
    for this.
  5. [perl #92898] Clarify (*THEN)’s scope

    Father Chrysostomos authored
Commits on Sep 23, 2011
  1. Document open fh, "<:"

    Father Chrysostomos authored
  2. Move the test for recursive call to Perl_load_module to t/io/perlio.t

    Nicholas Clark authored
    It's a croak(), not a warning, so doesn't really belong in lib/warnings.t
    [This also implicitly fixes the wrong expected output of 69dc7e4]
  3. Test perl #96008: use and require affected by open.pm

    Father Chrysostomos authored
  4. Brian Fraser

    [perl #96008] use and require are affected by the open pragma

    Hugmeir authored Father Chrysostomos committed
    % perl -e 'print "package F;\n # \xF1\n;1;"' > x.pl
    % perl '-Mopen=:encoding(utf8)' -e 'require "x.pl"'
    utf8 "\xF1" does not map to Unicode at x.pl line 1.
    
    Bit of a surprising discovery; Turns out that passing a single ":" for
    the layers skips the fetch from the context layers:
    perl -wE 'use open qw( :encoding(UTF-8) ); open my $fh, "<:", "etc"; say PerlIO::get_layers($fh);'
    
    That will only get the relevant default layers, while removing the
    colons makes it work as usual -- So we can abuse this (mis)feature to
    fix the bug.
  5. Move/rewrite test for Recursive call to Perl_load_module

    Father Chrysostomos authored
    This test was relying on a bug in require that causes it to use what-
    ever I/O layers are active in require‘s *caller* when opening a file
    [perl #96008].
    
    This rewrites the test using the example in ticket #75722.
    Since it no longer has anything to do with open.pm, it is now in
    t/lib/warnings/perlio.
  6. Make CORE->method work

    Father Chrysostomos authored
    This will probably not be used, but ought to be here for complete-
    ness’ sake.
    
    Method lookup needs to trigger the autovivification of coresubs.
    Since it does not use gv_fetchpvn_flags, the coresub-autovification is
    now in a separate static function, so that both standard gv lookup and
    method lookup can share it.
Commits on Sep 22, 2011
  1. perlre: Note a bug's existence

    Karl Williamson authored
Something went wrong with that request. Please try again.