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
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
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
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
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
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
Jarkko Hietaniemi [Sat, 31 Mar 2007 15:30:09 +0000]
Symbian sync
Message-ID: <
460EB6C1.4020406@iki.fi>
p4raw-id: //depot/perl@30824
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
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
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
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
Dave Mitchell [Sun, 1 Apr 2007 00:51:00 +0000]
free backtrack track when on unexpected exit, eg /(?{ die })/
p4raw-id: //depot/perl@30819
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
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
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
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
Craig A. Berry [Sat, 31 Mar 2007 19:42:35 +0000]
Fix URL rot in README.vms
p4raw-id: //depot/perl@30814
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
Nicholas Clark [Sat, 31 Mar 2007 15:50:05 +0000]
precomp in struct regexp can be const char *.
p4raw-id: //depot/perl@30812
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
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
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
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:51:55 +0000]
This was released as 2.16.
p4raw-id: //depot/perl@30804
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:34:13 +0000]
Add new hints files.
p4raw-id: //depot/perl@30803
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
Nicholas Clark [Fri, 30 Mar 2007 11:52:43 +0000]
Remove the never-used numeric and character switch ops.
p4raw-id: //depot/perl@30785
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
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
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
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
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
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
Steve Peters [Thu, 29 Mar 2007 23:11:29 +0000]
Upgrade to CGI.pm-3.28
p4raw-id: //depot/perl@30778
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
Rafael Garcia-Suarez [Thu, 29 Mar 2007 07:56:11 +0000]
Back out changes 30762 and 30763
p4raw-id: //depot/perl@30776
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
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
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
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
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
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
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
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
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
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
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
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
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
Rafael Garcia-Suarez [Mon, 26 Mar 2007 13:51:30 +0000]
say() should parse exactly like print()
p4raw-id: //depot/perl@30760
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
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
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
Nicholas Clark [Sun, 25 Mar 2007 23:40:00 +0000]
Change 30753 forgot to remove 2 now unused variables.
p4raw-id: //depot/perl@30756
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
Nicholas Clark [Sun, 25 Mar 2007 22:32:11 +0000]
A more efficient copy in Perl_reg_temp_copy()
p4raw-id: //depot/perl@30754
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
Rafael Garcia-Suarez [Sat, 24 Mar 2007 21:14:22 +0000]
Make readline() default to *ARGV.
Plus MAD fixes.
p4raw-id: //depot/perl@30750
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
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
Rafael Garcia-Suarez [Sat, 24 Mar 2007 16:46:02 +0000]
Make readpipe default to $_
p4raw-id: //depot/perl@30747
Nicholas Clark [Sat, 24 Mar 2007 14:44:28 +0000]
startp and endp can allocate their array of I32s from the same block of
memory, and Copy() and free it as one.
Probably these two pointers to array should merge into single pointer
to an array of structs.
p4raw-id: //depot/perl@30745
Nicholas Clark [Fri, 23 Mar 2007 23:32:19 +0000]
It's possible to write the dup of struct reg_substr_datum with a
memcpy() replacing the member by member copy. Curiously gcc's -Os
produces the same sized code, but not all optimisers may manage this.
Also, by reading and re-assigning to the copied data for the sv_dup()s
we hope to avoid any cache misses on the copied from data.
p4raw-id: //depot/perl@30740
Rafael Garcia-Suarez [Fri, 23 Mar 2007 18:25:43 +0000]
Don't use PL_na.
p4raw-id: //depot/perl@30730
Father Chrysostomos [Sat, 10 Mar 2007 12:18:35 +0000]
[perl #41775] Memoize bug (and patch): problem with LIST_CACHE => MERGE
From: Father Chrysostomos (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-30201-
1173557915-1780.41775-75-0@perl.org>
p4raw-id: //depot/perl@30729
Marcus Holland-Moritz [Fri, 23 Mar 2007 17:21:15 +0000]
Upgrade to Devel::PPPort 3.11_01
p4raw-id: //depot/perl@30728
Nicholas Clark [Fri, 23 Mar 2007 16:55:13 +0000]
Move CHECK_WORD in regcomp.c to a more generic memEQs() in handy.h
and provide memNEs() too.
p4raw-id: //depot/perl@30726
Jerry D. Hedden [Fri, 23 Mar 2007 09:40:02 +0000]
Silence compiler warning in util.c
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <256688.25862.qm@web30215.mail.mud.yahoo.com>
p4raw-id: //depot/perl@30725
Nicholas Clark [Fri, 23 Mar 2007 16:15:58 +0000]
Change 30080 was wrong to swap the BEGIN test to memEQ
p4raw-id: //depot/perl@30724
Jari Aalto [Wed, 7 Mar 2007 11:08:24 +0000]
Re: [perl #41683] [PATCH] v5.8.8 pod2html -- incorrect treatment of non-manual page refs like "this(c)"
Message-ID: <87ejo1s9o7.fsf@w2kpicasso.cante.net>
with adjustments to the regexp
p4raw-id: //depot/perl@30722
Rafael Garcia-Suarez [Fri, 23 Mar 2007 14:33:22 +0000]
PerlFAQ sync.
Also, use a svn checkout done under an English locale, to
avoid having French dates in the headers. Hateful.
p4raw-id: //depot/perl@30721
Jerry D. Hedden [Tue, 20 Mar 2007 13:16:46 +0000]
Cwd doesn't need ppport.h in core
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <196803.14702.qm@web30215.mail.mud.yahoo.com>
p4raw-id: //depot/perl@30718
Matthijs van Duin [Tue, 20 Mar 2007 14:59:15 +0000]
symbol-exports needed for Data::Alias
Message-ID: <
20070320135915.GA25192@cds.nl>
p4raw-id: //depot/perl@30716
Rafael Garcia-Suarez [Fri, 23 Mar 2007 10:48:41 +0000]
Convert file to proper line-endings
p4raw-id: //depot/perl@30715
Rafael Garcia-Suarez [Fri, 23 Mar 2007 10:43:04 +0000]
Missing file in MANIFEST
p4raw-id: //depot/perl@30714
Rafael Garcia-Suarez [Fri, 23 Mar 2007 08:48:33 +0000]
Fix path of a test file for running in the core
p4raw-id: //depot/perl@30713
Steve Peters [Fri, 23 Mar 2007 03:45:30 +0000]
Upgrade to CPAN-1.88_79
p4raw-id: //depot/perl@30712
Steve Peters [Fri, 23 Mar 2007 03:36:47 +0000]
Upgrade to Test-Simple-0.70
p4raw-id: //depot/perl@30711
Steve Peters [Fri, 23 Mar 2007 02:17:50 +0000]
Re-sorting the MANIFEST after the mess made of it with the
Pod-Simple renamings
p4raw-id: //depot/perl@30710
Steve Peters [Fri, 23 Mar 2007 02:06:06 +0000]
Perforce appararently didn't like integrating this file, since
I had done it twice. It looks like an add will have to do instead.
p4raw-id: //depot/perl@30709
Yves Orton [Thu, 22 Mar 2007 19:42:54 +0000]
fix instalhtml and Pod::HTML issues.
Message-ID: <
9b18b3110703221142g4955362atffee33d05e30bd27@mail.gmail.com>
Just the changes to installhtml and Pod::HTML in this patch.
p4raw-id: //depot/perl@30708
Steve Peters [Fri, 23 Mar 2007 01:47:41 +0000]
Additional test file edits needed for Pod-Simple-3.05 that couldn't
be included due to the integrates being performed in the previous
change.
p4raw-id: //depot/perl@30707
Steve Peters [Fri, 23 Mar 2007 01:43:11 +0000]
Upgrade to Pod-Simple-3.05.
p4raw-id: //depot/perl@30706
Nicholas Clark [Thu, 22 Mar 2007 22:21:54 +0000]
Can use memEQ instead of strnEQ in CHECK_WORD()
p4raw-id: //depot/perl@30700
Rafael Garcia-Suarez [Thu, 16 Nov 2006 17:36:44 +0000]
Re: [perl #32687] Encode::is_utf8 on tainted UTF8 string
Message-ID: <
20061116173644.4412f66f@grubert.mandriva.com>
p4raw-id: //depot/perl@30693
Steve Hay [Thu, 22 Mar 2007 17:46:43 +0000]
Make sure Win32CORE.pm gets cleaned up
Normally it happens anyway, but sometimes when running 'distclean'
on a half-built source tree it gets left behind.
p4raw-id: //depot/perl@30691
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:45:36 +0000]
Misc. L<> fixes in core docs : don't link to man pages;
provide full urls when linking to web sites.
p4raw-id: //depot/perl@30688
Jerry D. Hedden [Thu, 22 Mar 2007 07:34:23 +0000]
Fix to threads::shared t/waithires.t
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <381102.32342.qm@web30207.mail.mud.yahoo.com>
p4raw-id: //depot/perl@30687
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:41:17 +0000]
Fix a broken link and a meaningless phrase in perldebguts
p4raw-id: //depot/perl@30686
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:37:43 +0000]
Remove references to perlcc from the core docs.
p4raw-id: //depot/perl@30685
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:25:54 +0000]
Fix internal POD link
p4raw-id: //depot/perl@30684
Nicholas Clark [Thu, 22 Mar 2007 14:00:14 +0000]
Re-order the flags values for struct refcounted_he to allow the
possibility of storing 2 futher types. Add a void * to the union
as it won't increase the size, but may become useful.
p4raw-id: //depot/perl@30683
Jarkko Hietaniemi [Wed, 21 Mar 2007 08:01:14 +0000]
Re: [PATCH] lib/Pod/Html.pm plus a funky UT8-8 regex bug
Message-ID: <
46011E8A.1080009@iki.fi>
p4raw-id: //depot/perl@30681
Rafael Garcia-Suarez [Thu, 22 Mar 2007 09:19:22 +0000]
regexp refcount is an integer, not a pointer
p4raw-id: //depot/perl@30680
Rafael Garcia-Suarez [Thu, 22 Mar 2007 09:16:37 +0000]
Fix error message for re::regnames_iterinit()
p4raw-id: //depot/perl@30679
Yves Orton [Wed, 21 Mar 2007 10:39:24 +0000]
Resolve PL_curpm issues with (??{}) and fix corruption of match results when pattern is a qr.
Message-ID: <
9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com>
plus two follow-up patches (minor tweaks)
p4raw-id: //depot/perl@30678
Jerry D. Hedden [Wed, 21 Mar 2007 13:15:53 +0000]
threads 1.61
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <999680.51877.qm@web30208.mail.mud.yahoo.com>
Fix 'list/array' context - both keywords are supported
p4raw-id: //depot/perl@30677
Gerard Goossen [Wed, 21 Mar 2007 19:18:52 +0000]
fix MAD compilation of C-style for loop
Subject: [PATCH] MAD C-style for loop
Message-Id: <
20070321181852.GD31539@ostwald>
p4raw-id: //depot/perl@30676
Steve Peters [Wed, 21 Mar 2007 23:21:46 +0000]
Silence a couple of warnings caused by change #30672.
p4raw-link: @30672 on //depot/perl:
c94db568e030a227855e08f584b1bff860be0cf5
p4raw-id: //depot/perl@30675
Nicholas Clark [Wed, 21 Mar 2007 22:59:47 +0000]
Adjust test count for 5.8.x
p4raw-id: //depot/perl@30673
Steve Peters [Wed, 21 Mar 2007 22:44:10 +0000]
Make gcc warn in case code is not C++ compatible.
p4raw-id: //depot/perl@30672