summaryrefslogtreecommitdiff
path: root/embed.h
Commit message (Collapse)AuthorAgeFilesLines
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-0/+4
| | | | | | | | | | | | | | | | | 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/+6
| | | | | init routine. p4raw-id: //depot/perl@15139
* Retract #14985, #14899, and #14990, following the principlesJarkko Hietaniemi2002-03-071-2/+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
* Needed for threaded builds.Jarkko Hietaniemi2002-03-041-0/+2
| | | p4raw-id: //depot/perl@15004
* Needed by #14985.Jarkko Hietaniemi2002-03-041-0/+4
| | | p4raw-id: //depot/perl@14989
* Re: Copying PV only with possible UTF-8 charactersJohn Peacock2002-02-241-0/+2
| | | | | Message-ID: <3C795DB7.40105@rowman.com> p4raw-id: //depot/perl@14857
* pack with a human face: the sequelIlya Zakharevich2002-02-221-0/+2
| | | | | Message-ID: <20020221213337.A23848@math.ohio-state.edu> p4raw-id: //depot/perl@14824
* grouping in pack/unpackIlya Zakharevich2002-02-211-0/+10
| | | | | Message-ID: <20020221060614.A29836@math.ohio-state.edu> p4raw-id: //depot/perl@14815
* Integrate mainlineNick Ing-Simmons2002-01-251-5/+15
| | | | | 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-20/+6
| | | | | 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/+2
| | | | | | | | | | | | | | | | 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
* Regen embed enable slab for PERL_IMPLICIT_SYSNick Ing-Simmons2002-01-151-0/+2
| | | p4raw-id: //depot/perlio@14271
* Integrate rest of mainlineNick Ing-Simmons2002-01-151-2/+0
|\ | | | | p4raw-id: //depot/perlio@14270
| * Retract #14251 (the op slab allocator from perlio)Jarkko Hietaniemi2002-01-141-2/+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
* | Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-0/+4
|/ | | | | | | | | | | | 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
* Slab allocator for opsNick Ing-Simmons2002-01-131-0/+2
| | | | | | | - 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/+3
| | | | | enhance regex dumping code. p4raw-id: //depot/perl@14096
* Ooops. Retract the regex parts of #14090.Jarkko Hietaniemi2002-01-051-3/+1
| | | p4raw-id: //depot/perl@14091
* [REPATCH] Re: [PATCH] Re: socketpair blip on unicos/mk, tooNicholas Clark2002-01-051-1/+3
| | | | | 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
* 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
* Regen files.Jarkko Hietaniemi2001-12-301-48/+0
| | | p4raw-id: //depot/perl@13954
* Nicholas Clark's embed.pl fix for my_socketpairNick Ing-Simmons2001-12-291-1/+49
| | | p4raw-id: //depot/perlio@13926
* Re: Not OK 13881John Peacock2001-12-251-0/+6
| | | | | Message-ID: <3C285CB4.8040006@rowman.com> p4raw-id: //depot/perl@13883
* Add at least the "important" PerlIO_xxxx functions to embed.plNick Ing-Simmons2001-12-221-0/+48
| | | | | so that they get implicit pTHX_ and we can avoid slow dTHX. p4raw-id: //depot/perlio@13852
* Make using U+FDD0..U+FDEF (noncharacters since Unicode 3.1),Jarkko Hietaniemi2001-12-211-0/+4
| | | | | | 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/+6
| | | 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/+4
| | | | | 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-2/+0
| | | p4raw-id: //depot/perl@13436
* More forgotten checkins.Jarkko Hietaniemi2001-11-301-0/+2
| | | p4raw-id: //depot/perl@13377
* Fix for "a\x{100}" =~ /A/i.Jarkko Hietaniemi2001-11-281-0/+2
| | | p4raw-id: //depot/perl@13332
* regen_headers.Jarkko Hietaniemi2001-11-231-0/+2
| | | p4raw-id: //depot/perl@13197
* Implement the sort pragma. Split sort code from pp_ctl.cJarkko Hietaniemi2001-11-211-2/+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-4/+4
| | | | | are used under normal operation (S_not_a_number()). p4raw-id: //depot/perl@13099
* runtime runops switchIlya Zakharevich2001-11-161-6/+2
| | | | | Message-ID: <20011116004809.A934@math.ohio-state.edu> p4raw-id: //depot/perl@13044
* v-strings as Objects Step 1John Peacock2001-11-151-0/+2
| | | | | Message-ID: <3BF3FE30.70D7EDCA@rowman.com> p4raw-id: //depot/perl@13028
* -s on #! line Rafael Garcia-Suarez2001-11-081-0/+2
| | | | | Message-ID: <20011107222339.E729@rafael> p4raw-id: //depot/perl@12900
* Unicode: add ToFold mapping. Not used yet; but basicallyJarkko Hietaniemi2001-11-021-0/+2
| | | | | | | | | | a more useful mapping for caseless aka case-ignoring than doing either lc($a) eq lc($b) or uc($a) eq uc($b); the full algorithm for creating the foldings uses equivalence classes, see http://www.unicode.org/unicode/reports/tr21/ Hopefully this feature will be used in //i. (The folding tables were introduced by #12689.) p4raw-id: //depot/perl@12807
* Make sv_recode_to_utf8() a real API: the encodingJarkko Hietaniemi2001-10-311-1/+1
| | | | | | is a parameter, instead of a global. Document the PERL_ENCODING. p4raw-id: //depot/perl@12783
* Enable -Mencoding=foobar also for string literals.Jarkko Hietaniemi2001-10-311-0/+2
| | | p4raw-id: //depot/perl@12782
* Rewrite sv_uni_display() as pv_uni_display() asJarkko Hietaniemi2001-10-241-0/+2
| | | | | reimplement sv_uni_display() using that. p4raw-id: //depot/perl@12619
* sv_uni_display(): do not add the "...", let the callerJarkko Hietaniemi2001-10-231-1/+1
| | | | | do it if wanted, and be prepared for more display options. p4raw-id: //depot/perl@12612
* Implement multicharacter case mappings where a singleJarkko Hietaniemi2001-10-211-0/+2
| | | | | Unicode character can be mapped into several. p4raw-id: //depot/perl@12546
* Integrate perlio:Jarkko Hietaniemi2001-10-201-12/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 12530] Fixed in two places - p4 resolve [ 12529] Fix for ithreads/stdio build [ 12525] Avoid calling (now non-existant) Perl_sv_setsv(), by calling Perl_sv_setsv_flags directly. [ 12524] Add a new flag character 'm' to embed.pl set to represent "functions" which are really macros. Use it foe the troublesome sv_setsv() etc. macros in sv.h - changing latter to define sv_setsv rather than sv_setsv_macro etc. [ 12523] Add comments explaining why win32.h/embed.h are included where they are in perl.h [ 12522] Code PerlIOWin32_dup - does not fix Win32 problems as :win32 is not being used yet. [ 12511] Fix gross win32 build issues p4raw-link: @12530 on //depot/perlio: ed1c0269a31901e89fe8c0090d5c6cb7881eeb2f p4raw-link: @12529 on //depot/perlio: e0fa5af24242618e2201252ebce12dfc87892dd1 p4raw-link: @12525 on //depot/perlio: 485caab953a6ba703128628417a156139b8e7a26 p4raw-link: @12524 on //depot/perlio: af3c7592a74e7782bf0779c3272ee86140fadf53 p4raw-link: @12523 on //depot/perlio: 66a93824ccd37b2948fb857056747c3314d2a08c p4raw-link: @12522 on //depot/perlio: aa98ed8a09f34fb745cd31d496ab825619d2c82d p4raw-link: @12511 on //depot/perlio: a0ae667081b123207d4d0f2b6e6b7a5597859a57 p4raw-id: //depot/perl@12531
| * Add a new flag character 'm' to embed.pl set to representNick Ing-Simmons2001-10-201-12/+0
|/ | | | | | | "functions" which are really macros. Use it foe the troublesome sv_setsv() etc. macros in sv.h - changing latter to define sv_setsv rather than sv_setsv_macro etc. p4raw-id: //depot/perlio@12524
* Skeleton of "PerlIO_dup" coded.Nick Ing-Simmons2001-10-161-1/+1
| | | | | Still-passes all tests non-threaded (well it would wouldn't it!) p4raw-id: //depot/perlio@12451
* Make the toupper/lower/title API for Unicode not rightJarkko Hietaniemi2001-10-091-12/+6
| | | | | | but at least less wrong: prepare for the mapping being more than just one-character-to-one-character. p4raw-id: //depot/perl@12371
* Retract the #12259 for now.Jarkko Hietaniemi2001-09-301-14/+0
| | | p4raw-id: //depot/perl@12280
* Patch to put qsortsv in the public APIBrian Ingerson2001-09-301-2/+2
| | | | | Message-ID: <20010929174113.A30223@ttul.org> p4raw-id: //depot/perl@12276