summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* note that release engineers need to make sure graham is aware of themJesse Vincent2009-11-071-0/+6
|
* Add length and flags arguments to Perl_pad_findmy(), moving it to the public ↵Nicholas Clark2009-11-077-15/+27
| | | | | | | | API. Currently no flags bits are used, and the length is cross-checked against strlen() on the pointer, but the intent is to re-work the entire pad API to be UTF-8 aware, from the current situation of char * pointers only.
* Placate a warning from Borland's compiler.Nicholas Clark2009-11-071-1/+1
|
* Merge commit 'origin/blead' into bleadSteve Hay2009-11-07142-3275/+4927
|\
| * C++ fail with KeywordRPNZefram2009-11-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A smoke using g++ has revealed: >KeywordRPN.c: In function 'void XS_XS__APItest__KeywordRPN_import(CV*)': >KeywordRPN.c:320: error: expected unqualified-id before 'class' >KeywordRPN.c:320: error: expected initializer before 'class' >KeywordRPN.c: In function 'void XS_XS__APItest__KeywordRPN_unimport(CV*)': >KeywordRPN.c:357: error: expected unqualified-id before 'class' >KeywordRPN.c:357: error: expected initializer before 'class' >make[1]: *** [KeywordRPN.o] Error 1 >Unsuccessful make(ext/XS-APItest-KeywordRPN): code=512 at make_ext.pl line 449. >make: *** [lib/auto/XS/APItest/KeywordRPN/KeywordRPN.so] Error 25 I used "class" as a variable name, but in C++ it's a keyword. Patch attached. Someone should also add a note about C++ compatibility to perlhack.pod. -zefram Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
| * refine Carp caller() fix and add testsDavid Golden2009-11-062-7/+19
| |
| * Add legacy.pm to MaintainersRafael Garcia-Suarez2009-11-071-0/+1
| |
| * Merge branch 'legacy-pragma' into bleadRafael Garcia-Suarez2009-11-063-0/+142
| |\ | | | | | | | | | | | | Conflicts: MANIFEST
| | * Deliver skeleton legacy.pmKarl2009-01-233-0/+142
| | |
| * | bump Carp version numberDavid Golden2009-11-061-1/+1
| | |
| * | Addded a pointer to the documentation on how Configure is maintainedJesse Vincent2009-11-061-0/+2
| | |
| * | Add a line directive to op.c and perl.c such that error messages refer to ↵Gerard Goossen2009-11-062-0/+2
| | | | | | | | | | | | the original files insted of to the copied files perlmini.c and opmini.c
| * | Add a "return NORMAL" to a DIE at the end of a function to prevent compiler ↵Gerard Goossen2009-11-061-0/+51
| | | | | | | | | | | | warnings (the "return NORMAL"s are never reached).
| * | Check to see if there was a body which needs freeing using the old_type ↵Gerard Goossen2009-11-061-5/+5
| | | | | | | | | | | | instead of the arena flag, which is not set with PURIFY
| * | Complete the fix for Win32 link following commits 88e1f1a and 406ca27Steve Hay2009-11-061-0/+1
| | |
| * | move JMPENV_JUMP to die_where and mark it as "noreturn"Gerard Goossen2009-11-068-21/+16
| | |
| * | Have Carp respect CORE::GLOBAL::caller if it existsDavid Golden2009-11-061-6/+9
| | | | | | | | | | | | | | | | | | | | | Carp frequently gets loaded very early, before tools that want to override caller(). Previously, caller() was only in Carp::Heavy, which was only loaded on demand (thus after any CORE::GLOBAL::caller override). This patch unbreaks anything expecting the old behavior.
| * | Partially fix Win32 link following commit 88e1f1aSteve Hay2009-11-063-1/+6
| | | | | | | | | | | | There is currently still a linker error about PL_keyword_plugin.
| * | Describe how Configure patches should be doneH.Merijn Brand2009-11-061-4/+16
| | |
| * | Detection (and warning) of char size in bitsH.Merijn Brand2009-11-0616-1/+112
| | |
| * | SvREFCNT_dec already checks if the SV is non-NULLVincent Pit2009-11-052-8/+4
| | |
| * | Mention git resources in headerH.Merijn Brand2009-11-051-5/+8
| | | | | | | | | | | | Use $cpp instead of cpp
| * | regen generated files changed by the previous patch - facility to plug in ↵Jesse Vincent2009-11-057-1234/+1260
| | | | | | | | | | | | syntax triggered by keywords
| * | Implement facility to plug in syntax triggered by keywordsJesse Vincent2009-11-0525-31/+768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
| * | Updated CPANPLUS::Dist::Build to cpan version 0.41_01Chris Williams2009-11-053-31/+36
| | |
| * | Updated CPANPLUS to cpan version 0.89_07Chris Williams2009-11-057-22/+80
| | |
| * | Document qr overloading in perldeltaRafael Garcia-Suarez2009-11-041-0/+8
| | |
| * | Deprecate use of := to mean an empty attribute list in my $pi := 4;Nicholas Clark2009-11-044-4/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An accident of Perl's parser meant that my $pi := 4; was parsed as an empty attribute list. Empty attribute lists are ignored, hence the above is equivalent to my $pi = 4; However, the fact that it is currently valid syntax means that := cannot be used as new token, without silently changing the meaning of existing code. Hence it is now deprecated, so that it can subsequently be removed, allowing the possibility of := to be used as a new token with new semantics.
| * | [PATCH] [perl #20321] Non-destructive Perl_av_makeBo Borgerson2009-11-022-2/+12
| | | | | | | | | | | | | | | | | | Don't let sv_setsv swipe temps in av_make, since the source array might have multiple references to the same temp scalar (e.g. from a list slice).
| * | Slow down split in scalar context :-)Father Chrysostomos2009-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Here’s a patch to include the bug number in the test script. And 68971 can be resolved, too. Sorry for the duplicate! Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
| * | S_utf16_textfilter() was not returning EOF correctly in some situations.Nicholas Clark2009-11-012-3/+10
| | |
| * | Tweak the filename regexp in parser.t so that ./TEST -utf16 op/parser.t passes.Nicholas Clark2009-11-011-7/+8
| | |
| * | Remove Perl_pmflag() from the public API, and mark it as deprecated.Nicholas Clark2009-11-0111-20/+95
| | | | | | | | | | | | | | | | | | regcomp.c stopped using it before 5.10, leaving only toke.c. The only code on CPAN that uses it is copies of regcomp.c. Replace it with a static function, with a cleaner interface.
| * | Improvements to qr-overload testsRafael Garcia-Suarez2009-11-011-8/+15
| | | | | | | | | | | | | | | | | | - Fix test for error message - Add negative test cases - Remove unneeded evals
| * | Bump overload.pm's VERSION (plus some spelling nits)Rafael Garcia-Suarez2009-11-011-3/+3
| | |
| * | Documentation for the 'qr' overload.Ben Morrow2009-11-013-12/+27
| | |
| * | Implement the 'qr' overload type.Ben Morrow2009-11-013-5/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this is defined, it will be called instead of stringification whenever an object is used as a regexp or interpolated into a regexp. This will fall back to stringification even without C<fallback => 1>, for compatibility. An overloaded 'qr' must return either a REGEXP or a ref to a REGEXP (such as created by qr//). Any further overloading on the return value will be ignored.
| * | Add a new overload type, "qr".Ben Morrow2009-11-014-0/+6
| | |
| * | Use of SV* instead of message, msglen, utf8 to contain error messageGerard Goossen2009-11-015-66/+52
| | |
| * | Revert "Re: [perl #38809][PATCH] loss of stack elements with a do block ↵Steve Peters2009-10-311-13/+1
| | | | | | | | | | | | | | | | | | inside a return" This reverts commit 60aa6a1aa894dd62b8194841a6d6c80c15079dba.
| * | Re: [perl #38809][PATCH] loss of stack elements with a do block inside a returnVincent Pit2009-10-311-1/+13
| | |
| * | [PATCH] Todo test for [perl #38133] (was: [regex] backref problem with ↵Bram via RT2009-10-311-1/+13
| | | | | | | | | | | | | | | | | | quantified groups) This patch was modified to work with the updated file locations.
| * | [PATCH] extra tests for t/op/tie.t (was RE: [perl #53482] I believe I found ↵Bram2009-10-311-5/+11
| | | | | | | | | | | | a bug with Readonly::XS that might actually be a guts bug.)
| * | Adds additional tests with undef for smartmatch.Yuval Kogman2009-10-311-1/+16
| | | | | | | | | | | | Updated plan count missing in the original patch.
| * | Add assertion to JMPENV_POP to assert that the jumplevel popped is the top ↵Gerard Goossen2009-10-311-0/+1
| | | | | | | | | | | | level jumplevel
| * | [perl #69875] Slow down split in scalar context :-)Father Chrysostomos2009-10-312-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | The patch to speed up split in scalar context broke Font::GlyphNames, because it stops scalar(@array = split) from working. The attached patch fixes this, and ineluctably slows it down slightly. (Patch amended by replacing the 2nd GIMME_V macro call by the gimme variable)
| * | Improve warnings about known issues in (?{...}) blocks in the regex engineGerard Goossen2009-10-311-10/+9
| | |
| * | remove all references to patching.podDave Rolsky2009-10-302-2/+2
| | |
| * | Refer to perlrepository.pod instead of patching.podDave Rolsky2009-10-301-1/+1
| | |
| * | Fix another reference to the now-gone patching.podDave Rolsky2009-10-301-3/+2
| | |