summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove obsolete details on how to format a patch. Just point to ↵Dave Rolsky2009-10-301-30/+4
| | | | perlrepository instead.
* Clarify relationship of pattern modifiers and named subpatternsDave Rolsky2009-10-301-0/+4
|
* Updated ExtUtils::CBuilder to 0.27David Golden2009-10-2919-448/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.27 - Thu Oct 29 21:29:56 EDT 2009 Other: - Removed Build.PL to avoid creating a circular dependency - Added version numbers to Windows compiler driver modules 0.26_05 - Sun Oct 25 17:29:02 EDT 2009 Bugs fixed: - Fixed t/02link.t failures on cygwin with Perl 5.8 [David Golden] Other: - Made have_compiler (and have_cplusplus) quiet without echoing the test command to STDOUT [David Golden] 0.26_04 - Mon Oct 19 21:57:46 EDT 2009 Enhancements: - Added 'have_cplusplus()' method to check for C++ support - Added patches for building Perl with mingw64 [Sisyphus] - Allow CC environment variable to override $Config{cc} Bugs fixed: - Fixed link executable command for Win32 MSVC (RT#40819) [Cosimo Streppone] - Removed MSVC version check when embedding a manifest file (RT #43002) [Steve Hay] Other: - Split Windows compiler driver packages into individual *.pm files
* Propagate LDLIBPTH into run_tests - Fixes 5.12 blocker [perl #70057]Jesse Vincent2009-10-291-21/+23
| | | | | | I'm leaving the bug open as it sounds like there's a better fix that could go into Configure that Andy mentioned wanting to make. But I'm removing the 5.12 blocking nature of the bug;
* [PATCH] perlcommunity.pod: add information about OSDC.frPhilippe Bruhat (BooK)2009-10-291-3/+3
|
* Allow syswrite with offset same as length of string [perl #70095]Gisle Aas2009-10-292-4/+8
| | | | | | You are not really outside of the string then, but the effect will always be a noop since the number of bytes written will be capped to not exceed the length of the string as for other offsets.
* Update CPANPLUS to cpan version 0.89_06Chris Williams2009-10-295-8/+10
| | | | | | | | | Changes for 0.89_06 Thu Oct 29 14:55:25 2009 ================================================ * Fool the installer into replacing our scripts that were installed by core with versiononly set. * Handle PREREQS being mentioned twice in Makefile. Use _vcmp() to compare the versions, take the highest.
* Remove unused variableRafael Garcia-Suarez2009-10-291-1/+0
|
* remove unnecessary (always true) condition in S_vdieGerard Goossen2009-10-291-3/+3
|
* Update Module::Load::Conditional to cpan version 0.34Chris Williams2009-10-295-12/+12
| | | | | | | Changes for 0.34 Thu Oct 29 09:22:48 GMT 2009 ================================================= * Remove DOS line endings from test files RT#50926 reported by Steve Hay
* Convert all Pod::Simple files to Unix line endings.David E. Wheeler2009-10-2925-1242/+1242
| | | | | In response to Steve Hay's report in [RT #50922](https://rt.cpan.org/Ticket/Display.html?id=50922).
* Bump Exporter's version in blead after last patchRafael Garcia-Suarez2009-10-281-1/+1
|
* Test exported arrays and hashes without using defined()Jerry D. Hedden2009-10-281-11/+20
|
* Add missing filesRafael Garcia-Suarez2009-10-281-0/+3
|
* Bring Pod::Simple up to 3.09 as on CPAN.David E. Wheeler2009-10-2824-162/+1175
|
* $#array should be accepted as a lvalue sub return value.Rafael Garcia-Suarez2009-10-282-3/+20
| | | | | | | The OPpMAYBE_LVSUB flag wasn't set for OP_AV2ARYLEN, but the new implementation of pp_av2arylen introduced by the previous patch was relying on it. So, now, set this flag. Also add tests for STORESIZE.
* Avoid adding magic with rvalue $#aEric Brine2009-10-281-5/+12
|
* Update CPANPLUS to cpan version 0.89_05Chris Williams2009-10-277-5/+79
| | | | | | | | | | | Changes for 0.89_05 Tue Oct 27 09:24:55 2009 ================================================ * Change the way editing config files is called. This fixes RT #50832, reported by Dave Golden * Issue a warning in the shell if we are on MSWin32, don't have IPC::Run installed and are writing a log file. * Apply several patches from Alexandr Ciornii (CHORNY) RT #48636 that add toolchain versions listing to tester reports.
* Better wording for the hash ~~ array docsRafael Garcia-Suarez2009-10-271-2/+2
| | | | (suggested by Aristotle Pagaltzis -- see [perl #69957])