From: Gurusamy Sarathy Date: Tue, 27 Jul 1999 10:48:27 +0000 (+0000) Subject: here lies 5.005_58 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f29c64d6c131b79fab4ecd5f3a3b5afc6803e2a1;p=p5sagit%2Fp5-mst-13.2.git here lies 5.005_58 p4raw-id: //depot/perl@3797 --- diff --git a/Changes b/Changes index 4e59244..ead206ba 100644 --- a/Changes +++ b/Changes @@ -79,6 +79,117 @@ Version 5.005_58 Development release working toward 5.006 ---------------- ____________________________________________________________________________ +[ 3796] By: gsar on 1999/07/27 09:23:42 + Log: regenerate win32/config_H.?c + Branch: perl + ! win32/config_H.bc win32/config_H.gc win32/config_H.vc +____________________________________________________________________________ +[ 3795] By: gsar on 1999/07/27 09:02:31 + Log: From: Tye McQueen + Date: Mon, 26 Jul 1999 19:19:22 -0500 (CDT) + Message-Id: <199907270019.AA08223@metronet.com> + Subject: Patch pl2bat.pl so batch file can fail + Branch: perl + ! win32/bin/pl2bat.pl +____________________________________________________________________________ +[ 3794] By: gsar on 1999/07/27 08:59:58 + Log: From: Ilya Zakharevich + Date: Mon, 26 Jul 1999 01:09:00 -0400 (EDT) + Message-Id: <199907260509.BAA26303@monk.mps.ohio-state.edu> + Subject: [PATCH 5.005_57] decrease memory footprint of standard modules + Branch: perl + ! configpm ext/POSIX/POSIX.pm lib/AutoLoader.pm + ! lib/SelfLoader.pm +____________________________________________________________________________ +[ 3793] By: gsar on 1999/07/27 08:19:16 + Log: support -DPERL_BINCOMPAT_5005, still needs a Configure test + (from Andy Dougherty) + Branch: perl + ! embed.h embed.pl +____________________________________________________________________________ +[ 3792] By: gsar on 1999/07/27 08:04:19 + Log: recognize more constructs such as C<$-> in pod (from Russ Allbery + and Brad Appleton) + Branch: perl + ! lib/Pod/Parser.pm +____________________________________________________________________________ +[ 3791] By: gsar on 1999/07/27 07:50:54 + Log: cover case where CLK_TCK is a float, not integer (from + alexander smishlajev ) + Branch: perl + ! ext/Devel/DProf/DProf.xs +____________________________________________________________________________ +[ 3790] By: gsar on 1999/07/27 07:45:08 + Log: provide MakeMaker attribute PERL_MALLOC_OK that allows extensions + to call Perl_malloc() as malloc() (from Ilya Zakharevich) + Branch: perl + ! ext/SDBM_File/Makefile.PL lib/ExtUtils/MM_Unix.pm + ! lib/ExtUtils/MakeMaker.pm os2/OS2/REXX/Makefile.PL perl.h +____________________________________________________________________________ +[ 3789] By: jhi on 1999/07/27 07:44:55 + Log: Integrate with Sarathy. + Branch: cfgperl + +> lib/Pod/Text/Color.pm lib/Pod/Text/Termcap.pm + !> MANIFEST doio.c embed.h embed.pl ext/B/B/CC.pm + !> ext/SDBM_File/sdbm/sdbm.h global.sym lib/Pod/Html.pm + !> lib/Pod/Text.pm objXSUB.h opcode.h opcode.pl perlapi.c + !> pod/perldiag.pod pod/perlfunc.pod pod/pod2text.PL pp_sys.c + !> proto.h t/comp/proto.t t/io/open.t +____________________________________________________________________________ +[ 3788] By: gsar on 1999/07/27 07:29:59 + Log: replace Pod::Text with Pod::SimpleText v0.01 (thanks + to Russ Allbery ); s/Simple// and + s/pod2txt/pod2text/ etc. + Branch: perl + + lib/Pod/Text/Color.pm lib/Pod/Text/Termcap.pm + ! MANIFEST lib/Pod/Text.pm pod/pod2text.PL +____________________________________________________________________________ +[ 3787] By: gsar on 1999/07/27 06:48:40 + Log: From: Andy Dougherty + Date: Wed, 16 Jun 1999 14:40:09 -0400 (EDT) + Message-Id: + Subject: Re: [ID 19990608.003] my_bcopy problem; Unixware 2.0.3 + Branch: perl + ! ext/SDBM_File/sdbm/sdbm.h +____________________________________________________________________________ +[ 3786] By: gsar on 1999/07/27 06:30:09 + Log: applied suggested patch; added missing prototype changes to + opcode.pl along with documentation typos (feature still needs + to be described in perlopentut.pod and summarized in + perldelta.pod) + From: Ilya Zakharevich + Date: Thu, 17 Jun 1999 00:39:34 -0400 (EDT) + Message-Id: <199906170439.AAA18154@monk.mps.ohio-state.edu> + Subject: [PATCH 5.00557] 3-arg open + Branch: perl + ! doio.c embed.h embed.pl global.sym objXSUB.h opcode.h + ! opcode.pl perlapi.c pod/perldiag.pod pod/perlfunc.pod pp_sys.c + ! proto.h t/comp/proto.t t/io/open.t +____________________________________________________________________________ +[ 3785] By: gsar on 1999/07/27 04:36:39 + Log: don't quit if =head* wasn't found (suggested by Roland Bauer + ) + Branch: perl + ! lib/Pod/Html.pm +____________________________________________________________________________ +[ 3784] By: gsar on 1999/07/27 03:56:17 + Log: change#3762 wasn't needed + Branch: perl + ! ext/B/B/CC.pm +____________________________________________________________________________ +[ 3783] By: jhi on 1999/07/26 19:08:21 + Log: Integrate with Sarathy. + Branch: cfgperl + !> Changes makedef.pl patchlevel.h pod/perlfunc.pod pp_ctl.c + !> toke.c utils/dprofpp.PL win32/Makefile win32/config_H.bc + !> win32/config_H.gc win32/config_H.vc win32/makefile.mk +____________________________________________________________________________ +[ 3782] By: gsar on 1999/07/26 18:16:50 + Log: update Changes, patchlevel &c. + Branch: perl + ! Changes patchlevel.h win32/Makefile win32/config_H.bc + ! win32/config_H.gc win32/config_H.vc win32/makefile.mk +____________________________________________________________________________ [ 3781] By: gsar on 1999/07/26 17:54:47 Log: a more correct fix for change#2744 From: Stephen McCamant diff --git a/MANIFEST b/MANIFEST index 5266d53..36b6924 100644 --- a/MANIFEST +++ b/MANIFEST @@ -928,6 +928,7 @@ os2/OS2/REXX/t/rx_tieydb.t DLL access module os2/OS2/REXX/t/rx_varset.t DLL access module os2/OS2/REXX/t/rx_vrexx.t DLL access module os2/diff.configure Patches to Configure +os2/POSIX.mkfifo OS2-specific patch os2/dl_os2.c Addon for dl_open os2/dlfcn.h Addon for dl_open os2/os2.c Additional code for OS/2 @@ -1123,6 +1124,7 @@ t/lib/db-recno.t See if DB_File works t/lib/dirhand.t See if DirHandle works t/lib/dosglob.t See if File::DosGlob works t/lib/dprof.t Perl code profiler testsuite driver +t/lib/dprof/V.pm Perl code profiler tests t/lib/dprof/test1_t Perl code profiler tests t/lib/dprof/test1_v Perl code profiler tests t/lib/dprof/test2_t Perl code profiler tests @@ -1372,6 +1374,7 @@ utils/c2ph.PL program to translate dbx stabs to perl utils/dprofpp.PL Perl code profile post-processor utils/h2ph.PL A thing to turn C .h files into perl .ph files utils/h2xs.PL Program to make .xs files from C header files +utils/perlbc.PL Front-end for byte compiler utils/perlbug.PL A simple tool to submit a bug report utils/perlcc.PL Front-end for compiler utils/perldoc.PL A simple tool to find & display perl's documentation diff --git a/Porting/makerel b/Porting/makerel index ea99c67..8db209a 100644 --- a/Porting/makerel +++ b/Porting/makerel @@ -122,7 +122,7 @@ my @writables = qw( regnodes.h warning.h win32/config_H.bc - win32/config_h.gc + win32/config_H.gc win32/config_H.vc ); system("chmod +w @writables"); diff --git a/ext/B/byteperl.c b/ext/B/byteperl.c deleted file mode 100644 index 17dfdee..0000000 --- a/ext/B/byteperl.c +++ /dev/null @@ -1,103 +0,0 @@ -#include "EXTERN.h" -#include "perl.h" - -static void xs_init (void); -static PerlInterpreter *my_perl; - -int -#ifndef CAN_PROTOTYPE -main(argc, argv, env) -int argc; -char **argv; -char **env; -#else /* def(CAN_PROTOTYPE) */ -main(int argc, char **argv, char **env) -#endif /* def(CAN_PROTOTYPE) */ -{ - int exitstatus; - int i; - char **fakeargv; - FILE *fp; -#ifdef INDIRECT_BGET_MACROS - struct bytestream bs; -#endif /* INDIRECT_BGET_MACROS */ - - INIT_SPECIALSV_LIST; - PERL_SYS_INIT(&argc,&argv); - - perl_init_i18nl10n(1); - - if (!PL_do_undump) { - my_perl = perl_alloc(); - if (!my_perl) -#ifdef VMS - exit(vaxc$errno); -#else - exit(1); -#endif - perl_construct( my_perl ); - } - -#ifdef CSH - if (!PL_cshlen) - PL_cshlen = strlen(PL_cshname); -#endif - - if (argc < 2) - fp = stdin; - else { -#ifdef WIN32 - fp = fopen(argv[1], "rb"); -#else - fp = fopen(argv[1], "r"); -#endif - if (!fp) { - perror(argv[1]); -#ifdef VMS - exit(vaxc$errno); -#else - exit(1); -#endif - } - argv++; - argc--; - } - New(666, fakeargv, argc + 4, char *); - fakeargv[0] = argv[0]; - fakeargv[1] = "-e"; - fakeargv[2] = ""; - fakeargv[3] = "--"; - for (i = 1; i < argc; i++) - fakeargv[i + 3] = argv[i]; - fakeargv[argc + 3] = 0; - - exitstatus = perl_parse(my_perl, xs_init, argc + 3, fakeargv, NULL); - if (exitstatus) - exit( exitstatus ); - - sv_setpv(GvSV(gv_fetchpv("0", TRUE, SVt_PV)), argv[0]); - PL_main_cv = PL_compcv; - PL_compcv = 0; - -#ifdef INDIRECT_BGET_MACROS - bs.data = fp; - bs.fgetc = (int(*) (void*))fgetc; - bs.fread = (int(*) (char*,size_t,size_t,void*))fread; - bs.freadpv = freadpv; - byterun(bs); -#else - byterun(fp); -#endif /* INDIRECT_BGET_MACROS */ - - exitstatus = perl_run( my_perl ); - - perl_destruct( my_perl ); - perl_free( my_perl ); - - exit( exitstatus ); -} - -static void -xs_init() -{ -} diff --git a/pod/perldelta.pod b/pod/perldelta.pod index dc697e6..624b152 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1,16 +1,21 @@ =head1 NAME -perldelta - what's new for perl v5.6 (as of v5.5.58) +perldelta - what's new for perl v5.6 (as of v5.005_58) =head1 DESCRIPTION +This is an unsupported alpha release, meant for intrepid Perl developers +only. The included sources may not even build correctly on some platforms. +Subscribing to perl5-porters is the best way to monitor and contribute +to the progress of development releases (see www.perl.org for info). + This document describes differences between the 5.005 release and this one. =head1 Incompatible Changes =head2 Perl Source Incompatibilities -None known at this time. +TODO =head2 C Source Incompatibilities @@ -27,6 +32,24 @@ specified via MakeMaker: perl Makefile.PL POLLUTE=1 +=item C + +This new build option provides a set of macros for all API functions +such that an implicit interpreter/thread context argument is passed to +every API function. As a result of this, something like C +amounts to a macro invocation that actually translates to +C. While this is generally expected +to not have any significant source compatibility issues, the difference +between a macro and a real function call will need to be considered. + +Note that the above issue is not relevant to the default build of +Perl, whose interfaces continue to match those of prior versions +(but subject to the other options described here). + +For testing purposes, the 5.005_58 release automatically enables +PERL_IMPLICIT_CONTEXT whenever Perl is built with -Dusethreads or +-Dusemultiplicity. + =item C Enabling Perl's malloc in release 5.005 and earlier caused @@ -81,8 +104,13 @@ from the change. =head2 Binary Incompatibilities -This release is not binary compatible with the 5.005 release or its -maintenance versions. +The default build of this release can be made binary compatible with the +5.005 release or its maintenance versions. Add -DPERL_BINCOMPAT_5005 +to ccflags in config.sh to achieve this. See INSTALL for further +information about adding build flags to config.sh. + +The usethreads or usemultiplicity builds are B binary compatible +with the corresponding builds in 5.005. =head1 Core Changes @@ -171,6 +199,11 @@ strings. See L. The new format type modifier '!' is useful for packing and unpacking native shorts, ints, and longs. See L. +=head2 pack() and unpack() support counted strings + +The template character '#' can be used to specify a counted string +type to be packed or unpacked. See L. + =head2 $^X variables may now have names longer than one character Formerly, $^X was synonymous with ${"\cX"}, but $^XY was a syntax @@ -313,6 +346,20 @@ Verify operations that access pad objects (lexicals and temporaries). =over 4 +=item ByteLoader + +The ByteLoader is a dedication extension to generate and run +Perl bytecode. See L. + +=item B + +The Perl Compiler suite has been extensively reworked for this +release. + +=item Devel::DProf + +Devel::DProf, a Perl source code profiler has been added. + =item Dumpvalue Added Dumpvalue module provides screen dumps of Perl data. diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index 91d432e..2443fc9 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -76,7 +76,7 @@ stamp prepended. =head2 How do I remove HTML from a string? -The most correct way (albeit not the fastest) is to use HTML::Parse +The most correct way (albeit not the fastest) is to use HTML::Parser from CPAN (part of the HTML-Tree package on CPAN). Many folks attempt a simple-minded regular expression approach, like @@ -173,7 +173,7 @@ through proxies: # or print ASCII from HTML from a URL # also need HTML-Tree package from CPAN use LWP::Simple; - use HTML::Parse; + use HTML::Parser; use HTML::FormatText; my ($html, $ascii); $html = get("http://www.perl.com/"); diff --git a/pod/perlhist.pod b/pod/perlhist.pod index 4a29628..cf5a0e8 100644 --- a/pod/perlhist.pod +++ b/pod/perlhist.pod @@ -324,8 +324,8 @@ the strings?). 5.005_55 1999-Feb-16 5.005_56 1999-Mar-01 5.005_57 1999-May-25 - 5.005_58 1999-***-** - 5.6.1 beta 1999-***-** + 5.005_58 1999-Jul-27 + 5.6 beta 1999-***-** =head2 SELECTED RELEASE SIZES