summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unnecessary use Config;Nicholas Clark2009-04-131-1/+0
|
* Remove Makefile.PLs that make_ext.pl can automatically generate.Nicholas Clark2009-04-137-78/+0
| | | | | | (For core modules, or where the dual life module on CPAN has a Makefile.PL that is not the same. AUTHOR is only used for the ppm target, which the core doesn't need.)
* [PATCH] Compress-Raw-Bzip2 2.018 (was RE: Compress-Raw-Bzip2 fails for g++)Paul Marquess2009-04-138-30/+41
|
* Restore prototypes to XS code in attributes, accidentally lost by change 48462a7Nicholas Clark2009-04-131-0/+3
|
* TODO tests for deparsing strict, warnings as strings, and my $x if 0;Nicholas Clark2009-04-131-1/+22
|
* our $TODO should be local $::TODO, revealing a bug in the de-commenting regexp.Nicholas Clark2009-04-132-7/+7
| | | | | Remove some orphaned trailing quotes from TODO message that are no longer conditional code.
* Correct two other tests that apparently should be TODOs rather than SKIPs.Nicholas Clark2009-04-131-2/+6
|
* A perl-version portable fix for B coping with CVf_LOCKED being removed in 5.11.Nicholas Clark2009-04-133-4/+19
|
* Tweak t/lib/common.pl to use test.pl's (better) tempfile() function.Nicholas Clark2009-04-131-4/+2
|
* Propagate the upgraded TODO/SKIP parser from ext/B/t/deparse.tNicholas Clark2009-04-131-11/+14
|
* Refactor the SKIP parser to also handle TODOs. TODO 3 tests that were wronglyNicholas Clark2009-04-131-14/+19
| | | | SKIPs.
* Remove CVf_LOCKED and CvLOCKED*(), now that nothing sets that flag bit.Nicholas Clark2009-04-136-14/+4
|
* GvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.Nicholas Clark2009-04-138-66/+1
|
* Remove a link to the attrs pragma, which has now been removed.Nicholas Clark2009-04-121-2/+0
|
* s/locked/lvalue/ in the examples, and remove mention of the deprecated :unique.Nicholas Clark2009-04-121-9/+7
| | | | | (Which was actually a dangling cross reference, as what it pointed to in perlfunc had already been deleted.)
* Deprecate using "unique" with the attributes pragma.Nicholas Clark2009-04-124-26/+20
|
* Deprecate using "locked" with the attributes pragma.Nicholas Clark2009-04-124-15/+34
|
* Convert xsutils.c and lib/attributes.pm to a regular XS extension.Nicholas Clark2009-04-1234-151/+79
|
* Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.Nicholas Clark2009-04-121-4/+0
|
* Deprecate use of the attribute :locked on subroutines.Nicholas Clark2009-04-124-23/+22
|
* Eliminate "Old Perl threads tutorial", which describes 5005 threads.Nicholas Clark2009-04-129-1205/+10
| | | | pod/perlthrtut.pod is the same material reworked for ithreads.
* Rebuild pod/perltoc.pod.Nicholas Clark2009-04-121-1506/+3127
|
* Sort the MANIFEST.Nicholas Clark2009-04-121-231/+231
|
* Remove attrs, which has been deprecated since 1999/10/02.Nicholas Clark2009-04-1227-333/+29
|
* Upgrade to NEXT-0.63.Florian Ragwitz2009-04-102-1/+7
|
* Don't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.Nicholas Clark2009-04-092-4/+25
|
* Fix declaration-after-statement in ext/Socket/Socket.xsAndy Dougherty2009-04-091-1/+2
| | | | | | This trivial patch lets C89-ish compilers compile Socket.c again. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* Update CPANPLUS::Dist::Build to 0.20Chris Williams2009-04-092-2/+2
|
* Merge commit 'rafl/blead' into bleadRafael Garcia-Suarez2009-04-092-72/+61
|\
| * Upgrade to NEXT-0.62.Florian Ragwitz2009-04-082-72/+61
| |
* | Net::hostent fails make test if can't resolve localhostDavid Cantrell2009-04-081-0/+5
| | | | | | | | | | | | | | | | | | This happens on boxes which otherwise work Just Fine and whose resolvers work Just Fine if they don't have /etc/hosts. This patch fixes the test file by making it skip if localhost can't be resolved and /etc/hosts doesn't exist. Message-ID: <20090330205715.GA29690@bytemark.barnyard.co.uk>
* | Use of freed comppad array during clear_yystack()Marcus Holland-Moritz2009-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message-ID: <20081026231720.34258457@r2d2> Patch description from the original email : I tried to make tests pass on a perl built with -DPERL_POISON, as some tests were dying with segfaults. They all originated from the same source: clear_yystack() after a compile error. [...] As far as I can see, after croaking the newly created CV is destroyed and its pad is undef'd. [...] This will SvREFCNT_dec PL_comppad and set PL_comppad to NULL. However, later, in clear_yystack(), when the ops are freed, the old PL_comppad is restored by PAD_RESTORE_LOCAL, as a reference is still in ps->comppad. But now the pad AV is already dead. Normally (i.e. without PERL_POISON), the dead AV will have AvARRAY(av) set to NULL by av_undef(). So PAD_RESTORE_LOCAL will actually set PL_curpad to NULL, and thus pad_free() will not attempt to do anything. But with PERL_POISON, the storage for AvARRAY(av) (i.e. sv_u) will be reused for chaining the free SV heads in the arena (as opposed to SvANY(sv) in case of !PERL_POISON). This means that PAD_RESTORE_LOCAL will find AvARRAY(av) non-NULL and will set PL_curpad to that value, finally causing the segfault in pad_free(). While I think I understand what's going on, I don't have the slightest clue how to properly fix this. Given that it's not a problem only under PERL_POISON, but always (as dead SV heads are being used), I think it should ultimately be fixed. The only thing I can offer right now is a patch to make it work with PERL_POISON as good (or as bad) as without by making PAD_RESTORE_LOCAL explicitly check if the pad passed in is already dead and refusing to use it if it is.
* | 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 )
* Docs: Fixed a couple of [my] typosMichael Witten2009-04-081-4/+4
| | | | | | | I read through each my patches again and came across a typo, a slight incorrectness, and a repeated word. Sorry. Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Update summary and add copyrightMichael Witten2009-04-071-12/+15
| | | | Yeah, well, I wrote some new stuff.
* Docs: Expanded treatment of adding instance variablesMichael Witten2009-04-071-12/+49
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Clarify that a class is not an instanceMichael Witten2009-04-071-12/+6
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Minor modifications to discussion of constructorMichael Witten2009-04-071-5/+6
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Make use of $self and $class clearMichael Witten2009-04-071-2/+2
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Better orgnization of instance discussionMichael Witten2009-04-071-50/+56
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Cleanup lead-in to instance variablesMichael Witten2009-04-071-8/+9
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Better[?] development of SUPERMichael Witten2009-04-071-36/+54
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Get rid of those awful tabs!Michael Witten2009-04-071-11/+11
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Quick explanation of duck typing and a warningMichael Witten2009-04-071-9/+18
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Make the "use base" purpose more obviousMichael Witten2009-04-071-10/+4
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Minor reorganization.Michael Witten2009-04-071-5/+5
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Typo: 'no strict subs' -> 'no strict refs'Michael Witten2009-04-071-1/+1
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* Docs: Typo: \{-1} -> \g{-1}Michael Witten2009-04-071-1/+1
| | | | Signed-off-by: Michael Witten <mfwitten@gmail.com>
* 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.
* Deprecate assignment to $[Rafael Garcia-Suarez2009-04-076-4/+23
| | | | | | | Based on a patch by James Mastros : Subject: Deprecating $[ Message-ID: <abc933c50904020726x31776ab5m192036429af16f03@mail.gmail.com>