14 years agoLOGONLY mark e42956 as DOC but verify needed since I want somebody to check my logic...
Matt S Trout [Thu, 17 Jun 2010 02:33:57 +0000]
LOGONLY mark e42956 as DOC but verify needed since I want somebody to check my logic - and mark d08d57 as NODOC since I'm fairly sure e42956 is the interesting part

14 years agodoc e42956
Matt S Trout [Thu, 17 Jun 2010 02:33:30 +0000]
doc e42956

14 years agoLOGONLY marking 1db366c NODOC on grounds of 'meh'
Matt S Trout [Thu, 17 Jun 2010 02:25:44 +0000]
LOGONLY marking 1db366c NODOC on grounds of 'meh'

14 years agoLOGONLY marking f7abe7 as NODOC because I -think- while this is kinda cool it's not...
Matt S Trout [Thu, 17 Jun 2010 02:23:16 +0000]
LOGONLY marking f7abe7 as NODOC because I -think- while this is kinda cool it's not really user visible in and of itself; verify needed however since RT #73046 is mentioned and I can't tell if that's important (hey DHH, I -am- on a fucking plane ...)

14 years agoLOGONLY marking a09252e as HALPHALP because once again I have no idea what black...
Matt S Trout [Thu, 17 Jun 2010 02:20:02 +0000]
LOGONLY marking a09252e as HALPHALP because once again I have no idea what black magic Nicholas is casting

14 years agoLOGONLY marking 842c41 as NODOC since while it is theoretically an optimisation,...
Matt S Trout [Thu, 17 Jun 2010 02:17:04 +0000]
LOGONLY marking 842c41 as NODOC since while it is theoretically an optimisation, it's AFAICS most importantly cleanup and I'm not sure I can sensibly explain the optimisation bit to anybody not reading the diffs

14 years agoLOGONLY more delta entries marked as NODOC
Matt S Trout [Thu, 17 Jun 2010 02:15:22 +0000]
LOGONLY more delta entries marked as NODOC

14 years agoLOGONLY mark apidoc tweak NODOC since it's not AFAICS really anything except a typofix
Matt S Trout [Thu, 17 Jun 2010 02:14:42 +0000]
LOGONLY mark apidoc tweak NODOC since it's not AFAICS really anything except a typofix

14 years agoLOGONLY mark s///r commits as already doc'ed, mark administrivia commits as NODOC
Matt S Trout [Thu, 17 Jun 2010 02:12:40 +0000]
LOGONLY mark s///r commits as already doc'ed, mark administrivia commits as NODOC

14 years agoadd commit ids to s///r addition
Matt S Trout [Thu, 17 Jun 2010 02:12:02 +0000]
add commit ids to s///r addition

14 years agonuke some boilerplate from the delta
Matt S Trout [Thu, 17 Jun 2010 02:01:14 +0000]
nuke some boilerplate from the delta

14 years agoLOGONLY mark as HALPHALP 223f0fb since once again I have NO IDEA AT ALL what Nicholas...
Matt S Trout [Thu, 17 Jun 2010 01:56:18 +0000]
LOGONLY mark as HALPHALP 223f0fb since once again I have NO IDEA AT ALL what Nicholas is doing

14 years agoLOGONLY mark occ522 as NODOC since I don't -think- this needs to go into the delta...
Matt S Trout [Thu, 17 Jun 2010 01:53:11 +0000]
LOGONLY mark occ522 as NODOC since I don't -think- this needs to go into the delta, only the part where 'defined %stash::' is deprecated (which I presume it already there somewhere) - verify needed

14 years agoLOGONLY mark 4fa7c2 as NODOC since it's basically a correctness change
Matt S Trout [Thu, 17 Jun 2010 01:48:48 +0000]
LOGONLY mark 4fa7c2 as NODOC since it's basically a correctness change

14 years agoLOGONLY mark f4431c .. fcd245 as doc'ed
Matt S Trout [Thu, 17 Jun 2010 01:48:15 +0000]
LOGONLY mark f4431c .. fcd245 as doc'ed

14 years agodoc hv_fill changes in f4431c .. fcd245
Matt S Trout [Thu, 17 Jun 2010 01:47:58 +0000]
doc hv_fill changes in f4431c .. fcd245

14 years agoclean up the formatting of the performance section a bit
Matt S Trout [Thu, 17 Jun 2010 01:47:16 +0000]
clean up the formatting of the performance section a bit

14 years agoadd second commit id for overload/tie fixage
Matt S Trout [Wed, 16 Jun 2010 23:42:54 +0000]
add second commit id for overload/tie fixage

14 years agoLOGONLY mark 6f1401,ed3b9b already doc'ed in delta
Matt S Trout [Wed, 16 Jun 2010 23:41:00 +0000]
LOGONLY mark 6f1401,ed3b9b already doc'ed in delta

14 years agoadd commit id for dapm's overload respecting get magic fix
Matt S Trout [Wed, 16 Jun 2010 23:39:56 +0000]
add commit id for dapm's overload respecting get magic fix

14 years agoLOGONLY mark some deep magic by Nicholas as needing help (HALPHALP) - I suspect this...
Matt S Trout [Wed, 16 Jun 2010 23:38:48 +0000]
LOGONLY mark some deep magic by Nicholas as needing help (HALPHALP) - I suspect this can be summarised as 'made a bunch of structs a bunch more efficient' but I am WAY not confident enough of what's going on here

14 years agoLOGONLY mark 89c1d9 as NODOC - while the pedantry involved makes me feel warm and...
Matt S Trout [Wed, 16 Jun 2010 23:34:30 +0000]
LOGONLY mark 89c1d9 as NODOC - while the pedantry involved makes me feel warm and fuzzy I can't see this mattering for the delta

14 years agoLOGONLY mark 23ae7f as DOCed
Matt S Trout [Wed, 16 Jun 2010 23:31:34 +0000]
LOGONLY mark 23ae7f as DOCed

14 years agodoc 23ae7f
Matt S Trout [Wed, 16 Jun 2010 23:31:07 +0000]
doc 23ae7f

14 years agoLOGONLY mark ALREADY the last package block commit
Matt S Trout [Wed, 16 Jun 2010 23:28:37 +0000]
LOGONLY mark ALREADY the last package block commit

14 years agoadd commit ids to Zefram's docs for package block
Matt S Trout [Wed, 16 Jun 2010 23:27:47 +0000]
add commit ids to Zefram's docs for package block

14 years agoLOGONLY mark Zefram's package {} stuff as already doc'ed (cheers Zef)
Matt S Trout [Wed, 16 Jun 2010 23:24:24 +0000]
LOGONLY mark Zefram's package {} stuff as already doc'ed (cheers Zef)

14 years agoLOGONLY mark 78b7eff 4cf5ea b1faab 39f3f7 doc'ed as perf enchancements
Matt S Trout [Wed, 16 Jun 2010 23:22:51 +0000]
LOGONLY mark 78b7eff 4cf5ea b1faab 39f3f7 doc'ed as perf enchancements

14 years agodoc 78b7eff 4cf5ea b1faab 39f3f7 as perf enchancements
Matt S Trout [Wed, 16 Jun 2010 23:22:03 +0000]
doc 78b7eff 4cf5ea b1faab 39f3f7 as perf enchancements

14 years agoLOGONLY - mark SvIVX/SVt_REGEXP DOCed (verify - do we care?)
Matt S Trout [Wed, 16 Jun 2010 23:08:14 +0000]
LOGONLY - mark SvIVX/SVt_REGEXP DOCed (verify - do we care?)

14 years agoDocument e77da3
Matt S Trout [Wed, 16 Jun 2010 23:07:08 +0000]
Document e77da3

14 years agoLOGONLY - NODOC Nicholas' macro change (65ac17) (verify needed)
Matt S Trout [Wed, 16 Jun 2010 23:04:18 +0000]
LOGONLY - NODOC Nicholas' macro change (65ac17) (verify needed)

14 years agoLOGONLY - NODOC for rjbs' email change (ef01b67)
Matt S Trout [Wed, 16 Jun 2010 23:03:30 +0000]
LOGONLY - NODOC for rjbs' email change (ef01b67)

14 years agoLOGONLY annotated log from v5.13.1 tag - will rebase this away on merge
Matt S Trout [Wed, 16 Jun 2010 23:00:19 +0000]
LOGONLY annotated log from v5.13.1 tag - will rebase this away on merge

14 years agoDocument faee19
Matt S Trout [Wed, 16 Jun 2010 22:58:40 +0000]
Document faee19

14 years agodocument missing space after regex pattern in perldelta
David Golden [Fri, 18 Jun 2010 22:57:51 +0000]
document missing space after regex pattern in perldelta

14 years agoDeprecate no space between pattern, following word
Karl Williamson [Wed, 9 Jun 2010 20:40:14 +0000]
Deprecate no space between pattern, following word

This patch raises a deprecated warning on constructs like
    $result = $a =~ m/$foo/sand $bar;
which means
    $result = $a =~ m/$foo/s and $bar;

14 years agoFix list of constants to import to make this test pass
Rafael Garcia-Suarez [Fri, 18 Jun 2010 07:30:14 +0000]
Fix list of constants to import to make this test pass

14 years ago* FAQ sync
brian d foy [Thu, 17 Jun 2010 20:41:05 +0000]
* FAQ sync

This is commit 37550b8f812e591bcd0dd869d61677dac5bda92c from the
perlfaq repository at git@github.com:briandfoy/perlfaq.git

14 years agoAvoid warnings with undefined hash values [perl #74280]
Rafael Garcia-Suarez [Thu, 17 Jun 2010 12:19:03 +0000]
Avoid warnings with undefined hash values [perl #74280]

14 years agoDeparse correctly "no VERSION" [perl #75482]
Rafael Garcia-Suarez [Thu, 17 Jun 2010 09:40:36 +0000]
Deparse correctly "no VERSION" [perl #75482]

14 years agoAvoid compiler warnings in Perl_foldEQ_utf8, spotted by Jerry D. Hedden.
Nicholas Clark [Thu, 17 Jun 2010 16:54:25 +0000]
Avoid compiler warnings in Perl_foldEQ_utf8, spotted by Jerry D. Hedden.

14 years agoAvoid creating @EXPORT_FAIL in every package using Exporter.
Nicholas Clark [Thu, 17 Jun 2010 14:21:24 +0000]
Avoid creating @EXPORT_FAIL in every package using Exporter.

Previously, if package INKLE_KLINK is an Exporter, then the Exporter code's
symbolic lookup of \@{"INKLE_KLINK::EXPORT_FAIL"} would cause both that array
and the enclosing typeglob to be instantiated. Now the typeglob and array are
only created if present. (Strictly, if there's something in INKLE_KLINK's
symbol table for EXPORT_FAIL. But likely that will only ever be the array.)

This saves about 200 bytes per package that uses Exporter but does not need an
@EXPORT_FAIL.

14 years agoPERL_IMPLICIT_SYS also needs thread context for safesysfree()
Nicholas Clark [Thu, 17 Jun 2010 09:46:37 +0000]
PERL_IMPLICIT_SYS also needs thread context for safesysfree()

PERL_TRACK_MEMPOOL needs it to work without -DDEBUGGING.

Fixes for 0cb20dae370512c6 not addressed by 1f4d2d4e2e4bb7bb.

14 years agoStop using WITH_THR and WITH_THX, as they were never necessary here.
Nicholas Clark [Wed, 16 Jun 2010 19:47:22 +0000]
Stop using WITH_THR and WITH_THX, as they were never necessary here.

14 years agoPERL_IMPLICIT_SYS also needs thread context for the *alloc success paths.
Nicholas Clark [Wed, 16 Jun 2010 08:56:59 +0000]
PERL_IMPLICIT_SYS also needs thread context for the *alloc success paths.

0cb20dae370512c6 was a bit to aggressive in its deferral of dTHX.

14 years agoIn Perl_safesys{c,m,re}alloc(), defer dTHX for non-DEBUGING builds.
Nicholas Clark [Tue, 15 Jun 2010 20:26:14 +0000]
In Perl_safesys{c,m,re}alloc(), defer dTHX for non-DEBUGING builds.

Under ithreads, dTHX expands to pthread_getspecific() [or something similarly
expensive], which the compiler can't optimise away. However, its return value
isn't needed unless the allocation fails. So defer the call, hence avoiding
it entirely on a successful allocation.

DEBUGING builds require the value of dTHX for debugging purposes, so we can't
postpone it for them. Unthreaded builds were never affected as they don't use
thread local storage for the interpreter context.

14 years agoAttempt at improving the perlipc docs
Maik Hentsche [Tue, 15 Jun 2010 15:19:41 +0000]
Attempt at improving the perlipc docs

14 years agoRevert "It may not be obvious to a new Perl programmer that $#ary is explained in...
Rafael Garcia-Suarez [Tue, 15 Jun 2010 12:48:34 +0000]
Revert "It may not be obvious to a new Perl programmer that $#ary is explained in perldata.pod (see stackoverflow.com/questions/2997042/ )."

This reverts commit db2ed3fb308b082577e9315ba52b2cb266a2bd0a.

14 years agouc(): Handle Greek YPOGEGRAMMENI
Karl Williamson [Wed, 2 Jun 2010 21:07:29 +0000]
uc(): Handle Greek YPOGEGRAMMENI

Unicode contains two context-sensitive case-changing rules.  This patch
enables one of them, dealing with the Greek YPOGEGRAMMENI.  The code had
been #ifdef'd out, so the changes here are more than what the diff
shows.  The reason it was #ifdef'd out was because more research was
needed to verify that it was correct, which I have now done, and think
it is.

The issue is we may just be uppercasing a portion of the context, so
don't have complete knowledge of what should be done.  This patch causes
us to move the ypogegrammeni to as far right as it should go, or to the
end of the context we know about, whichever comes first.  That's the
best we can do.  If it really should be moved further to the right,
there's no way we can do it, because the user has not called uc()
with the full information needed.  So, in all cases, this is better than
just leaving it where it was in the input.  Also, the applicable context
is limited to a logical character, that matched by /\X/, so if the user
is calling uc() on a subset of a logical character, it really is their
mistake.

14 years agot/uni/case.pl: allow extra tests of different form
Karl Williamson [Wed, 2 Jun 2010 21:04:16 +0000]
t/uni/case.pl: allow extra tests of different form

Add an option to case.pl so that the callers can run extra tests that
don't fit in with it's format.  They just pass the number run to it, and
it adjusts the plan accordingly.

14 years agoAdd support for more TCP_ constants to Socket
Salvador Fandino [Tue, 15 Jun 2010 09:31:04 +0000]
Add support for more TCP_ constants to Socket

(plus bump version to 1.89)

14 years agoRemove debugging statement from mktables.
Karl Williamson [Mon, 31 May 2010 03:34:53 +0000]
Remove debugging statement from mktables.

A debugging statement was inadvertently left in which causes an
extraneous warning.

14 years agoIt may not be obvious to a new Perl programmer that $#ary is explained in perldata...
Sinan Unur [Tue, 8 Jun 2010 22:53:27 +0000]
It may not be obvious to a new Perl programmer that $#ary is explained in perldata.pod (see stackoverflow.com/questions/2997042/ ).

A possible solution is to place an entry in perlvar.pod pointing out
that $# was removed and pointing the user to perldata.pod for the
explanation of $#ary usage.

14 years agousemymalloc slows down newer openbsd [perl #75742]
Rafael Garcia-Suarez [Tue, 15 Jun 2010 08:16:35 +0000]
usemymalloc slows down newer openbsd [perl #75742]

14 years agoRename copyright section of Module::CoreList to LICENSE, fixes for my kwalitee score.
Chris 'BinGOs' Williams [Mon, 14 Jun 2010 09:07:27 +0000]
Rename copyright section of Module::CoreList to LICENSE, fixes for my kwalitee score.

14 years agoUpdate CPAN.pm to 1.94_57
Andreas J. Koenig [Mon, 14 Jun 2010 08:46:15 +0000]
Update CPAN.pm to 1.94_57

  2010-05-24  Andreas J. Koenig  <andk@cpan.org>

        * release 1.94_57

        * bugfix: treat modules correctly that are deprecated in perl 5.12.

        * bugfix: RT #57482 and #57788 revealed that configure_requires
        implicitly assumed build_requires instead of normal requires. (Reported
        by Andrew Whatson and Father Chrysostomos respectively)

        * testfix: solaris should run the tests without expect because (some?)
        solaris have a broken expect

        * testfix: run tests with cache_metadata off to prevent spill over
        effects from previous test runs

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>

14 years agoNote why pp_tie can't use call_method() for a package name.
Nicholas Clark [Mon, 14 Jun 2010 07:44:49 +0000]
Note why pp_tie can't use call_method() for a package name.

Plus a test that would fail if it did.

14 years agoMerge flags and argc parameters to S_tied_handle_method().
Nicholas Clark [Sun, 13 Jun 2010 14:25:53 +0000]
Merge flags and argc parameters to S_tied_handle_method().

This generates slightly smaller object code overall, which means that the "hot"
code (the non-overloaded paths through the ops) will be smaller, and hence more
likely to stay in the CPU cache.

14 years agoIn S_tied_handle_method() default to mortalizing extra arguments.
Nicholas Clark [Sun, 13 Jun 2010 13:02:14 +0000]
In S_tied_handle_method() default to mortalizing extra arguments.

Convert the gimme argument to a flags argument, and add a flag bit to signal
that mortalization is not required. Only "BINMODE" needs this.

14 years agoAdd a gimme parameter to S_tied_handle_method().
Nicholas Clark [Sun, 13 Jun 2010 10:38:16 +0000]
Add a gimme parameter to S_tied_handle_method().

This allows "GETC" to use it.

14 years agoChange S_tied_handle_method() to varargs to allow extra SV parameters.
Nicholas Clark [Sun, 13 Jun 2010 10:12:43 +0000]
Change S_tied_handle_method() to varargs to allow extra SV parameters.

This enables "BINMODE", "EOF" and "SYSSEEK" to use it.

14 years agoMerge simple tied handle method calls into S_tied_handle_method().
Nicholas Clark [Sun, 13 Jun 2010 08:34:56 +0000]
Merge simple tied handle method calls into S_tied_handle_method().

14 years agoFor tied file handle calls, use PUSH* when we know that the stack has space.
Nicholas Clark [Sat, 12 Jun 2010 20:29:03 +0000]
For tied file handle calls, use PUSH* when we know that the stack has space.

Previously the code was using XPUSH* in many cases, often to push back values
recently popped off the stack.

14 years agoRemove unecessary EXTEND()s from pp_sys.c
Nicholas Clark [Sat, 12 Jun 2010 18:51:19 +0000]
Remove unecessary EXTEND()s from pp_sys.c

If we've just POP*ed something from the stack, it will already have space.
If we conditionally POP* something from the stack, avoid the EXTEND() in that
path. Also, use PUSH() rather than XPUSH() where we know that the stack is large
enough. Changes to pp_close, pp_binmode, pp_enterwrite, pp_readlink and pp_alarm.

14 years agoIn pp_eof, ensure stack space for the second argument to the tied EOF method.
Nicholas Clark [Sun, 13 Jun 2010 07:50:00 +0000]
In pp_eof, ensure stack space for the second argument to the tied EOF method.

Commit 32e653230c7ccc7f added this second argument, but didn't verify that the
stack always had sufficient space for it.

14 years agoremove trailing spaces in perlvar.pod
David Golden [Wed, 9 Jun 2010 18:53:15 +0000]
remove trailing spaces in perlvar.pod

14 years agoLink to perlport/PLATFORMS from the $^O docs
Ævar Arnfjörð Bjarmason [Thu, 13 May 2010 22:02:25 +0000]
Link to perlport/PLATFORMS from the $^O docs

I was looking for some actual values of $^O the other day and started
ack-ing t/. Turns out that this was documented in perlport. Link to
the relevant section to make it easy to find.

14 years agoFix edge case in pp_eof where the stack extent was not checked.
Nicholas Clark [Sat, 12 Jun 2010 20:13:14 +0000]
Fix edge case in pp_eof where the stack extent was not checked.

Analogous to pp_getc and pp_tell in ac3697cd90b00fae, pp_eof has a conditional
POP from the stack, but an unconditional PUSH to the stack, but no check that
the stack had space for the PUSH. This bug has been present since perl 5.000.

14 years agoFix edge cases in pp_getc and pp_tell where the stack extent was not checked.
Nicholas Clark [Sat, 12 Jun 2010 19:43:37 +0000]
Fix edge cases in pp_getc and pp_tell where the stack extent was not checked.

Both conditionally POP a GV from the stack, but always PUSH a return value to
it. For the case where they did not POP the GV, they made no check that the
stack had space for the PUSH. This bug has been present since perl 5.000.

14 years agoBetter diagnostics on detecting case sensitive file name clashes.
Nicholas Clark [Sat, 12 Jun 2010 18:05:51 +0000]
Better diagnostics on detecting case sensitive file name clashes.

14 years agoAdded new files I forgot to add for the Thread-Semaphore update
Chris 'BinGOs' Williams [Fri, 11 Jun 2010 06:59:48 +0000]
Added new files I forgot to add for the Thread-Semaphore update

14 years ago[PATCH-revised] Upgrade to Thread-Semaphore 2.11
Jerry D. Hedden [Fri, 11 Jun 2010 06:57:34 +0000]
[PATCH-revised] Upgrade to Thread-Semaphore 2.11

  Added new methods ->down_nb() and ->down_force() at the suggestion of
  Rick Garlick.

  Refactored methods to skip argument validation when no argument is supplied.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>

14 years agoParameters for * in *printf must be int - add a cast to ensure this.
Nicholas Clark [Thu, 10 Jun 2010 08:01:18 +0000]
Parameters for * in *printf must be int - add a cast to ensure this.

Fixes a (legitimate) compiler warning present since 6e1bad6cc227c8e8.

14 years agoReorder CVf_* flags to be numerically contiguous again.
Nicholas Clark [Wed, 9 Jun 2010 18:53:20 +0000]
Reorder CVf_* flags to be numerically contiguous again.

The removal of CVf_ASSERTION in 584420f022db5722 and CVf_LOCKED in
e95ab0c0d2aa1b35 left two gaps in the sequence of bits in use.

14 years agoadded Chas. Owens to AUTHORS
David Golden [Wed, 9 Jun 2010 15:47:41 +0000]
added Chas. Owens to AUTHORS

14 years agoDocument $# and $* as removed
Chas. Owens [Wed, 9 Jun 2010 15:43:46 +0000]
Document $# and $* as removed

See email thread for reference:

http://www.nntp.perl.org/group/perl.perl5.porters/2010/06/msg160812.html

14 years agoResolve issue #74974: document File::Copy::copy(FILE, DIR)
Abigail [Tue, 8 Jun 2010 14:35:52 +0000]
Resolve issue #74974: document File::Copy::copy(FILE, DIR)

14 years agoFix long-standing typos in Policy_sh.SH
H.Merijn Brand [Tue, 8 Jun 2010 13:50:05 +0000]
Fix long-standing typos in Policy_sh.SH

This patch fixes several long-standing typos and naming confusions in
Policy_sh.SH, standardizing on the variable names used in config.sh.
This will change the behavior of Policy.sh if you happen to have been
accidentally relying on the Policy.sh incorrect behavior.  I'd appreciate
feedback from anyone using Policy.sh to be sure nothing is broken by
this change.  Thanks to Stoned Elipot for pointing this out.

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>

14 years agoperlbug: always allow change of sender address
David Mitchell [Mon, 7 Jun 2010 23:08:19 +0000]
perlbug: always allow change of sender address

The code that guessed a default sender address would under some
circumstances not display this guess to the user with the option to change
it. Specifically, if $Config{cf_me} eq {login id of the user running
perlbug}.

In my case, cf_email got set at build time (Configure default) of
'davem@pigeon.(none)', which was then silently used. Not good!

14 years agoperlbug -d,-v: fix uninit value warnings
David Mitchell [Mon, 7 Jun 2010 22:28:26 +0000]
perlbug -d,-v: fix uninit value warnings

14 years agodocument revert of 'local $tied' change
David Mitchell [Mon, 7 Jun 2010 21:18:35 +0000]
document revert of 'local $tied' change

14 years agoRevert "make 'local $tied' untied"
David Mitchell [Mon, 7 Jun 2010 21:11:42 +0000]
Revert "make 'local $tied' untied"

This reverts commit 191ad7eff570fc96c93993e4358f83e2033365d6.

Some modules (e.g. File::chdir) relied on the current behaviour of
local $tied_scalar, so lets leave things as-is for now. See

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-05/msg00627.html

14 years agoPATCH: Bump Locale-Codes from 3.12 to 3.13
Sullivan Beck [Mon, 7 Jun 2010 20:58:34 +0000]
PATCH: Bump Locale-Codes from 3.12 to 3.13

  Attached is a patch to upgrade the Locale-Codes distribution (containing
  the core modules Locale::Country, Locale::Language, and
  Locale::Currency) to the most recent version.

  ====
  Background:

  The core modules Locale::Country, Locale::Language, and Locale::Currency
  (all part of the Locale-Codes distribution) should be updated on a
  regular basis. They contain "codes" from various internet standards
  which change over time.

  I plan on releasing new versions twice a year to keep the codes
  up-to-date. At this point, I'm not planning on any significant code
  changes (other than bug fixes), so the only significant changes
  between releases should be to update the codes.

14 years agoidentify a few vars in intrpvar.h
David Mitchell [Mon, 7 Jun 2010 17:23:43 +0000]
identify a few vars in intrpvar.h

14 years agoregexec.c: change names of two vars for clarity
Karl Williamson [Sun, 6 Jun 2010 14:50:24 +0000]
regexec.c: change names of two vars for clarity

do_utf8 is changed to utf8_target
UTF is changed to UTF_PATTERN

This will help me keep track of the fact that there are four possible
combinations of these, and that ! do_utf8 doesn't necessarily mean don't
do utf8.

14 years agoRemove -w recommendation in perl -h
David Golden [Mon, 7 Jun 2010 11:07:10 +0000]
Remove -w recommendation in perl -h

Abigail already said it best:

  I do not think 'perl -h' is the place to give recommendations on how
  code should be written. 'perl -h' gives a list and a brief explanation
  of the command line switches. IMO, it should do just that, and nothing
  else.

14 years agoSpell-check fixes in ext
H.Merijn Brand [Mon, 7 Jun 2010 10:19:32 +0000]
Spell-check fixes in ext

14 years agoSpell-check fixes in lib
H.Merijn Brand [Mon, 7 Jun 2010 10:17:22 +0000]
Spell-check fixes in lib

14 years agoSpell check fixes in CPAN
H.Merijn Brand [Mon, 7 Jun 2010 10:17:09 +0000]
Spell check fixes in CPAN

already fixed upstream

14 years agoglob crashes when %File::Glob:: is empty
Father Chrysostomos [Mon, 7 Jun 2010 10:07:11 +0000]
glob crashes when %File::Glob:: is empty

In 5.6.2, a failure to find a CORE::GLOBAL::glob after loading
File::Glob would result in a fallback to external glob via pp_glob.
Now it crashes.

The attached patch should fix this.

14 years agoperlhack: Add reference to TAP for test protocol
Karl Williamson [Wed, 2 Jun 2010 18:33:56 +0000]
perlhack: Add reference to TAP for test protocol

14 years agoperlhack: fix formatting issues
Karl Williamson [Wed, 2 Jun 2010 18:32:19 +0000]
perlhack: fix formatting issues

Change some lines so won't overflow 80 column width; make a link.

14 years agoPATCH: uniprops.t take advantage of EBCDIC test.pl
Karl Williamson [Sun, 30 May 2010 20:11:52 +0000]
PATCH: uniprops.t take advantage of EBCDIC test.pl

This patch removes the partial solution to testing on EBCDIC platforms
that was in uniprops.t (generated by mktables), and replaces it with the
simple complete solution now in test.pl

14 years agoreduce size of regmatch_state.u.curlyx by 2 words
David Mitchell [Sun, 6 Jun 2010 20:09:22 +0000]
reduce size of regmatch_state.u.curlyx by 2 words

14 years agomicro-optimise a bit of trie code
David Mitchell [Sun, 6 Jun 2010 17:48:49 +0000]
micro-optimise a bit of trie code

14 years agoTest the return value of push and unshift.
Nicholas Clark [Sun, 6 Jun 2010 09:50:56 +0000]
Test the return value of push and unshift.

14 years agoConvert tiearray.t to test.pl.
Nicholas Clark [Sun, 6 Jun 2010 09:46:16 +0000]
Convert tiearray.t to test.pl.

14 years agoChange regexec.c to use new foldEQ functions
Karl Williamson [Sat, 5 Jun 2010 17:25:58 +0000]
Change regexec.c to use new foldEQ functions

14 years agoChange name of ibcmp to foldEQ
Karl Williamson [Sat, 5 Jun 2010 17:12:47 +0000]
Change name of ibcmp to foldEQ

As discussed on p5p, ibcmp has different semantics from other cmp
functions in that it is a binary instead of ternary function.  It is
less confusing then to have a name that implies true/false.

There are three functions affected: ibcmp, ibcmp_locale and ibcmp_utf8.
ibcmp is actually equivalent to foldNE, but for the same reason that things
like 'unless' and 'until' are cautioned against, I changed the functions
to foldEQ, so that the existing names, like ibcmp_utf8 are defined as
macros as being the complement of foldEQ.

This patch also changes the one file where turning ibcmp into a macro
causes problems.  It changes it to use the new name.  It also documents
for the first time ibcmp, ibcmp_locale and their new names.