summaryrefslogtreecommitdiff
path: root/objXSUB.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Re-integrate mainlineNick Ing-Simmons1999-09-181-4/+44
|/ | | | | Basic SvUTF8 stuff in headers, no functional changes yet. p4raw-id: //depot/utfperl@4193
* various fixups for windowsGurusamy Sarathy1999-09-071-2/+0
| | | p4raw-id: //depot/perl@4101
* optional warning on join(/foo/...) (reworked suggested patchGurusamy Sarathy1999-09-061-0/+4
| | | | | by Mark-Jason Dominus <mjd@plover.com>) p4raw-id: //depot/perl@4083
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-0/+4
| | | | | | version of patch suggested by Ilya Zakharevich, which in turn is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>) p4raw-id: //depot/perl@4081
* sub : attrlistSpider Boardman1999-08-291-0/+22
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-Id: <199908290702.DAA32191@Orb.Nashua.NH.US> p4raw-id: //depot/cfgperl@4043
* Removed duplicated code (in pp.c and mg.c) by introducingJarkko Hietaniemi1999-08-191-0/+4
| | | | | | | | | | | | do_vecget(). NOTE: the calling convention of do_vecset() changes, too: the `offset' that is assigned to LvTARGOFF(TARG) in pp_vec() is no more multiplied by `size' in pp_vec(), the multiplication is now done in do_vecset(). Also fix a cpp thinko in change #4002. p4raw-link: @4002 on //depot/cfgperl: 24db6c0d56fddf85ee587fc1cb1dbce678fa6a8c p4raw-id: //depot/cfgperl@4004
* Integrate with Sarathy. perl.h and util.c required manual resolving.Jarkko Hietaniemi1999-08-011-0/+10
| | | p4raw-id: //depot/cfgperl@3864
* applied suggested patch; added missing prototype changes toIlya Zakharevich1999-07-271-0/+4
| | | | | | | | | opcode.pl along with documentation typos (feature still needs to be described in perlopentut.pod and summarized in perldelta.pod) Message-Id: <199906170439.AAA18154@monk.mps.ohio-state.edu> Subject: [PATCH 5.00557] 3-arg open p4raw-id: //depot/perl@3786
* optimize method name lookupChip Salzenberg1999-07-261-0/+8
| | | | | | Message-ID: <19990722134336.Q391@perlsupport.com> Subject: [PATCH] OP_METHOD_NAMED p4raw-id: //depot/perl@3768
* allow arrow omission in $foo[10]->('foo') etc. (but not inStephen McCamant1999-07-261-4/+0
| | | | | | | foo()->()); rework grammar to remove conflicts Message-ID: <14232.54970.771570.548676@alias-2.pr.mcs.net> Subject: [PATCH _57, long] Re: optional arrow asymmetry p4raw-id: //depot/perl@3767
* applied suggested patch for tracking line numbers correctly inHugo van der Sanden1999-07-231-0/+4
| | | | | | | | optimized blocks with a single statement; changed setcop to setstate and added code for -Dx dumps Message-Id: <199906231627.RAA24033@crypt.compulink.co.uk> Subject: [PATCH 5.005_57] Line number error in optimised else() p4raw-id: //depot/perl@3728
* Segfaults if $^PIlya Zakharevich1999-07-171-0/+4
| | | | | Message-Id: <199907130944.FAA04473@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3683
* make system() return -1 and set $! if exec of child failedIlya Zakharevich1999-07-171-0/+4
| | | | | | Message-ID: <19990709052113.A6201@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] system()==-1 and $! from failing fork/exec p4raw-id: //depot/perl@3679
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-404/+473
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-544/+525
| | | p4raw-id: //depot/perl@3660
* POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-0/+88
| | | | | | | and utf8. If both utf8 and locale are on, utf8 wins. I don't fully understand why so many tables changed in lib/unicode because of "make" -- maybe it was just overdue. p4raw-id: //depot/cfgperl@3624
* Integrate with Sarathy.Jarkko Hietaniemi1999-07-061-0/+14
| | | p4raw-id: //depot/cfgperl@3609
* AIX threaded build, plus few more on the side.Jarkko Hietaniemi1999-07-051-2/+0
| | | p4raw-id: //depot/cfgperl@3592
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-1005/+3033
| | | | | | | | | gone from the public API); PERL_OBJECT builds again on windows TODO: namespace-clean the typedefs in iperlsys.h and elsewhere; remove C++ remnants from public headers p4raw-id: //depot/perl@3553
* Fixed two long-standing locale bugs.Jarkko Hietaniemi1999-06-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both problems were related to numeric locale which controls the radix character aka the decimal separator. (1) printf (and sprintf) were resetting the numeric locale to C. (2) Using locale-numerically formatted floating point numbers (e.g. "1,23") together with -w caused warnings about "isn't numeric". The operations were working fine, though, because atof() was using the local locale. Both problems reported by Stefan Vogtner. Introduced a wrapper for atof() that attempts to convert the string both ways. This helps Perl to understand numbers like this "4.56" even when using a local locale makes atof() understand only numbers like this "7,89". Remaining related problems, both of which existed before this patch and continue to exist after this patch: (a) The behaviour of print() is _not_ as documented by perllocale. Instead of always using the C locale, print() does use the local locale, just like the *printf() do. This may be fixable now that switching to-and-fro between locales has been made more consistent, but fixing print() would change existing behaviour. perllocale is not changed by this patch. (b) If a number has been stringified (say, via "$number") under a local locale, the cached string value persists even under "no locale". This may or may not be a problem: operations work fine because the original number is still there, but that the string form keeps its locale-ish outlook may be somewhat confusing. p4raw-id: //depot/cfgperl@3542