summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Tweak IPC-Open3.t to cope with \r\n line endings on Win32.Nicholas Clark2010-12-201-5/+5
| | | | | | The refactoring of bd29e8c290c68f4f to use Test::More broke the tests on Win32, because it didn't realise that the previous code was relying on the test harness being line ending agnostic.
* fix -tree test for non-threaded perlv5.13.8Zefram2010-12-191-1/+1
|
* bump version of many modulesZefram2010-12-1913-13/+13
| | | | | Core-only modules that have changed from v5.13.7, and dual-life modules that have changed from v5.13.7 and didn't show up in earlier passes.
* Test B::Concise’s -tree modeFather Chrysostomos2010-12-181-1/+14
|
* Convert ext/PerlIO-encoding/t/encoding.t to Test::More.Nicholas Clark2010-12-171-75/+35
|
* Convert ext/Opcode/t/ops.t to Test::MoreNicholas Clark2010-12-171-7/+5
|
* Convert ext/IPC-Open3/t/IPC-Open3.t to Test::MoreNicholas Clark2010-12-171-54/+48
| | | | | | Unfortunately the gubbins of about 25% of its tests still rely on causing subprocesses to emit the correct TAP, so part of it has to use a an explicit test counter outside of Test::Builder.
* Increase B::Concise’s versionFather Chrysostomos2010-12-161-1/+1
|
* Fix [perl #80632] -MO=Concise,-tree formatReini Urban2010-12-161-1/+1
| | | | | Some time between 5.8.3 and 5.8.4, the -tree output format started getting extra line breaks.
* [perl #80674] Fix compilation with very old versions of glibcDavid Leadbeater2010-12-161-0/+6
| | | | | | | | | | | __priority_which_t does not exist on glibc 2.1. sin6_scope is not present in the set of kernel headers my copy of glibc 2.1 is using. (The presence of sin6_scope in sockaddr_in6 should maybe be a Configure test.) blead now compiles on a positively ancient box -- although the Socket tests fail.
* Version bumps for modules changed by a6d37805ca8a9ba8 ($Id$ removal).Nicholas Clark2010-12-162-2/+2
|
* Remove "dead" RCS $Id$ tags from files that we own.Nicholas Clark2010-12-163-7/+0
| | | | | All files have been modified more recently than their tag, rendering information in the tag redundant.
* Move common code from ext/[GONS]DBM_File/t/[gons]dbm.t to t/lib/dbmt_common.plNicholas Clark2010-12-164-1968/+9
| | | | This eliminates 1445 lines, ie almost 500 lines duplicated fourfold.
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by parameterising the class name.Nicholas Clark2010-12-164-86/+110
|
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t further.Nicholas Clark2010-12-164-30/+23
| | | | | | | | | Including Cross propagating some fixes: grep in void context warning (f84167b37281b9fd c57cf257e9e58200), but improve it by avoiding void context entirely, by actually testing the results :-) "cleaner close on tests, take 2", d1e4d418969ad3c5
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by using the same filename.Nicholas Clark2010-12-164-87/+106
| | | | | | | | | Choose the 1 dot form used by sdbm.t, to keep VMS happy. Also, propagate into ndbm.t the part of the test for 20001013.009 that cbc5248d01a71061 missed. Move the exist tests from f4b9d8806d76b352 earlier in sdbm.t, to increase consistency - the alternative attempts to have 2 DBM files open simultaneously, which ODBM_File doesn't support. (Implied TODO: add an explicit test for this to the other 3.)
* Tweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a file.Nicholas Clark2010-12-161-1/+1
| | | | | The analagous tests for [nos]dbm.t don't use |O_CREAT for this case. gdbm.t has been using GDBM_WRCREAT here since the file was added by Larry in 5.000
* Convert ext/SDBM_File/t/sdbm.t to Test::More.Nicholas Clark2010-12-151-100/+93
|
* Convert ext/ODBM_File/t/odbm.t to Test::More.Nicholas Clark2010-12-151-96/+91
|
* Convert ext/NDBM_File/t/ndbm.t to Test::More.Nicholas Clark2010-12-151-95/+89
|
* Convert ext/GDBM_File/t/gdbm.t to Test::More.Nicholas Clark2010-12-151-101/+95
|
* Remove redundant use strict,warnings,?DBM_File from ext/?DBM_File/t/?dbm.t.Nicholas Clark2010-12-154-72/+0
|
* Convert all File::Glob tests to Test::More.Nicholas Clark2010-12-153-67/+37
| | | | (Apart from basic.t, which was already using Test::More)
* Convert ext/Fcntl/t/syslfs.t to Test::More and t/op/lfs.t to test.plNicholas Clark2010-12-141-49/+22
|
* In Fcntl's syslfs.t and t/op/lfs.t, eliminate bye().Nicholas Clark2010-12-141-21/+14
| | | | | | | | Its cleanup actions are implicit in the END block, so replace C<warn ...; bye>; with C<die ...> and other calls of C<bye;> with C<exit 0;> Also, remove the newlines from the strings passed to die, to make the diagnostics more useful for locating failures.
* In Fcntl's syslfs.t and t/op/lfs.t, eliminate zap().Nicholas Clark2010-12-141-7/+1
| | | | | | Now that we're using tempfiles, it no longer contains code to unlink the test files, only a close. Inline the C<close BIG> into bye(), and remove the other call to zap(), which was immediately after an explicit close of BIG.
* Refactor syslfs.t and lfs.t to call bye() directly from explain() when skipping.Nicholas Clark2010-12-141-4/+4
| | | | This will make it easier to refactoring to use Test::More/test.pl
* Convert ext/Fcntl/t/syslfs.t to File::TempNicholas Clark2010-12-141-29/+30
| | | | This reduces the differences between ext/Fcntl/t/syslfs.t and t/op/lfs.t
* Reduce inconsistencies between ext/Fcntl/t/syslfs.t and t/op/lfs.tNicholas Clark2010-12-141-6/+9
| | | | | | The two are testing the same functionality, and comments in each reference the other. However, the two have diverged, sometimes in the same commit, sometimes when corrections have been applied to only one. (eg 972720f939262dd0)
* Check return values in the test programs run by syslfs.t and lfs.tNicholas Clark2010-12-141-3/+4
| | | | | | Also fix a bug introduced in 1c25d394345c1b97, which accidentally neutered the test program of t/op/lfs.t, causing it to attempt to open an empty file, and hence do nothing and then always exit with 0.
* recursive-descent expression parsingZefram2010-12-113-1/+434
| | | | | | New API functions parse_fullexpr(), parse_listexpr(), parse_termexpr(), and parse_arithexpr(), to parse an expression at various precedence levels.
* fix various compiler warnings from XS codeZefram2010-12-1113-48/+96
| | | | | | | | | | | Trivial changes to fix warnings of types * unclear precedence * assignment as conditional * signed/unsigned mixing * unused parameter/variable * value computed not used * wrong argument type for a printf format * variable may be used uninitialised (due to unhandled switch case)
* Fix permissions for ext/XS-APItest/t/refs.t, added as +x in 88b5a879c6c933e0.Nicholas Clark2010-12-111-0/+0
|
* Fix test count in ext/XS-APItest/t/refs.tFather Chrysostomos2010-12-101-1/+1
|
* Fix XS types in typemap in order to deal with references with get magics ↵gfx2010-12-102-0/+64
| | | | correctly
* Dual-life autouseFlorian Ragwitz2010-12-103-250/+0
|
* Dual-life Devel::SelfStubberFlorian Ragwitz2010-12-092-435/+0
|
* Emit warning for use re "/ul"Father Chrysostomos2010-12-042-1/+32
| | | | | | | This was an omission on my part. This should perhaps be an error, but I am just following what ‘use re’ already does with ‘use re "whatever"’.
* [perl #80098] Bleadperl breaks Attribute::LexicalFather Chrysostomos2010-12-021-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If @UNIVERSAL::ISA = "a"; and @a::ISA = "b"; then methods are searched for in these orders: main UNIVERSAL a b UNIVERSAL a b UNIVERSAL a b a b UNIVERSAL a b b UNIVERSAL a b For method lookup, looking at a stash twice causes no problems (except for a SUPER bug I’ve just found--to be dealt with separately). My fix to next::method in a5cd004 which made it do a second pass with UNIVERSAL the way gv_fetchmeth does did not take into account that it might return its caller (sub a::foo { return shift->next::can }), causing an infinite loop. This patch makes it check, on the second pass, whether each stash is the stash at the start of the MRO list and breaks if that is the case, so the MROs are effectively: main UNIVERSAL a b UNIVERSAL a b a b UNIVERSAL b UNIVERSAL a (which is what they are effectively already for method lookup).
* ++substr $mro'VERSION, -1Father Chrysostomos2010-12-011-1/+1
|
* [perl #68654] next::method doesn't see UNIVERSALFather Chrysostomos2010-12-011-0/+14
| | | | | This commit makes next::method retry with UNIVERSAL if it reaches the end of the MRO list.
* Avoid two compiler warnings in B::cstring, spotted by Steve Hay's smoker.Nicholas Clark2010-12-012-3/+3
|
* Fix B test failure introduced in 6b7c6d9Florian Ragwitz2010-12-011-4/+4
|
* [perl #77762] Constant assignment warningFather Chrysostomos2010-11-302-12/+12
| | | | | | | | | | | | With this patch: $ ./perl -we 'sub A () {1}; if (0) {my $foo = A or die}' $ ./perl -we 'sub A () {1}; if (0) {my $foo = 1 or die}' Found = in conditional, should be == at -e line 1. Since the value of a constant may not be known at the time the program is written, it should be perfectly acceptable to do a constant assign- ment in a conditional.
* Add tests for sv_{,un}magicext and mg_findextFlorian Ragwitz2010-11-302-0/+60
|
* ++substr $re::VERSION, -1Father Chrysostomos2010-11-281-1/+1
|
* Tiny pod fixAndreas J. Koenig2010-11-281-1/+1
|
* Increase Socket.pm’s versionFather Chrysostomos2010-11-271-1/+1
|
* Increase PerlIO::scalar’s versionFather Chrysostomos2010-11-271-1/+1
|
* [perl #78716] Bogus read after seek beyond end of stringFather Chrysostomos2010-11-272-3/+11
| | | | | This is a signedness problem that ffe0bb5ab did not take into account. (STRLEN)-10 > 0 returns true for me.