Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: opt_methods

Sep 27, 2011

  1. Reini Urban

    merge from blead

    authored September 27, 2011
  2. Reini Urban

    Merge branch 'blead' of git://perl5.git.perl.org/perl into blead

    authored September 27, 2011
  3. Reini Urban

    Export DynaLoader symbols from libperl again

    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.
    authored September 27, 2011
  4. Florian Ragwitz

    Upgrade perlfaq from version 5.0150034 to 5.0150035

    authored September 27, 2011
  5. Avoid a "use of uninitialized value" warning from pwent.t

    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.
    authored September 27, 2011

Sep 26, 2011

  1. Florian Ragwitz

    Dual-life perlglossary.pod as part of perlfaq

    authored September 26, 2011
  2. Florian Ragwitz

    Add 5.14.2 to perlhist

    authored September 26, 2011
  3. Florian Ragwitz

    Add 5.14.2-RC1 to perlhist

    authored September 19, 2011
  4. Florian Ragwitz

    Add the 5.14.2 perldelta

    authored September 26, 2011
  5. Florian Ragwitz

    Add the 5.14.2 epigraph

    authored September 26, 2011
  6. podcheck.t: Work for scripts/utilities under VMS

     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.
    authored September 25, 2011

Sep 25, 2011

  1. t/re/re_tests: Add TODO

    authored September 25, 2011
  2. perlrebackslash: Add missing paren to example

    authored September 25, 2011
  3. podcheck.t: New method for skipping .PL files

    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.
    authored September 25, 2011
  4. podcheck.t: Remove extra loop initialization

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

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

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

    authored September 25, 2011
  8. podcheck.t: remove unused variable

    authored September 25, 2011
  9. Chris Williams

    Synchronise Module::CoreList version in Maintainers.pl

    authored September 25, 2011
  10. Chip Salzenberg

    add a couple missing LEAVEs in perlio_async_run()

    authored September 19, 2011
  11. Avoid a double free with CORE->lc

    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....
    authored September 24, 2011

Sep 24, 2011

  1. regexp.t: print diagnostics with leading '#'

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

    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.
    authored September 23, 2011
  3. A small refactor of checkcfgvar.pl

    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.
    authored September 23, 2011
  4. Refactor t/porting/regen.t to use TestInit q(T A);

    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.
    authored September 23, 2011
  5. [perl #92898] Clarify (*THEN)’s scope

    authored September 23, 2011

Sep 23, 2011

  1. Document open fh, "<:"

    authored September 23, 2011
  2. Move the test for recursive call to Perl_load_module to t/io/perlio.t

    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]
    authored September 23, 2011
  3. Correct the expected results for the first perlio warnings subtest.

    authored September 23, 2011
  4. Test perl #96008: use and require affected by open.pm

    authored September 22, 2011
  5. Brian Fraser

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

    % 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.
    authored September 22, 2011 Father Chrysostomos committed September 22, 2011
  6. Move/rewrite test for Recursive call to Perl_load_module

    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.
    authored September 22, 2011
  7. Make CORE->method work

    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.
    authored September 22, 2011

Sep 22, 2011

  1. perlre: Note a bug's existence

    authored September 22, 2011
Something went wrong with that request. Please try again.