Peter J. Acklam [Fri, 7 Jan 2011 07:07:02 +0000 (23:07 -0800)]
Fix typos (spelling errors) in cpan/CPANPLUS/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81788]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81788 >
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:14 +0000 (23:14 -0800)]
Fix typos (spelling errors) in Porting/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81910]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81910 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:20 +0000 (23:13 -0800)]
Fix typos (spelling errors) in os2/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81900]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81900 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:36 +0000 (23:12 -0800)]
Fix typos (spelling errors) in install files.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81886]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81886 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:59 +0000 (23:12 -0800)]
Fix typos (spelling errors) in lib/*
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81890]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81890 >
Signed-off-by: Abigail <abigail@abigail.be>
Abigail [Fri, 7 Jan 2011 10:31:48 +0000 (11:31 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:03 +0000 (23:13 -0800)]
Fix typos (spelling errors) in misc. files.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81894]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81894 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:01 +0000 (23:13 -0800)]
Fix typos (spelling errors) in MANIFEST.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81892]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81892 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:42 +0000 (23:12 -0800)]
Fix typos (spelling errors) in dist/*
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81888]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81888 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:50 +0000 (23:14 -0800)]
Fix typos (spelling errors) in x2p/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81920]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81920 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:48 +0000 (23:14 -0800)]
Fix typos (spelling errors) in vms/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81918]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81918 >
Signed-off-by: Abigail <abigail@abigail.be>
Rainer Tammer [Fri, 7 Jan 2011 10:14:27 +0000 (10:14 +0000)]
[PATCH] Minor problem in cookie.t
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:00 +0000 (23:14 -0800)]
Fix typos in pod/*
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81906]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81906 >
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:45 +0000 (23:14 -0800)]
Fix typos (spelling errors) in t/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81916]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81916 >
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:20 +0000 (23:14 -0800)]
Fix typos (spelling errors) in README*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81912]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81912 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:56 +0000 (23:13 -0800)]
Fix typos (spelling errors) in Perl sources.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81904]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81904 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:43 +0000 (23:13 -0800)]
Fix typos (spelling errors) in plan9/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81902]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81902 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:17 +0000 (23:13 -0800)]
Fix typos (spelling errors) in NetWare/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81898]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81898 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:09 +0000 (23:13 -0800)]
Fix typos (spelling errors) in mpeix/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81896]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81896 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:20 +0000 (23:12 -0800)]
Fix typos (spelling errors) in ext/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81882]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81882 >
Signed-off-by: Abigail <abigail@abigail.be>
Peter J. Acklam) (via RT [Thu, 6 Jan 2011 21:38:10 +0000 (13:38 -0800)]
Fix typos (spelling errors) in beos/*.
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81746]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81746 >
Signed-off-by: Abigail <abigail@abigail.be>
David Golden [Fri, 7 Jan 2011 02:38:00 +0000 (21:38 -0500)]
Update Module::Metadata to 1.000003
David Golden [Thu, 6 Jan 2011 03:47:41 +0000 (22:47 -0500)]
Add Module::Metadata as a dual-life core module
This commit adds Module::Metadata 1.000002 as a dual-life module. It
gathers package and POD information from Perl module files. It is a
standalone module based on Module::Build::ModuleInfo for use by other
module installation toolchain components. Module::Build::ModuleInfo
has been deprecated in favor of this module instead.
David Golden [Fri, 7 Jan 2011 02:07:19 +0000 (21:07 -0500)]
update version.pm in Maintainers.pl
John Peacock [Fri, 7 Jan 2011 01:02:37 +0000 (20:02 -0500)]
Sync with version 0.88 on CPAN
Jan Dubois [Fri, 7 Jan 2011 00:07:40 +0000 (16:07 -0800)]
Update to Win32-0.42 from CPAN
Craig A. Berry [Thu, 6 Jan 2011 23:48:41 +0000 (17:48 -0600)]
Update K&R-style function declarations in dl_vms.xs.
Craig A. Berry [Thu, 6 Jan 2011 23:42:37 +0000 (17:42 -0600)]
Build json_pp.com on VMS.
Craig A. Berry [Thu, 6 Jan 2011 01:14:06 +0000 (19:14 -0600)]
Make newline on last record explicit.
On VMS, the last line written to a file will get a trailing newline
willy nilly. This has its advantages insofar as you never get the
"no newline at end of file" warnings from various utilities, but
reality conflicts with expectations when you explicitly test for
the last (or only) line *not* ending with newline, which is what
the recent addtion to ref.t (
5e3072707906cc4cb8a364c4cf7c487df0300caa)
was doing. Adding an explicit newline makes everyone happy.
Craig A. Berry [Thu, 6 Jan 2011 00:34:18 +0000 (18:34 -0600)]
Remove cc_runtime.h from the VMS build.
Follow-up to
1daf3b755691d9e2e52b73fcc1111714808c874a.
David Golden [Thu, 6 Jan 2011 03:25:23 +0000 (22:25 -0500)]
Add Perl::OSType as a dual-life core module
This commit adds Perl::OSType 1.002 as a dual-life module. It maps Perl
operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic
types with standardized names (e.g. "Unix" or "Windows"). It has been
refactored out of Module::Build and ExtUtils::CBuilder and consolidates
such mappings into a single location for easier maintenance.
c.f.
http://www.nntp.perl.org/group/perl.perl5.porters/2010/05/msg160280.html
Chris 'BinGOs' Williams [Wed, 5 Jan 2011 23:35:15 +0000 (23:35 +0000)]
Update CGI to CPAN version 3.51
[DELTA]
Version 3.51
[NEW FEATURES]
- A new option to set $CGI::Carp::TO_BROWSER = 0, allows you to explicitly
exclude a particular scope from triggering printing to the browser when
fatatlsToBrowser is set. (RT#62783, Thanks to papowell)
- The <script> tag now supports the "charset" attribute.
(RT#62907, Thanks to Fabrice Metge)
- In CGI::Cookie, "Max-Age" is now supported for better spec compliance.
(Mark Stosberg)
[BUG FIXES]
- Setting charset() now works for all content types, not just "text/*".
(RT#57945, Thanks to Yanick and Gerv.)
- support for user temporary directories ($HOME/tmp) was commented out
in 2.61 but the documentation wasn't updated (Peter Gervai, Niko Tyni)
- setting $CGITempFile::TMPDIRECTORY before loading CGI.pm has been
working but undocumented since 3.12 (which listed it in Changes as
$CGI::TMPDIRECTORY) (Peter Gervai, Niko Tyni)
- unfortunately the previous change broke the runtime check for looking
for a new temporary directory if the current one suddenly became
unwritable (Peter Gervai, Niko Tyni)
- A bug was fixed in CGI::Carp triggered by certain death cases in
the BEGIN phase of parent classes.
(RT#57224, Thanks to UNERA, Yanick Champoux, Mark Stosberg)
- CGI::Cookie->new() now follows the documentation and returns undef
if the -name and -value args aren't provided. This new behavior is also
consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg)
- CGI::Cookie->parse() now trims leading and trailing whitespace from cookie
elements as intended. The change also makes this part of the parsing
identical to CGI::Simple::Cookie (Mark Stosberg)
- Temp file handling was improved (RT#62762)
[SECURITY]
- Further improvements have been made to guard against newline injections
in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg)
[PERFORMANCE]
- Make EBCDIC a compile-time constant so there's zero overhead (and less
compiled code) in subroutines that test for it. (Tim Bunce)
- If you just want to use CGI::Cookie, CGI.pm will no longer be loaded
unless you call the bake() method, which requires it. (Mark Stosberg)
[DOCUMENTATION]
- quit referring to the <link> tag as being "rarely used". (Victor Sanders)
- typo and whitespace fixes (RT#62785, thanks to scop@cpan.org)
- The -dtd argument to start_html() is now documented
(RT#60473, Thanks to giecrilj and steve@fisharerojo.org)
- CGI::Carp doc are updated to reflect that it can work with mod_perl 2.0.
- when creating a temporary file in the directory fails, the error message
could indicate the root of the problem better (Peter Gervai, Niko Tyni)
[INTERNALS]
- Re-fixing https test in http.t. (RT#54768, thanks to SPROUT)
- param_fetch no longer triggers a warning when called with no arguments (ysth, Mark Stosberg)
Nicholas Clark [Wed, 5 Jan 2011 16:39:50 +0000 (16:39 +0000)]
Calling "PRINT" on a tied STDERR can use G_DISCARD, as the result is ignored.
David Mitchell [Wed, 5 Jan 2011 18:39:30 +0000 (18:39 +0000)]
Devel-Peek/Peek.pm: update example outputs in pod
Quite a lot has changed since those examples were written:
the RV body type no longer exists, the indentation is different,
the address of the SV as well as its body is now displayed,
and various fields are no longer displayed by default.
Also, as per https://rt.cpan.org/Public/Bug/Display.html?id=56286,
the 2-element array example had the wrong FILL/MAX.
Karl Williamson [Wed, 5 Jan 2011 17:11:49 +0000 (10:11 -0700)]
utf8.h: Add macros for problematic code points
Surrogates, non-character code points, and non-Unicode code points are
problematic in some contexts. These macros allow easy determination if
a code point is in one of these classes. There are versions both for
UVs, and utf8-encoded.
Nicholas Clark [Wed, 5 Jan 2011 15:47:44 +0000 (15:47 +0000)]
Convert tied READLINE to using Perl_tied_method()
Karl Williamson [Mon, 3 Jan 2011 23:52:53 +0000 (16:52 -0700)]
perlrepository: Add example of why tests need running
Nicholas Clark [Wed, 5 Jan 2011 13:19:50 +0000 (13:19 +0000)]
Convert tied PRINT to using Perl_tied_method()
Add a flag TIED_METHOD_SAY to Perl_tied_method(), to allow tied PRINT to
effect C<local $\ = "\n";> within the ENTER/LEAVE pair of Perl_tied_method().
Nicholas Clark [Wed, 5 Jan 2011 12:39:53 +0000 (12:39 +0000)]
Convert tied SPLICE to using Perl_tied_method()
Nicholas Clark [Wed, 5 Jan 2011 11:43:58 +0000 (11:43 +0000)]
Rename tied_handle_method() to tied_method(), and make it non-static.
It can be used for (at least) the call to "SPLICE" from pp_splice.
Nicholas Clark [Wed, 5 Jan 2011 11:07:22 +0000 (11:07 +0000)]
In pp_sys.c, rename the macro tied_handle_method() to tied_handle_method0()
This makes it clear that it's not a direct aTHX_ wrapper for
S_tied_handle_method().
Nicholas Clark [Wed, 5 Jan 2011 10:58:03 +0000 (10:58 +0000)]
The mg parameter to S_tied_handle_method() can be const MG *
Nicholas Clark [Wed, 5 Jan 2011 09:47:09 +0000 (09:47 +0000)]
Split the flags and argc parameters to S_tied_handle_method().
Previously they were combined into one numeric value, using a bitshift. This
was a false economy.
David Mitchell [Wed, 5 Jan 2011 11:56:15 +0000 (11:56 +0000)]
remove cc_runtime.h from core
It was only needed for B::CC, which was removed from core
in 5.10.0
Paul "LeoNerd" Evans [Tue, 4 Jan 2011 17:04:47 +0000 (17:04 +0000)]
Support emulation of AI_NUMERICSERV even though it's not strictly RFC 2553, because most OSes support it anyway, and it's easy to do
brian d foy [Wed, 5 Jan 2011 05:00:30 +0000 (23:00 -0600)]
perlfaq1: less "more faster"
Karl Williamson [Wed, 5 Jan 2011 00:01:09 +0000 (17:01 -0700)]
mktables: Small performance enhancement
Instead of generating a separate list of missing ranges in a table, it's
less work to use the fill-in the missing ranges feature.
Karl Williamson [Tue, 4 Jan 2011 23:59:45 +0000 (16:59 -0700)]
mktables: white space-only change
A previous commit removed the 'if' around this code, so can outdent it.
Karl Williamson [Tue, 4 Jan 2011 23:56:55 +0000 (16:56 -0700)]
mktables: remove unneeded test
When I was originally writing this code, I thought it was faster to do
an extra substr to avoid a regex match. I have since found out that is
not true.
Karl Williamson [Tue, 4 Jan 2011 23:56:31 +0000 (16:56 -0700)]
mktables: typos in comments
Karl Williamson [Tue, 4 Jan 2011 23:53:13 +0000 (16:53 -0700)]
mktables: improve debug statement
Don't output an empty list.
Karl Williamson [Tue, 4 Jan 2011 23:50:04 +0000 (16:50 -0700)]
mktables: Add error check
This makes sure that in certain cases when adding to a table that we
know should not have elements in the area that it actually does.
Paul "LeoNerd" Evans [Tue, 4 Jan 2011 16:38:08 +0000 (16:38 +0000)]
Use Zero() rather than rely on C99 struct initialiser behaviour
Signed-off-by: Ævar Arnfjörð Bjarmason <avar@cpan.org>
Nicholas Clark [Tue, 4 Jan 2011 16:59:46 +0000 (16:59 +0000)]
Convert tied WRITE to using S_tied_handle_method()
Nicholas Clark [Tue, 4 Jan 2011 15:31:03 +0000 (15:31 +0000)]
Convert tied READ to using S_tied_handle_method()
Nicholas Clark [Tue, 4 Jan 2011 12:23:30 +0000 (12:23 +0000)]
Convert tied PRINTF to using S_tied_handle_method()
Nicholas Clark [Tue, 4 Jan 2011 11:54:25 +0000 (11:54 +0000)]
Convert tied OPEN to using S_tied_handle_method()
Add a new flag ARGUMENTS_ON_STACK to S_tied_handle_method(), which methods
which take a list (OPEN, PRINTF, READ and WRITE) will need.
Nicholas Clark [Tue, 4 Jan 2011 11:36:48 +0000 (11:36 +0000)]
In pp_sys.c, move S_tied_handle_method() before pp_open.
David Mitchell [Tue, 4 Jan 2011 14:36:37 +0000 (14:36 +0000)]
stash.t: make TODO tests only TODO under threads
.. since they only fail under threads.
Nicholas Clark [Tue, 4 Jan 2011 10:13:42 +0000 (10:13 +0000)]
Remove a long-vestigial PUTBACK from the tied OPEN code in pp_send.
Commit
4592e6caefc41a75, from 1999, added the PUTBACK as part of the initial
implementation of tied OPEN. At this time, pp_open (as then was) popped the
arguments off the stack (to local variables), so the new tie code pushed them
back onto the stack, before calling the method. The stack position was
manipulated, hence the local variable sp had potentially diverged from the
global PL_stack_sp, hence the latter needed updating.
Commit
a567e93b903bc984, from 2001, which added support for
open $fh, '|-', @array; refactored pp_open to avoid all stack manipulation.
Hence sp (the local variable) never changes along this code path, hence it
never needs to be written back to PL_stack_sp.
Nicholas Clark [Tue, 4 Jan 2011 09:48:27 +0000 (09:48 +0000)]
Converge the implementation of tied OPEN with PRINTF, READ and WRITE.
Consistency will make it easier to refactor.
Reini Urban [Tue, 14 Sep 2010 16:04:22 +0000 (18:04 +0200)]
build man pages on cygwin too
Reini Urban [Tue, 14 Sep 2010 15:54:15 +0000 (17:54 +0200)]
Improve cygwin rebase behaviour
If a dll is updated on cygwin reuse the old imagebase address.
This solves most rebase errors, esp when updating on core dll's.
See http://www.tishler.net/jason/software/rebase/rebase-2.4.2.README
Nicholas Clark [Tue, 4 Jan 2011 08:29:35 +0000 (08:29 +0000)]
Refactor filenames.t to use unlike() and cmp_ok() for better diagnostics.
Also, use regexs in place of the loops over @dont and @more_dont, the lists
of Win32 (was DOS (was CP/M)) reserved device filenames and of disallowed
characters. This makes the intent clearer, at the cost of some runtime.
Jan Dubois [Tue, 4 Jan 2011 02:40:17 +0000 (18:40 -0800)]
Don't install Cygwin code into other platforms
DynaLoader already has its own preprocessor to filter out code that
is only relevant on other platforms, so use it for the change from
commit
cc7e77fd
Jesse Vincent [Mon, 3 Jan 2011 17:24:05 +0000 (01:24 +0800)]
update t/porting/filenames.t to check for path components contaning two
"." characters or with lenghts exceeding 32 characters.
David Mitchell [Mon, 3 Jan 2011 16:49:02 +0000 (16:49 +0000)]
regen/overload.pl: add comments to overload.[ch]
In the auto-generated overload.c and overload.h files, add a comment to
each line mapping from the method name to the enumeration name and
vice-versa.
Jesse Vincent [Mon, 3 Jan 2011 16:41:22 +0000 (00:41 +0800)]
Actuall excise 'Apollo DomainOS' support. We officially killed it in 5.11.0. It
hadn't worked for years before that.
Zsbán Ambrus [Mon, 3 Jan 2011 16:41:35 +0000 (08:41 -0800)]
Add link for v5.8.5-RC1 announcement
Reini Urban [Tue, 14 Sep 2010 15:48:32 +0000 (17:48 +0200)]
CYG14 Dynaloader without USEIMPORTLIB, and search cyg prefix
part1: Support the standard cyg dll prefix, which is e.g. needed for FFI's.
Ctypes and C::DynaLib use DynaLoader to find dlls.
part2: With -DUSEIMPORTLIB DynaLoader symbols link against the prefixed
symbol names for the .dll.a importlib, but we need to link against the
symbols directly. We don't link Dynaloader against libperl.dll.a.
Otherwise:
$ g++-4 -o cygperl5_13_4.dll --shared perlsrc.o cygwin.o DynaLoader.o -ldl -lcrypt
Creating library file: libperl.dll.a
DynaLoader.o: In function `XS_DynaLoader_dl_undef_symbols':
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_sp'
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_markstack_ptr'
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_base'
Reini Urban [Tue, 14 Sep 2010 16:06:38 +0000 (18:06 +0200)]
Update cygwin hints
do not use usemymalloc (double size + slow)
remove deprecated libcygipc info
remove overlarge stack size
David Mitchell [Mon, 3 Jan 2011 12:56:51 +0000 (12:56 +0000)]
reindent tryAMAGICunTARGET after previous change
David Mitchell [Mon, 3 Jan 2011 12:54:21 +0000 (12:54 +0000)]
simplify tryAMAGICunTARGET
Expecting the targ in sp[-1] rather than sp[0] is accomplished
cleanly using dATARGET.
David Mitchell [Mon, 3 Jan 2011 12:51:27 +0000 (12:51 +0000)]
fix a few typos in lib/overload.t
Vincent Pit [Mon, 3 Jan 2011 11:05:57 +0000 (12:05 +0100)]
Reindent pp_rv2av
Father Chrysostomos [Mon, 3 Jan 2011 07:49:17 +0000 (23:49 -0800)]
missing article
Father Chrysostomos [Mon, 3 Jan 2011 07:38:32 +0000 (23:38 -0800)]
Father Chrysostomos [Mon, 3 Jan 2011 07:21:14 +0000 (23:21 -0800)]
Silence a compiler warning
Father Chrysostomos [Mon, 3 Jan 2011 07:14:37 +0000 (23:14 -0800)]
Restore the old description of $[
The new entry is a bit too futuristic: assignment to $[ still works
and it is not read-only.
This does not fully restore the old description, as it contained
grammatical errors and parts of it were not updated when 5.10 changed
the scoping.
Father Chrysostomos [Mon, 3 Jan 2011 07:00:57 +0000 (23:00 -0800)]
Revert "[perl #68654] next::method doesn't see UNIVERSAL"
This reverts commit
a5cd004dbd757df2bcf9e17aab6a8ed1272157d7.
Father Chrysostomos [Mon, 3 Jan 2011 07:00:53 +0000 (23:00 -0800)]
Revert "[perl #80098] Bleadperl breaks Attribute::Lexical"
This reverts commit
1726bc11330f7a943b1e12c6dd5fa5454b90abd6.
Peter Martini [Mon, 3 Jan 2011 06:54:04 +0000 (22:54 -0800)]
[perl #45147] Issue with the exists function
Perl_av_exists tested to see if regdata magic was present,
but did not have any logic to fetch that data in the positive
key case. Additionally, in the negative key case, if AvFILL
indicated the key existed, it wouldn't return, and would then
fall through to the logic that treated it like a real array.
Zsbán Ambrus [Mon, 3 Jan 2011 04:25:55 +0000 (20:25 -0800)]
[perl #81032] Overhaul Porting/epigraphs.pod
This patch makes multiple changes to Porting/epigraphs.pod and
pod/perlhist.pod.
For those that don't know, Porting/epigraphs.pod is a new document that
collects the quotes (chosen by Pumpkins) in perl release announcements.
The changes are the following.
1. Add a link pointing to each release announcement in the mailing
list archives. These are from ysth's list, the source from which
Porting/epigraphs.pod was originally compiled, but they weren't in
Porting/epigraphs.pod so far.
2. Reorder Porting/epigraphs.pod chronologically, because I believe
that makes more sense -- pod/perlhist.pod is still sorted by version numbers.
3. Incidentally, some missing releases are added to pod/perlhist.pod too.
4. Fix a mistake where Porting/epigraphs.pod gives the wrong version number.
5. Add some epigraphs that appear in ysth's list but not in
Porting/epigraphs.pod.
6. I did some research in perl history before the part that ysth's list
covers, and added older perl announcements I found. This work is not
complete: I stopped somewhere in 2000.
Paul "LeoNerd" Evans [Thu, 30 Dec 2010 20:50:13 +0000 (20:50 +0000)]
Give a warning if pack_sockaddr_in6 is asked to pack a non-zero scope_id on machines that can't support it
Paul "LeoNerd" Evans [Thu, 30 Dec 2010 19:26:19 +0000 (19:26 +0000)]
Use HAS_SIN6_SCOPE_ID rather than glibc version testing
Paul "LeoNerd" Evans [Thu, 16 Dec 2010 11:49:49 +0000 (11:49 +0000)]
Bugfix to Socket.pm 's GAI fallback constants - use $name rather than $_
Paul "LeoNerd" Evans [Wed, 15 Dec 2010 16:02:19 +0000 (16:02 +0000)]
Capture newly-created unit tests to MANIFEST
Paul "LeoNerd" Evans [Wed, 15 Dec 2010 15:13:19 +0000 (15:13 +0000)]
Make Socket.pm 'use strict' clean
Paul "LeoNerd" Evans [Wed, 15 Dec 2010 14:37:51 +0000 (14:37 +0000)]
Provide fallback implementation of getaddrinfo and getnameinfo in pure perl if libc doesn't provide one
Paul "LeoNerd" Evans [Mon, 13 Dec 2010 18:13:10 +0000 (18:13 +0000)]
Initial documentation of getaddrinfo and getnameinfo functions
Paul "LeoNerd" Evans [Mon, 13 Dec 2010 17:50:56 +0000 (17:50 +0000)]
Unit tests for Socket::getaddrinfo() and Socket::getnameinfo()
Paul "LeoNerd" Evans [Mon, 13 Dec 2010 17:50:06 +0000 (17:50 +0000)]
Implement Socket::getaddrinfo() and Socket::getnameinfo(), with related constants
Paul "LeoNerd" Evans [Fri, 10 Dec 2010 15:02:30 +0000 (15:02 +0000)]
Conditionally set sa_len-type fields when packing sockaddr addresses
Nuno Carvalho [Fri, 24 Dec 2010 23:10:49 +0000 (23:10 +0000)]
Add new test file t/porting/filenames.t
Check portability of filenames from the MANIFEST. Modified by
committer to remove check for multiple dots -- there are already
too many violations and there are workarounds to handle them.
Also tweaked to report full path so it's easier to find culprits.
Still need checks for dots in directory names and paths that
differ only by case.
Craig A. Berry [Mon, 3 Jan 2011 00:19:51 +0000 (18:19 -0600)]
Clever tests may fool with $^O.
So make t/test.pl use its private version throughout.
David Golden [Fri, 31 Dec 2010 04:43:44 +0000 (23:43 -0500)]
Add JSON::PP to the Perl core
Per discussions with Jesse Vincent, JSON::PP has been added
to the Perl core to support the new CPAN meta file specification
Father Chrysostomos [Mon, 3 Jan 2011 02:30:17 +0000 (18:30 -0800)]
tests for [perl #36347] Object destruction incomplete
Father Chrysostomos [Sun, 2 Jan 2011 22:51:21 +0000 (14:51 -0800)]
[perl #36347] Object destruction incomplete
do_clean_objs only looks for objects referenced by RVs, so blessed
array references and lexical variables (and probably other SVs, too)
are not DESTROYed.
This commit adds a new visit() call to sv_clean_objs, which curses
(DESTROYs and un-blesses, leaving the reference count as it is) any
objects that are still left after do_clean_named_io_objs. The new
do_curse routine (a pointer to which is passeds to visit()) follows
do_clean_named_io_objs’ example and explicitly skips the STDOUT and
STDERR handles, in case destructors need to use them.
The cursing code, which is now called from two places, is moved out of
sv_clear and put in its own routine. The check that the reference
count is zero does not apply when called from sv_clean_objs, so the
new S_curse routine takes a boolean argument that determines whether
that check should take place.
brian d foy [Mon, 3 Jan 2011 02:27:39 +0000 (20:27 -0600)]
Merge branch 'briandfoy/perlfaq' into blead
brian d foy [Mon, 3 Jan 2011 02:26:01 +0000 (20:26 -0600)]
perlfaq1: Adjust some of the language around the Perl 6 references