summaryrefslogtreecommitdiff
path: root/perl.h
Commit message (Collapse)AuthorAgeFilesLines
* Haiku PortIngo Weinhold2008-10-291-7/+11
| | | | | Message-Id: <20081029022544.413.1@knochen-vm.localdomain> p4raw-id: //depot/perl@34630
* Update copyright years.Nicholas Clark2008-10-251-2/+2
| | | p4raw-id: //depot/perl@34585
* Rename the new macro clear_errsv() from last patch to CLEAR_ERRSV()Rafael Garcia-Suarez2008-06-171-1/+1
| | | p4raw-id: //depot/perl@34069
* [perl #51370] length($@)>0 for empty $@ if utf8 is in use Bram2008-06-171-0/+2
| | | | | | | | From: "Bram via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-18229-1213179984-1708.51370-15-0@perl.org> (The first patch) p4raw-id: //depot/perl@34068
* Cast the result of fpsetmask(0) to (void), as some implementationsNicholas Clark2008-04-281-1/+5
| | | | | | | | expand it via a macro, with a comma expression to calculate the return value, at which point gcc has the gall to warn that an expression calcualted is not used. Blame SCO for having to have fpsetmask(0) in the code to start with. p4raw-id: //depot/perl@33762
* Fix bug in change 33379 - if we're using malloc_size() as well as beingNicholas Clark2008-04-021-5/+13
| | | | | | careful to work with PERL_TRACK_MEMPOOL, we also have to be careful to work *without* it. p4raw-id: //depot/perl@33629
* Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)Dominic Dunlop2008-03-291-0/+5
| | | | | | | | Message-Id: <3B7752C8-D5A2-452C-B3E0-C453FFCBCAFA@mac.com> [but rename ******* to i_mallocmalloc.U, and then fix up all the files that Porting/checkcfgvar.pl says need i_mallocmalloc declared] p4raw-id: //depot/perl@33598
* Silence some warnings on Win32 with VC6Steve Hay2008-03-061-1/+1
| | | | | | | | VC7 onwards didn't seem to mind (perhaps thanks to #33411): http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54118.html but VC6 wasn't happy: http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54099.html p4raw-id: //depot/perl@33448
* Use malloc_good_size() to round up the size of requested arenas to theNicholas Clark2008-02-271-0/+9
| | | | | | size that will actually be allocated, to squeeze last few bytes into use. p4raw-id: //depot/perl@33390
* Fix preprocessor syntaxRafael Garcia-Suarez2008-02-271-3/+5
| | | p4raw-id: //depot/perl@33380
* If the C library provides malloc_size(), we can use that in the sameNicholas Clark2008-02-261-0/+6
| | | | | | | places as Perl's malloced_size(), except that we need to be careful of any PERL_TRACK_MEMPOOL manipulations in force. Wrap both as Perl_safesysmalloc_size(), to give a consistent name and interface. p4raw-id: //depot/perl@33379
* Chainsaw DEBUG_S out, as suggested by Vincent Pit.Rafael Garcia-Suarez2008-02-261-8/+2
| | | p4raw-id: //depot/perl@33376
* Silence Borland compiler warnings (except for warnings from zlib) here:Steve Hay2008-02-251-1/+1
| | | | | http://www.nntp.perl.org/group/perl.daily-build.reports/2008/02/msg53937.html p4raw-id: //depot/perl@33370
* Fix Win32/VC6 compiler warnings caused by #33231Steve Hay2008-02-201-1/+1
| | | p4raw-id: //depot/perl@33336
* Fix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC ↵Jan Dubois2008-02-121-0/+11
| | | | | | | | and XS?] From: "Jan Dubois" <jand@activestate.com> Message-ID: <02ee01c8651b$17ef72f0$47ce58d0$@com> p4raw-id: //depot/perl@33292
* Micro-optimise the order of the context types. [Because I can :-)]Nicholas Clark2008-02-041-4/+4
| | | | | Here saves 72 bytes in pp_ctl.o. Small, but in the right direction. p4raw-id: //depot/perl@33232
* don't forbid brace groups with g++ 4.2.2Robin Barker2008-01-311-2/+6
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A17@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@33152
* FW: [PATCH] RE: [PATCH] volatile, avoid clobberedRobin Barker2008-01-281-4/+0
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A06@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@33085
* Re: struct context now 12.5% smaller than 5.10Benjamin Smith2008-01-261-2/+5
| | | | | | Message-ID: <20080124215537.GB10198@vtrl.co.uk> Date: Thu, 24 Jan 2008 21:55:37 +0000 p4raw-id: //depot/perl@33070
* Eliminate all PERL_UNUSED_ARG()s in S_validate_suid() by changing itsNicholas Clark2008-01-181-0/+18
| | | | | | prototype depending on the compile time options. In turn, this finds things that are unused in its callers. p4raw-id: //depot/perl@33000
* Rename PERL_MAX_SUB_DEPTH to PERL_SUB_DEPTH_WARN, per Tim Bunce'sRafael Garcia-Suarez2008-01-111-2/+2
| | | | | suggestion p4raw-id: //depot/perl@32955
* Introduce macro PERL_MAX_SUB_DEPTHRafael Garcia-Suarez2008-01-111-0/+5
| | | p4raw-id: //depot/perl@32949
* Re: [perl #49564] Re: MRO and av_clearRick Delaney2008-01-111-1/+1
| | | | | Message-ID: <20080109183655.GB11282@bort.ca> p4raw-id: //depot/perl@32948
* Move the reg_stringify logic to Perl_sv_2pv_flagsÆvar Arnfjörð Bjarmason2008-01-101-4/+0
| | | | | | | | Message-ID: <86zlveaewk.fsf@cpan.org> with two corrections. Plus remove reg_stringify from embed.fnc and regen. p4raw-id: //depot/perl@32934
* Make REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).Nicholas Clark2008-01-051-1/+1
| | | p4raw-id: //depot/perl@32861
* Make struct regexp the body of SVt_REGEXP SVs, REGEXPs become SVs,Nicholas Clark2008-01-021-3/+4
| | | | | | and regexp reference counting is via the regular SV reference counting. This was not as easy at it looks. p4raw-id: //depot/perl@32804
* Wrap all deferences of struct regexp* in macros RX_*() [and forNicholas Clark2008-01-021-19/+19
| | | | | | | 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
* Add editor blocks to some header files.Marcus Holland-Moritz2008-01-011-0/+10
| | | p4raw-id: //depot/perl@32793
* Perl_magic_setbm() and Perl_magic_setfm() are mathoms that can beNicholas Clark2007-12-311-2/+2
| | | | | | | merged with Perl_magic_setregexp(). [Coverage on the testsuite suggests that more than that they're actually dead code, but in theory it should be possible to construct a test case that exercises them.] p4raw-id: //depot/perl@32789
* factor out duplicate code in struct xpv*Marcus Holland-Moritz2007-12-301-0/+5
| | | | | Message-ID: <20071229181742.1933db40@r2d2> p4raw-id: //depot/perl@32783
* Correct the correction. This one is both a correcly spelled word, andNicholas Clark2007-12-231-1/+1
| | | | | | | the word I was originally aiming for. Or if it's not, I'm sure that given infinite monkeys we'll get there sometime around the heat death of the universe. p4raw-id: //depot/perl@32719
* Fix my typo in a comment.Nicholas Clark2007-12-231-1/+1
| | | p4raw-id: //depot/perl@32718
* Replace our assert-which-can-be-caught-by-eval with the real deal fromNicholas Clark2007-12-221-2/+10
| | | | | | | the standard C library. Make ours available as Perl_assert(), if you really want that. assert() is only #include'd if you compile with -DDEBUGGING. p4raw-id: //depot/perl@32708
* Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_naNicholas Clark2007-12-221-0/+5
| | | | | | | when PERL_CORE is defined. (Which, "obviously", is only in code within the perl source tree, which we control). Nullop remains, and would be moderately invasive to remove. p4raw-id: //depot/perl@32707
* Integrate:Nicholas Clark2007-12-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32483] Use a new (clean) anonymous hash for each loop, rather than a hash in the pad, as the latter can change internal state sufficiently to confuse matters (even though in all cases it has no keys and from Perl space is "measurably" identical). [ 32500] Get APItest.xs compiling on 5.8.x by making the compilation of the Perl_hv_common() test code conditional on the macro hv_common being defined, and the refcounted_he code conditional on it being 5.9 or later. [ 32501] Hack round the fact that UNITCHECK is nothing special on 5.8.x by conditionally creating a sub UNITCHECK(&); [ 32502] UNITCHECK isn't anything special in 5.8.x, so don't run those tests. [ 32503] Skip the op.t API test as it's not relevant to 5.8.x (%^H propagation). Correct the expectations of hash.t and svsetsv.t for 5.8.x. [ 32507] Test both dMY_CXT and dMY_CXT_INTERP. p4raw-link: @32507 on //depot/blead-maint-fixup/perl: 948cafa0ee2c83e155ea7f64aa3684aa54c83031 p4raw-link: @32503 on //depot/blead-maint-fixup/perl: 0a4679392d1fb21a111f1f0a9e93261b2b2cd4e7 p4raw-link: @32502 on //depot/blead-maint-fixup/perl: cfed56ecfc9c769a0f76147400aa46972ddbb0be p4raw-link: @32501 on //depot/blead-maint-fixup/perl: 8221ebfdedcb3fbfc645196464faaf397ba18800 p4raw-link: @32500 on //depot/blead-maint-fixup/perl: 77ea6e921df11217724b2f5c3c6b6a6ff488ab44 p4raw-link: @32483 on //depot/blead-maint-fixup/perl: 42b4d13769a3b10e7ffb0a3d275d2fdda0245bd5 p4raw-id: //depot/perl@32699 p4raw-integrated: from //depot/blead-maint-fixup/perl@32698 'copy in' ext/XS/APItest/APItest.pm ext/XS/APItest/APItest.xs ext/XS/APItest/t/hash.t ext/XS/APItest/t/my_cxt.t ext/XS/APItest/t/op.t ext/XS/APItest/t/svsetsv.t ext/XS/APItest/t/xs_special_subs.t ext/XS/APItest/t/xs_special_subs_require.t (@32482..) 'merge in' perl.h (@32504..)
* make miniperl -Wwrite-strings cleanRobin Barker2007-12-201-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399A@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@32681
* Re: [PATCH] various RC1 nitsJarkko Hietaniemi2007-11-201-0/+2
| | | | | Message-ID: <4743029A.3010002@iki.fi> p4raw-id: //depot/perl@32425
* Bug fix for storing shared objects in shared structuresJerry D. Hedden2007-11-081-0/+1
| | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510711061136t52a1fe62waf384c4551612181@mail.gmail.com> (core patch only) p4raw-id: //depot/perl@32241
* "Bake" the values of PERL_REVISION, PERL_VERSION and PERL_SUBVERSIONNicholas Clark2007-11-071-6/+4
| | | | | | | | | | | into global variables (and hence a shared perl library). Additionally under MULTIPLICITY record the size of the interpreter structure (total, and for this version) and under PERL_GLOBAL_STRUCT the size of the global variables structure. Coupled with PL_bincompat_options this will allow 5.10.1 (and later), when compiled with a shared perl library, to perform sanity checks in main() to verify that the shared library is indeed binary compatible. p4raw-id: //depot/perl@32238
* make PERLSYS_TERM not require a contextDave Mitchell2007-11-031-3/+3
| | | p4raw-id: //depot/perl@32216
* Re: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)Jarkko Hietaniemi2007-11-031-1/+1
| | | | | | | | Message-Id: <472BD128.9080105@iki.fi> PerlIO_teardown is called when there may no longer be an interpreter available p4raw-id: //depot/perl@32215
* VDf no longer in PERL_CORERobin Barker2007-10-201-13/+7
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D20E@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@32152
* RE: [PATCH] RE: PERL_CORE UVf logicRobin Barker2007-10-191-2/+2
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D20A@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@32142
* Nothing* outside the core uses the old misspellingNicholas Clark2007-10-061-2/+0
| | | | | | PERL_PV_PRETTY_ELIPSES, so remove it. * well, nothing that Google can find. Same thing, isn't it? :-) p4raw-id: //depot/perl@32051
* Add a new flag PERL_PV_PRETTY_NOCLEAR (actually justNicholas Clark2007-10-061-0/+2
| | | | | | PERL_PV_ESCAPE_NOCLEAR), and change Perl_pv_pretty() so that if this bit is set, the output SV is not reset to an empty string. p4raw-id: //depot/perl@32048
* PL_cshname is actually a constant value known at compile time.Nicholas Clark2007-10-051-0/+6
| | | | | | | PL_cshlen can be calculated by the compiler. So eliminate both as interpreter variables, and the code that calculates PL_cshlen at runtime. p4raw-id: //depot/perl@32035
* API spelling patch, by Jerry D. HeddenRafael Garcia-Suarez2007-09-261-3/+4
| | | p4raw-id: //depot/perl@31983
* make PERL_SYS_INIT/INIT3/TERM into functionsDave Mitchell2007-09-251-2/+6
| | | p4raw-id: //depot/perl@31970
* And some more VMS-specific additions to PL_bincompat_options.Craig A. Berry2007-09-231-0/+9
| | | p4raw-id: //depot/perl@31946
* Add USE_IEEE to PL_bincompat_options, as use_ieee in the configurationNicholas Clark2007-09-231-0/+3
| | | | | on VMS affects binary compatibility. p4raw-id: //depot/perl@31945