summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* h2xs: remove useless compatibility code (VERSION_FROM requires EU::MM from ↵Alexandr Ciornii2013-06-241-4/+3
| | | | perl 5.5)
* h2xs: dependency on XSLoader should be declared even when it is in coreAlexandr Ciornii2013-06-241-1/+1
|
* h2xs: remove indirect object notationAlexandr Ciornii2013-06-241-2/+2
|
* Synchronize h2ph POD text with usage outputPetr Písař2013-06-091-1/+7
|
* typo fix for util scriptDavid Steinbrunner2013-05-241-1/+1
|
* Remove cpan/CPANPLUS and associated utilitiesChris 'BinGOs' Williams2013-05-185-171/+6
|
* libnetcfg.PL: Fix broken pod linkKarl Williamson2013-03-181-1/+1
|
* Make perlbug recommend perlcommunity.pod over UsenetAaron Crane2013-01-111-2/+2
| | | | Suggested by Dave Mitchell.
* add PERL_NO_GET_CONTEXT to xs template in h2xs.PLDaniel Dragan2012-12-051-0/+1
| | | | | | | An XS module not using PERL_NO_GET_CONTEXT is extremely inefficient under threaded Perls. Prevent PERL_NO_GET_CONTEXT-less modules in the future by making it a default. Many XS modules are created with h2xs. Also see this anonymous complaint http://perlmonks.org/?node_id=990732 .
* [perl #20636] Make h2xs skip #define macros with empty rhsAaron Crane2012-09-281-0/+4
| | | | | Otherwise the generated C code uses such macros in expressions, which causes compilation errors because the macro is expanded to an empty token list.
* Correct obvious typos in acknowledgements listDominic Hargreaves2012-09-101-3/+3
|
* we no longer have in-file changelogs, since we have a version control systemJesse Vincent2012-05-011-52/+0
|
* || instead of "or" (perl#78708)Alexandr Ciornii2011-12-051-1/+1
|
* Update IO-Compress to CPAN version 2.044Chris 'BinGOs' Williams2011-12-043-6/+61
| | | | | | | | | | | | | | | | | [DELTA] 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed * Added bin/zipdetails * IO::Compress::Zip - In one-shot mode enable Zip64 mode if the input file/buffer >= 0xFFFFFFFF bytes. * IO::Compress::FAQ - Updates
* [RT #36079] Convert ` to '.jkeenan2011-11-224-37/+37
|
* $Config{locincpath} might be emptyH.Merijn Brand2011-11-151-1/+1
| | | | This causes h2xs.t to fail on systems where that is the case
* don't redefine macrosubs in .phLukas Mai2011-09-171-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | h2ph generates code of the form unless(defined(&FOO)) { sub FOO () {42;} } for a C macro like '#define FOO 42'. The problem with that: 'sub' happens at compile time, 'unless' at runtime. So the sub is unconditionally defined first, then the unless runs with an empty body. This behavior was introduced in commit 3d271ce79d39df56470393916b3d33ff26db2c8b (the syntax errors there were fixed in commit 4a8e146e38ec2045f1f817a7cb578e1b1f80f39f). There are already two code paths there, one for indentation level > 0 (eval), the other for toplevel definitions (straight sub). This patch unifies them to always use 'eval' / runtime definitions. This change shortens the code and makes the conditions actually work. It moves the check for '#define FOO FOO' further up because I don't see why it only needs to be done if indentation == 0. I changed the comparison to use a whitespace-agnostic regex because '" \&$name" eq $new' looks too brittle (the redundant \ doesn't help).
* Make pod2html a regular script without substitutionsFlorian Ragwitz2011-08-273-6/+63
| | | | | | This will make the CPAN dist easier. For the perl core, we still need substitutions to get the right she-bang as we don't go through EU::MM to fix it for us. For that, we add utils/pod2html.PL.
* Remove .ph tests from perlivpDavid Golden2011-07-201-70/+3
| | | | | | | These tests were made optional in 2005 in commit 2a36bdc27 and refer to files which are no longer generated during install. To avoid confusion, the tests for these files have been removed.
* Add test labels to perlivpDavid Golden2011-07-201-12/+21
|
* Make perlivp ignore PERL5LIB and current directoryDavid Golden2011-07-201-0/+8
|
* skip perlfaq pseudo-module in installation testv5.15.1Zefram2011-07-201-0/+1
|
* Kill Devel::DProfFlorian Ragwitz2011-06-143-61/+6
| | | | It has been deprecated in 5.14. Now is the time to remove it.
* perlbug: replace all $::opt_* with %optJim Cromie2011-06-011-41/+40
| | | | | | | | | patch does: perl -pi -e 's/$::opt_(\w)/$opt{$1}/g' perlbug.PL adds my %opt decl, and in getopts. drops no warnings 'once' Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
* [perl #90122] Make h2ph correctly search gcc include directoriesNiko Tyni2011-05-191-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System header conversion with "h2ph -a" is currently broken on Ubuntu Natty and Oneiric (unless the gcc-multilib package is installed for backward compatibility), resulting in things like # perl -e 'require "syscall.ph"' Can't locate asm/unistd.ph in @INC [...] This happens because Ubuntu has switched to a 'multiarch' setup, see <https://wiki.ubuntu.com/MultiarchSpec> for details. The asm subdirectory isn't in $Config{usrinc} anymore: /usr/include/asm is now /usr/include/x86_64-linux-gnu/asm. (The third component of the new path varies with the actual architecture.) gcc --print-search-dirs doesn't really tell anything about where gcc looks for the include directories, it was just used to find the gcc internal directory prefix. Parse the output of "gcc -v -E" instead, and append $Config{usrinc} for safety. Duplicates shouldn't matter. The h2ph "-a" switch isn't currently tested automatically, and that seems nontrivial to do portably. Manual testing was done with # mkdir ttt # ./perl -Ilib ./utils/h2ph -a -d $(pwd)/ttt syscall.h The gcc invocation has been tested to work with gcc 4.6, 4.1, and 3.3. http://bugs.debian.org/625808 https://bugs.launchpad.net/bugs/777903
* bdec6fb9 changed utils/Makefile.SH - this needs replicating in utils/MakefileNicholas Clark2011-05-191-0/+2
| | | | | | (There's a less than idea situation with a somewhat complex history of trying to resolve it, where utils/Makefile is in the repository for the use of platforms unable to run utils/Makefile.SH)
* [perl #88496] missing dependencies in perl core makefilesMartin Becker2011-05-181-0/+2
| | | | | | | | | | | | | | | | | | | I have spotted a couple of missing dependencies in the makefiles utils/Makefile.SH and x2p/Makefile.SH that prevent json_pp, s2p, psed, and find2perl from being rebuilt after configuration changes. This could cause trouble if the install prefix has been changed, so that the shebang line of these scripts from a previous build no longer matches the target location of the perl binary. A workaround would be to always "make clean" after changes to the configuration, which sounds reasonable anyway. That said, most of the other tools do have config.sh properly listed as a dependency and I don't see why those four should not. I have attached a small patch against perl-5.13.11 to fix this. The bug is also present in the latest stable release as of this writing, perl-5.12.3, except that json_pp is not included there.
* Dual-life Devel::DProfFlorian Ragwitz2011-02-191-1/+1
| | | | It's not actually on CPAN yet, but it will be in the next couple of days.
* Move dprofpp from utils/ to ext/Devel-DProf/binFlorian Ragwitz2011-02-181-955/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way the script can easily be part of the CPAN distribution, where ExtUtils::MakeMaker will do its shebang munging. In the core, we still have utils/dprofpp.PL, which also does shebang munging and takes care of creating `dprofpp.com' instead of just `dprofpp' on VMS, which ExtUtils::MakeMaker doesn't seem to be up to yet. To make this work, some things had to be moved from script-generation-time to run-time: * location of the stty binary This is probably better for binary perl distributions anyway * Devel::DProf version detection This is needed for `dprofpp -V'. The version number used to be copied into the script, but is now determined by actually loading Devel::DProf. In order for this to work it's necessary to be able to load DProf without causing profiling to start. For that, starting of the profiler has been moved to `import', causing require Devel::DProf; to not trigger it anymore, while use Devel::DProf; (and therefore perl -d:DProf) still does.
* Update Module::Build to CPAN version 0.37_04David Golden2011-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 0.37_04 - Wed Feb 16 15:27:21 EST 2011 [OTHER] - moved scripts/ to bin/ for less confusing porting to bleadperl 0.37_03 - Wed Feb 16 09:54:05 EST 2011 [BUG FIXES] - removed an irrelevant test in t/actions/installdeps.t that was causing failures on some Cygwin platforms [OTHER] - dropped configure_requires as some CPAN clients apparently get confused by having things in both configure_requires and requires - bumped Parse::CPAN::Meta build prereq to 1.4401 - bumped CPAN::Meta prereq to 2.110420 0.37_02 - Mon Feb 7 21:05:30 EST 2011 [BUG FIXES] - bumped CPAN::Meta prereq to 2.110390 to avoid a regression in 2.110360 0.37_01 - Thu Feb 3 03:44:38 EST 2011 [ENHANCEMENTS] - Generates META.json and MYMETA.json consistent with version 2 of the CPAN Meta Spec. [David Golden] [BUG FIXES] - t/signature.t now uses a mocked Module::Signature; this should be more robust across platforms as it only needs to confirm that Module::Build is calling Module::Signature when expected [OTHER] - Added CPAN::Meta and Parse::CPAN::Meta to prerequisites and dropped CPAN::Meta::YAML 0.3624 - Thu Jan 27 11:38:39 EST 2011 - Fixed pod2html directory bugs and fixed creation of spurious blib directory in core perl directory when running install.t (RT#63003) [Chris Williams] 0.3623 - Wed Jan 26 17:45:30 EST 2011 - Fixed bugs involving bootstrapping configure_requires prerequisites on older CPANPLUS clients or for either CPAN/CPANPLUS when using the compatibility Makefile.PL - Added diagnostic output when configure_requires are missing for the benefit of users doing manual installation
* [perl #82996] Use the user's from address as return-path in perlbugDavid Leadbeater2011-01-291-2/+2
| | | | | | | Many systems thesedays don't have a valid internet domain name and perlbug@perl.org does not accept email with a return-path that does not resolve. Therefore pass the user's address to sendmail so it's less likely to get stuck in a mail queue somewhere.
* Remove Mac OS classic code from scripts in utils/Nicholas Clark2011-01-182-34/+11
|
* Fix typos (spelling errors) in utils/*.Peter J. Acklam) (via RT2011-01-075-8/+8
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81914] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81914 > Signed-off-by: Abigail <abigail@abigail.be>
* Add JSON::PP to the Perl coreDavid Golden2011-01-023-6/+57
| | | | | Per discussions with Jesse Vincent, JSON::PP has been added to the Perl core to support the new CPAN meta file specification
* perlbug did not previously generate a From: header. While some MTAs doJesse Vincent2011-01-021-1/+2
| | | | | the "right" thing and insert a valid "From:", not all of them do, potentially resulting in dropped mail.
* Update Archive-Tar to CPAN version 1.70Chris 'BinGOs' Williams2010-11-153-6/+61
| | | | | | | | | | | [DELTA] * important changes in version 1.70 15/11/2010 - Add ptargrep utility courtesy of Grant McLean ** I think I found everywhere that needed updating by grepping for 'ptardiff' and adding where needed. This stuff is definitively not intuitive.
* Fix x2p and utils dependencies for static buildsAndy Dougherty2010-10-142-1/+13
| | | | | | | | The x2p and utils .PL extractions use the Cwd module, which is not available in miniperl in a static build. (For a dynamic build, miniperl only loads the pure perl portion of Cwd, but building the whole extension ensures that the pure perl part is correctly built and available. It might be cleaner just to always require the full perl.)
* merge XS-APItest-KeywordRPN into XS-APItestZefram2010-09-261-1/+0
| | | | | XS-APItest-KeywordRPN has turned out to be less useful as an independent module than expected, and less strictly about RPN than it originally was.
* RT 74404 - h2ph using deprecated gotoTodd Rinaldo2010-09-011-18/+24
| | | | | | | | | | It looks like h2ph makes copious use of global variables. As a result, I can commit this evil for a minimal patch. No code was changed moving it into the sub other than passing $proto, which is the only non-global used (but not modified). I tried a 5.12.0 build with this patch and it seems to be passing tests. There is a lib/h2ph.t file but I don't know what it tests exactly.
* Move ExtUtils::ParseXS from cpan/ to dist/Florian Ragwitz2010-07-271-1/+1
| | | | Both Ken and David agree with this.
* perlbug: always allow change of sender addressDavid Mitchell2010-06-081-2/+3
| | | | | | | | | | The code that guessed a default sender address would under some circumstances not display this guess to the user with the option to change it. Specifically, if $Config{cf_me} eq {login id of the user running perlbug}. In my case, cf_email got set at build time (Configure default) of 'davem@pigeon.(none)', which was then silently used. Not good!
* perlbug -d,-v: fix uninit value warningsDavid Mitchell2010-06-071-0/+5
|
* Fix h2ph and testRobin Barker2010-04-261-5/+23
|
* Also guess $ENV{EMAIL}, if present, as the originating addressAlex Vandiver2010-04-171-1/+1
| | | | Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* [perl #74038] c2ph (and pstruct) use the deprecated 'getopts.pl' libraryZefram2010-04-141-2/+2
|
* Only define PERL_PATCHNUM when either git or the .patch file is availableGisle Aas2010-03-071-1/+1
| | | | | This patch also make PERL_GIT_UNCOMMITTED_CHANGES useful and thus avoids always adding the "*" to the 'perl -v' output.
* perlbug reports "Message sent" even when it hasn'tTim Bunce (via RT)2009-11-261-1/+1
| | | | | perlbug doesn't check the return status of Mail::Send and so reports "Message sent" even if it hasn't:
* Don't suggest Mail::Send isn't availble if we're ignoring itAbigail2009-11-231-1/+7
|
* Add a few more distribution versus module name exceptionsLeon Brocard2009-11-181-1/+4
|
* Typo fixAbigail2009-11-171-1/+1
|