This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
12 years agoperllocale: de-emphasize /l
Karl Williamson [Wed, 6 Jul 2011 02:23:22 +0000 (20:23 -0600)]
perllocale: de-emphasize /l

/l outside of 'use locale' rarely makes any sense to use.

12 years agopodcheck.t: Add -deltas option
Karl Williamson [Tue, 5 Jul 2011 02:53:32 +0000 (20:53 -0600)]
podcheck.t: Add -deltas option

This option will rarely be used, but examines stable perldelta
files.

12 years agoVolunteer BingOS for a release per irc
Jesse Vincent [Tue, 5 Jul 2011 22:41:10 +0000 (18:41 -0400)]
Volunteer BingOS for a release per irc

12 years agoUpdate Keith Thompson's email address in AUTHORS, add his old addresses to checkAUTHORS
Jesse Vincent [Tue, 5 Jul 2011 22:40:03 +0000 (18:40 -0400)]
Update Keith Thompson's email address in AUTHORS, add his old addresses to checkAUTHORS

12 years agoTypo in perldelta
Keith Thompson [Tue, 5 Jul 2011 20:11:47 +0000 (16:11 -0400)]
Typo in perldelta

12 years agoRemoved the last of Jos' potty mouthed comments from CPANPLUS source
Chris 'BinGOs' Williams [Tue, 5 Jul 2011 20:38:26 +0000 (21:38 +0100)]
Removed the last of Jos' potty mouthed comments from CPANPLUS source

12 years agoForward port the 5.14.1 delta from maint-5.14
Jesse Vincent [Tue, 5 Jul 2011 15:05:19 +0000 (11:05 -0400)]
Forward port the 5.14.1 delta from maint-5.14

12 years agoAdd Steve Hay for 5.15.5
Jesse Vincent [Tue, 5 Jul 2011 14:56:15 +0000 (10:56 -0400)]
Add Steve Hay for 5.15.5

12 years agofix segv in regcomp.c:S_join_exact()
David Mitchell [Tue, 5 Jul 2011 10:35:08 +0000 (11:35 +0100)]
fix segv in regcomp.c:S_join_exact()

This function joins multiple EXACT* nodes into a single node.
At the end, under DEBUGGING, it marks the optimised-out nodes as being
type OPTIMIZED. However, some of the 'nodes' aren't actually nodes;
they're random bits of string at the tail of those nodes. So you
can't peek that the 'node's OP field to decide what type it was.

Instead, just unconditionally overwrite all the slots with fake
OPTIMIZED nodes.

12 years agoRemove duplicate $VERSION handling code, made redundant in 3.28_01
Nicholas Clark [Tue, 5 Jul 2011 09:42:32 +0000 (11:42 +0200)]
Remove duplicate $VERSION handling code, made redundant in 3.28_01

12 years agoIncrease $XS::APItest::VERSION
Father Chrysostomos [Tue, 5 Jul 2011 04:30:38 +0000 (21:30 -0700)]
Increase $XS::APItest::VERSION

12 years agoAdd a test for perl_clone with CLONEf_COPY_STACKS to XS-APItest.
Gerard Goossen [Sat, 6 Nov 2010 11:22:29 +0000 (12:22 +0100)]
Add a test for perl_clone with CLONEf_COPY_STACKS to XS-APItest.

CLONEf_COPY_STACKS is only used by the windows pseudo-fork.
This test allows testing/debugging of CLONEf_COPY_STACK without needing threads or Windows.

12 years agoFix ?/% mix-up in Perl_vms_start_glob.
Craig A. Berry [Tue, 5 Jul 2011 02:19:15 +0000 (21:19 -0500)]
Fix ?/% mix-up in Perl_vms_start_glob.

When it sees the unixy ? as a single-character wildcard rather than
the native %, it intended to leave it alone when the CRTL's extended
character set processing was enabled, but it was actually checking
for a different and unrelated feature setting (case preservation),
meaning it would substitute % for ? in some cases where it meant
not to.  This likely did no harm in most cases as LIB$FIND_FILE
will honor either, but if the pattern were to be re-used in a context
that required POSIX semantics, the ? really ought to be preserved
and now it is.

Broken in dca5a9130eb9e045fd52f88cf3dedee7093e19f7.

12 years agoAdd Dee Newcum to the AUTHORS list
Chris 'BinGOs' Williams [Mon, 4 Jul 2011 23:00:55 +0000 (00:00 +0100)]
Add Dee Newcum to the AUTHORS list

12 years agopumpkin.pod: Add L<> around html link
Karl Williamson [Mon, 4 Jul 2011 22:40:28 +0000 (16:40 -0600)]
pumpkin.pod: Add L<> around html link

12 years agomktables: Add Z<> before a B<*> to pod =item
Karl Williamson [Mon, 4 Jul 2011 22:38:35 +0000 (16:38 -0600)]
mktables: Add Z<> before a B<*> to pod =item

This is to prevent some parsers from considering this to be
a bullet item.

12 years agoBump Module::CoreList version for a CPAN release
Chris 'BinGOs' Williams [Mon, 4 Jul 2011 22:36:19 +0000 (23:36 +0100)]
Bump Module::CoreList version for a CPAN release

12 years ago[rt.cpan.org #69108] Extraneous modules listed in Module::CoreList
Dee Newcum [Mon, 4 Jul 2011 22:18:12 +0000 (23:18 +0100)]
[rt.cpan.org #69108] Extraneous modules listed in Module::CoreList

There are some entries in Module::CoreList that can't be found in the
versions suggested.

After more digging, I confirmed some modules exist, but these are the
modules I still have questions about:

================[ Devel::DProf::V ]================

- Module::CoreList says it was first added in Perl 5.11.3

- It's mentioned in perl5114delta.pod.

- However, I can't find it in the Perl v5.11.3 source package.

================[ Simple ]================

- Module::CoreList says it was first added in Perl 5.11.2

- Module name not found within the Perl v5.11.2 source package (outside
  of the cpan/Module-Build/t/ directory).

================[ Devel::DProf::dprof::V ]================

- Module::CoreList says it was first added in Perl 5.11.0

- Module name not found in the Perl v5.11.0 source package.
  ext/Devel-DProf/dprof/V.pm exists, but it only declares package V.

================[ XSLoader::XSLoader ]================

- Module::CoreList says it was first added in Perl 5.11.0

- Module name not found within the Perl v5.11.0 source package.
  dist/XSLoader/XSLoader_pm.PL exists, but it doesn't declare the
  package XSLoader::XSLoader

================[ Time::Piece::Seconds ]================

- Module::CoreList says it was first added in Perl 5.9.5

- Module name not found in the Perl v5.9.5 source package.
  ext/Time/Piece/Seconds.pm exists, but it only declares package
  Time::Seconds.

================[ IPC::lib::IPC::Msg ]================

- Module::CoreList says it was first added in Perl 5.8.9

- Module name not found in the Perl v5.8.9 source package.
  ext/IPC/SysV/lib/IPC/Msg.pm exists, but it only declares packages
  IPC::Msg and IPC::Msg::stat.

================[ IPC::lib::IPC::Semaphore ]================

- Module::CoreList says it was first added in Perl 5.8.9

- Module name not found in the Perl v5.8.9 source package.
  ext/IPC/SysV/lib/IPC/Semaphore.pm exists, but it only defines packages
  IPC::Semaphore and IPC::Semaphore::stat.

================[ IPC::lib::IPC::SharedMem ]================

- Module::CoreList says it was first added in Perl 5.8.9

- Module name not found in the Perl v5.8.9 source package.
  ext/IPC/SysV/lib/IPC/SharedMem.pm exists, but it only defines packages
  IPC::SharedMem and IPC::SharedMem::stat.

================[ Module::Pluggable::lib::Devel::InnerPackage

- Module::CoreList says it was first added in Perl 5.8.9

- Module name not found in the Perl v5.8.9 source package.
  ext/Module/Pluggable/lib/Devel/InnerPackage.pm exists, but it only
  declares package Devel::InnerPackage.

================[ DCLsym ]================

- Module::CoreList says it was first added in Perl 5.8.7

- It's mentioned in perl5120delta.pod.

- However, I can't find it in the Perl v5.8.7 source package.
  vms/ext/DCLsym/DCLsym.pm exists, but it only defines package
  VMS::DCLsym.

================[ Stdio ]================

- Module::CoreList says it was first added in Perl 5.8.7

- It's mentioned in perl5120delta.pod.

- However, I can't find it in the Perl v5.8.7 source package.
  vms/ext/Stdio/Stdio.pm exists, but it only defines packages VMS::Stdio
  and VMS::stdio

================[ XSSymSet ]================

- Module::CoreList says it was first added in Perl 5.8.7

- It's mentioned in perl589delta.pod.

- However, I can't find it in the Perl v5.8.7 source package.
  vms/ext/XSSymSet.pm exists, but it only defines package
  ExtUtils::XSSymSet.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
12 years agoAdditional heuristics to catch edge-cases in corelist.pl
Chris 'BinGOs' Williams [Mon, 4 Jul 2011 21:16:40 +0000 (22:16 +0100)]
Additional heuristics to catch edge-cases in corelist.pl

Addresses [rt.cpan #69108] reported by Dee Newcum

12 years agoChange dNOOP to a function declaration.
Nicholas Clark [Tue, 28 Jun 2011 14:19:21 +0000 (16:19 +0200)]
Change dNOOP to a function declaration.

Previously dNOOP would declare an unused variable, and where possible mark it
as "unused" to prevent compiler warnings. However, clang doesn't provide
attribute unused, so will produced screenfuls of warnings if invoked with
-Wunused-variable, hiding the real unused variable warnings.

Using a function declaration instead avoids these warnings.

We can't just use define dNOOP as nothing, or a comment, as it is used as

    dNOOP;

and a bare semicolon is an error.

12 years agoUpdate Win32API-File to CPAN version 0.1200
Chris 'BinGOs' Williams [Mon, 4 Jul 2011 09:39:45 +0000 (10:39 +0100)]
Update Win32API-File to CPAN version 0.1200

  [DELTA]

  0.1200 by Alexandr Ciornii 2011-07-01
        - Spelling fixes by Peter John Acklam
        - Upgraded Makefile.PL
        - Don't bother checking $[

  0.1101_01 by Alexandr Ciornii 2011-02-26
        - More metadata in META.yml
        - [Set|Get]StdHandle functions added (Chris 'BinGOs' Williams)

12 years agoUpdate Unicode-Collate to CPAN version 0.77
Chris 'BinGOs' Williams [Sun, 3 Jul 2011 23:07:26 +0000 (00:07 +0100)]
Update Unicode-Collate to CPAN version 0.77

  [DELTA]

  0.77  Sun Jul  3 21:15:08 2011
    - xs: [perl #93470] [PATCH] consting in Collate.xs by Robin Barker.

12 years agoStop having one of the following qw() warnings hide the other:
Eric Brine [Wed, 22 Jun 2011 08:06:10 +0000 (01:06 -0700)]
Stop having one of the following qw() warnings hide the other:
 - Possible attempt to separate words with commas
 - Possible attempt to put comments in qw() list

12 years agoOrder features alphabetically
Eric Brine [Wed, 22 Jun 2011 02:51:47 +0000 (19:51 -0700)]
Order features alphabetically

12 years agoOS2-Process/Process.pm: Fix broken pod links
Karl Williamson [Mon, 4 Jul 2011 04:02:41 +0000 (22:02 -0600)]
OS2-Process/Process.pm: Fix broken pod links

12 years agoFix various podcheck issues in old perldeltas
Karl Williamson [Mon, 4 Jul 2011 03:57:23 +0000 (21:57 -0600)]
Fix various podcheck issues in old perldeltas

I had these fixes laying around, so committing them

12 years agos2p: Fix broken pod links
Karl Williamson [Mon, 4 Jul 2011 03:37:05 +0000 (21:37 -0600)]
s2p: Fix broken pod links

12 years agoInternals.pod: Fix broken links
Karl Williamson [Mon, 4 Jul 2011 03:22:36 +0000 (21:22 -0600)]
Internals.pod: Fix broken links

12 years agoREADME.os2: various podcheck fixes
Karl Williamson [Mon, 4 Jul 2011 03:17:48 +0000 (21:17 -0600)]
README.os2: various podcheck fixes

12 years agoAdd todo of documenting diagnostics
Karl Williamson [Fri, 30 Apr 2010 02:10:08 +0000 (20:10 -0600)]
Add todo of documenting diagnostics

12 years agoVolunteer Stevan Little for the October release
Jesse Vincent [Mon, 4 Jul 2011 01:23:28 +0000 (21:23 -0400)]
Volunteer Stevan Little for the October release

12 years agosv.c: hv_dup should be sv_dup
Karl Williamson [Mon, 4 Jul 2011 00:37:27 +0000 (18:37 -0600)]
sv.c: hv_dup should be sv_dup

Spotted by George Greer.

12 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Karl Williamson [Sun, 3 Jul 2011 20:25:33 +0000 (14:25 -0600)]
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead

12 years agoMerge branch 'invert' into blead
Karl Williamson [Sun, 3 Jul 2011 20:07:45 +0000 (14:07 -0600)]
Merge branch 'invert' into blead

This branch cleans up and enhances the inversion list functions
used privately by regcomp and utf8.c, and takes advantage of the
new functionality to have mktables not generate files that are
simple complements of other files.

There should be no user visible changes

12 years agomktables: Empty tables are complements of \p{Any}
Karl Williamson [Fri, 1 Jul 2011 16:35:37 +0000 (10:35 -0600)]
mktables: Empty tables are complements of \p{Any}

Previously one empty table was written, and all the rest were
aliased to it, but now that one table isn't written, all are
aliased to 'Any'.

12 years agomktables: Suppress complement tables
Karl Williamson [Fri, 1 Jul 2011 16:25:28 +0000 (10:25 -0600)]
mktables: Suppress complement tables

Consider the property \p{AHex}.  This is really \p{AHex=Y}, and there
is a corresponding \p{AHex=N} that is just the complement.  Prior to
this patch, 2 tables were generated for AHex.  Now, just one is, and the
N table is set-up in Heavy.pl to be the complement of the Y table.  This
saves quite a few tables and corresponding disk space.

Note that not all complements need be binary tables.

12 years agomktables: add comment
Karl Williamson [Fri, 1 Jul 2011 16:02:35 +0000 (10:02 -0600)]
mktables: add comment

12 years agomktables: Move code
Karl Williamson [Fri, 1 Jul 2011 16:00:50 +0000 (10:00 -0600)]
mktables: Move code

This code block can come before the other one, and a future commit
will need it to be moved there.

12 years agomktables: Adjust where .pl suffix gets added to output filenames
Karl Williamson [Fri, 1 Jul 2011 15:54:15 +0000 (09:54 -0600)]
mktables: Adjust where .pl suffix gets added to output filenames

This is needed for the future commits

12 years agomktables: Fix comment
Karl Williamson [Fri, 1 Jul 2011 15:47:35 +0000 (09:47 -0600)]
mktables: Fix comment

12 years agoutf8_heavy.pl: Add INVERT_IT to swash
Karl Williamson [Fri, 1 Jul 2011 15:38:03 +0000 (09:38 -0600)]
utf8_heavy.pl: Add INVERT_IT to swash

set a new key "INVERT_IT" in the swash object to whether or not
the file name for a property-value in Heavy.pl begins with a "!".
(No such entry currently exists.)  This will mean that the file's
contents need to be inverted to get the correct values for the
property-value.

12 years agoutf8.c: Accept INVERT_IT in swash
Karl Williamson [Fri, 1 Jul 2011 15:31:18 +0000 (09:31 -0600)]
utf8.c: Accept INVERT_IT in swash

This allows a swash to return a list, along with an extra key in the
hash which says that the list should be inverted.

A future commit will generate such keys.

12 years agoutf8.c: swash_to_invlist() handle EXTRAS
Karl Williamson [Fri, 1 Jul 2011 15:11:48 +0000 (09:11 -0600)]
utf8.c: swash_to_invlist() handle EXTRAS

This function has not been able to handle what are called EXTRAS in
its input.  These are things like:

    !utf8::InHiragana
    -utf8::InKatakana
    +utf8::IsCn

besides the normal list of ranges.

This commit allows this function to handle all the same constructs as
the regular swash input function, from which most of the new code was
copied.

12 years agomktables: Use inverted tables for disk space
Karl Williamson [Sat, 11 Jun 2011 19:09:24 +0000 (13:09 -0600)]
mktables: Use inverted tables for disk space

This patch changes large tables that are the complement of other
tables to just be the single line indicating to use the complement

12 years agoRestrict some inversion list functions
Karl Williamson [Sun, 5 Jun 2011 19:16:30 +0000 (13:16 -0600)]
Restrict some inversion list functions

These functions are internal only with names beginning with underscore.
I hadn't realized that their definitions could be restricted.

12 years agoAllow utf8.c to access 4 inversion list functions
Karl Williamson [Sun, 5 Jun 2011 19:09:46 +0000 (13:09 -0600)]
Allow utf8.c to access 4 inversion list functions

12 years agoChange 4 inversion list functions from S_ to Perl_
Karl Williamson [Sun, 5 Jun 2011 19:03:18 +0000 (13:03 -0600)]
Change 4 inversion list functions from S_ to Perl_

This is in preparation for them to be called from another file.  Note
that they are still protected by an #ifdef in embed.fnc.

12 years agoChange _invlist_invert() from being in-line
Karl Williamson [Sun, 5 Jun 2011 18:59:02 +0000 (12:59 -0600)]
Change _invlist_invert() from being in-line

This is in preparation for it to be called from another file.  If
for performance reasons it needs to be made inline again, it could
then be moved into a header.

12 years agoChange names of some inversion list functions
Karl Williamson [Sun, 5 Jun 2011 18:20:57 +0000 (12:20 -0600)]
Change names of some inversion list functions

The names now begin with an underscore to emphasize that they are
for internal use only.  This is in preparation for making them
accessible beyond regcomp.c.

12 years agoembed.fnc: Move entries around
Karl Williamson [Sun, 5 Jun 2011 18:09:31 +0000 (12:09 -0600)]
embed.fnc: Move entries around

This is in preparation for making these functions available
outside regcomp.c

12 years agoregexp_unicode_prop.t: Improve output
Karl Williamson [Sat, 4 Jun 2011 23:06:18 +0000 (17:06 -0600)]
regexp_unicode_prop.t: Improve output

The ok statements were not giving the correct pattern; the not ok
statements were not giving the failure reason.

12 years agoregcomp.c: White space only
Karl Williamson [Mon, 30 May 2011 03:47:08 +0000 (21:47 -0600)]
regcomp.c: White space only

12 years agoregcomp.c: Do some [^abc] inversion at compile time
Karl Williamson [Mon, 30 May 2011 03:45:09 +0000 (21:45 -0600)]
regcomp.c: Do some [^abc] inversion at compile time

The new facilities with inversion lists enables us to do
some more compile-time inversions.

12 years agoAdd 3 methods for inversion lists
Karl Williamson [Mon, 30 May 2011 03:35:20 +0000 (21:35 -0600)]
Add 3 methods for inversion lists

This adds inversion, cloning, and set subtraction

12 years agoAdd inversion list dump routine, #ifdef'd out to prevent compiler warning, for use...
Karl Williamson [Mon, 30 May 2011 03:03:58 +0000 (21:03 -0600)]
Add inversion list dump routine, #ifdef'd out to prevent compiler warning, for use when debugging

12 years agoAdd flag to num groks to silence non-portable warnings
Karl Williamson [Mon, 16 May 2011 02:52:02 +0000 (20:52 -0600)]
Add flag to num groks to silence non-portable warnings

Unicode inversion lists commonly will contain UV_MAX, which may
trigger these warnings.  Add a flag to suppress them to the numeric
grok functions, which can be set by the code that is dealing with
these lists

12 years agoAdd an element to inversion list data structure
Karl Williamson [Sun, 29 May 2011 18:27:49 +0000 (12:27 -0600)]
Add an element to inversion list data structure

This element is restricted to either 0 or 1.  The comments detail
how its use enables an inversion list to be efficiently inverted.

12 years agoregcomp.c: Add comments
Karl Williamson [Sun, 29 May 2011 15:58:22 +0000 (09:58 -0600)]
regcomp.c: Add comments

12 years agoregcomp.c: Parenthesize rhs of #define
Karl Williamson [Sun, 29 May 2011 15:56:27 +0000 (09:56 -0600)]
regcomp.c: Parenthesize rhs of #define

12 years agoregcomp.c: Move a function around
Karl Williamson [Sun, 29 May 2011 15:54:42 +0000 (09:54 -0600)]
regcomp.c: Move a function around

This is so functions that operate on the same data are adjacent

12 years agoAdd length element to inversion lists
Karl Williamson [Sun, 29 May 2011 15:16:49 +0000 (09:16 -0600)]
Add length element to inversion lists

Future changes will make the length no longer the same as SvCUR,
so create an element to hold the correct length

12 years agoregcomp.c: Use inversion list iterator
Karl Williamson [Sun, 29 May 2011 00:40:34 +0000 (18:40 -0600)]
regcomp.c: Use inversion list iterator

This changes to use the iterator when traversing an inversion list.

12 years agoAdd iterator for inversion lists
Karl Williamson [Sun, 29 May 2011 00:38:45 +0000 (18:38 -0600)]
Add iterator for inversion lists

12 years agoAllow a header in inversion lists.
Karl Williamson [Sat, 28 May 2011 22:10:01 +0000 (16:10 -0600)]
Allow a header in inversion lists.

An inversion list is an array of UVs.  This allows for other UVs
to be added at the beginning for ancillary purposes.  This patch
does not allocate any space for these, however.

12 years agoregcomp.c: Correct comment
Karl Williamson [Sat, 28 May 2011 19:31:25 +0000 (13:31 -0600)]
regcomp.c: Correct comment

12 years agoregcomp.c: Macroize two expressions
Karl Williamson [Sat, 28 May 2011 18:14:05 +0000 (12:14 -0600)]
regcomp.c: Macroize two expressions

This is in preparation for making things more complex in a later commit

12 years agoregcomp.c: Rmv no longer called function
Karl Williamson [Sat, 28 May 2011 18:05:54 +0000 (12:05 -0600)]
regcomp.c: Rmv no longer called function

This hasn't been used since 626725768b7b17463e9ec7b92e2da37105036252
Author: Nicholas Clark <nick@ccl4.org>
 Date:   Thu May 26 22:29:40 2011 -0600

regcomp.c: Fix memory leak regression

 here was a remaining memory leak in the new inversion lists data
structure under threading.  This solves it by changing the
implementation to use a SVpPV instead of doing our own memory
management.  Then the already existing code for handling SVs
returns the memory when done.

12 years agoregcomp.c: Remove no longer called function
Karl Williamson [Sat, 28 May 2011 17:49:05 +0000 (11:49 -0600)]
regcomp.c: Remove no longer called function

The invlist_destroy function was misleading, as it has changed to
just decrement the reference count, which may or may not lead to
immediate destruction

12 years agoregcomp.c: Remove invlist_destroy calls
Karl Williamson [Sat, 28 May 2011 15:41:57 +0000 (09:41 -0600)]
regcomp.c: Remove invlist_destroy calls

This is in preparation to removing the function

12 years agoregcomp.c: #undef after finished
Karl Williamson [Sat, 28 May 2011 15:38:23 +0000 (09:38 -0600)]
regcomp.c: #undef after finished

regcomp.c has a subsection dealing with the implementation of the
inversion list class(-like object).  Undef its macros so they
can't possibly interfere with the rest of regcomp.c

12 years agoregcomp.c: Remove unneeded temporary
Karl Williamson [Fri, 27 May 2011 22:45:51 +0000 (16:45 -0600)]
regcomp.c: Remove unneeded temporary

A previous commit changed things so that this is no longer necessary

12 years agoregcomp.c: Revise inversion list API
Karl Williamson [Fri, 27 May 2011 22:43:28 +0000 (16:43 -0600)]
regcomp.c: Revise inversion list API

These are static functions so no external effect.  Revise the calling
sequence of two functions so that they can know enough to free
memory if appropriate of the other parameters.  This hides from the
callers the need for tracking when to free memory.

12 years agoregcomp.c: PL_utf8_foldclosures is a HV
Karl Williamson [Fri, 27 May 2011 17:30:55 +0000 (11:30 -0600)]
regcomp.c: PL_utf8_foldclosures is a HV

It is not an inversion list, contrary to what this line used to say.

12 years agoChange inversion lists to SVs
Karl Williamson [Fri, 27 May 2011 17:01:16 +0000 (11:01 -0600)]
Change inversion lists to SVs

The inversion list is an opaque object, currently implemented as an SV.
Even if it ends up being an HV in the future, Nicholas is of the opinion
that it should be presented to the world as an SV*.

12 years agoDelta for the removal of Perl 4 libraries
Florian Ragwitz [Sun, 3 Jul 2011 16:38:30 +0000 (18:38 +0200)]
Delta for the removal of Perl 4 libraries

12 years agoRemove deprecated Perl 4 core libraries
Florian Ragwitz [Sun, 3 Jul 2011 10:22:37 +0000 (12:22 +0200)]
Remove deprecated Perl 4 core libraries

12 years agooverload.pm: Fix broken link
Karl Williamson [Mon, 23 May 2011 01:52:23 +0000 (19:52 -0600)]
overload.pm: Fix broken link

The list this link tries to refer to is a bullet list, and so
doesn't get anchors generated for it, so clicking on the link
fails

12 years agofix broken links in old perldeltas
Karl Williamson [Fri, 20 May 2011 03:08:44 +0000 (21:08 -0600)]
fix broken links in old perldeltas

We aren't keeping old perldeltas up-to-date, but I had these fixes lying
around, so decided to commit them

12 years agoConvert B::Deparse's core.t to Test::More.
Nicholas Clark [Fri, 27 May 2011 14:55:15 +0000 (15:55 +0100)]
Convert B::Deparse's core.t to Test::More.

Bring the joy of strict to it, remove the unused variable @bin, and convert a
literal carriage return to a newline.

12 years agoUse C<< >> to avoid tripping a podchecker heuristic for "don't you mean F<>?"
Nicholas Clark [Sun, 3 Jul 2011 14:33:54 +0000 (16:33 +0200)]
Use C<< >> to avoid tripping a podchecker heuristic for "don't you mean F<>?"

In this case, commiters/somework is not a file, hence C<> is correct.

12 years agoadd when/how to merge/rebase to perlgit.pod
Ricardo Signes [Sun, 3 Jul 2011 13:15:47 +0000 (09:15 -0400)]
add when/how to merge/rebase to perlgit.pod

12 years agoremove another duplicated section
Ricardo Signes [Sun, 3 Jul 2011 12:53:13 +0000 (08:53 -0400)]
remove another duplicated section

(unrelated whitespace fixes also included)

12 years agoremove duplicated "topic branches" section
Ricardo Signes [Sun, 3 Jul 2011 12:49:40 +0000 (08:49 -0400)]
remove duplicated "topic branches" section

12 years agoRevert "x"
Ricardo Signes [Sun, 3 Jul 2011 13:03:11 +0000 (09:03 -0400)]
Revert "x"

This reverts commit a91756ea8ef881f776fe68ca460c433b728977ec.

This commit was accidentally pushed by RJBS, who is abject and sorrowful.

12 years agox
Ricardo Signes [Sun, 3 Jul 2011 13:00:46 +0000 (09:00 -0400)]
x

12 years agoREADME.foo: Change NAME to perlfoo
Karl Williamson [Tue, 26 Apr 2011 15:23:10 +0000 (09:23 -0600)]
README.foo: Change NAME to perlfoo

This fixes broken links to these

12 years agoAdd terse changelog entry for 2.29
Abhijit Menon-Sen [Sun, 3 Jul 2011 03:57:02 +0000 (09:27 +0530)]
Add terse changelog entry for 2.29

12 years agoAdd another address for John Peacock
Father Chrysostomos [Sat, 2 Jul 2011 04:59:00 +0000 (21:59 -0700)]
Add another address for John Peacock

12 years agoRevise check for negative versions plus test
John Peacock [Sat, 2 Jul 2011 03:18:09 +0000 (23:18 -0400)]
Revise check for negative versions plus test

12 years agoDual-life Text::Abbrev
Florian Ragwitz [Fri, 1 Jul 2011 21:04:31 +0000 (23:04 +0200)]
Dual-life Text::Abbrev

12 years agoFor shorter strings, store C<study>'s data as U8s or U16s, instead of U32s.
Nicholas Clark [Tue, 28 Jun 2011 13:20:56 +0000 (15:20 +0200)]
For shorter strings, store C<study>'s data as U8s or U16s, instead of U32s.

The assumption is that most studied strings are fairly short, hence the pain
of the extra code is worth it, given the memory savings.
80 character string, 336 bytes as U8, down from 1344 as U32
800 character string, 2112 bytes as U16, down from 4224 as U32

12 years agoStore C<study>'s data as U32s, instead of I32s.
Nicholas Clark [Tue, 28 Jun 2011 10:17:38 +0000 (12:17 +0200)]
Store C<study>'s data as U32s, instead of I32s.

The "no more" condition is now represented as ~0, instead of -1.

12 years agoTidy code in pp_study and Perl_screaminstr()
Nicholas Clark [Mon, 27 Jun 2011 19:13:39 +0000 (21:13 +0200)]
Tidy code in pp_study and Perl_screaminstr()

In pp_study eliminate the variable pos, which duplicates len. ch should be U8,
not I32.

In Perl_screaminstr(), move the declarations of s and x to their point of use,
convert a for loop to a while loop, and avoid incrementing and decrementing s.
found is a boolean.

12 years agoStore C<study>'s data in in mg_ptr instead of interpreter variables.
Nicholas Clark [Mon, 27 Jun 2011 18:51:04 +0000 (20:51 +0200)]
Store C<study>'s data in in mg_ptr instead of interpreter variables.

This allows more than one C<study> to be active at the same time.
It eliminates PL_screamfirst, PL_lastscream, PL_maxscream.

12 years agoMerge PL_scream{first,next} into one allocated buffer.
Nicholas Clark [Mon, 27 Jun 2011 15:58:10 +0000 (17:58 +0200)]
Merge PL_scream{first,next} into one allocated buffer.

Effectively, PL_screamnext is now PL_screamfirst + 256. The actual interpreter
variable PL_screamnext is eliminated.

12 years agoChange PL_screamnext to store absolute positions.
Nicholas Clark [Mon, 27 Jun 2011 15:14:39 +0000 (17:14 +0200)]
Change PL_screamnext to store absolute positions.

PL_screamnext gives the position of the next occurrence of the current octet.
Previously it stored this as an offset from the current position, with -pos
stored for "no more", so that the calculated new offset would be zero,
allowing a zero/non-zero loop exit test in Perl_screaminstr().

Now it stores absolute position, with -1 for "no more". Also codify -1 as the
"not present" value for PL_screamfirst, instead of any negative value.

12 years agoSplit out study magic from pos magic.
Nicholas Clark [Mon, 13 Jun 2011 14:24:23 +0000 (16:24 +0200)]
Split out study magic from pos magic.

study uses magic to call SvSCREAM_off() if the scalar is modified. Allocate it
its own magic type ('G' for now - pos magic is 'g'). Share the same "set"
routine and vtable as regexp/bm/fm (setregxp and vtbl_regexp).

12 years agoStop podcheck.t --add-link from chomping a new line
Father Chrysostomos [Fri, 1 Jul 2011 03:33:56 +0000 (20:33 -0700)]
Stop podcheck.t --add-link from chomping a new line

    # The rest of the db file is output unchanged.
    my_safer_print($copy_fh, join "\n", @existing_issues);

Well, actually that *does* change the file.  See the diff.

12 years agoAdd another address for Claes Jakobsson
Father Chrysostomos [Fri, 1 Jul 2011 02:19:14 +0000 (19:19 -0700)]
Add another address for Claes Jakobsson

12 years agoReport a better error when trying to use negative version numbers instead of 'Invalid...
Claes Jakobsson [Thu, 30 Jun 2011 20:09:13 +0000 (22:09 +0200)]
Report a better error when trying to use negative version numbers instead of 'Invalid version format (non-numeric data)' as it currently does. Also update documentation that version should be a positive number.