| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Switch from two-argument form. Filehandle cloning is still done with the two
argument form for backward compatibility.
Committer: Get all porting tests to pass. Increment some $VERSIONs.
Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl
For: RT #130122
|
|
|
|
|
| |
'typedef enum x { ... } x' causes h2xs to enter a substitution loop while
trying to write the typemap file.
|
|
|
|
|
|
|
| |
While currently Encode and Storable are know to attempt to load modules
not included in the core, updates to other modules may lead to those
also attempting to load new modules, so be safe and remove . for those
as well.
|
| |
|
|
|
|
| |
perl 5.5)
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 .
|
|
|
|
|
| |
Otherwise the generated C code uses such macros in expressions, which causes
compilation errors because the macro is expanded to an empty token list.
|
| |
|
| |
|
|
|
|
| |
This causes h2xs.t to fail on systems where that is the case
|
|
|
|
|
|
|
|
|
| |
# 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>
|
| |
|
|
|
|
|
| |
Also replaces lots of 5.00702 (note missing 0) with 5.006002. This is to
allow us to jettison Test.pm from core eventually.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
we can write it 5.XXXXXX always. Fixes h2xs.t failiing
tests with 5.10.0.
p4raw-id: //depot/perl@31801
|
|
|
| |
p4raw-id: //depot/perl@31175
|
|
|
| |
p4raw-id: //depot/perl@28044
|
|
|
|
|
| |
by Sean O'Rourke <sorourke@cs.ucsd.edu> in RT bug #22950.
p4raw-id: //depot/perl@26252
|
|
|
|
|
| |
compatibility mode.
p4raw-id: //depot/perl@25663
|
|
|
|
|
|
| |
if the compatible version is less than 5.006 (the first version with
XSLoader).
p4raw-id: //depot/perl@25662
|
|
|
|
|
|
| |
From: Aaron Kaplan (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37142-120585.5.90517066191047@perl.org>
p4raw-id: //depot/perl@25388
|
|
|
|
|
|
| |
From: "Piotr Fusik" <pfusik@op.pl>
Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
p4raw-id: //depot/perl@25261
|
|
|
|
|
| |
Message-ID: <42A414DD.8090504@rowman.com>
p4raw-id: //depot/perl@24823
|
|
|
|
|
| |
Message-ID: <20050119173352.GA15592@radu.onastick.net>
p4raw-id: //depot/perl@23822
|
|
|
| |
p4raw-id: //depot/perl@23652
|
|
|
| |
p4raw-id: //depot/perl@23228
|
|
|
|
|
|
| |
Message-id: <20040521085158.GA10660@ethan>
(modified regexp)
p4raw-id: //depot/perl@22836
|
|
|
|
|
|
| |
Message-Id: <200405031344.33723.lists@edeca.net>
(Second patch only)
p4raw-id: //depot/perl@22782
|
|
|
| |
p4raw-id: //depot/perl@22322
|
|
|
| |
p4raw-id: //depot/perl@21813
|
|
|
|
|
| |
Message-ID: <533D273D4014D411AB1D00062938C4D904046637@hotel.npl.co.uk>
p4raw-id: //depot/perl@20681
|
|
|
|
|
|
|
| |
Message-ID: <20030809220301.GE24919@windhund.schwern.org>
(plus one extra catfile() in h2xs.t)
p4raw-id: //depot/perl@20633
|
|
|
|
|
| |
being specific about the Perl version; patch from Nicholas Clark.
p4raw-id: //depot/perl@20632
|
|
|
|
|
| |
Message-id: <20030715052852.GA494@ethan>
p4raw-id: //depot/perl@20176
|
|
|
|
|
| |
Message-ID: <20030615004956.GA28272@math.berkeley.edu>
p4raw-id: //depot/perl@19789
|
|
|
|
|
| |
Message-id: <20030513083631.GA21782@ethan>
p4raw-id: //depot/perl@19589
|
|
|
|
|
| |
Message-ID: <3EAF8ECE.8060403@uk.radan.com>
p4raw-id: //depot/perl@19420
|
|
|
|
|
| |
Message-ID: <3E4C3F89.6050005@stason.org>
p4raw-id: //depot/perl@19004
|
|
|
| |
p4raw-id: //depot/perl@16843
|
|
|
|
|
| |
Message-ID: <iFe68gzkgCIJ092yn@efn.org>
p4raw-id: //depot/perl@16721
|
|
|
|
|
| |
Message-ID: <20020304224837.GA4284@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@15023
|
|
|
|
|
| |
Message-Id: <20020303183328.GA3296@blackrider>
p4raw-id: //depot/perl@14966
|
|
|
|
|
| |
Message-ID: <20020202005844.A12756@math.ohio-state.edu>
p4raw-id: //depot/perl@14527
|
|
|
|
|
| |
Message-Id: <20011231174855.A29128@math.ohio-state.edu>
p4raw-id: //depot/perl@13995
|
|
|
|
|
|
| |
revigorated by Paul Marquess: gives h2xs a Perl version
portability boost.
p4raw-id: //depot/perl@13162
|
|
|
|
|
|
|
| |
Message-ID: <AIEAJICLCBDNAAOLLOKLMEJGDDAA.Paul_Marquess@Yahoo.co.uk>
Add compat.h.
p4raw-id: //depot/perl@12780
|
|
|
|
|
|
|
| |
Message-ID: <AIEAJICLCBDNAAOLLOKLIEHNDDAA.Paul_Marquess@Yahoo.co.uk>
with nits from Sarathy.
p4raw-id: //depot/perl@12753
|