summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add a few more distribution versus module name exceptionsLeon Brocard2009-11-181-1/+4
|
* Typo fixAbigail2009-11-171-1/+1
|
* 'use strict' and 'use warnings' in test generated by h2xsHarmen2009-11-081-0/+3
|
* Implement facility to plug in syntax triggered by keywordsJesse Vincent2009-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Tue, 27 Oct 2009 01:29:40 +0000 From: Zefram <zefram@fysh.org> To: perl5-porters@perl.org Subject: bareword sub lookups Attached is a patch that changes how the tokeniser looks up subroutines, when they're referenced by a bareword, for prototype and const-sub purposes. Formerly, it has looked up bareword subs directly in the package, which is contrary to the way the generated op tree looks up the sub, via an rv2cv op. The patch makes the tokeniser generate the rv2cv op earlier, and dig around in that. The motivation for this is to allow modules to hook the rv2cv op creation, to affect the name->subroutine lookup process. Currently, such hooking affects op execution as intended, but everything goes wrong with a bareword ref where the tokeniser looks at some unrelated CV, or a blank space, in the package. With the patch in place, an rv2cv hook correctly affects the tokeniser and therefore the prototype-based aspects of parsing. The patch also changes ck_subr (which applies the argument context and checking parts of prototype behaviour) to handle subs referenced by an RV const op inside the rv2cv, where formerly it would only handle a gv op inside the rv2cv. This is to support the most likely kind of modified rv2cv op. [This commit includes the Makefile.PL for XS-APITest-KeywordRPN missing from the original patch, as well as updates to perldiag.pod and a MANIFEST sort]
* Move Test::Harness from ext/ to cpan/Nicholas Clark2009-10-021-1/+1
|
* Move Digest::SHA from ext/ to cpan/Nicholas Clark2009-10-011-1/+1
| | | | | Move the shasum binary to the top level, to remove the need for a MAP entry in Maintainers.PL
* Move ExtUtils::MakeMaker from ext/ to cpan/Nicholas Clark2009-10-011-1/+1
|
* Move Module::CoreList from ext/ to dist/Nicholas Clark2009-09-291-1/+1
|
* Move Module::Build from ext/ to cpan/Nicholas Clark2009-09-261-1/+1
|
* Move ExtUtils::ParseXS from ext/ to cpan/Nicholas Clark2009-09-261-1/+1
|
* Move CPANPLUS from ext/ to cpan/Nicholas Clark2009-09-263-3/+3
|
* Move CPAN from ext/ to cpan/Nicholas Clark2009-09-261-1/+1
|
* Move Archive::Tar from ext/ to cpan/Nicholas Clark2009-09-262-2/+2
|
* Move Encode from ext/ to cpan/Nicholas Clark2009-09-252-2/+2
|
* Move Moudle::Build from lib to ext.Nicholas Clark2009-09-131-1/+1
|
* instmodsh is a file, not a directory.Craig A. Berry2009-09-111-2/+2
| | | | Follow-up to b78fd7160df924147ff968f6dc2796473af0c484.
* xsubpp is a file, not a directory.Craig A. Berry2009-09-111-1/+2
| | | | Follow-up to 4822030c168a634e0e2adb4eaa6369019c959730.
* Move ExtUtils::MakeMaker from lib to ext.Nicholas Clark2009-09-101-1/+4
| | | | | | | | | | t/lib/TieOut.pm is now from Test::Simple. Only the tests needed changing. The exceptions to BEGIN/PERL_CORE/INC boilerplate removal were two instances of "../.." becoming "../../../..", and changing an %INC test from "strict.pm" to "less.pm", as TestInit causes strict to be loaded via a relative path, when it loads File::Spec to convert all paths from relative to absolute.
* Move ExtUtils::ParseXS from lib to ext.Nicholas Clark2009-09-101-1/+3
|
* Move CPAN from lib/ to ext/Chris Williams2009-09-081-1/+1
|
* Move CPANPLUS from lib/ to ext/Chris Williams2009-09-073-3/+3
|
* learning curves++ Had neglected to update the util generators for ptar* scripts.Chris Williams2009-09-062-2/+2
|
* Move Module::CoreList to ext/Rafael Garcia-Suarez2009-08-301-1/+1
| | | | | | and add missing files from the CPAN distribution. Also adjust utils/corelist.PL to look for the corelist utility in the new directory.
* Teach perlivp about the new stucture of the IO::Compress module suiteVincent Pit2009-08-201-5/+5
| | | | This fixes [perl #68682] : 5.10.1 ( RC1 and RC2 ) perlivp fails IO/Compress
* Typos in perlbug.PLJerry D. Hedden2009-08-121-2/+2
|
* perlbug.PL assumes patchlevel.h has simple patch lists;David Mitchell2009-08-121-0/+2
| | | | | but these days it contains macros that expand to patch lists; for now, just skip these macros. need a proper fix sometime.
* Cosmetic changeStepan Kasal2009-07-131-2/+1
|
* h2ph: handle "#if defined SYMBOL" betterStepan Kasal2009-07-121-3/+10
| | | | | | expr() contains a code to handle "defined(SYM)" in #if directives. Unfortunately, this code is not executed for "defined SYM", without parentheses. This patch fixes it.
* Make h2xs add a dependency on Test.pm for < 5.6.2Steffen Mueller2009-06-081-8/+16
| | | | | Also replaces lots of 5.00702 (note missing 0) with 5.006002. This is to allow us to jettison Test.pm from core eventually.
* Use %Module::CoreList::bug_tracker to print out upstream bug tracker URLs.Nicholas Clark2009-04-231-0/+6
| | | | | | | Where the user names a module that their bug report is about, and we know the URL for its upstream bug tracker, provide a message to the user explaining that the core copies the CPAN version directly, and provide the URL for reporting the bug directly to upstream.
* Make h2ph's generated preamble require-able when empty.Craig A. Berry2009-04-191-0/+1
| | | | | $Config{ccsymbols} and friends are currently empty on Win32 and undefined on VMS.
* Squelch 'Constant subroutine ... undefined' warnings from .ph filesNiko Tyni2009-04-161-1/+1
| | | | | | | As reported by Christopher Zimmermann in <http://bugs.debian.org/379757>, code generated from simple #undef directives by h2ph can cause 'Constant subroutine ... undefined' warnings if the undefined function was eligible for inlining.
* h2xs incorrectly treats enum values like macrosNiko Tyni2009-04-081-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch and description by Rainer Weikusat, forwarded from http://bugs.debian.org/502297 : The h2xs program scans C headers for 'constants' either defined as preprocessor macros or via enum and builds a sorted list of names containing the macros and enum values found in this way. This list is then passed to ExtUtils::Constant::WriteConstants, which generates the corresponding const-c.inc and const-xs.inc files when perl Makefile.PL is executed. By default, ie when just processing a constant name, this function assumes that the name refers to a preprocessor macro and the generated C-code in const-c.inc contains conditional compilation directives to either return the macro value or Perl_constant_NOTDEF, depending on the defined'ness of the macro. This causes constants defined as enumeration values to never be available to module users, because they are not visible to the preprocessor. Instead of passing just a name to the WriteConstants-routine, a hashref (members documented in ExtUtils::Constant::Base(3perl)) can be used to specify more details regarding what code should be generated for a particular constant. For an enumeration value, a hashref constructed as { name => <name of the constant>, macro => 1 } could be used to get rid of the inappropriate preprocessor directives. ( Another version of the same fix was also submitted by Daniel Burr in http://bugs.debian.org/320286 )
* Make h2ph look in "include-fixed", needed by at least gcc 4.3Niko Tyni2009-04-071-2/+2
| | | | | | | | | | | | As seen in <http://bugs.debian.org/522673>, since 4.2.0 or so gcc's search path has a new "include-fixed" directory, which currently contains <syslimits.h> and a few other headers. Converting <syslimits.h> therefore fails unless h2ph knows about the new directory too. See http://gcc.gnu.org/ml/gcc-patches/2007-02/msg02038.html for some background to the gcc change.
* Rename ext/Test/Harness to ext/Test-HarnessNicholas Clark2009-02-091-1/+1
|
* Rename ext/Digest/SHA to ext/Digest-SHANicholas Clark2009-02-091-1/+1
|
* Rename ext/Devel/DProf to ext/Devel-DProfNicholas Clark2009-02-091-1/+1
|
* Fix h2xs enum handling with C++ commentsNiko Tyni2009-01-191-0/+1
| | | | | | | | | | | | | | | | | | Contrary to the comment in the code, h2xs mishandles enums that contain C++ style comments. An example of a failing header: enum { A = -1, // negative one // with more comments B = -2, // negative two C = -3 // negative two }; which generates exported constants for 'A' and 'negative'. The patch is slightly modified from the one by Daniel Burr in http://bugs.debian.org/320286
* Subject: [perl #61418] perlthanks isn't documented in perlthanksSteve Peters2008-12-191-2/+14
| | | | | | From: Abigail (via RT) <perlbug-followup@perl.org> Date: Tue, 16 Dec 2008 13:09:56 -0800 Message-ID: <rt-3.6.HEAD-15883-1229461796-1657.61418-75-0@perl.org>
* [admin] set up .gitignore filesSam Vilain2008-12-191-0/+4
| | | | | A list submitted by Paul Fenwick was briefly factored into directory-specific rules.
* Thank you for a thank you, not thank you for a bug report.Nicholas Clark2008-12-161-1/+5
| | | p4raw-id: //depot/perl@35120
* Skip #ifdefs and other preprocessor lines when parsing theGisle Aas2008-11-121-0/+1
| | | | | local_patches section of patchlevel.h. p4raw-id: //depot/perl@34824
* Couple of mail address fixesRichard Foley2008-09-241-1/+1
| | | | | Message-Id: <200809241407.38389.Richard.Foley@rfi.net> p4raw-id: //depot/perl@34414
* Move the modules, tests, prove and Changes file from lib/ toNicholas Clark2008-08-191-1/+1
| | | | | | | ext/Test/Harness. Not everything is there yet, but it makes it way easier to swap the directory out and replace it with a trunk svn checkout. p4raw-id: //depot/perl@34206
* [perl #55844] [PATCH] perlbug refactoring and prose cleanup Jesse2008-06-161-401/+539
| | | | | | From: Jesse (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-18229-1213543909-1580.55844-75-0@perl.org> p4raw-id: //depot/perl@34061
* Revert #34019.Rafael Garcia-Suarez2008-06-081-239/+193
| | | p4raw-id: //depot/perl@34020
* perlbug prose patch (and some evals, too)Jesse Vincent2008-06-081-193/+239
| | | | | | | Message-Id: <89557793-48C2-4962-BE7A-24DC2EAFAF15@fsck.com> (applied to perlbug.PL instead of the generated perlbug) p4raw-id: //depot/perl@34019
* h2ph: allow the quote mark delimiter when chasing #include directives with "-a"Niko Tyni2008-05-161-5/+15
| | | | | Message-Id: <1210882535-11072-1-git-send-email-ntyni@debian.org> p4raw-id: //depot/perl@33835
* Typo Fixeschromatic2008-03-261-7/+7
| | | | | Message-Id: <200803260012.09967.chromatic@wgz.org> p4raw-id: //depot/perl@33569
* Update the use of single quotes to be consistent with the advice inNicholas Clark2008-03-141-20/+20
| | | | | http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html p4raw-id: //depot/perl@33531