summaryrefslogtreecommitdiff
path: root/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* tidy sv.[ch] after CRIPPLED_CC removalDave Mitchell2002-03-231-3/+3
| | | | | Message-ID: <20020323222724.A19425@fdgroup.com> p4raw-id: //depot/perl@15452
* -DCRIPPLED_CC RIPDave Mitchell2002-03-211-3/+0
| | | | | Message-ID: <20020321172440.C13683@fdgroup.com> p4raw-id: //depot/perl@15397
* Fix for "UTF-8 bug with s///" from Hugo.Jarkko Hietaniemi2002-03-201-0/+2
| | | p4raw-id: //depot/perl@15356
* s/regcinclasslen/reginclass/ and remove the oldJarkko Hietaniemi2002-03-191-2/+1
| | | | | reginclass since nothing is using it. p4raw-id: //depot/perl@15310
* Implement the retry-on-ERANGE for the get*_r().Jarkko Hietaniemi2002-03-171-0/+5
| | | | | The buffer will keep doubling until 64k. p4raw-id: //depot/perl@15272
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-0/+2
| | | | | | | | | | | | | | | | | and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
* Renaming tweaks, and split off the reentrant "superbuffer"Jarkko Hietaniemi2002-03-101-0/+3
| | | | | init routine. p4raw-id: //depot/perl@15139
* Retract #14985, #14899, and #14990, following the principlesJarkko Hietaniemi2002-03-071-1/+0
| | | | | | | | | | | | "Do no harm." and "If it ain't broke, don't fix it." Firstly, the #14985 broke badly on UTF-EBCDIC, #14990 fixed some, but still broken, and I do not have the extra brain cells for the EBCDIC backport. Secondly, the old version worked both in EBCDIC and non-. Thirdly, the old version may be more amenable for the behaviour suggsted by Anton Tagunov regarding the encoding pragma. p4raw-id: //depot/perl@15084
* Escapee.Jarkko Hietaniemi2002-03-041-0/+1
| | | p4raw-id: //depot/perl@15024
* Needed by #14985.Jarkko Hietaniemi2002-03-041-0/+2
| | | p4raw-id: //depot/perl@14989
* Re: Copying PV only with possible UTF-8 charactersJohn Peacock2002-02-241-0/+1
| | | | | Message-ID: <3C795DB7.40105@rowman.com> p4raw-id: //depot/perl@14857
* pack with a human face: the sequelIlya Zakharevich2002-02-221-0/+1
| | | | | Message-ID: <20020221213337.A23848@math.ohio-state.edu> p4raw-id: //depot/perl@14824
* grouping in pack/unpackIlya Zakharevich2002-02-211-0/+5
| | | | | Message-ID: <20020221060614.A29836@math.ohio-state.edu> p4raw-id: //depot/perl@14815
* Integrate mainlineNick Ing-Simmons2002-01-251-1/+9
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-11/+3
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Split out core of sv_magic() into sv_magicext().Nick Ing-Simmons2002-01-181-0/+1
| | | | | | | | | | | | | | | | sv_magic provides the extra restictions (no READONLY, only one of each type, canned set of vtables), and sv_magicext() does the actual data twiddling. Also enhances semantics of ->mg_ptr setting via name/namlen to allow either an uncopied ptr (namlen == 0), or a Newz()ed scratch area (namlen > 0 && name == NULL). sv_magicext also returns the MAGIC * it added. sv_magicext is intended mainly for PERL_MAGIC_ext (~) magic. To come sv_unmagicext() - which will remove just one magic of particular type, and additionaly match against ->mg_ptr, or the MAGIC * (need to experiment as to which is more natural). p4raw-id: //depot/perlio@14335
* Add Slab_Free to embed.fncMattia Barbon2002-01-151-0/+1
| | | | | Message-ID: <3C44A637.16602.25EB208@localhost> p4raw-id: //depot/perl@14292
* Integrate perlio:Jarkko Hietaniemi2002-01-151-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 14281] Correct slab allocator for case where sizeof(IV) > sizeof(IV *) e.g. -Duse64bitint on a 32-bit platform. Now uses I32 for use-count and is more careful with its casts. [ 14277] Correct name of PL_OP_SLAB_ALLOC [ 14271] Regen embed enable slab for PERL_IMPLICIT_SYS [ 14269] Typo in #else branch of PL_SLAB_ALLOC [ 14268] const-ness fix in savepv's passing of NULL [ 14267] Hand merge of non slab allocator stuff [ 14259] Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds! Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. [ 14257] Inverted sense of special-ness of specialCopIO - supposed to be true if value is "special" i.e. NOT an SV. p4raw-link: @14281 on //depot/perlio: 5a8e194fce7241d2bd0867584a5f8b0c0e672556 p4raw-link: @14277 on //depot/perlio: 6916a0abaebd67f9eaa2ffb20dbbb5aaf1b1719d p4raw-link: @14271 on //depot/perlio: ba979b3106a5e7f3b2512d1f4e93c681fba7aa9f p4raw-link: @14269 on //depot/perlio: a594c7b4495766324bc28504b0f4af2b5424ed02 p4raw-link: @14268 on //depot/perlio: 965155cb95a9be50d5ff126b516ea1fda1cb74ee p4raw-link: @14267 on //depot/perlio: 00ca71c18f4e3a59b9a40525cbef41f099448920 p4raw-link: @14259 on //depot/perlio: 05ec9bb346c404c8906ed1ac374d4bce61c84f5d p4raw-link: @14257 on //depot/perlio: b47b7e599cdd7224bc23222ddfd89205dbb5c997 p4raw-id: //depot/perl@14284
| * Regen embed enable slab for PERL_IMPLICIT_SYSNick Ing-Simmons2002-01-151-1/+2
| | | | | | p4raw-id: //depot/perlio@14271
| * Integrate rest of mainlineNick Ing-Simmons2002-01-151-1/+0
| |\ | |/ |/| p4raw-id: //depot/perlio@14270
| * Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* | Retract #14251 (the op slab allocator from perlio)Jarkko Hietaniemi2002-01-141-1/+0
|/ | | | | | | until we figure out why 2.2.19 x86 debian gets a circular sibling chain and therefore hangs in the Perl_ck_subr() sibling for-loop. p4raw-id: //depot/perl@14255
* Slab allocator for opsNick Ing-Simmons2002-01-131-0/+1
| | | | | | | - moved the statics to intrpvar.h - implemented Slab_Free() - uses PerlMemShared (for now) if distinction exists. p4raw-id: //depot/perlio@14250
* Finish up (ha!) the Unicode case folding;Jarkko Hietaniemi2002-01-051-1/+2
| | | | | enhance regex dumping code. p4raw-id: //depot/perl@14096
* Ooops. Retract the regex parts of #14090.Jarkko Hietaniemi2002-01-051-2/+1
| | | p4raw-id: //depot/perl@14091
* [REPATCH] Re: [PATCH] Re: socketpair blip on unicos/mk, tooNicholas Clark2002-01-051-1/+2
| | | | | Message-ID: <20020105181013.I300@Bagpuss.unfortu.net> p4raw-id: //depot/perl@14090
* If we do have socketpair(), make my_socketpair()Jarkko Hietaniemi2002-01-041-4/+0
| | | | | | | just call the real socketpair(). This way we always have real code behind my_socketpair() and a symbol corresponding to the my_socketpair in global.sym. p4raw-id: //depot/perl@14068
* One more iteration of the ibcmp_utf8() interface,Jarkko Hietaniemi2002-01-021-1/+1
| | | | | hopefully this is a convergent iteration... p4raw-id: //depot/perl@14014
* Make ibcmp_utf8() optionally progress in either string forJarkko Hietaniemi2002-01-021-1/+1
| | | | | as long as it takes and optionally record how far it got. p4raw-id: //depot/perl@14010
* Integrate perlio:Jarkko Hietaniemi2001-12-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | [ 13926] Nicholas Clark's embed.pl fix for my_socketpair [ 13923] Quick fix (after couple of clever fixes failed) for "accept leaks memory" fail [ID 20011223.001] p4raw-link: @13926 on //depot/perlio: 706e3e0fa48b7eca83a252c56ee7190a42ea58bd p4raw-link: @13923 on //depot/perlio: 72f496dcd0fc92435ef5c603c8a681183058a7bc p4raw-id: //depot/perl@13927
| * Nicholas Clark's embed.pl fix for my_socketpairNick Ing-Simmons2001-12-291-1/+1
| | | | | | p4raw-id: //depot/perlio@13926
| * Integrate mainlineNick Ing-Simmons2001-12-271-0/+31
| |\ | |/ |/| p4raw-id: //depot/perlio@13900
* | Integrate perlio:Jarkko Hietaniemi2001-12-231-0/+28
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 13854] Win32 and makedef.pl fall-out of PerlIO/pTHX stuff [ 13853] Put PerlIO stuff inside EXTERN C [ 13852] Add at least the "important" PerlIO_xxxx functions to embed.pl so that they get implicit pTHX_ and we can avoid slow dTHX. p4raw-link: @13854 on //depot/perlio: 3da9a137807e4f1acaf9cb3024a6cc5fbd119b9f p4raw-link: @13853 on //depot/perlio: 582ed04c91818c6c9bf5b51c84f67b7c565925a7 p4raw-link: @13852 on //depot/perlio: e87a358ade5a3dd9a8b192569e18211d76c93743 p4raw-id: //depot/perl@13862
| * Put PerlIO stuff inside EXTERN CNick Ing-Simmons2001-12-221-1/+3
| | | | | | p4raw-id: //depot/perlio@13853
| * Add at least the "important" PerlIO_xxxx functions to embed.plNick Ing-Simmons2001-12-221-0/+26
| | | | | | | | | | so that they get implicit pTHX_ and we can avoid slow dTHX. p4raw-id: //depot/perlio@13852
* | socketpair emulationNicholas Clark2001-12-231-0/+3
|/ | | | | Message-ID: <20011222183817.A12020@Bagpuss.unfortu.net> p4raw-id: //depot/perl@13858
* Make using U+FDD0..U+FDEF (noncharacters since Unicode 3.1),Jarkko Hietaniemi2001-12-211-0/+2
| | | | | | U+...FFFE, U+...FFFF, and characters beyond U+10FFFF (the Unicode maximum code point) warnable offenses. p4raw-id: //depot/perl@13823
* Some bincompat clawbacks.Jarkko Hietaniemi2001-12-191-0/+3
| | | p4raw-id: //depot/perl@13813
* It could be possible for the case-insensitiveJarkko Hietaniemi2001-12-131-1/+1
| | | | | | Unicode-aware string comparison to wander off to the la-la land. p4raw-id: //depot/perl@13669
* Re: attributes are brokenSpider Boardman2001-12-091-2/+3
| | | | | Message-Id: <200112090509.AAA02053@Orb.Nashua.NH.US> p4raw-id: //depot/perl@13543
* Make sharepvn a macro since all it does is a deref.Jarkko Hietaniemi2001-12-031-1/+0
| | | p4raw-id: //depot/perl@13436
* More forgotten checkins.Jarkko Hietaniemi2001-11-301-0/+1
| | | p4raw-id: //depot/perl@13377
* Make to Unicode character functions to use UVsJarkko Hietaniemi2001-11-301-31/+31
| | | | | instead of U32s and add to_uni_fold(). p4raw-id: //depot/perl@13374
* Fix for "a\x{100}" =~ /A/i.Jarkko Hietaniemi2001-11-281-0/+1
| | | p4raw-id: //depot/perl@13332
* regen_headers.Jarkko Hietaniemi2001-11-231-0/+1
| | | p4raw-id: //depot/perl@13197
* Implement the sort pragma. Split sort code from pp_ctl.cJarkko Hietaniemi2001-11-211-1/+0
| | | | | | | | | | to pp_sort.c. Includes the quicksort stabilizing layer from John P. Linderman. -Msort=qsort or -Msort=fast is faster than without (or with -Msort=mergesort or -Msort=safe) for short random inputs, but for some reason not quite as fast as 5.6.1 qsort. More benchmarking, profiling, tuning, and optimizing definitely needed. p4raw-id: //depot/perl@13179
* The _uni_display should not be in dump.c since theyJarkko Hietaniemi2001-11-191-2/+2
| | | | | are used under normal operation (S_not_a_number()). p4raw-id: //depot/perl@13099
* runtime runops switchIlya Zakharevich2001-11-161-3/+1
| | | | | Message-ID: <20011116004809.A934@math.ohio-state.edu> p4raw-id: //depot/perl@13044
* v-strings as Objects Step 1John Peacock2001-11-151-0/+1
| | | | | Message-ID: <3BF3FE30.70D7EDCA@rowman.com> p4raw-id: //depot/perl@13028
* -s on #! line Rafael Garcia-Suarez2001-11-081-0/+1
| | | | | Message-ID: <20011107222339.E729@rafael> p4raw-id: //depot/perl@12900