Ævar Arnfjörð Bjarmason [Tue, 16 Feb 2010 18:19:18 +0000]
Mention why it's a good idea to use topic branches for everything
Most of this is derived from Dan Golden's E-Mail to me on
perl5-porters with the subject "[PATCH] Add comments to gv.c about
variable implementation" where I'd submitted a patch without using a
topic branch.
Ævar Arnfjörð Bjarmason [Tue, 16 Feb 2010 17:46:46 +0000]
Adjusted the git config user.name/user.email example for what 99% of users would like to do
Almost nobody wants to set user.name/user.email on a per-repository
basis as the previous example suggested. I put in a new example that
shows how to use C<git config --global> along with an example of how
to set user.email just for F<perl-git>
I replaced Leon Brocard's name with mine because he didn't fit into
the multiple E-Mail address example and I couldn't think of another
example.
Ævar Arnfjörð Bjarmason [Tue, 16 Feb 2010 17:36:58 +0000]
Prefix commands universally with "%". Most of the POD used that convention but a few cases didn't
Ævar Arnfjörð Bjarmason [Tue, 16 Feb 2010 17:33:43 +0000]
Don't recommend that people manually fiddle with their F<.git/config>, instead they should edit it with L<git-config(1)>
Ævar Arnfjörð Bjarmason [Tue, 16 Feb 2010 17:23:25 +0000]
Note that checking out from git via is at least 4x slower than git://
Tested on a 10 MiB/s connection in London, although this is also
IO/CPU bound since Git needs to resolve deltas and check out after the
repository has made it across the wire.
H.Merijn Brand [Tue, 16 Feb 2010 11:15:11 +0000]
Remove unused variable
Rafael Garcia-Suarez [Mon, 15 Feb 2010 23:00:32 +0000]
Doc adjustment about lock(), by Daniel Frederick Crisman
Nicholas Clark [Mon, 15 Feb 2010 14:56:54 +0000]
Add our repository URL as a 'repository' key in META.yml.
Steve Hay [Sun, 14 Feb 2010 23:52:41 +0000]
Bump version's $VERSION
version.pm was changed by
61a0cb1c57a82d328c88c2dd525c91495edb2db9
and Jesse confirms that the $VERSION should be bumped as a result.
Steve Hay [Sun, 14 Feb 2010 23:49:20 +0000]
Steve Hay [Sun, 14 Feb 2010 22:46:51 +0000]
First stab at a perl5115delta.pod with just under a week to go
Steve Hay [Sun, 14 Feb 2010 19:58:51 +0000]
Update AUTHORS and Porting/checkAUTHORS.pl with new names and aliases
Nicholas Clark [Sun, 14 Feb 2010 12:31:44 +0000]
Convert Perl_sv_pos_u2b_proper() to Perl_sv_pos_u2b_flags().
Change from a value/return offset pointer to passing a Unicode offset, and
returning a byte offset. The optional length value/return pointer remains.
Add a flags argument, passed to SvPV_flags(). This allows the caller to
specify whether mg_get() should be called on sv.
Nicholas Clark [Sun, 14 Feb 2010 16:04:35 +0000]
Remove a vestigial STRLEN case and convert a label to lowercase.
(Tweaking
777f7c561610dee6.)
Eric Brine [Fri, 12 Feb 2010 01:28:29 +0000]
Removes 32-bit limit on substr arguments. The full range of IV and UV is available for the pos and len arguments, with safe conversion to STRLEN where it's smaller than an IV.
H.Merijn Brand [Sat, 13 Feb 2010 18:09:53 +0000]
[PATCH] Support for SystemTap's dtrace compatibility layer and issues linking miniperl
SystemTaps' dtrace binary lives in /usr/bin, so add a check to Configure
for that.
Additionally link the dtrace .o file into miniperl, which is an issue
with SystemTap and also reported on p5p to affect OpenSolaris in
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Rafael Garcia-Suarez [Thu, 11 Feb 2010 21:57:31 +0000]
Bump Safe's version to 2.22
Reini Urban [Thu, 11 Feb 2010 11:56:39 +0000]
bump to CPAN 1.12. Only Makefile.PL changes not affecting CORE
Rafael Garcia-Suarez [Thu, 11 Feb 2010 21:36:54 +0000]
Silence spurious warning in new Safe test
This warning is emitted by perl when re-throwing the exception, so add a
TODO test to suppress it. However, fixing that will imply a core change.
Robin Barker [Thu, 11 Feb 2010 16:39:13 +0000]
Remove npl addresses from "my" files
Robin Barker [Thu, 11 Feb 2010 17:57:45 +0000]
delete orphaned text
David Golden [Thu, 11 Feb 2010 20:04:54 +0000]
Revised opening line of perl man page
This patch was reviewed with Larry Wall via IRC. His stipulation was
that both historical glossses be preserved to humorous effect.
David Golden [Thu, 11 Feb 2010 19:15:10 +0000]
revert perl -h changes
Tim Bunce [Thu, 11 Feb 2010 10:29:17 +0000]
Bug in Safe 2.21 re propagating exceptions
An exception thrown from a closure gets lost.
I've boiled it down to this:
perl -MSafe -e 'Safe->new->reval(q{sub { die @_ }})->(qq{ok\n})'
That should die with "ok".
The problem is that the closure that wraps any returned code ref if
threads are enabled is acting as an eval block so hiding the exception.
Rafael Garcia-Suarez [Thu, 11 Feb 2010 09:32:01 +0000]
[perl #72590] Panic if 'use strict' and forget 'my'
That bug happens when we detect a compilation error in the statement
being parsed, and when the continuation of the parsing of that same
statement needs to load the file unicore/Name.pl via charnames.pm.
In that case perl gets confused, fails to parse Name.pl because
the parser is already in error, and also fails to properly rewind
to a normal error-reporting state.
This patch does not attempt to fix the whole error-reporting process;
instead, it simply prevents perl from trying to load charnames if it has
already recorded a parse error. So, in a way, it hides the bug under
the carpet. However, this is a safe fix, suitable for a code-freeze
stage.
David Golden [Thu, 11 Feb 2010 03:54:43 +0000]
keep -h to 80 characters or less
David Golden [Thu, 11 Feb 2010 03:13:59 +0000]
Help new users learn how to get help
Jesse Vincent [Thu, 11 Feb 2010 02:05:08 +0000]
Note a change in warnings::register's behavior in 5.10 that wasn't documented at the time. Resolves [perl #62522]
Steve Peters [Thu, 11 Feb 2010 01:41:48 +0000]
Per Jesse, ignoring the skipping the tests form threaded OpenBSD
builds. See RT #71504 for the mess that this is avoiding.
Nicholas Clark [Tue, 9 Feb 2010 16:11:34 +0000]
Fix for non-regexps being upgraded to SVt_REGEXP
$ ./perl -lwe '$a = ${qr//}; $a = 2; print re::is_regexp(\$a)'
1
It is possible for arbitrary SVs (eg PAD entries) to be upgraded to
SVt_REGEXP. (This is new with first class regexps)
Whilst the example above does not SEGV, it will be possible to write
code that will cause SEGVs (or worse) at the point when the scalar is freed,
because the code in sv_clear() assumes that all scalars of type
SVt_REGEXP *are* regexps, and passes them to pregfree2(), which assumes that
pointers within are valid.
H.Merijn Brand [Tue, 9 Feb 2010 15:44:30 +0000]
regenerated Configure after backport cat ../perl/Configure >Configure
Please keep them sorted
Jesse Vincent [Tue, 9 Feb 2010 15:35:19 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
Warn people not to set PERL_CORE in XS
In embed.fnc the 'E' flag should imply 'X', but doesn't.
revise perldelta note on strict and lax version rules
expand flag descriptions in in embed.fnc
alphabetically sort flag descriptions in embed.fnc
[perl #72156]: substitute `less -R' for `less' for groff's new usage
INSTALL doc fix: calling the test suite using -MTestInit changed since it moved to top level (which happened in commit
30b6e59101b252c20a6b50b95203d1e2c6016604)
changed "an UTF..." to "a UTF..." in all Pods
Jesse Vincent [Tue, 9 Feb 2010 15:31:16 +0000]
Document unless () {} elsif () {} else {} and tell people not to use it.
Note to the deprecation police: this is not a language construct
deprecation. Just a bit of healthy advice about coding style.
Who knows. In a decade, this may be the lynchpin of "postmodern perl".
Reini Urban [Tue, 9 Feb 2010 15:17:00 +0000]
"unless else" wasn't previously documented, though it was valid syntax
David Mitchell [Mon, 8 Feb 2010 21:07:56 +0000]
Warn people not to set PERL_CORE in XS
Jan Dubois [Mon, 8 Feb 2010 03:06:50 +0000]
In embed.fnc the 'E' flag should imply 'X', but doesn't.
David Golden [Mon, 8 Feb 2010 02:25:20 +0000]
revise perldelta note on strict and lax version rules
David Mitchell [Sun, 7 Feb 2010 20:12:18 +0000]
expand flag descriptions in in embed.fnc
For each flag, try to list what precise effects that flag has
David Mitchell [Sun, 7 Feb 2010 18:44:34 +0000]
alphabetically sort flag descriptions in embed.fnc
Josh ben Jore [Mon, 1 Feb 2010 16:05:13 +0000]
[perl #72156]: substitute `less -R' for `less' for groff's new usage
of ANSI escape codes by setting $Config{less} (and thereby
$Config{pager}).
Slaven Rezic [Sat, 6 Feb 2010 22:14:56 +0000]
INSTALL doc fix: calling the test suite using -MTestInit changed since it moved to top level (which happened in commit
30b6e59101b252c20a6b50b95203d1e2c6016604)
Slaven Rezic [Sat, 6 Feb 2010 22:19:39 +0000]
changed "an UTF..." to "a UTF..." in all Pods
Jesse Vincent [Sun, 7 Feb 2010 02:06:56 +0000]
Removing invalid port L<> links from Version documentation updates.
Jesse Vincent [Sun, 7 Feb 2010 02:02:40 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
move version details to version::Internals and other clean up
document version::is_strict/is_lax
Document usage of version regexps
Export and document is_lax and is_strict functions
note that delete/exists ARRAY_ELEM should be avoided
Don't try to calculate a time over the conservative failure boundary.
Nicholas Clark [Sun, 7 Feb 2010 01:55:32 +0000]
Improvements to 31c9a3 - CPAN code did depend on the previous behaviour of blessing filehandles into FileHandle
It turns out that it's not quite as simple as blessing into IO::File.
If you do (just) that, then it breaks any existing code that does
C<require IO::Handle;> to allow it to call methods on file handles,
because they're blessed into IO::File, which isn't loaded. (Note this code
doesn't assume that methods in IO::Seekable are there to be called)
So, it all should work if you also set @IO::File:::ISA correctly?
That way, code that assumes that methods from IO::Handle can be called will
work. However, gv.c now starts complaining (but not failing) if IO::Handle,
IO::Seekable and Exporter aren't present, because it goes looking for
methods in them.
So the solution seems to be to set @IO::File::ISA *and* create (empty)
stashes for the other 3 packages. Patch appended, but not applied.
David Golden [Sat, 6 Feb 2010 20:09:20 +0000]
move version details to version::Internals and other clean up
David Golden [Sat, 6 Feb 2010 19:12:21 +0000]
document version::is_strict/is_lax
John Peacock [Wed, 27 Jan 2010 01:47:54 +0000]
Document usage of version regexps
Move the discussion of what each regexp coveres to version::Internals
and limit the discussion in the main POD to just include examples.
John Peacock [Tue, 26 Jan 2010 02:49:55 +0000]
Export and document is_lax and is_strict functions
Allow the is_lax and is_strict functions to be optionally
exported to the caller's namespace (without having to use Exporter).
Document the usage of is_lax and is_strict, plus nuke some trailing
spaces.
Ricardo Signes [Sat, 6 Feb 2010 18:17:01 +0000]
note that delete/exists ARRAY_ELEM should be avoided
addreses final determination of http://rt.perl.org/rt3/Public/Bug/Display.html?id=72064
Michael G. Schwern [Sun, 31 Jan 2010 11:22:08 +0000]
Don't try to calculate a time over the conservative failure boundary.
Otherwise gmtime(2**66) will cause a very, very, very long loop and
DOS Perl.
Add a test that very, very large times don't send gmtime and localtime into a loop
Had to fix some revealed mistakes in op/time.t when warnings were turned on.
Fix Time::gmtime and Time::localtime tests to match the new limits of gm/localtime.
Steffen Mueller [Thu, 4 Feb 2010 19:18:45 +0000]
Upgrade CPAN to 1.94_55
Jesse Vincent [Wed, 3 Feb 2010 20:41:13 +0000]
Revert "Update to MIME-Base64 3.09"
I chatted with Gisle and he confirmed that this didn't fix a
release-blocking issue. Since we're frozen for 5.12, he agreed that we
should back it out.
This reverts commit
5e58db16ffcf34442d0ba4b645757884324e35c2.
Jesse Vincent [Wed, 3 Feb 2010 17:44:19 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
Tests for RT #72432
Jesse Vincent [Wed, 3 Feb 2010 17:43:08 +0000]
Allow arbitrary whitespace between NAME and VERSION in "package NAME VERSION;" statements
Fixes [perl #72432]
Abigail [Wed, 3 Feb 2010 17:25:46 +0000]
Tests for RT #72432
Jesse Vincent [Wed, 3 Feb 2010 15:23:58 +0000]
add a watchdog for schwern's time overflow tests.
Michael G. Schwern [Sat, 30 Jan 2010 09:41:59 +0000]
Add sanity checks for far, far distant dates.
Can't go beyond y2**31 because of the 32 bit year
Adds a test that we can make it to at least +/-2**52. This is the
missing test for
455f2c6c92e42c1a9e31268cbd491ba661f99882 which kicked this
whole thing off.
Signed-off-by: Michael G. Schwern <schwern@pobox.com>
Gisle Aas [Tue, 2 Feb 2010 22:22:15 +0000]
Update to MIME-Base64 3.09
Fixes issue where the Quoted-Printable encoder would sometimes output
lines that were 77 characters long. The max line length should be 76.
Todd Rinaldo [Tue, 2 Feb 2010 17:27:37 +0000]
Diagnostic improvements to better understand why lib/Benchark.t test 13 has been failing smoke randomly.
Fix 1: Original code tests for less than but not =. I think that if these values are the same, the test should pass. I don't know the code well enough to be 100% sure. D
Fix 2: convert ok() to cmp_ok() for better diagnostic messages from smoke tests when they happen.
Fix 3: convert print to diag() so it will properly print through harness.
H.Merijn Brand [Mon, 1 Feb 2010 11:58:57 +0000]
[PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd.
This is needed at least by h2ph, otherwise the generated .ph files
choke on missing __LONG_MAX__ and similar definitions.
Patch by Samuel Thibault <sthibault@debian.org>.
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Michael G Schwern [Sun, 31 Jan 2010 10:53:43 +0000]
gmtime/localtime are busted around 2**48
Michael G Schwern wrote:
> Anyhow, I'm willing to let that drop, but I want figure out A) why its
> failing so early because it might be masking a bug, this is not
> predicted behavior, and most importantly B) to get it to error, or at
> least warn.
>
> I know B is possible, I did it for Time::y2038. I'll figure that part
> out and try to dig into A. I would like to call B a blocker for 5.12.
Found the bug, patch attached.
v_tm_tday is an NV, so casting time to an integer will cause an overflow
2**31 days after 1970 or somewhere between 2**47 and 2**48. Not sure why the
compiler didn't warn about that.
This makes it work until the year overflows.
As for putting in a warning, there's two options:
1) A few days before the 32 bit year overflows.
2) At some reasonable point before there's too much floating point inaccuracy.
The possibility of long doubles will make #2 difficult to nail down, but I'll
be happy with +/- 2**53.
--
24. Must not tell any officer that I am smarter than they are, especially
if it's true.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/
From
9e940e610ac5b2fbb09a554f505963094a4a0745 Mon Sep 17 00:00:00 2001
From: Michael G. Schwern <schwern@pobox.com>
Date: Sun, 31 Jan 2010 02:24:50 -0800
Subject: [PATCH] Type conversion bug in gmtime64 that was causing it to crap out around 2**48
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Karl Williamson [Sat, 30 Jan 2010 19:06:05 +0000]
Clarify warning that e.g. \q is reserved
Currently the meaning of e.g. \q is simply 'q', with a warning
generated. Elsewhere it is documented that this means that \q is
thus a reserved term, available for Perl to co-opt in some future
release. But the warning doesn't say that. Clarify it.
Frank Wiegand [Sat, 30 Jan 2010 08:54:32 +0000]
Fix POD typo
Ricardo Signes [Fri, 29 Jan 2010 00:19:13 +0000]
suggestion to use GET URL
Jesse Vincent [Thu, 28 Jan 2010 23:39:42 +0000]
Fix a broken pod link
brian d foy [Thu, 28 Jan 2010 20:22:43 +0000]
* Fill out the docs on the yada to show it as a satand in for statements, not expressions
Abigail [Thu, 28 Jan 2010 20:16:50 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Thu, 28 Jan 2010 20:16:33 +0000]
Add a few regression tests, making sure ... is parsed as a range operator
Karl Williamson [Thu, 28 Jan 2010 16:20:54 +0000]
Clean up 5.12 delta pod concerning regexes and Unicode changes
Nicholas Clark [Thu, 28 Jan 2010 11:37:28 +0000]
Resort MANIFEST.
Steve Hay [Wed, 27 Jan 2010 22:54:16 +0000]
Remove duplicate entries from MANIFEST
Steve Hay [Wed, 27 Jan 2010 22:46:23 +0000]
Add Porting/check-cpan-pollution to MANIFEST
brian d foy [Wed, 27 Jan 2010 03:54:32 +0000]
* Note that the flip-flop operator maintains state across subroutine calls
Steffen Mueller [Tue, 26 Jan 2010 16:31:52 +0000]
Check for Maintainers.pl updates
Make Porting/check-cpan-pollution test whether a given, presumably safe
commit to dual-lived modules also updated Porting/Maintainers.pl.
Steffen Mueller [Tue, 26 Jan 2010 16:23:38 +0000]
Porting/ tool: Check for bad commits against cpan/
Porting/check-cpan-pollution runs a series of tests to find potentially
unsafe commits that change dual-lived modules and prints a summary.
Vincent Pit [Tue, 26 Jan 2010 09:47:54 +0000]
A small typo in perlrun, spotted by Olivier Raginel.
Jim Cromie [Sat, 23 Jan 2010 16:35:37 +0000]
comment grammar, indentation
David Golden [Mon, 25 Jan 2010 20:55:52 +0000]
revise package NAME VERSION entry in perl5120delta
Ricardo Signes [Mon, 25 Jan 2010 17:00:28 +0000]
correct a typo
11:58 <@Zefram> "deference" is a typo
11:58 <@Zefram> (in that context)
11:58 <@rjbs> ...and it should be what?
11:58 <@Zefram> should be "dereference"
Ricardo Signes [Mon, 25 Jan 2010 16:31:22 +0000]
apply a second set of eyes to perl5120delta
* fix some grammatical and spelling errors
* adjust some usage nits
* remove irrelevant data
* reorganize some lists that became interspersed
Jesse Vincent [Mon, 25 Jan 2010 12:54:34 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
Update CPANPLUS::Dist::Build to cpan version 0.46
Change from a hard coded temporary file name in lib/AnyDBM_File.t.
Jesse Vincent [Mon, 25 Jan 2010 12:54:15 +0000]
Add perl5120delta to pod.lst and MANIFEST
Chris Williams [Mon, 25 Jan 2010 10:51:13 +0000]
Update CPANPLUS::Dist::Build to cpan version 0.46
Extract from Changes file
=========================
0.46 Sat Jan 23 07:52:19 GMT 2010
- actually make the prereq resolving fallback to _build/ querying
if the 'prereq_data' action fails. *facepalm*
Resolves an issue in prereq resolution where the failure of using
'Build prereq_data' would not fallback to querying _build/ data.
Highlighted by EekBoek distribution which bundled an older version of
Module::Build.
Nicholas Clark [Mon, 25 Jan 2010 10:27:38 +0000]
Change from a hard coded temporary file name in lib/AnyDBM_File.t.
Previously lib/AnyDBM_File.t and lib/DBM_Filter/t/*t shared the same hard coded
filename for their test database, causing a race condition during parallel
testing, and some spurious test failures.
Jesse Vincent [Sun, 24 Jan 2010 19:52:32 +0000]
Minor typo fix
Jesse Vincent [Sun, 24 Jan 2010 19:52:05 +0000]
First full pass at perl5120delta
Jesse Vincent [Sun, 24 Jan 2010 18:23:06 +0000]
Added a stub of the Perl 5.12.0 delta which will be a rollup of the various perl 5.11.x deltas
Rafael Garcia-Suarez [Fri, 22 Jan 2010 16:19:17 +0000]
Update to podlators 2.3.0
David Mitchell [Fri, 22 Jan 2010 13:16:27 +0000]
Clarify in INSTALL what an extension name looks like:
is it IPC::SysV or IPC/SysV, or... ?
David Mitchell [Fri, 22 Jan 2010 12:57:27 +0000]
fix SEGV in /\N{...}/
A simple program like the following could coredump:
use charnames ':full';
/\N{LATIN SMALL LETTER E}/;
The moral being, make sure sp is synced on return from call_sv()
*before* using the stack!
(Was a regression since 5.10)
Ricardo Signes [Thu, 21 Jan 2010 20:44:56 +0000]
update Mark Jason Dominus's name in AUTHORS
David Golden [Thu, 21 Jan 2010 17:18:11 +0000]
initialize undefined version objects with zero, not 'undef'
Nicholas Clark [Thu, 21 Jan 2010 16:07:59 +0000]
Add USE_PERL_ATOF to the list of -V's compile-time options.
Ricardo Signes [Thu, 21 Jan 2010 13:43:24 +0000]
Revert "remove defunct "Changes" file step from RMG"
This reverts commit
6642915e130e2410e5cc7d1e00a39aa7b8774d05.
Ricardo Signes [Thu, 21 Jan 2010 01:23:16 +0000]
remove defunct "Changes" file step from RMG
Nicholas Clark [Wed, 20 Jan 2010 17:22:32 +0000]
Remove CPAN's Makefile.PL; let make_ext.pl write one for us.
Nothing in CPAN's Makefile.PL was pertinent to building as part of the core
distribution, but code within it caused `make` after `make clean` to fail.
Resolves RT #72218
Ævar Arnfjörð Bjarmason [Wed, 20 Jan 2010 03:48:15 +0000]
Make perl's magic variables in gv.c grep-able
It can be hard especially for those unfamiliar with the source to find
where variables like $` and $[ are set up, now they're just a ack -Q
away.
Rafael Garcia-Suarez [Wed, 20 Jan 2010 17:09:54 +0000]
Update META.yml for Module::CoreList
Ricardo Signes [Wed, 20 Jan 2010 17:04:05 +0000]
create perl5115delta and update other versions