summaryrefslogtreecommitdiff
path: root/perl.c
Commit message (Collapse)AuthorAgeFilesLines
* make PERL_SYS_INIT/INIT3/TERM into functionsDave Mitchell2007-09-251-0/+27
| | | p4raw-id: //depot/perl@31970
* Move all the compile time options that affect binary compatibility intoNicholas Clark2007-09-151-81/+1
| | | | | | | a global variable PL_bincompat_options. Because the string will be embedded in any shared perl library, it will allow a comparison check to be added to perlmain.c in the future, to detect library mismatch. p4raw-id: //depot/perl@31873
* Rejig the word wrapping code for the "Compile-time options:" of perl -VNicholas Clark2007-09-151-31/+12
| | | | | | | Replace the rather elegant C code with Perl code that can also sort the options first, as this will allow them to be split into those that affect binary compatibility, and those that do not. p4raw-id: //depot/perl@31872
* Save some C<","> in the embedded program used to generate -V output.Nicholas Clark2007-09-151-6/+6
| | | p4raw-id: //depot/perl@31870
* Deprecate the -P switch.Rafael Garcia-Suarez2007-09-031-0/+1
| | | p4raw-id: //depot/perl@31787
* Revert #31690, because it can make -x eat arguments. Even if theAbhijit Menon-Sen2007-08-081-6/+1
| | | | | | | | | next argument happens to be a directory name, changing this does not seem worthwhile. It's as likely as not to break something. The many -x users clamouring for consistency must go home empty-handed, alas. p4raw-id: //depot/perl@31691
* Make '-xx' and '-x x' work the same way (see #44387).Abhijit Menon-Sen2007-08-081-1/+6
| | | p4raw-id: //depot/perl@31690
* fix up some nested #ifdef indentationDave Mitchell2007-07-191-48/+48
| | | p4raw-id: //depot/perl@31635
* silence 'unused var' compiler warningDave Mitchell2007-07-191-1/+3
| | | p4raw-id: //depot/perl@31634
* Patches to compile perl on Cray XT4 Catamount/Qk, by JarkkoRafael Garcia-Suarez2007-06-171-0/+40
| | | p4raw-id: //depot/perl@31404
* Remove support for assertions and -ARafael Garcia-Suarez2007-06-051-26/+0
| | | p4raw-id: //depot/perl@31333
* move PL_error_count into the PL_parser structDave Mitchell2007-05-211-3/+2
| | | p4raw-id: //depot/perl@31255
* delete thrdvar.h and move its contents to intrpvar.hDave Mitchell2007-05-201-2/+0
| | | p4raw-id: //depot/perl@31245
* move PL_rsfp_filters into the parser structDave Mitchell2007-05-121-6/+6
| | | p4raw-id: //depot/perl@31200
* move PL_rsfp into the PL_parser structDave Mitchell2007-05-111-40/+39
| | | | | and simplify its creation and destruction p4raw-id: //depot/perl@31199
* move PL_lex_state into the PL_parser structDave Mitchell2007-05-051-1/+0
| | | p4raw-id: //depot/perl@31154
* Re: mro status, etcBrandon Black2007-04-301-0/+4
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* eliminate "unused var" warningDave Mitchell2007-04-261-0/+1
| | | p4raw-id: //depot/perl@31083
* move PL_linestr from the interpreter struct to the parser structDave Mitchell2007-04-241-5/+0
| | | p4raw-id: //depot/perl@31058
* eliminate some uses of PL_linestr in perl.cDave Mitchell2007-04-231-10/+13
| | | p4raw-id: //depot/perl@31046
* inline S_init_lexer() and regenDave Mitchell2007-04-231-12/+6
| | | p4raw-id: //depot/perl@31045
* make initialisation of PL_sv_no etc unconditionalDave Mitchell2007-04-231-34/+29
| | | p4raw-id: //depot/perl@31044
* Upgrade to version-0.7203.Rafael Garcia-Suarez2007-04-211-1/+1
| | | | | Plus a change in Module::Build::Version, specific to bleadperl. p4raw-id: //depot/perl@31005
* Re: new C3 MRO patchBrandon Black2007-04-191-0/+1
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980
* Silence the g++ warnings "right-hand operand of comma has no effect"Nicholas Clark2007-04-101-3/+3
| | | p4raw-id: //depot/perl@30900
* MAD do not ignore errors from 'use'Gerard Goossen2007-04-061-4/+0
| | | | | | | Message-ID: <20070329160229.GF20231@ostwald> plus another similar correction p4raw-id: //depot/perl@30851
* Cleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-Nicholas Clark2007-04-021-4/+3
| | | | | | unneeded include of <sys/mman.h>, and make PERL_DEBUG_READONLY_OPS appear in -V output. p4raw-id: //depot/perl@30834
* Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optreeNicholas Clark2007-04-021-0/+11
| | | | | | as read only (or as much of it as it practical). This makes it trivial to detect buggy code that is modifying the optree at runtime. p4raw-id: //depot/perl@30829
* Eliminate the use of PL_curforce outside of toke.cDave Mitchell2007-04-011-4/+0
| | | p4raw-id: //depot/perl@30821
* Add some PERL_MEM* defines to the -V output that were missing.Nicholas Clark2007-03-211-2/+20
| | | | | "Correct" the whitespace on the only inconsistent #ifdef/#endif p4raw-id: //depot/perl@30667
* Upgrade to version.pm 0.71, by John PeacockRafael Garcia-Suarez2007-03-191-1/+1
| | | p4raw-id: //depot/perl@30629
* Use another method to avoid the "possible interpolation" warningRafael Garcia-Suarez2007-03-071-5/+0
| | | | | | | | | for @- and @+ : do this directly from the lexer (patch by Yves Orton.) This way, @- and @+ aren't preloaded anymore. Avoid to require re::Tie::Hash::NamedCapture when the *- or *+ globs are created, this was breaking the build due to miniperl's inability to load it. p4raw-id: //depot/perl@30496
* Avoid to load the *+ and *- globs too early.Rafael Garcia-Suarez2007-03-071-2/+4
| | | | | | | | | | To silence spurious interpolation warnings, merely create the stash entry for them. Ensure that the re::Tie::Hash::NamedCapture module is always loaded when we have created the tied hashes %+ and %-. Revert change #30483, which is now unnecessary. p4raw-link: @30483 on //depot/perl: 73f68b39467596f862aade4f4b46d6061aa98bd3 p4raw-id: //depot/perl@30490
* Add a volatile modifier to avoid possible cloberring by longjmp,Rafael Garcia-Suarez2007-03-031-1/+1
| | | | | as the compiler used by Jerry D. Hedden warns. p4raw-id: //depot/perl@30448
* More efficient to call newSV_type() then SvGROW() instead of newSV()Nicholas Clark2007-02-181-2/+2
| | | | | with a size then sv_upgrade(), as the latter calls sv_upgrade() twice. p4raw-id: //depot/perl@30348
* Add a new API function newSV_type, to replace the idiom:Nicholas Clark2007-02-181-6/+3
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* Integrate:Nicholas Clark2007-02-121-1/+1
| | | | | | | | | | | [ 29832] Avoid a SEGV in DBI's test suite, discovered by Andreas. Probably need to go through and audit to see if there are analagous places that need tweaking. p4raw-link: @29832 on //depot/maint-5.8/perl: 42a5fb548791baca026f93036e91df33f2efb5be p4raw-id: //depot/perl@30240 p4raw-integrated: from //depot/maint-5.8/perl@29832 'merge in' perl.c (@29809..)
* fix 2 environment handling bugsJan Dubois2007-02-061-7/+5
| | | | | Message-ID: <p81gs2pggh04cngqjam0ejite7ksamiprt@4ax.com> p4raw-id: //depot/perl@30147
* Change 23753 wasn't quite a perfect refactoring, as it omitted callingNicholas Clark2007-02-041-1/+6
| | | | | | | PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads. However, this would not have made a difference for any configuration buildable from the blead source alone. p4raw-id: //depot/perl@30119
* Purge all references to 5005 threads variables in the code.Nicholas Clark2007-02-031-1/+0
| | | | | (Retain the aides memoire in makedef.pl) p4raw-id: //depot/perl@30105
* Add av_create_and_push() and av_create_and_unshift_one() to refactorNicholas Clark2007-01-291-25/+10
| | | | | out two repeated idioms. p4raw-id: //depot/perl@30064
* Add in missing dVAR that prevents compilation withNicholas Clark2007-01-181-0/+2
| | | | | -DPERL_GLOBAL_STRUCT_PRIVATE p4raw-id: //depot/perl@29877
* Add get_cvn_flags(), which is like get_cv() but takes a length. ThisNicholas Clark2007-01-151-8/+22
| | | | | allows symbolic code references with embeded NULs to work. p4raw-id: //depot/perl@29830
* extend threads 'veto cleanup' to perl_free and system stuffDave Mitchell2007-01-151-1/+5
| | | p4raw-id: //depot/perl@29827
* Update copyright year in "perl -v" outputSteve Hay2007-01-111-1/+1
| | | p4raw-id: //depot/perl@29762
* Turn taint warnings (-t) into severe warnings, so they'reRafael Garcia-Suarez2007-01-081-10/+0
| | | | | | on by default, without having to play games with the warning bits. Add a test for -t. p4raw-id: //depot/perl@29717
* Fix the interaction of -w and -t when provided on the command-lineRafael Garcia-Suarez2007-01-051-2/+8
| | | | | | and/or on the shebang line : do not reset the warning bits to 'only taint'. p4raw-id: //depot/perl@29698
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29696
* 4th patch from: Marcus Holland-Moritz2007-01-041-9/+10
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* The first three patches from:Marcus Holland-Moritz2007-01-041-3/+3
| | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Adds (void*) casts to %-p and %p printf arguments p4raw-id: //depot/perl@29686