This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
9 years agoFix for perl #112316: Wrong behavior regarding labels with same prefix
Brian Fraser [Fri, 6 Apr 2012 20:47:14 +0000 (17:47 -0300)]
Fix for perl #112316: Wrong behavior regarding labels with same prefix

The code that compared non UTF-8 labels neglected to check that
the label's length was equal before comparing them with a memEQ,
which lead to code that used labels with the same prefixes to fail:

./perl -Ilib -E 'CATCH: { CATCHLOOP: { last CATCH;  } die  }'

9 years agoadd a missing colon to a code snippet in perlfunc
Ricardo Signes [Fri, 6 Apr 2012 18:06:49 +0000 (14:06 -0400)]
add a missing colon to a code snippet in perlfunc

9 years agoperl5160delta.pod: ‘glob failed’ is suppressible
Father Chrysostomos [Fri, 6 Apr 2012 13:29:31 +0000 (06:29 -0700)]
perl5160delta.pod: ‘glob failed’ is suppressible

This is a post-5.15.9 change.

9 years agoperl5160delta.pod: #111842
Father Chrysostomos [Fri, 6 Apr 2012 13:28:04 +0000 (06:28 -0700)]
perl5160delta.pod: #111842

9 years agoperl5160delta.pod: double space
Father Chrysostomos [Fri, 6 Apr 2012 05:57:53 +0000 (22:57 -0700)]
perl5160delta.pod: double space

9 years agoperl5160delta.pod: Add more 5.15.9 stuff
Father Chrysostomos [Fri, 6 Apr 2012 05:57:07 +0000 (22:57 -0700)]
perl5160delta.pod: Add more 5.15.9 stuff

This remains:

    a40630bf5c45 #111842

and these entries from perl5159delta:

    =head1 Security

    =head2 Malformed UTF-8 input could cause attempts to read beyond the
    end of the buffer

    Two new XS-accessible functions, C<utf8_to_uvchr_buf()> and
    C<utf8_to_uvuni_buf()> are now available to prevent this, and the Perl
    core has been converted to use them.
    See L</Internal Changes>.

    =head1 Deprecations

    =head2 XS functions C<utf8_to_uvchr()> and C<utf8_to_uvuni()>

    Use C<utf8_to_uvchr_buf()> and C<utf8_to_uvuni_buf()> instead.
    See L</Internal Changes>.

9 years agoperl5160delta.pod: Document ‘no feature’ changes
Father Chrysostomos [Fri, 6 Apr 2012 05:43:45 +0000 (22:43 -0700)]
perl5160delta.pod: Document ‘no feature’ changes

and also the ‘:all’ bundle, copied from perl5159delta.

9 years agoperl5160delta.pod: Clarify Cygwin::sinc_winenv addition
Father Chrysostomos [Fri, 6 Apr 2012 05:19:42 +0000 (22:19 -0700)]
perl5160delta.pod: Clarify Cygwin::sinc_winenv addition

9 years agoperl5160delta.pod: Make bug numbers greppable
Father Chrysostomos [Fri, 6 Apr 2012 05:15:48 +0000 (22:15 -0700)]
perl5160delta.pod: Make bug numbers greppable

9 years agoperl5160delta.pod: Mention !$^V leak
Father Chrysostomos [Fri, 6 Apr 2012 05:15:13 +0000 (22:15 -0700)]
perl5160delta.pod: Mention !$^V leak

This was omitted from 5.15.8’s delta.

9 years agoAdd Christopher Madsen to AUTHORS
Father Chrysostomos [Thu, 5 Apr 2012 13:18:22 +0000 (06:18 -0700)]
Add Christopher Madsen to AUTHORS

9 years ago[perl #112248] Fix typos in perl515*delta
Christopher J. Madsen [Thu, 5 Apr 2012 13:17:13 +0000 (06:17 -0700)]
[perl #112248] Fix typos in perl515*delta

9 years agoFix VMS build broken by d1718a7cf5
Father Chrysostomos [Thu, 5 Apr 2012 05:22:53 +0000 (22:22 -0700)]
Fix VMS build broken by d1718a7cf5

This comment in perl.c:

/* Note: 20,40,80 used for NATIVE_HINTS */

(added by a0ed51b3 [Here are the long-expected Unicode/UTF-8 mod-
ifications.]), has apparently always been wrong.  The values in
vms/vmsish.h end with 7 zeroes in hex, and are only shifted down to
one zero when assigned to cop->op_private in op.c:newSTATEOP.  In
PL_hints they never have the values indicated in perl.h.  So those
are actually free bits.  It’s the high versions in vmsish.h that
are not free.

20 (actually 0x20000000) hasn’t been used for anything since commit
744a34f9085 (Urk -- undo previous removal of vmsish 'exit' change),
which change I don’t really understand.  In any case, the comment was
never updated.

This comment in op.h:

/* NOTE: OP_NEXTSTATE and OP_DBSTATE (i.e. COPs) carry lower
 * bits of PL_hints in op_private */

was added by d41ff1b8ad98 (introduce $^U), which was later reverted.
op_private does not carry the lower bits of PL_hints, but, rather,
certain higher bits of PL_hints, shifted to fit (the NATIVE_HINTS
cited above).

Due to misleading comments, I ended up breaking the VMS build in com-
mit d1718a7cf5, by using its bits for something else.

This commit moves the bits around a bit to avoid the clash, and modi-
fies the comments to reflect reality.

9 years agoUnicode::UCD.pm: Bump version
Karl Williamson [Wed, 4 Apr 2012 20:47:59 +0000 (14:47 -0600)]
Unicode::UCD.pm: Bump version

9 years agoperlunicode: Remove out-dated text
Karl Williamson [Thu, 29 Mar 2012 03:00:13 +0000 (21:00 -0600)]
perlunicode: Remove out-dated text

This promised feature never fully worked, as some things have always
been compiled into perl, and just changing an environment variable won't
change that.  In 5.16, even more things are compiled-in, so this is even
more broken

9 years agoUnicode::UCD::prop_invmap(): Return 's' not 'i' format
Karl Williamson [Thu, 29 Mar 2012 02:43:58 +0000 (20:43 -0600)]
Unicode::UCD::prop_invmap(): Return 's' not 'i' format

The 'i' is an earlier name, and I overlooked changing it when the other
formats were changed.  In Unicode 6.1, the only property that is
affected is Bmg.

9 years agoDecrease $Safe::VERSION to 2.31_01
Father Chrysostomos [Tue, 3 Apr 2012 15:51:14 +0000 (08:51 -0700)]
Decrease $Safe::VERSION to 2.31_01

There has been a release of 2.32 on CPAN with changes that are not in
blead.  So what bleadperl has is 2.31 plus a tiny fix that does not
affect older perl versions.

9 years ago[perl #111462] Move strict hints from %^H to $^H
Father Chrysostomos [Sat, 31 Mar 2012 20:50:04 +0000 (13:50 -0700)]
[perl #111462] Move strict hints from %^H to $^H

With commit b50b20584, strict.pm starting putting hints in %^H to
indicate that strict mode has been enabled or disabled explicitly, so
version declarations should not change the setting.

This causes ‘Unbalanced string table refcount’ warnings when Safe.pm
encounters prohibited ops.

This happens because ops are leaking when those ops point to HEKs (in
the internal form that %^H takes when attached to ops).

This commit moves those new strict hints into $^H, to avoid those
warnings.  This does simply paper over the real problem (leaked ops),
but at least it gets the warnings back down to the 5.14 amount.

Because of the new hints in $^H, B::Concise has been updated to
account for them, and so have all its tests.  I modified OptreeCheck
to avoid setting the hints with ‘no strict;’, as that resulted in
slightly fewer changes to the tests.  It will also result in fewer
changes to the tests in future.

Two B::Deparse tests started failing due to %^H not being localised.
Apparently there is a bug somewhere (in perl, Deparse.pm or deparse.t)
that got triggered as a result.  In fact, one of the tests exhibited
*two* bugs.  But for now, I’ve simply added a workaround to the two
tests so they don’t trigger those bugs (which bugs will have to wait
till after 5.16).

9 years agoMaintainers.pl: Make blead upstream for B::Concise
Father Chrysostomos [Tue, 3 Apr 2012 05:13:11 +0000 (22:13 -0700)]
Maintainers.pl: Make blead upstream for B::Concise

‘undef’ (its previous value) means that it hasn’t been discussed yet.
But, for all intents and purposes, this module is maintained in blead,
since it is very tightly coupled with the perl core and is used mostly
in debugging perl itself.

What’s annoying about having it set to ‘undef’ is that
t/porting/cmp_version.t skips it.

(I almost forgot to update a version as a result.)

9 years agoIncrease $B::Concise::VERSION to 0.89
Father Chrysostomos [Tue, 3 Apr 2012 05:13:59 +0000 (22:13 -0700)]
Increase $B::Concise::VERSION to 0.89

9 years agoIncrease $OptreeCheck::VERSION to 0.07
Father Chrysostomos [Tue, 3 Apr 2012 05:01:51 +0000 (22:01 -0700)]
Increase $OptreeCheck::VERSION to 0.07

I am still baffled as to why this module needs a version.

9 years agoIncrease $B::Deparse::VERSION to 1.14
Father Chrysostomos [Sat, 31 Mar 2012 20:33:42 +0000 (13:33 -0700)]
Increase $B::Deparse::VERSION to 1.14

9 years agoIncrease $strict::VERSION to 1.07
Father Chrysostomos [Sat, 31 Mar 2012 20:33:33 +0000 (13:33 -0700)]
Increase $strict::VERSION to 1.07

9 years agoUpstream pkgsrc patch to support NetBSD 6.*
Chris 'BinGOs' Williams [Mon, 2 Apr 2012 19:19:52 +0000 (20:19 +0100)]
Upstream pkgsrc patch to support NetBSD 6.*

From original patch:

"NetBSD-6.x is same condition as older releases."

9 years agoDetermine if ELF even if ld is not ''
H.Merijn Brand [Sun, 1 Apr 2012 10:01:30 +0000 (12:01 +0200)]
Determine if ELF even if ld is not ''

9 years agoSafe.pm: Don’t eval code under ‘no strict’
Father Chrysostomos [Sat, 31 Mar 2012 20:17:40 +0000 (13:17 -0700)]
Safe.pm: Don’t eval code under ‘no strict’

Instead of evaluating code under ‘no strict’, we should be evaluating
it with no pragmata at all by default.

This allows ‘use 5.012’ to enable strictures in reval.  It also
has the side effect of suppressing the ‘Unbalanced string table
refcount’ warnings, at least in some cases.  This was brought up in
ticket #107000.

9 years agoConvert safeops.t to test.pl
Father Chrysostomos [Sat, 31 Mar 2012 18:35:11 +0000 (11:35 -0700)]
Convert safeops.t to test.pl

For the sake of tests in the next commit, it needs runperl(), which
test.pl provides.  Since this script is only run in the perl core, it
should be fine.

9 years agoIncrease $Safe::VERSION to 2.32
Father Chrysostomos [Sat, 31 Mar 2012 16:51:08 +0000 (09:51 -0700)]
Increase $Safe::VERSION to 2.32

9 years agoReinstate dummy ignoredpods functionality
Rafael Garcia-Suarez [Sat, 31 Mar 2012 14:48:24 +0000 (16:48 +0200)]
Reinstate dummy ignoredpods functionality

The stub manpages (perlboot, perltoot, etc.) are listed in perl.pod,
so they don't need to be ignored by buildtoc. They weren't ignored
anyway, since the %ignoredpods hash was, well, ignored.

9 years agoAdd ld_can_script probe to Configure
H.Merijn Brand [Sat, 31 Mar 2012 14:31:29 +0000 (16:31 +0200)]
Add ld_can_script probe to Configure

With this new probe, requested by rafl, we could start building perl as
it would be built on OSs like AIX and Windows and actually test visibility
of the API and thus early detect if tests would fail on these restrictive
OSs

9 years agoAdd perltodo in the list of ignored pods
Rafael Garcia-Suarez [Sat, 31 Mar 2012 14:16:09 +0000 (16:16 +0200)]
Add perltodo in the list of ignored pods

(like the other obsolete manpage placeholders)

9 years agoUpdate base.pm's Changes file from the perldeltas
Rafael Garcia-Suarez [Sat, 31 Mar 2012 10:11:51 +0000 (12:11 +0200)]
Update base.pm's Changes file from the perldeltas

9 years agoRemove test for a functionality that was removed
Rafael Garcia-Suarez [Sat, 31 Mar 2012 10:10:36 +0000 (12:10 +0200)]
Remove test for a functionality that was removed

(this wasn't found earlier because this test file is only
run with perls <= 5.8.x)

9 years agoAdjust skip condition of tests for fields.pm to cover 5.14.*
Rafael Garcia-Suarez [Sat, 31 Mar 2012 09:27:05 +0000 (11:27 +0200)]
Adjust skip condition of tests for fields.pm to cover 5.14.*

and improve diagnostics

9 years agoTypo fix in the list of maintainers
Rafael Garcia-Suarez [Sat, 31 Mar 2012 08:55:12 +0000 (10:55 +0200)]
Typo fix in the list of maintainers

9 years agoShow maintainer name in corecpan output
Rafael Garcia-Suarez [Sat, 31 Mar 2012 08:54:51 +0000 (10:54 +0200)]
Show maintainer name in corecpan output

9 years agoutf8.c: Add back inadvertently deleted pod text
Karl Williamson [Tue, 20 Mar 2012 15:25:09 +0000 (09:25 -0600)]
utf8.c: Add back inadvertently deleted pod text

This was deleted by mistake in commit
4b88fb76efce8c436e63b907c9842345d4fa77c7

9 years agoUse remove more uses of utf8_to_uvchr()
Karl Williamson [Wed, 21 Mar 2012 23:30:05 +0000 (17:30 -0600)]
Use remove more uses of utf8_to_uvchr()

Commit 4b88fb76efce8c436e63b907c9842345d4fa77c7 missed 2 occurrences of
this, one of which is #ifdef'd out.

9 years agoUpdate Maintainers.pl for version-0.96
Chris 'BinGOs' Williams [Thu, 29 Mar 2012 09:09:37 +0000 (10:09 +0100)]
Update Maintainers.pl for version-0.96

9 years ago[perl #111864] Don’t leave obj on stack for -x $overloaded
Father Chrysostomos [Thu, 29 Mar 2012 06:38:05 +0000 (23:38 -0700)]
[perl #111864] Don’t leave obj on stack for -x $overloaded

Commit 8db8f6b697e changed the way filetest operators use the stack,
in order to make stacked -t work.

Filetest operators were changed to pop the argument off the stack for
a standalone operator, but to leave it on the stack for a stacking op
(so the next operator could use it).  The code for handling overloaded
objects, which was separate, was already doing something similar, by
not popping the object off the stack.

I made the mistake of changing overloaded objects’ return code to
share code with regular filetest operators (the FT_RETURN_* macros),
but without changing the way the overload code got the item from the
stack to begin with.  Hence, the returning code assumed that the argu-
ment had been popped for non-stacking ops, which was not the case.

This commit changes the way the overload case does it’s return, to
account for the fact that the object must be left on the stack when
initially fetched from it (in case the object turns out not to have -X
overloading and the regular code has to kick in).

9 years agouni/parser.t: Don’t test for explicit eval number
Father Chrysostomos [Wed, 28 Mar 2012 15:55:47 +0000 (08:55 -0700)]
uni/parser.t: Don’t test for explicit eval number

A different ‘(eval xxx)’ number was being emitted under miniperl.

9 years agoCorrect minitest skip count in uni/labels.t
Father Chrysostomos [Wed, 28 Mar 2012 15:50:41 +0000 (08:50 -0700)]
Correct minitest skip count in uni/labels.t

9 years ago[perl #111462] Don’t leak eval "" op tree when croaking
Father Chrysostomos [Wed, 28 Mar 2012 05:38:01 +0000 (22:38 -0700)]
[perl #111462] Don’t leak eval "" op tree when croaking

This patch only fixes the problem for croaks that occur in the peep-
hole optimiser or in Perl_finalize_optree.

It does this by doing SAVEFREEOP first and then restoring the
savestack index to its previous value afterwards (to void the effect
of SAVEFREEOP).

A more correct fix might be to do op_free in die_unwind before
POPEVAL, but I would have to do a lot more digging through the code
to tell whether that is safe.  I don’t feel comfortable with doing
that for 5.16.

This leak causes this warning on non-threaded debugging builds:

$ PERL_DESTRUCT_LEVEL=1 ./perl -Ilib -e 'BEGIN { $^H{foo} = bar } our %FIELDS; my main $x; eval q[$x->{foo}]'
Unbalanced string table refcount: (1) for "foo" during global destruction.

This problem does not affect the main program, because perl_destruct
frees PL_main_root.  It does not affect subroutines, as the op tree is
attached to the CV first, so freeing the CV frees the op tree.

9 years ago[perl #111656] tie_fetch_count.t: Suppress ‘glob failed’
Father Chrysostomos [Tue, 27 Mar 2012 03:33:34 +0000 (20:33 -0700)]
[perl #111656] tie_fetch_count.t: Suppress ‘glob failed’

This test doesn’t care what glob actually does in this case, but
merely how many times it calls magic.  So suppress any warnings, in
order for tests to pass on VMS.

9 years ago[perl #111656] perldiag: ‘glob failed’ is S, not W
Father Chrysostomos [Tue, 27 Mar 2012 03:30:28 +0000 (20:30 -0700)]
[perl #111656] perldiag: ‘glob failed’ is S, not W

Prior to the preceding commit, the ‘glob failed’ warning would always
occur, regardless of warnings settings, so W was never correct.  Now
it is S, which is was it used to be closest to.

9 years ago[perl #111656] Make ‘glob failed’ suppressible
Father Chrysostomos [Tue, 27 Mar 2012 03:28:40 +0000 (20:28 -0700)]
[perl #111656] Make ‘glob failed’ suppressible

The ‘glob failed’ warning was not respecting warnings settings.  The
warning used to occur even under ‘no warnings’.  This commit makes it
a severe warning.  I.e., there is no change when warnings are con-
trolled by $^W and $^W is 0, but only under ‘no warnings 'glob'’.

9 years agoAvoid 'USE_SITECUSTOMIZE redefined'-warning during compilation
Gisle Aas [Mon, 26 Mar 2012 21:52:43 +0000 (13:52 -0800)]
Avoid 'USE_SITECUSTOMIZE redefined'-warning during compilation

9 years agoMerge branch 'abigail/for-5.17' into blead
Abigail [Mon, 26 Mar 2012 15:02:57 +0000 (17:02 +0200)]
Merge branch 'abigail/for-5.17' into blead

9 years agoFix error in regexp, causing it to match too much.
Abigail [Mon, 26 Mar 2012 15:02:18 +0000 (17:02 +0200)]
Fix error in regexp, causing it to match too much.

9 years agoclear magic flags in sv_clear
David Mitchell [Mon, 26 Mar 2012 12:31:24 +0000 (13:31 +0100)]
clear magic flags in sv_clear

commit 5bec93bead1c10563a402404de095bbdf398790f made temporary use of the
no-longer used SvMAGIC field while freeing a HV. This commit makes
sure that before this happens, that the SvMAGICAL flags are turned off.

This is because it turns out that some XS code (e.g. Glib) can leave an SV
with a null SvMAGIC field, but with magic flags still set.

9 years agoIncrease $XS::APItest::VERSION to 0.38
Father Chrysostomos [Sun, 25 Mar 2012 21:22:33 +0000 (14:22 -0700)]
Increase $XS::APItest::VERSION to 0.38

9 years agoCopy the pv in parse_label
Father Chrysostomos [Sun, 25 Mar 2012 21:22:02 +0000 (14:22 -0700)]
Copy the pv in parse_label

Two commits ago, the label-handling code in the tokenizer was changed
to record the label in an SVOP instead of just a plain unclaimed PV.
Likewise, the parser (perly.y) was changed to copy the string out of
the SVOP’s SV, insteading of taking ownership of the existing PV.
parse_label was modified to take the string out of the SVOP, but was
not copying it like perly.y.  So it resulted in this:

$ PERL_DESTRUCT_LEVEL=2 ./perl -Ilib ext/XS-APItest/t/swaplabel.t
1..56
ok 1
... truncated ...
ok 56
panic: free from wrong pool during global destruction.

9 years agoFix test failure
Father Chrysostomos [Sat, 26 Nov 2011 23:47:43 +0000 (15:47 -0800)]
Fix test failure

This fixes up tests added in the previous commit, making them take
evalbytes into account.  Those tests were originally written in a
branch where evalbytes didn’t exist and the unicode_eval feature
was implicitly enabled.

9 years agoLabel UTF8 cleanup
Brian Fraser [Tue, 15 Nov 2011 13:42:09 +0000 (05:42 -0800)]
Label UTF8 cleanup

This meant changing LABEL's definition in perly.y, so most of this
commit is actually from the regened files.

9 years ago[Merge] More UTF8 patches
Father Chrysostomos [Sun, 25 Mar 2012 20:46:16 +0000 (13:46 -0700)]
[Merge] More UTF8 patches

These are more of Brian Fraser’s UTF8 patches from perl
ticket #107008.

There will probably be just one more before 5.16 (the label patch).

9 years agotoke.c: "Illegal character in prototype" for Latin-1 protos
Brian Fraser [Sat, 24 Mar 2012 00:42:55 +0000 (17:42 -0700)]
toke.c: "Illegal character in prototype" for Latin-1 protos

9 years agotoke.c: "Precedence problem: open %s should be open(%s)" cleanup.
Brian Fraser [Sat, 24 Mar 2012 00:39:53 +0000 (17:39 -0700)]
toke.c: "Precedence problem: open %s should be open(%s)" cleanup.

9 years agotoke.c: "CORE::%s is not a keyword" cleanup.
Brian Fraser [Sat, 24 Mar 2012 00:37:15 +0000 (17:37 -0700)]
toke.c: "CORE::%s is not a keyword" cleanup.

9 years agotoke.c: "Ambiguous use of -%s resolved as -&%s()" cleanup.
Brian Fraser [Sat, 24 Mar 2012 00:36:13 +0000 (17:36 -0700)]
toke.c: "Ambiguous use of -%s resolved as -&%s()" cleanup.

9 years agotoke.c: "Bareword "%s" refers to nonexistent package" cleanup.
Brian Fraser [Sat, 20 Aug 2011 07:50:42 +0000 (08:50 +0100)]
toke.c: "Bareword "%s" refers to nonexistent package" cleanup.

9 years agotoke.c: "Bad name after %s%s" cleanup.
Brian Fraser [Sat, 20 Aug 2011 07:33:57 +0000 (08:33 +0100)]
toke.c: "Bad name after %s%s" cleanup.

9 years agoClarify VMS-specific handling of $/ = \N.
Craig A. Berry [Sun, 25 Mar 2012 18:57:09 +0000 (13:57 -0500)]
Clarify VMS-specific handling of $/ = \N.

When the record read feature was introduced in 5b2b9c687790241e8
in 1998 (but by Dan Sugalski, not Hans Mulder as the git history
erroneously says), sysread() was a couple of years from learning
about utf-8 and PerlIO was just a fancy way of calling stdio.  The
documentation was reasonable given that environment.

Now it's potentially misleading to say that record reads are "the
equivalent of C<sysread>" because sysread on filehandles opened
with ":utf8" does characters, not bytes.  The salient point about
the analogy with sysread was always that the read is unbuffered.
In the old days, this was in contrast to the buffering done in
stdio's fread(), but now it's in contrast to the buffering in the
perlio layer.  By emphasizing the role of buffering, we can
actually shorten and simplify the docs.

Side note:  Both Camel 3 and Camel 4 have the following problematic
statement in the documentation of $/: "Record mode mixes with line
mode only on systems where standard I/O supplies a read(3) function;
VMS is a notable exception."  VMS certainly does have a read(3)
function and in fact that's what's used directly for record reads
(via PerlLIO_read) on VMS only.  And as far as I know, it is
fread(), not read(), that is considered "standard I/O" everywhere.

N.B. Record reads on non-record-oriented files on VMS will likely
start using the same buffering as other platforms in a future
version of Perl.

9 years agoUse HEKf in 2 places in op.c:S_finalize_op
Father Chrysostomos [Fri, 23 Mar 2012 15:52:23 +0000 (08:52 -0700)]
Use HEKf in 2 places in op.c:S_finalize_op

The previous patch was written before HEKf existed.
HEKf with HEKfARG(...) is much faster than SVf with
SVfARG(sv_2mortal(newSVhek(...)))

9 years agoop.c: Warnings cleanup.
Brian Fraser [Fri, 23 Mar 2012 15:50:22 +0000 (08:50 -0700)]
op.c: Warnings cleanup.

9 years agoversion bump _charnames.pm to keep porting tests happy
Ricardo Signes [Fri, 23 Mar 2012 14:15:44 +0000 (10:15 -0400)]
version bump _charnames.pm to keep porting tests happy

9 years agocharnames: White-space only
Karl Williamson [Tue, 6 Mar 2012 02:35:38 +0000 (19:35 -0700)]
charnames: White-space only

Outdent code that previously was enclosed in a block

9 years agoPATCH: [perl #11560] extraneous msg in viacode
Karl Williamson [Tue, 6 Mar 2012 02:33:50 +0000 (19:33 -0700)]
PATCH: [perl #11560] extraneous msg in viacode

This refactors to test for the hash element being defined before
attempting to use it.

9 years agoClearify string parsing. origin/abigail/for-5.17
Abigail [Fri, 23 Mar 2012 13:15:42 +0000 (14:15 +0100)]
Clearify string parsing.

It was already documented that when scanning for the end of the string,
backslashes escaping the closing delimiter are being eliminated; but
this is true for backslashes escaping backslashes as well. This makes
that C<< '.\.' eq '.\\.' >>. (Pointed out by Mithaldu)

9 years ago[rt #79960] document how broken $/ = \N is for unicode streams
Tony Cook [Sat, 17 Mar 2012 23:26:22 +0000 (10:26 +1100)]
[rt #79960] document how broken $/ = \N is for unicode streams

It's kind of late in the release process to change how $/ = \N works
for unicode streams, briefly document how broken it is and let the
user know it may change.

9 years ago[Merge] Some more UTF8 patches
Father Chrysostomos [Fri, 23 Mar 2012 03:34:32 +0000 (20:34 -0700)]
[Merge] Some more UTF8 patches

This branch represents more of Brian Fraser’s patches from
<https://github.com/Hugmeir/gsoc-pad-utf8-safety/commits/tokemess>,
that are referenced by perl #107008.

This is not all of it, but all I’ve merged and tested so far.

9 years agotoke.c: "Ambiguous use of %c{%s} resolved to %c%s" cleanup.
Brian Fraser [Fri, 23 Mar 2012 01:03:11 +0000 (18:03 -0700)]
toke.c: "Ambiguous use of %c{%s} resolved to %c%s" cleanup.

9 years agotoke.c: S_checkcomma, "No comma allowed after %s" cleanup
Brian Fraser [Sat, 6 Aug 2011 19:59:16 +0000 (20:59 +0100)]
toke.c: S_checkcomma, "No comma allowed after %s" cleanup

9 years agotoke.c: "Possible unintended interpolation of %s in string" cleanup.
Brian Fraser [Sat, 6 Aug 2011 10:03:16 +0000 (11:03 +0100)]
toke.c: "Possible unintended interpolation of %s in string" cleanup.

9 years agotoke.c: '"(my|state)" variable %s can't be in a package' cleanup.
Brian Fraser [Sat, 6 Aug 2011 09:50:34 +0000 (10:50 +0100)]
toke.c: '"(my|state)" variable %s can't be in a package' cleanup.

9 years agotoke.c: 'No package name allowed for variable %s in "our"' cleanup.
Brian Fraser [Sat, 6 Aug 2011 09:35:22 +0000 (10:35 +0100)]
toke.c: 'No package name allowed for variable %s in "our"' cleanup.

9 years agotoke.c: 'No such class %s' cleanup.
Brian Fraser [Fri, 23 Mar 2012 00:58:14 +0000 (17:58 -0700)]
toke.c: 'No such class %s' cleanup.

9 years agotoke.c: 'Operator or semicolon missing before %c%s' cleanup.
Brian Fraser [Sat, 6 Aug 2011 07:16:59 +0000 (08:16 +0100)]
toke.c: 'Operator or semicolon missing before %c%s' cleanup.

9 years agotoke.c: 'Scalar value %s better written as $%s' cleanup.
Brian Fraser [Fri, 23 Mar 2012 00:29:16 +0000 (17:29 -0700)]
toke.c: 'Scalar value %s better written as $%s' cleanup.

9 years agouni/parser.t: Fix eval num in test
Father Chrysostomos [Thu, 22 Mar 2012 05:34:13 +0000 (22:34 -0700)]
uni/parser.t: Fix eval num in test

9 years agotoke.c: 'You need to quote %s' cleanup.
Brian Fraser [Sat, 6 Aug 2011 07:05:16 +0000 (08:05 +0100)]
toke.c: 'You need to quote %s' cleanup.

9 years agotoke.c: 'Unrecognized character' croak cleanup.
Brian Fraser [Sat, 6 Aug 2011 06:55:06 +0000 (07:55 +0100)]
toke.c: 'Unrecognized character' croak cleanup.

9 years agotoke.c: S_no_op cleanup
Brian Fraser [Sat, 6 Aug 2011 05:16:29 +0000 (06:16 +0100)]
toke.c: S_no_op cleanup

9 years agoRemove yyerror_sv
Father Chrysostomos [Thu, 22 Mar 2012 00:55:19 +0000 (17:55 -0700)]
Remove yyerror_sv

This was added in the previous commit, but was unnecessary, as it
is not used anywhere and is not part of the public API.

9 years agotoke.c: yyerror cleanup.
Brian Fraser [Fri, 5 Aug 2011 18:46:14 +0000 (15:46 -0300)]
toke.c: yyerror cleanup.

9 years agoDocument where to find the perlorg repository.
Abigail [Wed, 21 Mar 2012 16:35:13 +0000 (17:35 +0100)]
Document where to find the perlorg repository.

9 years agoAdd link to the announcement of Perl 5.15.9.
Abigail [Wed, 21 Mar 2012 11:28:35 +0000 (12:28 +0100)]
Add link to the announcement of Perl 5.15.9.

Also, indent the epigraph of Perl 5.15.9, to prevent the text to be
formatted.

9 years agoCreate a perldelta for 5.15.9
Abigail [Tue, 20 Mar 2012 20:07:59 +0000 (21:07 +0100)]
Create a perldelta for 5.15.9

9 years agoEpigraph for v5.15.9
Abigail [Tue, 20 Mar 2012 19:44:06 +0000 (20:44 +0100)]
Epigraph for v5.15.9

9 years agoTypo fix
Abigail [Tue, 20 Mar 2012 19:39:17 +0000 (20:39 +0100)]
Typo fix

9 years agoClearify "build, test and check a fresh perl" instructions v5.15.9
Abigail [Tue, 20 Mar 2012 16:03:30 +0000 (17:03 +0100)]
Clearify "build, test and check a fresh perl" instructions

9 years agoAdd 5.15.9 release to perlhist.pod
Abigail [Tue, 20 Mar 2012 15:21:23 +0000 (16:21 +0100)]
Add 5.15.9 release to perlhist.pod

9 years agoWork around an HTML display issue
Abigail [Tue, 20 Mar 2012 15:13:55 +0000 (16:13 +0100)]
Work around an HTML display issue

9 years agoFinal version of Module::CoreList is 2.65.
Abigail [Tue, 20 Mar 2012 14:50:00 +0000 (15:50 +0100)]
Final version of Module::CoreList is 2.65.

9 years agoClearify that perl can crash, not Windows
Abigail [Tue, 20 Mar 2012 14:13:55 +0000 (15:13 +0100)]
Clearify that perl can crash, not Windows

9 years agoSay "warnings" instead of "errors"
Abigail [Tue, 20 Mar 2012 14:12:38 +0000 (15:12 +0100)]
Say "warnings" instead of "errors"

9 years agoRemoved the changes to Term::ReadLine from the bug fixes section.
Abigail [Tue, 20 Mar 2012 14:09:49 +0000 (15:09 +0100)]
Removed the changes to Term::ReadLine from the bug fixes section.

And added a line to the module upgrades section.

9 years agoFix typo in pod/perldelta
Abigail [Tue, 20 Mar 2012 12:31:35 +0000 (13:31 +0100)]
Fix typo in pod/perldelta

9 years agoReran Porting/acknowledgements.pl
Abigail [Tue, 20 Mar 2012 12:27:21 +0000 (13:27 +0100)]
Reran Porting/acknowledgements.pl

9 years agoList 5.16 blockers in 'Known Problems' in perldelta
Abigail [Tue, 20 Mar 2012 12:24:00 +0000 (13:24 +0100)]
List 5.16 blockers in 'Known Problems' in perldelta

9 years agoyes, regression fixes are generally okay for maint
Ricardo Signes [Tue, 20 Mar 2012 12:00:38 +0000 (08:00 -0400)]
yes, regression fixes are generally okay for maint