3 years agoDisable regeneration of regcharclass.h on win32 v5.13.4
Florian Ragwitz [Fri, 20 Aug 2010 04:13:06 +0000]
Disable regeneration of regcharclass.h on win32

There's really no need to do this on the user side, as regcharclass.h is a real
file in the repository. Having this rule, while maybe handy for regexp
developers working on win32, otherwise only causes trouble if regcharclass.pl
changes in a way that doesn't require regcharclass.h to change.

3 years agoAdd 5.13.4 to perlhist
Florian Ragwitz [Tue, 17 Aug 2010 02:02:41 +0000]
Add 5.13.4 to perlhist

3 years agoUpdate Module::Corelist for 5.13.4
Florian Ragwitz [Wed, 18 Aug 2010 22:49:00 +0000]
Update Module::Corelist for 5.13.4

3 years agoUpdate Changes for 5.13.4
Florian Ragwitz [Tue, 17 Aug 2010 01:15:27 +0000]
Update Changes for 5.13.4

3 years agoBump the perl version to 5.13.4
Florian Ragwitz [Tue, 17 Aug 2010 01:15:07 +0000]
Bump the perl version to 5.13.4

3 years agoImprove perldelta formatting
Florian Ragwitz [Fri, 20 Aug 2010 01:53:52 +0000]
Improve perldelta formatting

3 years agoFinish up perl5134delta
Florian Ragwitz [Wed, 18 Aug 2010 02:33:11 +0000]
Finish up perl5134delta

3 years agoFix stack corruption by unsupported filetests
Jan Dubois [Fri, 20 Aug 2010 01:43:59 +0000]
Fix stack corruption by unsupported filetests

Commit c410dd6ad7 indiscriminately pops elements from the stack
even when nothing has been pushed: file tests without arguments
(testing $_) and stacked filetests don't have anything on the
stack that needs to be removed.

The general idea is that we need to have the same side effects
as if we had called my_stat_flags(), so we shall only call POPs
under the same conditions as the code in my_stat_flags().

3 years agoWe break Switch
Florian Ragwitz [Fri, 20 Aug 2010 01:30:41 +0000]
We break Switch

3 years agoHTML::Parser is fixed already
Florian Ragwitz [Thu, 19 Aug 2010 23:54:16 +0000]
HTML::Parser is fixed already

3 years agoperldelta t/re/overload.t
Florian Ragwitz [Thu, 19 Aug 2010 23:47:55 +0000]
perldelta t/re/overload.t

3 years agoAdd t/re/overload.t to MANIFEST
Florian Ragwitz [Thu, 19 Aug 2010 23:46:19 +0000]
Add t/re/overload.t to MANIFEST

3 years ago*.t and test.pl don't need to be executable
Florian Ragwitz [Thu, 19 Aug 2010 21:24:24 +0000]
*.t and test.pl don't need to be executable

3 years agoTest for +x bits for all the files in exec-bit.txt
Florian Ragwitz [Thu, 19 Aug 2010 21:23:29 +0000]
Test for +x bits for all the files in exec-bit.txt

The globbing only works when done in the right directory.

3 years agoMake everything exec-bit.txt lists executable
Florian Ragwitz [Thu, 19 Aug 2010 21:20:52 +0000]
Make everything exec-bit.txt lists executable

All these files used to be executable in the release tarballs. Apparently things
also work without that in the repository, but I'd rather add this possibly
unecessary change to blead instead of breaking the upcoming release. This should
probably be looked into again afterwards.

3 years agoSilence a warning in time64.c. Need to downgrade a const char *
Steve Peters [Thu, 19 Aug 2010 19:47:41 +0000]
Silence a warning in time64.c.  Need to downgrade a const char *
to a char *.

3 years agoMoved prototype check to XS code, allowing the .pm file change from yesterday
Steve Peters [Thu, 19 Aug 2010 18:20:59 +0000]
Moved prototype check to XS code, allowing the .pm file change from yesterday
to be removed.  Thanks to Rafael for pointing out prototypes in XS.

3 years agoAdded a test for bug #77084.
Abigail [Thu, 19 Aug 2010 16:37:11 +0000]
Added a test for bug #77084.

3 years agoSome nits picked on the 5.13.4 delta.
Steve Peters [Thu, 19 Aug 2010 05:04:59 +0000]
Some nits picked on the 5.13.4 delta.

3 years agoUpdate META.yml
Florian Ragwitz [Thu, 19 Aug 2010 03:08:29 +0000]
Update META.yml

3 years agoPorting/mergelog is no more
Florian Ragwitz [Thu, 19 Aug 2010 03:05:39 +0000]
Porting/mergelog is no more

We're using cherrymaint on camel now.

3 years agoCoreList, not Corelist
Florian Ragwitz [Thu, 19 Aug 2010 03:00:35 +0000]
CoreList, not Corelist

3 years agoGet perl5134delta into a mostly finished state
Florian Ragwitz [Wed, 18 Aug 2010 02:33:11 +0000]
Get perl5134delta into a mostly finished state

3 years agoperldelta up to 41f69a9
Florian Ragwitz [Wed, 18 Aug 2010 22:12:36 +0000]
perldelta up to 41f69a9

3 years agoRevert "Version bump Module-CoreList to 2.37 for a CPAN release"
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 22:07:13 +0000]
Revert "Version bump Module-CoreList to 2.37 for a CPAN release"

This reverts commit d98a0e0610723630e3a6cf6f1de20f87701b22bc.

  Yeah, I'm an idiot.

3 years agoVersion bump Module-CoreList to 2.37 for a CPAN release
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 21:57:24 +0000]
Version bump Module-CoreList to 2.37 for a CPAN release

3 years agoEnsure Filespec wont't show up in Module::Corelist
Florian Ragwitz [Wed, 18 Aug 2010 21:36:20 +0000]
Ensure Filespec wont't show up in Module::Corelist

3 years agoThere never was a `Filespec.pm'
Florian Ragwitz [Wed, 18 Aug 2010 21:10:30 +0000]
There never was a `Filespec.pm'

A bug in Porting/corelist.pl made Module::Corelist think the VMS::Filespec
module was called Filespec. This bug was fixed in
f4ccb67a0c5b6089da1ebe8b42943cf67d6c087a. This change updates all the old
corelist entries accordingly.

3 years agofix 'might be used uninitialized' in PerlIO_tmpfile
David Mitchell [Wed, 18 Aug 2010 21:31:49 +0000]
fix 'might be used uninitialized' in PerlIO_tmpfile

sv can't actually be used uninitialized, but set it to zero to
shut up stupid compilers

3 years agofix 'might be used uninitialized' in S_regmatch
David Mitchell [Wed, 18 Aug 2010 21:11:01 +0000]
fix 'might be used uninitialized' in S_regmatch

Strictly speaking charid would only get used uninitialized in debugging
output with a trie state machine that has no entries, but initialise it
to zero just to keep everyone happy.

3 years agoIt's `VMS::Filespec', not `Filespec'
Florian Ragwitz [Wed, 18 Aug 2010 21:00:57 +0000]
It's `VMS::Filespec', not `Filespec'

3 years agoIgnore xsubpp temp files
Florian Ragwitz [Wed, 18 Aug 2010 20:46:05 +0000]
Ignore xsubpp temp files

3 years agoMake perl is not enough
Florian Ragwitz [Wed, 18 Aug 2010 20:44:56 +0000]
Make perl is not enough

corelist.pl also needs a few modules that aren't built by just `make perl'.

3 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/perl into blead
Steve Peters [Wed, 18 Aug 2010 20:52:50 +0000]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/perl into blead

3 years agoMake I18N::Langinfo::langinfo take $_ as an argument if none is specified as
Steve Peters [Wed, 18 Aug 2010 20:50:17 +0000]
Make I18N::Langinfo::langinfo take $_ as an argument if none is specified as
its documentation advertises.  Bump version for this change.

3 years agoKarl convinced me this isn't revelant
Florian Ragwitz [Wed, 18 Aug 2010 18:21:33 +0000]
Karl convinced me this isn't revelant

They've always been sort of private, even tho the symbols are exported.

3 years agoperldelta up to ff7894f
Florian Ragwitz [Wed, 18 Aug 2010 18:21:29 +0000]
perldelta up to ff7894f

3 years agoUpdate Archive-Tar to CPAN version 1.68
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 10:20:06 +0000]
Update Archive-Tar to CPAN version 1.68


  * important changes in version 1.68 17/08/2010
  - Apply a patch from Colin Newell that checks whether long files can be created or
    not in 02_methods.t. Hopefully resolves RT #57312 and RT #56163

  Most importantly it should resolve test failures when building on encrypted

3 years agoNote the HTML::Parser breakage
Florian Ragwitz [Wed, 18 Aug 2010 02:44:21 +0000]
Note the HTML::Parser breakage

Also fix a link to substr().

3 years agoIgnore *.old files
Florian Ragwitz [Wed, 18 Aug 2010 02:20:40 +0000]
Ignore *.old files

We already ignored a couple of them, but there's many more of them showing up
every now and then, especially because of some of the porting tools.

3 years agoSteal some rewording from perl5122delta
Florian Ragwitz [Wed, 18 Aug 2010 00:14:36 +0000]
Steal some rewording from perl5122delta

3 years agoperldelta up to a8a2f4f
Florian Ragwitz [Wed, 18 Aug 2010 00:00:54 +0000]
perldelta up to a8a2f4f

3 years agoRe-sort MANIFEST and use tabs for new entry.
George Greer [Tue, 17 Aug 2010 23:10:13 +0000]
Re-sort MANIFEST and use tabs for new entry.

MANIFEST is in "dictionary order" (ignore-case and consider whitespace
and alphanumeric only) so it can be surprising at times

3 years agoMake sure the stack is balanced in the case that we fake the result of unsupported...
Andy Armstrong [Sun, 15 Aug 2010 11:05:23 +0000]
Make sure the stack is balanced in the case that we fake the result of unsupported filetests.

This time with an appropriate comment on the test. And with that I'll
attempt to stop spamming P5P, at least for today, and go and do
something less risky. Running with scissors perhaps.

3 years agoMove POSIX.pm to lib/POSIX.pm to fix autosplitter problem
Jerry D. Hedden [Tue, 17 Aug 2010 17:17:11 +0000]
Move POSIX.pm to lib/POSIX.pm to fix autosplitter problem

3 years agoFix building with PERL_GLOBAL_STRUCT defined.
Nicholas Clark [Tue, 17 Aug 2010 16:28:03 +0000]
Fix building with PERL_GLOBAL_STRUCT defined.

Presumably this compilation option was broken when Perl_clone_params_del
and Perl_clone_params_new were added in f7abe70be985cb91.

3 years agoAdd an -X option to expand-macro.pl to show how XSUBs see the macro.
Nicholas Clark [Tue, 17 Aug 2010 15:54:12 +0000]
Add an -X option to expand-macro.pl to show how XSUBs see the macro.

The default is to show macros as seen by the core.

3 years agoperldelta Eric's lvalue/TARG changes
Florian Ragwitz [Tue, 17 Aug 2010 07:13:47 +0000]
perldelta Eric's lvalue/TARG changes

3 years agoRemove DATE section from README.aix
Florian Ragwitz [Tue, 17 Aug 2010 05:01:29 +0000]
Remove DATE section from README.aix

The date in there requires a manual edit for every release, which seems silly
for a bit of information that's also in various other places like perlhist.

Instead, only mention the perl version the document refers to somewhere at the
top. Porting/bump-perl-version can update that automatically for us.

3 years agoPERL_API_* doesn't need to be maintained manually
Florian Ragwitz [Mon, 16 Aug 2010 23:22:27 +0000]
PERL_API_* doesn't need to be maintained manually

3 years agoRelease managers need to be careful in INSTALL
Florian Ragwitz [Mon, 16 Aug 2010 23:06:29 +0000]
Release managers need to be careful in INSTALL

Everything is binary incompatible with each other, except for maint releases
from the same maint branch.

3 years agoUpdate INSTALL regarding binary compatibility
Florian Ragwitz [Mon, 16 Aug 2010 23:06:09 +0000]
Update INSTALL regarding binary compatibility

3 years agoperldelta up to d5da2b2
Florian Ragwitz [Mon, 16 Aug 2010 22:34:24 +0000]
perldelta up to d5da2b2

3 years agoBump $feature::VERSION
Florian Ragwitz [Mon, 16 Aug 2010 22:09:43 +0000]
Bump $feature::VERSION

It hasn't seen many changes since 5.13.3, but it was changed slightly in the
docs, and cmpVERSION.pl kindly asked me to bump the verion even for that.

3 years agoOnly copy op.c to opmini.c if op.c is a symlink, else use a symlink.
Nicholas Clark [Mon, 16 Aug 2010 21:12:13 +0000]
Only copy op.c to opmini.c if op.c is a symlink, else use a symlink.

Similarly for perl.c to perlmini.c

This avoids the work of a file copy if a symlink would do the job, but ensures
that we don't create a symlink to a symlink to a file, which (comments suggest)
upsets gcc.

3 years agoUse a loop to generate the Makefile rules for opmini.c and perlmini.c.
Nicholas Clark [Mon, 16 Aug 2010 19:43:19 +0000]
Use a loop to generate the Makefile rules for opmini.c and perlmini.c.

3 years agoFor both opmini.o and perlmini.o define PERL_EXTERNAL_GLOB and PERL_IS_MINIPERL
Nicholas Clark [Mon, 16 Aug 2010 19:22:44 +0000]
For both opmini.o and perlmini.o define PERL_EXTERNAL_GLOB and PERL_IS_MINIPERL

Previously only opmini.o was compiled with -DPERL_EXTERNAL_GLOB, and only
perlmini.o with -DPERL_IS_MINIPERL. Add "PERL_EXTERNAL_GLOB" to the output
of (mini)perl -V if it is defined.

3 years agoperldelta up to b474a1b
Florian Ragwitz [Mon, 16 Aug 2010 20:54:10 +0000]
perldelta up to b474a1b

3 years agoCorrected typo in documentation for glob().
Chris 'BinGOs' Williams [Mon, 16 Aug 2010 16:05:41 +0000]
Corrected typo in documentation for glob().

3 years agoUpdate Test-Harness to CPAN version 3.22
Chris 'BinGOs' Williams [Mon, 16 Aug 2010 16:04:27 +0000]
Update Test-Harness to CPAN version 3.22


  3.22    2010-08-14
        - Allow TAP::Parser to recognize a nested BAIL_OUT directive.
        - Add brief HOWTO for creating and running pgTAP tests to
        - Fix trailing plan + embedded YAML + TAP 13 case. Thanks to
          Steffen Schwigon. #54518.
        - Numerous spelling fixes. Thanks to Ville Skytt<C3><A4>.
        - Add new option --tapversion for prove to set the default
          assumed TAP version. Thanks to Steffen Schwigon.
        - Fixed tests to run successfully under Devel::Cover. Thanks to
          Phillipe Bruhat.
        - Fixed injection of test args to work with general executables
          as well as Perl scripts (#59186).
        - Allow multiple --ext=.foo arguments to prove, to allow running
          different types of tests in the same prove run.
        - App::Prove::extension() is now App::Prove::extensions(), and
          returns an arrayref of extensions, rather than a single scalar.
          The same change has been made to App::Prove::State::extension().
        - Preserve old semantics for test scripts with a shebang line
          by favouring Perl as the intepreter for any file with a
          shebang (#59457).
        - Add --trap (summary on Ctrl-C) option to prove (#59427).
        - Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own
          distribution on CPAN.
        - Source options to prove can now be specified so as to be passed to
          the source as a hash reference, eg:

              prove --source XYZ --xyz-option pset=foo=bar

          Ths "pset" option will be passed as a hash reference with the key
          "foo" and the value "bar".

3 years agoRemove compile-time conditionals from PVIV and PVNV body sizes.
Nicholas Clark [Mon, 16 Aug 2010 15:12:24 +0000]
Remove compile-time conditionals from PVIV and PVNV body sizes.

Alignment issues that aggressive (but legal) sparc compilers tripped over
were resolved by 69ba284b5e077075. Hence the conditional sizing added in
889d28b2ea2c1751 is not needed, and prevents viable size optimisations.

(The compiler could "see" that the structure contained a double, hence the
alignment was constrained, hence it was legal to use a single 64 bit load on 2
adjacent 32 bit values. Which fails badly when the structure isn't actually
aligned, which was possible prior to 69ba284b5e077075.)

3 years agofix [perl #74118] $[ assignment not noisy enough
Zefram [Sat, 1 May 2010 17:47:58 +0000]
fix [perl #74118] $[ assignment not noisy enough

Warn about list assignment to $[, as in "($[)=1", in addition to scalar
assignment such as "$[=1".

3 years agoRemove MacOS 9 support code from XS-APItest
Florian Ragwitz [Mon, 16 Aug 2010 01:08:01 +0000]
Remove MacOS 9 support code from XS-APItest

EUMM dropped support for it ages ago, and so did perl core a couple of releases
back. This is an attempt to stop MacOS 9 support from being cargo-culted into
new XS-APItest tests.

3 years agoRevert "Make the peep recurse via PL_peepp"
Florian Ragwitz [Sun, 15 Aug 2010 22:16:00 +0000]
Revert "Make the peep recurse via PL_peepp"

This reverts commit 65bfe90c4b4ea5706a50067179e60d4e8de6807a.

While it made a few of the things I wanted possible, a couple of other things
one might need to do and I thought this change would enable don't actually
work. Thanks Zefram for pointing out my mistake.



3 years agoperldelta up to a98d1b3
Florian Ragwitz [Sun, 15 Aug 2010 21:04:05 +0000]
perldelta up to a98d1b3

3 years agoFix the overload tests marked as TODO in 22afb09b13a6dc17f20388991422fdbe6166e3ed
Chris 'BinGOs' Williams [Sun, 15 Aug 2010 21:12:54 +0000]
Fix the overload tests marked as TODO in 22afb09b13a6dc17f20388991422fdbe6166e3ed

  As is() doesn't stringify its arguments anymore we have to.

3 years agoperldelta up to 2be7097
Florian Ragwitz [Thu, 12 Aug 2010 16:45:48 +0000]
perldelta up to 2be7097

3 years agoAdd a note on API versions for release managers
Florian Ragwitz [Thu, 12 Aug 2010 16:32:16 +0000]
Add a note on API versions for release managers

3 years agoRemove the vestigial my_safe{calloc,malloc,free} macros from sv.c
Nicholas Clark [Sun, 15 Aug 2010 12:14:44 +0000]
Remove the vestigial my_safe{calloc,malloc,free} macros from sv.c

These existed for LEAKTEST, which would change the implementations.
LEAKTEST was removed in 7bab3ede7bf671f5 in 2002.

3 years agoRemove the unused new_X*V and del_X*V macros from sv.c
Nicholas Clark [Sun, 15 Aug 2010 11:39:36 +0000]
Remove the unused new_X*V and del_X*V macros from sv.c

The use of most of these macros was eliminated by 82bb6deb04ad3686, but it did
not delete their definitions.

3 years agoNote the e-mail address Robin Barker used in db7198b53dd9e7c0.
Nicholas Clark [Sun, 15 Aug 2010 12:20:41 +0000]
Note the e-mail address Robin Barker used in db7198b53dd9e7c0.

Without this, t/porting/authors.t fails because it believes that a new person
is missing from AUTHORS.

3 years ago[perl #72588] t/op/mkdir.t fails, setting LC_ALL=C does not work
Slaven Rezic [Sat, 14 Aug 2010 19:28:05 +0000]
[perl #72588] t/op/mkdir.t fails, setting LC_ALL=C does not work

3 years agoRT #74436: [PATCH] Add -Wwrite-strings
Robin Barker [Sat, 14 Aug 2010 18:58:51 +0000]
RT #74436: [PATCH] Add -Wwrite-strings

The perl source has for some while been clean to -Wwrite-strings.
I suggest this warning be added to cflags.
The patch makes the appropriate change to cflags.SH and silences a warning from mg.c

3 years agoRT #77150: perlre documentation issue and possible fix
Chas. Owens [Sat, 14 Aug 2010 18:05:18 +0000]
RT #77150: perlre documentation issue and possible fix

3 years agoMade a number of tests TODO in lib/overload.t due to changes to Test-Simple
Chris 'BinGOs' Williams [Sat, 14 Aug 2010 16:47:46 +0000]
Made a number of tests TODO in lib/overload.t due to changes to Test-Simple

    Feature Changes
    * is() and others will no longer stringify its arguments before
      comparing.  Overloaded objects will make use of their eq
      overload rather than their "" overload.  This can break tests of
      impolitely string overloaded objects.  DateTime prior to 0.54 is
      the biggest example.

3 years agoUpdate Test-Simple to CPAN version 0.96
Chris 'BinGOs' Williams [Sat, 14 Aug 2010 14:06:07 +0000]
Update Test-Simple to CPAN version 0.96


  0.96  Tue Aug 10 21:13:04 PDT 2010
    Bug Fixes
    * You can call done_testing() again after reset() [googlecode 59]

    * Bug tracker moved to github

  0.95_02  Wed May 19 15:46:52 PDT 2010
    Bug Fixes
    * Correct various typos and spelling errors (Nick Cleaton)
    * Fix alignment of indented multi-line diagnostics from subtests
      (Nick Cleaton)
    * Fix incorrect operation when subtest called from within a todo block
      (Nick Cleaton)
    * Avoid spurious output after a fork within a subtest
      (Nick Cleaton)

  0.95_01  Wed Mar  3 15:36:59 PST 2010
    Bug Fixes
    * is_deeply() didn't see a difference in regexes [rt.cpan.org 53469]
    * Test::Builder::Tester now sets $tb->todo_output to the output handle and
      not the error handle (to be in accordance with the default behaviour of
      Test::Builder and allow for testing TODO test behaviour).
    * Fixed file/line in failing subtest() diagnostics. (Nick Cleaton)
    * Protect against subtests setting $Level (Nick Cleaton)

    New Features
    * subtests without a 'plan' or 'no_plan' have an implicit 'done_testing()'
      added to them.
    * is_deeply() performance boost for large structures consisting of
      mostly non-refs (Nick Cleaton)

    Feature Changes
    * is() and others will no longer stringify its arguments before
      comparing.  Overloaded objects will make use of their eq
      overload rather than their "" overload.  This can break tests of
      impolitely string overloaded objects.  DateTime prior to 0.54 is
      the biggest example.

3 years agoProperly reinstate space optimisations to SV body structures.
Nicholas Clark [Sat, 14 Aug 2010 15:46:20 +0000]
Properly reinstate space optimisations to SV body structures.

889d28b2ea2c1751 was incomplete; XPV, XPVIV and XPVNV were returning pointers
correctly offset within the allocated space to align the structures consistent
with XPVMG, but were allocating the full length, not just the used parts.

3 years agoAdd Wolfram Humann to AUTHORS
Jan Dubois [Sat, 14 Aug 2010 00:22:00 +0000]
Add Wolfram Humann to AUTHORS

3 years agomake string-append on win32 100 times faster
Wolfram Humann [Sat, 14 Aug 2010 00:20:26 +0000]
make string-append on win32 100 times faster

When a string grows (e.g. gets appended to), perl calls sv_grow. When
sv_grow decides that the memory currently allocated to the string is
insufficient, it calls saferealloc. Depending on whether or not perl
was compiled with 'usemymalloc' this calls realloc in either perls
internal version or on the operating system. Perl requests from
realloc just the amount of memory required for the current
operation. With 'usemymalloc' this is not a problem because it rounds
up memory allocation to a certain geometric progression anyway. When
the operating system's realloc is called, this may or may not lead to
desaster, depending on how it's implemented. On win32 it does lead to
desaster: when I loop 1000 times and each time append 1000 chars to an
initial string size of 10 million, the memory grows from 10.000e6 to
10.001e6 to 10.002e6 and so on 1000 times till it ends at 11.000e6.

3 years agoPOSIX/t/posix.t expects a certain start to Makefile.PL
Tony Cook [Fri, 13 Aug 2010 14:21:29 +0000]
POSIX/t/posix.t expects a certain start to Makefile.PL

6695a346 changed the start of Makefile.PL, but t/posix.t reads that to
test its read() implementation, restore enough of the original for the
test to pass.

3 years agotwo of my patches had a bad From, teach checkAUTHORs.pl about them
Tony Cook [Fri, 13 Aug 2010 13:57:52 +0000]
two of my patches had a bad From, teach checkAUTHORs.pl about them

I build these patches on a VM so they ended up with a bad author, stop
t/porting/authors.t from failing because of that.

3 years agomake_ext.pl populates @INC correctly, don't override it badly
Tony Cook [Wed, 21 Jul 2010 23:54:13 +0000]
make_ext.pl populates @INC correctly, don't override it badly

PERL5LIB is populated by make_ext.pl with paths to the modules we need
to run, don't override this with "../../lib" since that may not have
been populated yet in a parallel build.

3 years agoCwd.pm needs to be installed in lib before SDBM_File recurses. Mark the dependency
Tony Cook [Wed, 21 Jul 2010 23:48:18 +0000]
Cwd.pm needs to be installed in lib before SDBM_File recurses. Mark the dependency

make_ext.pl fills PERL5LIB with relative directories to the modules
needed, but this fails for SDBM_File when it recurses into
ext/SDBM_File/sdbm directory.  Revealed in parallel builds on OpenBSD.

3 years agouse charnames (); fails
Karl Williamson [Mon, 2 Aug 2010 22:45:29 +0000]
use charnames (); fails

If "use charnames ()" are the only usages of this pragma in a program,
it fails due to the pragma's import method not getting called.  This
fixes that.

3 years agocharnames.t: tweak amount of testing of CJK chars
Karl Williamson [Mon, 2 Aug 2010 22:42:25 +0000]
charnames.t: tweak amount of testing of CJK chars

Actually, this tweaks the amount of testing of characters whose names are
algorithmically determinable, most of which are CJK characters.

This patch changes the testing to test not 1% of them, but to test 1 in
each block, no matter what the block size.  We really don't need to test
many of these to be confident the algorithm is working.

It also adds some comments to clarify what happens if one tweaks the
block size.

3 years agocharnames.t: Change message to fit in 80 columns
Karl Williamson [Mon, 2 Aug 2010 22:40:28 +0000]
charnames.t: Change message to fit in 80 columns

This is an important message.  Better not to wrap it.

3 years agocharnames.t: Guard agains empty lines in __DATA__
Karl Williamson [Mon, 2 Aug 2010 22:36:51 +0000]
charnames.t: Guard agains empty lines in __DATA__

Somehow an empty line got inserted at the end of the file, and got
interpreted as 0's which caused the test for NULL to fail.  This guards
against that.

I removed the empty line, but I'm not sure git has picked that up.

3 years agocharnames.t: use srand's seed
Karl Williamson [Mon, 2 Aug 2010 21:22:39 +0000]
charnames.t: use srand's seed

Don't calculate our own seed

3 years agoFix untimely destruction introduced by lvalue ops [RT#67838] by returning a TEMP...
Eric Brine [Sat, 31 Jul 2010 08:56:43 +0000]
Fix untimely destruction introduced by lvalue ops [RT#67838] by returning a TEMP instead of using TARG. Made appropriate TODO tests live.

3 years agoTODO tests for untimely destruction introduced by lvalue ops [RT#67838]
Eric Brine [Fri, 30 Jul 2010 16:43:29 +0000]
TODO tests for untimely destruction introduced by lvalue ops [RT#67838]

3 years agoPure Perl lvalue subs can't return temps, even if they are magical. This holds back...
Eric Brine [Tue, 13 Jul 2010 19:56:38 +0000]
Pure Perl lvalue subs can't return temps, even if they are magical. This holds back a fix for RT#67838.

This commit allows PP lvalue subs to return temps with set magic
and removes TODO from tests.

3 years agoPure Perl lvalue subs can't return temps, even if they are magical. This holds back...
Eric Brine [Tue, 13 Jul 2010 19:36:55 +0000]
Pure Perl lvalue subs can't return temps, even if they are magical. This holds back a fix for RT#67838. Adds TODO tests.

3 years agoAdd perldiag entry for invalid version object
David Golden [Thu, 12 Aug 2010 19:01:53 +0000]
Add perldiag entry for invalid version object

3 years agoRemove invalid version object from diag.t exceptions
David Golden [Thu, 12 Aug 2010 19:01:34 +0000]
Remove invalid version object from diag.t exceptions

3 years agoRefactor porting/diag.t and improve output format
David Golden [Thu, 12 Aug 2010 17:38:53 +0000]
Refactor porting/diag.t and improve output format

Adds a subroutine to standardize messages variants into a form
that appears in perldiag.pod.  Standardizes "panic: ..." instead
of skipping it.

Tests files in sorted order; improves diagnostic output
format for readability; only shows pass/fail once for each
diagnostic message

3 years agoAdd perldiag entries for new version format errors
David Golden [Thu, 12 Aug 2010 17:09:04 +0000]
Add perldiag entries for new version format errors

Also updates porting/diag.t to standardize the
detected messages into the format used in perldiag.pod

3 years agoImprove diag.t to detect BADVERSION diagnostics
David Golden [Thu, 12 Aug 2010 16:35:36 +0000]
Improve diag.t to detect BADVERSION diagnostics

3 years agoAccount for GNU "i" extension when checking 'nm' output.
H.Merijn Brand [Thu, 12 Aug 2010 10:02:12 +0000]
Account for GNU "i" extension when checking 'nm' output.

Add the new static_inline stuff to the "other" config files too
Add the missing Glossary parts

3 years agoConvert int.t to test.pl (and hence produce better failure diagnostics).
Nicholas Clark [Thu, 12 Aug 2010 09:33:09 +0000]
Convert int.t to test.pl (and hence produce better failure diagnostics).

3 years agoRT #75468: readline ignores <> overloading when arg is tied
Father Chrysostomos [Wed, 11 Aug 2010 11:51:25 +0000]
RT #75468: readline ignores <> overloading when arg is tied