This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Father Chrysostomos [Sun, 1 Feb 2015 06:04:04 +0000 (22:04 -0800)]
[Merge] [perl #123466] New experimental bitops
Under ‘use experimental "bitwise"’, & ! ^ ~ are now strictly numeric
ops and &. |. ^. ~. are new ops that treat their arguments as strings.
Father Chrysostomos [Sun, 1 Feb 2015 02:26:53 +0000 (18:26 -0800)]
Increase $B::Deparse::VERSION to 1.33
Father Chrysostomos [Fri, 9 Jan 2015 06:13:02 +0000 (22:13 -0800)]
overload.pm: Document fifth arg for &|^~
Father Chrysostomos [Fri, 9 Jan 2015 16:45:28 +0000 (08:45 -0800)]
5th arg to indicate numeric bitwise overloading
Father Chrysostomos [Fri, 9 Jan 2015 06:20:12 +0000 (22:20 -0800)]
overload.pm: Typo
Father Chrysostomos [Fri, 9 Jan 2015 06:19:38 +0000 (22:19 -0800)]
pp_hot.c: Note that amagic_call calls pp_pushmark
Father Chrysostomos [Mon, 5 Jan 2015 01:48:26 +0000 (17:48 -0800)]
Mention experimental bitops in perlexperiment
Father Chrysostomos [Mon, 5 Jan 2015 01:45:19 +0000 (17:45 -0800)]
feature.pm: Document the bitwise feature
Father Chrysostomos [Mon, 5 Jan 2015 01:36:53 +0000 (17:36 -0800)]
Document string- and number-specific bitops in perlop
Father Chrysostomos [Mon, 5 Jan 2015 01:13:12 +0000 (17:13 -0800)]
overload.t: Test experimental bitops
Father Chrysostomos [Mon, 5 Jan 2015 01:12:11 +0000 (17:12 -0800)]
gv.c: Make &.= overloading work
Father Chrysostomos [Mon, 5 Jan 2015 01:10:57 +0000 (17:10 -0800)]
overload.pm: Document &. etc.
Father Chrysostomos [Mon, 5 Jan 2015 00:58:14 +0000 (16:58 -0800)]
Increase $overload::VERSION to 1.25
Father Chrysostomos [Mon, 5 Jan 2015 00:57:41 +0000 (16:57 -0800)]
overload.pm: Add string-specific bitops
Father Chrysostomos [Sun, 4 Jan 2015 22:04:47 +0000 (14:04 -0800)]
Test new string- and num-specific bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:53:31 +0000 (11:53 -0800)]
Test predecence warning on new bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:49:31 +0000 (11:49 -0800)]
Test experimental bitop warning
Father Chrysostomos [Sun, 4 Jan 2015 19:44:03 +0000 (11:44 -0800)]
Warning about experimental bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:21:35 +0000 (11:21 -0800)]
Deparse new bitops
Father Chrysostomos [Sun, 4 Jan 2015 18:48:13 +0000 (10:48 -0800)]
Parse and compile string- and num-specific bitops
Yay, the semicolons are back.
Father Chrysostomos [Sun, 4 Jan 2015 06:34:28 +0000 (22:34 -0800)]
Add OP_IS_INFIX_BIT
A convenience macro that a forthcoming commit will use.
Father Chrysostomos [Sun, 4 Jan 2015 19:02:21 +0000 (11:02 -0800)]
Deparse.t: Account for new warnings category
Hmm. This is not particularly maintainable.
Father Chrysostomos [Sun, 4 Jan 2015 06:25:11 +0000 (22:25 -0800)]
Add experimental::bitwise warnings category
Father Chrysostomos [Sun, 4 Jan 2015 18:51:54 +0000 (10:51 -0800)]
Increase $feature::VERSION to 1.40
Father Chrysostomos [Sun, 4 Jan 2015 06:20:17 +0000 (22:20 -0800)]
Add bitwise feature feature
Father Chrysostomos [Sun, 4 Jan 2015 02:50:35 +0000 (18:50 -0800)]
Add string- and number-specific bitop types
and also implement the pp functions, though nothing compiles to
these ops yet.
Father Chrysostomos [Sun, 4 Jan 2015 01:55:53 +0000 (17:55 -0800)]
Add overload types for string-specifc bitops
Father Chrysostomos [Sat, 31 Jan 2015 22:06:15 +0000 (14:06 -0800)]
Remove context param from sv_get_backrefs
v5.21.7-83-geaab564 added sv_get_backrefs. v5.21.7-90-g8fbcb65
removed the one use of aTHX.
Steve Hay [Sun, 1 Feb 2015 03:46:21 +0000 (03:46 +0000)]
Add epigraph for 5.20.2-RC1
Craig A. Berry [Sun, 1 Feb 2015 00:15:48 +0000 (18:15 -0600)]
Initialize RMS structs at clone time in dl_vms.xs.
When we clone the interpreter-specific data, we create new copies
of these structures under my_cxtp. However, the copy contains
pointers that reference portions of the old structure, not the
copy. Surprisingly, this usually works, but it does mean using
another thread's data and has recently turned into a test failure
via an access violation in dist/Thread-Queue/t/02_refs.t.
So let's copy a few lines from dl_private_init to the point at
which we clone, thus making sure those structures are initialized
once per thread.
It seems I really should have done this way back in
8c472fc1d477e.
Steve Hay [Sun, 1 Feb 2015 00:04:28 +0000 (00:04 +0000)]
RMG - Update local_patches[] code snippet with current code
Steve Hay [Sat, 31 Jan 2015 23:56:58 +0000 (23:56 +0000)]
Perl 5.20.2-RC1 today
Well, it's almost "tomorrow" where I am, but in my mind it's still "today".
Steve Hay [Sat, 31 Jan 2015 23:45:30 +0000 (23:45 +0000)]
RMG - Module::CoreList's CAVEATS is no longer updated, since
64eeb2c06c
Steve Hay [Sat, 31 Jan 2015 22:48:53 +0000 (22:48 +0000)]
Update Module-CoreList for 5.20.2
These are changes for the impending 5.20.2-RC1 release, for cherry-picking
back into maint-5.20.
Chad Granum [Sat, 31 Jan 2015 20:19:22 +0000 (12:19 -0800)]
Test-Simple Version Bump, 1.301001_098 (RC18)
Father Chrysostomos [Sat, 31 Jan 2015 17:34:34 +0000 (09:34 -0800)]
Sort perldiag
Steve Hay [Sat, 31 Jan 2015 21:52:43 +0000 (21:52 +0000)]
Bump Encode::Unicode $VERSION
To keep Porting\cmpVERSION.pl --tag v5.20.1 happy.
Steve Hay [Sat, 31 Jan 2015 21:30:41 +0000 (21:30 +0000)]
Bump $Encode::encoding::VERSION
Already noted as CUSTOMIZED by
3e669301f0 (which omitted the $VERSION bump).
Steve Hay [Sat, 31 Jan 2015 20:55:21 +0000 (20:55 +0000)]
Bump VMS::Stdio $VERSION
To keep Porting\cmpVERSION.pl --tag v5.18.4 happy.
Steve Hay [Sat, 31 Jan 2015 20:50:59 +0000 (20:50 +0000)]
Bump Pod::PlainText $VERSION
To keep Porting\cmpVERSION.pl --tag v5.18.4 happy.
Steve Hay [Sat, 31 Jan 2015 20:38:40 +0000 (20:38 +0000)]
Bump some CPAN $VERSIONs
To keep Porting\cmpVERSION.pl --tag v5.18.4 happy.
Steve Hay [Sat, 31 Jan 2015 19:55:16 +0000 (19:55 +0000)]
Porting/cmpVERSION.pl - Show $VERSION of failing modules
These are the $VERSIONs of modules with differing contents between two
versions of Perl. This $pm_version should have been bumped to differ from
$orig_pm_version.
Steve Hay [Sat, 31 Jan 2015 17:03:04 +0000 (17:03 +0000)]
RMG - Remove a trailing space
Steve Hay [Sat, 31 Jan 2015 15:19:40 +0000 (15:19 +0000)]
RMG - Put all version-bump related information about INSTALL in one place
Also correct the phrase referred to by the RMG to match what INSTALL
actualy says, and change the wording of one section of INSTALL to match the
other.
Steve Hay [Sat, 31 Jan 2015 14:57:09 +0000 (14:57 +0000)]
RMG - Consistent four-space indent; wrap all lines to 79 characters
Steve Hay [Sat, 31 Jan 2015 13:48:10 +0000 (13:48 +0000)]
RMG - Module/CoreList.pod is no longer updated, since
64eeb2c06c
Steve Hay [Sat, 31 Jan 2015 13:43:32 +0000 (13:43 +0000)]
RMG - Show correct Porting/corelist-perldelta.pl command for MAINT releases
Craig A. Berry [Fri, 30 Jan 2015 04:06:44 +0000 (22:06 -0600)]
Externalize decc$ungetc prototype.
Otherwise the VMS C++ compiler mangles it and we get a link
failure.
And while we're there we can eliminate some PerlIO workarounds
for problems in long-defunct versions of the CRTL.
Craig A. Berry [Fri, 30 Jan 2015 03:50:53 +0000 (21:50 -0600)]
TODO Peek.t test on VMS.
DumpProg() works just fine but when piped through the broken pipe
implementation produces spurious newlines. So mark it TODO on VMS.
Lajos Veres [Fri, 30 Jan 2015 00:32:16 +0000 (19:32 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
This commit applies those patches to files under dist/ *other than* those
pertaining to Tie-File.
Update $VERSION in Dumper.pm and Storable.pm after re-applying patches from RT
James E Keenan [Fri, 30 Jan 2015 00:21:52 +0000 (19:21 -0500)]
Revert "Corrections to spelling and grammatical errors."
This reverts commit
5bf4b3bf13bc4055684a48448b05920845ef7764.
On p5p-list, Steve Hay wrote on 2015-01-29:
"... these and other changes to Tie-File could break backwards compatibility.
The keys of %opt are passed in from user code, so we can't change the expected
key from "autodefer_threshhold" to "autodefer_threshold" without also asking
users to change their code, which is probably more hassle than it's worth."
Parts of the reverted commit will be re-committed from a new patch.
Steve Hay [Thu, 29 Jan 2015 14:23:37 +0000 (14:23 +0000)]
RMG - Note that Porting/cmVERSION.pl should be used to check more releases
t/porting/cmp_version.t only runs Porting/cmVERSION.pl for the previous
release of the current branch, but we need to check that our versions
differ from modules in releases from other branches too. For example,
when releasing 5.20.2 we need to check against 5.18.4 too.
Steve Hay [Thu, 29 Jan 2015 14:07:56 +0000 (14:07 +0000)]
Steve Hay [Thu, 29 Jan 2015 14:02:36 +0000 (14:02 +0000)]
Upgrade Win32API-File from version 0.1201 to 0.1202
Steve Hay [Thu, 29 Jan 2015 13:29:16 +0000 (13:29 +0000)]
t/op/taint.t - Fix typo
Steve Hay [Thu, 29 Jan 2015 13:29:03 +0000 (13:29 +0000)]
ExtUtils::Miniperl - Restore a missing line of POD
This seems to have been accidentally deleted by commit
a06cd52b4e.
Steve Hay [Thu, 29 Jan 2015 13:28:32 +0000 (13:28 +0000)]
Porting/bisect-runner.pl - Fix grammar
Lajos Veres [Thu, 29 Jan 2015 02:57:13 +0000 (21:57 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 02:52:06 +0000 (21:52 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 02:44:46 +0000 (21:44 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 02:35:45 +0000 (21:35 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 02:27:08 +0000 (21:27 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 01:35:53 +0000 (20:35 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 01:25:32 +0000 (20:25 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 01:24:01 +0000 (20:24 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Lajos Veres [Thu, 29 Jan 2015 01:04:07 +0000 (20:04 -0500)]
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Add Lajos Veres to Perl AUTHORS.
James E Keenan [Thu, 29 Jan 2015 00:23:04 +0000 (19:23 -0500)]
Tony Cook [Wed, 28 Jan 2015 23:41:45 +0000 (10:41 +1100)]
Tony Cook [Wed, 28 Jan 2015 23:29:05 +0000 (10:29 +1100)]
bump $Opcode::VERSION to 1.32
Daniel Dragan [Tue, 20 Jan 2015 05:16:57 +0000 (00:16 -0500)]
comment out dead code in Opcode::
opcode_debug has never had an API to turn it on/set it to non-0 since
Opcode::'s initial commit
6badd1a5d1 in 5.003001. Making opcode_debug a
constant allows the CC to constant fold away the code, the warn string
literals, and makes the my_cxt_t struct slightly smaller. Dont remove the
code entirely since someone might find it useful one day.
Matthew Horsfall [Wed, 28 Jan 2015 14:24:37 +0000 (09:24 -0500)]
perlunicook: Note that autodie >= 2.26 should be okay with "use open".
Matthew Horsfall [Wed, 28 Jan 2015 14:14:56 +0000 (09:14 -0500)]
Fix warning message regarding "use autodie" and "use open".
Matthew Horsfall [Wed, 28 Jan 2015 13:59:11 +0000 (08:59 -0500)]
Reword note about m being optional in m?PATTERN? in perlop for clarity
Ricardo Signes [Wed, 28 Jan 2015 13:08:29 +0000 (08:08 -0500)]
perlop: m?? requires the m in v5.22, not v5.24
Jarkko Hietaniemi [Wed, 28 Jan 2015 12:23:43 +0000 (07:23 -0500)]
infnan: even more comment tweaks
Jarkko Hietaniemi [Wed, 28 Jan 2015 11:43:51 +0000 (06:43 -0500)]
infnan: comment tweaks
Jarkko Hietaniemi [Tue, 27 Jan 2015 14:40:03 +0000 (09:40 -0500)]
infnan: restore 'Infinity' since lln.t expects it.
Jarkko Hietaniemi [Tue, 27 Jan 2015 14:11:39 +0000 (09:11 -0500)]
infnan: if trailing stuff, fail in looks_like_number()
Jarkko Hietaniemi [Tue, 27 Jan 2015 13:32:39 +0000 (08:32 -0500)]
infnan: comment tweaks
Jarkko Hietaniemi [Tue, 27 Jan 2015 03:20:04 +0000 (22:20 -0500)]
infnan: grok flag expectation fixes
Jarkko Hietaniemi [Tue, 27 Jan 2015 03:13:56 +0000 (22:13 -0500)]
infnan: grok_infnan now needs context
Jarkko Hietaniemi [Tue, 27 Jan 2015 01:52:41 +0000 (20:52 -0500)]
infnan: actually use grok_hex() for nan payload
And grok_bin() while we are at it.
The payload is still unused, but we now at least parse the syntax.
Jarkko Hietaniemi [Tue, 27 Jan 2015 00:36:25 +0000 (19:36 -0500)]
infnan: move grok_infnan before the grok_number
Jarkko Hietaniemi [Mon, 26 Jan 2015 02:08:13 +0000 (21:08 -0500)]
infnan: mention the unusual semantics of "numeric".
Jarkko Hietaniemi [Mon, 26 Jan 2015 02:01:07 +0000 (21:01 -0500)]
infnan: allow (silently) trailing whitespace.
(Leading whitespace is handled in grok_number_flags.)
Jarkko Hietaniemi [Sun, 25 Jan 2015 23:36:18 +0000 (18:36 -0500)]
infnan: numify warning testing.
Jarkko Hietaniemi [Sun, 25 Jan 2015 17:27:44 +0000 (12:27 -0500)]
infnan: Simplify inf parsing.
Accept anything beginning with /^inf/i,
but warn if there's trailing stuff.
Jarkko Hietaniemi [Sun, 25 Jan 2015 17:19:03 +0000 (12:19 -0500)]
infnan: More elaborate nan parsing for C99-y nan(...)
Jarkko Hietaniemi [Sun, 25 Jan 2015 14:42:19 +0000 (09:42 -0500)]
infnan: Allow 1.#INF00 and 1.#IND00
Windowese for inf and nan. The exact number of trailing zeros seems
to vary, maybe controlled by printf precision? Or RTL dependent?
Steve Hay [Wed, 28 Jan 2015 08:46:28 +0000 (08:46 +0000)]
Correction to
0563a5d0db
Functions marked "b" do not have to be in mathoms.c after all. That was
partly based on the belief (from
e4524c4c2a) that "b" functions have their
proto.h entries skipped, but that is not the case. It is "m" functions
(macros) that have their proto.h entries skipped. The confusion may have
arisen because all but four current "b" functions have "m" as well anyway.
However, even functions marked "b" and "m" do not absolutely have to be in
mathoms.c. At the time of writing they all are, which is convenient for
having the symbols marked EXTERN_C, which is required to unmangle the
exported names in a C++ build (see
d447858807). Their presence in mathoms.c
will also have them skipped from -DNO_MATHOMS builds (as of
075eb5c9b6).
But it is possible for "bm" functions to exist elsewhere as long as they
are explicitly marked EXTERN_C. In that case they won't be automatically
skipped for -DNO_MATHOMS builds either, which may or may not require
special attention too.
Thanks to Craig A. Berry for pointing out that
0563a5d0db wasn't quite
correct.
Ricardo Signes [Wed, 28 Jan 2015 02:25:23 +0000 (21:25 -0500)]
m?? without the m is not deprecated, but gone!
Karl Williamson [Tue, 27 Jan 2015 16:35:30 +0000 (09:35 -0700)]
perldelta: Fix typo
Chris 'BinGOs' Williams [Tue, 27 Jan 2015 13:12:42 +0000 (13:12 +0000)]
Update HTTP-Tiny to CPAN version 0.054
[DELTA]
0.054 2015-01-27 07:18:19-05:00 America/New_York
[ADDED]
- Added more fallback paths to find CA files (thanks golang)
[DOCUMENTED]
- Fixed a typo
Chris 'BinGOs' Williams [Tue, 27 Jan 2015 11:16:50 +0000 (11:16 +0000)]
Update Perl-OSType to CPAN version 1.008
[DELTA]
1.008 2015-01-26 22:12:22-05:00 America/New_York
[ADDED]
- Added 'minix' as a Unix-type OS (Chris Williams)
David Mitchell [Tue, 27 Jan 2015 11:14:37 +0000 (11:14 +0000)]
rename unop_aux_stringify to multideref_stringify
This function returns a string representation of the OP_MULTIDEREF op
(as used by the output of perl -Dt).
However, the stringification of a UNOP_AUX op is op-specific, and
hypothetical future UNOP_AUX-class ops will need their own functions.
So the current function name is misleading.
It should be safe to rename it, as it only been in since 5.21.7, and isn't
public.
Steve Hay [Tue, 27 Jan 2015 08:52:17 +0000 (08:52 +0000)]
Steve Hay [Thu, 22 Jan 2015 13:47:42 +0000 (13:47 +0000)]
Add USE_CPLUSPLUS build option to win32 makefiles
With thanks to Craig A. Berry and Daniel Dragan for finding the d_cplusplus
and extern_C options, respectively.
Steve Hay [Tue, 27 Jan 2015 08:36:02 +0000 (08:36 +0000)]
Merge upstream fix for C++ mode build of Win32API-File
This is so we can have C++ mode builds on Windows without having to wait
for a new CPAN release of Win32API-File.
Steve Hay [Tue, 27 Jan 2015 08:27:10 +0000 (08:27 +0000)]
Functions marked 'b' in embed.fnc MUST be implemented in mathoms.c
This was effectively changed from 'often' to 'must be' by commit
075eb5c9b6.
Steve Hay [Tue, 27 Jan 2015 08:23:33 +0000 (08:23 +0000)]
Remove out-dated comment from mathoms.c
The previous commit did not honour this comment, and was evidently not the
first to have not seen it either: at least
09d7a3ba91 and
0d7d409d8d have
already added new functions in the 'wrong' place, so just remove the
comment.