| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
If it’s not going to be using the pattern at all (due to iteration),
there is absolutely no point in parsing it.
This will speed up CORE::glob and <...> as well, since they use
csh_glob by default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
0.015 2011-10-26 16:42:26 America/New_York
[BUG FIXES]
- Make sure PERL_UNICODE doesn't affect PUT test data [Tony Cook]
[DOCUMENTATION]
- Fixed typo
|
|
|
|
|
|
|
| |
test_prep back to 5.001n, miniperl back to 5.000, for both 32 and 64 bit.
This requires backporting tweaks to the Linux hints file, and patching
early Configure to detect byteorder correctly as 87654321 when using
linker flags to build 64 bit.
|
|
|
|
|
|
| |
Fix Configure's symbol detection to that of commit 373dfab3839ca168 if it's
any intermediate version 5129fff43c4fe08c or later, as the intermediate
versions don't work correctly on (at least) Sparc Linux.
|
|
|
|
|
|
|
| |
This significantly reduces the number of "skip" revisions between 5.004 and
5.005, at worst speeding up bisects for problems which originate at this
time, at best permitting git bisect to locate the actual commit, instead of
a range of "skip"s.
|
|
|
|
|
|
| |
It had assumed that MANIFEST only listed files, which caused its
'force-manifest' code to choke on revisions between 27332437a2ed1941 and
bf3d9ec563d25054^ inclusive, as manifest contains ext/Thread/Thread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
6.63_01 Sun Oct 23 16:57:24 PDT 2011
Bug Fixes
* Stray $ in the PPD and meta files (for example, from the ABSTRACT)
are now escaped. [rt.cpan.org 71847]
Possibly incompatible changes
* echo() now escapes all dollar signs by default
New Features
* echo() has an option to allow make variable expansion.
* echo() is now passed a hash of options (old style $appending flag
still works for compatibility).
* quote_literal() now escapes dollar signs, but allows make variables.
* quote_literal() has an option to escape make variables.
* escape_dollarsigns() to escape dollar signs but allow variables
* escape_all_dollarsigns() to escape all dollar signs
Improvements
* The PPD VERSION is now derived from the VERSION variable in the Makefile
rather than hard coded.
Bundled Modules
* Updated CPAN::Meta to 2.112621
* Updated CPAN::Meta::YAML to 0.004
* Updated JSON::PP to 2.27200
6.62 Sun Oct 23 16:43:36 PDT 2011
No changes from 6.61_01
|
|
|
|
|
| |
I forgot about the default PERL_EXTERNAL_GLOB setting on VMS and the
special treatment of backslashes on Windows in bsd_glob.c.
|
|
|
|
| |
<...> is a double-quotish construct.
|
|
|
|
| |
This second sentence is no longer true as of 87b9e160.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File::Glob::csh_glob, which is the routine implementing Perl’s own
glob function, is not consistent in its treatment of quotation marks
and backslashes. It differs depending on whether there are white-
space characters in the pattern both preceded and followed by non-
whitespace.
Without whitespace, quotation marks are treated literally and back-
slashes are treated as escapes that cause metacharacters to be treated
literally. So
<"foo*">
looks for files with literal quotation marks in their name.
With whitespace, quotation marks are treated as word delimiters, so
<"foo copy*">
will find file names matching /^foo copy/. Backslash escapes are pro-
cessed twice, so one has to write
glob '\\\** .\\\**'
to find files beginning with a literal ‘*’ or ‘.*’. But simply
glob '\**'
to find files beginning with ‘*’. (Note that <> is a double-quotish
operator, so in <> those would have to be quadruple and double back-
slashes, respectively.)
There are two problems with the code:
1) Text::Parsewords is only used when there is whitespace present. It
should be used also for quotation marks, too, if they exist.
2) Text::Parsewords should not be removing backslash escapes.
3) Actually, there’s a third. A final escaped space should also go
through Text::ParseWords, instead of being stripped.
This commit fixes both things.
|
|
|
|
|
| |
With this, bisect-runner.pl can build on Solaris (at least x86 Solaris) back
to 5.000.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit a3342be368 localised %ENV before calling csh for glob. But
that causes <~> to stop working. So this commit clears out %ENV
*except* for $ENV{HOME}.
It relies on the way magic works: Before localising the %ENV hash, it
retrieves its $ENV{HOME} element, which is a magical scalar. It calls
get-magic to store the value in the scalar itself, localises %ENV, and
then calls set-magic on the element, to signal (deceitfully) that an assignment has just happened. So the cached value in the magical sca-
lar is used and assigned to the env var.
|
|
|
|
| |
TonyC: add new ipv6_mreq.t test script to MANIFEST
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
E.g., this overflows INT_MAX and overruns heap memory:
$ perl -le 'print "v"x(2**31+1)'
[Exit 139 (SEGV)]
(Perl_repeatcpy): Use the same type for "count" as our sole
callers in pp.c: IV (long), not I32 (int). Otherwise, passing
the wider value to a narrower "I32 count"
|
| |
|
|
|
|
| |
C++ requires a cast to convert from void * to other types.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
work if those objects are blessed into class names containing '='.
This is due to incorrect parsing through 'split' in dumpvar.pl line 165.
|
| |
|
|
|
|
|
|
|
|
|
| |
[DELTA]
0.81 Sun Oct 23 21:32:36 2011
- U::C::Locale newly supports locales: ml, mr, or, pa.
- added loc_ml.t, loc_mr.t, loc_or.t, loc_pa.t in t.
- updated some locales to CLDR 2.0 : mk, mt, nb, nn, ro, ru.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The historical OpenBSD hints file needs tweaking for compiler and linker
flags, and needs to be provided for revisions before it was added to the
source tree. perl.h and pp_sys.c need patching with the current (i.e. post
1996) #ifdef forest for [gs]etpgrp() variants. perl.h needs to include
<unistd.h> on OpenBSD, else POSIX.xs won't build.
OpenBSD also requires all the parallel Makefile fixes, as its make builds
targets in reverse lexical order, which reveals a lot of assumptions about
build order. (Such as Cwd nearly always being built in time, because it
sorts lexically far ahead of other XS modules dependant on it.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch in all 4 "extra_dep" rules for XS modules if any are needed as it
simplifies the implementation. It does no harm to have dependency rules for
XS modules "from the future", as they are ignored if the module is not
present. None were needed before Cwd was first converted to an XS module,
so use that as the test for applicability.
Remove a short-lived set of Makefile rules that attempted to run the regen
scripts if needed (commits 9fec149bb652b6e9 and 5bab1179608f81d8), as they
obscure whether correctly regenerated headers were checked in, and can cause
spurious rebuilds or timing-related parallel make failures.
Remove the code to explicitly set @INC in POSIX's Makefile.PL, as the @INC
it sets will cause build failures with make_ext.pl if Cwd isn't built first,
whereas the @INC set by make_ext.pl has no such issue.
|
|
|
|
|
|
|
|
|
|
| |
Previously for these two targets it assumed --test-build if a --match
wasn't supplied, and never ran a test case if one was supplied. Now
--test-build must be specified explicitly, otherwise the test case will be
run. For example, this makes it easy to bisect using a testcase which greps
config.sh or config.h. (Of course, one can do roughly this with the --match
option, but this will match against all generated files, which may generate
false positives.)
|
|
|
|
|
|
|
|
|
|
| |
This stops PL_curstash from pointing to a freed-and-reused scalar in
cases like ‘package Foo; BEGIN {*Foo:: = *Bar::}’.
In such cases, another BEGIN block, or any subroutine definition,
would cause a crash. Now it just happily proceeds. newATTRSUB and
newXS have been modified not to call mro_method_changed_in in such
cases, as it doesn’t make sense.
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.58 Sat Oct 22 20:25:00 2011
============================================
* Apply patch from Craig A. Berry [rt#71846]
make _untar_bin use Unix-syntax archive names
on VMS
|
|
|
|
|
| |
These tests make sure that a user-defined property may be included as
part of another user-defined property.
|
|
|
|
|
|
| |
5.14 restricted the names of user-defined property subroutines to begin
with 'Is' and 'In', as has always been documented. But the example
in that documentation didn't follow that restriction.
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
5.0150036 Sat 22 Oct 2011 16:20:34 +0100
* Website moved from faq.perl.org -> learn.perl.org (ranguard)
* Delete some questions/cleanup copy (ranguard)
* Make perlfaq.pod shorter/cleaner (kablamo)
* Many cleanups and corrections (shlomif)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
0.014 2011-10-20 13:54:13 America/New_York
[NEW FEATURES]
- Adds additional shorthand methods for all common HTTP verbs
(HEAD, PUT, POST, DELETE) [David Golden]
- post_form() method for POST-ing x-www-form-urlencoded data
[David Golden]
- www_form_urlencode() utility method [David Golden]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit reimplements $[ using PL_check hooks, custom pp func-
tions and ties.
Outside of its compile-time use, $[ is now parsed as a simple varia-
ble, so function calls like foo($[) are permitted, which was not the
case with the former implementation removed by e1dccc0. I consider
that a bug fix.
The ‘That use of $[ is unsupported’ errors are out of necessity
deferred to run-time and implemented by a tied $[.
Indices between 0 and the array base are now treated consistently, as
are indices between a negative array base and zero. That, too, is
a bug fix.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This makes it just a little bit easier for release managers
and also fixes the perennial north-hemisphere bias in the future
release date.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We already have porting tests catching this. I really don't see how this could
end up being screwed or how it'd be more likely at this point during the release
process than at any other time.
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks, David!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was only ever turning it on, and not turning it off if the sv hap-
pened to have it on from its previous use.
This caused ref() (which uses sv_sethek(TARG,...)) to return a shared
scalar with the UTF8 flag on, even if it was supposed to be off.
For shared scalars, the UTF8 flag on ASCII strings does make a differ-
ence. The pv *and* the flags are used in hash lookup, for speed.
So a scalar returned by ref() with the UTF8 flag on by mistake would
not work in hash lookups. exists $classes{ref $foo} would return
false, even if there were an entry for that class.
|