This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
8 years agoinfnan: define NV_NAN (and NV_QNAN, NV_SNAN) if sunmath
Jarkko Hietaniemi [Sun, 1 Feb 2015 17:17:41 +0000 (12:17 -0500)]
infnan: define NV_NAN (and NV_QNAN, NV_SNAN) if sunmath

8 years agoAdd NV_MANT_REAL_DIG.
Jarkko Hietaniemi [Sun, 1 Feb 2015 00:02:22 +0000 (19:02 -0500)]
Add NV_MANT_REAL_DIG.

8 years agoAdd NV_IMPLICIT_BIT define.
Jarkko Hietaniemi [Thu, 29 Jan 2015 02:00:59 +0000 (21:00 -0500)]
Add NV_IMPLICIT_BIT define.

8 years agoAdd NV_MIX_ENDIAN define.
Jarkko Hietaniemi [Thu, 29 Jan 2015 01:42:57 +0000 (20:42 -0500)]
Add NV_MIX_ENDIAN define.

8 years agoAdd NV_LITTLE_ENDIAN and NV_BIG_ENDIAN defines.
Jarkko Hietaniemi [Thu, 29 Jan 2015 01:41:44 +0000 (20:41 -0500)]
Add NV_LITTLE_ENDIAN and NV_BIG_ENDIAN defines.

8 years agoWrong ifdef guard.
Jarkko Hietaniemi [Thu, 29 Jan 2015 01:38:04 +0000 (20:38 -0500)]
Wrong ifdef guard.

8 years agoAdd DOUBLE_BIG_ENDIAN define.
Jarkko Hietaniemi [Thu, 29 Jan 2015 01:37:09 +0000 (20:37 -0500)]
Add DOUBLE_BIG_ENDIAN define.

8 years agoMove the endianness defines from sv.c to perl.h
Jarkko Hietaniemi [Thu, 29 Jan 2015 01:34:24 +0000 (20:34 -0500)]
Move the endianness defines from sv.c to perl.h

8 years agotoke.c: Simplify \N{U+...} code
Father Chrysostomos [Mon, 2 Feb 2015 06:38:00 +0000 (22:38 -0800)]
toke.c: Simplify \N{U+...} code

If we are parsing a \N{U+XXX.YYY} construct in a regexp literal, we do
not need to pass it to grok_hex, because we do not need the numeric
value at this point.  The regexp engine will be calling grok_hex
again, after all.  A simple scan for hex digits should be faster, and
makes the code a little simpler, too.

8 years agoadd $B::OP::does_parent variable
David Mitchell [Mon, 2 Feb 2015 17:05:23 +0000 (17:05 +0000)]
add $B::OP::does_parent variable

This will help people write B:: code that can, in a backwards-compatible way,
handle the parent method that has recently been added, and whose behaviour
varies depending on whether perl was built with PERL_OP_PARENT.

8 years ago"A" =~ '\N{U+41}' (partial) should be true on all platforms
Karl Williamson [Mon, 2 Feb 2015 04:28:54 +0000 (21:28 -0700)]
"A" =~ '\N{U+41}' (partial) should be true on all platforms

The code for handling this only worked in double-quotish contexts.  To
make it work in single-quotish areas as well, it needs to be moved out
of toke.c, and corresponding code added to regcomp.c.  This commit does
just the portion that removes the code from toke.c.  The other portion
hasn't been fully debugged yet.  This means that blead will now fail on
EBCDIC platforms in double-quotish contexts.  But EBCDIC platforms
aren't fully supported in blead currently anyway.

The reason this partial commit is being pushed to blead now is that its
absence is blocking other work in toke.c

Spotted by Father Chrysostomos

8 years agoregcomp.c: Fix typos in variable name
Karl Williamson [Fri, 23 Jan 2015 16:18:09 +0000 (09:18 -0700)]
regcomp.c: Fix typos in variable name

This caused EBCDIC builds to fail

8 years ago[perl #123711] Fix crash with 0-5x-l{0}
Father Chrysostomos [Sun, 1 Feb 2015 22:04:33 +0000 (14:04 -0800)]
[perl #123711] Fix crash with 0-5x-l{0}

perl-5.8.0-117-g6f33ba7, which added the XTERMORDORDOR hack, did not
change the leftbracket code to treat XTERMORDORDOR the same way as
XTERM, so -l {0} and getc {0} (among other ops) were treating {...} as
a block, rather than an anonymous hash.  This was not, however, being
turned into a real block with enter/leave ops to protect the stack,
so the nextstate op was corrupting the stack and possibly freeing mor-
tals in use.

This commit makes the leftbracket code check for XTERMORDORDOR and
treat it like XTERM, so that -l {0} once more creates an anonymous
hash.  There is really no way to get to that hash, though, so all I
can test for is the crash.

8 years agoperlmodstyle: point people to PrePAN, not modules list
David Golden [Sun, 1 Feb 2015 14:08:58 +0000 (09:08 -0500)]
perlmodstyle: point people to PrePAN, not modules list

This harmonizes perlmodstyle with the guidance on PAUSE for getting
feedback.  Having new authors email modules@perl.org is not a good
use of PAUSE admin time.

8 years agoTicket number for bitops in perlexperiment
Father Chrysostomos [Sun, 1 Feb 2015 06:14:01 +0000 (22:14 -0800)]
Ticket number for bitops in perlexperiment

8 years ago[Merge] [perl #123466] New experimental bitops
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.

8 years agoIncrease $B::Deparse::VERSION to 1.33
Father Chrysostomos [Sun, 1 Feb 2015 02:26:53 +0000 (18:26 -0800)]
Increase $B::Deparse::VERSION to 1.33

8 years agooverload.pm: Document fifth arg for &|^~
Father Chrysostomos [Fri, 9 Jan 2015 06:13:02 +0000 (22:13 -0800)]
overload.pm: Document fifth arg for &|^~

8 years ago5th arg to indicate numeric bitwise overloading
Father Chrysostomos [Fri, 9 Jan 2015 16:45:28 +0000 (08:45 -0800)]
5th arg to indicate numeric bitwise overloading

8 years agooverload.pm: Typo
Father Chrysostomos [Fri, 9 Jan 2015 06:20:12 +0000 (22:20 -0800)]
overload.pm: Typo

8 years agopp_hot.c: Note that amagic_call calls pp_pushmark
Father Chrysostomos [Fri, 9 Jan 2015 06:19:38 +0000 (22:19 -0800)]
pp_hot.c: Note that amagic_call calls pp_pushmark

8 years agoMention experimental bitops in perlexperiment
Father Chrysostomos [Mon, 5 Jan 2015 01:48:26 +0000 (17:48 -0800)]
Mention experimental bitops in perlexperiment

8 years agofeature.pm: Document the bitwise feature
Father Chrysostomos [Mon, 5 Jan 2015 01:45:19 +0000 (17:45 -0800)]
feature.pm: Document the bitwise feature

8 years agoDocument string- and number-specific bitops in perlop
Father Chrysostomos [Mon, 5 Jan 2015 01:36:53 +0000 (17:36 -0800)]
Document string- and number-specific bitops in perlop

8 years agooverload.t: Test experimental bitops
Father Chrysostomos [Mon, 5 Jan 2015 01:13:12 +0000 (17:13 -0800)]
overload.t: Test experimental bitops

8 years agogv.c: Make &.= overloading work
Father Chrysostomos [Mon, 5 Jan 2015 01:12:11 +0000 (17:12 -0800)]
gv.c: Make &.= overloading work

8 years agooverload.pm: Document &. etc.
Father Chrysostomos [Mon, 5 Jan 2015 01:10:57 +0000 (17:10 -0800)]
overload.pm: Document &. etc.

8 years agoIncrease $overload::VERSION to 1.25
Father Chrysostomos [Mon, 5 Jan 2015 00:58:14 +0000 (16:58 -0800)]
Increase $overload::VERSION to 1.25

8 years agooverload.pm: Add string-specific bitops
Father Chrysostomos [Mon, 5 Jan 2015 00:57:41 +0000 (16:57 -0800)]
overload.pm: Add string-specific bitops

8 years agoTest new string- and num-specific bitops
Father Chrysostomos [Sun, 4 Jan 2015 22:04:47 +0000 (14:04 -0800)]
Test new string- and num-specific bitops

8 years agoTest predecence warning on new bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:53:31 +0000 (11:53 -0800)]
Test predecence warning on new bitops

8 years agoTest experimental bitop warning
Father Chrysostomos [Sun, 4 Jan 2015 19:49:31 +0000 (11:49 -0800)]
Test experimental bitop warning

8 years agoWarning about experimental bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:44:03 +0000 (11:44 -0800)]
Warning about experimental bitops

8 years agoDeparse new bitops
Father Chrysostomos [Sun, 4 Jan 2015 19:21:35 +0000 (11:21 -0800)]
Deparse new bitops

8 years agoParse and compile string- and num-specific 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.

8 years agoAdd OP_IS_INFIX_BIT
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.

8 years agoDeparse.t: Account for new warnings category
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.

8 years agoAdd experimental::bitwise warnings category
Father Chrysostomos [Sun, 4 Jan 2015 06:25:11 +0000 (22:25 -0800)]
Add experimental::bitwise warnings category

8 years agoIncrease $feature::VERSION to 1.40
Father Chrysostomos [Sun, 4 Jan 2015 18:51:54 +0000 (10:51 -0800)]
Increase $feature::VERSION to 1.40

8 years agoAdd bitwise feature feature
Father Chrysostomos [Sun, 4 Jan 2015 06:20:17 +0000 (22:20 -0800)]
Add bitwise feature feature

8 years agoAdd string- and number-specific bitop types
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.

8 years agoAdd overload types for string-specifc bitops
Father Chrysostomos [Sun, 4 Jan 2015 01:55:53 +0000 (17:55 -0800)]
Add overload types for string-specifc bitops

8 years agoRemove context param from sv_get_backrefs
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.

8 years agoAdd epigraph for 5.20.2-RC1
Steve Hay [Sun, 1 Feb 2015 03:46:21 +0000 (03:46 +0000)]
Add epigraph for 5.20.2-RC1

8 years agoInitialize RMS structs at clone time in dl_vms.xs.
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.

8 years agoRMG - Update local_patches[] code snippet with current code
Steve Hay [Sun, 1 Feb 2015 00:04:28 +0000 (00:04 +0000)]
RMG - Update local_patches[] code snippet with current code

8 years agoPerl 5.20.2-RC1 today
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".

8 years agoRMG - Module::CoreList's CAVEATS is no longer updated, since 64eeb2c06c
Steve Hay [Sat, 31 Jan 2015 23:45:30 +0000 (23:45 +0000)]
RMG - Module::CoreList's CAVEATS is no longer updated, since 64eeb2c06c

8 years agoUpdate Module-CoreList for 5.20.2
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.

8 years agoTest-Simple Version Bump, 1.301001_098 (RC18)
Chad Granum [Sat, 31 Jan 2015 20:19:22 +0000 (12:19 -0800)]
Test-Simple Version Bump, 1.301001_098 (RC18)

8 years agoSort perldiag
Father Chrysostomos [Sat, 31 Jan 2015 17:34:34 +0000 (09:34 -0800)]
Sort perldiag

8 years agoBump Encode::Unicode $VERSION
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.

8 years agoBump $Encode::encoding::VERSION
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).

8 years agoBump VMS::Stdio $VERSION
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.

8 years agoBump Pod::PlainText $VERSION
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.

8 years agoBump some CPAN $VERSIONs
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.

8 years agoPorting/cmpVERSION.pl - Show $VERSION of failing modules
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.

8 years agoRMG - Remove a trailing space
Steve Hay [Sat, 31 Jan 2015 17:03:04 +0000 (17:03 +0000)]
RMG - Remove a trailing space

8 years agoRMG - Put all version-bump related information about INSTALL in one place
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.

8 years agoRMG - Consistent four-space indent; wrap all lines to 79 characters
Steve Hay [Sat, 31 Jan 2015 14:57:09 +0000 (14:57 +0000)]
RMG - Consistent four-space indent; wrap all lines to 79 characters

8 years agoRMG - Module/CoreList.pod is no longer updated, since 64eeb2c06c
Steve Hay [Sat, 31 Jan 2015 13:48:10 +0000 (13:48 +0000)]
RMG - Module/CoreList.pod is no longer updated, since 64eeb2c06c

8 years agoRMG - Show correct Porting/corelist-perldelta.pl command for MAINT releases
Steve Hay [Sat, 31 Jan 2015 13:43:32 +0000 (13:43 +0000)]
RMG - Show correct Porting/corelist-perldelta.pl command for MAINT releases

8 years agoExternalize decc$ungetc prototype.
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.

8 years agoTODO Peek.t test on VMS.
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.

8 years agoCorrections to spelling and grammatical errors.
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

8 years agoRevert "Corrections to spelling and grammatical errors."
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.

8 years agoRMG - Note that Porting/cmVERSION.pl should be used to check more releases
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.

8 years agoperldelta for 1ead70b69c
Steve Hay [Thu, 29 Jan 2015 14:07:56 +0000 (14:07 +0000)]
perldelta for 1ead70b69c

8 years agoUpgrade Win32API-File from version 0.1201 to 0.1202
Steve Hay [Thu, 29 Jan 2015 14:02:36 +0000 (14:02 +0000)]
Upgrade Win32API-File from version 0.1201 to 0.1202

8 years agot/op/taint.t - Fix typo
Steve Hay [Thu, 29 Jan 2015 13:29:16 +0000 (13:29 +0000)]
t/op/taint.t - Fix typo

8 years agoExtUtils::Miniperl - Restore a missing line of POD
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.

8 years agoPorting/bisect-runner.pl - Fix grammar
Steve Hay [Thu, 29 Jan 2015 13:28:32 +0000 (13:28 +0000)]
Porting/bisect-runner.pl - Fix grammar

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoCorrections to spelling and grammatical errors.
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.

8 years agoperldelta entry for commit c57d3fcc1ad464532b34fb5a68ed2aa452190541
James E Keenan [Thu, 29 Jan 2015 00:23:04 +0000 (19:23 -0500)]
perldelta entry for commit c57d3fcc1ad464532b34fb5a68ed2aa452190541

8 years agoperldelta for c5abc2c9ea98, 00fdeebdcb01
Tony Cook [Wed, 28 Jan 2015 23:41:45 +0000 (10:41 +1100)]
perldelta for c5abc2c9ea9800fdeebdcb01

8 years agobump $Opcode::VERSION to 1.32
Tony Cook [Wed, 28 Jan 2015 23:29:05 +0000 (10:29 +1100)]
bump $Opcode::VERSION to 1.32

8 years agocomment out dead code in Opcode::
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.

8 years agoperlunicook: Note that autodie >= 2.26 should be okay with "use open".
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".

8 years agoFix warning message regarding "use autodie" and "use open".
Matthew Horsfall [Wed, 28 Jan 2015 14:14:56 +0000 (09:14 -0500)]
Fix warning message regarding "use autodie" and "use open".

8 years agoReword note about m being optional in m?PATTERN? in perlop for clarity
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

8 years agoperlop: m?? requires the m in v5.22, not v5.24
Ricardo Signes [Wed, 28 Jan 2015 13:08:29 +0000 (08:08 -0500)]
perlop: m?? requires the m in v5.22, not v5.24

8 years agoinfnan: even more comment tweaks
Jarkko Hietaniemi [Wed, 28 Jan 2015 12:23:43 +0000 (07:23 -0500)]
infnan: even more comment tweaks

8 years agoinfnan: comment tweaks
Jarkko Hietaniemi [Wed, 28 Jan 2015 11:43:51 +0000 (06:43 -0500)]
infnan: comment tweaks

8 years agoinfnan: restore 'Infinity' since lln.t expects it.
Jarkko Hietaniemi [Tue, 27 Jan 2015 14:40:03 +0000 (09:40 -0500)]
infnan: restore 'Infinity' since lln.t expects it.

8 years agoinfnan: if trailing stuff, fail in looks_like_number()
Jarkko Hietaniemi [Tue, 27 Jan 2015 14:11:39 +0000 (09:11 -0500)]
infnan: if trailing stuff, fail in looks_like_number()

8 years agoinfnan: comment tweaks
Jarkko Hietaniemi [Tue, 27 Jan 2015 13:32:39 +0000 (08:32 -0500)]
infnan: comment tweaks

8 years agoinfnan: grok flag expectation fixes
Jarkko Hietaniemi [Tue, 27 Jan 2015 03:20:04 +0000 (22:20 -0500)]
infnan: grok flag expectation fixes

8 years agoinfnan: grok_infnan now needs context
Jarkko Hietaniemi [Tue, 27 Jan 2015 03:13:56 +0000 (22:13 -0500)]
infnan: grok_infnan now needs context

8 years agoinfnan: actually use grok_hex() for nan payload
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.

8 years agoinfnan: move grok_infnan before the grok_number
Jarkko Hietaniemi [Tue, 27 Jan 2015 00:36:25 +0000 (19:36 -0500)]
infnan: move grok_infnan before the grok_number

8 years agoinfnan: mention the unusual semantics of "numeric".
Jarkko Hietaniemi [Mon, 26 Jan 2015 02:08:13 +0000 (21:08 -0500)]
infnan: mention the unusual semantics of "numeric".

8 years agoinfnan: allow (silently) trailing whitespace.
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.)