summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* git-flavoured autodie 1.997 patchPaul Fenwick2008-12-2037-0/+1377
| | | | | | | | | | | | | | | | | | | | | | | | | G'day p5p, Since we've moved over to git, attached is a git-friendly patch of autodie 1.997 against the current blead. It's no different to the older 1.997 patch[1], but contains all the meta-info that git likes to have so that you can use 'git am' to apply the changes. All the very best, Paul [1] Okay, there's one or two non-significant whitespace changes. -- Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia | Fax: +61 3 9354 2681 >From b0dc5ff6b006a9df2a67b886e5e0d0d168c1245e Mon Sep 17 00:00:00 2001 From: Paul Fenwick <pjf@perltraining.com.au> Date: Sun, 21 Dec 2008 00:17:28 +1100 Subject: [PATCH] Autodie 1.997
* Subject: PATCH 5.10 documentationSteve Peters2008-12-191-1/+3
| | | | | | From: karl williamson <public@khwilliamson.com> Date: Tue, 16 Dec 2008 16:00:34 -0700 Message-ID: <49483312.80804@khwilliamson.com>
* [admin] set up .gitignore filesSam Vilain2008-12-193-0/+4
| | | | | A list submitted by Paul Fenwick was briefly factored into directory-specific rules.
* [perl #60978] [PATCH] Tied filehandles can't distinguish eof formsChip Salzenberg2008-12-111-3/+33
| | | | | Message-ID: <20081210224524.GD18817@tytlal.topaz.cx> p4raw-id: //depot/perl@35074
* Fix for tainting regression in a test of Text::Template spotted byNicholas Clark2008-12-031-1/+37
| | | | | Andreas' smoker. p4raw-id: //depot/perl@34987
* Change PL_debug behaviour so that string eval lines are saved wheneverNicholas Clark2008-12-021-6/+3
| | | | | | | a subroutine is defined, even if the eval'd string has subsequent syntax errors. This allows the debugger to single step into these subroutines. p4raw-id: //depot/perl@34986
* Implement PERLDBf_SAVESRC_INVALID, which saves source lines for stringNicholas Clark2008-12-021-4/+1
| | | | | evals that fail to compile. p4raw-id: //depot/perl@34985
* Codify the current behaviour of evals which define subroutines beforeNicholas Clark2008-12-021-1/+22
| | | | | failing (due to syntax errors). p4raw-id: //depot/perl@34984
* Followup to change 34979. Tests are good, m'kay. Particularly when theyNicholas Clark2008-12-021-16/+46
| | | | | | | show you that something you thought worked doesn't. Sadly it's not possible to trivially make it work, so for now they're todo_skip(). p4raw-id: //depot/perl@34981
* Addendum to bug #38809: fix assertion failure, more testsVincent Pit2008-11-261-5/+24
| | | | | Message-ID: <492D8C3C.1010003@profvince.com> p4raw-id: //depot/perl@34921
* [perl #38809] return do { } : take 3 (or 4...)Vincent Pit2008-11-251-1/+18
| | | | | Message-ID: <48E0F5E9.4050805@profvince.com> p4raw-id: //depot/perl@34907
* [perl #7911] no warning for useless /d in tr/0-9//dreneeb2008-11-251-3/+9
| | | | | | From: "reneeb via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-10965-1226931231-1833.7911-15-0@perl.org> p4raw-id: //depot/perl@34905
* Remove the trailing NUL byte, and (hopefully) convert perforce toNicholas Clark2008-11-181-0/+0
| | | | | thinking that it is text, not binary. p4raw-id: //depot/perl@34883
* Improve and restructure t/op/pat.t and split out some unicode related tests ↵Abigail2008-11-183-4169/+3832
| | | | | | | | | | | into a new test file Subject: t/op/pat.t Message-ID: <20081118082905.GJ3172@almanda> With tweaks: Seems the new harness is quite picky about # signs in test names, and doesnt like SKIP and TODO to be used together. p4raw-id: //depot/perl@34882
* Rafael noticed a bug in 34873 - I was comparing against the wrongNicholas Clark2008-11-181-2/+11
| | | | | | variable, and hence (usually) saving all globs, not just those that should be kept. p4raw-id: //depot/perl@34879
* S_save_lines() was using strchr() when it should have been usingNicholas Clark2008-11-171-5/+10
| | | | | | | | memchr(). Result - eval""ed source with embedded NULs was not split correctly into lines for the debugger. Obscure. But still a bug. Maybe the Campaign for the Elimination of strlen() needs to take a long hard stare at every strchr() too. And strmp() while we're looking. p4raw-id: //depot/perl@34876
* Fix the bug introduced with MRO, whereby the internals were not savingNicholas Clark2008-11-171-0/+43
| | | | | lines in subroutines defined inside eval ""s for the debugger. p4raw-id: //depot/perl@34873
* Re: [perl #59998] [PATCH] crypt() returns tainted data even when input ↵Chip Salzenberg2008-11-171-1/+16
| | | | | | | strings are detainted Message-ID: <20081117071429.GD5495@tytlal.topaz.cx> p4raw-id: //depot/perl@34860
* MRO tests for isa() and package aliasesTorsten Schoenfeld2008-11-161-0/+33
| | | | | Message-ID: <491F3008.4060205@gmx.de> p4raw-id: //depot/perl@34839
* [perl #948] [PATCH] Allow tied $,Chip Salzenberg2008-11-141-5/+3
| | | | | Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx> p4raw-id: //depot/perl@34831
* [patch@34779] Get posix exit mode working/tested on VMSJohn E. Malmberg2008-11-101-4/+28
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <4916872B.5040500@qsl.net> p4raw-id: //depot/perl@34790
* Add support for testing when underYves Orton2008-11-092-11/+47
| | | | | | | | | #define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS = 0 as signalled by the environment variable REAL_POSIX_CC being true. Otherwise test are as they used to be, or TODO'ed. p4raw-id: //depot/perl@34785
* Fix warning code in Perl_sv_vcatpvfn() to make the TODOMarcus Holland-Moritz2008-11-092-4/+31
| | | | | | tests introduced with #34781 pass. Add some more warning tests to t/lib/warnings/sv. p4raw-id: //depot/perl@34783
* Update format warning tests to expect "%lld" instead of "%d"Marcus Holland-Moritz2008-11-091-9/+12
| | | | | | when "%lld" was in the format string. Mark these warnings as TODO until this is fixed. p4raw-id: //depot/perl@34781
* "Perl_newSVpvf("%lld")" is brokenHugo van der Sanden2008-11-091-1/+27
| | | | | | | Message-Id: <200811081329.mA8DTv7e018896@zen.crypt.org> Plus some test cases. p4raw-id: //depot/perl@34780
* create new unicode props as defined in POSIX spec (optionally use them in ↵Yves Orton2008-11-072-0/+130
| | | | | | | | | | | | | | | | | | | | the regex engine) Perlbug #60156 and #49302 (and probably others) resolve down to the problem that the definition of \s and \w and \d and the POSIX charclasses are different for unicode strings and for non-unicode strings. This broke the character class logic in the regex engine. The easiest fix to make the character class logic sane again is to define new properties which do match. This change creates new property classes that can be used instead of the traditional ones (it does not change the previously defined ones). If the define in regcomp.h: #define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1 is changed to 0, then the new mappings will be used. This will fix a bunch of bugs that are reported as TODO items in the new reg_posixcc.t test file. p4raw-id: //depot/perl@34769
* Various changes to regex diagnostics and testingYves Orton2008-11-062-10/+15
| | | | | | | | | | | * Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one * Make it possible to make tests in re_tests todo. * add a todo test for a complementary character class match that should fail (perl #60156) * Also add a comment explaining a previous commit (relating to perl #60344) p4raw-id: //depot/perl@34755
* Reolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256karl williamson2008-11-061-0/+1
| | | | | | | Subject: PATCH [perl #59328] In re's, \N{U+...} doesn't match for ... > 256 Message-ID: <49124B78.2000907@khwilliamson.com> Date: Wed, 05 Nov 2008 18:42:16 -0700 p4raw-id: //depot/perl@34747
* Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl ↵Yves Orton2008-11-061-0/+2
| | | | | | | | | | 5.10 During the de-recursivization it looks like Dave M forgot to reset the 'logical' flag after using it, which in turn causes UNLESSM/IFTHEN when used after a LOGICAL operator to be incorrectly intrepreted. This change resets the logical flag after each time it is stored in ST.logical. p4raw-id: //depot/perl@34746
* [perl #56526] m/a{1,0}/ compiles but doesn't match a literal string Michael Cartmell2008-11-021-0/+1
| | | | | | From: Michael Cartmell (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-27577-1215001078-1211.56526-75-0@perl.org> p4raw-id: //depot/perl@34697
* Add a test for bug #60214Rafael Garcia-Suarez2008-10-301-1/+10
| | | p4raw-id: //depot/perl@34661
* Haiku PortIngo Weinhold2008-10-291-1/+1
| | | | | Message-Id: <20081029022544.413.1@knochen-vm.localdomain> p4raw-id: //depot/perl@34630
* Integrate:Vincent Pit2008-10-251-1/+15
| | | | | | | | | | | | [ 34580] Subject: Re: [perl #60034] (?>) causes wrongness on long string Message-ID: <48FFABE4.2030507@profvince.com> [just the changes, as TODOs] p4raw-link: @34580 on //depot/maint-5.8/perl: 7e8969c0412490151f26944243e2767cf32aca95 p4raw-id: //depot/perl@34581 p4raw-integrated: from //depot/maint-5.8/perl@34579 'edit in' t/op/pat.t (@34396..)
* Test::Simple 0.81_02 has:Nicholas Clark2008-10-213-0/+4
| | | | | | | | | | | Features Changed - Now preserves the tests' exit code if it exits abnormally, rather than setting it to 255. $! is non-zero with PERLIO=stdio in some cases, so die would have set the exit code to $! (typically 9). Now that would show through, so ensure $! *is* zero to make sure that the exit code is 255. p4raw-id: //depot/perl@34545
* Upgrade to ExtUtils-MakeMaker-6.48Nicholas Clark2008-10-201-0/+35
| | | p4raw-id: //depot/perl@34541
* Change "use $foo; 1" in evals to "require $foo; 1" to avoid breakingNicholas Clark2008-10-201-6/+6
| | | | | even more tests if use is borked, but not require. p4raw-id: //depot/perl@34528
* Upgrade to ExtUtils-MakeMaker-6.47_02Nicholas Clark2008-10-171-22/+20
| | | p4raw-id: //depot/perl@34498
* One final tweak for the Test-Simple-0.82 upgrade. Ugh.Steve Peters2008-10-151-6/+0
| | | p4raw-id: //depot/perl@34490
* *sigh* More files messed with for Test-Simple-0.82.Steve Peters2008-10-153-3/+11
| | | p4raw-id: //depot/perl@34488
* Some additional files changes for Test-Simple-0.82Steve Peters2008-10-1515-3/+18
| | | p4raw-id: //depot/perl@34484
* Upgrade to ExtUtils-MakeMaker-6.47_01Nicholas Clark2008-10-152-2/+92
| | | p4raw-id: //depot/perl@34482
* Change of email address.Abigail2008-10-071-1/+1
| | | | | Message-ID: <20081007195655.GA22986@almanda> p4raw-id: //depot/perl@34471
* Loading modules in test.plJerry D. Hedden2008-09-271-7/+4
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809230640y2d5a072g6abff6604f9daa79@mail.gmail.com> p4raw-id: //depot/perl@34434
* Change 30638 to 5.8.x inadvertently introduced (at lest) twoNicholas Clark2008-09-221-0/+6
| | | | | | | regressions into the regexp engine. Add tests for the constructions that regressed, to prevent any future change falling foul of the same problem. p4raw-id: //depot/perl@34400
* Need to free the isa lookup hash before rebuilding it.Nicholas Clark2008-09-121-1/+12
| | | p4raw-id: //depot/perl@34355
* Watchdog re-queueJerry D. Hedden2008-09-101-5/+3
| | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809090654v2de48f1r37499d573f452cdb@mail.gmail.com> Date: Tue, 9 Sep 2008 09:54:41 -0400 p4raw-id: //depot/perl@34337
* Re: 'if not / unless' optimization change makes my pow test go POW!Vincent Pit2008-09-081-3/+14
| | | | | | Message-ID: <48C586BA.4050603@profvince.com> Date: Mon, 08 Sep 2008 22:10:34 +0200 p4raw-id: //depot/perl@34322
* Re-instate all the warnings checks that don't work on Win32, but withNicholas Clark2008-09-081-4/+56
| | | | | a SKIP that triggers on Win32. (So that they get tested elsewhere) p4raw-id: //depot/perl@34319
* Make sure the watchdog requeues itself when sleep() wakes up earlyCraig A. Berry2008-09-081-4/+12
| | | | | | | (such as when an alarm fires). Also, bail out with SIGTERM rather than SIGKILL on VMS since the latter kills the shell from which Perl was started. p4raw-id: //depot/perl@34316
* Make sure temp file has an extension on VMS to work with the newCraig A. Berry2008-09-081-1/+2
| | | | | temp file name generator in t/test.pl p4raw-id: //depot/perl@34315