summaryrefslogtreecommitdiff
path: root/perlio.h
Commit message (Collapse)AuthorAgeFilesLines
* Integrate:Jarkko Hietaniemi2003-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 18784] An already fixed bug from perl-unicode. [ 18785] Subject: Re: [PATCH] Re: format, PerlIO and utf8 From: Inaba Hiroto <inaba@st.rim.or.jp> Date: Mon, 10 Feb 2003 00:04:51 +0900 Message-ID: <3E466E12.E5349D84@st.rim.or.jp> [ 18794] Further Unicode formats patching from Inaba Hiroto. [ 18797] Patch for [perl #9402], known also as "glibc _moddi3 bug with negative quads", or also as RedHat bug #65612. [ 18798] Go with "right = -right" for greater portability, some platforms might require llabs() to get abs() of long longs. [ 18799] The -CI cannot be easily tested under UTF-8 locale with the t/test.pl (the 'stdin' data gets doubly UTF-8-ied). Also other small tweaks in the -C neighbourhood. [ 18801] Update all copyrights to 2003, from Jarkko [ 18802] Narrow down the -C test skippage. [ 18803] Subject: RE: [perl #20613] Perl_magic_setsig/clearsig problems (patch included) From: "Anders Johnson" <ajohnson@wischip.com> Date: Mon, 10 Feb 2003 14:09:46 -0800 Message-ID: <000e01c2d151$2228ca90$9800a8c0@wis.com> p4raw-link: @18803 on //depot/perl: 2d4fcd5e8be8d83efa948a259c49b56fc6c27ee5 p4raw-link: @18802 on //depot/perl: 81ff9b36babbaa3576696f80427c25a4b7bfa9dd p4raw-link: @18801 on //depot/perl: 4c79ee7a1e7564ef83d0ac25d6677fdebb3ec7aa p4raw-link: @18799 on //depot/perl: 06e66572fd5541df0d1349cac2b404c3b9e446ee p4raw-link: @18798 on //depot/perl: 97edce3fcdc8a02187aed95f7b6f4a46eb120a6e p4raw-link: @18797 on //depot/perl: 224ec32361cf57b93c61b661abceec9635d9d527 p4raw-link: @18794 on //depot/perl: 78da4d13e9515c4d820a5423a160a2c81889d633 p4raw-link: @18785 on //depot/perl: 1bd51a4ce2ce8ac9d8d3503b73fce0e0fc8f8426 p4raw-link: @18784 on //depot/perl: 351208f1b69ff774788ddf0fb62571002594640e p4raw-id: //depot/maint-5.8/perl@18804 p4raw-branched: from //depot/perl@18791 'branch in' t/uni/write.t p4raw-integrated: from //depot/perl@18791 'copy in' EXTERN.h INTERN.h form.h run.c x2p/EXTERN.h x2p/INTERN.h x2p/a2p.c x2p/a2p.y x2p/hash.h x2p/proto.h x2p/str.h x2p/util.c x2p/util.h (@14391..) cc_runtime.h fakethr.h unixish.h (@14400..) globals.c (@14802..) README (@14841..) regcomp.h (@15356..) utf8.h (@15762..) x2p/hash.c x2p/walk.c (@16076..) gv.h (@16325..) perlsdio.h (@16368..) hv.h (@16656..) utfebcdic.h (@16888..) x2p/a2p.h (@17033..) perlsfio.h (@17242..) av.h (@17727..) x2p/str.c (@17759..) numeric.c (@17874..) handy.h (@17920..) mg.h (@17947..) perlapi.c (@18113..) taint.c (@18261..) pad.h (@18311..) scope.h (@18312..) util.h (@18321..) t/op/magic.t (@18371..) reentr.c reentr.h reentr.pl (@18498..) fakesdio.h nostdio.h (@18524..) perlio.h (@18556..) XSUB.h (@18636..) locale.c (@18731..) t/op/pat.t (@18782..) t/run/switchC.t (@18799..) 'edit in' pp_ctl.c (@18794..) pp.c (@18798..) perl.c perl.h util.c (@18799..) mg.c (@18801..) 'merge in' keywords.h (@17682..) doop.c (@17984..) deb.c dosish.h miniperlmain.c pp.h (@18030..) keywords.pl (@18160..) thread.h (@18229..) perlvars.h (@18239..) perly.y (@18336..) scope.c (@18410..) opnames.h (@18413..) pp_sort.c (@18456..) hv.c (@18463..) av.c (@18554..) op.h (@18589..) pad.c (@18601..) cop.h (@18643..) doio.c (@18676..) universal.c (@18697..) gv.c (@18715..) regcomp.c regexp.h thrdvar.h (@18726..) cv.h dump.c xsutils.c (@18727..) embed.pl (@18734..) patchlevel.h (@18749..) opcode.h opcode.pl pp_pack.c (@18751..) utf8.c (@18760..) sv.h (@18764..) embedvar.h pp_sys.c (@18766..) pp_hot.c (@18774..) op.c (@18777..) MANIFEST (@18779..) perlapi.h (@18781..) proto.h regexec.c sv.c (@18782..) embed.h (@18795..) global.sym (@18796..) p4raw-integrated: from //depot/perl@18785 'edit in' toke.c (@18753..)
* Integrate:Jarkko Hietaniemi2003-01-221-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 18545] Subject: [PATCH perl-current] AUTHORS correction From: Richard Soderberg <rs@crystalflame.net> Date: Wed, 22 Jan 2003 02:08:13 -0500 Message-Id: <45B4D3AE-2DD8-11D7-8CF9-000393801F84@crystalflame.net> [ 18552] Subject: [PATCH] assert PV isn't RV From: Nicholas Clark <nick@unfortu.net> Date: Fri, 17 Jan 2003 19:40:45 +0000 Message-ID: <20030117194044.GB297@Bagpuss.unfortu.net> [ 18553] Subject: Term::Complete problem + fix (Was: Re: muttprofile + perl 5.8) From: Martti Rahkila <martti.rahkila@hut.fi> Date: Sat, 18 Jan 2003 00:25:39 +0200 Message-ID: <20030118002539.A30585@wurlitzer.hut.fi> (chose the 'even safer' version) [ 18554] Subject: [PATCH av.c] Re: [perl #15439] unreferenced scalar due to double DESTROY From: Dave Mitchell <davem@fdgroup.com> Date: Sun, 19 Jan 2003 16:43:54 +0000 Message-ID: <20030119164353.B24444@fdgroup.com> [ 18556] Subject: [PATCH perlio.h] (was RE: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined)) From: Robin Barker <Robin.Barker@npl.co.uk> Date: Mon, 20 Jan 2003 15:26:21 -0000 Message-ID: <533D273D4014D411AB1D00062938C4D904046299@hotel.npl.co.uk> [ 18558] Subject: Re: slight tweak to -DR flag - display whether on tmps stack From: Dave Mitchell <davem@fdgroup.com> Date: Sun, 19 Jan 2003 17:22:05 +0000 Message-ID: <20030119172204.D24444@fdgroup.com> [ 18559] Upgrade to Encode 1.86. p4raw-link: @18559 on //depot/perl: fa6f41cfedcd9c19e472d10292b6d4367aa3b9b0 p4raw-link: @18558 on //depot/perl: a3b4c9c6ae3d40704ff6ce94d7772e2cbe38eff6 p4raw-link: @18556 on //depot/perl: 1e56004eea7f1084f781747a68eb85600bd4218f p4raw-link: @18554 on //depot/perl: 6b42d12b8135b62734b087ee4b02cf28d259a483 p4raw-link: @18553 on //depot/perl: e05a8f29fa78aef20a9869bf742d9b3217cda019 p4raw-link: @18552 on //depot/perl: 906ed6d684efe07b1689c9b36fd4e093243a24dc p4raw-link: @18545 on //depot/perl: bead796dc4d5a86b0e596704c7487333567211a6 p4raw-id: //depot/maint-5.8/perl@18567 p4raw-integrated: from //depot/perl@18566 'copy in' t/op/array.t (@9620..) perlio.h (@17259..) AUTHORS (@17938..) lib/Term/Complete.pm (@18343..) ext/Encode/Changes ext/Encode/Encode.pm (@18478..) ext/Encode/Unicode/Unicode.xs (@18483..) ext/Encode/encoding.pm ext/Encode/t/enc_eucjp.t ext/Encode/t/enc_utf8.t (@18496..) ext/Encode/MANIFEST (@18519..) 'merge in' av.c (@17920..) sv.h (@18496..) dump.c (@18530..)
* Last minute tinkering with PerlIO abstraction API.Nick Ing-Simmons2002-06-161-2/+2
| | | | | | | | - PerlIO_importFILE and PerlIO_exportFILE now documented as taking const char *mode. - Other 'flags' field changed to U32 - Discouraging words written about ":raw". p4raw-id: //depot/perlio@17258
* Several of non-default builds now seem to work reasonably wellNick Ing-Simmons2002-05-031-1/+1
| | | | | | | | | | English.t seems to fail on an errno test, and socketpair blathers about something. Basic fix is to stop PERL_IMPLICIT_SYS turning on USE_PERLIO by the back door, and instead have perlsdio.h vector stdio via iperlsys.h function tables (latter was done in earlier change). Update comments in Makefile.mk p4raw-id: //depot/perlio@16367
* Integrate mainlineNick Ing-Simmons2002-01-251-0/+9
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Inverted sense of special-ness of specialCopIO - supposed to Nick Ing-Simmons2002-01-141-1/+1
| | | | | be true if value is "special" i.e. NOT an SV. p4raw-id: //depot/perlio@14257
* Win32 and makedef.pl fall-out of PerlIO/pTHX stuffNick Ing-Simmons2001-12-221-9/+0
| | | p4raw-id: //depot/perlio@13854
* Allow dup'ing of PerlIO::Scalar etc.Nick Ing-Simmons2001-11-181-1/+4
| | | p4raw-id: //depot/perlio@13072
* Forgot from #12756.Jarkko Hietaniemi2001-10-291-0/+5
| | | p4raw-id: //depot/perl@12757
* Convert rest of PerlIO's memory tables to per-interp and add clone functionsNick Ing-Simmons2001-10-211-5/+6
| | | | | | | | for them. Call explicit cleanup during destruct process. - one binmode test is failing - also ext/threads/t/basic.t fails under make test, and is noisy under harness. (Threads results are intermingled and don't match order expected.) p4raw-id: //depot/perlio@12547
* PerlIO layer table as PL_perlio (per-interpreter)Nick Ing-Simmons2001-10-211-0/+1
| | | p4raw-id: //depot/perlio@12544
* Extract doio.c's open(2) mode to string conversion as PerlIO_intmod2str()Nick Ing-Simmons2001-10-201-0/+2
| | | | | Use for non-PERLIO fdupopen(). p4raw-id: //depot/perlio@12532
* Skeleton of "PerlIO_dup" coded.Nick Ing-Simmons2001-10-161-1/+1
| | | | | Still-passes all tests non-threaded (well it would wouldn't it!) p4raw-id: //depot/perlio@12451
* Reindent the PerlIO files (suggested by NI-S), usedJarkko Hietaniemi2001-09-171-74/+77
| | | | | | | | | indent -kr -nce -psl -sc -TSV -TAV -THV -TGV -TIV -TUV -TNV -TMAGIC -TFILE -TPerlIO -TPerlIO_list_t -TPerlIO_funcs -TPerlIO_pair_t (GNU indent). Note that wholesale re-indenting might be nice, but that would break nice formatting/alignment of assignments, equality testing, and complex boolean expressions with lots of &s and |s. p4raw-id: //depot/perl@12052
* POSIX-BC tweaks from Thomas Dorner.Jarkko Hietaniemi2001-07-051-0/+5
| | | p4raw-id: //depot/perl@11160
* NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.Jarkko Hietaniemi2001-06-161-0/+2
| | | p4raw-id: //depot/perl@10643
* Avoid AV and HV in perlio.c by inventing PerlIO_list_t which is AV-ishNick Ing-Simmons2001-06-131-1/+1
| | | | | and using that instead (name lookups are sequential search for now). p4raw-id: //depot/perlio@10564
* PerlIO for VMSCraig A. Berry2001-05-261-0/+6
| | | | | Message-Id: <a05100e0ab734816701a5@[172.16.52.1]> p4raw-id: //depot/perl@10218
* Allow someone to write PerlIO::Array, PerlIO::Code, ...Nick Ing-Simmons2001-03-291-1/+1
| | | | | akin to PerlIO::Scalar. p4raw-id: //depot/perlio@9431
* Add destruct time hook to PerlIO (for work-in-process implementingNick Ing-Simmons2001-03-251-0/+2
| | | | | | | layers in perl code. In such cases layers need to be popped before we loose the ability to run perl code.) Also back-out "PerlIO::object" hook - it isn't going to work like that... p4raw-id: //depot/perlio@9346
* Perlio internals re-organized.Nick Ing-Simmons2001-03-231-1/+1
| | | | | | | | | | | | - open process creates AV of layer/arg pairs (appends layers from open() or open.pm to default list). - push arg is now an SV. - layer ->Open get passed the AV - open is no longer mandatory method. - topmost layer that has ->Open method does the open - any layers above are pushed once that returns. - vtable re-ordered so dummy layers need only provide push/pop methods. p4raw-id: //depot/perlio@9314
* Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.Nick Ing-Simmons2001-03-231-4/+4
| | | p4raw-id: //depot/perlio@9305
* Avoid "reopen" semantics for time being. Fix bug in dup logic.Nick Ing-Simmons2001-03-231-1/+1
| | | | | | -Uuseperlio now works again. -Duseperlio is still poorly. Don't merge yet... p4raw-id: //depot/perlio@9303
* Snapshot of new PerlIO open scheme. Still buggy - mainly in ↵Nick Ing-Simmons2001-03-221-0/+3
| | | | | | | | | | | | | | | open($fh,">&STDOUT!") type code. - Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which is its main caller. In particular now has access to "extra" args, and can tell when an open handle is "reopened" (or duped?). - In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn(). - In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on PerlIO_open() et. al. (i.e. other way round). - Collapse "vtable" entries for layers - was fdopen/open/reopen now just open with args close to PerlIO_openn(). p4raw-id: //depot/perlio@9302
* FILE * in XS code for PerlIO world:Nick Ing-Simmons2001-01-061-0/+4
| | | | | | | - make PERLIO_NOT_STDIO 0 (co-existance) default for non PERL_CORE case. - Add FILE * T_STDIO typemap. - Finish PerlIO_findFILE() and PerlIO_extprtFILE() p4raw-id: //depot/perlio@8356
* [patch] PerlIO_cleanup() prototypeDoug MacEachern2001-01-061-1/+1
| | | | | Message-ID: <Pine.LNX.4.10.10101051813220.340-100000@mojo.covalent.net> p4raw-id: //depot/perl@8344
* finding PerlIO symbols for VMSCraig A. Berry2000-12-191-1/+5
| | | | | Message-Id: <p04330102b661bc01daba@[172.16.52.1]> p4raw-id: //depot/perl@8190
* Not merge worthy...Nick Ing-Simmons2000-12-101-1/+1
| | | | | | | | Allow arg to layers e.g. open($fh,"<:encode(iso8859-15)",$name) syntax is modelled on attributes. Untested fix for io/utf8 on Win32 etc. Very clumsy start to the encode layer. p4raw-id: //depot/perlio@8076
* Change PerlIO_(get|set)pos to take SV *Nick Ing-Simmons2000-12-071-2/+2
| | | | | Should fix, OS/2, VMS, (sfio??) p4raw-id: //depot/perlio@8025
* PERL_IMPLICIT_SYS (almost) works - something odd with "signal"Nick Ing-Simmons2000-12-041-3/+5
| | | p4raw-id: //depot/perlio@7983
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-0/+6
| | | p4raw-id: //depot/perlio@7970
* Undo the SOCKS workarounds, instead start using PerlIOJens Hamisch2000-11-251-1/+2
| | | | | | | | | | | | | | if SOCKS is selected. Subject: perl@7847, [ID 20001030.005], close-patch, perlio - The big cleanup Date: Fri, 24 Nov 2000 18:31:30 +0100 Message-ID: <20001124183130.E28337@Strawberry.COM> Subject: Re: perl@7847, [ID 20001030.005], close-patch, perlio - Patch the patch ... From: Jens Hamisch <jens@Strawberry.COM> Date: Fri, 24 Nov 2000 19:11:51 +0100 Message-ID: <20001124191151.A28753@Strawberry.COM> p4raw-id: //depot/perl@7855
* Implement PerlIO_binmode()Nick Ing-Simmons2000-11-231-1/+4
| | | | | | | | Fix PerlIOCrlf_unread() (*--ptr rather than *ptr-- ...) Test on UNIX with PERLIO="perlio crlf" to mimic Win32, make binmode in t/lib/io_tell.t unconditional so that works. Checkin just so Win32 machine can see these changes. p4raw-id: //depot/perlio@7842
* Integrate perlio:Jarkko Hietaniemi2000-11-211-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 7796] Win32 builds and runs (mostly) with USE_PERLIO. PERLIO=perlio passes all tests. PERLIO=stdio (sadly the default) hangs in t.pragma/warnings.t #319 [ 7790] If we use (aTHX_ ...) then put Perl_ on the front. (Or drop the aTHX_). [ 7788] Make extra buffer layer work (dummy crlf layer) p4raw-link: @7796 on //depot/perlio: 83b075c35b61a28ca7e2629bb5d6e26f9e0354fe p4raw-link: @7790 on //depot/perlio: efeab7a8047d7136a0235c1cc7329f57d6a8bfdd p4raw-link: @7788 on //depot/perlio: 88b61e10dfef3b0642d1458a9fff93e5000f86b0 p4raw-id: //depot/perl@7797
| * Make extra buffer layer work (dummy crlf layer)Nick Ing-Simmons2000-11-201-0/+2
| | | | | | p4raw-id: //depot/perlio@7788
* | PerlIO_apply_layers prototype (was Re: [PATCH: perl@7777] add system locale ↵Craig A. Berry2000-11-211-1/+1
|/ | | | | | | | | testing for VMS) Message-Id: <p04330101b63f8baf25a2@[172.16.52.1]> A cut-and-pasto. p4raw-id: //depot/perl@7794
* Lexical use open ... support:Nick Ing-Simmons2000-11-181-1/+6
| | | | | | | | | | | | add ->cop_io to COP structure in cop.h. Make mg.c and gv.c associate it with ${^OPEN}. Make lib/open.pm set it. Have sv.c, perl.c, pp_ctl.c, op.c manipulate it in a manner manner similar to ->cop_warnings. Have doio.c's do_open9 and pp_sys.c's pp_backticks use it as default and call new PerlIO_apply_layers(). Declare latter in perlio.h and define in perlio.c p4raw-id: //depot/perlio@7740
* Minor tweaks:Nick Ing-Simmons2000-11-161-0/+2
| | | | | | | | consistent way of getting 'rb', 'wb' etc. for binary opens move *perlio::layers to *open::layers a #define to show layers available DOSISH popen/PerlIO had export/import sense inverted. p4raw-id: //depot/perlio@7711
* PerlIO #include and #ifdef re-work.Nick Ing-Simmons2000-11-141-1/+308
| | | p4raw-id: //depot/perlio@7684
* add a perlio.h stub for compat (some extensions seem to #include it)Gurusamy Sarathy1998-06-281-0/+1
| | | p4raw-id: //depot/perl@1231
* applied patch, along with many changes:Douglas Lankshear1998-06-211-251/+0
| | | | | | | | | | | - ipfoo.h headers have been coalesced along with perlfoo.h into iperlsys.h - win32/cp*.h have been combined in perlhost.h - CPerlObj::PerlParse() takes an extra xsinit arg - tweaks to get dl_win32.xs compiling again w/ PERL_OBJECT Message-Id: <000001bd9b8c$0417fe90$a32fa8c0@tau.Active> Subject: RE: [PATCH 5.004_67] Fixes for broken MS compiler p4raw-id: //depot/perl@1172
* [asperl] add AS patch#20 (exposes more global constants)Gurusamy Sarathy1998-05-011-0/+1
| | | p4raw-id: //depot/asperl@908
* [asperl] added AS patch#7Douglas Lankshear1998-02-251-34/+34
| | | | | | | | | | | | | | Message-Id: <01BD40F9.CE57B210.dougl@ActiveState.com> Subject: [PATCH] Here's an attempt at 6. MANIFEST must be updated with new file names 5. Mktime(), Stat() etc., rather than MKtime()/STat() etc. And some changes to move toward 1. Merge PERL_OBJECT build support into regular Makefile and makefile.mk -- Doug p4raw-id: //depot/asperl@586
* [asperl] added AS patch#3Douglas Lankshear1998-02-011-0/+3
| | | | | | | | | | | | | | | | Message-Id: <01BD2EF2.53433A40.dougl@ActiveState.com> To: "'Gurusamy Sarathy'" <gsar@umich.edu> Here's an additional diff against //depot/asperl The field name mg_length was changed back to mg_len The function name mg_len was change to mg_length The need for sort_mutex removed thanks to the code derived from Tom Horsley's work. -- Doug p4raw-id: //depot/asperl@451
* [asperl] added AS patch#2Gurusamy Sarathy1998-01-301-0/+48
| | | p4raw-id: //depot/asperl@443
* Use SSize_t for values of PerlIO_{read,write}Chip Salzenberg1997-04-041-2/+2
|
* Prevent warnings when STDCHAR is unsignedChip Salzenberg1996-12-231-3/+3
|
* perl 5.003_03: perlio.hPerl 5 Porters1996-08-211-26/+32
| | | | | | | | | Try to document the various #defines a bit. This is far from finished. Remove a lot of trailing whitespace. (It's of no consequence, but but I'm not going to redo the patch just to put back in the trailing whitespace either.)
* perl 5.003_02: [no incremental changelog available]Larry Wall1996-08-101-0/+193