Chris 'BinGOs' Williams [Mon, 18 Feb 2013 18:39:15 +0000 (18:39 +0000)]
Document encoding deprecation in perldelta
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 08:08:25 +0000 (08:08 +0000)]
Update Encode to CPAN version 2.48
[DELTA]
$Revision: 2.48 $ $Date: 2013/02/18 02:23:56 $
! encoding.pm
t/Mod_EUCJP.pm t/enc_data.t t/enc_eucjp.t t/enc_module.t t/enc_utf8.t
t/encoding.t t/jperl.t
[PATCH] Deprecate encoding.pm
https://rt.cpan.org/Ticket/Display.html?id=81255
! Encode/Supported.pod
Fixed: Pod errors
https://rt.cpan.org/Ticket/Display.html?id=81426
! Encode.pm t/Encode.t
[PATCH] Fix for shared hash key scalars
https://rt.cpan.org/Ticket/Display.html?id=80608
! Encode.pm
Fixed: Uninitialized value warning from Encode->encodings()
https://rt.cpan.org/Ticket/Display.html?id=80181
! Makefile.PL
Install to 'site' instead of 'perl' when perl version is 5.11+
https://rt.cpan.org/Ticket/Display.html?id=78917
! Encode/Makefile_PL.e2x
find enc2xs.bat if it works on windows.
https://github.com/dankogai/p5-encode/pull/7
! t/piconv.t
Fix finding piconv in t/piconv.t
https://github.com/dankogai/p5-encode/pull/6
Dave Rolsky [Mon, 18 Feb 2013 01:43:42 +0000 (19:43 -0600)]
Remove two spaces after periods to keep the document consistent
Dave Rolsky [Mon, 18 Feb 2013 01:38:34 +0000 (19:38 -0600)]
Remove two superfluous commas in perlobj
Dave Rolsky [Mon, 18 Feb 2013 01:37:24 +0000 (19:37 -0600)]
Very small tweak to perlobj in dereferencing method call example
Dave Rolsky [Sun, 17 Feb 2013 23:55:16 +0000 (17:55 -0600)]
Replace Mouse with Moo in perlootut
Karl Williamson [Sun, 17 Feb 2013 21:17:27 +0000 (14:17 -0700)]
utf8_heavy.pl: Add 'use re "/aa"'
This would speed up compilation and execution by a trivial amount, but
makes sure that no regular expression even tries to compile in Unicode,
which could cause recursive invocation of this. Before this construct
was invented, special care had to be taken to keep that from happening;
those measures remain in effect, but this gives added insurance.
Father Chrysostomos [Sun, 17 Feb 2013 22:43:18 +0000 (14:43 -0800)]
Add Kent Fredric to AUTHORS
Kent Fredric [Sat, 16 Feb 2013 17:07:59 +0000 (06:07 +1300)]
mg.c : revert ENV{x} = undef behaviour to be empty string, not key deletion
pod/perldelta.pod: document reversion of ENV{foo} = undef behaviour in delta
t/op/magic.t: add a test for ENV{foo} = undef
Chris 'BinGOs' Williams [Sun, 17 Feb 2013 14:10:55 +0000 (14:10 +0000)]
Added Lucas Holt to AUTHORS
Lucas Holt [Sat, 16 Feb 2013 21:18:58 +0000 (13:18 -0800)]
[perl #116785] libc_r was removed from recent versions of MidnightBSD and older versions work better with -pthread
This corrects build errors with threading enabled on MidnightBSD 0.4-CURRENT
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Steffen Mueller [Sun, 17 Feb 2013 12:02:23 +0000 (13:02 +0100)]
[perl #116587] Data::Dumper intermittently fails tests on 5.8.*
In a nutshell, we don't care enough about 5.8 to try really hard to fix
(obscure) vstring problems there. But we care enough not to make DD fail
its tests because of such a corner case. We don't want to screw all
users that are trapped in the last decade.
Thus, skip certain tests pre-5.10.
Nicholas Clark [Sun, 17 Feb 2013 08:16:01 +0000 (09:16 +0100)]
In warnings.pm, delete a hash slice, instead of using a loop.
Deleting a hash slice compiles 5 fewer ops, and executes 21 fewer than
looping over the keys to delete each in turn. Whilst this is arguably a
micro-optimisation, it does not increase obfuscation and is in code loaded
by nearly every Perl program, so feels worthwhile.
Craig A. Berry [Sat, 16 Feb 2013 23:43:59 +0000 (17:43 -0600)]
Craig A. Berry [Sat, 16 Feb 2013 21:33:50 +0000 (15:33 -0600)]
Implement useversionedarchname in configure.com.
If this ever becomes the default, we should really remove the
versioned subdirectory from archlib that we've always had.
As of now, using this feature on VMS gives us redundancies such as:
archlib='perl_root:[lib.VMS_IA64-5_17_9.5_17_9]'
Craig A. Berry [Sat, 16 Feb 2013 21:25:55 +0000 (15:25 -0600)]
Allow VMS features to differ from Perl's defaults.
Since we now enable some features that are not the CRTL's defaults,
we should allow them to be explicitly disabled in the environment
if someone wants the old behavior.
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 20:23:32 +0000 (20:23 +0000)]
Updates to perldelta
Karl Williamson [Sat, 16 Feb 2013 18:04:17 +0000 (11:04 -0700)]
charnames.pm: Nit in pod
Karl Williamson [Sat, 16 Feb 2013 16:34:09 +0000 (09:34 -0700)]
Unicode::UCD: Add examples to pod
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 14:26:24 +0000 (14:26 +0000)]
Document in perldelta, new diag and Configure option.
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 08:09:03 +0000 (08:09 +0000)]
Update Archive-Extract to CPAN version 0.68
[DELTA]
Changes for 0.68 Fri Feb 15 22:57:09 2013
============================================
* Solaris' tar doesn't like some archives on
CPAN, prefer gtar if it is available
Karl Williamson [Thu, 7 Feb 2013 20:43:21 +0000 (13:43 -0700)]
utf8.h, utfebcdic.h: Add, fix comments
Karl Williamson [Fri, 8 Feb 2013 04:38:59 +0000 (21:38 -0700)]
lib/Unicode/UCD.pm: Clarify pod
Karl Williamson [Thu, 14 Feb 2013 17:07:51 +0000 (10:07 -0700)]
INSTALL: Fix pod verbatim lines
These are fixed to correctly line up and to fit into 79 columns
H.Merijn Brand [Fri, 15 Feb 2013 14:14:54 +0000 (15:14 +0100)]
use_versioned_archname => versionedarchname
(now synced with meta)
Nicholas Clark [Wed, 13 Feb 2013 16:06:59 +0000 (17:06 +0100)]
Extend t/porting/diag.t to cover code in DynaLoader.
This seems a reasonable extension to cover, as it's arguably part of the
core, because it has to be linked into the perl executable, and handled
differently from everything else, even "static" extensions.
This reveals that DynaLoader can generate a previously undocumented warning,
so document this.
Nicholas Clark [Wed, 13 Feb 2013 15:28:13 +0000 (16:28 +0100)]
Extend t/porting/diag.t to cover various other C-like files.
Specifically C++ source, and files related to perly.y and x2p/a2p.y
This catches an error in an XS module embedded into the (moribund) Symbian
port, which we need to skip.
Nicholas Clark [Wed, 13 Feb 2013 14:34:04 +0000 (15:34 +0100)]
t/porting/diag.t now reads files from MANIFEST, instead of scanning the disk.
This does less work, and avoids both files duplicated by the build system,
and false positives due to temporary files left by developers.
Steve Hay [Fri, 15 Feb 2013 08:52:47 +0000 (08:52 +0000)]
Update File::Temp layout
The latest tarball has moved Temp.pm into a lib/ folder, so we may as well
do likewise to keep Maintainers.pl happy. Also correct the tarball filename
listed there.
Steve Hay [Fri, 15 Feb 2013 08:33:32 +0000 (08:33 +0000)]
List files excluded from Config::Perl::V
Craig A. Berry [Fri, 15 Feb 2013 03:27:26 +0000 (21:27 -0600)]
Make extended filename syntax the default on VMS.
This feature has been available for over a decade but is still not
the default for the CRTL. It seems time to make it the default
for Perl. It means that directory names can have dots in them,
and filenames can contain multiple dots as well as spaces and
generally characters from the top row of the keyboard while the
shift key is held down.
Filenames with native syntax must escape characters in the so-called
extended character set with a caret ("^"), but filenames in Unix
syntax must not have the escapes. Conversions between native and
Unix syntax will, respectively, add and remove these escapes.
Supporting Unicode in filenames depends on this feature but has
not yet been investigated.
Craig A. Berry [Fri, 15 Feb 2013 00:10:55 +0000 (18:10 -0600)]
Make readdir on VMS only unixify when asked.
We've been making our home-grown readdir implementation convert
all its results to Unix format since
a096370a74e8. Since readdir
returns relative paths, the usual volume and directory syntax
differences that distinguish VMS and Unix paths don't really apply.
But what does apply is whether the escaping of extended characters
is passed through or removed, and converting to Unix syntax removes
those escapes. In order to enable extended filename syntax, though,
we're really going to need the escapes. For example, rmdir will
not be able to remove a directory foo.bar if it's referred to as
[.foo.bar] because a dot is the traditional directory delimiter.
The directory needs to be specified as [.foo^.bar] for rmdir to
delete it successfully.
So make readdir return filespecs in native format unless explicitly
requested to report all filenames in Unix format.
Craig A. Berry [Fri, 15 Feb 2013 00:03:10 +0000 (18:03 -0600)]
Help ExtUtils::Manifest deal with VMS extended filespecs.
For one thing, if we're cleaning up filenames, lets put that code
in the sub called 'clean_up_filename' rather than in manifind. And
since the language of the MANIFEST is really Unix-format filespecs,
convert to those. This becomes especially important in handling
extended filespecs because unixification also unescapes escaped
characters.
Craig A. Berry [Thu, 14 Feb 2013 23:28:38 +0000 (17:28 -0600)]
Make unixify unescape filespecs already in Unix format.
Sometimes filename components get pasted together in ways that put
a component with caret escapes proper to Extended Filename Syntax
(EFS) for native filespecs into a Unix-format filespec. An example
would be /a/b/foo^_bar, where the '^_' sequence indicates a space
in a native filespec but is technically invalid in a Unix
filespec.
But it doesn't really cost much more to remove the escapes since
we're copying the whole string anyway, so go ahead and do that.
This could theoretically cause trouble if we get Unix-format paths
that have literal carets in them, but that theoretical trouble is
currently less troubling than the practical trouble that crops up
various places in the test suite if we don't do this.
Steffen Mueller [Thu, 14 Feb 2013 16:36:54 +0000 (17:36 +0100)]
Minor doc fix: pp_addr => op_ppaddr
Steffen Mueller [Tue, 12 Feb 2013 17:26:44 +0000 (18:26 +0100)]
The rpeepp and peepp functions need a THX
David Golden [Thu, 14 Feb 2013 02:09:45 +0000 (21:09 -0500)]
Give Config a version number
Nicholas Clark [Wed, 13 Feb 2013 14:11:16 +0000 (15:11 +0100)]
Test that call checkers are copied with actual closures.
This relates to the tests added by commit
09fb282d08ec6c01.
Craig A. Berry [Wed, 13 Feb 2013 02:01:40 +0000 (20:01 -0600)]
Make File::DosGlob handle VMS extended filespecs.
Chris 'BinGOs' Williams [Tue, 12 Feb 2013 21:27:29 +0000 (21:27 +0000)]
Add Midnight BSD to perlport
Steffen Mueller [Tue, 12 Feb 2013 13:42:51 +0000 (14:42 +0100)]
Custom ops may be experimental, but sure aren't new
Are they still experimental?
Chris 'BinGOs' Williams [Tue, 12 Feb 2013 09:58:59 +0000 (09:58 +0000)]
Update CPAN to CPAN version 2.00-TRIAL
[DELTA]
2013-02-06 k <k@k83.linux.bogus>
* release 2.00-TRIAL
* import App::Cpan 0.60_02 from brian d foy
* RT#82589 doc fix thanks to Zefram
* several portability fixes for 5.6.2
* RT#83042 workaround for current circular dependency in CPANPLUS and
CPANPLUS::Dist::Build
James E Keenan [Tue, 12 Feb 2013 00:23:26 +0000 (19:23 -0500)]
Add entry for update to Data::Dumper.
Karl Williamson [Mon, 11 Feb 2013 19:07:35 +0000 (12:07 -0700)]
regcomp.c: Fully parenthesize macro expansions formal parameter
Karl Williamson [Mon, 11 Feb 2013 18:31:16 +0000 (11:31 -0700)]
inline_invlist.c, regcomp.c: Comments-onlys, white-space
inline_invlist.c had comments that are from a different file. Update
them. Also corrects the name in a #error line in regcomp.c
Father Chrysostomos [Sun, 10 Feb 2013 22:30:20 +0000 (14:30 -0800)]
diag.t: Validate severity of ck warn routines better
In the case of Perl_ck_warner and other _ck_ functions, we can tell
whether it is a severe/default warning or no by the _d suffix (or the
presence of ‘dep’ in the name for regcomp.c’s ckWARN* functions).
This caught one incorrect severity in perldiag.pod, which is also cor-
rected here.
Chris 'BinGOs' Williams [Sun, 10 Feb 2013 20:30:12 +0000 (20:30 +0000)]
Sync Config-Perl-V version in Maintainers.pl with CPAN
H.Merijn Brand [Sun, 10 Feb 2013 20:06:45 +0000 (21:06 +0100)]
Deal with spaces in patch descriptions
To be sure, I also allowed "Compile time options" to have spaces
Using \0 as a new separator seems a sane choice, as the values returned
from internal functions are pure C strings, so they end with \0
patches can have spaces:
# $got->{build}{patches}[0] = 'SAVEARGV0'
# $expected->{build}{patches}[0] = 'SAVEARGV0 - disable magic open in <ARGV>'
# $got->{build}{patches}[0] = 'ActivePerl'
# $expected->{build}{patches}[0] = 'ActivePerl Build 1602 [296513]'
# $got->{build}{patches}[0] = 'DEBPKG:debian/arm_thread_stress_timeout'
# $expected->{build}{patches}[0] = 'DEBPKG:debian/arm_thread_stress_timeout - http://bugs.debian.org/501970 Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts'
# $got->{build}{patches}[0] = 'Bug#55162'
# $expected->{build}{patches}[0] = 'Bug#55162 File::Spec::case_tolerant performance'
Matthew Horsfall (alh) [Thu, 27 Dec 2012 15:38:08 +0000 (10:38 -0500)]
RT-116192 - If a directory in @INC already has a trailing '/', don't add another.
Chris 'BinGOs' Williams [Sun, 10 Feb 2013 19:55:17 +0000 (19:55 +0000)]
Mention inclusion of both META files, in perldelta
Father Chrysostomos [Sun, 3 Feb 2013 21:42:18 +0000 (13:42 -0800)]
perl.pod: Squash double space
inadventently (presumably :) added in commit
c1264fa8ede.
Father Chrysostomos [Sun, 3 Feb 2013 20:35:56 +0000 (12:35 -0800)]
perldiag.pod: Remove regexp cat from \b{ \B{ message
It is no longer in that category as of
147508a29c9.
Karl Williamson [Tue, 5 Feb 2013 17:36:56 +0000 (10:36 -0700)]
pp.c: White-space only
This moves some things so lines fit in an 80 column window
Jess Robinson [Fri, 8 Feb 2013 12:30:05 +0000 (12:30 +0000)]
Enable perl core tests to pass when locale support is not available.
use locale - this will now die if $Config{d_setlocale} is not true.
All tests that use locale will skip if $Config{d_setlocale} is not true.
This enables us to pass tests on Android which uses ICU instead of locales.
The committer removed trailing white space
Karl Williamson [Sun, 10 Feb 2013 03:07:38 +0000 (20:07 -0700)]
Add Jess Robinson to AUTHORS
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 21:06:52 +0000 (21:06 +0000)]
Document corelist change in perldelta
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 20:22:14 +0000 (20:22 +0000)]
Make corelist --feature a >= v5.9.5 option
Thomas Sibley [Sat, 9 Feb 2013 19:44:13 +0000 (19:44 +0000)]
Report feature availability via corelist -f
> regen/feature.pl contains the data below, which could be used to add
> information to Module::CoreList to show what feature was available
> since what perl version
>
> $ corelist -f switch
> Data for 2013-01-20
> feature switch was first released with perl v5.9.5
>
> Any takers?
I reached for this the other day and was sad it didn't already exist.
Patch attached.
As suggested by H.Merijn Brand.
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 18:58:03 +0000 (18:58 +0000)]
Update Archive-Extract to CPAN version 0.66
[DELTA]
Changes for 0.66 Sat Feb 9 18:21:52 2013
============================================
* Treat midnightbsd the same as freebsd for
the purposes of finding Info-ZIP unzip
Craig A. Berry [Sat, 9 Feb 2013 15:23:09 +0000 (09:23 -0600)]
Standardize removal of escapes in unixify.
When converting VMS format file specification to Unix format, we
need to translate sequences escaped with a caret in the VMS format
name into an unescaped form in the resulting Unix name. We have
a function to do just that, but weren't using it in three of the
most important places that need it. Using the function gets us
handling more cases than the simple versions we had inline.
Karl Williamson [Sat, 2 Feb 2013 17:18:45 +0000 (10:18 -0700)]
Change pods to not refer to av_len()
This name for the function is misleading; don't encourage its use.
Karl Williamson [Fri, 8 Feb 2013 21:27:57 +0000 (14:27 -0700)]
Add av_tindex() synonym for av_top_index()
The latter is a somewhat less clumsy name. The old one is provided a a
very clear name; the new one as a somewhat slangy version
Karl Williamson [Thu, 7 Feb 2013 19:06:43 +0000 (12:06 -0700)]
Inline av_top_index()
This function is just an assert and a macro call. Avoid the function
call overhead by making it inline.
Karl Williamson [Thu, 7 Feb 2013 18:43:02 +0000 (11:43 -0700)]
Change name 'av_top' to 'av_top_index'
In using the av_top() function created in a recent commit, I found
myself being confused, and thinking it meant the top element of the
array, whereas it really means the index of the top element of that
array. Since the new name has not appeared in a stable release, it can
be changed, without remorse, to include 'index' in it.
Karl Williamson [Fri, 8 Feb 2013 21:00:09 +0000 (14:00 -0700)]
makedef.pl: Don't export inline fcns
An inline function is static to the file it is defined in. But they can
be part of the public API if they are in #included header files and
defined in embed.fnc. Normally such functions are written to the export
list on platforms that have this, but since they are static, you get a
linkage error. This commit suppresses the writing of inline functions
Karl Williamson [Thu, 7 Feb 2013 17:45:14 +0000 (10:45 -0700)]
regen/embed.pl: Extract out duplicate code into a fcn
Karl Williamson [Thu, 7 Feb 2013 17:31:22 +0000 (10:31 -0700)]
regen/embed.pl: Warn if have > 1 i, p, and s flags
These should be mutually exclusive
Karl Williamson [Thu, 7 Feb 2013 17:26:54 +0000 (10:26 -0700)]
embed.fnc: Remove inappropriate 'p' flags
These functions do not begin with 'Perl_'; currently this flag is
ignored here.
David Golden [Fri, 8 Feb 2013 04:16:14 +0000 (23:16 -0500)]
Updated File::Temp from 0.22 to 0.22_90
Chris 'BinGOs' Williams [Thu, 7 Feb 2013 21:16:32 +0000 (21:16 +0000)]
Update Text-Soundex to CPAN version 3.04
[DELTA]
3.04 Thu Feb 7 15:53:09 EST 2013 <rjbs@cpan.org>
The module is going to be removed from the core distribution of perl, and will
now warn (under warnings) if loaded from its installed-to-core location.
Chris 'BinGOs' Williams [Thu, 7 Feb 2013 21:24:35 +0000 (21:24 +0000)]
Update File-CheckTree to CPAN version 4.42
[DELTA]
4.42 Thu Feb 7 15:51:35 EST 2013
* add warning (for core-installed copy only) indicating File::CheckTree
will be removed from core in 5.20.0
David Golden [Thu, 7 Feb 2013 19:41:06 +0000 (14:41 -0500)]
add example of warning categorization to perldiag
David Golden [Thu, 7 Feb 2013 14:45:59 +0000 (09:45 -0500)]
reword release announcement template
David Golden [Wed, 6 Feb 2013 03:23:37 +0000 (22:23 -0500)]
Benchmark iteration warnings should warn, not print
Craig A. Berry [Wed, 6 Feb 2013 03:23:42 +0000 (21:23 -0600)]
Remove unused feature setting from vms/vms.c.
This feature was apparently intended to enable workarounds for
handling filespec translations on paths with no directory component.
Many (most?) of the problems with such paths have now been fixed,
and the feature itself was never actually used, so we're better
off without it.
Craig A. Berry [Wed, 6 Feb 2013 03:05:55 +0000 (21:05 -0600)]
Pass-through handling (again) in tovmsspec.
This is a partial retreat from
b3efb2487fa7, where we started
passing through all ambiguous filespecs without modification. We
can now process the majority of cases that aren't macros, following
59247333b91 and various other commits that improved the escaping
of dots. So for now we'll attempt to process these and pass
through macros only.
Craig A. Berry [Wed, 6 Feb 2013 01:04:23 +0000 (19:04 -0600)]
Make vmsify support files with no directory component.
We've been assuming there is always a directory portion to a path
being converted to VMS format, and it's true that translating
directory delimiters and such is the most noticeable aspect of
such conversions. But we also depend on the conversion to add
caret escapes to characters in the path that are only valid when
using Extended Filename Syntax (EFS), but weren't doing that
for paths with no directory component.
I.e., this was working:
/disk/dir/foo%bar --> disk:[dir]foo^%bar
but this was not (until now):
foo%bar --> foo^%bar
Since we're now working on a pointer that has not necessarily
been incremented while adding directory syntax, we also add
a number of guards to make sure we don't peek beyond the
beginning of the result string.
N.B. There will be a separate commit following shortly that
prevents paths with no directory component from being passed
through as-is -- here we just provide the infrastructure to
make that possible.
Chris 'BinGOs' Williams [Tue, 5 Feb 2013 22:45:57 +0000 (22:45 +0000)]
Update Pod-Parser to CPAN version 1.60
[DELTA]
[Pod-Parser]
31-Jan-2013 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.60
+ removed Pod::Checker and Pod::Usage from this distribution - they are now
separate distros and are subjects to be refactored, to be based upon
Pod::Simple. Thanks to rjbs for reminding me of this.
Add Pod-Checker and Pod-Usage to cpan/
These have been split out of Pod-Parser
[Pod-Checker]
27-Jan-2013 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.60
+ preparation of changing this module to use Pod::Simple
refactored the Pod-Parser distribution and moved all things Pod::Checker
to this new distribution package
+ CPAN RT#79535: Pod::Checker synopsis for podchecker is opposite
corrected the POD synopsis
+ factored this distribution out of Pod-Parser-1.51
[Pod-Usage]
1.61 (marekr)
- fix empty META.yml (CPAN RT#83118: META.yml is empty)
- update outdated test expected data (CPAN RT#83111: fails test)
1.60 (marekr)
- moved POD behind __END__ for slighlty quicker loading
- CPAN RT#81387: 2 suggestions for module Pod::Usage
added example of how to use FindBin to locate the script;
added $Pod::Usage::Formatter to allow a different base class
- CPAN RT#75598: [PATCH] Don't use perldoc if it is missing
implemented as suggested in the RT ticket
- factored Pod::Usageout of the Pod-Parser distribution into a separate one,
in order to prepare the rewrite based upon Pod::Simple
- thanks to rjbs for driving this
Chris 'BinGOs' Williams [Tue, 5 Feb 2013 21:24:34 +0000 (21:24 +0000)]
Make makemeta more cognisant and easier to use
Provide -y and -j switches to produce yml or json
files, respectively, for use in regen rules and tests
The default behaviour is to produce both files.
Update release managers' guide to say to regen the
META files before generating release tarballs.
Chris 'BinGOs' Williams [Tue, 5 Feb 2013 16:31:29 +0000 (16:31 +0000)]
makemeta no longer relies on the currently executing perl for version
David Golden [Wed, 10 Nov 2010 16:15:50 +0000 (11:15 -0500)]
Add use_versioned_archname to Configure
This patch adds 'use_versioned_archname' as a Configure option.
When set, it includes 'api_versionstring' in 'archname'. E.g.
x86_64-linux-5.13.6-thread-multi. It is unset by default.
This feature was requested by Tim Bunce, who observed that
INSTALL_BASE creates a library structure that does not
differentiate by perl version. Instead, it places architecture
specific files in "$install_base/lib/perl5/$archname". This makes
it difficult to use a common INSTALL_BASE library path with
multiple versions of perl.
By setting -Duse_versioned_archname, the $archname will be
distinct for architecture *and* API version, allowing mixed use of
INSTALL_BASE.
This patch demonstrates the desired effect for discussion. Actual
changes would need to be made upstream in metaconfig and
integrated back into blead.
Craig A. Berry [Tue, 5 Feb 2013 13:20:23 +0000 (07:20 -0600)]
Remove EFS escapes in unixify without directory components.
When converting a VMS file specification containing caret escapes
for extended characters to Unix format, we need to remove those
escapes. We were doing so for paths containing directory
components but we also need to do it for bare filenames. I.e.,
this was working:
disk:[dir]foo^%bar --> /disk/dir/foo%bar
but this was not (until now):
foo^%bar --> foo%bar
Karl Williamson [Mon, 4 Feb 2013 21:03:09 +0000 (14:03 -0700)]
Add tests and clarify pod for (?[ ])
A compliled '(?[ ])' embedded in a larger one is unaffected by what
regex modifiers are in effect at the time of the compilation of the
outer one; it retains, going forward, the modifiers it had when it was
first encountered.
Karl Williamson [Sat, 2 Feb 2013 19:58:57 +0000 (12:58 -0700)]
bisect-runner.pl: Reword some pod examples
I found myself better able to understand what's really happening given
this rewording.
Karl Williamson [Mon, 4 Feb 2013 18:46:46 +0000 (11:46 -0700)]
perldelta.pod: Fix misstatement
Spotted by Aaron Crane
Karl Williamson [Sun, 3 Feb 2013 16:29:32 +0000 (09:29 -0700)]
Add interpolations to regex sets
This commit adds the capability for '(?[ ])' to contain interpolated
variables from other '(?[ ])' constructs. A set operation can thus be
built up from the composition of other ones, without having to worry
about precedence, etc.
Thanks to Aaron Crane for suggesting this.
Karl Williamson [Wed, 30 Jan 2013 19:39:51 +0000 (12:39 -0700)]
Incorporate code review feedback for (?[])
Thanks to Hugo van der Sanden for reviewing this new code.
Karl Williamson [Wed, 30 Jan 2013 16:34:44 +0000 (09:34 -0700)]
regcomp.c: Slight refactoring for clarity
This code was confusing enough that until a couple of commits ago, there
was a useless setting of a local variable.
Karl Williamson [Wed, 30 Jan 2013 16:26:15 +0000 (09:26 -0700)]
regcomp.c: Combine duplicated code
Karl Williamson [Wed, 30 Jan 2013 15:29:54 +0000 (08:29 -0700)]
regcomp.c: Extract code into function
The code to parse the flags that occur after in '(?foo)' and
'(?foo:bar)' is extracted into a function; some comments were added.
This is in preparation for this to be called from an additional place
Karl Williamson [Wed, 30 Jan 2013 05:12:21 +0000 (22:12 -0700)]
regcomp.c: Remove useless code
This code sets a variable on the C stack, and two statements later
returns, throwing away that variable without ever using the new value.
Alan Haggai Alavi [Sun, 3 Feb 2013 04:47:06 +0000 (10:17 +0530)]
Fix syntax: useless use of constant in void context
Alan Haggai Alavi [Sun, 3 Feb 2013 05:18:01 +0000 (10:48 +0530)]
Correct word: Window => Windows
Chris 'BinGOs' Williams [Sat, 2 Feb 2013 16:09:36 +0000 (16:09 +0000)]
The targets for makemeta in Makefile.SH were spelt wrong
Chris 'BinGOs' Williams [Sat, 26 Jan 2013 12:46:44 +0000 (12:46 +0000)]
Teach makemeta to use CPAN::Meta to generate both META.json and META.yml
Chris 'BinGOs' Williams [Fri, 1 Feb 2013 21:53:23 +0000 (21:53 +0000)]
Update Module-Load to CPAN version 0.24
[DELTA]
Changes for 0.24 Fri Feb 1 18:14:28 2013
============================================
* Resolve [rt #83093] "Won't load modules with apostrophes"
reported by Dave Golden
Karl Williamson [Fri, 1 Feb 2013 04:08:09 +0000 (21:08 -0700)]
regexec.c: Remove redundant code
This code does a save_re_context() and then calls swash_init, which also
does a save_re_context. This is unnecessary; the save should be done in
the lowest possible level.
James E Keenan [Fri, 1 Feb 2013 02:43:26 +0000 (21:43 -0500)]
Merge branch 'data-dumper-testing' into blead
Karl Williamson [Thu, 31 Jan 2013 16:15:05 +0000 (09:15 -0700)]
regcomp.c: Expand diagnostic
Perl 5.16 added a deprecation message for an unescaped left brace
following \b and \B in regular expression patterns. It suggests
escaping the brace by preceding it with a backslash. This doesn't work
if the pattern delimiters are {}. Instead, one can escape the brace
by enclosing it within square brackets. In recent Perls, this compiles
identically to the backslashed version.
This comit expands the message to suggest both options.
Steffen Mueller [Thu, 31 Jan 2013 09:58:36 +0000 (10:58 +0100)]
Remove dead code in Perl_sv_cmp_flags
Most certainly compiled away anyway, but still dead.