Florian Ragwitz [Sat, 24 Jul 2010 14:55:58 +0000 (16:55 +0200)]
Update Maintainers.pl for the Compress modules
Paul [Sat, 24 Jul 2010 12:07:29 +0000 (13:07 +0100)]
Compress 2.030
David Mitchell [Sat, 24 Jul 2010 15:11:12 +0000 (16:11 +0100)]
small code tweak in Perl_gv_init
(follow-up to previous commit, fix for #76540)
David Mitchell [Sat, 24 Jul 2010 14:41:19 +0000 (15:41 +0100)]
[perl #76540] "print CONSTANT," gives double-free
gv_init() has name and len args, but newCONSTSUB() (which it calls)
doesn't have a len arg, so any trailing garbage in name gets used by
newCONSTSUB.
In the test case, this means that we end up attaching the const CV
to both the "FOO" and qq{FOO, "\\n";\n} GVs. So it gets freed twice.
Florian Ragwitz [Sat, 24 Jul 2010 13:35:24 +0000 (15:35 +0200)]
Skip epigraphs.pod when bumping the version
David Golden [Sat, 24 Jul 2010 07:44:40 +0000 (00:44 -0700)]
Global executable bit cleanup
When porting/makerel runs, all files copied into the directory for the
tarball have the executable bit stripped and then only a specific set of
files have the executable bit restored.
There are many files in the repo that have the executable bit set in the
repo that will be stripped. So that the state of files in the repo is
as close as possible to the state of files in the release tarball, the
executable bit has been stripped from such files.
In one recent case, a file added from a dual-life module needed the
executable bit set. Because it had the bit in the repo but was
not listed in makerel to get an executable bit, tests using it
passed in the repo and failed in the tarball.
This commit refactors the list into a new file, Porting/exec-bit.txt
and add tests to detect a mismatch between files listed there
and actual executable bits in the repo.
Florian Ragwitz [Sat, 24 Jul 2010 06:12:56 +0000 (08:12 +0200)]
Move PathTools from cpan/ to dist/
David Mitchell [Fri, 23 Jul 2010 22:24:11 +0000 (23:24 +0100)]
[perl #76478] silence compiler warning
Intel's icc compiler is too clever for its own good.
Silence a false positive 'may be used undefined' warning.
Florian Ragwitz [Fri, 23 Jul 2010 13:56:08 +0000 (15:56 +0200)]
Clarify core module directories for UPSTREAM => undef modules
Florian Ragwitz [Wed, 21 Jul 2010 02:11:45 +0000 (04:11 +0200)]
Florian Ragwitz [Thu, 22 Jul 2010 15:37:21 +0000 (17:37 +0200)]
Bump API subversion
Florian Ragwitz [Thu, 22 Jul 2010 15:37:20 +0000 (17:37 +0200)]
For blead, bump-perl-version should consider SUBVERSION as API_SUBVERSION
This makes the API version of a blead release equivalent to its full version
number. For example, for 5.13.3, the API version was 5.13.0 before, and is
5.13.0 now.
This does not change anything for stable releases. The API version of 5.14.1
will still be 5.14.0.
Blead releases don't guarantee API stability. While they don't introduce API
breakage on every release, they do so often enough to want to err on the safe
side instead of making false claims in PERL_API_*.
Florian Ragwitz [Fri, 23 Jul 2010 02:46:13 +0000 (04:46 +0200)]
Fix POD formatting in perlrepository.pod
=for is just for one paragraph, not until the next command or anything like
that.
Chris 'BinGOs' Williams [Fri, 23 Jul 2010 08:58:02 +0000 (09:58 +0100)]
Bump the version of Module-CoreList in Maintainers.pl
Florian Ragwitz [Fri, 23 Jul 2010 08:53:06 +0000 (10:53 +0200)]
Ignore *.i
These files are generated, upon request, by the macro expansion targets.
Craig A. Berry [Fri, 23 Jul 2010 00:18:20 +0000 (19:18 -0500)]
Bump File::Spec version.
Craig A. Berry [Thu, 22 Jul 2010 23:32:01 +0000 (18:32 -0500)]
Assorted File::Spec::VMS fixes.
- Make catpath return an empty directory rather than the current
directory if the directory name is empty. This allows catpath
to play nice with non-rooted logical names, as in
catpath('sys$login:', '', 'login.com');
- Fix abs2rel bug in handling a Unix-style input.
- Assorted clarification and simplification of the documentation.
Also submitted upstream at:
<https://rt.cpan.org/Ticket/Display.html?id=59630>
Craig A. Berry [Thu, 22 Jul 2010 20:31:02 +0000 (15:31 -0500)]
Colon delimiter and escaped delimiters for File::Spec::VMS.
Still awaiting upstream integration after 15 months at:
<https://rt.cpan.org/Public/Bug/Display.html?id=43299>
Josh ben Jore [Thu, 22 Jul 2010 16:46:03 +0000 (09:46 -0700)]
Update debugger changelog
Josh ben Jore [Thu, 22 Jul 2010 16:42:00 +0000 (09:42 -0700)]
Debugger prints lines to the remote port when it forks and openes a new port
Andy Dougherty [Thu, 22 Jul 2010 16:20:14 +0000 (12:20 -0400)]
Add static inline config variables to VMS configure.com.
This assumes all VMS compilers that build perl will
support 'static inline'.
Andy Dougherty [Thu, 22 Jul 2010 16:00:51 +0000 (12:00 -0400)]
Update "canned" config.sh files for static inline.
Unless the file explicitly lists a gcc version I know
to work, I picked safe default values for the new
d_static_inline and perl_static_inline variables.
Andy Dougherty [Thu, 22 Jul 2010 15:14:47 +0000 (11:14 -0400)]
Add a Configure probe for static inline.
This patch enables Configure to probe for C99-style 'static inline'.
(That is, functions may be inlined, but will not be externally visible.)
The initial idea is that some common code in messy macros inside headers
might be simplified using inline functions. If the compiler does not
support 'static inline', then a plain 'static' is used instead, along
with the consequent implications of a function call (though the compiler
may optimize away the function call and inline the function anyway).
In either case, you simply use PERL_STATIC_INLINE.
This patch does not *use* this facility at all yet. It is merely a
Configure patch to make the facility availble for others to experiment
with.
VMS and Windows files will still need to be manually updated.
Finally, before actually converting anything to inline functions, please
try to carefully evaluate the performance implications of any proposed
changes. Compilers vary in what they will and will not convert to inline
functions, so it's worth proceeding slowly and carefully.
This patch results from a single new metaconfig unit, d_static_inline.U,
which I will separately upload to the metaconfig repository.
Craig A. Berry [Thu, 22 Jul 2010 13:27:40 +0000 (08:27 -0500)]
Looser filename matching for new Carp.t tests.
Florian Ragwitz [Thu, 22 Jul 2010 04:27:04 +0000 (06:27 +0200)]
Fix leaks in XS_VERSION_BOOTCHECK
The SV holding XS_VERSION, and the version object created from it were
leaked. Also, if the version from perl space wasn't a version object already,
the one that got created leaked.
Additionally, in case of an error, the two SVs returned by vstringify were
leaked.
Nicholas Clark [Thu, 22 Jul 2010 08:44:27 +0000 (09:44 +0100)]
In Carp, if @DB::args still contains our sentinel, reset it.
This ensures that nothing outside our routine can unintentionally get the
address of our sentinel.
Jan Dubois [Thu, 22 Jul 2010 01:28:33 +0000 (18:28 -0700)]
Get rid of PERL_POLLUTE
PERL_POLLUTE was added (but undefined by default) in 5.6 to optionally
expose older 5.005 symbols for backwards compatibility. It's use was
always discouraged, and MakeMaker contains a more specific escape hatch:
perl Makefile.PL POLLUTE=1
This can be used for modules that have not been upgraded to 5.6 naming
conventions (and really should be completely obsolete by now).
Jan Dubois [Thu, 22 Jul 2010 01:15:54 +0000 (18:15 -0700)]
Don't pretend to support really old VC++ compilers
The oldest supported Visual C++ compiler is VC6 (released in 1998),
and we already jump through some hoops for it by inlining newer
API definitions in win32/win32.c. It is desirable to keep supporting
VC6 because it is the last MSVC release that links against MSVCRT.dll
and not against a compiler specific runtime library.
Jan Dubois [Thu, 22 Jul 2010 01:00:07 +0000 (18:00 -0700)]
Get rid of obsolete PerlCRT.dll support
PerlCRT.dll was a patched version of MSVCRT.dll that fixed/worked
around a few known issues with Microsoft's C runtime library.
These issues have long been fixed by updates to MSVCRT.dll, and
AFAIK nobody has used PerlCRT.dll in almost 10 years now.
Jan Dubois [Thu, 22 Jul 2010 00:46:00 +0000 (17:46 -0700)]
Add CCTYPE value for Windows Server 2003 SP1 compilers
The SDK2003SP1 compiler is special because it needs to link in
an additional bufferoverflow.obj file, which does not exist for
the other 64-bit MSVC compilers. This change un-breaks the
Makefle for all these other compilers (e.g. VS2008).
Jan Dubois [Thu, 22 Jul 2010 00:21:05 +0000 (17:21 -0700)]
Remove deprecated -Wp64 compiler option
The option seems to have been cargo-culted, as it is not
relevant to the Perl sources, and would really be useful
for 32-bit compiles only anyways (it detects certain
potential 64-bit compatibility issues in 32-bit compiles;
the 64-bit compilers always report these issues by default).
Nicholas Clark [Wed, 21 Jul 2010 19:54:39 +0000 (20:54 +0100)]
In Carp, if B is loaded use it to get the name of the bad caller override.
Nicholas Clark [Wed, 21 Jul 2010 19:17:47 +0000 (20:17 +0100)]
Detect incomplete caller overrides in Carp, and avoid using bogus @DB::args.
To get arguments into its backtraces, Carp relies on caller setting @DB::args
when called from package DB. @DB::args isn't refcounted (and can't be). Not
all overriders of &CORE::GLOBAL::caller set @DB::args properly, with the result
that @DB::arg can become "stale", with strange errors, at a distance.
However, it is possible to detect that @DB::args has not been updated, and take
evasive action. This is preferable to presenting the user (or logfile) with
silently wrong backtraces, and much preferable to the occasional "Bizarre copy"
exception.
Nicholas Clark [Wed, 21 Jul 2010 14:00:03 +0000 (15:00 +0100)]
Fix error in
5b235299a82969c3, which gcc didn't spot, but g++ did.
C, of course, is happy enough without a function prototype.
Nicholas Clark [Wed, 21 Jul 2010 12:56:53 +0000 (13:56 +0100)]
In Carp, minimise the amount of code running in package DB.
Use a block to limit it to just the invocation of caller.
Nicholas Clark [Wed, 21 Jul 2010 12:41:44 +0000 (13:41 +0100)]
Add Perl_init_dbargs(), to set up @DB::args without losing SV references.
George Greer [Wed, 21 Jul 2010 08:11:51 +0000 (10:11 +0200)]
C++ compiler fix for util.c
Even with all of the changes, we still die on a strchr() call now
because glibc provides "correct" strchr prototypes rather than the
C ones.
C:
char *strchr(const char *s, int c)
C++:
const char *strchr(const char *s, int c)
char *strchr( char *s, int c)
and of course C++ doesn't let you convert a 'const char *' to a
'char *' so boom on util.c:3972 in Perl_grok_bslash_o (due to 'e').
Jan Dubois [Wed, 21 Jul 2010 01:48:59 +0000 (18:48 -0700)]
alarm() on Windows cannot interrupt blocking I/O
Jan Dubois [Wed, 21 Jul 2010 00:57:21 +0000 (17:57 -0700)]
Remove spurious ')'
Jan Dubois [Wed, 21 Jul 2010 00:50:46 +0000 (17:50 -0700)]
Use .\ instead of ./ on Windows
Jan Dubois [Wed, 21 Jul 2010 00:38:47 +0000 (17:38 -0700)]
alarm() on Windows doesn't interrupt system calls
alarm() on Windows is implemented using a timer that is checked in
win32_async_check(), so there is no way a SIGALRM can be raised while
Perl is blocking in a system call.
David Golden [Tue, 20 Jul 2010 11:00:01 +0000 (07:00 -0400)]
update TOC and perldelta references
David Golden [Tue, 20 Jul 2010 10:56:33 +0000 (06:56 -0400)]
retitle perl5133delta.pod
David Golden [Tue, 20 Jul 2010 10:56:14 +0000 (06:56 -0400)]
create perl5134delta.pod
David Golden [Tue, 20 Jul 2010 10:45:55 +0000 (06:45 -0400)]
remove trailing spaces in epigraphs.pod
David Golden [Tue, 20 Jul 2010 10:45:31 +0000 (06:45 -0400)]
Add 5.13.3 epigraph
David Golden [Tue, 20 Jul 2010 09:14:13 +0000 (05:14 -0400)]
set a Test-Harness file +x in makerel
David Golden [Tue, 20 Jul 2010 08:04:26 +0000 (04:04 -0400)]
don't use Test::More in dual-life.t
David Golden [Tue, 20 Jul 2010 07:38:04 +0000 (03:38 -0400)]
perl5133delta.pod refer to \o{...} consistently
David Golden [Tue, 20 Jul 2010 07:05:02 +0000 (00:05 -0700)]
add new release to perlhist
David Golden [Tue, 20 Jul 2010 07:02:21 +0000 (00:02 -0700)]
Add dual-life.t to MANIFEST
David Golden [Tue, 20 Jul 2010 07:00:31 +0000 (00:00 -0700)]
perl5133delta.pod: finalize update modules list
David Golden [Tue, 20 Jul 2010 06:25:21 +0000 (23:25 -0700)]
Update Module::Corelist for 5.13.3
David Golden [Tue, 20 Jul 2010 05:51:48 +0000 (01:51 -0400)]
Fix typo in perl5133delta
David Golden [Tue, 20 Jul 2010 05:49:39 +0000 (01:49 -0400)]
Fix Pod warning in perl5133delta.pod
David Golden [Tue, 20 Jul 2010 05:43:16 +0000 (01:43 -0400)]
Update Changes for version number bump
David Golden [Tue, 20 Jul 2010 05:04:38 +0000 (22:04 -0700)]
Bump the perl version to 5.13.3
David Golden [Tue, 20 Jul 2010 04:51:30 +0000 (21:51 -0700)]
Add exceptions to dual-life.t
David Golden [Tue, 20 Jul 2010 00:01:02 +0000 (17:01 -0700)]
perl5133delta.pod: editorial changes and cleanup
David Golden [Mon, 19 Jul 2010 23:39:49 +0000 (16:39 -0700)]
perl5133delta.pod wrapping and cleanup
David Golden [Mon, 19 Jul 2010 23:39:16 +0000 (16:39 -0700)]
perl5133delta.pod: Acknowledgements and code delta
David Golden [Mon, 19 Jul 2010 23:10:37 +0000 (16:10 -0700)]
cmpVERSION.pl: don't flag version 'undef'
David Golden [Mon, 19 Jul 2010 22:53:29 +0000 (15:53 -0700)]
Bump module version numbers
David Golden [Mon, 19 Jul 2010 21:55:58 +0000 (14:55 -0700)]
add link to smoke index
David Golden [Mon, 19 Jul 2010 21:33:29 +0000 (14:33 -0700)]
core-cpan-diff: always use diff and ignore whitspace
David Golden [Mon, 19 Jul 2010 18:53:28 +0000 (11:53 -0700)]
core-cpan-diff: tidied and always show version mismatch
David Golden [Mon, 19 Jul 2010 17:05:12 +0000 (10:05 -0700)]
bump I18N::LangTags version to 0.35_01
Jim Cromie [Thu, 15 Jul 2010 17:29:54 +0000 (11:29 -0600)]
fix spelling err in pod re environmental variable
Signed-off-by: David Golden <dagolden@cpan.org>
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:57:50 +0000 (15:57 +0000)]
perl5133delta: Add a note about Test::Harness's known issues
Test-Harness RT #59186 and RT #59457 introduced some
regressions. These are being fixed upstream but didn't make it into
this release.
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:47:30 +0000 (15:47 +0000)]
perl5133delta: Add commit references to "\400 - \777"
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:45:18 +0000 (15:45 +0000)]
perl5133delta: Also note 9644846 in "Improved documen[...]"
"Improved documentation of unusual character escapes" was fixed up in
9644846.
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:39:45 +0000 (15:39 +0000)]
perl5133delta: A perldelta entry referenced an invalid commit
"Improved documentation of unusual character escapes (bf82ca4)" added
in
a0316a43 should have referenced 4068718. There's no bf82ca4 commit
in the perl repository.
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:32:06 +0000 (15:32 +0000)]
perl5133delta: Note the tests for "Uppercase X/B allowed.."
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 15:27:42 +0000 (15:27 +0000)]
perl5133delta: Expand on "File::Copy skips suid tests on a nosuid partition"
Include the explanation from my cae9400 patch in the perldelta so that
it can be understood when read stand-alone.
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 14:55:35 +0000 (14:55 +0000)]
perl5133delta: Test-Harness to CPAN version 3.21 (6d31366)
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 14:44:32 +0000 (14:44 +0000)]
perl5133delta: Term-ANSIColor was bumped to CPAN version 3.00 (2c33c76)
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 14:39:11 +0000 (14:39 +0000)]
perl5133delta: Link from the CvGV() change to Known Problems
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 14:30:32 +0000 (14:30 +0000)]
perl5133delta: Note the commit range for "MacOS Classic"
Ævar Arnfjörð Bjarmason [Mon, 19 Jul 2010 14:23:42 +0000 (14:23 +0000)]
perl5133delta: Expand on "Uppercase X/B allowed.."
Mention that C<eval sprintf "%#X", 0x10> now works, and that upper
case hex/binary literals are supported in C and friends.
David Golden [Mon, 19 Jul 2010 14:23:10 +0000 (07:23 -0700)]
Add perl5133delta reminder about module linking
David Golden [Mon, 19 Jul 2010 13:58:24 +0000 (09:58 -0400)]
perl5133delta.pod: Removed most XXX and boilerplate
David Golden [Mon, 19 Jul 2010 13:53:54 +0000 (09:53 -0400)]
perl5133delta additions and revisions
Karl Williamson [Sun, 18 Jul 2010 19:12:39 +0000 (13:12 -0600)]
pods: mention \o{}, 3 octal digits
This patch adds a mention of \o{} to perlre to avoid the backreference
ambiguities, and uses 3 octal digits in an example, and suggests using 3
digits where 2 were suggested before.
Signed-off-by: David Golden <dagolden@cpan.org>
David Golden [Mon, 19 Jul 2010 02:34:07 +0000 (22:34 -0400)]
Maintainers.pl: podlators Makefile.PL is CUSTOMIZED
David Golden [Mon, 19 Jul 2010 02:29:35 +0000 (22:29 -0400)]
Maintainers.pl: CPANPLUS Makefile.PL is CUSTOMIZED
David Golden [Mon, 19 Jul 2010 01:36:39 +0000 (21:36 -0400)]
Add libnet Makefile.PL to CUSTOMIZED in Maintainers
David Golden [Mon, 19 Jul 2010 01:34:54 +0000 (21:34 -0400)]
Add support for CUSTOMIZED in Maintainers.PL
Some dual-life modules have custom files in core that differ from
CPAN. (e.g. Makefile.PL in libnet) These files need to be listed
in EXCLUDED, but also in CUSTOMIZED so that we don't flag them
incorrectly as "only in Perl"
David Golden [Mon, 19 Jul 2010 00:56:33 +0000 (20:56 -0400)]
Removed Archive-Tar Makefile.PL so it autogenerates
David Golden [Mon, 19 Jul 2010 00:51:30 +0000 (20:51 -0400)]
Added t/porting/dual-life.t
Because we manually generate Makefiles, any executables need to be
generated from .PL files in utils/. This test checks if dual-life
executables show up in utils/.
David Golden [Mon, 19 Jul 2010 00:25:22 +0000 (20:25 -0400)]
core-cpan-diff: improve detection of version mismatches
David Golden [Mon, 19 Jul 2010 00:14:44 +0000 (20:14 -0400)]
List libnet Makefile.PL as excluded
David Golden [Sun, 18 Jul 2010 23:20:53 +0000 (19:20 -0400)]
core-cpan-diff: perltidy with default settings
David Golden [Sun, 18 Jul 2010 23:10:55 +0000 (19:10 -0400)]
core-cpan-diff: various enhancements
* Extracted directories are cached and re-used
* Perl vs CPAN version mismatches shown in summary output
* Various minor code cleanup
Some diagnostic output was surpressed in diff mode, but not all.
I found the output confusing to follow in diff mode as a result
so I enabled some of the previously surpressed output.
David Golden [Sun, 18 Jul 2010 20:02:49 +0000 (16:02 -0400)]
core-cpan-diff: fix handling of file:/// urls
David Golden [Sun, 18 Jul 2010 18:50:14 +0000 (14:50 -0400)]
core-cpan-diff: remove trailing spaces
David Golden [Sun, 18 Jul 2010 18:47:47 +0000 (14:47 -0400)]
core-cpan-diff: add option for local CPAN mirror
David Golden [Sun, 18 Jul 2010 18:32:11 +0000 (14:32 -0400)]
perl5133delta.pod: Notes on CvGV reference counting
David Mitchell [Sun, 18 Jul 2010 17:18:50 +0000 (18:18 +0100)]
add CvGV_set() macro and make CvGV() rvalue only
Now that CvGV can sometimes be reference counted, stop people from directly
assigning to it (by using CvGV as an lvalue), and instead force them to use
CvGV_set()
David Mitchell [Sun, 18 Jul 2010 15:21:03 +0000 (16:21 +0100)]
change when to make CvGV refcounted
Rather than making CvGV refcounted if the CV is anon, decide based on
whether the GV pointed to by CvGV holds a reference back to us. Normally
these two will be equivalent, but this way is more robust if people are
doing weird things.
Also spotted an error with cv_clone not clearing the CVf_CVGV_RC flag on
the newly cloned cv. This shouldn't normally matter as it will get set
shortly anyway, but best to keep things logically correct.
David Mitchell [Sun, 18 Jul 2010 14:07:08 +0000 (15:07 +0100)]
add CVf_CVGV_RC flag
after the recent commit
803f274831f937654d48f8cf0468521cbf8f5dff,
the CvGV field is sometimes reference counted. Since it was intended that
the reference counting would happen only for anonymous CVs, the CVf_ANON
flag was co-opted to indicate whether RC was being used. This is not
entirely robust; for example, sub __ANON__ {} is a non-anon sub which
points to the same GV used by anon subs, which while itself doesn't
directly break things, shows that the potential for breakage is there.
So add a separate flag just to indicate the reference count status of the
CvGV field.