This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
5 years ago5.25.3 is released
Steve Hay [Wed, 20 Jul 2016 16:39:23 +0000 (17:39 +0100)]
5.25.3 is released

5 years agoAdd epigraph for 5.25.3
Steve Hay [Wed, 20 Jul 2016 16:38:35 +0000 (17:38 +0100)]
Add epigraph for 5.25.3

5 years ago5.25.3 today v5.25.3
Steve Hay [Wed, 20 Jul 2016 14:27:02 +0000 (15:27 +0100)]
5.25.3 today

5 years agoFinalize perldelta
Steve Hay [Wed, 20 Jul 2016 14:25:00 +0000 (15:25 +0100)]
Finalize perldelta

5 years agoUpdate Module-CoreList for 5.25.3
Steve Hay [Wed, 20 Jul 2016 14:20:41 +0000 (15:20 +0100)]
Update Module-CoreList for 5.25.3

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

5 years agoFix typo in perldelta
Steve Hay [Wed, 20 Jul 2016 12:50:37 +0000 (13:50 +0100)]
Fix typo in perldelta

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

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

5 years agoperldelta - Fill in Testing
Steve Hay [Wed, 20 Jul 2016 12:24:10 +0000 (13:24 +0100)]
perldelta - Fill in Testing

5 years agoperldelta - Fill in Documentation
Steve Hay [Wed, 20 Jul 2016 12:21:54 +0000 (13:21 +0100)]
perldelta - Fill in Documentation

5 years agoperldelta - Fill in New Diagnostics
Steve Hay [Wed, 20 Jul 2016 12:01:07 +0000 (13:01 +0100)]
perldelta - Fill in New Diagnostics

5 years agoperldelta - Wrapping/formatting
Steve Hay [Wed, 20 Jul 2016 11:52:59 +0000 (12:52 +0100)]
perldelta - Wrapping/formatting

5 years agoperldelta - Fill in "fixed in" versions for Errata items
Steve Hay [Wed, 20 Jul 2016 11:39:57 +0000 (12:39 +0100)]
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 years agoperldelta - Remove most boilerplate
Steve Hay [Wed, 20 Jul 2016 11:36:34 +0000 (12:36 +0100)]
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 years agoModule-Metadata has another customized test script
Steve Hay [Wed, 20 Jul 2016 11:08:48 +0000 (12:08 +0100)]
Module-Metadata has another customized test script

5 years agoEncode has some customized test scripts
Steve Hay [Wed, 20 Jul 2016 11:05:19 +0000 (12:05 +0100)]
Encode has some customized test scripts

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

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

5 years agorename "WORD" lexical token to "BAREWORD"
David Mitchell [Mon, 18 Jul 2016 10:57:19 +0000 (11:57 +0100)]
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".

5 years ago(perl #128524) correct indentation for utf-8 key hash elements
Tony Cook [Wed, 20 Jul 2016 04:10:44 +0000 (14:10 +1000)]
(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.

5 years agolib/locale.t: Fix tests, add a test
Karl Williamson [Tue, 19 Jul 2016 00:49:40 +0000 (18:49 -0600)]
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.

5 years agolocale.c: Add some debugging statements
Karl Williamson [Tue, 24 May 2016 17:41:32 +0000 (11:41 -0600)]
locale.c: Add some debugging statements

5 years agoperlop: clarify that entries aren't in prec order
David Mitchell [Mon, 18 Jul 2016 14:04:16 +0000 (15:04 +0100)]
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.

5 years agoUpgrade Math-BigInt from version 1.999724 to 1.999726
Steve Hay [Mon, 18 Jul 2016 07:38:24 +0000 (08:38 +0100)]
Upgrade Math-BigInt from version 1.999724 to 1.999726

5 years agoAdd epigraphs for 5.22.3-RC1 and 5.24.1-RC1
Steve Hay [Mon, 18 Jul 2016 07:22:15 +0000 (08:22 +0100)]
Add epigraphs for 5.22.3-RC1 and 5.24.1-RC1

5 years agoFix failing uninit test on 64-bit-int builds
Father Chrysostomos [Sun, 17 Jul 2016 21:14:53 +0000 (14:14 -0700)]
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".

5 years agoperldelta for 6fe925b92 / my\
Father Chrysostomos [Sun, 17 Jul 2016 20:06:52 +0000 (13:06 -0700)]
perldelta for 6fe925b92 / my\

5 years agoperlref: Wrap pod
Father Chrysostomos [Sun, 17 Jul 2016 20:04:26 +0000 (13:04 -0700)]
perlref: Wrap pod

5 years agoNote in perlvar that ${^ENCODING} is removed
Father Chrysostomos [Sun, 17 Jul 2016 19:55:49 +0000 (12:55 -0700)]
Note in perlvar that ${^ENCODING} is removed

5 years agoAdd Filter::Encoding to the known links
Father Chrysostomos [Sun, 17 Jul 2016 19:55:17 +0000 (12:55 -0700)]
Add Filter::Encoding to the known links

I guess I must be famous now.

5 years agoperldelta for a9cb10c37 (${^ENCODING} removal)
Father Chrysostomos [Sun, 17 Jul 2016 19:51:43 +0000 (12:51 -0700)]
perldelta for a9cb10c37 (${^ENCODING} removal)

5 years agoperldelta for a2637ca0a / #128597
Father Chrysostomos [Sun, 17 Jul 2016 19:42:05 +0000 (12:42 -0700)]
perldelta for a2637ca0a / #128597

5 years agoperldelta for 63aab7e / #128532
Father Chrysostomos [Sun, 17 Jul 2016 19:39:18 +0000 (12:39 -0700)]
perldelta for 63aab7e / #128532

5 years agoperldelta for 08e3451 and a651dcdf6
Father Chrysostomos [Sun, 17 Jul 2016 19:27:20 +0000 (12:27 -0700)]
perldelta for 08e3451 and a651dcdf6

5 years agoperldelta for #128508 / b3dd0aba3
Father Chrysostomos [Sun, 17 Jul 2016 19:24:30 +0000 (12:24 -0700)]
perldelta for #128508 / b3dd0aba3

5 years agoperldelta for #128478 / d9d2b74c
Father Chrysostomos [Sun, 17 Jul 2016 19:22:59 +0000 (12:22 -0700)]
perldelta for #128478 / d9d2b74c

5 years agoperldelta for #128238
Father Chrysostomos [Sun, 17 Jul 2016 19:20:48 +0000 (12:20 -0700)]
perldelta for #128238

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

5 years agobump feature.pm $VERSION
David Mitchell [Sun, 17 Jul 2016 19:25:51 +0000 (20:25 +0100)]
bump feature.pm $VERSION

5 years agofix build on clang plus -DPERL_GLOBAL_STRUCT
David Mitchell [Sun, 17 Jul 2016 19:13:08 +0000 (20:13 +0100)]
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.

5 years agoVAX: one more VAX fp doc tweakage
Jarkko Hietaniemi [Sun, 17 Jul 2016 19:00:34 +0000 (22:00 +0300)]
VAX: one more VAX fp doc tweakage

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

5 years ago[Merge] declared_refs feature allowing my\$x
Father Chrysostomos [Sun, 17 Jul 2016 18:27:32 +0000 (11:27 -0700)]
[Merge] declared_refs feature allowing my\$x

5 years agodecl_refs.t: Finish adding tests for declared_refs
Father Chrysostomos [Sat, 16 Jul 2016 06:48:03 +0000 (23:48 -0700)]
decl_refs.t: Finish adding tests for declared_refs

5 years agoTests for declared_refs err/warn messages
Father Chrysostomos [Mon, 30 May 2016 03:11:08 +0000 (20:11 -0700)]
Tests for declared_refs err/warn messages

5 years agoperldiag entries for declared_refs
Father Chrysostomos [Sun, 29 May 2016 23:02:53 +0000 (16:02 -0700)]
perldiag entries for declared_refs

5 years agoClearer declared_refs warning msg
Father Chrysostomos [Sun, 29 May 2016 21:32:11 +0000 (14:32 -0700)]
Clearer declared_refs warning msg

5 years agoUpdate docs for declared_refs
Father Chrysostomos [Sun, 29 May 2016 21:29:28 +0000 (14:29 -0700)]
Update docs for declared_refs

5 years agoMake my\ experimental
Father Chrysostomos [Mon, 23 May 2016 06:45:45 +0000 (23:45 -0700)]
Make my\ experimental

5 years agoAdd declared_refs feature feature
Father Chrysostomos [Mon, 23 May 2016 06:40:27 +0000 (23:40 -0700)]
Add declared_refs feature feature

5 years agoAdd experimental::declared_refs warn categ
Father Chrysostomos [Mon, 23 May 2016 06:39:44 +0000 (23:39 -0700)]
Add experimental::declared_refs warn categ

5 years agoAllow my \$a
Father Chrysostomos [Sat, 21 May 2016 05:28:31 +0000 (22:28 -0700)]
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)

5 years agoregcomp.c: Silence compiler warning
Karl Williamson [Sun, 17 Jul 2016 03:36:40 +0000 (21:36 -0600)]
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

5 years ago5.22.3-RC1 and 5.24.1-RC1 today
Steve Hay [Sun, 17 Jul 2016 12:21:29 +0000 (13:21 +0100)]
5.22.3-RC1 and 5.24.1-RC1 today

5 years agoVAX: further docs about the VAX fp formats
Jarkko Hietaniemi [Sun, 17 Jul 2016 11:58:19 +0000 (14:58 +0300)]
VAX: further docs about the VAX fp formats

5 years agoVAX: perl.h: document the VAX fp better/more
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:53:27 +0000 (10:53 +0300)]
VAX: perl.h: document the VAX fp better/more

5 years agoVAX: Configure: the VAX fp not really little-endian
Jarkko Hietaniemi [Sun, 17 Jul 2016 07:48:12 +0000 (10:48 +0300)]
VAX: Configure: the VAX fp not really little-endian

5 years agoPATCH: [perl #128170] Assert fail in regcomp.c
Karl Williamson [Sun, 17 Jul 2016 03:48:02 +0000 (21:48 -0600)]
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

5 years agoMerge regcomp changes branch into blead
Karl Williamson [Sat, 16 Jul 2016 23:43:19 +0000 (17:43 -0600)]
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.

5 years agoregcomp.c: Change some append_range_to_invlist() calls
Karl Williamson [Wed, 6 Jul 2016 01:32:19 +0000 (19:32 -0600)]
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.

5 years agoregcomp.c: Reimplement add_range_to_invlist()
Karl Williamson [Mon, 27 Jun 2016 23:11:35 +0000 (17:11 -0600)]
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.

5 years agot/re/anyof.t: add tests for ranges
Karl Williamson [Wed, 13 Jul 2016 21:50:32 +0000 (15:50 -0600)]
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.

5 years agoregcomp.c: Refactor code dealing with m/[...]/d
Karl Williamson [Wed, 13 Jul 2016 03:15:07 +0000 (21:15 -0600)]
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.

5 years agoregcomp.c: Improve -Dr output
Karl Williamson [Sat, 16 Jul 2016 04:06:49 +0000 (22:06 -0600)]
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.

5 years agot/re/pat.t: Add some tests
Karl Williamson [Sat, 16 Jul 2016 04:05:25 +0000 (22:05 -0600)]
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.

5 years agoregcomp.[ch]: Comments, White-space, only
Karl Williamson [Wed, 6 Jul 2016 01:41:30 +0000 (19:41 -0600)]
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.

5 years agoregcomp.c: Improve -Dr output
Karl Williamson [Wed, 6 Jul 2016 01:37:46 +0000 (19:37 -0600)]
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.

5 years agoanyof.t: Add tests for previous commit
Karl Williamson [Tue, 12 Jul 2016 03:40:13 +0000 (21:40 -0600)]
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.

5 years agoFix -Dr output regression
Karl Williamson [Wed, 6 Jul 2016 17:52:01 +0000 (11:52 -0600)]
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.

5 years agoAdd t/re/anyof.t
Karl Williamson [Mon, 11 Jul 2016 17:54:56 +0000 (11:54 -0600)]
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.

5 years agot/test.pl: Add fresh_perl() function
Karl Williamson [Mon, 11 Jul 2016 04:06:12 +0000 (22:06 -0600)]
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.

5 years agoSSize_t instead of IV
Karl Williamson [Wed, 6 Jul 2016 01:23:59 +0000 (19:23 -0600)]
SSize_t instead of IV

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

5 years agoregcomp.h: Use #define mnemonic, not hard-coded number
Karl Williamson [Wed, 6 Jul 2016 01:17:18 +0000 (19:17 -0600)]
regcomp.h: Use #define mnemonic, not hard-coded number

5 years agoGet regen to work before 5.10
Father Chrysostomos [Sat, 16 Jul 2016 08:08:20 +0000 (01:08 -0700)]
Get regen to work before 5.10

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

5 years ago[PATCH] in 15899733 the condition was supposed to stay optional
Jarkko Hietaniemi [Sat, 16 Jul 2016 13:45:04 +0000 (16:45 +0300)]
[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.

5 years ago[perl #128621] #define PL_encoding
Father Chrysostomos [Fri, 15 Jul 2016 23:04:53 +0000 (16:04 -0700)]
[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.

5 years agoAdd epigraph for 5.22.2
Steve Hay [Fri, 29 Apr 2016 22:40:03 +0000 (23:40 +0100)]
Add epigraph for 5.22.2

(cherry picked from commit 57ddee768a888d233288efe61bd6952e0fcf01c2)

5 years agogv.c: Add a comment about what powers Foo->import|unimport
Ævar Arnfjörð Bjarmason [Fri, 15 Jul 2016 21:26:31 +0000 (21:26 +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.

5 years agoSteve Hay will release next two maints on the 25th
Sawyer X [Fri, 15 Jul 2016 12:19:40 +0000 (14:19 +0200)]
Steve Hay will release next two maints on the 25th

5 years agoChad will be taking October, Sawyer December
Sawyer X [Wed, 6 Jul 2016 13:34:17 +0000 (15:34 +0200)]
Chad will be taking October, Sawyer December

5 years agoConfigure: clarify "version-specific"
Dan Collins [Mon, 4 Jul 2016 19:21:05 +0000 (15:21 -0400)]
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.

5 years agoPATCH: [perl #128628] divide by 0 in locale.c
Karl Williamson [Thu, 14 Jul 2016 04:06:30 +0000 (22:06 -0600)]
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.

5 years agocpan/Encode/encoding.pm: Fix typo in pod
Karl Williamson [Wed, 13 Jul 2016 20:42:59 +0000 (14:42 -0600)]
cpan/Encode/encoding.pm: Fix typo in pod

5 years agoperlfunc: remove obsolete study docs
Aristotle Pagaltzis [Wed, 13 Jul 2016 16:40:10 +0000 (18:40 +0200)]
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

5 years agoop.c: explain op_next generation better
David Mitchell [Wed, 13 Jul 2016 15:32:34 +0000 (16:32 +0100)]
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.

5 years agoperlfunc: fix seek/tell/sysseek byte offset note akwardness
Aristotle Pagaltzis [Wed, 13 Jul 2016 14:56:20 +0000 (16:56 +0200)]
perlfunc: fix seek/tell/sysseek byte offset note akwardness

5 years agoperlfunc: unrearrange sysseek doc to prepare next patch
Aristotle Pagaltzis [Wed, 13 Jul 2016 14:56:15 +0000 (16:56 +0200)]
perlfunc: unrearrange sysseek doc to prepare next patch

5 years agofix removal of PL_(lex_)encoding under threads
David Mitchell [Wed, 13 Jul 2016 11:46:34 +0000 (12:46 +0100)]
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.

5 years ago[Merge] Remove ${^ENCODING} functionality
Father Chrysostomos [Wed, 13 Jul 2016 08:12:58 +0000 (01:12 -0700)]
[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.

5 years agoconcat2.t: Remove encoding test
Father Chrysostomos [Tue, 12 Jul 2016 00:46:27 +0000 (17:46 -0700)]
concat2.t: Remove encoding test

Its purpose was to test the interaction between . and encoding.pm
causing the stack to be reallocated.  Since encoding.pm is disabled in
5.25.3 and above, the test is no longer necessary.

5 years agoRemove t/uni/tr_?jis.t
Father Chrysostomos [Mon, 11 Jul 2016 15:39:46 +0000 (08:39 -0700)]
Remove t/uni/tr_?jis.t

I disabled them a few commits ago, thinking that maybe reworking them
to test y’s utf8 support might be a good idea; but they duplicate tests
already in t/uni/tr_utf8.t, so they are no longer necessary.

5 years agoIncrease $encoding::VERSION to 2.17_01
Father Chrysostomos [Mon, 11 Jul 2016 05:07:27 +0000 (22:07 -0700)]
Increase $encoding::VERSION to 2.17_01

5 years agoUpdate t/porting/customized.dat
Father Chrysostomos [Mon, 11 Jul 2016 04:42:43 +0000 (21:42 -0700)]
Update t/porting/customized.dat

5 years agoRemove t/uni/chr.t
Father Chrysostomos [Mon, 11 Jul 2016 01:53:05 +0000 (18:53 -0700)]
Remove t/uni/chr.t

Without ‘use encoding’, tests like

    ok(chr(0x7f) eq "\x7f");

have little to do with perl’s Unicode support, and they duplicate
tests in t/op/chr.t.

It is not necessary to convert these to use chars > 0xff, to test chr
with Unicode, as t/op/chr.t already does that, too.

Move the warning test to t/lib/warnings/pp.  That is the only thing
tested here that is not tested elsewhere.

5 years agoDisable encoding.pm’s default mode; update docs
Father Chrysostomos [Sun, 10 Jul 2016 20:01:05 +0000 (13:01 -0700)]
Disable encoding.pm’s default mode; update docs

Its default mode became a no-op in recent commits, because
${^ENCODING} stopped doing anything.

Also, fix/delete/skip tests that fail as a result.

5 years agoRemove mg.c:_get_encoding
Father Chrysostomos [Sun, 22 May 2016 21:37:43 +0000 (14:37 -0700)]
Remove mg.c:_get_encoding

Nothing uses it now, and it does nothing.

5 years agoRemove PL_(lex_)encoding and all dependent code
Father Chrysostomos [Sun, 22 May 2016 21:35:31 +0000 (14:35 -0700)]
Remove PL_(lex_)encoding and all dependent code

5 years agoRemove IN_ENCODING macro, and all code dependent on it
Father Chrysostomos [Sun, 22 May 2016 21:32:40 +0000 (14:32 -0700)]
Remove IN_ENCODING macro, and all code dependent on it

5 years agoDisable ${^ENCODING}
Father Chrysostomos [Sat, 21 May 2016 19:22:33 +0000 (12:22 -0700)]
Disable ${^ENCODING}

${^ENCODING} is disabled and tests are modified to account.

5 years agoIncrease $encoding::warnings::VERSION to 0.13
Father Chrysostomos [Sun, 22 May 2016 20:51:58 +0000 (13:51 -0700)]
Increase $encoding::warnings::VERSION to 0.13

5 years agoMake encoding::warnings a no-op in 5.26
Father Chrysostomos [Sun, 22 May 2016 20:51:14 +0000 (13:51 -0700)]
Make encoding::warnings a no-op in 5.26

with a single warning at import time.