Permalink
Switch branches/tags
Commits on Dec 31, 1996
  1. [inseparable changes from patch from perl5.003_17 to perl5.003_18]

    Perl 5 Porters Chip Salzenberg
    Perl 5 Porters authored and Chip Salzenberg committed Dec 31, 1996
     CORE LANGUAGE CHANGES
    
    Subject: Inherited overloading
    Date: Sun, 29 Dec 1996 08:12:54 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: gv.c lib/overload.pm perl.h sv.c sv.h t/op/overload.t
    
        Chip Salzenberg writes:
        > 
        > Patch now, tarchive later:
        
        Below is the fixed overloading patch.
        
        Note that in between AMG_names got const on it (a good thing!), but as
        a corollary I needed to cast away const-ness to actually use it
        (since, say, newSVpv does not have const args).
        
        Enjoy,
        
        p5p-msgid: <199612291312.IAA02134@monk.mps.ohio-state.edu>
    
    Subject: Closures at file scope must be anonymous
    From: Chip Salzenberg <chip@atlantic.net>
    Files: op.c
    
    Subject: Warn on '{if,while} ($x = X)' where X is glob, readdir, or <FH>
    From: Chip Salzenberg <chip@atlantic.net>
    Files: op.c pod/perldiag.pod
    
     DOCUMENTATION
    
    Subject: Re: perldiag.pod entry for "Scalar value @%s{%s} ..."
    Date: Tue, 31 Dec 1996 11:50:19 -0500
    From: Roderick Schertler <roderick@gate.net>
    Files: pod/perldiag.pod
    Msg-ID: <2043.852051019@eeyore.ibcinc.com>
    
        (applied based on p5p patch as commit c885792)
    
     OTHER CORE CHANGES
    
    Subject: Get rid of 'Leaked scalars'
    From: Chip Salzenberg <chip@atlantic.net>
    Files: cop.h gv.c op.c
    
     TESTS
    
    Subject: Expanded locale.t and misc.t
    From: Jarkko Hietaniemi <jhi@cc.hut.fi>
    Files: t/lib/locale.t t/lib/misc.t
    
    Subject: Expanded my.t
    From: Chip Salzenberg <chip@atlantic.net>
    Files: t/lib/my.t
  2. Re: perldiag.pod entry for "Scalar value @%s{%s} ..."

    Roderick Schertler Chip Salzenberg
    Roderick Schertler authored and Chip Salzenberg committed Dec 31, 1996
    On Mon, 30 Dec 1996 21:28:30 -0500, Gurusamy Sarathy <gsar@engin.umich.edu> said:
    > On Mon, 30 Dec 1996 21:09:12 EST, Roderick Schertler wrote:
    >>
    >> +=item Scalar value @%s{%s} better written as $%s{%s}
    >> +
    >> +This is just like the previous entry, but for hashes instead of arrays.
    >> +
    >
    > Won't that look odd under -Mdiagnostics?  Better to spell it out
    > again.
    
    Right you are.  This diff goes on top of the one above.
    
    p5p-msgid: <2043.852051019@eeyore.ibcinc.com>
  3. Locale-related pod patches, take 2

    Dominic Dunlop Chip Salzenberg
    Dominic Dunlop authored and Chip Salzenberg committed Dec 28, 1996
    [Ahem.  Had the wrong thing in the scratch-pad, didn't I?  Please ignore my
    previous full posting of a slightly-tweaked perllocale.pod.  This mail
    contains what I really meant to send.]
    
    Herewith (quick, before _18 appears) locale-related patches to the
    documentation in perl5.003_17/pod.  The main effect is to add
    locale-related information to pods other than perllocale.pod, although
    there are some tiny tweaks to that pod too.  Produces no complaints from
    pod2man; not checked for layout since 5.003_13.
    
    p5p-msgid: <v03007800aeea9e488b36@[194.51.248.77]>
  4. Updates to perllocale.pod

    Dominic Dunlop Chip Salzenberg
    Dominic Dunlop authored and Chip Salzenberg committed Dec 30, 1996
  5. File::Copy under OS/2

    Ilya Zakharevich Chip Salzenberg
    Ilya Zakharevich authored and Chip Salzenberg committed Dec 28, 1996
    Chip Salzenberg writes:
    > 
    > Patch now, tarchive later:
    > 
    >     file: $CPAN/authors/id/CHIPS/perl5.003_17.pat.gz
    
    Almost clean under OS/2: the only problem is with File::Copy: the
    test for syscopy was inverted, and test contained some Un*xisms.
    
    Note that the POD contains some line noise, I marked it with ?????.
    
    Enjoy,
    
    p5p-msgid: <199612280347.WAA00293@monk.mps.ohio-state.edu>
  6. Improving Config.pm

    Tom Phoenix Chip Salzenberg
    Tom Phoenix authored and Chip Salzenberg committed Dec 30, 1996
    private-msgid: <Pine.GSO.3.95.961230091244.13467L-100000@solaris.teleport.co
  7. More tests

    Tom Phoenix Chip Salzenberg
    Tom Phoenix authored and Chip Salzenberg committed Dec 30, 1996
    private-msgid: <Pine.GSO.3.95.961229170736.15213M-100000@solaris.teleport.co
  8. test harness for C<use x.xxxx>

    Graham Barr Chip Salzenberg
    Graham Barr authored and Chip Salzenberg committed Dec 30, 1996
    Here is the test harness for version numbers in use statements. It
    checks both the C<use x.xxx> and C<use MODULE x.xxxx>
    
    Paul suggested in an earlier message, the introduction
    of a pragma directory. I would suggest that this test
    should also go in the pragma directory.
    
    p5p-msgid: <32C76882.3F3C7999@tiuk.ti.com>
  9. Add missing syms to global.sym; update magic doc

    Chip Salzenberg
    Chip Salzenberg committed Dec 27, 1996
  10. Fix core dump on perl_construct()/perl_destruct() loop

    Chip Salzenberg
    Chip Salzenberg committed Dec 30, 1996
  11. Don't forget $c in C<(($a,$b,$c)=(1,2))=(3,4,5)>

    Chip Salzenberg
    Chip Salzenberg committed Dec 30, 1996
  12. Ultrix setlocale() workaround

    Chip Salzenberg
    Chip Salzenberg committed Dec 30, 1996
  13. Warn on 'undef $x; $x OP 1' where OP is *=, /=, %=, or **=

    Chip Salzenberg
    Chip Salzenberg committed Dec 29, 1996
  14. Hide lexicals from C<use>d or C<require>d module (!)

    Chip Salzenberg
    Chip Salzenberg committed Dec 30, 1996
  15. [shell changes from patch from perl5.003_17 to perl5.003_18]

    Chip Salzenberg
    Chip Salzenberg committed Dec 31, 1996
    Change from running these commands:
    
     # new tests must be executable
     touch t/op/use.t
     chmod +x t/op/use.t
     
     # ready to patch
     exit 0
Commits on Dec 27, 1996
  1. [inseparable changes from patch from perl5.003_16 to perl5.003_17]

    Perl 5 Porters Chip Salzenberg
    Perl 5 Porters authored and Chip Salzenberg committed Dec 27, 1996
  2. tiny perllocale.pod diff for _16

    Jarkko Hietaniemi Chip Salzenberg
    Jarkko Hietaniemi authored and Chip Salzenberg committed Dec 26, 1996
    private-msgid: <199612261306.PAA21161@alpha.hut.fi>
  3. perlpod.pod patch for _16

    Kenneth Albanowski Chip Salzenberg
    Kenneth Albanowski authored and Chip Salzenberg committed Dec 25, 1996
    This documents the new =for/=begin/=end behavior, and slightly changes the
    emphasis on HTML in description of E<>, hopefully for the better.
    
    p5p-msgid: <Pine.LNX.3.93.961224225906.337B-100000@kjahds.com>
  4. Perlguts, version 27

    Jeff Okamoto Chip Salzenberg
    Jeff Okamoto authored and Chip Salzenberg committed Dec 25, 1996
    private-msgid: <199612250144.AA059528263@hpcc123.corp.hp.com>
  5. Newer debugger

    Ilya Zakharevich Chip Salzenberg
    Ilya Zakharevich authored and Chip Salzenberg committed Dec 26, 1996
    Here are the fruits of my spending _days_ trying to understand why
    MakeMaker did not work on my extension.
    
    Docs in the second chunk.
    
    Enjoy,
    
    p5p-msgid: <199612242305.SAA10757@monk.mps.ohio-state.edu>
    private-msgid: <199612261954.OAA12999@monk.mps.ohio-state.edu>
  6. Refresh MakeMaker to 5.39

    Andreas Koenig Chip Salzenberg
    Andreas Koenig authored and Chip Salzenberg committed Dec 25, 1996
  7. Test C< ()=() >

    Chip Salzenberg
    Chip Salzenberg committed Dec 26, 1996
  8. New tests: op/method.t and op/locale.t

    Ilya Zakharevich Chip Salzenberg
    Ilya Zakharevich authored and Chip Salzenberg committed Dec 26, 1996
    Signed-off-by: Ilya Zakharevich <ilya@math.ohio-state.edu>
  9. Limit effects of "=pod" to a single file

    Chip Salzenberg
    Chip Salzenberg committed Dec 25, 1996
  10. Fix {,un}tainting of $1 etc. when C<use locale>

    Chip Salzenberg
    Chip Salzenberg committed Dec 25, 1996
  11. Minor OS/2 fixes

    Ilya Zakharevich Chip Salzenberg
    Ilya Zakharevich authored and Chip Salzenberg committed Dec 25, 1996
    These are pretty minor (though fix one test-case and can make CPAN.pm
    behave better).
    
    p5p-msgid: <199612252105.QAA11890@monk.mps.ohio-state.edu>
  12. Suggest "usemymalloc='n'" for FreeBSD 2.*

    rse authored and Chip Salzenberg committed Dec 26, 1996
  13. perl5.003_15 and Interactive Unix

    Winfried Koenig Chip Salzenberg
    Winfried Koenig authored and Chip Salzenberg committed Dec 25, 1996
    with my patches, perl5.003_15 compiled with cc, runs all tests.
    Compiled with gcc I get this failed tests:
    
    op/goto...........FAILED on test 8
    op/sysio..........FAILED on test 0
    lib/autoloader....Goto undefined subroutine at ./lib/autoloader.t line 58.
    FAILED on test 3
    lib/english.......FAILED on test 0
    lib/fatal.........FAILED on test 0
    lib/hostname......FAILED on test 0
    Failed 6/135 tests, 91.11% okay.
    
    On my Linux System I get similar failures:
    
    op/goto...........FAILED on test 8
    op/sysio..........Negative length at ./op/sysio.t line 64.
    FAILED on test 1
    lib/autoloader....Goto undefined subroutine at ./lib/autoloader.t line 58.
    FAILED on test 0
    lib/english.......FAILED on test 0
    lib/fatal.........Can't use an undefined value as filehandle reference at ./lib/fatal.t line 21.
    lib/hostname......FAILED on test 0
    Failed 6/135 tests, 94.81% okay.
    
    So I think that this problems are already fixed. My changes to
    perl.h are necessary to compile x2p/malloc.c, but there may be
    better solutions.
    
    p5p-msgid: <m0vd254-0004oKC@incom.rhein-main.de>
  14. Support named closures

    Chip Salzenberg
    Chip Salzenberg committed Dec 26, 1996
  15. [shell changes from patch from perl5.003_16 to perl5.003_17]

    Chip Salzenberg
    Chip Salzenberg committed Dec 27, 1996
    Change from running these commands:
    
     # new tests must be executable
     touch t/lib/locale.t t/op/method.t
     chmod +x t/lib/locale.t t/op/method.t
     
     # ready to patch
     exit 0
Commits on Dec 24, 1996
  1. [inseparable changes from patch from perl5.003_15 to perl5.003_16]

    Perl 5 Porters Chip Salzenberg
    Perl 5 Porters authored and Chip Salzenberg committed Dec 24, 1996
     CORE PORTABILITY
    
    Subject: _13: patches for unicos/unicosmk
    Date: Fri, 20 Dec 1996 14:38:50 -0600
    From: Dean Roehrich <roehrich@cray.com>
    Files: Configure MANIFEST hints/unicos.sh hints/unicosmk.sh
    
        private-msgid: <199612202038.OAA22805@poplar.cray.com>
    
     LIBRARY AND EXTENSIONS
    
    Subject: Refresh IO to 1.14
    From: Graham Barr <gbarr@ti.com>
    Files: MANIFEST ext/IO/IO.xs ext/IO/README ext/IO/lib/IO/File.pm ext/IO/lib/IO/Handle.pm ext/IO/lib/IO/Pipe.pm ext/IO/lib/IO/Seekable.pm ext/IO/lib/IO/Select.pm ext/IO/lib/IO/Socket.pm t/lib/io_dup.t t/lib/io_pipe.t t/lib/io_sel.t t/lib/io_sock.t t/lib/io_tell.t t/lib/io_udp.t t/lib/io_xs.t
    
     OTHER CORE CHANGES
    
    Subject: Fix 'foreach(@ARGV) { while (<>) { push @p,$_ } }'
    From: Chip Salzenberg <chip@atlantic.net>
    Files: cop.h pp_hot.c scope.c
    
    Subject: Eliminate warnings from C< undef $x; $x OP= "foo" >
    From: Chip Salzenberg <chip@atlantic.net>
    Files: doop.c pp.c pp.h pp_hot.c
    
    Subject: Try again to improve method caching
    Date: Mon, 23 Dec 1996 20:13:56 -0500 (EST)
    From: Ilya Zakharevich <ilya@math.ohio-state.edu>
    Files: gv.c sv.c
    Msg-ID: <199612240113.UAA09487@monk.mps.ohio-state.edu>
    
        (applied based on p5p patch as commit 81c7868)
    
    Subject: Be more careful about 'o' magic memory management
    From: Chip Salzenberg <chip@atlantic.net>
    Files: mg.c sv.c
    
    Subject: Fix bad pointer refs when localized object loses magic
    From: Chip Salzenberg <chip@atlantic.net>
    Files: scope.c
  2. Try again to improve method caching

    Ilya Zakharevich Chip Salzenberg
    Ilya Zakharevich authored and Chip Salzenberg committed Dec 24, 1996
    Subject: Re: Autoloading broken?!
    
    Chip Salzenberg writes:
    > 
    > According to Ilya Zakharevich:
    > > 
    > 
    > Well, I can only guess what your message was going to say...  But if
    > you build stock _14, you'll find that MakeMaker doesn't work, because
    > SelfLoader doesn't work.
    > 
    > I think it has something to do with your patch finding completely
    > empty functions (no XSUB and no code) and ignoring -- or even removing
    > -- them, under the assumption they're bad cache entries.  But that
    > approach can make declarations like "sub Foo::bar;" evaporate into
    > nothingness, when such declarations are sometimes used to force a call
    > to Foo::AUTOLOAD().
    
    In a correct package - FOO. I think it would call some AUTOLOAD
    anyway, this is why this case slipped through my testing.
    
    > That's my understanding, anyway.
    
    Thanks, I found this too (and fixed it). I think it should work better
    now. So far only other places which I found broken by my previous
    patch are "overloading + AUTOLOADing", and "->can + AUTOLOAD".
    
    These 3 cases work now (after correcting a bug in overload.t's AUTOLOAD).
    
    p5p-msgid: <199612240113.UAA09487@monk.mps.ohio-state.edu>