summaryrefslogtreecommitdiff
path: root/objXSUB.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Perl_utf8_length(). Use it.Jarkko Hietaniemi2000-11-181-0/+4
| | | p4raw-id: //depot/perl@7744
* Change files which are mysteriously different to mainline to beNick Ing-Simmons2000-10-301-1/+1
| | | | | copies of mainline. p4raw-id: //depot/perlio@7492
* Continue the internal UTF-8 API tweaking.Jarkko Hietaniemi2000-10-251-4/+4
| | | | | | | | Rename utf8_to_uv_chk() back to utf8_to_uv() because it's used much more than the simpler API, now called utf8_to_uv_simple(). Still not quite happy with API, too much partial duplication of functionality. p4raw-id: //depot/perl@7439
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-0/+4
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Hash lookup of constant strings optimization:Nick Ing-Simmons2000-09-031-1/+5
| | | | | | | | | | Introduce SvREADONLY && SvFAKE to flag an SV which has SvPVX pointing to string table (as per sharepvn). Add newSV_pvn_share to create such a thing. Make hv.c compare addresses of strings and skip string compare if equal. Make method_named and helem ops use these shared-string SVs when arg is constant. Make keys op return shared-string SVs (less clearly a win). p4raw-id: //depot/perl@7016
* Remove the extraneous "main::" prefix from all theGurusamy Sarathy2000-08-021-0/+8
| | | | | | | | "opened only for", "on closed", and "never opened" warnings. Subject: Re: inappropriate warning Message-Id: <200003201928.LAA32224@maul.ActiveState.com> p4raw-id: //depot/perl@6489
* av.c apidocSimon Cozens2000-07-251-8/+0
| | | | | Message-ID: <slrn8nnp7k.cgv.simon@justanother.perlhacker.org> p4raw-id: //depot/perl@6438
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* integrate cfgperl changes#6268..6282 into mainlineGurusamy Sarathy2000-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6282 on //depot/cfgperl: d4817f5b97d4072a6efac47844b617245b179f2c p4raw-link: @6268 on //depot/cfgperl: 22e04bdb3a09a4c369fd1666143349eab2eba9d4 p4raw-id: //depot/perl@6366 p4raw-integrated: from //depot/cfgperl@6365 'copy in' lib/Net/Ping.pm lib/Text/Wrap.pm t/lib/dprof.t t/lib/dumper-ovl.t t/lib/hostname.t (@5586..) lib/Pod/Html.pm (@5608..) t/lib/ipc_sysv.t (@5812..) t/lib/dumper.t (@5972..) ext/File/Glob/Glob.pm (@6026..) lib/Pod/Man.pm lib/Pod/Text.pm (@6034..) t/lib/anydbm.t (@6072..) lib/ExtUtils/xsubpp (@6156..) pod/perlsub.pod pod/perltie.pod (@6206..) utils/h2xs.PL (@6280..) p4raw-integrated: from //depot/cfgperl@6282 'merge in' vms/vms.c (@6238..) p4raw-integrated: from //depot/cfgperl@6277 'copy in' pod/perlfunc.pod (@6276..) p4raw-integrated: from //depot/cfgperl@6273 'ignore' perlapi.h (@6243..) embedvar.h (@6254..) 'merge in' perlapi.c (@6243..) embed.h (@6254..) embed.pl objXSUB.h op.c proto.h (@6269..) p4raw-integrated: from //depot/cfgperl@6270 'copy in' t/op/taint.t (@5857..) p4raw-integrated: from //depot/cfgperl@6269 'copy in' doop.c (@6263..) 'ignore' toke.c (@6261..) p4raw-integrated: from //depot/cfgperl@6268 'copy in' t/op/sprintf.t (@6267..)
* integrate cfgperl changes#6242..6249 into mainlineGurusamy Sarathy2000-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6249 on //depot/cfgperl: cab27d238e930b8cddb5b1fb3260355f913b86a6 p4raw-link: @6242 on //depot/cfgperl: 1e72252ad7b8e23d1a1142285b8aa82986bd2491 p4raw-id: //depot/perl@6359 p4raw-integrated: from //depot/cfgperl@6358 'copy in' ext/DynaLoader/DynaLoader_pm.PL (@5953..) t/lib/peek.t (@6086..) t/lib/filefunc.t t/lib/filespec.t (@6230..) pod/perlintern.pod (@6237..) pod/perlapi.pod utf8.c (@6242..) p4raw-integrated: from //depot/cfgperl@6249 'copy in' lib/IPC/Open3.pm (@5937..) p4raw-integrated: from //depot/cfgperl@6248 'copy in' pod/perlfunc.pod (@6206..) p4raw-integrated: from //depot/cfgperl@6247 'ignore' lib/File/Spec.pm (@6230..) p4raw-integrated: from //depot/cfgperl@6244 'copy in' gv.c (@6217..) 'merge in' sv.c (@6196..) p4raw-integrated: from //depot/cfgperl@6243 'copy in' pp_proto.h (@6237..) 'ignore' embedvar.h perlapi.h (@6237..) 'merge in' embed.h objXSUB.h (@6237..) embed.pl perlapi.c proto.h (@6242..)
* integrate cfgperl changes#6231..6240 into mainlineGurusamy Sarathy2000-07-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6240 on //depot/cfgperl: 514e70b26394e6b272960ab8b9b8b7dbb1e2c068 p4raw-link: @6231 on //depot/cfgperl: 7906debc4b99f108310cdade6e486754c15481e7 p4raw-id: //depot/perl@6355 p4raw-branched: from //depot/cfgperl@6353 'branch in' pod/perlutil.pod p4raw-integrated: from //depot/cfgperl@6353 'copy in' pod/roffitall (@5753..) op.h (@5833..) README.cygwin (@6096..) lib/ExtUtils/MM_VMS.pm (@6140..) lib/File/Find.pm (@6156..) Configure config_h.SH hints/solaris_2.sh (@6217..) Todo-5.6 (@6232..) keywords.h lib/warnings.pm opcode.h opnames.h pp.sym regnodes.h warnings.h (@6236..) 'ignore' ext/B/B/Asmdata.pm ext/ByteLoader/byterun.c ext/ByteLoader/byterun.h (@6236..) p4raw-integrated: from //depot/cfgperl@6240 'copy in' utils/h2xs.PL (@6192..) p4raw-integrated: from //depot/cfgperl@6238 'merge in' vms/vms.c (@6198..) p4raw-integrated: from //depot/cfgperl@6237 'copy in' utf8.c (@6221..) pod/perlapi.pod pod/perlintern.pod pp_proto.h (@6236..) 'ignore' embedvar.h perlapi.h (@6236..) 'merge in' embed.pl (@6225..) embed.h objXSUB.h perlapi.c proto.h (@6236..) p4raw-integrated: from //depot/cfgperl@6232 'copy in' pod/Makefile pod/perltoc.pod (@6161..) MANIFEST (@6227..)
* integrate cfgperl changes#6207..6210 into mainlineGurusamy Sarathy2000-07-111-0/+4
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* adjust change#6299Gurusamy Sarathy2000-07-041-8/+10
| | | | | p4raw-link: @6299 on //depot/perl: 6c644e7885bc20d759d8cbcb4abaa8f14113c03b p4raw-id: //depot/perl@6302
* fix memory leak on Windows (PL_sys_intern contents were neverGurusamy Sarathy2000-07-041-6/+8
| | | | | freed) p4raw-id: //depot/perl@6299
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-0/+4
| | | p4raw-id: //depot/perl@6194
* PL_sys_intern was being initialized too late on windowsGurusamy Sarathy2000-05-111-0/+6
| | | p4raw-id: //depot/perl@6104
* add rsignal(), whichsig() and do_join() to public API listGurusamy Sarathy2000-04-241-0/+12
| | | | | (mod_perl uses them to good advantage) p4raw-id: //depot/perl@5932
* Add newSVuv().Jarkko Hietaniemi2000-03-181-0/+4
| | | p4raw-id: //depot/cfgperl@5803
* export cv_undef() and cv_const_sv() (mod_perl uses them toGurusamy Sarathy2000-03-171-0/+8
| | | | | good advantage) p4raw-id: //depot/perl@5774
* due to an oversight during PERL_OBJECT migration, hosts createdGurusamy Sarathy2000-03-161-0/+4
| | | | | | | | | by pseudo-fork were never being deleted, leading to a sizeable memory leak; std FDs in pseudo-children are now closed automatically to avoid resource leaks; basic infinite looping fork() test works without leaking again in non-PERL_OBJECT build p4raw-id: //depot/perl@5761
* make the is_utf8_*() safe for use on invalid utf8 (they nowGurusamy Sarathy2000-03-131-0/+4
| | | | | return false on such input instead of emitting warnings) p4raw-id: //depot/perl@5700
* abstract code for C<use Foo 1.23 @ary;> into a Perl_load_module()Gurusamy Sarathy2000-03-081-0/+12
| | | | | API function p4raw-id: //depot/perl@5619
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-0/+2
| | | p4raw-id: //depot/perl@5540
* support for list assignment to pseudohashes (from John TobeyGurusamy Sarathy2000-03-031-0/+4
| | | | | <jtobey@john-edwin-tobey.org>) p4raw-id: //depot/perl@5492
* support for version vectors in UNIVERSAL::VERSION(), so thatGurusamy Sarathy2000-02-261-0/+4
| | | | | | | C<use Foo v1.2.3> etc., work; tests for the same TODO: XS_VERSION_BOOTCHECK needs to be revisited in light of this p4raw-id: //depot/perl@5265
* fix missing perl_alloc() declaration under PERL_IMPLICIT_SYSGurusamy Sarathy2000-02-251-1/+0
| | | p4raw-id: //depot/perl@5256
* make change#3386 a build-time option (avoids problems due toGurusamy Sarathy2000-02-201-0/+6
| | | | | | | perl_run() longjmping out) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@5162
* make comparisons promote to utf8 as necessary (from Gisle Aas)Gurusamy Sarathy2000-02-191-0/+16
| | | p4raw-id: //depot/perl@5138
* provide malloc stats via get_mstats() (from Ilya Zakharevich)Gurusamy Sarathy2000-02-151-0/+4
| | | p4raw-id: //depot/perl@5103
* remove outdated -DPURIFY code--it reports bogus errors during globalGurusamy Sarathy2000-02-141-3/+0
| | | | | destruction since we actually depend on SVs being in arenas there p4raw-id: //depot/perl@5074
* export pregexec(), Tk uses itGurusamy Sarathy2000-02-011-0/+4
| | | p4raw-id: //depot/perl@4939
* more exported symbols needed for build on windowsGurusamy Sarathy2000-01-281-0/+128
| | | p4raw-id: //depot/perl@4916
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-2404/+0
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* enable function wrappers for access to globals under MULTIPLICITYGurusamy Sarathy2000-01-241-806/+3
| | | | | | (provides binary compatibility in the face of changes in interpreter structure) p4raw-id: //depot/perl@4878
* patch to report warnings on bogus filehandles passed to flock(),Gurusamy Sarathy2000-01-211-0/+4
| | | | | | more consistent warnings, from Greg Bacon <gbacon@itsc.uah.edu> (slightly modified) p4raw-id: //depot/perl@4830
* support delete() and exists() on array, tied array, and pseudo-hashGurusamy Sarathy2000-01-131-0/+12
| | | | | elements or slices p4raw-id: //depot/perl@4796
* missing files in previous submitGurusamy Sarathy1999-12-311-0/+2
| | | p4raw-id: //depot/perl@4744
* enable the PERL_BINMODE_SCRIPTS behavior by default on WindowsGurusamy Sarathy1999-12-301-1/+1
| | | | | | to allow ByteLoader to work; the DATA filehandles continue to be left open in text mode for compatibility p4raw-id: //depot/perl@4739
* support for v5.5.640 style version numbersGurusamy Sarathy1999-12-241-2/+0
| | | p4raw-id: //depot/utfperl@4705
* integrate mainline changesGurusamy Sarathy1999-12-121-88/+126
| | | p4raw-id: //depot/utfperl@4679
* Resolve mainline before possible hacking operertunity this weekendNick Ing-Simmons1999-10-231-2/+2
|\ | | | | p4raw-id: //depot/utfperl@4424
| * PL_malloc_mutex needs to be global, not per-interpreterGurusamy Sarathy1999-10-171-2/+2
| | | | | | | | | | (malloc.c has static data) p4raw-id: //depot/perl@4403
* | Resolve utfperl branch against mainline as of _62Nick Ing-Simmons1999-10-161-0/+6
|\ \ | |/ | | p4raw-id: //depot/utfperl@4394
| * revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-0/+4
| | | | | | | | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
| * make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-0/+2
| | | | | | | | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* | Incremental merge of mainlineNick Ing-Simmons1999-10-021-2/+30
|\ \ | |/ | | p4raw-id: //depot/utfperl@4286
| * (Was: deprecating SIGDIE)Kurt D. Starsinic1999-09-301-2/+0
| | | | | | | | | | | | | | | | To: Gurusamy Sarathy <gsar@ActiveState.com> Cc: tchrist@perl.com, Larry Wall <larry@wall.org>, The Perl Porters Mailing List <perl5-porters@perl.org> Message-ID: <19990929151650.E26675@O2.chapin.edu> p4raw-id: //depot/cfgperl@4257
| * add arenas for managing allocations of remaining xpv*v structuresVishal Bhatia1999-09-201-0/+16
| | | | | | | | | | | | Message-ID: <Pine.LNX.4.10.9908250031000.11727-100000@localhost.localdomain> Subject: [PATCH 5.005_60] removing extra ref count (compiler) p4raw-id: //depot/perl@4198
| * queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-0/+14
| | | | | | | | | | | | | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
| * make sprintf("%g",...) threadsafe; only taint its result iff theGurusamy Sarathy1999-09-121-4/+4
| | | | | | | | | | formatted result looks nonstandard p4raw-id: //depot/perl@4130