summaryrefslogtreecommitdiff
path: root/embed.pl
Commit message (Collapse)AuthorAgeFilesLines
* Drag autodoc.pl and overload.pl into the age of safer_open().Nicholas Clark2008-03-171-5/+5
| | | | | | | | Thanks to the wisdom of london.pm, stuff the filename into the SCALAR slot of the typeglob created in safer_open(), so that ... Add safer_close(), that will die (with the filename) if the close fails. p4raw-id: //depot/perl@33539
* Rename safer_rename() to rename_if_different(), to accurately describeNicholas Clark2008-03-151-51/+43
| | | | | | | | | | | | | what it does. Use File::Compare rather than Digest::MD5, as the files are small enough to simply read in. (File::Compare dates from 5.004) Remove safer_rename_always(), which isn't used. DRY by replacing the cargo-culted "open or die" with a new function safer_open(), which uses Gensym (5.002) to create an anonymous file handle, and opens and binmodes the file, or dies. This necessitates replacing bareword file handles with lexicals in all the callers. Correct the names of files in close or die constructions. p4raw-id: //depot/perl@33538
* Re: [patch] refine make regen to be more selectiveJim Cromie2008-03-151-10/+11
| | | | | | Message-ID: <47D720CE.7060004@gmail.com> Date: Tue, 11 Mar 2008 18:16:14 -0600 p4raw-id: //depot/perl@33537
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2008-02-121-5/+17
| | | | | | | | | | | | ability to create landmines that will explode under someone in the future when they upgrade their compiler to one with better optimisation. We've already done this at least twice. (Yes, some of the assertions are after code that would already have SEGVd because it already deferences a pointer, but they are put in to make it easier to automate checking that each and every case is covered.) Add a tool, checkARGS_ASSERT.pl, to check that every case is covered. p4raw-id: //depot/perl@33291
* [ patch ] add line-number to embed.pl warningsJim Cromie2007-09-171-2/+2
| | | | | Message-ID: <46E820F4.80106@gmail.com> p4raw-id: //depot/perl@31884
* Fix commented out function names in proto.hJan Dubois2007-07-071-1/+1
| | | | | | From: "Jan Dubois" <jand@activestate.com> Message-ID: <058b01c7c032$18a6a260$49f3e720$@com> p4raw-id: //depot/perl@31546
* delete thrdvar.h and move its contents to intrpvar.hDave Mitchell2007-05-201-27/+1
| | | p4raw-id: //depot/perl@31245
* Welcome to 2007! Time to update copyrights from changes earlierSteve Peters2007-01-011-1/+1
| | | | | today. p4raw-id: //depot/perl@29653
* was RE: Perl_die() / Perl_croak()Robin Barker2006-11-131-4/+8
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226149377@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@29259
* embed.pl enhancementsAndy Lester2006-07-031-12/+33
| | | | | | | Message-ID: <20060702171139.GA20266@petdance.com> Add experimental (and optional) splint support p4raw-id: //depot/perl@28472
* unused context warningsAndy Lester2006-02-241-10/+13
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Add 2006 to the copyright years in the header generated by embed.plNicholas Clark2006-01-021-1/+1
| | | p4raw-id: //depot/perl@26565
* All args in embed.fnc should be namedAndy Lester2005-12-071-20/+9
| | | | | Message-ID: <20051207160818.GA13465@petdance.com> p4raw-id: //depot/perl@26296
* Arrange to only output each symbol once into global.symNicholas Clark2005-10-311-12/+19
| | | p4raw-id: //depot/perl@25923
* embed.fnc now requires NN/NULLOKAndy Lester2005-09-281-0/+7
| | | | | | Message-ID: <20050928172254.GE20201@petdance.com> Date: Wed, 28 Sep 2005 12:22:54 -0500 p4raw-id: //depot/perl@25637
* Const Boy II: The LocalizingAndy Lester2005-06-231-0/+3
| | | | | Message-ID: <20050622144059.GA19598@petdance.com> p4raw-id: //depot/perl@24945
* Re: updated tru64 cc [PATCH]es (Re: [PATCH]es: Tru64/blead)Jarkko Hietaniemi2005-05-301-0/+17
| | | | | Message-ID: <429AAF9C.30503@gmail.com> p4raw-id: //depot/perl@24627
* perl 5.9.x (@ 24471): Symbian updateJarkko Hietaniemi2005-05-171-5/+5
| | | | | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D793@esebe105.NOE.Nokia.com> completed by: Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D7A0@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24492
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-4/+11
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* attributes-two.patch, the next batchAndy Lester2005-05-091-7/+21
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* Revert to Andy's first solution for nonnull attributes;Rafael Garcia-Suarez2005-05-091-17/+2
| | | | | add the missing defines for non-threaded perls in perl.h p4raw-id: //depot/perl@24421
* Tweak the insertion of __attribute__((nonnull())) declarationsRafael Garcia-Suarez2005-05-081-2/+17
| | | | | in proto.h so it compiles with and without threads with gcc 3.4 p4raw-id: //depot/perl@24416
* GCC attributes!Andy Lester2005-05-071-15/+28
| | | | | Message-ID: <20050504215540.GA20413@petdance.com> p4raw-id: //depot/perl@24414
* Save state when auto-generating #ifdef PERL_CORE and PERL_CORE/PERL_EXTNicholas Clark2005-04-231-7/+52
| | | | | reducing embed.h by about 10%. p4raw-id: //depot/perl@24308
* Symbian port of PerlJarkko Hietaniemi2005-04-211-9/+52
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Update copyrights.Rafael Garcia-Suarez2005-03-311-15/+1
| | | | | Well, those are generated files anyway. p4raw-id: //depot/perl@24121
* Protection against trailing spaces in embed.fncRafael Garcia-Suarez2004-11-301-0/+1
| | | p4raw-id: //depot/perl@23568
* Make all scripts run by regen.pl write output with UNIX style EOL's.Steve Hay2004-11-161-0/+5
| | | | | (autodoc.pl was already done by change 23371.) p4raw-id: //depot/perl@23501
* Update copyright noticesRafael Garcia-Suarez2004-03-161-5/+5
| | | p4raw-id: //depot/perl@22509
* LotR quote for perlapi.cAudrey Tang2003-08-011-0/+9
| | | | | Message-Id: <20030801020029.GA28241@not.autrijus.org> p4raw-id: //depot/perl@20404
* RE: [PATCH] RE: maint snapshot @ 19525Robin Barker2003-05-231-4/+1
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90404653C@hotel.npl.co.uk> p4raw-id: //depot/perl@19599
* RE: maint snapshot @ 19525Robin Barker2003-05-161-1/+2
| | | | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90404651D@hotel.npl.co.uk> (Part #1: the __format__ and __printf__) p4raw-id: //depot/perl@19527
* RE: perl@19333Robin Barker2003-05-011-1/+1
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D9040464F7@hotel.npl.co.uk> p4raw-id: //depot/perl@19373
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+20
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Must not hide the protos, though.Jarkko Hietaniemi2003-03-091-2/+2
| | | p4raw-id: //depot/perl@18871
* Export the symbols from #18863; do not prototype (but export)Jarkko Hietaniemi2003-03-091-4/+5
| | | | | | | | Nicholas Clark's experimental COW functions. Sidenote: the embed.fnc/embed.fnc/makedef.pl thing is becoming a mess of Herculean proportions. Someone should redesign and clean up the stables. p4raw-id: //depot/perl@18868
* regen_headers tiny tidying:Jarkko Hietaniemi2003-03-081-1/+1
| | | | | | | | | | - regen.pl renamed as regen_lib.pl - regen_headers.pl renamed as regen.pl - added make target 'regen' (kept target 'regen_headers' for porters' brains' backward compatibility) - regen.pl fancified a bit to display the names of the files that got changed by running the scripts p4raw-id: //depot/perl@18851
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Suppress empty #ifdef blocks in embed.plHugo van der Sanden2003-02-171-1/+1
| | | p4raw-id: //depot/perl@18734
* NO_SHORT_NAMES is better than HIDE_SHORT_NAMES.Jarkko Hietaniemi2003-02-161-3/+7
| | | p4raw-id: //depot/perl@18729
* According to Sarathy it's better have the MinistryJarkko Hietaniemi2003-02-161-3/+0
| | | | | | of Information to remove all memory of NO_EMBED. What NO_EMBED? p4raw-id: //depot/perl@18728
* add support for assertions. Updated form of:Salvador FandiƱo2003-02-161-1/+1
| | | | | | Subject: Re: Did the assertion patch/feature submission get overlooked? Message-ID: <3DE8F439.50402@yahoo.com> p4raw-id: //depot/perl@18727
* As suggested by Sarathy, add -DPERL_HIDE_SHORT_NAMES optionJarkko Hietaniemi2003-02-161-2/+7
| | | | | | which will disable the short forms of the Perl_ API, good for embedding stuff. (Kind of like the old NO_EMBED, but better.) p4raw-id: //depot/perl@18718
* integrate #18366-18370 from maint-5.8:Hugo van der Sanden2003-01-211-0/+14
| | | | | | | | | | | | | | | | | | | | | | | Implement the CPP namespace protection from [perl #8610]; unless a function has an 'A' flag, it's defined only if PERL_CORE. (Why do we have so many many functions with an 'A' flag, is another matter.) (The number of #ifdef PERL_COREs could be cut down further by having a state variable and inserting #ifdefs and #endifs when the state flips.) Caught by change #18366; thanks to the re extension we have some functions that are file static but yet part of "the public API"... Maybe a new class of exportability (a new embed.fnc flag) is required for this case. Continue on change #18367; implement the said flag, 'E'. (Some nm output studying was needed to get the right set of re symbols defined.) In AIX (strict symbol exports) the cxinc is needed for List::Util. p4raw-link: @18367 on //depot/maint-5.8/perl: 6f21c313c98cc4764e09fbbce2c8792576c90d7d p4raw-link: @18366 on //depot/maint-5.8/perl: 704f60d9cfa8683df64f005e872b37aea8f9d60e p4raw-id: //depot/perl@18531
* regen_headers outside Makefile (was Re: [PATCH] embed.pl doc)Nicholas Clark2002-11-191-10/+17
| | | | | Message-ID: <20021029230003.GF287@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18160
* Put back the DO NOT EDIT headers in proto.h and global.symSlaven Rezic2002-11-051-2/+2
| | | | | | Subject: Re: [perl #18066] Bug in -I when path has double colons? Message-ID: <87adkrngy1.fsf@vran.herceg.de> p4raw-id: //depot/perl@18108
* Repair broken previous patch. I don't like it, but not repairing itH.Merijn Brand2002-10-271-12/+13
| | | | | | breaks each and every build. Will teach me to test on the same machine where I patched it. Sorry. p4raw-id: //depot/perl@18068
* embed.pl doc. (embed.pl reorganization for doc headers)H.Merijn Brand2002-10-271-88/+41
| | | | | | Wed, 23 Oct 2002; Jarkko Hietaniemi <jhi@iki.fi> With some additional modifications p4raw-id: //depot/perl@18067
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-36/+5
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030