summaryrefslogtreecommitdiff
path: root/objXSUB.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* EXTERN_C declarations for global arrays in variousGurusamy Sarathy1999-06-121-2/+0
| | | | | | headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
* win32 build fixesGurusamy Sarathy1999-06-101-4/+0
| | | p4raw-id: //depot/perl@3525
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-2417/+2091
| | | | | | | | | | | | | | | | | | | | | 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-1916/+1972
| | | | | | | | | | | | 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-0/+2
| | | p4raw-id: //depot/perl@3521
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-06-021-16/+0
|\ | | | | p4raw-id: //depot/perl@3516
| * ByteLoader mark 2Tom Hughes1999-05-281-18/+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
| * Cures for _57 in AIX 4.1.5.0.Jarkko Hietaniemi1999-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (1) The lddlflags lost its -lc by change #3660 (and the politeness of change #3257). (2) optype_size must end up in perl.exp (as PL_optype_size). Added it to perlvars.h, fixed bytecode.pl, regen'ed the relevant headers. p4raw-link: @3660 (not found) p4raw-link: @3257 on //depot/cfgperl: 5f3774a9b49fbaa1b06fec2cad77079ee509d6ca p4raw-id: //depot/cfgperl@3479
* | fix memory leak in C<eval 'return sub {...}'>Gurusamy Sarathy1999-05-311-0/+2
|/ | | p4raw-id: //depot/perl@3511
* REx engine improvementsIlya Zakharevich1999-05-251-0/+4
| | | | | Message-Id: <199905250642.CAA06208@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3475
* remove vestiges of PL_last_protoGurusamy Sarathy1999-05-241-2/+0
| | | p4raw-id: //depot/perl@3448
* redo change#2061 and parts of change#1169 with code in theGurusamy Sarathy1999-05-241-0/+2
| | | | | | | | | | | 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
* Still fflushing strong.Jarkko Hietaniemi1999-05-131-0/+2
| | | p4raw-id: //depot/cfgperl@3409
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-10/+14
| | | | | | | | | | 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
* gutsupport for C++ exceptionsChip Salzenberg1999-05-111-0/+4
| | | | | | Message-ID: <19990309115157.E7911@perlsupport.com> Subject: [PATCH 5.005] Flexible Exceptions p4raw-id: //depot/perl@3386
* "weak" references internals, still needs perlguts documentationGurusamy Sarathy1999-05-101-0/+8
| | | | | | (somewhat modified version of patch suggested by Tuomas J. Lukka <lukka@fas.harvard.edu>) p4raw-id: //depot/perl@3385
* Re: [PATCH 5.005_56] Make open(F,"command |") return correct err(no)Ilya Zakharevich1999-05-101-0/+2
| | | | | Message-ID: <19990506181728.A12433@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3373
* applied suggested patch, with win32 and PERL_OBJECT additionsTom Hughes1999-05-101-0/+2
| | | | | | 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-2/+2
| | | | | STRESS_REALLOC testing p4raw-id: //depot/perl@3215
* remove duplicate code and an extra branch in sv_setsv() andGurusamy Sarathy1999-04-031-2/+2
| | | | | other hot code by making SvTHINKFIRST() think about FAKE SVs p4raw-id: //depot/perl@3213
* remove bogus symbols from global.symGurusamy Sarathy1999-03-081-60/+0
| | | p4raw-id: //depot/perl@3095
* provide SvPV_nolen(sv) to avoid use of PL_naJan Dubois1999-02-141-0/+4
| | | | | | Message-ID: <36bb7ada.68485547@smtp1.ibm.net> Subject: [PATCH 5.005_54] _54 version of SvPV_nolen patch p4raw-id: //depot/perl@2912
* fix ops that are not filehandle constructors to not create GV if itGurusamy Sarathy1999-02-121-0/+2
| | | | | | doesn't already exist (avoids leaks); extend semantics of defined() so that defined(*{$foo}) works (experimental) p4raw-id: //depot/perl@2879
* make safesysmalloc() etc., always available; safemalloc() et al areGurusamy Sarathy1999-02-081-8/+8
| | | | | | now macros that point to the right malloc; fix various places in sources that need to always use safesysmalloc() et al p4raw-id: //depot/perl@2834
* patch for change#2822, done right; add PERL_OBJECT stuff; regen headersIlya Zakharevich1999-02-071-0/+2
| | | | | | | | 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
* various win32-ish changes merged from maint-5.005Gurusamy Sarathy1999-02-011-0/+14
| | | p4raw-id: //depot/perl@2746
* various tweaks for clean build and test on win32Gurusamy Sarathy1999-01-171-2/+0
| | | p4raw-id: //depot/perl@2632
* regen headersGurusamy Sarathy1999-01-171-0/+16
| | | p4raw-id: //depot/perl@2628
* Finishing off SNOBOL: $1 in (?{})Ilya Zakharevich1998-11-281-0/+4
| | | | | Message-Id: <199811280533.AAA25654@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2372
* better -Mre=debugcolorIlya Zakharevich1998-11-281-0/+2
| | | | | Message-Id: <199811272116.QAA03502@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2371
* regcolorsIlya Zakharevich1998-11-281-0/+2
| | | | | Message-Id: <199811272022.PAA17874@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2370
* applied suggested patch with PERL_OBJECT tweaksIlya Zakharevich1998-11-281-0/+6
| | | | | | 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
* Fix \G in REx without //gIlya Zakharevich1998-11-281-0/+4
| | | | | Message-Id: <199811260433.XAA29281@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2365
* add ext/Devel/PeekJan Dubois1998-11-271-8/+28
| | | | | | Message-ID: <36589ec9.49964585@smtp1.ibm.net> Subject: [PATCH 5.005_53] Devel::Peek integration p4raw-id: //depot/perl@2322
* phase 2 of PERL_OBJECT cleanup; objXSUB.h autogenerationGurusamy Sarathy1998-11-221-1625/+2564
| | | p4raw-id: //depot/perl@2260
* integrate changes#2120,2168,2218 from maint-5.005;Gurusamy Sarathy1998-11-081-0/+2
| | | | | | | | | | add new vtbls; s/\bvtbl_/PL_vtbl_/; remove trailing comma in enum; make regen_headers p4raw-link: @2218 on //depot/maint-5.005/perl: eadd311f94dcb5fe096743b61371bd2d48466304 p4raw-link: @2168 on //depot/maint-5.005/perl: fb1d2f1891787fe7d6df85205b85f0528294ffa8 p4raw-link: @2120 on //depot/maint-5.005/perl: f9caadc6ad025d4bf993ab5b737b9a99347a59e3 p4raw-id: //depot/perl@2220
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-1/+11
| | | | | | | | | | (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
* properly restore PL_rsfp_filters after requireGurusamy Sarathy1998-10-251-0/+2
| | | p4raw-id: //depot/perl@2051
* make C<use> recognize C<require> overrides; allow C<do EXPR> to beGurusamy Sarathy1998-10-031-0/+2
| | | | | overridden p4raw-id: //depot/perl@1923
* big Configure update from Jarkko: sync metaconfig units; d_statblks fixGurusamy Sarathy1998-09-251-0/+3
| | | | | | | | | | | | | | | | | for Linux; hpux CMA-threads hints; ELF support for FreeBSD; beginnings of full-fledged 64-bit support (including support for: fseeko/ftello, Quad_t aka long long, hpux and irix 64-bits hints, new 64-bit constants in Fcntl) From: Jarkko Hietaniemi <jhi@iki.fi> Date: Fri, 11 Sep 1998 23:56:11 +0300 (EET DST) Message-Id: <199809112056.XAA04720@alpha.hut.fi> Subject: [PATCH] 5.005_51: Configure "Massive Attack" -- From: Jarkko Hietaniemi <jhi@cc.hut.fi> Date: 12 Sep 1998 09:44:25 +0300 Message-ID: <oeeaf45bzjq.fsf@alpha.hut.fi> Subject: Re: [PATCH] 5.005_51: Configure "Massive Attack" p4raw-id: //depot/perl@1889
* provide locked access to string table for USE_THREADSGurusamy Sarathy1998-09-241-0/+2
| | | p4raw-id: //depot/perl@1863
* SSNEW() API for allocating memory on the savestackAlbert Dvornik1998-09-231-0/+2
| | | | | | Message-Id: <tqemtae338.fsf@puma.genscan.com> Subject: [PATCH 5.005_51] (was: why SAVEDESTRUCTOR()...) p4raw-id: //depot/perl@1852
* patch to support computed regular subexpressionsIlya Zakharevich1998-09-231-0/+4
| | | | | | Message-Id: <199808201919.PAA04692@monk.mps.ohio-state.edu> Subject: [5.005_5* PATCH] Postponed RE - now! p4raw-id: //depot/perl@1813
* support match indices via special variables @- and @+Ilya Zakharevich1998-09-231-0/+4
| | | | | | Message-Id: <199807220300.XAA16081@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_76] @- and @+ p4raw-id: //depot/perl@1800
* ntohl typo in objXSUB.hGurusamy Sarathy1998-09-171-2/+2
| | | p4raw-id: //depot/perl@1786
* various tweaks: fix signed vs. unsigned problems that prevented C++Gurusamy Sarathy1998-08-101-0/+100
| | | | | | builds; add sundry PERL_OBJECT scaffolding to get it to build; fix lexical warning testsuite for win32 p4raw-id: //depot/perl@1777
* change case of PERL_OBJECT filenames, consistent with the restGurusamy Sarathy1998-07-211-0/+2055
p4raw-id: //depot/perl@1609