17 years agoUpgrade to CPAN-1.90.
Steve Peters [Mon, 9 Apr 2007 14:06:22 +0000]
Upgrade to CPAN-1.90.

p4raw-id: //depot/perl@30875

17 years agoRXf_WHITE never used due to small bug in regcomp.c
Ævar Arnfjörð Bjarmason [Sat, 7 Apr 2007 00:17:05 +0000]
RXf_WHITE never used due to small bug in regcomp.c
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704061717s44107fb9jf468ef28080d33a6@mail.gmail.com>

p4raw-id: //depot/perl@30871

17 years agomakedepend.SH syntax error
Yitzchak Scott-Thoennes [Sat, 7 Apr 2007 23:32:44 +0000]
makedepend.SH syntax error
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <41520.67.40.29.216.1176013964.squirrel@webmail.efn.org>

p4raw-id: //depot/perl@30870

17 years agoUpgrade to Module-Pluggable 3.6
Nicholas Clark [Sat, 7 Apr 2007 21:36:19 +0000]
Upgrade to Module-Pluggable 3.6

p4raw-id: //depot/perl@30869

17 years agoEnsure PL_last_in_gv doesn't end up pointing to garbage by NULLing it
Nicholas Clark [Sat, 7 Apr 2007 20:43:14 +0000]
Ensure PL_last_in_gv doesn't end up pointing to garbage by NULLing it
if the GV it is pointing to gets freed.

p4raw-id: //depot/perl@30868

17 years agoUnder PERL_DEBUG_READONLY_OPS don't panic if you can't find the slab
Nicholas Clark [Sat, 7 Apr 2007 17:14:11 +0000]
Under PERL_DEBUG_READONLY_OPS don't panic if you can't find the slab
being freed. Also, need to set the slab to read/write before
incrementing or decrementing an op's reference count.
With this we can build all extentions, and run test_harness.

p4raw-id: //depot/perl@30867

17 years agoUpgrade to Encode 2.19
Nicholas Clark [Sat, 7 Apr 2007 12:45:44 +0000]
Upgrade to Encode 2.19

p4raw-id: //depot/perl@30866

17 years agoTurn op_pmreplroot in struct pmop into a real union.
Nicholas Clark [Sat, 7 Apr 2007 12:15:40 +0000]
Turn op_pmreplroot in struct pmop into a real union.

p4raw-id: //depot/perl@30865

17 years agoRemove a now un-needed goto from Perl_peep().
Nicholas Clark [Sat, 7 Apr 2007 10:48:08 +0000]
Remove a now un-needed goto from Perl_peep().

p4raw-id: //depot/perl@30863

17 years agoRejig Perl_peep() to assume that ops are optimised by default. The
Nicholas Clark [Sat, 7 Apr 2007 10:43:37 +0000]
Rejig Perl_peep() to assume that ops are optimised by default. The
source code is simpler, and the object code slightly smaller.

p4raw-id: //depot/perl@30862

17 years agoRe-ordering OP_STUB in the switch statement in Perl_peep saves a goto.
Nicholas Clark [Sat, 7 Apr 2007 08:32:46 +0000]
Re-ordering OP_STUB in the switch statement in Perl_peep saves a goto.

p4raw-id: //depot/perl@30861

17 years agoMerge op_pmreplstart and op_pmstash/op_pmstashpv into a union in
Nicholas Clark [Fri, 6 Apr 2007 23:31:14 +0000]
Merge op_pmreplstart and op_pmstash/op_pmstashpv into a union in
PMOP, as both pointers never need to be set at the same time.

p4raw-id: //depot/perl@30860

17 years agoassert() that OP_QR and OP_MATCH never set op_pmreplstart, which
Nicholas Clark [Fri, 6 Apr 2007 22:32:02 +0000]
assert() that OP_QR and OP_MATCH never set op_pmreplstart, which
simplifies the peep hole optimiser slightly.

p4raw-id: //depot/perl@30859

17 years agoAdd editor block.
Nicholas Clark [Fri, 6 Apr 2007 22:08:20 +0000]
Add editor block.

p4raw-id: //depot/perl@30858

17 years agoOnly append ?? match ops to the list used by reset. This saves memory
Nicholas Clark [Fri, 6 Apr 2007 21:53:46 +0000]
Only append ?? match ops to the list used by reset. This saves memory
and time.

p4raw-id: //depot/perl@30857

17 years agoAvoid accessing free()d memory when calling reset in one thread, after
Nicholas Clark [Fri, 6 Apr 2007 20:57:34 +0000]
Avoid accessing free()d memory when calling reset in one thread, after
deleting pattern match ops in another thread.

p4raw-id: //depot/perl@30856

17 years agoGive accurate failure diagnostics when unlike() fails.
Nicholas Clark [Fri, 6 Apr 2007 20:46:47 +0000]
Give accurate failure diagnostics when unlike() fails.

p4raw-id: //depot/perl@30855

17 years agoOoops. Forgot to update proto.h in change 30853.
Nicholas Clark [Fri, 6 Apr 2007 20:17:14 +0000]
Ooops. Forgot to update proto.h in change 30853.

p4raw-id: //depot/perl@30854

17 years agoRemove op_pmnext from PMOPs, and instead store the list for reset as
Nicholas Clark [Fri, 6 Apr 2007 19:50:12 +0000]
Remove op_pmnext from PMOPs, and instead store the list for reset as
an array hanging from the mg_ptr of the symbol table magic.
(Previously the linked list head was in the mg_obj member)

p4raw-id: //depot/perl@30853

17 years agoAllow any *DBM_File to work for DynaLoader testing
Jerry D. Hedden [Wed, 4 Apr 2007 09:57:16 +0000]
Allow any *DBM_File to work for DynaLoader testing
From: "Jerry D. Hedden" <jdhedden@1979.usna.com>
Message-ID: <1ff86f510704040657t732af552jbcbdb8804d134ff7@mail.gmail.com>

p4raw-id: //depot/perl@30852

17 years agoMAD do not ignore errors from 'use'
Gerard Goossen [Thu, 29 Mar 2007 18:02:29 +0000]
MAD do not ignore errors from 'use'
Message-ID: <20070329160229.GF20231@ostwald>

plus another similar correction

p4raw-id: //depot/perl@30851

17 years agomadprop about forced words
Gerard Goossen [Thu, 29 Mar 2007 18:10:42 +0000]
madprop about forced words
Message-ID: <20070329161042.GG20231@ostwald>

p4raw-id: //depot/perl@30850

17 years agoRe: Proposed changes and to regular expression interfaces in core
Ævar Arnfjörð Bjarmason [Thu, 29 Mar 2007 22:52:49 +0000]
Re: Proposed changes and to regular expression interfaces in core
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80703291552y1073bcb6r954b043eb68a4459@mail.gmail.com>

p4raw-id: //depot/perl@30849

17 years agog++ on NetBSD needs to have environ declared as well.
Steve Peters [Thu, 5 Apr 2007 16:32:19 +0000]
g++ on NetBSD needs to have environ declared as well.

p4raw-id: //depot/perl@30848

17 years agoC++ compilation fix by Steve Peters
Rafael Garcia-Suarez [Thu, 5 Apr 2007 16:26:18 +0000]
C++ compilation fix by Steve Peters

p4raw-id: //depot/perl@30847

17 years agoS_op_destroy() was not static. Also tidy all other STATIC/static
Nicholas Clark [Thu, 5 Apr 2007 08:56:10 +0000]
S_op_destroy() was not static. Also tidy all other STATIC/static
declarations onto the same line as the return type, to make checking
this easier.

p4raw-id: //depot/perl@30846

17 years agoAdd TODO tests for the (sometimes) crashing threads/op deletion/reset
Nicholas Clark [Wed, 4 Apr 2007 21:42:26 +0000]
Add TODO tests for the (sometimes) crashing threads/op deletion/reset
combination.

p4raw-id: //depot/perl@30845

17 years agoA test for reset.
Nicholas Clark [Wed, 4 Apr 2007 19:55:23 +0000]
A test for reset.

p4raw-id: //depot/perl@30844

17 years agoGet further through the build with read-only optrees. Free()ing cops
Nicholas Clark [Wed, 4 Apr 2007 17:22:02 +0000]
Get further through the build with read-only optrees. Free()ing cops
as currently implemented seems to want write activity to them. Also we
save a field in PL_curcop at one point, and sometimes this can be in
a read only COP. If so, the end of scope restoration is always to the
same value, but it's easier to cheat and skip the restoration than to
dig around and avoid the save.

p4raw-id: //depot/perl@30843

17 years agoSymbol export nit, found by Yves
Rafael Garcia-Suarez [Wed, 4 Apr 2007 08:40:52 +0000]
Symbol export nit, found by Yves

p4raw-id: //depot/perl@30842

17 years agoRe: pmdynflags and thread safety
Yves Orton [Wed, 4 Apr 2007 01:46:26 +0000]
Re: pmdynflags and thread safety
Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com>

p4raw-id: //depot/perl@30841

17 years agoext\ExtUtils\t\Embed.t fails test when upgrading a perl with different core headers.
Yves Orton [Wed, 4 Apr 2007 03:17:21 +0000]
ext\ExtUtils\t\Embed.t fails test when upgrading a perl with different core headers.
Message-ID: <9b18b3110704031817l37c034d3gf3d2b1cd205ac517@mail.gmail.com>

p4raw-id: //depot/perl@30840

17 years agoRe: [PATCH] microperl plus missing config vars
Jarkko Hietaniemi [Tue, 3 Apr 2007 18:28:30 +0000]
Re: [PATCH] microperl plus missing config vars
Message-ID: <4612D50E.5010105@iki.fi>

p4raw-id: //depot/perl@30839

17 years agoRe: [PATCH] MAD prototype checking
Gerard Goossen [Thu, 29 Mar 2007 17:34:23 +0000]
Re: [PATCH] MAD prototype checking
Message-ID: <20070329153423.GE20231@ostwald>

p4raw-id: //depot/perl@30838

17 years agoRe: [PATCH] MAD disable constant inlining
Gerard Goossen [Thu, 29 Mar 2007 17:31:32 +0000]
Re: [PATCH] MAD disable constant inlining
Message-ID: <20070329153132.GD20231@ostwald>

p4raw-id: //depot/perl@30837

17 years agoC++ compilation patch by Jarkko
Rafael Garcia-Suarez [Tue, 3 Apr 2007 08:34:09 +0000]
C++ compilation patch by Jarkko

p4raw-id: //depot/perl@30836

17 years agoWe may not even have a list of slabs when Perl_Slab_Free is called.
Nicholas Clark [Mon, 2 Apr 2007 21:27:26 +0000]
We may not even have a list of slabs when Perl_Slab_Free is called.

p4raw-id: //depot/perl@30835

17 years agoCleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-
Nicholas Clark [Mon, 2 Apr 2007 21:25:03 +0000]
Cleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-
unneeded include of <sys/mman.h>, and make PERL_DEBUG_READONLY_OPS
appear in -V output.

p4raw-id: //depot/perl@30834

17 years agoAllow testing of DBM_Filter with any *DBM_File
Jerry D. Hedden [Mon, 2 Apr 2007 10:15:47 +0000]
Allow testing of DBM_Filter with any *DBM_File
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <642435.53086.qm@web30215.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30833

17 years agoFor Perl_Slab_Alloc(), eliminate the unused parameter 'm'.
Nicholas Clark [Mon, 2 Apr 2007 19:53:06 +0000]
For Perl_Slab_Alloc(), eliminate the unused parameter 'm'.

p4raw-id: //depot/perl@30832

17 years agoDon't install dbm_filter_util.pl
Jerry D. Hedden [Mon, 2 Apr 2007 09:31:13 +0000]
Don't install dbm_filter_util.pl
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <721682.89546.qm@web30209.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30831

17 years agoThe op slab allocator can call calloc() instead of malloc(), and save
Nicholas Clark [Mon, 2 Apr 2007 19:25:53 +0000]
The op slab allocator can call calloc() instead of malloc(), and save
a Zero(). Also, argument m is unused.

p4raw-id: //depot/perl@30830

17 years agoAdd a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
Nicholas Clark [Mon, 2 Apr 2007 19:03:55 +0000]
Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
as read only (or as much of it as it practical). This makes it trivial
to detect buggy code that is modifying the optree at runtime.

p4raw-id: //depot/perl@30829

17 years agoperlfunc.pod: Lexical visibility hint in require docu
Christian Winter [Sun, 1 Apr 2007 18:01:24 +0000]
perlfunc.pod: Lexical visibility hint in require docu
Message-ID: <460FD754.8050106@linux-config.de>

p4raw-id: //depot/perl@30828

17 years agoUpdate name of Perl executable on VMS following #30414.
Craig A. Berry [Sun, 1 Apr 2007 18:11:28 +0000]
Update name of Perl executable on VMS following #30414.

p4raw-id: //depot/perl@30827

17 years agoMark new regex glob test as a TODO on VMS.
Craig A. Berry [Sun, 1 Apr 2007 18:01:01 +0000]
Mark new regex glob test as a TODO on VMS.

p4raw-id: //depot/perl@30826

17 years agoREADME.$OS URLs
Steffen Müller [Sat, 31 Mar 2007 16:37:56 +0000]
README.$OS URLs
Message-ID: <20070331143757.26271.qmail@lists.develooper.com>

p4raw-id: //depot/perl@30825

17 years agoSymbian sync
Jarkko Hietaniemi [Sat, 31 Mar 2007 15:30:09 +0000]
Symbian sync
Message-ID: <460EB6C1.4020406@iki.fi>

p4raw-id: //depot/perl@30824

17 years agomicroperl plus missing config vars
Jarkko Hietaniemi [Sat, 31 Mar 2007 17:50:18 +0000]
microperl plus missing config vars
Message-ID: <460ED79A.5030809@iki.fi>

p4raw-id: //depot/perl@30823

17 years agoMake parser_free() be called slightly later,
Dave Mitchell [Sun, 1 Apr 2007 01:27:57 +0000]
Make parser_free() be called slightly later,
i.e. at the point where lexer vars are being restored in a LEAVE,
rather than at the end of yyparse()

p4raw-id: //depot/perl@30822

17 years agoEliminate the use of PL_curforce outside of toke.c
Dave Mitchell [Sun, 1 Apr 2007 01:22:20 +0000]
Eliminate the use of PL_curforce outside of toke.c

p4raw-id: //depot/perl@30821

17 years agoEliminate the use of PL_bufend outside of toke.c:
Dave Mitchell [Sun, 1 Apr 2007 01:20:02 +0000]
Eliminate the use of PL_bufend outside of toke.c:
give Perl_scan_vstring() an explicit 'end' arg rather than using
PL_bufend, and replace it with a local var in Perl_find_script()

p4raw-id: //depot/perl@30820

17 years agofree backtrack track when on unexpected exit, eg /(?{ die })/
Dave Mitchell [Sun, 1 Apr 2007 00:51:00 +0000]
free backtrack track when on unexpected exit, eg /(?{ die })/

p4raw-id: //depot/perl@30819

17 years agofix $^R scoping bug.
Dave Mitchell [Sun, 1 Apr 2007 00:27:02 +0000]
fix $^R scoping bug.
By setting the outer saved $^R to the current $^R just at the
end of a successful match, and ensuring that that the savestack
doesn't get popped beforehand, the code is simplified and fixes a
bug.

p4raw-id: //depot/perl@30818

17 years agoRearrange members of structures to reduce memory size on some
Nicholas Clark [Sat, 31 Mar 2007 23:15:15 +0000]
Rearrange members of structures to reduce memory size on some
platforms. On LP64 structs stackinfo, refcounted_he, and magic shrink
by 8 bytes, struct yy_parser by 16.

p4raw-id: //depot/perl@30817

17 years agoIntegrate:
Nicholas Clark [Sat, 31 Mar 2007 23:13:15 +0000]
Integrate:
[ 30652]
In safecalloc, use the system calloc() for the non-DEBUGGING case, as
it may be able to memset() to 0 for free.

[ 30661]
Remove the (sometimes) unused variable from change 30652.

[ 30670]
Subject: [PATCH] Change 30661 could result in undefined variable
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <915076.64236.qm@web30212.mail.mud.yahoo.com>
Date: Wed, 21 Mar 2007 12:47:52 -0700 (PDT)

[ 30771]
Subject: [PATCH] util.c [PATCH] perlhack.pod (Was: Re: threads crashes in Tru64)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 26 Mar 2007 19:50:11 -0400
Message-ID: <46085C33.1030601@iki.fi>
p4raw-link: @30771 on //depot/perl: ad7244db27635ed088fc05a8a69e99bbb19c36d6
p4raw-link: @30670 on //depot/perl: 6460123ae692a9c25bc8c2253f12c8cf6f0ebdc0
p4raw-link: @30661 on //depot/perl: a93c8a9e4a51d34ca994257e736b80ca04ec6f9e
p4raw-link: @30652 on //depot/perl: e1a95402a0ef053bf8dd15ba3824743513f0725e

p4raw-id: //depot/perl@30816

17 years agoReorder the members of various regexp structs to reduce their size on
Nicholas Clark [Sat, 31 Mar 2007 20:52:53 +0000]
Reorder the members of various regexp structs to reduce their size on
LP64 platforms, by pairing up I32 and U32 members. Notably structs
_reg_trie_data, reg_ac_data, regexp and regmatch_state down by 8 bytes,
re_save_state by 16, and regmatch_slab up by 48 (ie one more state per
slab)

p4raw-id: //depot/perl@30815

17 years agoFix URL rot in README.vms
Craig A. Berry [Sat, 31 Mar 2007 19:42:35 +0000]
Fix URL rot in README.vms

p4raw-id: //depot/perl@30814

17 years agoMake Perl_vms_start_glob return the input pattern when there are
Craig A. Berry [Sat, 31 Mar 2007 19:40:43 +0000]
Make Perl_vms_start_glob return the input pattern when there are
no matches.

p4raw-id: //depot/perl@30813

17 years agoprecomp in struct regexp can be const char *.
Nicholas Clark [Sat, 31 Mar 2007 15:50:05 +0000]
precomp in struct regexp can be const char *.

p4raw-id: //depot/perl@30812

17 years agoFix bug #42224, perl -MO=Deparse -e 'print readpipe $x, $y' broken
Rafael Garcia-Suarez [Sat, 31 Mar 2007 14:11:40 +0000]
Fix bug #42224, perl -MO=Deparse -e 'print readpipe $x, $y' broken

p4raw-id: //depot/perl@30811

17 years agoFix the error message "Can't call method "DOES" on unblessed
Rafael Garcia-Suarez [Sat, 31 Mar 2007 06:23:12 +0000]
Fix the error message "Can't call method "DOES" on unblessed
reference".

p4raw-id: //depot/perl@30806

17 years agoDon't use utf8.pm in the test (avoiding embedding utf8 in the test
Rafael Garcia-Suarez [Sat, 31 Mar 2007 06:16:09 +0000]
Don't use utf8.pm in the test (avoiding embedding utf8 in the test
file), and use greek to test for something out of 8-bit latin, as
Jarkko suggested. Everything flows.

p4raw-id: //depot/perl@30805

17 years agoThis was released as 2.16.
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:51:55 +0000]
This was released as 2.16.

p4raw-id: //depot/perl@30804

17 years agoAdd new hints files.
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:34:13 +0000]
Add new hints files.

p4raw-id: //depot/perl@30803

17 years agoBump File::Glob's VERSION to go with change 30103.
Nicholas Clark [Fri, 30 Mar 2007 16:17:25 +0000]
Bump File::Glob's VERSION to go with change 30103.

p4raw-id: //depot/perl@30791

17 years agoRemove the never-used numeric and character switch ops.
Nicholas Clark [Fri, 30 Mar 2007 11:52:43 +0000]
Remove the never-used numeric and character switch ops.

p4raw-id: //depot/perl@30785

17 years agoA logical rearrangement of ops, to get the post 5.005 ops to their
Nicholas Clark [Fri, 30 Mar 2007 11:48:54 +0000]
A logical rearrangement of ops, to get the post 5.005 ops to their
logical groups.

p4raw-id: //depot/perl@30784

17 years agoOops. Failed to remove the now obsolete comment about custom ops.
Nicholas Clark [Fri, 30 Mar 2007 10:53:31 +0000]
Oops. Failed to remove the now obsolete comment about custom ops.

p4raw-id: //depot/perl@30783

17 years agoRemove the restriction that op_custom has to be the last op.
Nicholas Clark [Fri, 30 Mar 2007 10:50:10 +0000]
Remove the restriction that op_custom has to be the last op.
This allows more ops to be added during the life of a stable release.

p4raw-id: //depot/perl@30782

17 years agoWhen dup'ing a filehandle, retain the :utf8 layer
Rafael Garcia-Suarez [Fri, 30 Mar 2007 08:30:35 +0000]
When dup'ing a filehandle, retain the :utf8 layer

p4raw-id: //depot/perl@30781

17 years agoAdd two deprecation warnings:
Rafael Garcia-Suarez [Fri, 30 Mar 2007 07:48:59 +0000]
Add two deprecation warnings:
Opening dirhandle %s also as a file
Opening filehandle %s also as a directory

p4raw-id: //depot/perl@30780

17 years agocflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Jarkko Hietaniemi [Fri, 30 Mar 2007 04:44:11 +0000]
cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Message-Id: <200703300144.l2U1iBSA490663@kosh.hut.fi>

p4raw-id: //depot/perl@30779

17 years agoUpgrade to CGI.pm-3.28
Steve Peters [Thu, 29 Mar 2007 23:11:29 +0000]
Upgrade to CGI.pm-3.28

p4raw-id: //depot/perl@30778

17 years agoShorten 'skipping...' test message
Jerry D. Hedden [Thu, 29 Mar 2007 05:56:51 +0000]
Shorten 'skipping...' test message
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <213529.35369.qm@web30214.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30777

17 years agoBack out changes 30762 and 30763
Rafael Garcia-Suarez [Thu, 29 Mar 2007 07:56:11 +0000]
Back out changes 30762 and 30763

p4raw-id: //depot/perl@30776

17 years ago: perlguts.pod
John P. Linderman [Tue, 27 Mar 2007 12:33:39 +0000]
: perlguts.pod
From: "John P. Linderman" <jpl@research.att.com>
Message-Id: <200703271633.l2RGXd3u3443680@raptor.research.att.com>

p4raw-id: //depot/perl@30775

17 years agostop the cargo cult of (MEM_SIZE)~0
Jarkko Hietaniemi [Tue, 27 Mar 2007 15:07:52 +0000]
stop the cargo cult of (MEM_SIZE)~0
Message-Id: <200703271207.l2RC7qOC443040@kosh.hut.fi>

p4raw-id: //depot/perl@30774

17 years agoCompress::Zlib isn't a good example of extra modules,
Rafael Garcia-Suarez [Tue, 27 Mar 2007 11:15:51 +0000]
Compress::Zlib isn't a good example of extra modules,
since it's now core

p4raw-id: //depot/perl@30773

17 years agoFix return value of state assignment ($x=state $y=$z).
Rafael Garcia-Suarez [Tue, 27 Mar 2007 09:42:44 +0000]
Fix return value of state assignment ($x=state $y=$z).
Fix a form of state assignment (state($x)=$y).
Minor optimisation in pp_aassign for state variables.
New tests.

p4raw-id: //depot/perl@30772

17 years agoutil.c [PATCH] perlhack.pod (Was: Re: threads crashes in Tru64)
Jarkko Hietaniemi [Mon, 26 Mar 2007 19:50:11 +0000]
util.c [PATCH] perlhack.pod (Was: Re: threads crashes in Tru64)
Message-ID: <46085C33.1030601@iki.fi>

p4raw-id: //depot/perl@30771

17 years agoDocumented the PA-RISC End-Of_Life plan; more servers; some IPF
H.Merijn Brand [Tue, 27 Mar 2007 06:15:21 +0000]
Documented the PA-RISC End-Of_Life plan; more servers; some IPF
remarks. TODO: the various locations for downloading prebuilt
depots, and what their specifics are. The first is now in, but
no specifics yet.

p4raw-id: //depot/perl@30770

17 years agoIn struct regexp replace the two arrays of I32s accessed via startp
Nicholas Clark [Mon, 26 Mar 2007 22:52:18 +0000]
In struct regexp replace the two arrays of I32s accessed via startp
and endp with a single array of struct regexp_paren_pair, which has 2
I32 members. PL_regstartp and PL_regendp are replaced with a pointer
to regexp_paren_pair. The regexp swap structure now only has one
member, so abolish it and store the pointer to the swap array directly.
Hopefully keeping the corresponding start and end adjacent in memory
will help with cache coherency.

p4raw-id: //depot/perl@30769

17 years agoadd p55.t MAD tests, and convert renamed mad/nomad into a module
Gerard Goossen [Mon, 26 Mar 2007 21:48:48 +0000]
add p55.t MAD tests, and convert renamed mad/nomad into a module
Subject: Re: [PATCH] p55 tests
Message-ID: <20070322174056.GE24152@ostwald>

p4raw-id: //depot/perl@30768

17 years agoRename mad/nomad to mad/Nomad.pm
Gerard Goossen [Mon, 26 Mar 2007 21:42:48 +0000]
Rename mad/nomad to mad/Nomad.pm

Subject: Re: [PATCH] p55 tests
Message-ID: <20070322174056.GE24152@ostwald>

p4raw-id: //depot/perl@30767

17 years agoMove the declaration of two variables into the only block that uses
Nicholas Clark [Mon, 26 Mar 2007 21:40:12 +0000]
Move the declaration of two variables into the only block that uses
them.

p4raw-id: //depot/perl@30766

17 years agoNit to change 30762 by Gisle.
Rafael Garcia-Suarez [Mon, 26 Mar 2007 14:36:17 +0000]
Nit to change 30762 by Gisle.
Avoids storing the chars removed by 4-arg substr() in void context.

p4raw-id: //depot/perl@30763

17 years agoRe: substr($megabytes, 30) =
Yitzchak Scott-Thoennes [Mon, 12 Feb 2007 22:13:50 +0000]
Re: substr($megabytes, 30) =
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <1119.63.226.247.186.1171347230.squirrel@63.226.247.186>

p4raw-id: //depot/perl@30762

17 years agoMake the warning "interpreted as function" a bit less annoying,
Rafael Garcia-Suarez [Mon, 26 Mar 2007 14:21:39 +0000]
Make the warning "interpreted as function" a bit less annoying,
and test it properly

p4raw-id: //depot/perl@30761

17 years agosay() should parse exactly like print()
Rafael Garcia-Suarez [Mon, 26 Mar 2007 13:51:30 +0000]
say() should parse exactly like print()

p4raw-id: //depot/perl@30760

17 years agoRemove the object_compatibility placeholder in the interpreter struct
Rafael Garcia-Suarez [Mon, 26 Mar 2007 11:52:21 +0000]
Remove the object_compatibility placeholder in the interpreter struct

p4raw-id: //depot/perl@30759

17 years agoOn Linux, don't compile with -DTHREADS_HAVE_PIDS if the
Rafael Garcia-Suarez [Mon, 26 Mar 2007 10:09:21 +0000]
On Linux, don't compile with -DTHREADS_HAVE_PIDS if the
kernel uses the NPTL threading model

p4raw-id: //depot/perl@30758

17 years agoSimplify the logic in Perl_re_dup() - copy the structure as 1 block,
Nicholas Clark [Mon, 26 Mar 2007 08:39:43 +0000]
Simplify the logic in Perl_re_dup() - copy the structure as 1 block,
then fix up what differs. Curiously -Os with gcc x86 produces the same
sized object code.

p4raw-id: //depot/perl@30757

17 years agoChange 30753 forgot to remove 2 now unused variables.
Nicholas Clark [Sun, 25 Mar 2007 23:40:00 +0000]
Change 30753 forgot to remove 2 now unused variables.

p4raw-id: //depot/perl@30756

17 years agoLooks like re_dup has been leaking references on 2 SVs for most regexps
Nicholas Clark [Sun, 25 Mar 2007 23:34:58 +0000]
Looks like re_dup has been leaking references on 2 SVs for most regexps
since dot (only to be recovered for certain at thread exit).

p4raw-id: //depot/perl@30755

17 years agoA more efficient copy in Perl_reg_temp_copy()
Nicholas Clark [Sun, 25 Mar 2007 22:32:11 +0000]
A more efficient copy in  Perl_reg_temp_copy()

p4raw-id: //depot/perl@30754

17 years agoRe: The performance problem of 30678
Marcus Holland-Moritz [Sat, 24 Mar 2007 18:55:11 +0000]
Re: The performance problem of 30678
Message-ID: <20070324185511.02f84668@r2d2>
Date: Sat, 24 Mar 2007 18:55:11 +0100

p4raw-id: //depot/perl@30753

17 years agoMake readline() default to *ARGV.
Rafael Garcia-Suarez [Sat, 24 Mar 2007 21:14:22 +0000]
Make readline() default to *ARGV.
Plus MAD fixes.

p4raw-id: //depot/perl@30750

17 years agoNow that readpipe defaults to $_, I should update the prototype table
Rafael Garcia-Suarez [Sat, 24 Mar 2007 16:58:28 +0000]
Now that readpipe defaults to $_, I should update the prototype table
in opcode.pl too.

p4raw-id: //depot/perl@30749

17 years agoMake sure readpipe without argument can be followed by //
Rafael Garcia-Suarez [Sat, 24 Mar 2007 16:51:13 +0000]
Make sure readpipe without argument can be followed by //

p4raw-id: //depot/perl@30748