Vincent Pit [Fri, 2 Jan 2009 09:26:57 +0000 (10:26 +0100)]
Introduce "delete local"
Vincent Pit [Sat, 25 Jul 2009 16:24:31 +0000 (18:24 +0200)]
Use the new SAVEHDELETE() macro wherever possible
Vincent Pit [Sat, 25 Jul 2009 16:19:51 +0000 (18:19 +0200)]
Introduce save_hdelete() and SAVEHDELETE()
save_hdelete() is just like save_delete() except that it takes an SV instead of char buffer.
Vincent Pit [Fri, 24 Jul 2009 22:43:56 +0000 (00:43 +0200)]
Add a new SAVEf_KEEPOLDELEM flag to save_scalar_at() and save_{a,h}elem_flags()
When set, save_scalar_at() doesn't replace the given SV by a fresh new one. local magic is not called in this case.
Vincent Pit [Fri, 24 Jul 2009 22:15:07 +0000 (00:15 +0200)]
Introduce save_aelem_flags()
It's the symmetric of save_helem_flags(). save_aelem() is now a macro wrapping around save_aelem_flags().
Bram [Sat, 25 Jul 2009 20:11:55 +0000 (22:11 +0200)]
Craig A. Berry [Sat, 25 Jul 2009 19:06:34 +0000 (14:06 -0500)]
Save and restore PL_regeol for op inside of regex (RT ##66110)
If the op inside of a (?{ }) construct is another regex, the two
regexen end up corrupting each others' end-of-string markers,
resulting in various pathologies including access violations,
stack corruptions, and memory use growing without bound.
The change here is intended to be a relatively safe, cheap way to
prevent memory errors and makes no attempt to save and restore
other aspects of regex state; i.e., general purpose reentrancy
for the regex engine is still a TODO.
Bram [Sat, 25 Jul 2009 14:26:45 +0000 (16:26 +0200)]
Do not use a regex in DB::sub
Nicholas Clark [Sat, 25 Jul 2009 16:04:29 +0000 (17:04 +0100)]
When resetting our children, wipe out the isa cache too.
(Fix to change 34354, which introduced a cached hash to make ->isa O(1))
Nicholas Clark [Sat, 25 Jul 2009 16:03:21 +0000 (17:03 +0100)]
When dumping a hash, display the mro_meta structure if present.
Vincent Pit [Sat, 25 Jul 2009 13:56:27 +0000 (15:56 +0200)]
Add the new db tests to the MANIFEST
Bram [Fri, 24 Jul 2009 22:32:25 +0000 (00:32 +0200)]
Add test case for [perl #61222] + a test case for proxy constant subroutines
David Mitchell [Sat, 25 Jul 2009 10:54:16 +0000 (11:54 +0100)]
add -b option to makerel to make a .bz2 file
David Mitchell [Sat, 25 Jul 2009 10:38:30 +0000 (11:38 +0100)]
autodie 2.06_01
David Mitchell [Fri, 24 Jul 2009 23:21:25 +0000 (00:21 +0100)]
tweaks to release_managers_guide.pod
David Mitchell [Fri, 24 Jul 2009 22:42:39 +0000 (23:42 +0100)]
mention Deprecations in how_to_write_a_perldelta.pod
David Mitchell [Fri, 24 Jul 2009 14:57:32 +0000 (15:57 +0100)]
bump-perl-version missed "perl5.10.0" style strings
("perl-5.10.0" was matched, but without the "-", it failed)
David Mitchell [Fri, 24 Jul 2009 14:55:27 +0000 (15:55 +0100)]
minor tweaks to release_managers_guide.pod
Bram [Fri, 24 Jul 2009 10:39:50 +0000 (12:39 +0200)]
Add a test for mro::method_changed_in() and mro::invalidate_all_method_caches()
Bram [Fri, 24 Jul 2009 11:16:29 +0000 (13:16 +0200)]
This test is for [perl #60508] (it's in rt.perl.org; not in rt.cpan.org)
Rafael Garcia-Suarez [Fri, 24 Jul 2009 09:13:44 +0000 (11:13 +0200)]
Rephrase note about CHECK and INIT in eval("") in perlmod
(based on suggestions by David Nicol and chromatic)
Rafael Garcia-Suarez [Fri, 24 Jul 2009 07:26:52 +0000 (09:26 +0200)]
Thinko in given() description, found by chromatic
Rafael Garcia-Suarez [Fri, 24 Jul 2009 06:15:45 +0000 (08:15 +0200)]
Todo: decapsulation of smart match argument
Steve Peters [Thu, 23 Jul 2009 16:15:46 +0000 (11:15 -0500)]
Add file to the MANIFEST and sort
Craig A. Berry [Thu, 23 Jul 2009 13:08:29 +0000 (08:08 -0500)]
Restore full name of mro::mro_invalidate_all_method_caches.
It went missing in
1e9bd1186a044d6e3506ed14fbe055b8. See
discussion at:
Message-ID: <
20090722103454.GE60303@plum.flirble.org>
Chip Salzenberg [Thu, 23 Jul 2009 06:34:19 +0000 (23:34 -0700)]
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Ricardo SIGNES [Thu, 23 Jul 2009 05:29:10 +0000 (22:29 -0700)]
[rjbs] very minor tweaks to description of maint/blead
(cherry picked from commit
1b7ad6bc0c93abd2d9fad847e8449824e529ba24)
David Golden [Wed, 22 Jul 2009 21:20:56 +0000 (17:20 -0400)]
v-strings are not deprecated
With version objects, we need them for use MODULE VERSION syntax. This
patch removes the deprecation note.
Michael G. Schwern [Sun, 12 Jul 2009 09:33:47 +0000 (02:33 -0700)]
This is a test for rt.cpan.org 60508 which I can't figure out where else to put it or what the underlying problem is, but it has to go somewhere.
Michael G. Schwern [Sun, 12 Jul 2009 09:30:26 +0000 (02:30 -0700)]
Make fresh_perl_is() strip newlines off the expected result just like it does the result so tests don't weirdly fail just because the author didn't realize it was normalizing newlines.
David Mitchell [Wed, 22 Jul 2009 12:52:11 +0000 (13:52 +0100)]
ExtUtils::ParseXS 2.2002
Vincent Pit [Wed, 22 Jul 2009 12:35:49 +0000 (14:35 +0200)]
Teach goto how to cross given/when blocks
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:55:18 +0000 (11:55 +0200)]
Merge branch 'nobangs' into blead
Vincent Pit [Wed, 22 Jul 2009 09:48:22 +0000 (11:48 +0200)]
Ignore t/op/require.t byproducts
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:24:12 +0000 (11:24 +0200)]
Document the yada yada operator in perldelta
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:20:35 +0000 (11:20 +0200)]
Remove !!! and ??? operators
Those were adding non backwards compatible syntax, unlike "...",
as pointed out in bug #67646.
Niko Tyni [Wed, 22 Jul 2009 09:22:44 +0000 (11:22 +0200)]
Fix File::Copy::copy with pipes on GNU/kFreeBSD
Quoting Petr Salinger in http://bugs.debian.org/537555:
The Copy tries to detect whether source and dest are the same files.
Unfortunately, on the GNU/kFreeBSD the kernel returns for all pipes
as device and inode numbers just zero. See pipe_stat() in
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sys_pipe.c
Patch by Petr Salinger, tests by Niko Tyni.
Rafael Garcia-Suarez [Tue, 21 Jul 2009 12:02:25 +0000 (14:02 +0200)]
Simplify the code that sets $_ in given()
$_ is guaranteed to be lexical here, because the parser did an allocmy
when parsing the given() statement.
Rafael Garcia-Suarez [Tue, 21 Jul 2009 08:44:57 +0000 (10:44 +0200)]
perltodo: truncate() prototype
Rafael Garcia-Suarez [Tue, 21 Jul 2009 08:38:55 +0000 (10:38 +0200)]
perltodo: forbid labels with keyword names
Abigail [Mon, 20 Jul 2009 20:23:04 +0000 (22:23 +0200)]
Another typo, as spotted by Offer Kaye <offer.kaye@gmail.com>.
chromatic [Mon, 20 Jul 2009 20:14:29 +0000 (13:14 -0700)]
Typo Fixes in Diagnostic
Signed-off-by: Abigail <abigail@abigail.be>
Josh ben Jore [Mon, 20 Jul 2009 18:05:51 +0000 (11:05 -0700)]
Revert "Test that `use feature' doesn't leak a scalar during s///ee"
This reverts commit
cda5e2ec34321ed347095f583f979be84943ec52 which
duplicated something already commited in
fa13de9435b2f7be1099b9202ae6e26021b00ba8.
Josh ben Jore [Mon, 20 Jul 2009 14:39:25 +0000 (07:39 -0700)]
Test that `use feature' doesn't leak a scalar during s///ee
David Mitchell [Mon, 20 Jul 2009 12:59:35 +0000 (13:59 +0100)]
minor updates to release_managers_guide.pod
David Mitchell [Mon, 20 Jul 2009 12:51:56 +0000 (13:51 +0100)]
Mention DTrace in INSTALL.
Also explain that a debugging build is slower
Yves Orton [Sun, 19 Jul 2009 23:21:15 +0000 (01:21 +0200)]
forgot the version Bump - sigh
Yves Orton [Sun, 19 Jul 2009 23:18:06 +0000 (01:18 +0200)]
sync to 1.52_03 (hopefully properly this time)
David Mitchell [Sun, 19 Jul 2009 21:56:20 +0000 (22:56 +0100)]
(mostly) sync blead with ExtUtils::Install 1.52_02
(Installed.t still divergent)
Craig A. Berry [Sun, 19 Jul 2009 20:46:31 +0000 (15:46 -0500)]
Be sure to find the vmsish pragma for one-liners in exit.t.
Already in upstream at:
http://github.com/schwern/test-more/commit/
c842e916e4aa2e34c36afb3a930979d363121236
Yves Orton [Sun, 19 Jul 2009 20:40:14 +0000 (22:40 +0200)]
bring up to date with ExtUtils-Install v1.52_02
Tony Cook [Sat, 18 Jul 2009 19:49:04 +0000 (14:49 -0500)]
mro::method_changed_in(..) ignores AUTOLOAD (RT #60220)
Patch modified to use a boolean rather than an integer for tracking
mro changes in S_glob_assign_ref and test fixed not to warn.
URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60220
From the bug report:
-----------------------------------------------------------------
When creating a subclass dynamically, and when adding
AUTOLOAD dynamically into the parent class, then that
AUTOLOAD is not seen in the method cache, even after
a call to "mro::method_changed_in('Parent')".
It only appears in the method cache after a call
to mro::invalidate_all_method_caches().
The attached test file demonstrates the problem.
This was detected while trying to solve bug 40159 in DBIx::DataModel.
-----------------------------------------------------------------
Message-ID: <
20081031132021.GA21341@mars.tony.develop-help.com>
Vincent Pit [Sat, 18 Jul 2009 21:31:25 +0000 (23:31 +0200)]
Fix some nits in release_managers_guide.pod
David Mitchell [Sat, 18 Jul 2009 21:06:38 +0000 (22:06 +0100)]
add extra note about CoreList to release_managers_guide.pod:
David Mitchell [Sat, 18 Jul 2009 20:58:43 +0000 (21:58 +0100)]
add info on updating CoreList and tags to release_managers_guide.pod
David Mitchell [Sat, 18 Jul 2009 20:57:08 +0000 (21:57 +0100)]
Provisional update of CoreList for 5.10.1
(this will be done again just prior to RC1, but I wanted to try it out.
$VERSION has been bumped to what it will be for the final release.
David Mitchell [Sat, 18 Jul 2009 20:36:14 +0000 (21:36 +0100)]
add basic usage info to Porting/corelist.pl
Andy Dougherty [Thu, 16 Jul 2009 20:52:39 +0000 (13:52 -0700)]
Configure should sort inc_version_list
In searching for previous versions of perl, Configure
forgets to sort the directories according to version number,
so 5.10 sorts later than 5.8.
Specifically, without this patch, you'd get something like:
inc_version_list='5.8.9 5.8.8 5.10.0/i686-linux 5.10.0'
i.e. 5.10.0 would be searched *after* 5.8.8.
With this patch, you get something like:
inc_version_list='5.10.0/i686-linux 5.10.0 5.8.9 5.8.8'
Craig A. Berry [Sat, 18 Jul 2009 15:38:02 +0000 (10:38 -0500)]
Some of the TODOs in switches.t actually work on VMS.
David Mitchell [Sat, 18 Jul 2009 00:10:20 +0000 (01:10 +0100)]
fix pod2usage2 test for all case-insensitive systems
This test, when run from core in t/, finds pod/usage.pod before
../lib/Pod/Usage.pm. Remove '.' from the search path for all core
platforms, not just cygwin.
David E. Wheeler [Fri, 10 Jul 2009 17:14:39 +0000 (10:14 -0700)]
Fix ExtUtils::Installed failure with -Duserelocatableinc
This patch fixes an issue with ExtUtils::Installed when Perl is compiled with
userelocatableinc. It looks a though the issue is that `%Config` contains
local paths when built with -Duserelocatableinc, some, at least, with a
leading "./". The solution is to use `File::Spec->canonpath()` to clean up the
path before comparing two paths that are otherwise the same. A better solution
might be to use some sort of other utility function that checks that paths are
the same even if they're not spelled the same. I didn't notice such a function
in File::Spec, alas.
Also, I'm not sure what effects this change might have on VMS; it deserves
further testing there.
David Mitchell [Fri, 17 Jul 2009 20:38:44 +0000 (21:38 +0100)]
document why SQLite tests are exlcuded
Nicholas Clark [Fri, 17 Jul 2009 16:35:57 +0000 (17:35 +0100)]
Allocate XPV* memory using sizeof() and the offset of the first real member.
This avoids tripping over alignment differences between X* and x*_allocated,
because x*_allocated doesn't have a double in it.
Tidy up the documentation in comments. Eliminate relative_STRUCT_OFFSET() as
it is no longer used. Eliminate use of xpv_allocated, xpviv_allocated,
xpvav_allocated, xpvcv_allocated and xpvfm_allocated, but leave them in the
headers as they are publicly visible.
Nicholas Clark [Fri, 17 Jul 2009 15:17:58 +0000 (16:17 +0100)]
Eliminate struct regexp_allocated and xpvio_allocated.
Calculate memory allocation using regexp and XPVIO, and the offset of the first
real structure member. This avoids tripping over alignment differences between
X* and x*_allocated, because x*_allocated doesn't have a double in it.
Rainer Tammer [Fri, 17 Jul 2009 08:23:43 +0000 (10:23 +0200)]
hints/aix.sh remove libgdbm from wanted libs - dbm_store() is defective in the AIX Toolbox
Rainer Tammer [Fri, 17 Jul 2009 08:22:42 +0000 (10:22 +0200)]
README.aix for Perl 5.10.1
Rafael Garcia-Suarez [Thu, 16 Jul 2009 21:46:45 +0000 (23:46 +0200)]
Describe changes to Carp and Carp::Heavy
Rafael Garcia-Suarez [Thu, 16 Jul 2009 21:46:16 +0000 (23:46 +0200)]
Add a version number to B::Lint::Debug
Craig A. Berry [Thu, 16 Jul 2009 20:52:57 +0000 (15:52 -0500)]
No whitespace before comment allowed in VMS make utilities.
All extension building was broken without this.
Craig A. Berry [Thu, 16 Jul 2009 14:11:55 +0000 (09:11 -0500)]
Additional perlvms.pod updates related to POSIX exit handling.
Craig A. Berry [Thu, 16 Jul 2009 13:27:05 +0000 (08:27 -0500)]
URL and other fix-ups for README.vms
David Mitchell [Thu, 16 Jul 2009 12:46:50 +0000 (13:46 +0100)]
bump Encode version in Maintainers.pl
David Mitchell [Thu, 16 Jul 2009 12:27:46 +0000 (13:27 +0100)]
overloading.pm will work with 5.10.1
Nicholas Clark [Thu, 16 Jul 2009 12:07:45 +0000 (13:07 +0100)]
Note that editing pod.list then running pod/buildtoc automates these tasks.
Adam Russell [Wed, 15 Jul 2009 05:16:23 +0000 (01:16 -0400)]
patch submission(AUTHORS)
Re-submitting this patch.
Adding myself and Osvaldo Villalon.
Best Regards,
Adam
----- Original Message -----
From: "Jonathan Stowe" <jns@integration-house.com>
To: "Adam Russell" <arussell@cs.uml.edu>
Cc: <perl5-porters@perl.org>
Sent: Friday, July 03, 2009 8:14 AM
Subject: Re: patch submission(AUTHORS)
> Hi,
> that patch appears to made against a really old
> version of the AUTHORS
> file as it seems to be reverting some changes made
> last year (my
> e-mail address for instance :-)
>
> 2009/7/3 Adam Russell <arussell@cs.uml.edu>:
>> Added myself(Adam Russell) and Osvaldo Villalon.
>
>
>
> --
> http://rabidgravy.com/ - Music
> http://gellyfish.co.uk/ - Everything else
>
>From
a3b77323290dc0da9da193cb5ac3178c1f6708db Mon Sep 17 00:00:00 2001
From: Adam Russell <arussell@cs.uml.edu>
Date: Wed, 15 Jul 2009 00:59:35 -0400
Subject: [PATCH] Adding Adam Russell and Osvaldo Villalon(recent Symbian contributors).
Adam Russell [Wed, 15 Jul 2009 05:27:26 +0000 (01:27 -0400)]
patch submisson(symbian/symbian_utils.cpp)
This patch adds some compatibility for older Symbian
SDKs.
>From
146c431f9030e275fcf9aca35d79a72eece128c2 Mon Sep 17 00:00:00 2001
From: Osvaldo Villalon <ovillalon@dextratech.com>
Date: Fri, 3 Jul 2009 01:26:33 -0400
Subject: [PATCH 1690/1692] Osvaldo Villalon's changes to symbian_utils.cpp.
David Mitchell [Thu, 16 Jul 2009 09:53:04 +0000 (10:53 +0100)]
ExtUtils::MakeMaker 6.55_01
John E. Malmberg [Thu, 16 Jul 2009 02:45:57 +0000 (21:45 -0500)]
An update to the pod is in order for the PERL_VMS_POSIX_EXIT logical
name. That should help you with what to put in the delta file.
I forgot to indicate in the file that the DECC$FILENAME_UNIX_REPORT
feature also activates the PERL_VMS_POSIX_EXIT mode.
David Mitchell [Wed, 15 Jul 2009 22:59:21 +0000 (23:59 +0100)]
expand Porting/release_managers_guide.pod
and remove some similar or out-of-date stuff from Porting/pumpkin.pod
Vincent Pit [Wed, 15 Jul 2009 20:32:36 +0000 (22:32 +0200)]
Document PL_opfreehook
Vincent Pit [Wed, 15 Jul 2009 20:08:39 +0000 (22:08 +0200)]
The op_free() hook doesn't need to return an OP*, so introduce a new typedef for OP hooks
Moritz Lenz [Wed, 15 Jul 2009 14:53:37 +0000 (16:53 +0200)]
document given/when in perltrap
David Mitchell [Wed, 15 Jul 2009 10:51:23 +0000 (11:51 +0100)]
add Porting/bump-perl-version to MANIFEST
Craig A. Berry [Tue, 14 Jul 2009 23:53:27 +0000 (18:53 -0500)]
test_harness, not just test, needs unpack_files on VMS.
David Mitchell [Tue, 14 Jul 2009 22:22:37 +0000 (23:22 +0100)]
add Porting/bump-perl-version
utility for bumping the value of the perl version in lots of files
David Mitchell [Tue, 14 Jul 2009 18:20:06 +0000 (19:20 +0100)]
fix some perl version numbers
Abhijit Menon-Sen [Tue, 14 Jul 2009 14:44:43 +0000 (20:14 +0530)]
Update my address.
David Golden [Tue, 14 Jul 2009 03:16:35 +0000 (23:16 -0400)]
Explain camel and dromedary repository servers
Patch provided by Dennis Kaarsemaker.
Rafael Garcia-Suarez [Tue, 14 Jul 2009 07:41:42 +0000 (09:41 +0200)]
Don't preload Carp::Heavy in warnings.pm
Use only Carp, now that all the machinery is in it.
Rafael Garcia-Suarez [Tue, 14 Jul 2009 07:16:17 +0000 (09:16 +0200)]
Merge Carp::Heavy into Carp
David Golden [Mon, 13 Jul 2009 13:03:47 +0000 (14:03 +0100)]
upate pumpking list
Stepan Kasal [Mon, 13 Jul 2009 08:26:27 +0000 (10:26 +0200)]
Cosmetic change
Rafael Garcia-Suarez [Mon, 13 Jul 2009 07:40:04 +0000 (09:40 +0200)]
Upgrade to Encode 2.35
Michael G. Schwern [Sat, 11 Jul 2009 07:34:31 +0000 (00:34 -0700)]
Clean up t/op/sort.t to constrain tests which use a particular package.
Also make use of is() instead of a home rolled conflicting Test.pm style ok().
Paul Fenwick [Mon, 13 Jul 2009 01:30:28 +0000 (11:30 +1000)]
Better flock detection for autodie tests
G'day p5p,
Craig A. Berry discovered that autodie's tests which attempt to detect
flock() support can cause bogus test failures on older VMS systems:
https://rt.cpan.org/Ticket/Display.html?id=47812
Attached is a trivial patch from Craig that fixes this issue. It's already
been applied to my upstream repository.
Dave - I have no idea if this would be an issue for people building Perl
5.10.1 on old VMS systems. You may wish to consider it for inclusion into
maint-5.10 just in case.
All the very best,
Paul
--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Stepan Kasal [Thu, 9 Jul 2009 13:49:57 +0000 (15:49 +0200)]
h2ph: handle "#if defined SYMBOL" better
expr() contains a code to handle "defined(SYM)" in #if directives.
Unfortunately, this code is not executed for "defined SYM", without
parentheses. This patch fixes it.
Craig A. Berry [Sun, 12 Jul 2009 14:27:48 +0000 (09:27 -0500)]
Some missing realclean items for VMS.
Michael G Schwern [Sun, 12 Jul 2009 09:38:42 +0000 (02:38 -0700)]
Wrong skip count in t/op/stash.t
stash.t has the wrong number of tests to skip when dynamic loading is not
available breaking minitest.
David Mitchell [Sat, 11 Jul 2009 16:56:06 +0000 (17:56 +0100)]
[perl #61520] Segfault in debugger with tr// and UTF8
commit
043e41b8 (29765), which made tr// threadsafe by moving the
swash into the pad, didn't mark the pad SV as read-only, so it was getting
removed from anon sub prototypes
H.Merijn Brand [Sat, 11 Jul 2009 15:54:40 +0000 (17:54 +0200)]
Subject: [PATCH] Have add-package.pl include the Changes file
From: David Golden <dagolden@cpan.org>
Date: Fri, 10 Jul 2009 08:20:06 -0400
Message-Id: <
1247228406-29001-1-git-send-email-dagolden@cpan.org>
Also adds a "-c FILE" option for an alternate change log name
I've extended it With additional support for ChangeLog and open for more