15 hours agoAdd epigraphs for 5.22.3-RC2 and 5.24.1-RC2 blead
Steve Hay [Mon, 25 Jul 2016 13:31:37 +0000]
Add epigraphs for 5.22.3-RC2 and 5.24.1-RC2

18 hours ago5.22.3-RC2 and 5.24.1-RC2 today
Steve Hay [Mon, 25 Jul 2016 10:26:07 +0000]
5.22.3-RC2 and 5.24.1-RC2 today

28 hours agoUse tabs consistently in AUTHORS
Father Chrysostomos [Tue, 19 Jul 2016 06:04:46 +0000]
Use tabs consistently in AUTHORS

Mixed tabs and spaces are tolerable in code, but they should not
be used in human-readable text files.

28 hours agoAdd Chris R. Donnelly to AUTHORS
Father Chrysostomos [Tue, 19 Jul 2016 06:03:48 +0000]
Add Chris R. Donnelly to AUTHORS

See commit 2f7a15bf0111, which failed to include this.

3 days agoS_pop_eval_context_maybe_croak: silence warning
David Mitchell [Fri, 22 Jul 2016 22:21:49 +0000]
S_pop_eval_context_maybe_croak: silence warning

g++ is too dumb to notice that in

    SV *s;

    if (foo)
        s = ...;
    ...;
    if (foo)
        ...do something with s...;

s can't be used uninitialised.

3 days agofix g++ compiler warning
David Mitchell [Fri, 22 Jul 2016 22:17:15 +0000]
fix g++ compiler warning

toke.c:4698:36: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
      return REPORT(dojoin_was == 1 ? ')' : POSTJOIN);

I have no idea why mixing enums and non-emums is bad in C++. This commit
just casts the hell out the expression to shut it up.

4 days agoPATCH: [perl 128686] regex compiler crashes
Karl Williamson [Thu, 21 Jul 2016 15:58:21 +0000]
PATCH: [perl 128686] regex compiler crashes

This was due to freeing a scalar before its final use

4 days agoSwitch the order of the two backtracking chapters in perlre
Rafael Garcia-Suarez [Thu, 21 Jul 2016 13:37:25 +0000]
Switch the order of the two backtracking chapters in perlre

It makes more sense to explain what backtracking is first, and
then introduce the special backtracking control verbs.

This is just chapter swapping, no other edit has been done.
In other words this diff is basically:

    +=head2 Backtracking
     =head2 Special Backtracking Control Verbs
    -=head2 Backtracking
     =head2 Version 8 Regular Expressions

5 days agoregcomp.c: Silence compiler warning
Karl Williamson [Wed, 20 Jul 2016 07:43:47 +0000]
regcomp.c: Silence compiler warning

These functions are no longer needed in re_comp.c

5 days agoPrepare Module-CoreList for 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:59:02 +0000]
Prepare Module-CoreList for 5.25.4

5 days agoBump version to 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:52:57 +0000]
Bump version to 5.25.4

(including regen/opcode.pl)

5 days agoCreate new perldelta for 5.25.4
Steve Hay [Wed, 20 Jul 2016 16:46:48 +0000]
Create new perldelta for 5.25.4

5 days ago5.25.3 is released
Steve Hay [Wed, 20 Jul 2016 16:39:23 +0000]
5.25.3 is released

5 days agoAdd epigraph for 5.25.3
Steve Hay [Wed, 20 Jul 2016 16:38:35 +0000]
Add epigraph for 5.25.3

5 days ago5.25.3 today v5.25.3
Steve Hay [Wed, 20 Jul 2016 14:27:02 +0000]
5.25.3 today

5 days agoFinalize perldelta
Steve Hay [Wed, 20 Jul 2016 14:25:00 +0000]
Finalize perldelta

5 days agoUpdate Module-CoreList for 5.25.3
Steve Hay [Wed, 20 Jul 2016 14:20:41 +0000]
Update Module-CoreList for 5.25.3

5 days agoperldelta - Fill in Selected Bug Fixes etc
Steve Hay [Wed, 20 Jul 2016 14:15:06 +0000]
perldelta - Fill in Selected Bug Fixes etc

5 days agoFix typo in perldelta
Steve Hay [Wed, 20 Jul 2016 12:50:37 +0000]
Fix typo in perldelta

5 days agoperldelta - Fill in Modules and Pragmata
Steve Hay [Wed, 20 Jul 2016 12:43:21 +0000]
perldelta - Fill in Modules and Pragmata

5 days agoperldelta - Fill in rt.perl.org links
Steve Hay [Wed, 20 Jul 2016 12:33:07 +0000]
perldelta - Fill in rt.perl.org links

5 days agoperldelta - Fill in Testing
Steve Hay [Wed, 20 Jul 2016 12:24:10 +0000]
perldelta - Fill in Testing

5 days agoperldelta - Fill in Documentation
Steve Hay [Wed, 20 Jul 2016 12:21:54 +0000]
perldelta - Fill in Documentation

5 days agoperldelta - Fill in New Diagnostics
Steve Hay [Wed, 20 Jul 2016 12:01:07 +0000]
perldelta - Fill in New Diagnostics

5 days agoperldelta - Wrapping/formatting
Steve Hay [Wed, 20 Jul 2016 11:52:59 +0000]
perldelta - Wrapping/formatting

5 days agoperldelta - Fill in "fixed in" versions for Errata items
Steve Hay [Wed, 20 Jul 2016 11:39:57 +0000]
perldelta - Fill in "fixed in" versions for Errata items

(The perl #126182 problem was reported with 5.23.4, so certainly wasn't
*broken* in 5.24.0 as the note originally said. It was in fact *fixed* in
that version (actually, 5.23.9) by a series of commits in early March.)

5 days agoperldelta - Remove most boilerplate
Steve Hay [Wed, 20 Jul 2016 11:36:34 +0000]
perldelta - Remove most boilerplate

This moves one item ("scalar(%hash) return signature changed") from
Performance Enhancements to Incompatible Changes, where I think it is more
apt (although it does also involve a small performance enhancement).

5 days agoModule-Metadata has another customized test script
Steve Hay [Wed, 20 Jul 2016 11:08:48 +0000]
Module-Metadata has another customized test script

5 days agoEncode has some customized test scripts
Steve Hay [Wed, 20 Jul 2016 11:05:19 +0000]
Encode has some customized test scripts

5 days agoUpgrade Test-Simple from version 1.302040 to 1.302045
Steve Hay [Wed, 20 Jul 2016 10:55:16 +0000]
Upgrade Test-Simple from version 1.302040 to 1.302045

5 days agoUpgrade libnet from version 3.08 to 3.09
Steve Hay [Wed, 20 Jul 2016 10:49:22 +0000]
Upgrade libnet from version 3.08 to 3.09

5 days agorename "WORD" lexical token to "BAREWORD"
David Mitchell [Mon, 18 Jul 2016 10:57:19 +0000]
rename "WORD" lexical token to "BAREWORD"

The enum value "WORD" can apparently clash with a enum value in windows
headers.  It used to be worked around in windows by #defining YYTOKENTYPE,
which caused the

    enum yytokentype {
        ...
        WORD = ...;
    }

in perly.h to be skipped, while still using the

    #define WORD ...

which appears later in the same file.

In bison 3.x, the auto-generated perl.h no longer includes the #defines,
so this workaround no longer works.

Instead, change the name of the token from "WORD" to "BAREWORD".

6 days ago(perl #128524) correct indentation for utf-8 key hash elements
Tony Cook [Wed, 20 Jul 2016 04:10:44 +0000]
(perl #128524) correct indentation for utf-8 key hash elements

For utf-8 flagged keys the indentation was left as the default, the
key length, and was not updated to the adjusted length after
escaping and quoting.

The test originally used a pre-rendered dump, but potentially other
minor changes to the output would break that, now it simply compares
against the output of the first case.

7 days agolib/locale.t: Fix tests, add a test
Karl Williamson [Tue, 19 Jul 2016 00:49:40 +0000]
lib/locale.t: Fix tests, add a test

The tests assumed that the lowest collating non-NUL control was \001.
This isn't necessarily true, and in a few locales caused the test to
fail.

7 days agolocale.c: Add some debugging statements
Karl Williamson [Tue, 24 May 2016 17:41:32 +0000]
locale.c: Add some debugging statements

7 days agoperlop: clarify that entries aren't in prec order
David Mitchell [Mon, 18 Jul 2016 14:04:16 +0000]
perlop: clarify that entries aren't in prec order

RT #127921

The phrasing may have given the impression that the =head2 for each
operator was at a lower precedence than the previous =head2. Disabuse
people of that notion.

7 days agoUpgrade Math-BigInt from version 1.999724 to 1.999726
Steve Hay [Mon, 18 Jul 2016 07:38:24 +0000]
Upgrade Math-BigInt from version 1.999724 to 1.999726

7 days agoAdd epigraphs for 5.22.3-RC1 and 5.24.1-RC1
Steve Hay [Mon, 18 Jul 2016 07:22:15 +0000]
Add epigraphs for 5.22.3-RC1 and 5.24.1-RC1

8 days agoFix failing uninit test on 64-bit-int builds
Father Chrysostomos [Sun, 17 Jul 2016 21:14:53 +0000]
Fix failing uninit test on 64-bit-int builds

On 32-bit builds with 64-bit ints, pack "q" works, but pointers and
array subscripts are still 32-bit numbers, so the test will fail.
Actually check the pointers size via pack "p".

8 days agoperldelta for 6fe925b92 / my\
Father Chrysostomos [Sun, 17 Jul 2016 20:06:52 +0000]
perldelta for 6fe925b92 / my\

8 days agoperlref: Wrap pod
Father Chrysostomos [Sun, 17 Jul 2016 20:04:26 +0000]
perlref: Wrap pod

8 days agoNote in perlvar that ${^ENCODING} is removed
Father Chrysostomos [Sun, 17 Jul 2016 19:55:49 +0000]
Note in perlvar that ${^ENCODING} is removed

8 days agoAdd Filter::Encoding to the known links
Father Chrysostomos [Sun, 17 Jul 2016 19:55:17 +0000]
Add Filter::Encoding to the known links

I guess I must be famous now.

8 days agoperldelta for a9cb10c37 (${^ENCODING} removal)
Father Chrysostomos [Sun, 17 Jul 2016 19:51:43 +0000]
perldelta for a9cb10c37 (${^ENCODING} removal)

8 days agoperldelta for a2637ca0a / #128597
Father Chrysostomos [Sun, 17 Jul 2016 19:42:05 +0000]
perldelta for a2637ca0a / #128597

8 days agoperldelta for 63aab7e / #128532
Father Chrysostomos [Sun, 17 Jul 2016 19:39:18 +0000]
perldelta for 63aab7e / #128532

8 days agoperldelta for 08e3451 and a651dcdf6
Father Chrysostomos [Sun, 17 Jul 2016 19:27:20 +0000]
perldelta for 08e3451 and a651dcdf6

8 days agoperldelta for #128508 / b3dd0aba3
Father Chrysostomos [Sun, 17 Jul 2016 19:24:30 +0000]
perldelta for #128508 / b3dd0aba3

8 days agoperldelta for #128478 / d9d2b74c
Father Chrysostomos [Sun, 17 Jul 2016 19:22:59 +0000]
perldelta for #128478 / d9d2b74c

8 days agoperldelta for #128238
Father Chrysostomos [Sun, 17 Jul 2016 19:20:48 +0000]
perldelta for #128238

e7acdfe only treat stash entries with .*:: as sub-stashes
9e5cda6 [perl #128238] Crash with non-stash in stash

8 days agobump feature.pm $VERSION
David Mitchell [Sun, 17 Jul 2016 19:25:51 +0000]
bump feature.pm $VERSION

8 days agofix build on clang plus -DPERL_GLOBAL_STRUCT
David Mitchell [Sun, 17 Jul 2016 19:13:08 +0000]
fix build on clang plus -DPERL_GLOBAL_STRUCT

The various PERL_TSA_* macros that utilise clang Thread Safety Analysis
were failing on  -DPERL_GLOBAL_STRUCT and -DPERL_GLOBAL_STRUCT_PRIVATE
builds, due to lines like these:

    Perl_op_refcnt_lock(pTHX)
      PERL_TSA_ACQUIRE(PL_op_mutex)
    {
        ...
    }

where under DPERL_GLOBAL_STRUCT globals vars aren't really global,
so you can't pass PL_op_mutex as an arg to that function attribute.

The simplest fix (since you can't just bung a dVAR in there) is to just
disable TSA on PERL_GLOBAL_STRUCT builds.

8 days agoVAX: one more VAX fp doc tweakage
Jarkko Hietaniemi [Sun, 17 Jul 2016 19:00:34 +0000]
VAX: one more VAX fp doc tweakage

Frankly quite amazing how many times one can read one's
own writing and miss things.

8 days ago[Merge] declared_refs feature allowing my\$x
Father Chrysostomos [Sun, 17 Jul 2016 18:27:32 +0000]
[Merge] declared_refs feature allowing my\$x

8 days agodecl_refs.t: Finish adding tests for declared_refs
Father Chrysostomos [Sat, 16 Jul 2016 06:48:03 +0000]
decl_refs.t: Finish adding tests for declared_refs

8 days agoTests for declared_refs err/warn messages
Father Chrysostomos [Mon, 30 May 2016 03:11:08 +0000]
Tests for declared_refs err/warn messages

8 days agoperldiag entries for declared_refs
Father Chrysostomos [Sun, 29 May 2016 23:02:53 +0000]
perldiag entries for declared_refs

8 days agoClearer declared_refs warning msg
Father Chrysostomos [Sun, 29 May 2016 21:32:11 +0000]
Clearer declared_refs warning msg

8 days agoUpdate docs for declared_refs
Father Chrysostomos [Sun, 29 May 2016 21:29:28 +0000]
Update docs for declared_refs

8 days agoMake my\ experimental
Father Chrysostomos [Mon, 23 May 2016 06:45:45 +0000]
Make my\ experimental

8 days agoAdd declared_refs feature feature
Father Chrysostomos [Mon, 23 May 2016 06:40:27 +0000]
Add declared_refs feature feature

8 days agoAdd experimental::declared_refs warn categ
Father Chrysostomos [Mon, 23 May 2016 06:39:44 +0000]
Add experimental::declared_refs warn categ

8 days agoAllow my \$a
Father Chrysostomos [Sat, 21 May 2016 05:28:31 +0000]
Allow my \$a

This applies to ‘my’, ‘our’, ‘state’ and ‘local’, and both to single
variable and lists of variables, in all their variations:

my \$a        # equivalent to \my $a
my \($a,$b)   # equivalent to \my($a, $b)
my (\($a,$b)) # same
my (\$a, $b)  # equivalent to (\my $a, $b)

8 days agoregcomp.c: Silence compiler warning
Karl Williamson [Sun, 17 Jul 2016 03:36:40 +0000]
regcomp.c: Silence compiler warning

It turns out that the changes in
0854ea0b9abfd9ff71c9dca1b5a5765dad2a20bd caused two functions to no
longer be used in re_comp.c

8 days ago5.22.3-RC1 and 5.24.1-RC1 today
Steve Hay [Sun, 17 Jul 2016 12:21:29 +0000]
5.22.3-RC1 and 5.24.1-RC1 today

8 days agoVAX: further docs about the VAX fp formats
Jarkko Hietaniemi [Sun, 17 Jul 2016 11:58:19 +0000]
VAX: further docs about the VAX fp formats

8 days agoVAX: perl.h: document the VAX fp better/more
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:53:27 +0000]
VAX: perl.h: document the VAX fp better/more

8 days agoVAX: Configure: the VAX fp not really little-endian
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:48:12 +0000]
VAX: Configure: the VAX fp not really little-endian

8 days agoPATCH: [perl #128170] Assert fail in regcomp.c
Karl Williamson [Sun, 17 Jul 2016 03:48:02 +0000]
PATCH: [perl #128170] Assert fail in regcomp.c

This fixes a regression in 5.24, bisected to commit

commit cfbef7dc3bfb89e4ed2c00ea9c9e3bcfd0b170fd
Author: Karl Williamson <khw@cpan.org>
Date:   Wed Feb 10 16:27:13 2016 -0700

regcomp.c: Fix some parsing glitches

9 days agoMerge regcomp changes branch into blead
Karl Williamson [Sat, 16 Jul 2016 23:43:19 +0000]
Merge regcomp changes branch into blead

This branch reimplements a function, adds a test file, improves the -Dr
display of bracketed character classes in compiled patterns, fixing a
regression in 5.24 of that display, and finds another optimization in /d
bracketed character classes.

9 days agoregcomp.c: Change some append_range_to_invlist() calls
Karl Williamson [Wed, 6 Jul 2016 01:32:19 +0000]
regcomp.c: Change some append_range_to_invlist() calls

Now that add_range_to_invlist() is more efficient, some current calls to
append_range_to_invlist() can be changed to make things slightly
clearer.

9 days agoregcomp.c: Reimplement add_range_to_invlist()
Karl Williamson [Mon, 27 Jun 2016 23:11:35 +0000]
regcomp.c: Reimplement add_range_to_invlist()

Previously, this function was essentially implemented by turning the new
range into an inversion list and then unioning that with the existing
inversion list.  This was easy to write, but expensive in terms of
operations, with memory allocations and copies, etc.

After discussing this with Tony Cook, I have reimplemented this.  Only
in one uncommonly encountered case does it resort to using the union,
because that case is somewhat tricky, and there is no need to have to
know that trickiness in yet another place given its rarity.

Otherwise, the function manipulates the inversion list.  Some cases are
no-ops, some just change a single array element, some move things within
the array, extending or splicing it.  But these are cheaper than the
previous implementation.

9 days agot/re/anyof.t: add tests for ranges
Karl Williamson [Wed, 13 Jul 2016 21:50:32 +0000]
t/re/anyof.t: add tests for ranges

These exercise the code changes that are coming the next commit, and are
to show that it doesn't change what gets compiled.

9 days agoregcomp.c: Refactor code dealing with m/[...]/d
Karl Williamson [Wed, 13 Jul 2016 03:15:07 +0000]
regcomp.c: Refactor code dealing with m/[...]/d

This consolidates some code that deals with bracketed character classes
under /d.  As a result, some throw-away steps can be omitted, and things
aren't scattered about.  The earlier version skipped doing some things
if the class is to be inverted.  The reason turns out to not be because
it was necessary, but that the dump of the compiled pattern was unclear.
Previous commits have fixed that, so this now handles inverted character
classes.

9 days agoregcomp.c: Improve -Dr output
Karl Williamson [Sat, 16 Jul 2016 04:06:49 +0000]
regcomp.c: Improve -Dr output

This improves the output of a bracketed character class under /d that has
things that match only if not in utf8.

9 days agot/re/pat.t: Add some tests
Karl Williamson [Sat, 16 Jul 2016 04:05:25 +0000]
t/re/pat.t: Add some tests

I'm unsure if these, [^\S ], get adequate tests, so added a few to make
sure, where the bracket class should compile to a posix class minus a
character normally in that class.

9 days agoregcomp.[ch]: Comments, White-space, only
Karl Williamson [Wed, 6 Jul 2016 01:41:30 +0000]
regcomp.[ch]: Comments, White-space, only

This indents code and reflows the comments to account for the enclosing
block added by the previous commit.

At the same time, it adds some other miscellaneous white space changes,
and adds, revises other comments.

9 days agoregcomp.c: Improve -Dr output
Karl Williamson [Wed, 6 Jul 2016 01:37:46 +0000]
regcomp.c: Improve -Dr output

Previously when dumping the compiled ANYOF node under -Dr, it could say
something like \x1B-\x1B.  A single element range should be dumped as a
single element.

9 days agoanyof.t: Add tests for previous commit
Karl Williamson [Tue, 12 Jul 2016 03:40:13 +0000]
anyof.t: Add tests for previous commit

The tests are being kept separate in case we want to put the previous
commit into a maintenance release.  The tests need infrastructure added
since the release of 5.24, so can't easily be backported.

9 days agoFix -Dr output regression
Karl Williamson [Wed, 6 Jul 2016 17:52:01 +0000]
Fix -Dr output regression

Several commits in the 5.23 series improved the display of the compiled
ANYOF regnodes, but introduced two bugs.  One of them is in \p{Any} and
similar things that match the entire range 0-255.  That range is omitted,
so it looks like \p{Any} only matches code points above 255.  Note that
this is only what gets displayed under -Dr.  What actually gets compiled
has been and still is fine.

The other is that when displaying a pattern that still has unresolved
user-defined properties that are complemented, it doesn't show properly
that the whole thing is complemented.  That is, the output looks like it
doesn't obey De Morgan's laws.

The fixes to these are quite intertwined, and so I didn't try to
separate them.

9 days agoAdd t/re/anyof.t
Karl Williamson [Mon, 11 Jul 2016 17:54:56 +0000]
Add t/re/anyof.t

The ANYOF regnode is by far the most complicated to compile in regular
expression patterns.  This new test file makes sure that what gets
compiled doesn't get changed accidentally, nor how the compiled node is
dumped for human readable output.

I created tests for this from what changed in
b77aba85f6ec3b2a2341077b14f39261c5753cea
"Revamp -Dr handling of /[...]/", and from trying to exercise all
branches in it using gcov.

Making this test file showed some bugs, and infelicitous representations
from that commit, which will be fixed in the next few commits, and tests
added as each change is done.

9 days agot/test.pl: Add fresh_perl() function
Karl Williamson [Mon, 11 Jul 2016 04:06:12 +0000]
t/test.pl: Add fresh_perl() function

This will be useful for cases where the results don't readily fall into
fresh_perl_is and fresh_perl_like, such as when a bunch of massaging of
the results is needed before it is convenient to test them.
fresh_perl_like() could be used, but in the case of failure there could
be lines and lines of noise output.

9 days agoSSize_t instead of IV
Karl Williamson [Wed, 6 Jul 2016 01:23:59 +0000]
SSize_t instead of IV

This is a sized STRLEN equivalent, so IV is less correct

9 days agoregcomp.h: Use #define mnemonic, not hard-coded number
Karl Williamson [Wed, 6 Jul 2016 01:17:18 +0000]
regcomp.h: Use #define mnemonic, not hard-coded number

9 days agoGet regen to work before 5.10
Father Chrysostomos [Sat, 16 Jul 2016 08:08:20 +0000]
Get regen to work before 5.10

Since it uses the system perl, it’s useful to keep it working with
earlier versions.

9 days ago[PATCH] in 15899733 the condition was supposed to stay optional
Jarkko Hietaniemi [Sat, 16 Jul 2016 13:45:04 +0000]
[PATCH] in 15899733 the condition was supposed to stay optional

Addresses [perl #128630] commit "VAX: test changes for VAX floats" causesfails on Win32 in op/sprintf.t

While at it, comment the syntax a bit.

10 days ago[perl #128621] #define PL_encoding
Father Chrysostomos [Fri, 15 Jul 2016 23:04:53 +0000]
[perl #128621] #define PL_encoding

to a NULL SV for non-core code, so that code that checks
if(PL_encoding) will continue to compile and work.

10 days agoAdd epigraph for 5.22.2
Steve Hay [Fri, 29 Apr 2016 22:40:03 +0000]
Add epigraph for 5.22.2

(cherry picked from commit 57ddee768a888d233288efe61bd6952e0fcf01c2)

10 days agogv.c: Add a comment about what powers Foo->import|unimport
Ævar Arnfjörð Bjarmason [Fri, 15 Jul 2016 21:26:31 +0000]
gv.c: Add a comment about what powers Foo->import|unimport

This comments some ancient code added by Larry back in
perl-5.000-ga0d0e21, I was searching for what made this not error:

    $ ./miniperl -we 'package Foo {} Foo->import'

Commenting out this "if" clause will make that error the same way that
this would:

    $ ./miniperl -we 'package Foo {} Foo->whatever
    Can't locate object method "whatever" via package "Foo" at -e line 1.

10 days agoSteve Hay will release next two maints on the 25th
Sawyer X [Fri, 15 Jul 2016 12:19:40 +0000]
Steve Hay will release next two maints on the 25th

10 days agoChad will be taking October, Sawyer December
Sawyer X [Wed, 6 Jul 2016 13:34:17 +0000]
Chad will be taking October, Sawyer December

11 days agoConfigure: clarify "version-specific"
Dan Collins [Mon, 4 Jul 2016 19:21:05 +0000]
Configure: clarify "version-specific"

This has long been a confusing configure question. It sounds like
it saves time by installing /less/, but really it just installs
binaries with a version number suffix.

11 days agoPATCH: [perl #128628] divide by 0 in locale.c
Karl Williamson [Thu, 14 Jul 2016 04:06:30 +0000]
PATCH: [perl #128628] divide by 0 in locale.c

It turned out to be possible to divide by 0 in Win32 when trying to find
the strxfrm() of an empty string.  On other platforms, the result of
this is consistent with other strings, but on Windows, it is longer than
expected, and the code was trying to adapt to this, dividing by the
input length without checking its validity.  This commit just skips the
adapting on a 0-length input.

12 days agocpan/Encode/encoding.pm: Fix typo in pod
Karl Williamson [Wed, 13 Jul 2016 20:42:59 +0000]
cpan/Encode/encoding.pm: Fix typo in pod

12 days agoperlfunc: remove obsolete study docs
Aristotle Pagaltzis [Wed, 13 Jul 2016 16:40:10 +0000]
perlfunc: remove obsolete study docs

Future historians may want to take note of the following writings:

http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=alpine.DEB.2.00.1105021253190.4448@fractal.phys.lafayette.edu
http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=CANgJU+WeUK9bWM8+4AtQ7stpR+3MVNatSzR8sJf-2AiBEWAw0Q@mail.gmail.com
http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=CB1A246E-858C-4BBD-AE45-4656E5A76272@cpan.org
http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=alpine.DEB.2.00.1201311052320.21742@fractal.phys.lafayette.edu
http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=20120131164322.GH9069@plum.flirble.org

12 days agoop.c: explain op_next generation better
David Mitchell [Wed, 13 Jul 2016 15:32:34 +0000]
op.c: explain op_next generation better

Update the big comment block at the top of op.c to better explain how all
the op_next pointers get calculated.

12 days agoperlfunc: fix seek/tell/sysseek byte offset note akwardness
Aristotle Pagaltzis [Wed, 13 Jul 2016 14:56:20 +0000]
perlfunc: fix seek/tell/sysseek byte offset note akwardness

12 days agoperlfunc: unrearrange sysseek doc to prepare next patch
Aristotle Pagaltzis [Wed, 13 Jul 2016 14:56:15 +0000]
perlfunc: unrearrange sysseek doc to prepare next patch

12 days agofix removal of PL_(lex_)encoding under threads
David Mitchell [Wed, 13 Jul 2016 11:46:34 +0000]
fix removal of PL_(lex_)encoding under threads

PL_encoding and PL_lex_encoding have just been removed, but usage of them
remained in perl_clone_using(), which broke threaded builds.

12 days ago[Merge] Remove ${^ENCODING} functionality
Father Chrysostomos [Wed, 13 Jul 2016 08:12:58 +0000]
[Merge] Remove ${^ENCODING} functionality

• encoding::warnings is now a no-op that gives a warning.
• ‘use encoding’ now dies, unless you specify a Filter argument.
• The ${^ENCODING} and ${^E_NCODING} variables and all the code they
  affected have been removed.