This is a live mirror of the Perl 5 development currently hosted at
7 years agoamigaos4: avoid my_pclose
Andy Broad [Sat, 15 Aug 2015 22:31:49 +0000 (18:31 -0400)]
amigaos4: avoid my_pclose

7 years agoamigaos4: use my_popen from amigaos.c
Andy Broad [Sat, 22 Aug 2015 13:24:56 +0000 (09:24 -0400)]
amigaos4: use my_popen from amigaos.c

7 years agoamigaos4: avoid my_popen_list
Andy Broad [Sat, 22 Aug 2015 13:22:45 +0000 (09:22 -0400)]
amigaos4: avoid my_popen_list

7 years agoamigaos4: needs inplace edit backup file
Andy Broad [Sat, 22 Aug 2015 13:05:21 +0000 (09:05 -0400)]
amigaos4: needs inplace edit backup file

Use __amigaos4__ define instead of AMIGAOS.

7 years agoamigaos4: setenv magic should work with __amigaos4__
Andy Broad [Sat, 22 Aug 2015 13:08:30 +0000 (09:08 -0400)]
amigaos4: setenv magic should work with __amigaos4__

The code was protected with AMIGAOS which was AmigaOS 3.

7 years agoamigaos4: no env in main()
Andy Broad [Fri, 14 Aug 2015 02:09:41 +0000 (22:09 -0400)]
amigaos4: no env in main()

7 years agoamigaos4: unistd.h needs netinet/in.h
Andy Broad [Fri, 14 Aug 2015 02:08:12 +0000 (22:08 -0400)]
amigaos4: unistd.h needs netinet/in.h

7 years agoamigaos4: fork child handling
Andy Broad [Wed, 19 Aug 2015 16:39:24 +0000 (12:39 -0400)]
amigaos4: fork child handling

7 years agoamigaos4: use our own environ implementation
Andy Broad [Thu, 27 Aug 2015 13:31:34 +0000 (09:31 -0400)]
amigaos4: use our own environ implementation

7 years agoamigaos4: PERL_SYS_INIT_BODY and PERL_SYS_TERM_BODY
Andy Broad [Thu, 20 Aug 2015 00:06:06 +0000 (20:06 -0400)]

7 years agoamigaos4: use amigaos glue for exec(), system(), waitpid()
Andy Broad [Tue, 25 Aug 2015 23:56:51 +0000 (19:56 -0400)]
amigaos4: use amigaos glue for exec(), system(), waitpid()

7 years agoamigaos4: save and restore stdio handles around exec
Andy Broad [Tue, 25 Aug 2015 23:53:13 +0000 (19:53 -0400)]
amigaos4: save and restore stdio handles around exec

7 years agoamigaos4: clone differently
Andy Broad [Wed, 19 Aug 2015 16:29:54 +0000 (12:29 -0400)]
amigaos4: clone differently

7 years agoamigaos4: special post-exec trick needed
Andy Broad [Tue, 25 Aug 2015 23:55:42 +0000 (19:55 -0400)]
amigaos4: special post-exec trick needed

7 years agoamigaos4: exec returns I32
Andy Broad [Wed, 19 Aug 2015 16:35:24 +0000 (12:35 -0400)]
amigaos4: exec returns I32

Unlike UNIXish fork-exec, in amigaos forking is more like
starting a thread, the return code is more than a boolean.

7 years agoamigaos4: FD_CLOEXEC is defined but not implemented
Andy Broad [Wed, 26 Aug 2015 21:26:38 +0000 (17:26 -0400)]
amigaos4: FD_CLOEXEC is defined but not implemented

7 years agoamigaos4: WORD defined in exec/types.h
Andy Broad [Wed, 19 Aug 2015 16:31:16 +0000 (12:31 -0400)]
amigaos4: WORD defined in exec/types.h

7 years agoamigaos4: check that the errno indicates an error
Andy Broad [Wed, 19 Aug 2015 16:28:21 +0000 (12:28 -0400)]
amigaos4: check that the errno indicates an error

7 years agoamigaos4: copy the amigaos glue files to the top
Andy Broad [Sun, 16 Aug 2015 02:14:32 +0000 (22:14 -0400)]
amigaos4: copy the amigaos glue files to the top

Makes build process simpler.

7 years agoamigaos4: add amigaos the glue code
Andy Broad [Wed, 19 Aug 2015 14:01:39 +0000 (10:01 -0400)]
amigaos4: add amigaos the glue code

amigaos.c: pure amigaos code
amigaio.c: bridge code between perl and amigaos

7 years agoamigaos4: Makefile.SH workaround for shell bug
Andy Broad [Thu, 27 Aug 2015 22:32:35 +0000 (18:32 -0400)]
amigaos4: Makefile.SH workaround for shell bug

7 years agoamigaos4: flock unimplemented
Andy Broad [Thu, 20 Aug 2015 21:56:05 +0000 (17:56 -0400)]
amigaos4: flock unimplemented

The semantics of locking are very different: first you lock,
then you open.  (And for semaphore-like uses of files, you
use ... semaphores.)

7 years agoamigaos4: the Perl executable needs to be linked with -ldl
Andy Broad [Thu, 13 Aug 2015 23:19:31 +0000 (19:19 -0400)]
amigaos4: the Perl executable needs to be linked with -ldl

(but none of the other executables should be)

7 years agoamigaos4: do not build Amiga extensions in Win32
Andy Broad [Sat, 5 Sep 2015 00:56:23 +0000 (20:56 -0400)]
amigaos4: do not build Amiga extensions in Win32


7 years agoamigaos4: lib/.gitignore for the Amiga extensions
Andy Broad [Fri, 28 Aug 2015 11:54:31 +0000 (07:54 -0400)]
amigaos4: lib/.gitignore for the Amiga extensions

7 years agoamigaos4: Amiga extensions maintenance
Andy Broad [Thu, 27 Aug 2015 23:19:45 +0000 (19:19 -0400)]
amigaos4: Amiga extensions maintenance

7 years agoamigaos4: ppport.h for the AmigaOS extensions
Andy Broad [Fri, 28 Aug 2015 10:22:38 +0000 (06:22 -0400)]
amigaos4: ppport.h for the AmigaOS extensions

7 years agoamigaos4: detect the Amiga extensions
Andy Broad [Thu, 13 Aug 2015 23:12:23 +0000 (19:12 -0400)]
amigaos4: detect the Amiga extensions

7 years agoamigaos4: add Amiga::ARexx and Amiga::Exec
Andy Broad [Fri, 14 Aug 2015 01:04:20 +0000 (21:04 -0400)]
amigaos4: add Amiga::ARexx and Amiga::Exec

ext seems more natural than dist since these are low-level OS glue
modules (cf the VMS::* and Win32CORE), and these are not in CPAN.

7 years agoamigaos4: there is no /dev/tty but there is CONSOLE:
Andy Broad [Tue, 25 Aug 2015 02:06:14 +0000 (22:06 -0400)]
amigaos4: there is no /dev/tty but there is CONSOLE:

7 years agoamigaos4:, and new hints using the config
Andy Broad [Sun, 16 Aug 2015 02:27:47 +0000 (22:27 -0400)]
amigaos4:, and new hints using the config

7 years agoamigaos4: Configure: allow hinting sig_num_init
Andy Broad [Thu, 13 Aug 2015 23:11:27 +0000 (19:11 -0400)]
amigaos4: Configure: allow hinting sig_num_init

(And assumedly providing all the other related sig* values.)

7 years agoamigaos4: Configure: allow hinting d_procselfexe
Andy Broad [Thu, 13 Aug 2015 23:09:25 +0000 (19:09 -0400)]
amigaos4: Configure: allow hinting d_procselfexe

Trying to access /proc causes the system to try to mount such a thing.
(And there is no process file system in AmigaOS, anyway.)

7 years agoamigaos4: Configure: this test needs also alarm()
Andy Broad [Thu, 13 Aug 2015 23:08:31 +0000 (19:08 -0400)]
amigaos4: Configure: this test needs also alarm()

... which amigaos does not have.

7 years agoamigaos4: Configure: -fstack-protector* compiles but does not link
Andy Broad [Mon, 17 Aug 2015 11:18:04 +0000 (07:18 -0400)]
amigaos4: Configure: -fstack-protector* compiles but does not link

Now an explicit test, a more portable fix would test compile + link.
Trickier, though, because e.g. with AmigaOS 4 a particular option
is required for the failure to happen (-use-dynld).

7 years agoamigaos4: Configure; abc/pdksh bug workaround, hardwire the fieldn
Andy Broad [Thu, 13 Aug 2015 23:07:28 +0000 (19:07 -0400)]
amigaos4: Configure; abc/pdksh bug workaround, hardwire the fieldn

7 years agoamigaos4: Configure; the abc/pdksh shell evaluates \n in arguments
Andy Broad [Thu, 13 Aug 2015 23:03:39 +0000 (19:03 -0400)]
amigaos4: Configure; the abc/pdksh shell evaluates \n in arguments

For example, echo "a\bn" becomes


as opposed to


causing broken shell commands with ``, but these \n are not really
needed, so we can remove them.

7 years agoamigaos4: Configure: the multiview is a good amigaos indicator
Andy Broad [Thu, 13 Aug 2015 23:02:39 +0000 (19:02 -0400)]
amigaos4: Configure: the multiview is a good amigaos indicator

7 years agoamigaos4: Configure: tr extra sanity check
Andy Broad [Sat, 15 Aug 2015 23:40:18 +0000 (19:40 -0400)]
amigaos4: Configure: tr extra sanity check

7 years agoamigaos4: Configure: /dev/null works, but test -c doesn't
Andy Broad [Thu, 13 Aug 2015 23:00:55 +0000 (19:00 -0400)]
amigaos4: Configure: /dev/null works, but test -c doesn't

7 years agot/op/utf8decode.t: Update tests from new source material
Karl Williamson [Fri, 4 Sep 2015 16:57:44 +0000 (10:57 -0600)]
t/op/utf8decode.t: Update tests from new source material

The website that these tests were based on has been updated, so the
tests here are updated to correspond.  The tests supplied are now for
every non-character.  He suggests that decoders not accept these, but
Perl currently does by default.

7 years agoFix potential flaw in 2 EBCDIC macros.
Karl Williamson [Wed, 26 Aug 2015 21:38:39 +0000 (15:38 -0600)]
Fix potential flaw in 2 EBCDIC macros.

It occurred to me in code reading that it was possible for these macros
to not give the correct result if passed a signed argument.

An earlier version of this commit was buggy.  Thanks to Yaroslav Kuzmin
for spotting that.

7 years agoutf8.h, utfebcdic.h: Add some assertions
Karl Williamson [Wed, 26 Aug 2015 21:35:05 +0000 (15:35 -0600)]
utf8.h, utfebcdic.h: Add some assertions

These will detect a array bounds error that occurs on EBCDIC machines,
and by including the assert on non-EBCDIC, we verify that the code
wouldn't fail when built on EBCDIC.

7 years agoutf8.h: Add comment; white space changes
Karl Williamson [Sat, 15 Aug 2015 18:53:17 +0000 (12:53 -0600)]
utf8.h: Add comment; white space changes

7 years agoSkip some code in a common case
Karl Williamson [Thu, 3 Sep 2015 00:24:38 +0000 (18:24 -0600)]
Skip some code in a common case

It's common to call this function to convert a code point to UTF-8 with
the flags parameter being 0, which means no checking of problematic code
points (above-Unicode etc) is done.  Add a check for flags being
non-zero before doing any such checking.

7 years agoporting/maintainers.t: Skip on EBCDIC
Karl Williamson [Fri, 4 Sep 2015 15:10:58 +0000 (09:10 -0600)]
porting/maintainers.t: Skip on EBCDIC

7 years agoutf8.h: Change definition of UTF8_IS_INVARIANT
Karl Williamson [Mon, 3 Aug 2015 03:21:25 +0000 (21:21 -0600)]
utf8.h: Change definition of UTF8_IS_INVARIANT

The new definition is simpler to read.

7 years agoChange EBCDIC macro definition
Karl Williamson [Sun, 2 Aug 2015 04:15:18 +0000 (22:15 -0600)]
Change EBCDIC macro definition

This changes the definition of isUTF8_POSSIBLY_PROBLEMATIC() on EBCDIC
platforms to use PL_charclass[] instead of PL_e2a[].  The new array is
more likely to be in the memory cache.

7 years agoChange EBCDIC macro definition
Karl Williamson [Sun, 2 Aug 2015 15:02:51 +0000 (09:02 -0600)]
Change EBCDIC macro definition

Prior to this commit UVCHR_SKIP() was defined the same in both ASCII and
EBCDIC, but they expanded to different things.  Now, they are defined
separately  -- to what they expand to, and the EBCDIC version is changed
when all expanded out to use PL_charclass[] instead of PL_e2a[].  The
new array is more likely to be in the memory cache.

7 years agoChange EBCDIC macro definition
Karl Williamson [Sat, 16 May 2015 16:43:40 +0000 (10:43 -0600)]
Change EBCDIC macro definition

Prior to this commit UVCHR_IS_INVARIANT() was defined the same in both
ASCII and EBCDIC, but they expanded to different things.  Now, they are
defined separately to what they expand to, and the EBCDIC version is
changed when all expanded out to use PL_charclass[] instead of PL_e2a[].
The new array is more likely to be in the memory cache.

7 years agoutf8.h: Change defn of UNI_IS_INVARIANT
Karl Williamson [Sat, 16 May 2015 16:31:19 +0000 (10:31 -0600)]
utf8.h: Change defn of UNI_IS_INVARIANT

This changes it to be isASCII(), instead of repeating the "special"
number 0x80.

7 years agoChange some UTF-EBCDIC macro handling defns
Karl Williamson [Fri, 4 Sep 2015 15:57:11 +0000 (09:57 -0600)]
Change some UTF-EBCDIC macro handling defns

This commit changes the definitions of some macros for UTF-8 handling on
EBCDIC platforms.  The previous definitions transformed the bytes into
I8 and did tests on the transformed values.  The change is to use
previously unused bits in l1_char_class_tab.h so the transform isn't
needed, and generally only one branch is.  These macros are called from
the inner loops of, for example, regex backtracking.

7 years agol1_char_class_tab.h: Add comments
Karl Williamson [Fri, 4 Sep 2015 15:55:33 +0000 (09:55 -0600)]
l1_char_class_tab.h: Add comments

This adds the I8 value (used for generating UTF-EBCDIC) for bytes where
it differs from the regular value on the EBCDIC portions of this header.
This value is useful in debugging.

7 years agol1_char_class_tab.h: Add bits for UTF-EBCDIC
Karl Williamson [Fri, 15 May 2015 20:23:12 +0000 (14:23 -0600)]
l1_char_class_tab.h: Add bits for UTF-EBCDIC

This is for the next commit.

7 years agoregen/ Refactor a print
Karl Williamson [Fri, 15 May 2015 20:21:25 +0000 (14:21 -0600)]
regen/ Refactor a print

This is in preparation for the next commits.

7 years agoRemove no longer used #define
Karl Williamson [Fri, 15 May 2015 20:49:21 +0000 (14:49 -0600)]
Remove no longer used #define

The previous commit removed all uses of this non-public #define.

7 years agoChange filter of problematic code points for EBCDIC
Karl Williamson [Fri, 15 May 2015 20:48:23 +0000 (14:48 -0600)]
Change filter of problematic code points for EBCDIC

There are three classes of problematic Unicode code points that may
require special handling.  Which code points are problematic is fairly
complicated, requiring lots of branches.  However, the smallest of them
is 0xD800, which means that most code points in modern use are below
them all, and a single test can be used to exclude just about everything
likely to be encountered.  The problem was that the way this test was
done on EBCDIC caused way too many things to pass and have to be checked
with the more complicated branches.  The digits 0-9 and some capital
letters were not filtered out, for example.  This commit changes the
EBCDIC test to transform into I8 (an array lookup), and this fixes it to
exclude things that shouldn't have passed before.

7 years agoAdd macro for converting Latin1 to UTF-8, and use it
Karl Williamson [Fri, 15 May 2015 16:59:54 +0000 (10:59 -0600)]
Add macro for converting Latin1 to UTF-8, and use it

This adds a macro that converts a code point in the ASCII 128-255 range
to UTF-8, and changes existing code to use it when the range is known to
be restricted to this one, rather than the previous macro which accepted
a wider range (any code point representable by 2 bytes), but had an
extra test on EBCDIC platforms, hence was larger than necessary and
slightly slower.

7 years agoutf8.h: Add assertions to macro
Karl Williamson [Fri, 15 May 2015 16:55:30 +0000 (10:55 -0600)]
utf8.h: Add assertions to macro

7 years agoChange to use UVCHR_SKIP over UNI_SKIP
Karl Williamson [Wed, 13 May 2015 23:38:08 +0000 (17:38 -0600)]
Change to use UVCHR_SKIP over UNI_SKIP

UNI_SKIP is somewhat ambiguous.  Perl has long used 'uvchr' as part of a
name to mean the unsigned values using the native character set plus
Unicode values for those above 255.

This also changes two calls (one in dquote_static.c and one in
dquote_inline.h) to use UVCHR_SKIP; they should not have been OFFUNI, as
they are dealing with native values.

7 years agoQuell compilation warning in regcomp.c
Aaron Crane [Fri, 4 Sep 2015 05:47:22 +0000 (07:47 +0200)]
Quell compilation warning in regcomp.c

This warning affected platforms where U32 is a C long rather than an int. It
was introduced in e4105e89df44935f2a4363ac725ff11e07de35d8.

7 years agoperlapi: Nits
Karl Williamson [Sat, 9 May 2015 03:35:12 +0000 (21:35 -0600)]
perlapi: Nits

7 years agoperlapi: Change slightly weird construct
Karl Williamson [Sat, 9 May 2015 03:25:33 +0000 (21:25 -0600)]
perlapi: Change slightly weird construct

As a native English speaker, I find it clearer to say that a bit vector
has a particular bit set, rather than to say that it includes that bit.

7 years agoperlapi use 'UTF-8' instead of variants of that
Karl Williamson [Sat, 9 May 2015 03:21:17 +0000 (21:21 -0600)]
perlapi use 'UTF-8' instead of variants of that

7 years agoperlapi: Change some 'eg' to 'e.g.'
Karl Williamson [Sat, 9 May 2015 03:19:13 +0000 (21:19 -0600)]
perlapi: Change some 'eg' to 'e.g.'

To make more standard

7 years agoperlapi: Add some S<>
Karl Williamson [Fri, 4 Sep 2015 04:30:56 +0000 (22:30 -0600)]
perlapi: Add some S<>

so that these constructs appear on a single output line for reader

7 years agoVarious pods: Add C<> around many typed-as-is things
Karl Williamson [Thu, 7 May 2015 16:58:54 +0000 (10:58 -0600)]
Various pods: Add C<> around many typed-as-is things

Removes 'the' in front of parameter names in some instances.

7 years agoFix some pedantic pod erros in Thread::Queue
Karl Williamson [Fri, 4 Sep 2015 03:57:43 +0000 (21:57 -0600)]
Fix some pedantic pod erros in Thread::Queue

7 years agoStart fixing some pod pedantic errors
Karl Williamson [Fri, 4 Sep 2015 03:06:16 +0000 (21:06 -0600)]
Start fixing some pod pedantic errors

This fixes a bunch of them, but there are many more

7 years agoperlapi, perlintern: Add L<> links to pod
Karl Williamson [Fri, 24 Apr 2015 00:33:15 +0000 (18:33 -0600)]
perlapi, perlintern: Add L<> links to pod

7 years agoutf8.h: Add macro synonym
Karl Williamson [Fri, 4 Sep 2015 00:30:46 +0000 (18:30 -0600)]
utf8.h: Add macro synonym

The new name is a more accurate description of what it does.

I meant to apply this commit before
d0664088be143e921b2e717524bafddf6a406029, but somehow it didn't happen.
On EBCDIC platforms, that commit will fail to compile without this one,
so could be a problem if ever bisecting on one.

7 years agoimport Time-HiRes v1.9727_02 from CPAN
Ricardo Signes [Fri, 4 Sep 2015 01:25:32 +0000 (21:25 -0400)]
import Time-HiRes v1.9727_02 from CPAN

Normally I would wait for a stable release, which would require
waiting for CPAN Testers results, but CPAN Testers has been in
a bad way for a few weeks now, so I am taking a bit of a detour.

7 years agoXS-APItest/t/svpv_magic.t: Generalize for EBCDIC
Karl Williamson [Mon, 31 Aug 2015 23:36:58 +0000 (17:36 -0600)]
XS-APItest/t/svpv_magic.t: Generalize for EBCDIC

7 years agoXS-APItest/t/svpeek.t: Skip ASCII-centric test on EBCDIC
Karl Williamson [Mon, 31 Aug 2015 23:36:16 +0000 (17:36 -0600)]
XS-APItest/t/svpeek.t: Skip ASCII-centric test on EBCDIC

7 years agoext/XS-APItest/t/svcat.t: Generalize to run on EBCDIC
Karl Williamson [Wed, 26 Aug 2015 04:55:31 +0000 (22:55 -0600)]
ext/XS-APItest/t/svcat.t: Generalize to run on EBCDIC

7 years agot/uni/gv.t: Generalize for EBCDIC
Karl Williamson [Fri, 28 Aug 2015 00:43:52 +0000 (18:43 -0600)]
t/uni/gv.t: Generalize for EBCDIC

Commit 37b8cdd1 added ASCII-centric tests that this now generalizes

7 years agopp.c: White-space only
Karl Williamson [Tue, 1 Sep 2015 04:32:39 +0000 (22:32 -0600)]
pp.c: White-space only

Make it easier to grok what comprises the 'if'

7 years agosv.c: White-space only
Karl Williamson [Fri, 4 Sep 2015 00:42:09 +0000 (18:42 -0600)]
sv.c: White-space only

The previous commit added a surrounding block.  Reindent to correspond

7 years agoMake cmp() work on EBCDIC with both UTF-8 operands
Karl Williamson [Fri, 4 Sep 2015 00:37:35 +0000 (18:37 -0600)]
Make cmp() work on EBCDIC with both UTF-8 operands

Prior to this commit, comparing two UTF-EBCDIC encoded strings did not
work properly, due to the complexities of UTF-EBCDIC in the code point
0-255 range.  This commit adds specialized code to handle this.  The
code could be enabled and work properly on ASCII platforms, but isn't
because a simple memcmp() suffices for these.  Since sort() uses cmp(),
this also fixes UTF-EBCDIC sort.

7 years agouni/lex_utf8.t: Generalize for EBCDIC platforms
Karl Williamson [Mon, 18 May 2015 16:45:10 +0000 (10:45 -0600)]
uni/lex_utf8.t: Generalize for EBCDIC platforms

7 years agoio/utf8.t: Generalize test for ebcdic, better skip msg
Karl Williamson [Fri, 4 Sep 2015 00:07:32 +0000 (18:07 -0600)]
io/utf8.t: Generalize test for ebcdic, better skip msg

7 years agoio/utf8.t: Fix typo in comment
Karl Williamson [Fri, 4 Sep 2015 00:06:03 +0000 (18:06 -0600)]
io/utf8.t: Fix typo in comment

7 years agoregcomp.[ch]: Comment additions, fixes
Karl Williamson [Tue, 25 Aug 2015 02:46:02 +0000 (20:46 -0600)]
regcomp.[ch]: Comment additions, fixes

7 years agoregcomp.h: Reorder some flag definitions.
Karl Williamson [Thu, 3 Sep 2015 17:34:54 +0000 (11:34 -0600)]
regcomp.h: Reorder some flag definitions.

This places the flag bits of like-type flags adjacent for convenience in
reading the code.  It also improves the commentary about their purposes.

7 years agoregcomp.h: SSC no longer has to be strict ANYOF
Karl Williamson [Thu, 3 Sep 2015 16:27:39 +0000 (10:27 -0600)]
regcomp.h: SSC no longer has to be strict ANYOF

Since commit a0bd1a30d379f2625c307657d63fc50173d7a56d, a synthetic start
class node can be just an ANYOF-type node.  I don't think this causes a
bug, just misses a potential optimisation.

7 years agore/regex_sets.t: Suppress $^W expected warnings
Karl Williamson [Tue, 25 Aug 2015 03:06:55 +0000 (21:06 -0600)]
re/regex_sets.t: Suppress $^W expected warnings

When run by hand, this .t outputs expected warnings if the user has
specified -w on the command line, or set $^W.  Just turn that off.

7 years agoaassign.t: better test for DEBUGGING build
David Mitchell [Thu, 3 Sep 2015 18:07:27 +0000 (19:07 +0100)]
aassign.t: better test for DEBUGGING build

turns out $::Config{config_args} isn't portable, while
$::Config{ccflags} is (hopefully).

7 years agoAdd minitest-notty to run minitest as batch.
Jarkko Hietaniemi [Thu, 3 Sep 2015 01:30:53 +0000 (21:30 -0400)]
Add minitest-notty to run minitest as batch.

7 years agoBump Locale-Codes from 3.35 to 3.36
Sullivan Beck [Tue, 1 Sep 2015 14:30:15 +0000 (10:30 -0400)]
Bump Locale-Codes from 3.35 to 3.36

7 years ago[perl #125924] allow op/infnan.t to pass on Win32 gcc
Tony Cook [Tue, 1 Sep 2015 00:41:40 +0000 (10:41 +1000)]
[perl #125924] allow op/infnan.t to pass on Win32 gcc

7 years ago[perl #120903] fix a typo
Tony Cook [Thu, 3 Sep 2015 00:41:40 +0000 (10:41 +1000)]
[perl #120903] fix a typo

or should that be "fix an typo"

7 years agoutfebcdic.h: Clarify comment
Karl Williamson [Thu, 3 Sep 2015 00:10:11 +0000 (18:10 -0600)]
utfebcdic.h: Clarify comment

7 years agoutf8::unicode_to_native() should return UV, not an IV
Karl Williamson [Tue, 1 Sep 2015 04:30:11 +0000 (22:30 -0600)]
utf8::unicode_to_native() should return UV, not an IV

Same for the native_to_unicode()

While it is true that UTF-EBCDIC is limited to a a code point of a
maximum of 2**31 - 1, in order for the correct code to execute to catch
an attempt at a larger one, it needs to be a UV.

7 years agopp_aassign(): fix ($x,$y) = (undef, $x)
David Mitchell [Wed, 2 Sep 2015 11:28:12 +0000 (12:28 +0100)]
pp_aassign(): fix ($x,$y) = (undef, $x)

With 808ce5578203, I tweaked the OPpASSIGN_COMMON flagging to mark as safe
when the LHS or RHS only contains only one var. This turned out to be
flawed for the RHS logic, as position as well as oneness is important:

   (undef, $x) = ...;         # only 1 scalar on LHS: always safe
   ($x, $y)    = (undef, $x); # 2 scalars on RHS: unsafe

So this commit makes undef on the RHS count towards the scalar var count.

7 years agopp_aassign: scan on DEBUGGING builds
David Mitchell [Wed, 2 Sep 2015 10:00:39 +0000 (11:00 +0100)]
pp_aassign: scan on DEBUGGING builds

At compile-time we often decide that a list assign op is safe from
possible commonality (($a,$b) = ($b,$a)), and so skip the run-time
mark-and-sweep commonality finder.

This commit makes it always mark-and-sweep at runtime, and to panic if
if finds commonality when at compile-time we had determined that there
couldn't possibly be any.

This commit fails the t/perf/benchmark.t test as it contains something
which triggers the panic. This will be fixed in the next commit.

7 years ago[perl #120903] perlcall cleanup
Tony Cook [Wed, 2 Sep 2015 06:29:34 +0000 (16:29 +1000)]
[perl #120903] perlcall cleanup

- linkify references to sections

- use EXTEND(SP, n) and PUSHs() instead of XPUSHs() where applicable
  and update prose to match

- add POPu, POPul and POPpbytex to the "complete list of POP macros"
  and clarify the documentation for some of the existing entries, and
  a note about side-effects

- add API documentation for POPu and POPul

- use ERRSV more efficiently

- approaches to thread-safety storage of SVs.

- minor updates

7 years agoReformat code in .pm files in bignum distribution.
Peter John Acklam [Fri, 28 Aug 2015 14:37:32 +0000 (16:37 +0200)]
Reformat code in .pm files in bignum distribution.

* Reformat code to make it more readable. The code should adhere to the
  guidelines in the 'perlstyle' manpage. All changes are in the amount
  of whitespace, e.g., all TAB characters are replaced by spaces. There
  are no changes in the way the code runs.

* Increment version number to 0.40.

7 years agoReplace '-w' ref in SEE ALSO with 'use warnings'
John SJ Anderson [Fri, 28 Aug 2015 01:17:06 +0000 (18:17 -0700)]
Replace '-w' ref in SEE ALSO with 'use warnings'

7 years agoAdd John SJ Anderson to AUTHORS
Karl Williamson [Tue, 1 Sep 2015 22:07:22 +0000 (16:07 -0600)]
Add John SJ Anderson to AUTHORS

7 years agoPATCH: [perl #125947] Doc error in perlunicode
Karl Williamson [Tue, 1 Sep 2015 13:48:47 +0000 (07:48 -0600)]
PATCH: [perl #125947] Doc error in perlunicode