summaryrefslogtreecommitdiff
path: root/pod
Commit message (Collapse)AuthorAgeFilesLines
* Bareword sub lookupsZefram2009-11-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. The attached patch is the resulting revised version of the bareword sub patch. It incorporates the original patch (allowing rv2cv op hookers to control prototype processing), the GV-downgrading addition, and a mention in perldelta.
* s/AvLEN/AvMAX/ in perlgutsEric Brine2009-11-081-1/+1
|
* Describe how Configure patches should be doneH.Merijn Brand2009-11-061-4/+16
|
* Implement facility to plug in syntax triggered by keywordsJesse Vincent2009-11-054-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* 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-041-3/+20
| | | | | | | | | | | 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.
* Remove Perl_pmflag() from the public API, and mark it as deprecated.Nicholas Clark2009-11-012-3/+12
| | | | | | 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.
* Documentation for the 'qr' overload.Ben Morrow2009-11-011-0/+11
|
* Improve warnings about known issues in (?{...}) blocks in the regex engineGerard Goossen2009-10-311-10/+9
|
* 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
|
* [PATCH] perlcommunity.pod: add information about OSDC.frPhilippe Bruhat (BooK)2009-10-291-3/+3
|
* Better wording for the hash ~~ array docsRafael Garcia-Suarez2009-10-271-2/+2
| | | | (suggested by Aristotle Pagaltzis -- see [perl #69957])
* refine the documentation for deleting branches and altering historyYves Orton2009-10-261-19/+43
|
* Hashed out a prose description of the (largely existing) branching and topic ↵Jesse Vincent2009-10-261-0/+38
| | | | | | | branch policy. Wrote down the existing "no, don't mess with blead's history, bozo" setup
* Add perl5112delta, and change 5111delta from being "the" perldelta.Nicholas Clark2009-10-243-1/+277
|
* Cap the exit code of the bisecting scriptVincent Pit2009-10-231-0/+1
| | | | | Segfaults cause $? to be set to 139 on my machine, which stops the bisect process.
* "-x ./foo" isn't a shell command, but "[ -x ./foo ]" isVincent Pit2009-10-231-1/+1
|
* [perl #69903] 5.10.1 perlretut section "A bit of magic: executing Perl code ↵Rafael Garcia-Suarez2009-10-231-4/+4
| | | | | | in a regular expression" documentation The docs were now wrong, due to new optimisations to the regexp engine.
* Remove the venerable fatal error "Runaway format"Rafael Garcia-Suarez2009-10-221-8/+0
| | | | | This solves bug "[perl #69927] wrong runaway error for write", which is a link to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=77707
* Bare readdir in while loop now sets $_Brad Gilbert2009-10-221-0/+9
|
* POD link fixRafael Garcia-Suarez2009-10-221-1/+4
|
* pod nits from nicholas and zeframJesse Vincent2009-10-201-3/+3
|
* set the release date for 5.11.1Jesse Vincent2009-10-201-0/+1
|
* Acknowledgments in perldeltaJesse Vincent2009-10-201-2/+13
|
* perldelta formattingJesse Vincent2009-10-201-33/+99
|
* perl5111delta now includes all changes between 5.11.0 and 5.11.1 and has ↵Jesse Vincent2009-10-201-6/+9
| | | | been lightly copyedited
* perldelta cleanupJesse Vincent2009-10-201-48/+28
|
* Revert accidental executability of several pod filesJesse Vincent2009-10-202-0/+0
|
* Updated perlport.pod with notes on VMS support from Craig BerryJesse Vincent2009-10-201-1/+9
|
* Added perldelta notes for yves' regex semantics fixups and W2k and VMS ↵Jesse Vincent2009-10-201-8/+9
| | | | "known issues"
* Perl builds fine on Windows 7Jan Dubois2009-10-191-0/+2
|
* The term 'winsock' is an implementation detail.Jan Dubois2009-10-191-1/+1
|
* * Synced the perlfaqbrian d foy2009-10-198-805/+29
| | | | | | | | The latest commit in https://github.com/briandfoy/perlfaq is aa2b30a3bcbf1ac69f000fe363b0c384fbc44723 dated Thu Oct 15 20:01:45 2009 -0500
* Add Cygwin to supported platforms listJerry D. Hedden2009-10-191-0/+2
|
* Remove the entry about removing Perl_deprecate()Nicholas Clark2009-10-191-7/+0
| | | | | | | | | | | | | As a minor C function, I feel that at most it should be in "changed internals". However, as it was not part of the public API, and searches showed that nothing was using it, likely nothing is going to break if it goes. And if any naughty code does break: a: It will be at link time b: It will be easy to find the cause from git log I also feel that it's worth removing it, as existing perldeltas are the most obvious guide for new volunteers in terms of "write something like this". So having bad examples isn't going to help educate future authors.
* Fix minor pod formatting error in perl5111delta.podNicholas Clark2009-10-191-0/+2
|
* update perl5111delta to mark our current release point.Jesse Vincent2009-10-191-1/+1
|
* perldelta editingJesse Vincent2009-10-191-144/+7
|
* HP/UX should have been HP-UXJesse Vincent2009-10-191-1/+1
|
* First pass at updating perlport.pod with data from p5p for 5.12Jesse Vincent2009-10-191-2/+105
|
* utf16_to_utf8_reversed() should croak early when passed an odd byte length.Nicholas Clark2009-10-181-0/+5
| | | | | | Rather than transposing n + 1 bytes, including 1 it was not passed, before calling utf16_to_utf8() and having that croak. e 69422~
* Another pass at getting the perldelta for 5.11.1 in shapeJesse Vincent2009-10-181-356/+162
|
* Remove Mac OS Classic caveats from perlport.pod as Perl is no longer ↵Jesse Vincent2009-10-181-165/+48
| | | | portable to Mac OS Classic
* First pass of weeding commit meesages from "git log v5.11.0..blead" into a ↵Jesse Vincent2009-10-181-2/+363
| | | | | | | perldelta. perl5111delta.pod is synced up to 704e1b1ec3309aeb0e2629c93331ffd4c18c8183 but needs heavy editing and organization
* Enable deprecation warnings by default.Nicholas Clark2009-10-162-5/+4
|
* Fix 2 pod errors in perlvms.pod.Craig A. Berry2009-10-151-1/+1
|
* Fix {$^MATCH} typo in perlrebrian d foy2009-10-141-1/+1
|
* Note that a test that regen.pl was run is TODO.Nicholas Clark2009-10-131-0/+18
|