67 min agoUpdate podlators to CPAN version 4.08 blead
Chris 'BinGOs' Williams [Tue, 27 Sep 2016 12:43:59 +0000]
Update podlators to CPAN version 4.08

  [DELTA]

podlators 4.08 (2016-09-24)

    [Pod::Man] Partially revert change in 4.00 to require the name option
    (--name to pod2man) when generating man pages from standard input.
    Historically, pod2man silently tolerated this, and there turned out to
    be a lot of software that depended on this, making the change too
    disruptive.  Instead, silently set the man page title to STDIN in this
    case, but warn about it in the documentation.  (#117990)

    [Pod::Man] Fix rendering bug for "TRUE (1)", which was recognized as
    needing small caps and then erroneously as a man page reference,
    resulting in escaped nroff.  (Found by Dan Jacobson with the
    XML::LibXML::Element man page.)  (Debian Bug#836831)

    [Pod::Man] Fix rendering bug causing "\s0(1)" to be mistakenly marked
    as a man page reference, later confusing backslash escaping.

    [Pod::Man] Add new lquote and rquote options (and corresponding
    --lquote and --rquote flags to pod2man) to set the left and right
    quotes for C<> text independently.  (#103298)

    Remove test for nested L<> markup, since an upcoming version of
    Pod::Simple will drop support for this.  (#114075)

73 min agoUpdate HTTP-Tiny to CPAN version 0.068
Chris 'BinGOs' Williams [Tue, 27 Sep 2016 12:38:24 +0000]
Update HTTP-Tiny to CPAN version 0.068

  [DELTA]

0.068     2016-09-23 16:10:03-04:00 America/New_York

    - No changes from 0.067-TRIAL.

0.067     2016-09-14 11:43:14-04:00 America/New_York (TRIAL RELEASE)

    [FIXED]

    - Includes redirect history when issuing a 599 internal error.

0.065     2016-09-09 22:42:43-04:00 America/New_York (TRIAL RELEASE)

    [TESTS]

    - Try harder to clean up environment in t/140_proxy.t (needed for VMS)

75 min agoUpdate Time-HiRes version in Maintainers.pl
Chris 'BinGOs' Williams [Tue, 27 Sep 2016 12:35:32 +0000]
Update Time-HiRes version in Maintainers.pl

106 min agoS_sv_2iuv_common(): optimise single digit strings
David Mitchell [Tue, 27 Sep 2016 11:59:01 +0000]
S_sv_2iuv_common(): optimise single digit strings

When converting a POK SV to an IOK SV, short-cut the relatively
common case of a string that is only one char long and consists of a
single digit, e.g. "0". Thus skipping all the floating-point, infinity,
whitespace etc complexity.

2 hours agopp_leaveloop(): rename local vars
David Mitchell [Tue, 27 Sep 2016 11:11:50 +0000]
pp_leaveloop(): rename local vars

For internal consistency and for consistency with other pp_leave()
functions, rename oldsp to base and mark/MARK to oldsp.

Should be no functional difference.

2 hours agopadrange, aelemfast: use label for private bits
David Mitchell [Tue, 27 Sep 2016 10:52:07 +0000]
padrange, aelemfast: use label for private bits

Change the output of Concise etc:

    $ perl -MO=Concise -e'my (@a,$b,$c); $a[5];'

from:

    3  <0> padrange[@a:1,2; $b:1,2; $c:1,2] vM/LVINTRO,3
    ...
    5  <0> aelemfast_lex[@a:1,2] sR/5

to:

    3  <0> padrange[@a:1,2; $b:1,2; $c:1,2] vM/LVINTRO,range=3
    ...
    5  <0> aelemfast_lex[@a:1,2] sR/key=5

See http://nntp.perl.org/group/perl.perl5.porters/220208.

3 hours agoOP_AVHVSWITCH: make op_private bits 0..1 symbolic
David Mitchell [Tue, 27 Sep 2016 10:44:42 +0000]
OP_AVHVSWITCH: make op_private bits 0..1 symbolic

Add OPpAVHVSWITCH_MASK and make Concise etc display the offset as
/offset=2 rather than /2.

3 hours agofixup some AV API pod descriptions.
David Mitchell [Tue, 27 Sep 2016 08:51:45 +0000]
fixup some AV API pod descriptions.

In particular:

* improve  some of the "perl equivalent" entries; for example
  av_store() is *not* like $myarray[$key] = $val, since it replaces the
  stored SV with a different SV, rather than just updating the current
  SV's value.

* Also change the "perl equivalent" variable names to match the function
  parameter names, e.g. $key rather than $idx.

* Don't use 'delete' as a perl equivalent, since delete is discouraged on
  arrays.

* You don't *have* to use av_store() to change undef values inserted by
  av_unshift; e.g. you could do av_fetch() then modify the returned
  undef SV; so just delete that sentence

5 hours agoperldelta for PADOFFSET changes
David Mitchell [Tue, 27 Sep 2016 08:27:30 +0000]
perldelta for PADOFFSET changes

22 hours agomake PL_ pad vars be of type PADOFFSET
David Mitchell [Mon, 26 Sep 2016 14:56:08 +0000]
make PL_ pad vars be of type PADOFFSET

Now that that PADOFFSET is signed, make

    PL_comppad_name_fill
    PL_comppad_name_floor
    PL_padix
    PL_constpadix
    PL_padix_floor
    PL_min_intro_pending
    PL_max_intro_pending

be of type PADOFFSET rather than I32, to match the rest of the pad
interface.

At the same time, change various I32 local vars in pad.c functions to be
PADOFFSET.

23 hours agomake PADOFFSET be SSizet_t
David Mitchell [Mon, 26 Sep 2016 14:22:25 +0000]
make PADOFFSET be SSizet_t

Currently it's defined as U32 or U64 depending on whether pointers are
32 bit or 64-bit, which is just a long-winded way of doing

    typedef Size_t PADOFFSET

Change it to

    typedef SSize_t PADOFFSET

Making it signed makes it easier to handle comparisons against PADOFFSET
values that can be -1, such as PL_comppad_name_floor (which will be fixed
in the next commit).

23 hours agoremove a bunch of XXX's from pad.c
David Mitchell [Mon, 26 Sep 2016 14:04:21 +0000]
remove a bunch of XXX's from pad.c

When in 2002 I moved a bunch of code from op.c etc into a new file,
pad.c, I left this comment at the top:

    /* XXX DAPM
     * As of Sept 2002, this file is new and may be in a state of flux for
     * a while. I've marked things I intent to come back and look at further
     * with an 'XXX DAPM' comment.
     */

Well, 12 years have passed since then, and if I was going to do any of
this stuff I would probably have done it by now, or someone else would.

So this commit removes the XXX's.

23 hours agopad.c comments: clarify PERL_PADSEQ_INTRO
David Mitchell [Mon, 26 Sep 2016 13:59:26 +0000]
pad.c comments: clarify PERL_PADSEQ_INTRO

29 hours agoadd a test for gv_try_downgrade()
David Mitchell [Wed, 21 Sep 2016 08:22:13 +0000]
add a test for gv_try_downgrade()

Previously, making gv_try_downgrade() just immediately return didn't cause
any tests to fail.

29 hours agofix builds under USE_PAD_RESET
David Mitchell [Tue, 20 Sep 2016 08:45:07 +0000]
fix builds under USE_PAD_RESET

It had suffered some bitrot.

33 hours agoCentralize definitions of MIN, MAX
Karl Williamson [Wed, 21 Sep 2016 22:15:08 +0000]
Centralize definitions of MIN, MAX

Instead of having each file have them, keep them in handy.h, but only
for core compilations.

33 hours agoAdd is_utf8_fixed_width_buf_flags() and use it
Karl Williamson [Mon, 26 Sep 2016 04:04:08 +0000]
Add is_utf8_fixed_width_buf_flags() and use it

This encodes a simple pattern that may not be immediately obvious to
someone needing it.  If you have a fixed-size buffer that is full of
purportedly UTF-8 bytes, is it valid or not?  It's easy to do, as shown
in this commit.  The file test operators -T and -B can be simpified by
using this function.

33 hours agoAdd API Unicode handling functions
Karl Williamson [Mon, 19 Sep 2016 15:59:32 +0000]
Add API Unicode handling functions

These functions are all extensions of the is_utf8_string_foo()
functions, that restrict the UTF-8 recognized as valid in various ways.
There are named ones for the two definitions that Unicode makes, and
foo_flags ones for more custom restrictions.

The named ones are implemented as tries, while the flags ones provide
complete generality

33 hours agoAPItest/t/utf8.t: Rename variable
Karl Williamson [Sun, 25 Sep 2016 16:14:50 +0000]
APItest/t/utf8.t: Rename variable

The new name is clearer, which will matter more in the next commit

33 hours agoXS-APItest/t/utf8.t: Add some tests
Karl Williamson [Tue, 20 Sep 2016 16:12:45 +0000]
XS-APItest/t/utf8.t: Add some tests

These will help in testing the string functions coming in the next
commit.  These add problematic code points to the first testing loop.
As a result some of the tests in the final loop may be redundant, but
since this .t is quick to run, I chose not to investigate and remove any
such.

33 hours agoMove #define to different header
Karl Williamson [Thu, 15 Sep 2016 01:57:46 +0000]
Move #define to different header

Instead of having a comment in one header pointing to the #define in the
other, remove the indirection and just have the #define itself where it
is needed.

33 hours agoperlapi: Clarifications, nits in Unicode support docs
Karl Williamson [Mon, 19 Sep 2016 15:52:57 +0000]
perlapi: Clarifications, nits in Unicode support docs

This also does a white space change to inline.h

33 hours agoperlapi: Minor clarifications to sv_utf8_decode
Karl Williamson [Thu, 15 Sep 2016 15:06:39 +0000]
perlapi: Minor clarifications to sv_utf8_decode

38 hours agoTime-HiRes: bring up-to-date with CPAN.
James E Keenan [Sun, 25 Sep 2016 23:48:52 +0000]
Time-HiRes: bring up-to-date with CPAN.

The ext3/ext2 filesystems do not have subsecond resolution, therefore skip the
t/utime.t test. [rt.cpan.org #116127]

45 hours agopodcheck.t: perlepigraphs: don't note too long verbatims
Karl Williamson [Wed, 21 Sep 2016 22:12:50 +0000]
podcheck.t: perlepigraphs: don't note too long verbatims

These epigraphs may not be foldable properly.  Instead of warning when
new ones are added, ignore this category entirely for this pod.

2 days agomacos Sierra (10.12) hints comment updates.
Jarkko Hietaniemi [Sun, 25 Sep 2016 00:23:36 +0000]
macos Sierra (10.12) hints comment updates.

2 days agoUpdate for the Module-CoreList that is on teh CPAN
Chris 'BinGOs' Williams [Sat, 24 Sep 2016 22:56:18 +0000]
Update for the Module-CoreList that is on teh CPAN

2 days agoBump Module-CoreList version for bc46539a
Chris 'BinGOs' Williams [Sat, 24 Sep 2016 22:55:25 +0000]
Bump Module-CoreList version for bc46539a

2 days agoupdate Module::CoreList
Stevan Little [Sat, 24 Sep 2016 20:22:01 +0000]
update Module::CoreList

2 days agoupdating opcodes (version number mostly)
Stevan Little [Sat, 24 Sep 2016 19:59:52 +0000]
updating opcodes (version number mostly)

2 days agobumping the version number
Stevan Little [Sat, 24 Sep 2016 19:57:41 +0000]
bumping the version number

5 days agoutf8.c: #define MIN if not already defined
Karl Williamson [Wed, 21 Sep 2016 15:46:46 +0000]
utf8.c: #define MIN if not already defined

This is only used on EBCDIC.

5 days agoChange sv_setpvn(…, "…", …) to sv_setpvs(…, "…")
Dagfinn Ilmari Mannsåker [Wed, 21 Sep 2016 14:38:42 +0000]
Change sv_setpvn(…, "…", …) to sv_setpvs(…, "…")

The dual-life dists affected use Devel::PPPort, so can safely use
sv_setpvs() even though it wasn't added until Perl v5.10.0.

6 days agoFix typo in perlrun.pod
Steven Humphrey [Tue, 20 Sep 2016 11:42:39 +0000]
Fix typo in perlrun.pod

s/and/any/
perl -c documentation has a typo when talking about BEGIN blocks.

Steven Humphrey is now a Perl author.

For: RT #129313

6 days agonew perldelta
Stevan Little [Tue, 20 Sep 2016 20:25:11 +0000]
new perldelta

6 days agoknown pod issues
Stevan Little [Tue, 20 Sep 2016 20:24:16 +0000]
known pod issues

6 days agoticking the release
Stevan Little [Tue, 20 Sep 2016 20:05:42 +0000]
ticking the release

6 days agoupdate epigraphs.pod
Stevan Little [Tue, 20 Sep 2016 19:59:20 +0000]
update epigraphs.pod

6 days agotypo
Sawyer X [Tue, 20 Sep 2016 20:28:42 +0000]
typo

7 days agoadd new release to perlhist v5.25.5
Stevan Little [Tue, 20 Sep 2016 12:59:00 +0000]
add new release to perlhist

7 days agofinalize the perldelta
Stevan Little [Tue, 20 Sep 2016 12:54:37 +0000]
finalize the perldelta

7 days agoUpdate Module::CoreList for 5.25.5
Stevan Little [Tue, 20 Sep 2016 12:34:02 +0000]
Update Module::CoreList for 5.25.5

7 days agoutf8.c: Fix bug in new _is_utf8_char_helper() function
Karl Williamson [Mon, 19 Sep 2016 21:37:52 +0000]
utf8.c: Fix bug in new _is_utf8_char_helper() function

This bug was exposed by the tests that I'm still developing

7 days agoMake regexp_nonull.t test patterns without null
Father Chrysostomos [Sun, 18 Sep 2016 19:11:28 +0000]
Make regexp_nonull.t test patterns without null

It was only testing matches against strings without a trailing
null byte.  Now it also tests compilation of patterns without
a trailing null byte.

7 days agoregcomp.c: S_concat_pat: guard against missing trailing nulls
Yves Orton [Sat, 17 Sep 2016 18:14:53 +0000]
regcomp.c: S_concat_pat: guard against missing trailing nulls

The regex engine expects the pattern to have a null byte at
SvEND(pat), but is not guaranteed to receive such a pattern
when it is called, so S_concat_pat should guard against this
case. It turns out this is only an issue when there is exactly
one "argument" to the pattern. (Consider concatenation rules, etc).

7 days agosv.c: sv_grow: newlen cannot be smaller than SvCUR()
Yves Orton [Sat, 17 Sep 2016 18:13:23 +0000]
sv.c: sv_grow: newlen cannot be smaller than SvCUR()

This expression dates back to about 2003 or so, and as
far as I can tell is no longer necessary.

7 days agodoop.c: use sv_setpvn() instead of sv_setpvs()
Yves Orton [Sat, 17 Sep 2016 18:12:26 +0000]
doop.c: use sv_setpvn() instead of sv_setpvs()

7 days agoperldelta: grammar
Lukas Mai [Mon, 19 Sep 2016 16:13:12 +0000]
perldelta: grammar

8 days agoCorrect one formatting error in perldelta.pod.
James E Keenan [Mon, 19 Sep 2016 12:19:38 +0000]
Correct one formatting error in perldelta.pod.

This was causing a failure in t/porting/podcheck.t.

8 days agoworking on perldelta some more
Stevan Little [Sun, 18 Sep 2016 21:53:27 +0000]
working on perldelta some more

8 days agoperldelta for e426a4af0
Father Chrysostomos [Mon, 19 Sep 2016 03:28:58 +0000]
perldelta for e426a4af0

8 days agoperldelta for #129287 / b43665
Father Chrysostomos [Mon, 19 Sep 2016 03:27:11 +0000]
perldelta for #129287 / b43665

8 days agoperldelta: Remove duplicate entry; fix typo
Father Chrysostomos [Mon, 19 Sep 2016 03:24:00 +0000]
perldelta: Remove duplicate entry; fix typo

I had already documented the perlinterp change.

8 days agobop.t: Delete $SIG{__WARN__}
Father Chrysostomos [Mon, 19 Sep 2016 03:20:06 +0000]
bop.t: Delete $SIG{__WARN__}

It is only needed for one block of tests.  Leaving the handler in
place makes it harder to add temporary diagnostics elsewhere in
the code.  (Where did my warning go?  Hey, why is ‘warn’ not work-
ing?????!!!! :-)

8 days ago[perl #129287] Make UTF8 & append null
Father Chrysostomos [Mon, 19 Sep 2016 03:17:08 +0000]
[perl #129287] Make UTF8 & append null

The & and &. operators were not appending a null byte to the string
in utf8 mode.

(The internal function that they use is the same.  I used &. in the
test just because its intent is clearer.)

8 days agoregexp.t: Update comments about column 1
Father Chrysostomos [Sun, 18 Sep 2016 19:19:13 +0000]
regexp.t: Update comments about column 1

Years out of date!

8 days agoworking on perldelta
Stevan Little [Sun, 18 Sep 2016 15:05:01 +0000]
working on perldelta

9 days agoperlfunc: re-document old split() @_ side effect
Aristotle Pagaltzis [Sun, 18 Sep 2016 09:53:20 +0000]
perlfunc: re-document old split() @_ side effect

9 days agoperlsub: scalar split no longer clobbers @_ (RT #129297)
Lukas Mai [Sun, 18 Sep 2016 07:50:16 +0000]
perlsub: scalar split no longer clobbers @_ (RT #129297)

9 days agoperldelta for new Unicode-handling function.
Karl Williamson [Sun, 18 Sep 2016 03:07:29 +0000]
perldelta for new Unicode-handling function.

9 days agoperlapi: Clarify docs for some is_utf8_foo functions
Karl Williamson [Thu, 15 Sep 2016 01:49:52 +0000]
perlapi: Clarify docs for some is_utf8_foo functions

9 days agoAdd isUTF8_CHAR_flags() macro
Karl Williamson [Thu, 15 Sep 2016 00:54:23 +0000]
Add isUTF8_CHAR_flags() macro

This is like the previous 2 commits, but the macro takes a flags
parameter so any combination of the disallowed flags may be used.  The
others, along with the original isUTF8_CHAR(), are the most commonly
desired strictures, and use an implementation of a, hopefully, inlined
trie for speed.  This is for generality and the major portion of its
implementation isn't inlined.

9 days agoAdd macro for Unicode Corregindum #9 strict
Karl Williamson [Mon, 12 Sep 2016 22:52:41 +0000]
Add macro for Unicode Corregindum #9 strict

This macro follows Unicode Corrigendum #9 to allow non-character code
points.  These are still discouraged but not completely forbidden.

It's best for code that isn't intended to operate on arbitrary other
code text to use the original definition, but code that does things,
such as source code control, should change to use this definition if it
wants to be Unicode-strict.

Perl can't adopt C9 wholesale, as it might create security holes in
existing applications that rely on Perl keeping non-chars out.

9 days agoAdd macro for determining if UTF-8 is Unicode-strict
Karl Williamson [Mon, 12 Sep 2016 19:38:22 +0000]
Add macro for determining if UTF-8 is Unicode-strict

9 days agoperlapi: Clarify isUTF8_CHAR()
Karl Williamson [Mon, 12 Sep 2016 20:30:15 +0000]
perlapi: Clarify isUTF8_CHAR()

9 days agoinline.h: Add 'const's; avoid hiding outer variable
Karl Williamson [Wed, 14 Sep 2016 23:09:51 +0000]
inline.h: Add 'const's; avoid hiding outer variable

This changes some formal parameters to be const, and avoids reusing the
same variable name within an inner block, to avoid confusion

9 days agoAdd tests for is_valid_partial_utf8_char_flags()
Karl Williamson [Thu, 8 Sep 2016 17:34:15 +0000]
Add tests for is_valid_partial_utf8_char_flags()

9 days agoAdd is_utf8_valid_partial_char_flags()
Karl Williamson [Mon, 12 Sep 2016 04:18:57 +0000]
Add is_utf8_valid_partial_char_flags()

This is a generalization of is_utf8_valid_partial_char to allow the
caller to automatically exclude things such as surrogates.

9 days agoperlapi: Reword description of is_utf8_valid_partial_char
Karl Williamson [Sun, 11 Sep 2016 15:40:37 +0000]
perlapi: Reword description of is_utf8_valid_partial_char

9 days agoFix off-by-one error in is_utf8_valid_partial_char()
Karl Williamson [Sun, 11 Sep 2016 04:27:37 +0000]
Fix off-by-one error in is_utf8_valid_partial_char()

9 days agohandy.h: Comment memEQs and memNEs
Karl Williamson [Sun, 11 Sep 2016 04:24:48 +0000]
handy.h: Comment memEQs and memNEs

9 days agoutf8.c: Add some UNLIKELYs
Karl Williamson [Sun, 11 Sep 2016 04:18:59 +0000]
utf8.c: Add some UNLIKELYs

9 days agoutf8.h: Add comment, white-space changes
Karl Williamson [Sun, 11 Sep 2016 04:18:16 +0000]
utf8.h: Add comment, white-space changes

9 days agoEnhance and rename is_utf8_char_slow()
Karl Williamson [Sun, 11 Sep 2016 04:09:44 +0000]
Enhance and rename is_utf8_char_slow()

This changes the name of this helper function and adds a parameter and
functionality to allow it to exclude problematic classes of code
points, the same ones excludeable by utf8n_to_uvchar(), like surrogates
or non-character code points.

9 days agoAPItest/t/utf8.t: Add tests
Karl Williamson [Thu, 8 Sep 2016 04:22:01 +0000]
APItest/t/utf8.t: Add tests

These fill in gaps in current testing.  In particular all the overlong
UTF-8 possible edge cases are now tested.

9 days agoAPItest/utf8.t: Some clean up
Karl Williamson [Thu, 8 Sep 2016 04:14:38 +0000]
APItest/utf8.t: Some clean up

This adds some information to test names, does some white-space
alignments, changes one test to stress things slightly more, and adds a
'use bytes' because in some cases the desired byte-oriented output was
not showing up.

9 days agoTest isUTF8_CHAR()
Karl Williamson [Mon, 5 Sep 2016 03:32:08 +0000]
Test isUTF8_CHAR()

9 days agolib/warnings/utf8: Reinstate warning test
Karl Williamson [Sun, 11 Sep 2016 04:19:42 +0000]
lib/warnings/utf8: Reinstate warning test

I removed this in 35f8c9bd0ff4f298f8bc09ae9848a14a9667a95a, thinking the
warning was no longer being raised.  But in fact, it was showing a bug,
now fixed by the previous commit.

9 days agoRevamp overlong handling in is_utf8_char_slow, fixing a bug
Karl Williamson [Sun, 11 Sep 2016 03:15:04 +0000]
Revamp overlong handling in is_utf8_char_slow, fixing a bug

This combines EBCDIC and ASCII branches as much as possible, and fixes a
bug that showed up only on EBCDIC platforms, and 64-bit ASCII ones for
the highest overlong, where it could erroneously conclude that a
sequence was an overlong.

Tests are coming in a future commit.
.

9 days agoutf8.c: Fix typo in comment, add some comments
Karl Williamson [Sun, 11 Sep 2016 03:06:39 +0000]
utf8.c: Fix typo in comment, add some comments

9 days agoutf8.c: Extract duplicate code to common fcn
Karl Williamson [Sat, 10 Sep 2016 15:00:03 +0000]
utf8.c: Extract duplicate code to common fcn

Actually the code isn't quite duplicate, but should be because one
instance is wrong.  This failure would only show up on EBCDIC platforms.
Tests are coming in a future commit.

9 days agohandy.h: Add memLT, memLE, memGT, memGE
Karl Williamson [Sat, 10 Sep 2016 14:54:36 +0000]
handy.h: Add memLT, memLE, memGT, memGE

These correspond to strLT, etc.  I am deferring documenting them in case
this turns out to be a bad idea for some reason.

9 days agoUnconditionally define memcmp() if not sane
Karl Williamson [Sat, 10 Sep 2016 14:46:18 +0000]
Unconditionally define memcmp() if not sane

Prior to this commit, if there was a #define for memcmp that invoked a
version that Configure deemed to not be sufficient for normal use, it
was retained, so that perl used the defective version.  This apparently
hasn't been a problem in the field, but I realized the potential issue
doing code reading, and am correcting it.

9 days agoisUTF8_CHAR(): Bring UTF-EBCDIC to parity with ASCII
Karl Williamson [Sat, 3 Sep 2016 20:12:27 +0000]
isUTF8_CHAR(): Bring UTF-EBCDIC to parity with ASCII

This changes the macro isUTF8_CHAR to have the same number of code
points built-in for EBCDIC as ASCII.  This obsoletes the
IS_UTF8_CHAR_FAST macro, which is removed.

Previously, the code generated by regen/regcharclass.pl for ASCII
platforms was hand copied into utf8.h, and LIKELY's manually added, then
the generating code was commented out.  Now this has been done with
EBCDIC platforms as well.  This makes regenerating regcharclass.h
faster.

The copied macro in utf8.h is moved by this commit to within the main
code section for non-EBCDIC compiles, cutting the number of #ifdef's
down, and the comments about it are changed somewhat.

9 days agoregen/regcharclass.pl: surrogates are code points
Karl Williamson [Sat, 3 Sep 2016 18:15:29 +0000]
regen/regcharclass.pl: surrogates are code points

They are not "characters"

9 days agoAdd IS_UTF8_INVARIANT and IS_UVCHR_INVARIANT to API
Karl Williamson [Sat, 3 Sep 2016 22:13:15 +0000]
Add IS_UTF8_INVARIANT and IS_UVCHR_INVARIANT to API

9 days agoutfebcdic.h: Fix typo in comment
Karl Williamson [Thu, 8 Sep 2016 04:03:21 +0000]
utfebcdic.h: Fix typo in comment

9 days agoAdd #defines for XS code for Unicode Corregindum 9
Karl Williamson [Wed, 14 Sep 2016 22:05:35 +0000]
Add #defines for XS code for Unicode Corregindum 9

These are convenience macros.

9 days agoperlapi: Clarify utf8n_to_uvchr entry
Karl Williamson [Wed, 14 Sep 2016 22:02:50 +0000]
perlapi: Clarify utf8n_to_uvchr entry

9 days agoperlunicode: Fix typo
Karl Williamson [Wed, 14 Sep 2016 21:57:34 +0000]
perlunicode: Fix typo

9 days agoappend_utf8_from_native_byte: Add parens for clarity
Karl Williamson [Tue, 13 Sep 2016 22:40:44 +0000]
append_utf8_from_native_byte: Add parens for clarity

I can never remember the precedence of dereference and ++.

9 days agoFix English in perlfunc
E. Choroba [Sat, 17 Sep 2016 20:05:15 +0000]
Fix English in perlfunc

9 days agoAdd regexp_nonull.t
Father Chrysostomos [Sat, 17 Sep 2016 18:06:55 +0000]
Add regexp_nonull.t

for testing the regular expression engine with strings that
lack a trailing null byte.

11 days agoNested single quotes in documentation example
E. Choroba [Fri, 16 Sep 2016 08:33:53 +0000]
Nested single quotes in documentation example

Documentation of the Unicode Bug contains an example that nests single
quotes in a shell. Most shells can't do that. Patch attached.

Signed-off-by: Abigail <abigail@abigail.be>

11 days agorestore comment mangled by 27da23d53ccce6
Lukas Mai [Fri, 16 Sep 2016 11:02:16 +0000]
restore comment mangled by 27da23d53ccce6

12 days agoPaying respect to Jon AVENJ Portnoy
Sawyer X [Wed, 14 Sep 2016 21:29:46 +0000]
Paying respect to Jon AVENJ Portnoy

13 days agoUpgrade Test::Simple from version 1.302052 to 1.302056
Steve Hay [Wed, 14 Sep 2016 13:08:37 +0000]
Upgrade Test::Simple from version 1.302052 to 1.302056

13 days agoIncrease $XS::APItest::VERSION to 0.84
Father Chrysostomos [Wed, 14 Sep 2016 06:05:43 +0000]
Increase $XS::APItest::VERSION to 0.84

13 days agoperldelta for #129164 / 92b69f650
Father Chrysostomos [Wed, 14 Sep 2016 06:01:58 +0000]
perldelta for #129164 / 92b69f650

13 days agoperldelta for #129090 / 6da13066b6
Father Chrysostomos [Wed, 14 Sep 2016 06:00:56 +0000]
perldelta for #129090 / 6da13066b6