summaryrefslogtreecommitdiff
path: root/perl.h
Commit message (Collapse)AuthorAgeFilesLines
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-4/+4
| | | p4raw-id: //depot/perl@3669
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-53/+93
| | | | | | | | | | | | | | | | 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-26/+29
| | | p4raw-id: //depot/perl@3660
* Eliminate CONDOPsStephen McCamant1999-07-071-1/+0
| | | | | Message-ID: <14193.25034.113373.245377@alias-2.pr.mcs.net> p4raw-id: //depot/perl@3637
* fix for C<$/ = 42> setting paragraph mode (applied with smallM. J. T. Guy1999-07-061-2/+2
| | | | | | | tweak) Message-Id: <E10rm8l-00023T-00@ursa.cus.cam.ac.uk> Subject: Re: [ID 19990608.002] Possible bug with binmode and <FH> on Perl 5.005_03 Win32 p4raw-id: //depot/perl@3610
* applied slightly tweaked version of suggested patch forIlya Zakharevich1999-07-061-0/+9
| | | | | | | 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-7/+44
| | | | | | 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
* AIX threaded build, plus few more on the side.Jarkko Hietaniemi1999-07-051-2/+2
| | | p4raw-id: //depot/cfgperl@3592
* Integrate with mainperl.Jarkko Hietaniemi1999-07-051-1/+13
|\ | | | | p4raw-id: //depot/cfgperl@3585
| * cygwin32 updateFifer, Eric1999-07-051-1/+13
| | | | | | | | | | | | Message-Id: <71E287AB0D94D111BBD600600849EC8185EDD9@POST> Subject: [ID 19990602.003] perl5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3582
* | EPOC port to Psion5.Olaf Flebbe1999-06-271-4/+10
|/ | | | | | | | To: Jarkko Hietaniemi <jhi@iki.fi> Cc: perl5-porters@perl.org Subject: Re: Psion5 Message-ID: <Pine.GHP.4.02.9906272048130.17736-100000@io.science-computing.de> p4raw-id: //depot/cfgperl@3555
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-96/+125
| | | | | | | | | 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-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-17/+16
| | | | | | headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
* implement C<use caller 'encoding'>Gurusamy Sarathy1999-06-111-0/+1
| | | p4raw-id: //depot/perl@3534
* part of the platform changes for IMPLICIT_CONTEXTGurusamy Sarathy1999-06-101-17/+16
| | | p4raw-id: //depot/perl@3531
* most globals are now interpreter local; locale initializationGurusamy Sarathy1999-06-101-1/+1
| | | | | | | was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
* win32 build fixesGurusamy Sarathy1999-06-101-14/+5
| | | p4raw-id: //depot/perl@3525
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-91/+121
| | | | | | | | | | | | | | | | | | | | | 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-5/+59
| | | | | | | | | | | | 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
* remove _() non-ansismGurusamy Sarathy1999-06-021-53/+53
| | | p4raw-id: //depot/perl@3518
* ByteLoader mark 2Tom Hughes1999-05-281-2/+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 breakage when neither FFLUSH_ALL nor FFLUSH_NULL are #defined.Gurusamy Sarathy1999-05-211-0/+2
| | | | | | (Configure fflush(NULL) detection seems broken on Solaris, which is why I hit the problem) p4raw-id: //depot/perl@3439
* integrate cfgperl changes into mainlineGurusamy Sarathy1999-05-171-1/+13
|\ | | | | p4raw-id: //depot/perl@3433
| * Add HAS_MEMCHR and make memchr into a cpp macro if it already isn't.Jarkko Hietaniemi1999-05-131-0/+6
| | | | | | p4raw-id: //depot/cfgperl@3410
| * Still fflushing strong.Jarkko Hietaniemi1999-05-131-1/+5
| | | | | | p4raw-id: //depot/cfgperl@3409
| * Detect whether fflush(NULL) works as per change #3352.Jarkko Hietaniemi1999-05-121-1/+3
| | | | | | | | | | p4raw-link: @3352 on //depot/perl: 45bc920620377d5a7720d3d562c48df1eb0c2e68 p4raw-id: //depot/cfgperl@3398
* | additional cleanups for cygwin32 portFifer, Eric1999-05-171-1/+1
|/ | | | | | Message-ID: <71E287AB0D94D111BBD600600849EC8185EDAF@POST> Subject: [PATCH]perl5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3430
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-5/+6
| | | | | | | | | | 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-6/+7
| | | | | | 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-1/+7
| | | | | | (somewhat modified version of patch suggested by Tuomas J. Lukka <lukka@fas.harvard.edu>) p4raw-id: //depot/perl@3385
* Self-consistent numeric conversion againIlya Zakharevich1999-05-101-0/+5
| | | | | Message-Id: <199905010226.WAA19127@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3378
* Fix -Dm memory debugging for PERL_OBJECTJan Dubois1999-05-101-1/+5
| | | | | Message-ID: <37321800.19118320@smtp1.ibm.net> p4raw-id: //depot/perl@3374
* cygwin32 update (untested adaptation of patch against 5.005_03)Alexander Smishlajev1999-05-101-6/+2
| | | | | | Message-ID: <37230365.5F68B460@turnhere.com> Subject: [PATCH]5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3358
* flush all open output buffers before fork(), exec(), system, qx//Gurusamy Sarathy1999-05-091-0/+8
| | | | | | and pipe open() operations, simplifying buffering headaches faced by users; uses fflush(NULL), which may need Configure test p4raw-id: //depot/perl@3352
* Croak if no known ways to semctl() (don't assume union semun).Jarkko Hietaniemi1999-04-131-3/+0
| | | p4raw-id: //depot/cfgperl@3256
* First pass of integrating the Rhapsody port,Wilfredo Sánchez1999-03-151-19/+26
| | | | | | | | Subject: Keeping the world in sync. Reply-To: wsanchez@apple.com To: perlbug@perl.com Message-Id: <199811140111.RAA41784@scv4.apple.com> p4raw-id: //depot/cfgperl@3108
* fix parsing of here documents in C<eval 's/.../<<FOO/e'>Gurusamy Sarathy1999-03-091-0/+2
| | | p4raw-id: //depot/perl@3098
* remove bogus symbols from global.symGurusamy Sarathy1999-03-081-9/+0
| | | p4raw-id: //depot/perl@3095
* integrate cfgperl contentsGurusamy Sarathy1999-02-241-1/+1
|\ | | | | p4raw-id: //depot/perl@3023
| * pack/unpack better in (network-)short-non-16-bits andJarkko Hietaniemi1999-02-191-1/+1
| | | | | | | | | | (network-)long-non-32-bits systems such as Cray C90. p4raw-id: //depot/cfgperl@2985
* | adjust a Perl_malloc() flag for NeXTHans Mulder1999-02-241-1/+1
|/ | | | | | Message-Id: <9902222329.AA17516@icgned.icgroup.nl> Subject: [PATCH for _55] MUTEX_INIT_CALLS_MALLOC no longer necessary p4raw-id: //depot/perl@3020
* propagate PERL_VERSION everywhere, add to podGurusamy Sarathy1999-02-161-0/+2
| | | p4raw-id: //depot/perl@2957
* #include patchlevel.h by default, provideGurusamy Sarathy1999-02-151-0/+3
| | | | | PERL_{REVISION,VERSION,SUBVERSION} p4raw-id: //depot/perl@2943
* remove OVERLOAD conditionalsJan Dubois1999-02-121-9/+0
| | | | | Message-ID: <36b66479.62756298@smtp1.ibm.net> p4raw-id: //depot/perl@2903
* binmode() support for cygwin32 (suggested by Steven MorlockGurusamy Sarathy1999-02-111-1/+12
| | | | | <newspost@morlock.net>) p4raw-id: //depot/perl@2860
* make safesysmalloc() etc., always available; safemalloc() et al areGurusamy Sarathy1999-02-081-4/+5
| | | | | | 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
* remove spurious #endif in last changeGurusamy Sarathy1999-02-081-10/+8
| | | p4raw-id: //depot/perl@2833
* make EMBEDMYMALLOC the default and provide PERL_POLLUTE_MALLOC to letGurusamy Sarathy1999-02-081-31/+15
| | | | | them ask for insanity (untested) p4raw-id: //depot/perl@2832
* Configure update.Jarkko Hietaniemi1999-02-071-1/+13
| | | | | | Probe for mmap() et alia. The *cc*symbols patch (just Configure, no h2ph). p4raw-id: //depot/cfgperl@2829