summaryrefslogtreecommitdiff
path: root/embed.pl
Commit message (Collapse)AuthorAgeFilesLines
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-08-011-3/+3
|\ | | | | p4raw-id: //depot/perl@3860
| * 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
* | More optimizations to REx engineIlya Zakharevich1999-08-011-2/+3
|/ | | | | Message-Id: <199907311407.IAA25038@localhost.frii.com> p4raw-id: //depot/perl@3857
* support -DPERL_BINCOMPAT_5005, still needs a Configure testGurusamy Sarathy1999-07-271-2/+29
| | | | | (from Andy Dougherty) p4raw-id: //depot/perl@3793
* applied suggested patch; added missing prototype changes toIlya Zakharevich1999-07-271-0/+3
| | | | | | | | | 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-45/+147
| | | | | | | | | | | | | | | | 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-45/+171
| | | 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/+4
| | | | | | | | | | | | | | 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/+15
|/ | | 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-40/+74
| | | | | | | | | 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-15/+9
| | | p4raw-id: //depot/perl@3525
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-305/+1416
| | | | | | | | | | | | | | | | | | | | | 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-1/+21
| | | | | | | | | | | | 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-4/+0
| | | p4raw-id: //depot/perl@3521
* fix memory leak in C<eval 'return sub {...}'>Gurusamy Sarathy1999-05-311-0/+1
| | | p4raw-id: //depot/perl@3511
* redo change#2061 and parts of change#1169 with code in theGurusamy Sarathy1999-05-241-0/+1
| | | | | | | | | | | parser; PL_last_proto hackery gone, strict 'subs' in now implemented in the optimizer where specifying the exceptional cases is much more robust; '*' (bareword) prototype now works reliably when used in second and subsequent arguments p4raw-link: @2061 on //depot/perl: bf8481137c02593eb36f8d0e234a2ec41a1c92e4 p4raw-link: @1169 on //depot/perl: 2a841d1398ee9bbf30a942905192cc2591b3e92a p4raw-id: //depot/perl@3447
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-2/+7
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387
* "weak" references internals, still needs perlguts documentationGurusamy Sarathy1999-05-101-0/+2
| | | | | | (somewhat modified version of patch suggested by Tuomas J. Lukka <lukka@fas.harvard.edu>) p4raw-id: //depot/perl@3385
* applied suggested patch, with win32 and PERL_OBJECT additionsTom Hughes1999-05-101-0/+1
| | | | | | Message-ID: <609bdff748.tom@compton.compton.nu> Subject: ByteLoader patch p4raw-id: //depot/perl@3356
* grow PL_tmps_stack more efficiently; make it more amenable toGurusamy Sarathy1999-04-031-1/+0
| | | | | STRESS_REALLOC testing p4raw-id: //depot/perl@3215
* remove duplicate code and an extra branch in sv_setsv() andGurusamy Sarathy1999-04-031-1/+0
| | | | | other hot code by making SvTHINKFIRST() think about FAKE SVs p4raw-id: //depot/perl@3213
* remove bogus symbols from global.symGurusamy Sarathy1999-03-081-2/+7
| | | p4raw-id: //depot/perl@3095
* fix ops that are not filehandle constructors to not create GV if itGurusamy Sarathy1999-02-121-0/+1
| | | | | | doesn't already exist (avoids leaks); extend semantics of defined() so that defined(*{$foo}) works (experimental) p4raw-id: //depot/perl@2879
* patch for change#2822, done right; add PERL_OBJECT stuff; regen headersIlya Zakharevich1999-02-071-0/+1
| | | | | | | | Message-ID: <19990207150726.A571@monk.mps.ohio-state.edu> Subject: Re: fixing memory leaks in REx compilation p4raw-link: @2822 on //depot/perl: 34184a49c8a0771dbea73b3f0519126fd5b22c2f p4raw-id: //depot/perl@2826
* PERL_OBJECTness for change#2595Gurusamy Sarathy1999-01-171-0/+5
| | | | | p4raw-link: @2595 on //depot/cfgperl: 9c007264caa0e1aed57010dc2950fe35f9d8347e p4raw-id: //depot/perl@2627
* PERL_OBJECT tweaks for change#2426Gurusamy Sarathy1999-01-171-0/+1
| | | | | p4raw-link: @2426 on //depot/cfgperl: 620e46c53f8c7c9f3fd77bcea9cd19e919047cba p4raw-id: //depot/perl@2626
* Please add no_modify to PERL_POLLUTEroot1998-12-181-0/+1
| | | | | | | | | To: perlbug@perl.com Cc: k@dubravka.in-berlin.de Message-Id: <199812180945.KAA05275@dubravka.in-berlin.de> (Really from Andreas König) p4raw-id: //depot/cfgperl@2488
* applied suggested patch with PERL_OBJECT tweaksIlya Zakharevich1998-11-281-0/+1
| | | | | | Message-Id: <199811260746.CAA23164@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_53] Enable $_ and pos() inside (?{ CODE }) in RExen p4raw-id: //depot/perl@2367
* phase 2 of PERL_OBJECT cleanup; objXSUB.h autogenerationGurusamy Sarathy1998-11-221-6/+72
| | | p4raw-id: //depot/perl@2260
* s/Perl_utf8skip/PL_utf8skip/gGurusamy Sarathy1998-11-171-10/+0
| | | p4raw-id: //depot/perl@2241
* provide -DPERL_POLLUTEGurusamy Sarathy1998-11-111-1/+1
| | | p4raw-id: //depot/perl@2226
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-35/+256
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* disable C<#define dirty PL_dirty> et al.Gurusamy Sarathy1998-10-061-1/+1
| | | p4raw-id: //depot/perl@1927
* remove bogus warn()Gurusamy Sarathy1998-09-241-4/+3
| | | p4raw-id: //depot/perl@1862
* 5.004_50 or 5.005_02: get rid of interp.sym because not even AIX needs itJarkko Hietaniemi1998-09-231-7/+0
| | | | | Message-Id: <199808121941.WAA06263@alpha.hut.fi> p4raw-id: //depot/perl@1826
* add a few more globals with old names #definedGurusamy Sarathy1998-07-221-0/+7
| | | p4raw-id: //depot/perl@1625
* add rsfp_filters and perldb to pollutants listGurusamy Sarathy1998-07-201-0/+2
| | | p4raw-id: //depot/perl@1582