summaryrefslogtreecommitdiff
path: root/pp_hot.c
Commit message (Collapse)AuthorAgeFilesLines
* stringify "\x{FFF}" to utf8 correctly; set SvUTF8 on "\x{XX}"Gurusamy Sarathy2000-02-071-0/+2
| | | | | only when XX > 127 p4raw-id: //depot/perl@5033
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* fix coredump on C<"x" =~ /x/; print @-> (from Ilya Zakharevich)Gurusamy Sarathy2000-02-021-0/+1
| | | p4raw-id: //depot/perl@4957
* runtime now looks at the SVf_UTF8 bit on the SV to decideGurusamy Sarathy2000-01-311-1/+1
| | | | | | | | | whether to use widechar semantics; lexer and RE engine continue to need "use utf8" to enable unicode awareness in literals and patterns (TODO: this needs to be fixed); $1 et al are marked SvUTF8 if the pattern was compiled for utf8 (TODO: propagating it from the data is probably better) p4raw-id: //depot/perl@4930
* add patch for printf-style format typechecks (from Robin BarkerGurusamy Sarathy2000-01-221-1/+1
| | | | | <rmb1@cise.npl.co.uk>); fixes for problems so identified p4raw-id: //depot/perl@4836
* patch to report warnings on bogus filehandles passed to flock(),Gurusamy Sarathy2000-01-211-12/+7
| | | | | | more consistent warnings, from Greg Bacon <gbacon@itsc.uah.edu> (slightly modified) p4raw-id: //depot/perl@4830
* disable optimization in change#3612 for join() and quotemeta()--thisGurusamy Sarathy2000-01-021-0/+6
| | | | | | | | | removes all the gross hacks for the special cases in that change; fix pp_concat() for when TARG == arg (modified version of patch suggested by Ilya Zakharevich) p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4749
* slurp mode fix in change#2910 wasn't quite right (spotted by HansGurusamy Sarathy1999-12-291-5/+4
| | | | | | | Mulder) p4raw-link: @2910 on //depot/perl: fbad3eb55c1f8c84d1dfd0e484ecddeffc891e79 p4raw-id: //depot/perl@4736
* integrate mainline contentsGurusamy Sarathy1999-12-281-2/+2
|\ | | | | p4raw-id: //depot/utfperl@4725
| * partly fix perldiag regressions identified by Tom ChristiansenGurusamy Sarathy1999-12-281-2/+2
| | | | | | p4raw-id: //depot/perl@4709
| * make uninitialized value warnings report opcodeGurusamy Sarathy1999-12-041-2/+2
| | | | | | p4raw-id: //depot/perl@4641
| * minor USE_ITHREADS tweaksGurusamy Sarathy1999-12-011-4/+4
| | | | | | p4raw-id: //depot/perl@4603
| * more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-21/+20
| | | | | | p4raw-id: //depot/perl@4602
| * Integrate with Sarathy.Jarkko Hietaniemi1999-11-111-5/+8
| |\ | | | | | | p4raw-id: //depot/cfgperl@4549
| | * avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-1/+1
| | | | | | | | | p4raw-id: //depot/perl@4546
| | * more cleanups for change#4539Gurusamy Sarathy1999-11-101-0/+3
| | | | | | | | | | | | | | | p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-id: //depot/perl@4544
| | * preliminary support for GVOP indirection via padGurusamy Sarathy1999-11-081-4/+4
| | | | | | | | | p4raw-id: //depot/perl@4539
| * | Integrate with Sarathy.Jarkko Hietaniemi1999-11-041-3/+1
| |\ \ | | |/ | | | p4raw-id: //depot/cfgperl@4513
| | * make nested ARGV/$^I loops work correctly; fixes several bugsGurusamy Sarathy1999-10-311-3/+1
| | | | | | | | | | | | | | | | | | | | | in the way ARGV state was handled in readline(); writing a subroutine to do inplace edits is now possible, provided *ARGV, *ARGVOUT, $^I and $_ are localized where needed p4raw-id: //depot/perl@4502
| * | Incremental Mac integration from Matthias.Jarkko Hietaniemi1999-11-041-3/+1
| | | | | | | | | p4raw-id: //depot/cfgperl@4512
| * | Initial integration of the MacPerl changes form Matthias.Jarkko Hietaniemi1999-11-021-0/+9
| |/ | | | | p4raw-id: //depot/cfgperl@4508
| * usurp GVOP slot for new PADOP (one small step to making optreeGurusamy Sarathy1999-10-291-3/+3
| | | | | | | | | | shareable across interpreters) p4raw-id: //depot/perl@4484
* | integrate mainline changesGurusamy Sarathy1999-12-121-30/+37
| | | | | | p4raw-id: //depot/utfperl@4679
* | Pre-trip resolveNick Ing-Simmons1999-10-171-1/+7
|\ \ | |/ | | p4raw-id: //depot/utfperl@4399
| * assumption about @_ always being non-REAL doesn't hold whenGurusamy Sarathy1999-10-161-1/+7
| | | | | | | | | | | | debugger is running; DB::sub() can call arbitrary stuff that modifies @_ at will p4raw-id: //depot/perl@4395
* | Resolve utfperl branch against mainline as of _62Nick Ing-Simmons1999-10-161-37/+39
|\ \ | |/ | | p4raw-id: //depot/utfperl@4394
| * various cleanupsGurusamy Sarathy1999-10-121-3/+3
| | | | | | p4raw-id: //depot/perl@4350
| * revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-3/+3
| | | | | | | | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
| * POPSUB() gave up the refcount to the CV before LEAVE had a chance toGurusamy Sarathy1999-10-091-6/+18
| | | | | | | | | | | | | | clear entries in the CV's pad, leading to coredumps when CV had no other references to it; this is a slightly edited version of the patch suggested by Russel O'Connor <roconnor@world.std.com> p4raw-id: //depot/perl@4321
| * revert POP{SUB,LOOP}{1,2} logic to the simpler pre-5.003_24Gurusamy Sarathy1999-10-081-14/+10
| | | | | | | | | | | | situation (assumptions about cx invalidation are not valid anymore) p4raw-id: //depot/perl@4320
| * integrate cfgperl contents into mainlineGurusamy Sarathy1999-10-061-8/+2
| |\ | | | | | | p4raw-id: //depot/perl@4303
| | * Untangle the IV_IS_QUAD jungle by introdudingJarkko Hietaniemi1999-10-021-8/+2
| | | | | | | | | | | | | | | | | | macros to be used when doing formatted printing: IVdf, UVuf, UVxf, UVof. Also introduce Uid_t_SIGN. p4raw-id: //depot/cfgperl@4288
| * | make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-9/+9
| |/ | | | | | | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* | Incremental merge of mainlineNick Ing-Simmons1999-10-021-17/+26
|\ \ | |/ | | p4raw-id: //depot/utfperl@4286
| * fix buggy popping of subroutine contexts in the lvalueGurusamy Sarathy1999-09-261-12/+25
| | | | | | | | | | | | | | | | | | subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
| * avoid clearing @_ at all for faster subroutine calls; fix bugsGurusamy Sarathy1999-09-191-5/+1
| | | | | | | | | | | | in passing around references to @_, eg C<sub foo { \@_ }>; add tests for the same p4raw-id: //depot/perl@4195
| * Integrate with Sarathy.Jarkko Hietaniemi1999-09-131-1/+14
| |\ | | | | | | p4raw-id: //depot/cfgperl@4140
| | * add -DPERL_Y2KWARN build option that will generate additionalGurusamy Sarathy1999-09-131-1/+14
| | | | | | | | | | | | | | | | | | warnings on "19$yy" etc (reworked a patch suggested by Ulrich Pfeifer <upf@de.uu.net>) p4raw-id: //depot/perl@4132
| * | Replace change #4100 withRobin Barker1999-09-131-1/+1
| |/ | | | | | | | | | | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* | Re-integrate mainlineNick Ing-Simmons1999-09-181-3/+15
|/ | | | | Basic SvUTF8 stuff in headers, no functional changes yet. p4raw-id: //depot/utfperl@4193
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-09-081-2/+2
|\ | | | | p4raw-id: //depot/perl@4106
| * Fix pointer casts.Robin Barker1999-09-071-2/+2
| | | | | | | | | | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
* | fix memory leak in C<sub f { @_ = 1 } f() while 1>Gurusamy Sarathy1999-09-081-0/+1
|/ | | p4raw-id: //depot/perl@4102
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-4/+140
| | | | | | version of patch suggested by Ilya Zakharevich, which in turn is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>) p4raw-id: //depot/perl@4081
* Unapply an experimental patch that accidentally escapedJarkko Hietaniemi1999-08-111-1/+0
| | | | | | | from the lab by piggybacking with the change #3955. p4raw-link: @3955 on //depot/cfgperl: d28f7c377ae191ca53d9157f124642cf323614a0 p4raw-id: //depot/cfgperl@3957
* Patches needed to get _60 building withDan Sugalski1999-08-101-0/+1
| | | | | | | | To: vmsperl@perl.org, perl5-porters@perl.org, sarathy@activestate.com, bailey@newman.upenn.edu threads on VMS Message-ID: <Pine.LNX.4.10.9908101631030.18266-100000@tuatha.sidhe.org> p4raw-id: //depot/cfgperl@3955
* Gratuitous uid and gid casts to I32s and ints removed.Jarkko Hietaniemi1999-08-101-4/+4
| | | | | | There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
* Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so thatJarkko Hietaniemi1999-08-021-1/+2
| | | | | | emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
* 64-bit work. Now 32-bit platforms get a 100% make testJarkko Hietaniemi1999-08-011-2/+7
| | | | | | | | | | | | | | | with -Duse64bits (using long long). Tested in Solaris 2.6 sparc RH Linux 6.0 x86 (and Digital IX 4.0D, to get a true 64-bit opinion). Now e.g. 'print unpack "q", pack "q", 12345678901' should work on such 32-bit platforms. Still a lot of printf()s behind -D which wrongly assume that %ld/%lx and (long) are a good combination. Introducing a slew of new macros intended to be used in printf() format strings: e. g. PERL_PRId64 is the string to be used when printing an IV, printf("%" PERL_PRId64 "\n", iv). The PRI... naming follows the C9X naming of <inttypes.h> macros. p4raw-id: //depot/cfgperl@3861
* typo in change#3768Gurusamy Sarathy1999-07-261-1/+1
| | | | | p4raw-link: @3768 on //depot/perl: f5d5a27c761624409884a263632e1a922439502b p4raw-id: //depot/perl@3772