Father Chrysostomos [Sat, 4 Feb 2012 06:43:46 +0000 (22:43 -0800)]
Update MANIFEST with dist/Data-Dumper/t/qr.t
Alexandr Ciornii [Sat, 4 Feb 2012 06:42:31 +0000 (22:42 -0800)]
[perl #58608] TODO tests for DD and qr|\/|
Father Chrysostomos [Sat, 4 Feb 2012 06:31:38 +0000 (22:31 -0800)]
Increase $Cwd::VERSION to 3.39_02
Eric Brine [Sat, 4 Feb 2012 03:32:57 +0000 (22:32 -0500)]
Load File::Spec before using it in Cwd
Father Chrysostomos [Sat, 4 Feb 2012 05:55:31 +0000 (21:55 -0800)]
[perl #109762] Stop !$^V from leaking
by mortalising the temporary SVs.
Father Chrysostomos [Sat, 4 Feb 2012 05:48:27 +0000 (21:48 -0800)]
Increase $Data::Dumper::VERSION to 2.135_04
Father Chrysostomos [Sat, 4 Feb 2012 01:48:55 +0000 (17:48 -0800)]
[perl #107372] DD and overloaded blessed globs
Data::Dumper’s Perl implementation was not working with overloaded
blessed globs, which it thought were strings.
The _dump routine was already copying the value to another variable,
but it was using ref \$original or \$original stringified to see
whether it was dealing with a glob. Since the copy was already there,
it made sense for it to use ref \$copy instead. So that’s what I
made it do.
Eric Brine [Fri, 3 Feb 2012 21:56:54 +0000 (13:56 -0800)]
For the sake or robustness, avoid reproducing Perl guts in test file
Nicholas Clark [Fri, 3 Feb 2012 20:08:43 +0000 (21:08 +0100)]
Add -c option to bisect-runner.pl, for use with -e
This allows one to easily bisect to find when a something became, or stopped
being, a (compile-time) syntax error.
Chris 'BinGOs' Williams [Fri, 3 Feb 2012 15:41:03 +0000 (15:41 +0000)]
Update Version-Requirements to CPAN version 0.101022
[DELTA]
0.101022 2012-02-03 10:29:59 America/New_York
DEPRECATED DEPRECATED DEPRECATED DEPRECATED
Version::Requirements is still DEPRECATED
deprecation is only warned-about if not doing core perl tests,
to quiet them up for the sake of porters' sanity
Nicholas Clark [Fri, 3 Feb 2012 16:47:04 +0000 (17:47 +0100)]
Correct a =head2 to a =head3 in perlfunc.pod
Commit
8f0d6a616731a3d1 added the 'Non-function Keywords by Cross-reference'
section, using =head3 to group by man page. However, the entry for entry
for perlsyn was typo'd as =head2.
Ricardo Signes [Fri, 3 Feb 2012 15:24:20 +0000 (10:24 -0500)]
Revert "Add IO::Socket::IP 0.08 as dual-life module"
This reverts commit
497f7de2d964167330f7260590736e9adb18899c.
Zefram [Fri, 3 Feb 2012 11:30:22 +0000 (11:30 +0000)]
update copyright years in Carp
Paul Evans [Fri, 3 Feb 2012 09:33:16 +0000 (09:33 +0000)]
Add IO::Socket::IP 0.08 as dual-life module
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Zefram [Fri, 3 Feb 2012 10:53:00 +0000 (10:53 +0000)]
in Carp, avoid vivifying utf8 stash on Perl 5.6
Carp was breaking swash loading on Perl 5.6. Makes no difference to
blead, where the utf8 stash is previvified, but it matters for the
CPAN release.
Steffen Mueller [Fri, 3 Feb 2012 06:53:15 +0000 (07:53 +0100)]
XS::Typemap: Fix tests with -Dusemorebits
Thanks, Karl, for spotting this sillyness!
Father Chrysostomos [Fri, 3 Feb 2012 06:44:40 +0000 (22:44 -0800)]
[perl #108754] perlgit.pod: Stress rebase more
Based on a patch from Andreas König, but rearranged and reworded.
Father Chrysostomos [Fri, 3 Feb 2012 06:22:06 +0000 (22:22 -0800)]
perldelta for Carp dot
Father Chrysostomos [Fri, 3 Feb 2012 06:20:25 +0000 (22:20 -0800)]
perldelta for arybase lslice fix
Father Chrysostomos [Fri, 3 Feb 2012 02:00:17 +0000 (18:00 -0800)]
perldelta for SvPVutf8/byte
Father Chrysostomos [Fri, 3 Feb 2012 01:57:38 +0000 (17:57 -0800)]
perldelta for File::Copy and newlines
Father Chrysostomos [Fri, 3 Feb 2012 01:53:59 +0000 (17:53 -0800)]
perldelta for PerlIO::mmap
Father Chrysostomos [Fri, 3 Feb 2012 01:45:09 +0000 (17:45 -0800)]
Add 2 more CPAN mods to known_pod_issues.dat
Father Chrysostomos [Fri, 3 Feb 2012 00:14:53 +0000 (16:14 -0800)]
perldelta for Term::ReadLine and AE
Craig A. Berry [Fri, 3 Feb 2012 00:50:44 +0000 (18:50 -0600)]
Resurrect PerlIO-related typemap tests.
Apparently we were just missing the fact that T_IN and T_OUT are
pointers to PerlIO structs, not PerlIO structs themselves, which
kinda makes sense as you wouldn't normally have an entire struct
as a return value.
Craig A. Berry [Fri, 3 Feb 2012 00:17:02 +0000 (18:17 -0600)]
Revert "XS::Typemap: Disable PerlIO related typemap tests"
This reverts commit
57e770c980de065ed94a4bc87d0b1f930c5ff3d0.
Next commit gets these tests working.
Steffen Mueller [Thu, 2 Feb 2012 18:38:24 +0000 (19:38 +0100)]
perldelta for the various typemap and ParseXS related changes
Steffen Mueller [Thu, 2 Feb 2012 18:36:07 +0000 (19:36 +0100)]
Remove dead and obscure typemap entries
T_DATAUNIT and T_CALLBACK are nowhere to be found in a CPAN module and
are not used in core. Their purpose is entirely unclear and they are
trivial. They'll always be available from CPAN from the
ExtUtils::Typemaps::Excommunicated module. See perlxstypemap for details
on how to use that if you need it.
Father Chrysostomos [Thu, 2 Feb 2012 18:04:42 +0000 (10:04 -0800)]
perldelta for ->method(my(...)) fix
Father Chrysostomos [Thu, 2 Feb 2012 17:59:39 +0000 (09:59 -0800)]
perldelta for "\n" =~ /.*/g fix
Father Chrysostomos [Thu, 2 Feb 2012 17:49:06 +0000 (09:49 -0800)]
perldelta: Clarify Time::HiRes bug fix
Father Chrysostomos [Thu, 2 Feb 2012 17:48:27 +0000 (09:48 -0800)]
perldelta for _@ and _% prototypes
Zefram [Thu, 2 Feb 2012 16:35:34 +0000 (16:35 +0000)]
synch Carp::Heavy version number to Carp
Also add a test to make sure it stays synched.
Zefram [Thu, 2 Feb 2012 16:07:10 +0000 (16:07 +0000)]
make Carp messages match die properly
Add dot to end of message from Carp, to match the formatting from
CORE::die. The stack trace, coming after the message, is unchanged.
Steffen Mueller [Thu, 2 Feb 2012 07:04:43 +0000 (08:04 +0100)]
XS::Typemap: Silence pedantic compiler warnings
No need to try to optimize the typemap tests.
But it's still a rather backwards and useless typemap in general.
Steffen Mueller [Thu, 2 Feb 2012 07:02:08 +0000 (08:02 +0100)]
XS::Typemap: Disable PerlIO related typemap tests
Craig reports that these blow up for his compiler. (Presumably on VMS)
I don't have the time to fix this properly and wouldn't be certain how
to go about it efficiently anyway, so this should at least prevent
breaking the build and test suite.
Brian Fraser [Thu, 2 Feb 2012 04:10:52 +0000 (01:10 -0300)]
t/op/method.t: Add tests for subless AUTOLOAD and DESTROY
Ricardo Signes [Thu, 2 Feb 2012 03:07:35 +0000 (22:07 -0500)]
CORE does not need to be in perlfunc
Ricardo Signes [Tue, 31 Jan 2012 15:52:03 +0000 (10:52 -0500)]
finish documenting keywords, sort the xrefs
Ricardo Signes [Tue, 31 Jan 2012 15:21:58 +0000 (10:21 -0500)]
add perlfunc cross-reference sections
this should allow confused users to say "perldoc -f if"
hopefully in the future, a more generalized mechanism will
exist
Zefram [Wed, 1 Feb 2012 23:45:05 +0000 (23:45 +0000)]
update Math-Complex to CPAN version 1.59
* Don't declare "tan" operator overloading on Math::Complex
objects, because there is no such overloading type [rt.cpan.org
#74288].
* Remove execute bit from test scripts in CPAN tarball.
Zefram [Wed, 1 Feb 2012 22:22:59 +0000 (22:22 +0000)]
really allow pad_findmy's retval to be ignored
402642c6301a1dbc64ea3acc8beee35078afee26 only changed pad_findmy_pvn.
pad_findmy_pv and pad_findmy_sv need the same treatment.
Nicholas Clark [Wed, 1 Feb 2012 21:58:14 +0000 (22:58 +0100)]
Update, correct and clarify the comment in Perl_sv_setuv().
See the correspondence on ticket #36459 for more details.
Father Chrysostomos [Wed, 1 Feb 2012 21:30:06 +0000 (13:30 -0800)]
Increase $arybase::VERSION to 0.04
Father Chrysostomos [Wed, 1 Feb 2012 21:29:28 +0000 (13:29 -0800)]
[perl #109570] Fix off-by-1 error in arybase’s lslice
When I wrote that originally, I was treating POPMARK as equivalent to
--*PL_markstack_ptr, rather than *PL_markstack_ptr--.
So I was using the marker for the outer list surrounding the list
slice, and modifying whatever numbers were to be found there, such as
the 3 and 4 in [3, 4, qw(foo bar)[0]].
Father Chrysostomos [Wed, 1 Feb 2012 21:00:43 +0000 (13:00 -0800)]
Allow pad_findmy’s retval to be ignored
Nicholas Clark [Wed, 1 Feb 2012 20:44:51 +0000 (21:44 +0100)]
bisect.pl now exits with 0 for success for --help
bisect.pl --help now exits with 0 for success. The "that took" timing
message is no longer shown after the help text. The sanity test for "are we
running from the current checkout" is now moved after the argument checking,
so that bisect.pl --help will always show the help text.
Nicholas Clark [Wed, 1 Feb 2012 20:24:20 +0000 (21:24 +0100)]
Add --no-match to bisect.pl, equivalent to --expect-fail --match
Nicholas Clark [Wed, 1 Feb 2012 18:41:29 +0000 (19:41 +0100)]
bisect.pl now treats the command line as files to match with --match.
Previously with --match it would ignore the command line options, and search
in all distribution files (no --target given), or the build products only
(--target given). These remain the defaults if there are no command line
arguments. But now if command line arguments are given, this are used as glob
patterns to give the list of files to match against.
Zefram [Wed, 1 Feb 2012 18:06:38 +0000 (18:06 +0000)]
update Time-HiRes to CPAN version 1.9725
- Correct stack discipline in stat(), which was screwing up list
operations in expressions containing calls to it [rt.cpan.org
#72926].
- Add missing OUTPUT sections to the XS code [rt.cpan.org #70930].
- Skip itimer tests on GNU/Hurd, which has the API but lacks
the implementation [rt.cpan.org #72754].
- Fix a doubled word in the documentation [rt.cpan.org #72763].
Chris 'BinGOs' Williams [Wed, 1 Feb 2012 18:01:08 +0000 (18:01 +0000)]
Update Maintainers.pl for ExtUtils-ParseXS on teh CPAN
Steffen Mueller [Wed, 1 Feb 2012 17:27:30 +0000 (18:27 +0100)]
ExtUtils::ParseXS: Changelog and version bump to 3.14
Zefram [Wed, 1 Feb 2012 13:03:24 +0000 (13:03 +0000)]
fix punctuation in a panic message
Tony Cook [Mon, 30 Jan 2012 07:09:11 +0000 (08:09 +0100)]
perlxstypemap: typemap variable documentation
Add a list of the special Perl variables for interpolation
into typemaps. That's a very important bit of the typemapping mechanism
that was previously virtually undocumented!
Steffen Mueller [Sun, 29 Jan 2012 17:10:19 +0000 (18:10 +0100)]
Move more typemap-related documentation to the typemap doc file
Some of the discussion in perlxs was duplicated in perlxstypemap.
This also adds several references to the new man page and fixes
a few minor nits.
Steffen Mueller [Sun, 29 Jan 2012 14:25:52 +0000 (15:25 +0100)]
XS::Typemap: Somewhat consistent indentation
At least in my new code.
Steffen Mueller [Sat, 28 Jan 2012 16:50:05 +0000 (17:50 +0100)]
Fix typo in documentation
Steffen Mueller [Sat, 28 Jan 2012 16:47:16 +0000 (17:47 +0100)]
Move typemap documentation to its own file
Sadly, the POD in Typemap.xs was not easily extractable into a POD file
at build time, so it now lives in a separate POD file from the start.
Makes keeping documentation and testing efforts in sync marginally
harder, but it's probably the right trade-off.
What's left to do is finding the right places in other POD files to
refer to this old/new documentation.
Steffen Mueller [Sat, 28 Jan 2012 12:10:59 +0000 (13:10 +0100)]
XS::Typemap: Fix typo in docs, fix version
Steffen Mueller [Thu, 26 Jan 2012 22:54:38 +0000 (23:54 +0100)]
XS::Typemap: Tests for T_IN/T_OUT typemaps
Steffen Mueller [Thu, 26 Jan 2012 18:18:33 +0000 (19:18 +0100)]
XS::Typemap: Tests for T_INOUT typemap
Steffen Mueller [Thu, 26 Jan 2012 18:04:23 +0000 (19:04 +0100)]
XS::Typemap: Tests for the T_PACKEDARRAY typemap
Steffen Mueller [Tue, 24 Jan 2012 07:24:00 +0000 (08:24 +0100)]
XS::Typemap: Tests for T_PACKED
Steffen Mueller [Mon, 23 Jan 2012 17:33:26 +0000 (18:33 +0100)]
Document T_PACKEDARRAY
Steffen Mueller [Sat, 21 Jan 2012 14:20:05 +0000 (15:20 +0100)]
XS::Typemap: Document T_PACKED
Steffen Mueller [Fri, 20 Jan 2012 07:15:45 +0000 (08:15 +0100)]
XS-Typemap: Document sharing mechanism for typemaps
Thankfully, it's a one-liner now.
Steffen Mueller [Wed, 18 Jan 2012 07:28:36 +0000 (08:28 +0100)]
Inline the XS-Typemap typemap file
Steffen Mueller [Wed, 18 Jan 2012 07:13:58 +0000 (08:13 +0100)]
Document the exact format of a typemap
Including both the format of the content of a typemap file as well as
the embedded typemap syntax.
Steffen Mueller [Tue, 17 Jan 2012 07:54:50 +0000 (08:54 +0100)]
Typemaps: Start writing some general documentation
Steffen Mueller [Mon, 16 Jan 2012 21:39:01 +0000 (22:39 +0100)]
First stab T_REFREF docs
I am rather confident that this was added for some notion of symmetry
and completion. It's only half-implemented and there are no known users
in core or on CPAN. Candidate for deprecation (instead or in addition to
documentation?)?
Steffen Mueller [Mon, 16 Jan 2012 20:10:05 +0000 (21:10 +0100)]
Typemap tests: T_SHORT, T_U_INT, T_INT, T_LONG
Steffen Mueller [Mon, 16 Jan 2012 17:08:37 +0000 (18:08 +0100)]
Cleanup: Condense tests and add a few
Steffen Mueller [Mon, 16 Jan 2012 17:08:25 +0000 (18:08 +0100)]
Minor documentation fixes and annotations
Father Chrysostomos [Wed, 1 Feb 2012 04:40:14 +0000 (20:40 -0800)]
Stop SvPVutf8 from forcing the POK flag
It was setting this even on magical variables, causing stringification
not to bother calling FETCH, because the POK flag means ‘yes, I’m a
bonified [sic] string, with nothing funny going on’.
Father Chrysostomos [Wed, 1 Feb 2012 04:37:22 +0000 (20:37 -0800)]
XS::APItest: svpv_magic.t: Correct test name
Father Chrysostomos [Wed, 1 Feb 2012 02:16:48 +0000 (18:16 -0800)]
Make SvPVbyte return bytes for non-PVs
Instead of just doing SvPV on something that is not a PV, SvPVbyte
should actually do what it is advertised as doing.
Father Chrysostomos [Wed, 1 Feb 2012 02:16:24 +0000 (18:16 -0800)]
perldelta for ‘no overloading’ and qr//
Father Chrysostomos [Wed, 1 Feb 2012 02:14:12 +0000 (18:14 -0800)]
perldelta for stacked filetests and FETCH
Father Chrysostomos [Wed, 1 Feb 2012 02:13:14 +0000 (18:13 -0800)]
perldelta for stacked -t
Father Chrysostomos [Tue, 31 Jan 2012 21:04:57 +0000 (13:04 -0800)]
Test that SvPVutf8 works with magic vars
It didn’t until the previous commit.
Father Chrysostomos [Tue, 31 Jan 2012 20:57:09 +0000 (12:57 -0800)]
[perl #108994] Stop SvPVutf8 from coercing SVs
In shouldn’t destroy globs or references passed to it, or try to
coerce them if they are read-only or incoercible.
I added tests for SvPVbyte at the same time, even though it was not
exhibiting the same problems, as sv_utf8_downgrade doesn’t try to
coerce anything. (SvPVbyte has its own set of bugs, which I hope to
fix in fifthcoming commits.)
Father Chrysostomos [Tue, 31 Jan 2012 20:56:41 +0000 (12:56 -0800)]
perldelta for read-only core globs
Father Chrysostomos [Tue, 31 Jan 2012 20:24:23 +0000 (12:24 -0800)]
XS::APItest: Move $VERSION further up
so it can be changed without one having to search for it.
Father Chrysostomos [Tue, 31 Jan 2012 20:23:32 +0000 (12:23 -0800)]
Increase $XS::APItest::VERSION to 0.35
Father Chrysostomos [Tue, 31 Jan 2012 18:04:13 +0000 (10:04 -0800)]
perldelta for B::COP::stashflags
Father Chrysostomos [Tue, 31 Jan 2012 18:02:48 +0000 (10:02 -0800)]
B.pm: Document stashflags
(actually just list in; you have to know the internals
to use these things anyway)
Father Chrysostomos [Tue, 31 Jan 2012 17:52:29 +0000 (09:52 -0800)]
perldelta up to
675dc5e1a
Father Chrysostomos [Tue, 31 Jan 2012 17:30:54 +0000 (09:30 -0800)]
Increase $File::Copy::VERSION to 2.23
not 2.22, as that was used by 5.13.10, but the only changes in 5.13.10
were reverted for 5.13.11+.
Father Chrysostomos [Tue, 31 Jan 2012 17:27:20 +0000 (09:27 -0800)]
[perl #109104] File::Copy: Turn off ‘newline’ warnings
These warnings exist to catch file operations on unchomped file names.
But File::Copy should not be triggering them, otherwise it produces
warnings for every copy("foo/bar\n", "baz/bar\n"), with no (easy) way
to suppress the warning, as warnings are lexical.
I don’t know how to test this portably.
Father Chrysostomos [Tue, 31 Jan 2012 16:33:21 +0000 (08:33 -0800)]
Remove use of study from splain
It only helps with very long strings. It actually slows things down
slightly when used on short strings.
Father Chrysostomos [Tue, 31 Jan 2012 05:30:55 +0000 (21:30 -0800)]
Increase $File::Glob::VERSION to 1.17
following commit
ffa23acf6.
Nicholas Clark [Tue, 31 Jan 2012 13:29:04 +0000 (13:29 +0000)]
Add blank lines around Configure's duplicate extension diagnostic.
The diagnostic message containing the duplicate extension did not stand out,
particularly given that the immediately previous output is a very long line
of found extensions. So add blank lines on either to make it easier to
spot.
Florian Ragwitz [Tue, 31 Jan 2012 12:13:39 +0000 (13:13 +0100)]
Pod-Perldoc is now maintained on CPAN
Nicholas Clark [Tue, 31 Jan 2012 12:23:16 +0000 (13:23 +0100)]
Remove from perlfunc.pod the summaries of what's new/obsoleted in Perl 5.
Perl 5.000 isn't *new*. These days, people migrating to current Perl 5 aren't
coming from Perl 4, so this section is redundant.
Nicholas Clark [Tue, 24 Jan 2012 15:48:09 +0000 (16:48 +0100)]
Purge references to --libpod, an abbreviation for --libpods
--libpods was removed from Pod::HTML in commit
3b49d8d9ac841d8e, and
references to it removed in commit
6c6fc3be9a6e74e4. However, that commit
missed the fact that 2 callers were not using the full name for the option,
which works because Getopt::Long defaults to accepting unambiguous
abbreviations.
Nicholas Clark [Tue, 31 Jan 2012 11:16:53 +0000 (12:16 +0100)]
Configure now aborts with a diagnostic if it detects a duplicate extension.
During the development process, if an extension module changes dual-life
status it can move between ext/, dist/ and cpan/. If one uses git pull in a
built tree across such a change, one can end up with the build tree in a
messy state from which the 'distclean' target can't recover. Configure will
spot both the old and new directories, and may wrongly categorise the
extension as non-XS, resulting in obscure build failures after miniperl is
build.
In the general case, the "old" directory might contain files the user wants
to keep, so it's not safe to automatically delete it. The only safe option
is to ask the user to resolve the problem, hence with this change, if
Configure detects such a situation it aborts with a diagnostic suggesting
what to do.
This isn't a problem that affects released tarballs.
Nicholas Clark [Tue, 31 Jan 2012 11:02:43 +0000 (12:02 +0100)]
In B.xs, use *pvf() functions to reduce the number of API calls.
This gives a small reduction in both source lines and object code size.
Nicholas Clark [Tue, 24 Jan 2012 15:08:37 +0000 (16:08 +0100)]
diagnostics doesn't need to search for perldelta.pod in pre-5.005 locations.
Pods are installed into privlib. Before Perl 5.005, privlib didn't contain
the version number in it, so 5.004 and 5.003 (etc) both installed to the same
directory. perldiag.pod differed in not-quite compatible ways, so hacks were
put in to (a) also install it in privlib with the version number in the
filename (b) to hard link it to archlib, which always did contain the version
number.
5.005 changed privlib to contain the version number, solving the underlying
problem (strictly commit
bfb7748a896459cc, described here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-07/msg00136.html )
Commit
a841533b5cf319b3 (Oct 2009) removed the first installation hack,
Commit
e8ea61279d90dbe9 (Jul 1998) removed the second.
Hence the code to search in the "hacked" locations is no longer needed,
and in the interests of clarity, should go.
Karl Williamson [Sat, 28 Jan 2012 22:25:47 +0000 (15:25 -0700)]
podcheck.t: Add comment
Karl Williamson [Mon, 30 Jan 2012 18:27:07 +0000 (11:27 -0700)]
locale.t: Add tests for fc()