summaryrefslogtreecommitdiff
path: root/universal.c
Commit message (Collapse)AuthorAgeFilesLines
* In XS_PerlIO_get_layers() take advantage of the implementation ofNicholas Clark2008-02-021-8/+13
| | | | | | PerlIO_get_layers(), by co-opting the new SVs it creates, rather than copying them. p4raw-id: //depot/perl@33182
* In XS_re_regexp_pattern(), use newSVpvn_flags() to avoid calls toNicholas Clark2008-02-021-7/+5
| | | | | sv_2mortal(). p4raw-id: //depot/perl@33181
* toke.c/universal.c: constingSteven Schubiger2008-01-291-2/+2
| | | | | Message-ID: <20080128125741.GA27390@refcnt.homeunix.org> p4raw-id: //depot/perl@33103
* Move re::regexp_pattern to universal.cJerry D. Hedden2008-01-091-0/+95
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510801081201q5c36f055re6165ebfe8876c2e@mail.gmail.com> p4raw-id: //depot/perl@32911
* Post change 32880, restore the dummy sub Regexp::DESTROY {}Nicholas Clark2008-01-071-0/+8
| | | p4raw-id: //depot/perl@32896
* Add macros mPUSHs() and mXPUSHs() for pushing SVs on the stackMarcus Holland-Moritz2008-01-041-10/+10
| | | | | | and mortalizing them. Use these macros where possible. And also mX?PUSH[inpu] where possible. p4raw-id: //depot/perl@32821
* Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and reworkNicholas Clark2008-01-031-2/+2
| | | | | sv_2mortal(newSVpvs(...)) constructions to use it. p4raw-id: //depot/perl@32819
* Forgot to remove dTARGET with change #32816.Marcus Holland-Moritz2008-01-031-1/+0
| | | | | p4raw-link: @32816 on //depot/perl: 1eb9e81d303aab0f6c2386f44bc76241948fce0f p4raw-id: //depot/perl@32817
* Fix memory leaks in XS_PerlIO_get_layers() by mortalizingMarcus Holland-Moritz2008-01-031-8/+8
| | | | | | all variables pushed on the stack. Also make sure the loop is using mXPUSHi() and not XPUSHi(). p4raw-id: //depot/perl@32816
* First class regexps.Nicholas Clark2007-12-281-8/+0
| | | p4raw-id: //depot/perl@32751
* use newSVpvs() on the constant string "isa", rather than newSVpv().Nicholas Clark2007-10-181-1/+1
| | | p4raw-id: //depot/perl@32134
* Rename various regex defined so that they have distinct prefixes based on ↵Yves Orton2007-06-281-8/+8
| | | | | | | | | | | | | | their usage. RXf_ => flags used in pm_flags argument to regcomp and stored in the regex via rx->extflags PREGf_ => flags stored in rx->intflags RXapif_ => argument flags for regex named capture api RX_BUFF_IDX_ => special indexes to represent $` $' $& used in the numeric capture buffer api PREGf is untouched by this change, but RXf_ is split into RXapif and RX_BUFF_IDX_. p4raw-id: //depot/perl@31497
* SvRX() and SvRXOK() macrosÆvar Arnfjörð Bjarmason2007-06-181-33/+8
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706172033h1908aa0ge15698204e0b79ed@mail.gmail.com> p4raw-id: //depot/perl@31409
* Make symbols short enough for VMS after #31341.Craig A. Berry2007-06-081-6/+6
| | | p4raw-id: //depot/perl@31358
* Silence compiler warningsJerry D. Hedden2007-06-071-0/+12
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510706061145r540c7f02kba96c04bc9dcf8b0@mail.gmail.com> p4raw-id: //depot/perl@31348
* Re: [PATCH] Callbacks for named captures (%+ and %-)Ævar Arnfjörð Bjarmason2007-06-061-160/+332
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com> p4raw-id: //depot/perl@31341
* Remove unused parms in S_isa_lookupAndy Lester2007-05-091-6/+3
| | | | | Message-Id: <1CBA316A-EC1D-4E8F-8DEE-35322F390358@petdance.com> p4raw-id: //depot/perl@31185
* FETCH/STORE/LENGTH callbacks for numbered capture variablesÆvar Arnfjörð Bjarmason2007-05-031-1/+1
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com> p4raw-id: //depot/perl@31130
* Re: mro status, etcBrandon Black2007-04-301-1/+1
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* Eliminate Internals::inc_sub_generation, which nothing now calls.Nicholas Clark2007-04-211-14/+0
| | | p4raw-id: //depot/perl@31012
* Upgrade to version-0.7203.Rafael Garcia-Suarez2007-04-211-3/+3
| | | | | Plus a change in Module::Build::Version, specific to bleadperl. p4raw-id: //depot/perl@31005
* Nit to S_isa_lookup by Brandon BlackRafael Garcia-Suarez2007-04-201-1/+1
| | | p4raw-id: //depot/perl@30996
* Put the "Can't locate package..." warnings in the "syntax"Rafael Garcia-Suarez2007-04-191-1/+1
| | | | | category, as documented p4raw-id: //depot/perl@30982
* Re: new C3 MRO patchBrandon Black2007-04-191-71/+19
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980
* Typo in croak messageH.Merijn Brand2007-04-141-1/+1
| | | p4raw-id: //depot/perl@30951
* Fix the error message "Can't call method "DOES" on unblessedRafael Garcia-Suarez2007-03-311-1/+7
| | | | | reference". p4raw-id: //depot/perl@30806
* In struct regexp replace the two arrays of I32s accessed via startpNicholas Clark2007-03-261-4/+4
| | | | | | | | | | and endp with a single array of struct regexp_paren_pair, which has 2 I32 members. PL_regstartp and PL_regendp are replaced with a pointer to regexp_paren_pair. The regexp swap structure now only has one member, so abolish it and store the pointer to the swap array directly. Hopefully keeping the corresponding start and end adjacent in memory will help with cache coherency. p4raw-id: //depot/perl@30769
* Don't use PL_na.Rafael Garcia-Suarez2007-03-231-1/+1
| | | p4raw-id: //depot/perl@30730
* Fix error message for re::regnames_iterinit()Rafael Garcia-Suarez2007-03-221-2/+2
| | | p4raw-id: //depot/perl@30679
* Resolve PL_curpm issues with (??{}) and fix corruption of match results when ↵Yves Orton2007-03-221-98/+56
| | | | | | | | | pattern is a qr. Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com> plus two follow-up patches (minor tweaks) p4raw-id: //depot/perl@30678
* Upgrade to version.pm 0.71, by John PeacockRafael Garcia-Suarez2007-03-191-33/+18
| | | p4raw-id: //depot/perl@30629
* Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exeYves Orton2007-03-081-0/+297
| | | | | Message-ID: <9b18b3110703071144t787e028s8a79fa1986624b54@mail.gmail.com> p4raw-id: //depot/perl@30517
* Compilation warnings fixes by Jerry D. HeddenRafael Garcia-Suarez2007-03-031-0/+26
| | | p4raw-id: //depot/perl@30447
* More assertion failures, found by auditing the code.Nicholas Clark2007-03-021-2/+2
| | | p4raw-id: //depot/perl@30443
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-6/+6
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29696
* 4th patch from: Marcus Holland-Moritz2007-01-041-8/+8
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* Re: [perl #37714] XSUB.h version check may fail due to localeJohn Peacock2006-09-181-1/+2
| | | | | Message-ID: <450DB712.4040703@rowman.com> p4raw-id: //depot/perl@28864
* A better version of change #28847Rafael Garcia-Suarez2006-09-171-0/+6
| | | | | p4raw-link: @28847 on //depot/perl: e24f8a798207476769992a3387804af506c43eab p4raw-id: //depot/perl@28861
* Silence empty if-statement warning.Steve Peters2006-07-101-0/+2
| | | p4raw-id: //depot/perl@28534
* consting and localizing in universal.cAndy Lester2006-07-041-6/+7
| | | | | Message-ID: <20060703224148.GA14449@petdance.com> p4raw-id: //depot/perl@28477
* Add the new method UNIVERSAL::DOES() and the API function sv_does()chromatic2006-06-121-0/+70
| | | | | | Subject: Re: [PROPOSED PATCH: universal.c, t/op/universal.t] Add does() Message-Id: <200605301741.08363.chromatic@wgz.org> p4raw-id: //depot/perl@28387
* [patch] Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.64.tar.gzJohn Peacock2006-06-091-8/+4
| | | | | Message-ID: <4488CB5C.4070702@rowman.com> p4raw-id: //depot/perl@28375
* Upgrade to version.pm 0.60Rafael Garcia-Suarez2006-05-221-5/+2
| | | p4raw-id: //depot/perl@28276
* [REPATCH universal.c] Make sv_derived_from Documentation Clearerchromatic2006-05-151-3/+3
| | | | | Message-Id: <200605141651.37181.chromatic@wgz.org> p4raw-id: //depot/perl@28195
* Re: [PATCH] my_snprintfJarkko Hietaniemi2006-05-121-5/+1
| | | | | Message-ID: <4464E1F1.9010706@gmail.com> p4raw-id: //depot/perl@28183
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-5/+10
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Re: [PATCH] use snprintf/strlcpy/strlcat when usefulJarkko Hietaniemi2006-04-281-1/+5
| | | | | Message-ID: <444E3EFB.8020503@gmail.com> p4raw-id: //depot/perl@27987
* Change the semantics of S_isa_lookupAndy Lester2006-03-191-10/+9
| | | | | Message-ID: <20060318062845.GA11607@petdance.com> p4raw-id: //depot/perl@27542
* unused context warningsAndy Lester2006-02-241-0/+1
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300