summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Abolish wraplen from struct regexp. We're already storing it in SvCUR.Nicholas Clark2008-01-052-5/+4
| | | p4raw-id: //depot/perl@32845
* Remove a comment that is no longer necessary since Perl Object bitNicholas Clark2008-01-051-3/+0
| | | | | the dust some time around 5.6 p4raw-id: //depot/perl@32844
* Abolish RXp_PRELEN(rx) and RXp_WRAPLEN()Nicholas Clark2008-01-052-16/+14
| | | | | | Fix up some uses of RX_* macros in the block conditionally compiled with STUPID_PATTERN_CHECKS. p4raw-id: //depot/perl@32843
* Make ext/re/t/re_funcs.t warnings clean.Nicholas Clark2008-01-051-1/+2
| | | p4raw-id: //depot/perl@32842
* Abolish wrapped in struct regexp - store the wrapped pattern pointerNicholas Clark2008-01-054-10/+19
| | | | | in the SvPVX(). p4raw-id: //depot/perl@32841
* Add RX_UTF8(), which is effectively SvUTF8() but for regexps.Nicholas Clark2008-01-055-20/+23
| | | | | | | Remove RXp_PRECOMP() and RXp_WRAPPED(). Change the parameter of S_debug_start_match() from regexp to REGEXP. Change its callers [the only part wrong for 5.10.x] p4raw-id: //depot/perl@32840
* Protect me (and my fellow muppets) from screens of "syntax errors" ifNicholas Clark2008-01-053-2/+7
| | | | | | one accidentally feeds embed.fnc or t/op/re_tests to the perl interpreter. p4raw-id: //depot/perl@32839
* BER is all very well, but it turns out that it's better to store theNicholas Clark2008-01-058-74/+101
| | | | | | | | offset as either a byte (if <256), or a 0 byte with a STRLEN before. "better" in that the reading can be inlined, and even then the object code is smaller (function calls have space overhead). So goodbye Perl_sv_read_offset() and hello SvOOK_offset(). p4raw-id: //depot/perl@32838
* Fix the compile for -DPERL_OLD_COPY_ON_WRITE (apart from the tenaciousNicholas Clark2008-01-053-11/+13
| | | | | broken window: ../ext/Compress/Raw/Zlib/t/07bufsize.t) p4raw-id: //depot/perl@32837
* Re-implement the SvOOK() hack to store the offset as a BER encodedNicholas Clark2008-01-047-46/+115
| | | | | | | | | | | number in the part of the PVX that is being released. (It will always fit, as chopping off 1 byte gives just enough space for recording a delta of up to 127). This allows SvOOK() to co-exist with SvIOK_on(), which means all the calls to SvOOK_off() [with the possibility of a call to sv_backoff()] in SvIOK_on() can be removed. This ought to make a lot of straight line code a little bit simpler. OOK()d scalars can now be SVt_PV, as the IVX isn't needed. p4raw-id: //depot/perl@32836
* Oops. Forgot to propagate the rename of Perl_re_dup to Perl_re_dup_gutsNicholas Clark2008-01-041-1/+1
| | | | | into makedef.pl p4raw-id: //depot/perl@32835
* Re-implement mPUSHp() and mXPUSHp() using Perl_newSVpvn_flags(), whichNicholas Clark2008-01-041-2/+2
| | | | | results in slightly smaller object code. (No extra work is done.) p4raw-id: //depot/perl@32834
* Add a small program that gets the C pre-processor to expand the macroNicholas Clark2008-01-042-0/+59
| | | | | passed on the command line. p4raw-id: //depot/perl@32833
* Notice of git tag retraction; also, [PATCH] correct Module::CoreListSam Vilain2008-01-041-1/+1
| | | | | Message-ID: <47737E14.9040908@vilain.net> p4raw-id: //depot/perl@32832
* SelfLoader is dual-livedRafael Garcia-Suarez2008-01-041-0/+7
| | | p4raw-id: //depot/perl@32831
* Upgrade to SelfLoader 1.13_03Rafael Garcia-Suarez2008-01-043-21/+105
| | | p4raw-id: //depot/perl@32830
* Move the SelfLoader test files in their own subdirectoryRafael Garcia-Suarez2008-01-043-2/+2
| | | p4raw-id: //depot/perl@32829
* Follow up on change #32680. This fixes compilationMarcus Holland-Moritz2008-01-041-1/+1
| | | | | | with -DPERL_GLOBAL_STRUCT. p4raw-link: @32680 on //depot/perl: 878d132a73f5d089e821fedd49aa4835a2786d1d p4raw-id: //depot/perl@32828
* Upgrade to Devel::PPPort 3.13_01Marcus Holland-Moritz2008-01-0476-343/+614
| | | p4raw-id: //depot/perl@32827
* Upgrade to CGI.pm-3.33. There are still differences between theSteve Peters2008-01-041-1/+2
| | | | | core version and CPAN version, so, the version bump continues. p4raw-id: //depot/perl@32826
* Upgrade to IO-Zlib-1.09.Steve Peters2008-01-041-1/+1
| | | p4raw-id: //depot/perl@32825
* There's no need to handle 'set' magic in the mX?PUSH macros.Marcus Holland-Moritz2008-01-042-62/+42
| | | | | | | | | The macros all create new mortals using sv_newmortal(), and those cannot be magical. This is in contrary to the X?PUSH macros, which operate on TARG, which can be magical. With that in mind, mentioning whether or not mX?PUSH can handle 'set' magic doesn't make sense any longer. p4raw-id: //depot/perl@32824
* Run regen.pl (fixes build on Win32, at least)Steve Hay2008-01-043-4/+36
| | | p4raw-id: //depot/perl@32823
* Re: SV leak?Vincent Pit2008-01-046-35/+35
| | | | | | | | Message-ID: <477D28BD.5060801@profvince.com> Mortalize SVs that are being pushed on the stack. Try to use specialized macros for pushing mortals. p4raw-id: //depot/perl@32822
* Add macros mPUSHs() and mXPUSHs() for pushing SVs on the stackMarcus Holland-Moritz2008-01-0414-163/+175
| | | | | | and mortalizing them. Use these macros where possible. And also mX?PUSH[inpu] where possible. p4raw-id: //depot/perl@32821
* Missed three sv_2mortal(newSVpvn(...))s in the headers.Nicholas Clark2008-01-033-4/+4
| | | p4raw-id: //depot/perl@32820
* Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and reworkNicholas Clark2008-01-0312-26/+34
| | | | | sv_2mortal(newSVpvs(...)) constructions to use it. p4raw-id: //depot/perl@32819
* Extend newSVpvn_flags() to also call sv_2mortal() if SVs_TEMP is set inNicholas Clark2008-01-0316-75/+82
| | | | | | the flags. Move its implementation just ahead of sv_2mortal()'s for CPU cache locality. Refactor all code that can be to use this. p4raw-id: //depot/perl@32818
* 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
* We can now sv_upgrade(sv, SVt_PVHV), so do so, to simplify the code.Nicholas Clark2008-01-031-10/+3
| | | p4raw-id: //depot/perl@32815
* Upgrade to Net-Ping-2.34Steve Peters2008-01-032-2/+2
| | | p4raw-id: //depot/perl@32814
* Possible future bugs found by the creation of newSVpvn_flags().Nicholas Clark2008-01-034-9/+6
| | | | | But use newSVhek() in preference when possible. p4raw-id: //depot/perl@32813
* Add HeUTF8() to complement HePV() and then immediately suggest thatNicholas Clark2008-01-032-2/+34
| | | | | newSVhek(HeKEY_hek(he) is probably what you wanted all along. p4raw-id: //depot/perl@32812
* Typo spotted by Jarkko.Nicholas Clark2008-01-031-1/+1
| | | p4raw-id: //depot/perl@32811
* Fixes to get MAD working after change 32804, and some newSVpvn_utf8()sNicholas Clark2008-01-031-10/+8
| | | | | | I missed becase (silly Nick) the grep for plausible files was done on the 5.8.x tree. p4raw-id: //depot/perl@32810
* RE: How to load a "loadable object" that has a non-default file extension ?Jan Dubois2008-01-031-14/+19
| | | | | | From: "Jan Dubois" <jand@activestate.com> Message-ID: <18a401c84b25$e5272480$af756d80$@com> p4raw-id: //depot/perl@32809
* OP_THREADSV was removed by #29727Rafael Garcia-Suarez2008-01-031-3/+0
| | | p4raw-id: //depot/perl@32808
* Add a new function newSVpvn_flags(), which takes a third parameter ofNicholas Clark2008-01-0214-77/+119
| | | | | | | | | | flag bits. Right now the only flag bit is SVf_UTF8, which will call SvUTF8_on() on the new SV for you. Provide a wrapper newSVpvn_utf8(), which takes a boolean, and passes in SVf_UTF8 if that is true. Refactor the core to use it where possible. It makes the source code clearer and smaller, but seems to be swings and roundabouts on object code size. p4raw-id: //depot/perl@32807
* Silly Nick - change 32804 missed updating the list of global functions.Nicholas Clark2008-01-021-1/+2
| | | p4raw-id: //depot/perl@32806
* Small documentation nitsSébastien Aperghis-Tramoni2008-01-022-7/+7
| | | | | Message-Id: <2AF110D6-9183-47C5-BBBA-26C3FB97C3D3@free.fr> p4raw-id: //depot/perl@32805
* Make struct regexp the body of SVt_REGEXP SVs, REGEXPs become SVs,Nicholas Clark2008-01-0218-183/+224
| | | | | | and regexp reference counting is via the regular SV reference counting. This was not as easy at it looks. p4raw-id: //depot/perl@32804
* Convert some "regexp" and "struct regexp" to REGEXP where they areNicholas Clark2008-01-024-14/+14
| | | | | currently equivalent but will be wrong once the equivalence vanishes. p4raw-id: //depot/perl@32803
* Wrap all deferences of struct regexp* in macros RX_*() [and forNicholas Clark2008-01-0213-222/+250
| | | | | | | regcomp.c and regexec.c RXp_* where necessary] so that in future we can maintain source compatibility when we add an extra level of dereferencing. p4raw-id: //depot/perl@32802
* shield t/test.pl functions from global print modifiersMichael G. Schwern2008-01-021-17/+28
| | | | | Message-ID: <477AF314.9050808@pobox.com> p4raw-id: //depot/perl@32801
* Upgrade to constant-1.15Steve Peters2008-01-012-2/+2
| | | p4raw-id: //depot/perl@32800
* Upgrade to Sys-Syslog-0.24Steve Peters2008-01-012-2/+5
| | | p4raw-id: //depot/perl@32799
* Upgrade to CGI.pm-3.32. Retain the version bump since bug fixes Steve Peters2008-01-011-2/+2
| | | | | have not yet been integrated. p4raw-id: //depot/perl@32798
* Missing test, adding $ to the other testsH.Merijn Brand2008-01-011-3/+3
| | | p4raw-id: //depot/perl@32797
* Bring back the platforms that do not support -fstack-protectorH.Merijn Brand2008-01-011-11/+16
| | | p4raw-id: //depot/perl@32795