summaryrefslogtreecommitdiff
path: root/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* preliminary support for GVOP indirection via padGurusamy Sarathy1999-11-081-0/+1
| | | p4raw-id: //depot/perl@4539
* preliminary support for perl_clone() (still needs work inGurusamy Sarathy1999-11-081-0/+16
| | | | | | | | the following areas: SVOPs must indirect via pad; context stack, scope stack, and runlevels must be cloned; must hook up the virtualized pseudo-process support provided by "host"; ...) p4raw-id: //depot/perl@4538
* remove VIRTUAL tag, PERL_OBJECT doesn't need it anymoreGurusamy Sarathy1999-11-041-687/+687
| | | p4raw-id: //depot/perl@4511
* Integrate with Sarathy; manual resolve on regcomp.c conflictsJarkko Hietaniemi1999-10-271-3/+2
|\ | | | | | | | | (Ilya's changes won). p4raw-id: //depot/cfgperl@4468
| * warnings and const violations identified by compiling in C++ modeGurusamy Sarathy1999-10-261-2/+2
| | | | | | | | | | with GCC v2.95 p4raw-id: //depot/perl@4461
| * remove unused interpreter globalsGurusamy Sarathy1999-10-241-1/+0
| | | | | | p4raw-id: //depot/perl@4448
* | Revert #4457 for more investigation.Jarkko Hietaniemi1999-10-261-1/+1
| | | | | | p4raw-id: //depot/cfgperl@4460
* | Add getmnt() to nosuid checking.Jarkko Hietaniemi1999-10-261-1/+1
| | | | | | p4raw-id: //depot/cfgperl@4457
* | Remove the last regnode<==>char*Ilya Zakharevich1999-10-251-1/+1
|/ | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199910250706.DAA16825@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4453
* avoid inefficiency in change#3386 (every longjmp() was followedGurusamy Sarathy1999-10-141-2/+2
| | | | | | | by an avoidable call to setjmp()) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@4372
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-1/+2
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
* remove doubled new_xpvGurusamy Sarathy1999-09-281-1/+0
| | | p4raw-id: //depot/perl@4244
* add arenas for managing allocations of remaining xpv*v structuresVishal Bhatia1999-09-201-0/+25
| | | | | | 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-1/+4
| | | | | | | | | | | 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-2/+2
| | | | | formatted result looks nonstandard p4raw-id: //depot/perl@4130
* various fixups for windowsGurusamy Sarathy1999-09-071-3/+0
| | | p4raw-id: //depot/perl@4101
* sub : attrlistSpider Boardman1999-08-291-1/+12
| | | | | | 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/+1
| | | | | | | | | | | | 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
* Use Pid_t.Jarkko Hietaniemi1999-08-101-2/+2
| | | p4raw-id: //depot/cfgperl@3950
* Use Mode_t.Jarkko Hietaniemi1999-08-101-2/+2
| | | p4raw-id: //depot/cfgperl@3949
* Gratuitous uid and gid casts to I32s and ints removed.Jarkko Hietaniemi1999-08-101-3/+2
| | | | | | There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
* Integrate with Sarathy. perl.h and util.c required manual resolving.Jarkko Hietaniemi1999-08-011-2/+2
| | | p4raw-id: //depot/cfgperl@3864
* Repent and make overly large integerishJarkko Hietaniemi1999-07-291-3/+3
| | | | | | | constants non-fatal. They are now promoted to NVs, accompanied by an overflow warning that is by default on. p4raw-id: //depot/cfgperl@3832
* applied suggested patch; added missing prototype changes toIlya Zakharevich1999-07-271-0/+1
| | | | | | | | | 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/+1
| | | | | | 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-1/+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
* ensure implicitly closed handles don't set $? or $!Gurusamy Sarathy1999-07-261-1/+1
| | | p4raw-id: //depot/perl@3752
* fix bug in change#3728 that might free COPs prematurely;Gurusamy Sarathy1999-07-251-0/+1
| | | | | | | | null(op) now does more thorough scrubbing of the op, which fixes a few compile-time memory "leaks" p4raw-link: @3728 on //depot/perl: 7399586d384137f7ae66bcc82a83b0df7dd429e5 p4raw-id: //depot/perl@3739
* Segfaults if $^PIlya Zakharevich1999-07-171-1/+1
| | | | | 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/+1
| | | | | | 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-6/+19
| | | | | | | | | | | | | | | | 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-29/+0
| | | p4raw-id: //depot/perl@3660
* Integrate with Sarathy.Jarkko Hietaniemi1999-07-071-0/+1
|\ | | | | p4raw-id: //depot/cfgperl@3638
| * memleak in optimizerHugo van der Sanden1999-07-071-0/+1
| | | | | | | | | | Message-Id: <199906231516.QAA23851@crypt.compulink.co.uk> p4raw-id: //depot/perl@3634
| * applied slightly tweaked version of suggested patch forIlya Zakharevich1999-07-061-0/+2
| | | | | | | | | | | | | | improved RE API Message-Id: <199906092214.SAA14126@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] REx engine rehash p4raw-id: //depot/perl@3606
| * slightly tweaked version of suggested patchDan Sugalski1999-07-061-11/+11
| | | | | | | | | | | | Message-Id: <3.0.6.32.19990608140938.030f12e0@ous.edu> Subject: [PATCH 5.005_57]Use NV instead of double in the core p4raw-id: //depot/perl@3602
* | POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-1/+20
| | | | | | | | | | | | | | 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-11/+13
|/ | | 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-655/+673
| | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* various little tweaks; most globals are now in intrpvar.h, ninterpsGurusamy Sarathy1999-06-111-1/+1
| | | | | is temporarily gone p4raw-id: //depot/perl@3535
* win32 build fixesGurusamy Sarathy1999-06-101-14/+9
| | | p4raw-id: //depot/perl@3525
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-849/+451
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-971/+1343
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* clean up some stray "global" symbolsGurusamy Sarathy1999-06-041-12/+10
| | | p4raw-id: //depot/perl@3521
* remove _() non-ansismGurusamy Sarathy1999-06-021-839/+839
| | | p4raw-id: //depot/perl@3518
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-06-021-7/+0
|\ | | | | p4raw-id: //depot/perl@3516
| * ByteLoader mark 2Tom Hughes1999-05-281-7/+0
| | | | | | | | | | | | | | | | | | To: perl5-porters@perl.org Message-ID: <bf337a0849.tom@compton.compton.nu> plus resolve tiny conflict with #3479 plus regen_headers. p4raw-id: //depot/cfgperl@3499
* | fix memory leak in C<eval 'return sub {...}'>Gurusamy Sarathy1999-05-311-0/+1
|/ | | p4raw-id: //depot/perl@3511