summaryrefslogtreecommitdiff
path: root/doop.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-15/+15
| | | | | | | | | | | | malformation happens. This involved adding an argument to utf8_to_uv_chk(), which involved changing its prototype, and prefer STRLEN over I32 for the UTF-8 length, which as a domino effect necessitated changing the prototypes of scan_bin(), scan_oct(), scan_hex(), and reg_uni(). The stricter UTF-8 decoding checking uses Markus Kuhn's UTF-8 Decode Stress Tester from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt p4raw-id: //depot/perl@7416
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-27/+27
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-10/+10
| | | p4raw-id: //depot/perl@7075
* Re-allow vec() for characters > 255.Spider Boardman2000-09-081-16/+11
| | | | | | Subject: [PATCH] Re: [ID 20000907.005] Not OK: perl v5.7.0 +devel-7030 on alpha-dec_osf-perlio 4.0f (UNINSTALLED) Message-Id: <200009080621.CAA03409@leggy.zk3.dec.com> p4raw-id: //depot/perl@7039
* Fix vec() / utf8 (was Re: bitvec ops still broken with utf8 -- or not?)Mike Guy2000-09-011-2/+23
| | | | | Message-Id: <E13Utuf-0004Bw-00@draco.cus.cam.ac.uk> p4raw-id: //depot/perl@6988
* Re: [ID 20000821.008] Negitive numbers with vec dumps coreMike Guy2000-08-231-0/+2
| | | | | Message-Id: <E13ReUA-0000vC-00@virgo.cus.cam.ac.uk> p4raw-id: //depot/perl@6790
* Re: [ID 20000807.008] Double reads considered evil? (deja vu)Mike Guy2000-08-081-1/+1
| | | | | Message-Id: <E13MAj1-00038W-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6552
* tr memory corruption fix from Simon Cozens.Jarkko Hietaniemi2000-08-071-1/+1
| | | p4raw-id: //depot/perl@6535
* The tr utf8 patching continues.Simon Cozens2000-08-021-0/+2
| | | | | | | | Subject: Re: #6469, too many tests claimed in require.t Message-ID: <slrn8of2at.81o.simon@justanother.perlhacker.org> (the logic of the test was the wrong way round in the patch) p4raw-id: //depot/perl@6491
* Fix the HALF_UPGRADE() macro introduced in #6263.Jarkko Hietaniemi2000-07-301-10/+10
| | | p4raw-id: //depot/perl@6467
* Fix the bitvector ops for utf8 (tricky since past 7 bitsJarkko Hietaniemi2000-07-151-11/+17
| | | | | | | | | | | | | | | | | the utf8 'characters' can be more than one octet). Date: Sat, 15 Jul 2000 00:21:56 +0100 From: Tom Hughes <tom@compton.nu> Subject: Re: [ID 20000714.002] Message-ID: <db2334de49.tom@compton.compton.nu> Reported in Subject: [ID 20000714.002] From: "Simon Cozens" <simon@othersideofthe.earth.li> Date: 14 Jul 2000 15:13:09 -0000 Message-Id: <20000714151309.7170.qmail@othersideofthe.earth.li> p4raw-id: //depot/perl@6415
* typos in change#6399, regen headersGurusamy Sarathy2000-07-141-2/+2
| | | | | p4raw-link: @6399 on //depot/perl: 01ec43d06089361423d61a40521883bf73e1944a p4raw-id: //depot/perl@6402
* enable UTF-16 filter by default if relevant BOM is seen; variousGurusamy Sarathy2000-07-141-55/+56
| | | | | cleanups (typos, misformatted code, and small bugs) p4raw-id: //depot/perl@6399
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* integrate cfgperl changes#6268..6282 into mainlineGurusamy Sarathy2000-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6282 on //depot/cfgperl: d4817f5b97d4072a6efac47844b617245b179f2c p4raw-link: @6268 on //depot/cfgperl: 22e04bdb3a09a4c369fd1666143349eab2eba9d4 p4raw-id: //depot/perl@6366 p4raw-integrated: from //depot/cfgperl@6365 'copy in' lib/Net/Ping.pm lib/Text/Wrap.pm t/lib/dprof.t t/lib/dumper-ovl.t t/lib/hostname.t (@5586..) lib/Pod/Html.pm (@5608..) t/lib/ipc_sysv.t (@5812..) t/lib/dumper.t (@5972..) ext/File/Glob/Glob.pm (@6026..) lib/Pod/Man.pm lib/Pod/Text.pm (@6034..) t/lib/anydbm.t (@6072..) lib/ExtUtils/xsubpp (@6156..) pod/perlsub.pod pod/perltie.pod (@6206..) utils/h2xs.PL (@6280..) p4raw-integrated: from //depot/cfgperl@6282 'merge in' vms/vms.c (@6238..) p4raw-integrated: from //depot/cfgperl@6277 'copy in' pod/perlfunc.pod (@6276..) p4raw-integrated: from //depot/cfgperl@6273 'ignore' perlapi.h (@6243..) embedvar.h (@6254..) 'merge in' perlapi.c (@6243..) embed.h (@6254..) embed.pl objXSUB.h op.c proto.h (@6269..) p4raw-integrated: from //depot/cfgperl@6270 'copy in' t/op/taint.t (@5857..) p4raw-integrated: from //depot/cfgperl@6269 'copy in' doop.c (@6263..) 'ignore' toke.c (@6261..) p4raw-integrated: from //depot/cfgperl@6268 'copy in' t/op/sprintf.t (@6267..)
* integrate cfgperl changes#6261..6266 into mainlineGurusamy Sarathy2000-07-111-106/+72
| | | | | | | | | | | | | | | | p4raw-link: @6266 on //depot/cfgperl: a009ce76c9b4ddbde44a58eab3fe27d331cf27fe p4raw-link: @6261 on //depot/cfgperl: 27d76ecff97d0a9449f569d789504cc8b69a6d01 p4raw-id: //depot/perl@6363 p4raw-integrated: from //depot/cfgperl@6362 'copy in' README.epoc epoc/createpkg.pl epoc/epocish.c (@5586..) epoc/epocish.h t/comp/require.t (@5639..) cygwin/Makefile.SHs (@6096..) ext/POSIX/POSIX.pm (@6140..) hints/bsdos.sh (@6156..) epoc/config.sh (@6168..) ext/POSIX/POSIX.xs (@6198..) p4raw-integrated: from //depot/cfgperl@6265 'copy in' ext/POSIX/POSIX.pod (@5586..) p4raw-integrated: from //depot/cfgperl@6263 'copy in' doop.c (@6256..) p4raw-integrated: from //depot/cfgperl@6261 'merge in' pod/perldiag.pod (@6206..) toke.c (@6250..)
* integrate cfgperl changes#6252..6260 into mainlineGurusamy Sarathy2000-07-111-47/+112
| | | | | | | | | | | | | | | | | | | | | p4raw-link: @6260 on //depot/cfgperl: fc865a0069737312ca5ef9762fe8a9be7aa37747 p4raw-link: @6252 on //depot/cfgperl: 0e4dedf1581344244dfa297db1d00c01c5f821aa p4raw-id: //depot/perl@6362 p4raw-integrated: from //depot/cfgperl@6361 'copy in' t/pragma/constant.t (@5717..) t/op/pack.t t/pragma/warn/op (@5996..) pp_proto.h (@6243..) t/op/my_stash.t (@6250..) lib/IPC/Open3.pm (@6253..) 'ignore' t/pragma/warn/regcomp (@6241..) lib/Exporter.pm (@6251..) p4raw-integrated: from //depot/cfgperl@6260 'copy in' pp.c (@6217..) pod/perlfunc.pod (@6248..) p4raw-integrated: from //depot/cfgperl@6259 'copy in' MANIFEST (@6250..) p4raw-integrated: from //depot/cfgperl@6257 'copy in' op.c (@6228..) 'merge in' sv.c (@6244..) p4raw-integrated: from //depot/cfgperl@6256 'copy in' doop.c (@6254..) p4raw-integrated: from //depot/cfgperl@6254 'copy in' t/op/tr.t (@6192..) 'ignore' embedvar.h objXSUB.h (@6243..) 'merge in' embed.h (@6243..) embed.pl proto.h (@6250..)
* integrate cfgperl changes#6220..6222 into mainlineGurusamy Sarathy2000-07-111-203/+9
| | | | | | | | | | | | p4raw-link: @6222 on //depot/cfgperl: cb6e01d9fd93f1025bb60ed9c000931b2c8542a3 p4raw-link: @6220 on //depot/cfgperl: 94414bfbc497e71da32f6edca513d34725e3cae6 p4raw-id: //depot/perl@6350 p4raw-integrated: from //depot/cfgperl@6349 'copy in' lib/Pod/Usage.pm (@5717..) win32/win32.h (@6026..) pod/perlop.pod (@6206..) p4raw-integrated: from //depot/cfgperl@6221 'copy in' utf8.c (@6174..) doop.c (@6193..) toke.c (@6196..) 'merge in' embed.pl (@6217..) p4raw-integrated: from //depot/cfgperl@6220 'merge in' makedef.pl (@6156..)
* Signals-be-gone for microperl.Jarkko Hietaniemi2000-06-011-0/+2
| | | p4raw-id: //depot/cfgperl@6193
* Integrate with Sarathy.Jarkko Hietaniemi2000-06-011-1/+5
|\ | | | | p4raw-id: //depot/cfgperl@6192
| * vec() loses numericalness (modified version of patch suggestedGurusamy Sarathy2000-06-011-0/+3
| | | | | | | | | | by Robin Barker) p4raw-id: //depot/perl@6191
| * counting tr/// corrupts later operation (from M.J.T Guy)Gurusamy Sarathy2000-06-011-1/+2
| | | | | | p4raw-id: //depot/perl@6189
| * Larry's fix for buggy propagation of utf8-ness in join(); add testGurusamy Sarathy2000-04-241-6/+3
| | | | | | p4raw-id: //depot/perl@5920
* | microperl changes from Simon Cozens; Makefile for microperlJarkko Hietaniemi2000-05-311-1/+1
| | | | | | | | | | | | written from scratch; few casts added as microperl compilation doesn't have all prototypes available. p4raw-id: //depot/cfgperl@6174
* | Integrate with Sarathy.Jarkko Hietaniemi2000-04-241-6/+3
|/ | | p4raw-id: //depot/cfgperl@5937
* insufficient buffer in change#5317Gurusamy Sarathy2000-03-121-0/+3
| | | | | p4raw-link: @5317 on //depot/perl: 0c57e439868bda58b2cbd4708d7a8b4dcf15b989 p4raw-id: //depot/perl@5670
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-3/+3
| | | p4raw-id: //depot/perl@5540
* make stringwise bitops work properly on utf8 stringsGurusamy Sarathy2000-02-281-0/+68
| | | p4raw-id: //depot/perl@5317
* More UTF8_MAXLEN fixesGisle Aas2000-02-241-1/+1
| | | | | | To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
* byte mode chop() should clear UTF8 (from Gisle Aas)Gurusamy Sarathy2000-02-201-0/+1
| | | p4raw-id: //depot/perl@5166
* 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
* runtime now looks at the SVf_UTF8 bit on the SV to decideGurusamy Sarathy2000-01-311-4/+4
| | | | | | | | | 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
* Continue qgcvt work; closer now but not yet there.Jarkko Hietaniemi2000-01-161-4/+4
| | | p4raw-id: //depot/cfgperl@4806
* Remove quad logic from perl.h; regen Configure;Jarkko Hietaniemi1999-10-291-3/+3
| | | | | add -DUSE_LONG_LONG to ccflags if not already there. p4raw-id: //depot/cfgperl@4487
* Add a missing #endif forgotten by #4035.Jarkko Hietaniemi1999-08-291-0/+1
| | | p4raw-id: //depot/cfgperl@4040
* Implement 64-bit vec().Jarkko Hietaniemi1999-08-291-7/+91
| | | p4raw-id: //depot/cfgperl@4035
* Tighten the vec() code so that naughty BITS cause an error.Jarkko Hietaniemi1999-08-191-5/+5
| | | p4raw-id: //depot/cfgperl@4006
* Removed duplicated code (in pp.c and mg.c) by introducingJarkko Hietaniemi1999-08-191-5/+71
| | | | | | | | | | | | do_vecget(). NOTE: the calling convention of do_vecset() changes, too: the `offset' that is assigned to LvTARGOFF(TARG) in pp_vec() is no more multiplied by `size' in pp_vec(), the multiplication is now done in do_vecset(). Also fix a cpp thinko in change #4002. p4raw-link: @4002 on //depot/cfgperl: 24db6c0d56fddf85ee587fc1cb1dbce678fa6a8c p4raw-id: //depot/cfgperl@4004
* fix vec() on magic valuesIan Phillipps1999-07-171-0/+1
| | | | | | Message-ID: <19990712123005.A11355@homer.diplex.co.uk> Subject: [PATCH 5.005_57] Re: do_vecset is broken. Re: [ID 19990703.003]. p4raw-id: //depot/perl@3680
* lexical warnings update (warning.t fails one testPaul Marquess1999-07-071-2/+2
| | | | | | | due to leaked scalar, investigation pending) Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB29C6C8E@mbtlipnt02.btlabs.bt.co.uk> Subject: [PATCH 5.005_57] Lexical Warnings - mandatory warning are now default warnings p4raw-id: //depot/perl@3640
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-20/+20
| | | | | | | | | | | | | | | | | | | | | 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-31/+19
| | | | | | | | | | | | 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-10/+10
| | | p4raw-id: //depot/perl@3518
* various little nitsGurusamy Sarathy1999-05-201-1/+1
| | | p4raw-id: //depot/perl@3436
* typo in change#3397Gurusamy Sarathy1999-05-121-2/+2
| | | | | p4raw-link: @3397 on //depot/perl: aa854799af20b80973df4e295167b2fda1fc7a9c p4raw-id: //depot/perl@3404
* chop/chomp modify readonly valuesJan Dubois1999-05-121-2/+6
| | | | | Message-ID: <3741b5e8.20386944@smtp1.ibm.net> p4raw-id: //depot/perl@3397
* From: Dan Sugalski <sugalskd@osshe.edu>Gurusamy Sarathy1999-05-071-0/+2
| | | | | | | | | | | | Date: Mon, 05 Apr 1999 15:38:42 -0700 Message-Id: <3.0.6.32.19990405153842.0367b650@ous.edu> Subject: Re: chomp fails with $/ in fixed-length record mode -- From: Roderick Schertler <roderick@argon.org> Date: Tue, 06 Apr 1999 21:11:37 -0400 Message-ID: <2795.923447497@eeyore.ibcinc.com> Subject: Re: chomp fails with $/ in fixed-length record mode p4raw-id: //depot/perl@3319
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-1/+2
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387
* s/sv_upgrade/SvUPGRADE/ a couple of placesGurusamy Sarathy1998-11-041-2/+1
| | | p4raw-id: //depot/perl@2187