| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Previousl this could cause problems during minitest.
Fixes #17293
|
|
|
|
|
|
|
|
|
| |
Committer's note: In large part probably due to the CUSTOMIZED aspect of
'version' in Porting/Maintainer.pl, the regular 'Porting/sync-with-cpan'
program did not give good results when I attempted to use it for version.pm.
So I hacked together my own program, available here:
https://github.com/jkeenan/scripts-misc/blob/master/sync-version-pm.pl
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Wunused-label
-Wmissing-prototypes was complaining about declaring XS()
functions without previously declaring a prototype.
-Wundef didn't like using #if foo instead of #ifdef foo
-Wunused-label warned because VER_{IV,NM,PV} were defined on all
versions of perl, but only used on < 5.17.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up a lot of the less efficient uses of various Perl
macros and functions, mostly from bulk88@hotmail.com. Also
deal with the fact that older Perl's were not handling locale
setting in a consistent manner. This means going back to the
less efficient but always correct method of ALWAYS copying the
old locale and switch to C and then restoring, for all Perl
releases prior to 5.19.0. Discontinue support for Perl's prior
to v5.6.2.
|
|
|
|
|
| |
This macro, added in e1c774b6, is actual code, and needs to be
after the declarations, so that C89 compilers compile it.
|
|
|
|
|
|
|
|
| |
Now that version.pm doesn't mess with the symbol table, we need
to make sure that version::_VERSION exists at all times. Also
change the name of the method that implements UNIVERSAL::VERSION
so that it is visually distinct and matches the other version.pm
derived methods.
|
| |
|
| |
|
|
|
|
| |
This was causing test failures after rebasing against blead.
|
|
|
|
|
|
|
|
|
| |
The names of the functions in core and in the CPAN version will con-
flict otherwise.
Since perl versions before 5.16.0 did not have XS_INTERNAL (which
could solve this problem another way, making the functions static),
it’s easier just to use different names.
|
|
|
|
|
|
| |
Uppercase macros instead of functions (so the CPAN version can call
its own non-core functions if need be), plus a poor man’s typemap
(VTYPECHECK).
|
|
|
|
|
|
| |
Also rename the argument.
This is part of bringing perl and CPAN into synch.
|
|
|
|
|
| |
qv is affected, too. A package called "ver" inheriting from version
should be able to create "ver" objects via ->qv.
|
|
|
|
| |
No behaviour changes; just rearranged, and with a few extra #ifdefs.
|
|
|
|
|
|
|
|
|
|
| |
We shouldn’t consider ver and version to be the same class.
If ver inherits from version, ver->new should give a ver object.
This string comparison bug has only ever existed in the perl core
version of the version routines. It was ed1db70e1224 in 5.16 that
introduced it.
|
|
|
|
|
|
|
| |
No functional changes, just cosmetic (and it works with older
perls, too).
This is part of bringing perl and CPAN into synch.
|
|
|
|
|
|
| |
This brings it in line with the CPAN implementation. It’s hard to
test this, as the tests should go in cpan/version, but the pure-Perl
implementation doesn’t check the number of arguments.
|
|
|
|
| |
This is part of bringing perl and CPAN into synch.
|
|
|
|
| |
This is part of bringing perl and CPAN into synch.
|
|
This is to make synchronisation between the CPAN distribution and the
perl core easier.
The files have different extensions to match what the CPAN distribu-
tion will have. vutil.c is a separate compilation unit that the CPAN
dist already has. vxs.inc will be included by vxs.xs (vxs.c is obvi-
ously alreday taken, being generated from vxs.xs).
In the perl core util.c includes vutil.c and universal.c
includes vxs.inc.
|