14 months agoLots of new branch prediction hints smueller/likely
Steffen Mueller [Thu, 31 Jan 2013 12:45:20 +0000]
Lots of new branch prediction hints

See perl5-porters email 510A4651.4000000@steffen-mueller.net and others
for discussion on the benefit (or lack thereof) of these hints.

14 months agoRemove dead code in Perl_sv_cmp_flags
Steffen Mueller [Thu, 31 Jan 2013 09:58:36 +0000]
Remove dead code in Perl_sv_cmp_flags

Most certainly compiled away anyway, but still dead.

14 months agoAdd Config::Perl::V coring to perldelta
Chris 'BinGOs' Williams [Wed, 30 Jan 2013 20:54:50 +0000]
Add Config::Perl::V coring to perldelta

14 months agoreplace "new in Perl 5" hype with timeless Perl hype
Ricardo Signes [Mon, 28 Jan 2013 03:53:06 +0000]
replace "new in Perl 5" hype with timeless Perl hype

14 months agopmruntime(): change '=' to '==' in an assertion
David Mitchell [Wed, 30 Jan 2013 16:40:55 +0000]
pmruntime(): change '=' to '==' in an assertion

Whoops!

Probably harmless, since if the thing it was intended to assert for
was indeed true, then the assignment would be a noop anyway.

14 months agopmruntime(): rename var to avoid macro name clash
David Mitchell [Wed, 30 Jan 2013 16:37:22 +0000]
pmruntime(): rename var to avoid macro name clash

[perl #116557]

Apparently MS's WinCE SDK #defines 'leave'. So rename the 'leave' variable
to 'leaveop' to avoid clashes.

14 months agohv.c: add some NULL check removal
bulk88 (via RT) [Mon, 24 Dec 2012 02:20:10 +0000]
hv.c: add some NULL check removal

The purpose is less machine instructions/faster code.

* S_hv_free_ent_ret() is always called with entry non-null: so change its
  signature to reflect this, and remove a null check;

* Add some SvREFCNT_dec_NNs;

* In hv_clear(), refactor the code slightly to only do a SvREFCNT_dec_NN
within the branch where its already been determined that the arg is
non-null; also, use the _nocontext variant of Perl_croak() to save
a push instruction in threaded perls.

14 months agoUpdate Win32API-File to CPAN version 0.1201
Chris 'BinGOs' Williams [Mon, 28 Jan 2013 19:22:39 +0000]
Update Win32API-File to CPAN version 0.1201

  [DELTA]

  0.1201 by Alexandr Ciornii 2013-01-28
        - Fix tests on Cygwin (RURBAN)
        - Constants for GetStdHandle and SetStdHandle

14 months agoConvert t/op/sprintf.t to use test.pl
Marcel Gruenauer (via RT) [Tue, 22 Jan 2013 20:02:43 +0000]
Convert t/op/sprintf.t to use test.pl

[perl #116513]

14 months agoPorting/Maintainers.pm: deterministic output order
Marcel Gruenauer (via RT) [Tue, 22 Jan 2013 20:02:39 +0000]
Porting/Maintainers.pm: deterministic output order

[perl #116509]

Change Porting/Maintainers.pm to output tests in the same order each
time t/porting/maintainers.t is run.

Before, it was difficult to see whether editing t/porting/maintainers.t
didn't have any adverse effects. The random output order could be seen
with

    diff <(./perl t/porting/maintainers.t) <(./perl t/porting/maintainers.t)

Also set Porting/Maintainers.pm version to 0.09.

14 months agoUpdate Pod-Perldoc to CPAN version 3.19
Chris 'BinGOs' Williams [Mon, 28 Jan 2013 11:15:47 +0000]
Update Pod-Perldoc to CPAN version 3.19

  [DELTA]

  3.19 - Mon Jan 28 04:29:40 UTC 2013
    * Really put perldoc.pod into man1

  3.18 - Mon Jan 28 04:17:26 UTC 2013
    * Document perldoc behavior in build directories (RT #80376)
    * Don't blindly force UTF8 to Pod::Man (RT #77465)
    * Fix is_dos typo (RT #76029)
    * Put perldoc.pod into man1 RT #77210 (ppisar@redhat.com)
    * Remove formatting from literal blocks RT #77209 (ppisar@redhat.com)

14 months agoLet Configure honor the external MAILDOMAIN environment variable, if set.
H.Merijn Brand [Mon, 28 Jan 2013 07:55:53 +0000]
Let Configure honor the external MAILDOMAIN environment variable, if set.

14 months agoBelated Happy New Year!
James E Keenan [Sun, 27 Jan 2013 23:55:42 +0000]
Belated Happy New Year!

14 months agoFix podcheck errors in perldelta
Chris 'BinGOs' Williams [Sun, 27 Jan 2013 21:40:37 +0000]
Fix podcheck errors in perldelta

14 months agoDocument module and utility deprecations in perldelta
Chris 'BinGOs' Williams [Sun, 27 Jan 2013 21:23:35 +0000]
Document module and utility deprecations in perldelta

14 months agoAdd module deprecations for v5.18.0 to Module::CoreList
Chris 'BinGOs' Williams [Sun, 27 Jan 2013 15:24:43 +0000]
Add module deprecations for v5.18.0 to Module::CoreList

14 months agoNew TODO test: B::Deparse doesn't handle lexical subs
Aaron Crane [Sun, 27 Jan 2013 10:56:14 +0000]
New TODO test: B::Deparse doesn't handle lexical subs

See RT #116553.

14 months agoFix installman ignoring --silent
Dagfinn Ilmari Mannsåker [Sat, 26 Jan 2013 17:01:25 +0000]
Fix installman ignoring --silent

14 months agoUpdate Archive-Extract to CPAN version 0.64
Chris 'BinGOs' Williams [Sun, 27 Jan 2013 01:04:28 +0000]
Update Archive-Extract to CPAN version 0.64

  [DELTA]

  Changes for 0.64    Sat Jan 26 21:07:03 2013
  ============================================
  * Add deprecation usage to warn if the
    module is loaded from corelib.
    Archive::Extract is leaving core with
    v5.20.0, but will remain available from
    CPAN.

14 months agoun-TODO a test that passes on recent FreeBSD
Tony Cook [Sat, 26 Jan 2013 03:06:37 +0000]
un-TODO a test that passes on recent FreeBSD

It may pass on earlier FreeBSD, but I don't have it available to
check.

14 months agoEINVAL is expected when f?pathconf() isn't implemented for a path
Tony Cook [Fri, 25 Jan 2013 11:09:25 +0000]
EINVAL is expected when f?pathconf() isn't implemented for a path

This can happen when a particular file system doesn't implement a
particular variable.

RT# 116463

14 months agoavoid PERL_UNICODE interfering with the new PerlIO-scalar tests
Tony Cook [Sun, 27 Jan 2013 04:17:24 +0000]
avoid PERL_UNICODE interfering with the new PerlIO-scalar tests

14 months agoPATCH [perl 116252]: Correct nested pod bullets in perl5177delta.pod
Smylers [Sat, 26 Jan 2013 23:19:06 +0000]
PATCH [perl 116252]: Correct nested pod bullets in perl5177delta.pod

14 months agoPorting/todo.pod: Add tasks
Karl Williamson [Sat, 26 Jan 2013 19:06:49 +0000]
Porting/todo.pod: Add tasks

This requests people to volunteer to

1) classify type unknown bug tickets

2) investigate new tickets, classify them, and get TODO tests from the
originator

3) add TODO tests to old tickets

14 months agoUpdate B-Lint to CPAN version 1.17
Chris 'BinGOs' Williams [Sat, 26 Jan 2013 16:51:18 +0000]
Update B-Lint to CPAN version 1.17

  [DELTA]

  1.17    2013-0126
          make the use of "deprecate" conditional

14 months agoreplace tabs with spaces
Tobias Leich [Thu, 24 Jan 2013 09:05:46 +0000]
replace tabs with spaces

Use spaces like the rest of the pod does.

14 months agowrap examples in single quotes
Tobias Leich [Thu, 24 Jan 2013 09:04:24 +0000]
wrap examples in single quotes

Examples that use $ as metacharacter should be in single quotes,
or the dollar must be escaped.

14 months agoUpdate lib/.gitignore to include Config-Perl-V generated file
Chris 'BinGOs' Williams [Sat, 26 Jan 2013 14:50:15 +0000]
Update lib/.gitignore to include Config-Perl-V generated file

14 months agoImport Config-Perl-V 0.16
Ricardo Signes [Sat, 26 Jan 2013 13:28:50 +0000]
Import Config-Perl-V 0.16

14 months agoprevent failures deep in value dumping from aborting
Ricardo Signes [Fri, 25 Jan 2013 03:44:22 +0000]
prevent failures deep in value dumping from aborting

Sometimes, dumpvar's dumpvalue routine gets a value it can't dump.  The
simplest example to contrive is the one in this test: a tied hash that
can't tell you its keys.  Until now, this would cause the whole dump to
abort as soon as it failed to dump one part.

With this commit, each stringify or unwind is inside an eval.  Failed
stringifications or unwindings are replaced with a placeholder showing
the error.

unwind uses return to stop early, and rather than go through contortions
to wrap the eval in something that can then return 1 to test that eval
worked, I've just asserted that this code requires 5.14.0, which made $@
a much more reliable indicator of failure after eval.

14 months agoperldelta for f0af002c73 (-DPERL_GLOBAL_STRUCT)
Tony Cook [Sat, 26 Jan 2013 04:24:38 +0000]
perldelta for f0af002c73 (-DPERL_GLOBAL_STRUCT)

14 months agoFix format string warnings in toke.c Changed literals to "%s", literal
Peter Martini [Fri, 25 Jan 2013 17:06:47 +0000]
Fix format string warnings in toke.c Changed literals to "%s", literal

14 months agoUpdate CPANPLUS-Dist-Build to CPAN version 0.70
Chris 'BinGOs' Williams [Fri, 25 Jan 2013 16:37:59 +0000]
Update CPANPLUS-Dist-Build to CPAN version 0.70

  [DELTA]

  0.70 Fri Jan 25 15:58:27 GMT 2013
    - Add deprecation usage to warn if modules are loaded
      from corelib. CPANPLUS::Dist::Build will be leaving
      core with v5.20.0 and will still be available on
      CPAN.

14 months agoCorrect variable names in embed.fnc for hv_free_ent and hv_free_ent_ret.
Andy Dougherty [Fri, 25 Jan 2013 15:12:35 +0000]
Correct variable names in embed.fnc for hv_free_ent and hv_free_ent_ret.

Make the second variable name in embed.fnc match those used in the
actual function declaration.  This will matter if we add in 'entry'
to PERL_ARGS_ASSERT_HV_FREE_ENT_RET.  Also regen headers (only proto.h
is affected) to match.

14 months agoUpdate B-Lint to CPAN version 1.16
Chris 'BinGOs' Williams [Fri, 25 Jan 2013 08:13:12 +0000]
Update B-Lint to CPAN version 1.16

  [DELTA]

  1.16    2013-01-23
        install to sitelib, not corelib on 5.12.0 and later

  1.15    2013-01-23
        Merge changes from perl core:
        - Stop the indexer from processing private modules

        Add warning that B::Lint will be removed from core, if used from core

14 months agofix -DPERL_GLOBAL_STRUCT_PRIVATE builds
Tony Cook [Fri, 25 Jan 2013 02:54:47 +0000]
fix -DPERL_GLOBAL_STRUCT_PRIVATE builds

14 months agoPL_Vars and PL_VarsPtr aren't exported under PERL_GLOBAL_STRUCT_PRIVATE
Tony Cook [Tue, 22 Jan 2013 11:38:10 +0000]
PL_Vars and PL_VarsPtr aren't exported under PERL_GLOBAL_STRUCT_PRIVATE

14 months agorelease the global struct *after* we've finished using it
Tony Cook [Tue, 22 Jan 2013 11:37:34 +0000]
release the global struct *after* we've finished using it

14 months agoFix various minor pod issues
Karl Williamson [Thu, 24 Jan 2013 21:41:02 +0000]
Fix various minor pod issues

These were all uncovered by the new Pod::Checker, not yet in core.
Fixing these will speed up debugging the new Checker.

14 months agoperldelta for a951350815 (PerlIO-scalar)
Tony Cook [Fri, 25 Jan 2013 00:28:11 +0000]
perldelta for a951350815 (PerlIO-scalar)

14 months ago[perl #109828] disallow scalar I/O on non-byte strings
Tony Cook [Thu, 24 Jan 2013 23:42:37 +0000]
[perl #109828] disallow scalar I/O on non-byte strings

14 months agowarn and fail on writes to SVf_UTF8 SVs
Tony Cook [Thu, 24 Jan 2013 10:37:25 +0000]
warn and fail on writes to SVf_UTF8 SVs

14 months agoTODO tests for writing to a SVf_UTF8 scalar
Tony Cook [Thu, 24 Jan 2013 22:56:14 +0000]
TODO tests for writing to a SVf_UTF8 scalar

14 months agohandle reading from a SVf_UTF8 scalar
Tony Cook [Thu, 24 Jan 2013 22:56:01 +0000]
handle reading from a SVf_UTF8 scalar

if the scalar can be downgradable, it is downgraded and the read succeeds.

Otherwise the read fails, producing a warning if enabled and setting
errno/$! to EINVAL.

14 months agoTODO tests for reads from a scalar changed to upgraded after open
Tony Cook [Mon, 31 Dec 2012 02:33:02 +0000]
TODO tests for reads from a scalar changed to upgraded after open

14 months agobump PerlIO::scalar's version
Tony Cook [Mon, 31 Dec 2012 00:48:24 +0000]
bump PerlIO::scalar's version

14 months agodocument the new warning
Tony Cook [Thu, 24 Jan 2013 03:38:21 +0000]
document the new warning

14 months agofail to open scalars containing characters that don't fit in a byte
Tony Cook [Thu, 24 Jan 2013 10:29:32 +0000]
fail to open scalars containing characters that don't fit in a byte

14 months agoTODO tests for opening upgraded scalars
Tony Cook [Thu, 24 Jan 2013 03:35:25 +0000]
TODO tests for opening upgraded scalars

14 months agoPorting/todo.pod: Add task to clean up pods
Karl Williamson [Thu, 24 Jan 2013 16:59:47 +0000]
Porting/todo.pod: Add task to clean up pods

14 months agoUpdate Digest-SHA to CPAN version 5.82
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 12:28:56 +0000]
Update Digest-SHA to CPAN version 5.82

  [DELTA]

  5.82  Thu Jan 24 04:54:12 MST 2013
    - introduced workaround to SvPVbyte bug in Perl 5.6
        -- module behavior now consistent under all Perls 5.6+
            -- ref: new test script t/unicode.t
        -- SHA routines now always croak on wide chars (5.6+)
    - removed "static" message schedules from C code
        -- default "auto" is now just as fast
        -- thread-safe option (-t) no longer necessary
            -- still allowed, but ignored
        -- simplifies source and header files
            -- eliminates SHA_STO_CLASS and SHA_THREAD_SAFE
            -- ref. Bug #82784
        -- thanks to Steve Hay for initial patch
    - provided documentation to describe Unicode handling
        -- ref: Bug #82378
    - updated documentation of NIST statement on SHA-1

14 months agoUpdate Module-Pluggable to CPAN version 4.6
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 07:48:35 +0000]
Update Module-Pluggable to CPAN version 4.6

  [DELTA]

  2013-01-23 - 4.6
      Add warning about future removal from core

14 months agoMake sure that Test-Harness customisations are declared and checked.
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 07:24:23 +0000]
Make sure that Test-Harness customisations are declared and checked.

14 months agoVMS nits in cpan/Test-Harness/t/source.t
Craig A. Berry [Fri, 31 Dec 2010 01:45:13 +0000]
VMS nits in cpan/Test-Harness/t/source.t

[Reapplying ada6eeb82df as it's still awaiting application
upstream two years later and the things it fixes get broken
again every time a new version of Test::Harness is brought
into blead.]

1.)  Can't get the basename of a directory in native format.

2.)  Symlinks still a bit dodgy -- skip tests for now.

Submitted upstream at:

https://rt.cpan.org/Ticket/Display.html?id=64353

14 months agoTypo in perl5178delta
Karl Williamson [Tue, 22 Jan 2013 21:02:27 +0000]
Typo in perl5178delta

Spotted by Hugo van der Sanden

14 months agoAdd deprecation warning for literal PATWS under /x
Karl Williamson [Tue, 22 Jan 2013 20:34:54 +0000]
Add deprecation warning for literal PATWS under /x

This is explained in the perldelta changes in this commit.  We plan to
migrate to Unicode's definition of white-space to ignore under /x.  That
means we should raise a deprecation warning in the meantime if anyone
currently uses these characters in such a way as to have the meaning
changed when the migration is completed.

14 months agoregcomp.c: Add macro for generating deprecated warnings
Karl Williamson [Tue, 22 Jan 2013 20:35:15 +0000]
regcomp.c: Add macro for generating deprecated warnings

This will be used in a future commit

14 months agoregcomp.c: Add comments; no code changes
Karl Williamson [Tue, 22 Jan 2013 20:32:01 +0000]
regcomp.c: Add comments; no code changes

14 months agoregcharclass.h: Add macro for non-ASCII PATWS
Karl Williamson [Tue, 22 Jan 2013 20:30:01 +0000]
regcharclass.h: Add macro for non-ASCII PATWS

This will be used to deprecate uses of non-ASCII Pattern White Space

14 months ago/regen/regcharclass.pl: white-space only; no code changes
Karl Williamson [Tue, 22 Jan 2013 20:29:10 +0000]
/regen/regcharclass.pl: white-space only; no code changes

14 months agoregen/regcharclass.pl: Add capability
Karl Williamson [Tue, 22 Jan 2013 20:27:44 +0000]
regen/regcharclass.pl: Add capability

This allows one to generate macros that exclude just the ASCII range

14 months agoreg_mesg.t: Remove repetitious boiler plate
Karl Williamson [Tue, 22 Jan 2013 20:23:06 +0000]
reg_mesg.t: Remove repetitious boiler plate

All the messages have boiler plate that can be removed and inserted by
the subroutine that does insertion anyway.

14 months agoMove t/lib/warnings/regcomp to t/re/reg_mesg.t
Karl Williamson [Tue, 22 Jan 2013 18:40:54 +0000]
Move t/lib/warnings/regcomp to t/re/reg_mesg.t

reg_mesg.t has better infrastructure to more easily add and maintain
these warnings.

14 months agoregcomp.c: Change warning category to just deprecated
Karl Williamson [Tue, 22 Jan 2013 18:16:59 +0000]
regcomp.c: Change warning category to just deprecated

The warnings for \b{ and \B{ were added in the 5.17 series; they are a
deprecation warning which should be turned off by that category.  One
should not have to turn off regular regexp warnings as well to get rid
of these.

14 months agoreg_mesg.t: Add cpabilities; improve output
Karl Williamson [Tue, 22 Jan 2013 18:08:27 +0000]
reg_mesg.t: Add cpabilities; improve output

This adds the capability to have tests that each generate multiple
warnings, and it improves the flow so that if a test fails that make
moot subsequent tests, those tests are skipped.

14 months agore/reg_mesg.t: White-space only; no code changes
Karl Williamson [Tue, 22 Jan 2013 02:32:09 +0000]
re/reg_mesg.t: White-space only; no code changes

14 months agore/reg_mesg.t: Add tests for suppressing warnings
Karl Williamson [Tue, 22 Jan 2013 02:25:01 +0000]
re/reg_mesg.t: Add tests for suppressing warnings

This automatically adds a test for each warning to verify that turning
off the warning category works.

14 months agoperlapi: Fix SvIOK_UV, SvUOK descriptions
Karl Williamson [Wed, 23 Jan 2013 18:36:01 +0000]
perlapi: Fix SvIOK_UV, SvUOK descriptions

Commit b630937b8bf49e835d8976fc1036e68c79585b04 changed the text
of these two macros to how they currently work, but we don't
want to be tied to this behavior in the future.

New wording suggested by Darin McBride

14 months agoUpdate Object-Accessor to CPAN version 0.46
Chris 'BinGOs' Williams [Wed, 23 Jan 2013 14:59:03 +0000]
Update Object-Accessor to CPAN version 0.46

  [DELTA]

  Changes for 0.46    Wed Jan 23 14:09:11 GMT  2013
  =================================================
  * Add deprecate usage to warn if module is loaded
    from corelib. Object::Accessor is leading core
    with v5.20.0, but will remain available from
    CPAN.

14 months agoUpdate Log-Message to CPAN version 0.06
Chris 'BinGOs' Williams [Wed, 23 Jan 2013 13:29:20 +0000]
Update Log-Message to CPAN version 0.06

  [DELTA]

  Changes for 0.06    Wed Jan 23 12:21:48 GMT 2013
  =================================================
  * Add deprecate usage to warn if module is loaded
    from corelib. Log::Message is leaving core with
    v5.20.0, but will still be available from CPAN.

14 months agoUpdate Log-Message-Simple to CPAN version 0.10
Chris 'BinGOs' Williams [Wed, 23 Jan 2013 11:25:01 +0000]
Update Log-Message-Simple to CPAN version 0.10

  [DELTA]

  Changes for 0.10    Wed Jan 23 08:10:42 GMT 2013
  ================================================
  * Add deprecate usage to warn if module is loaded
    from corelib. Log::Message::Simple is leaving
    core with v5.20.0, but will still be available
    on CPAN.

14 months agoClean up indenting on t/win32/fs.t
Brad Gilbert [Wed, 26 Dec 2012 21:00:06 +0000]
Clean up indenting on t/win32/fs.t

Previous commit removed the need for indents.

14 months agoRemove dead code from t/win32/fs.t
Brad Gilbert [Wed, 26 Dec 2012 20:46:49 +0000]
Remove dead code from t/win32/fs.t

tempfile() from t/test.pl already handles checking for existing files
and removing them at the end of the test.

This test also doesn't need Config loaded

14 months agoConvert to use of t/test.pl
James E Keenan [Wed, 23 Jan 2013 03:25:04 +0000]
Convert to use of t/test.pl

Patch supplied by Marcel Gruenauer.

For: RT #116511

14 months agoNote why switchF1.t and switchp.t do not use test.pl.
James E Keenan [Wed, 23 Jan 2013 00:32:33 +0000]
Note why switchF1.t and switchp.t do not use test.pl.

Patches submitted by Marcel Gruenauer.

For RT #116507 and 116517.

14 months agoUpdate Term-UI to CPAN version 0.34
Chris 'BinGOs' Williams [Tue, 22 Jan 2013 12:45:07 +0000]
Update Term-UI to CPAN version 0.34

  [DELTA]

  Changes for 0.34        Tue Jan 22 12:19:40 GMT 2013
  =====================================================
  * deprecate usage added if the library is found in
    corelib location. Term::UI is leaving core with
    v5.20.0

14 months agosyntax check a directory: set the test process locale too
Tony Cook [Tue, 22 Jan 2013 12:27:13 +0000]
syntax check a directory: set the test process locale too

14 months agomove B-Lint and File-CheckTree to ./cpan
Ricardo Signes [Mon, 21 Jan 2013 22:16:03 +0000]
move B-Lint and File-CheckTree to ./cpan

14 months agoadd deprecate.pm usage to CPANPLUS
Ricardo Signes [Mon, 21 Jan 2013 16:34:42 +0000]
add deprecate.pm usage to CPANPLUS

14 months agoUpdate CPANPLUS to CPAN version 0.9134
Chris 'BinGOs' Williams [Mon, 21 Jan 2013 20:43:45 +0000]
Update CPANPLUS to CPAN version 0.9134

  [DELTA]

  Changes for 0.9134      Mon Jan 21 20:00:03 2013
  ================================================
  * $VERSION all library files

14 months agoThe MAPping for Test-Harness is not required since 3.26
Chris 'BinGOs' Williams [Mon, 21 Jan 2013 12:09:18 +0000]
The MAPping for Test-Harness is not required since 3.26

14 months agoMark 5.17.8 as done in release_schedule.pod
Aaron Crane [Mon, 21 Jan 2013 11:20:54 +0000]
Mark 5.17.8 as done in release_schedule.pod

14 months agoModule-CoreList-2.80 has been released to CPAN
Chris 'BinGOs' Williams [Sun, 20 Jan 2013 23:17:31 +0000]
Module-CoreList-2.80 has been released to CPAN

14 months agoActually update Test-Harness to CPAN version 3.26
Chris 'BinGOs' Williams [Sun, 20 Jan 2013 22:30:11 +0000]
Actually update Test-Harness to CPAN version 3.26

  [DELTA]

  Finishes off what was started with 83044e8d6

14 months agoBump the Perl version in various places for 5.17.9
Aaron Crane [Sun, 20 Jan 2013 19:28:58 +0000]
Bump the Perl version in various places for 5.17.9

14 months agoMake a new perldelta for 5.17.9-to-be
Aaron Crane [Sun, 20 Jan 2013 19:14:59 +0000]
Make a new perldelta for 5.17.9-to-be

14 months agoAdd the 5.17.8 epigraph to epigraphs.pod
Aaron Crane [Sun, 20 Jan 2013 19:11:26 +0000]
Add the 5.17.8 epigraph to epigraphs.pod

14 months agoAdd 5.17.8 to perlhist v5.17.8
Aaron Crane [Sun, 20 Jan 2013 15:49:49 +0000]
Add 5.17.8 to perlhist

14 months agoUpdate Module::CoreList for 5.17.8
Aaron Crane [Sun, 20 Jan 2013 15:46:34 +0000]
Update Module::CoreList for 5.17.8

14 months agoLast-minute "known issue" in perldelta
Aaron Crane [Sun, 20 Jan 2013 18:22:21 +0000]
Last-minute "known issue" in perldelta

14 months agoUpdate perldelta for 5.17.8
Aaron Crane [Sat, 19 Jan 2013 20:32:57 +0000]
Update perldelta for 5.17.8

Including the generated Acknowledgements section.

Thanks to Smylers++ for reviewing an earlier draft.

14 months agoAdd av_top() synonym for av_len()
Karl Williamson [Thu, 27 Dec 2012 22:21:47 +0000]
Add av_top() synonym for av_len()

av_len() is misleadingly named.

14 months agoReplace XXX by correct bug number
Karl Williamson [Sun, 20 Jan 2013 04:37:36 +0000]
Replace XXX by correct bug number

Commit 4d68ffa0f7f345bc1ae6751744518ba4bc3859bd failed to get the
correct bug number in a comment

14 months agoperlre: Fix typo
Karl Williamson [Sun, 20 Jan 2013 03:37:37 +0000]
perlre: Fix typo

"<" isn't a metacharacter, therefore "\<" doesn't change its meaning.
"[" is a metacharacter, therefore "\[" does change its meaning.

14 months agoDeprecate certain rare uses of backslashes within regexes
Karl Williamson [Sun, 20 Jan 2013 03:29:42 +0000]
Deprecate certain rare uses of backslashes within regexes

There are three pairs of characters that Perl recognizes as
metacharacters in regular expression patterns: {}, [], and ().  These
can be used as well to delimit patterns, as in:

 m{foo}
 s(foo)(bar)

Since they are metacharacters, they have special meaning to regular
expression patterns, and it turns out that you can't turn off that
special meaning by the normal means of preceding them with a backslash,
if you use them, paired, within a pattern delimitted by them.  For
example, in

 m{foo\{1,3\}}

the backslashes do not change the behavior, and this matches "f", "o"
followed by one to three more occurrences of "o".

Usages like this, where they are interpreted as metacharacters, are
exceedingly rare; we think there are none, for example, in all of CPAN.
Hence, this deprecation should affect very little code.  It does give
notice, however, that any such code needs to change, which will in turn
allow us to change the behavior in future Perl versions so that the
backslashes do have an effect, and without fear that we are silently
breaking any existing code.

=head1 Performance Enhancements

14 months agotoke.c: White-space alignment only
Karl Williamson [Wed, 16 Jan 2013 20:02:53 +0000]
toke.c: White-space alignment only

14 months agoRevert "Deprecate literal unescaped "{" in regexes."
Karl Williamson [Mon, 14 Jan 2013 17:56:06 +0000]
Revert "Deprecate literal unescaped "{" in regexes."

This reverts commit 2a53d3314d380af5ab5283758219417c6dfa36e9.

Not the entire commit was reverted, but the deprecation message is
gone.  This caused too many problems.  See thread
http://www.nntp.perl.org/group/perl.perl5.porters/2012/11/msg195425.html
(which lists previous threads).

14 months agoExtend strictness for qr/(?[ \N{} ])/
Karl Williamson [Sat, 19 Jan 2013 04:58:10 +0000]
Extend strictness for qr/(?[ \N{} ])/

This recently added regex syntax imposes stricter rules on parsing than
normal.   However, this did not include parsing \N{} constructs that
occur within it.  This commit does that, making fatal the warnings that
come from \N{}

I will add to perldiag the newly added messages along with the others
for (?[ ]) before 5.18 ships

14 months agoconstant-1.25 has been released to CPAN
Chris 'BinGOs' Williams [Sat, 19 Jan 2013 11:35:27 +0000]
constant-1.25 has been released to CPAN

14 months agoRemove checks for Perl 5.6; adjust tests; bump version number.
James E Keenan [Sat, 19 Jan 2013 02:15:04 +0000]
Remove checks for Perl 5.6; adjust tests; bump version number.

Patch contributed by Sébastien Aperghis-Tramoni

For: RT #114770.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch blead
# Your branch is ahead of 'origin/blead' by 1 commit.
#
# Changes to be committed:
#   (use "git reset HEAD^1 <file>..." to unstage)
#
# modified:   dist/constant/lib/constant.pm
# modified:   dist/constant/t/constant.t
#