summaryrefslogtreecommitdiff
path: root/perlio.h
Commit message (Collapse)AuthorAgeFilesLines
* Integrate:Nicholas Clark2008-01-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32688] Update the hash documentation to reflect the changes between 5.8.1 and 5.8.2, that disabled the automatic randomisation of all hashes. [ 32729] Subject: [PATCH] docs: replace FH by my $fh in open From: "Gabor Szabo" <szabgab@gmail.com> Date: Wed, 26 Dec 2007 06:03:29 +0200 Message-ID: <d8a74af10712252003m2d3244fbv2955fe17e683063d@mail.gmail.com> [ 32730] Subject: [PATCH] docs: list of places where $_ is used From: "Gabor Szabo" <szabgab@gmail.com> Date: Wed, 26 Dec 2007 06:49:34 +0200 Message-ID: <d8a74af10712252049t1b63b475mfca9225324f5fce6@mail.gmail.com> [ 32732] Subject: [PATCH perl5100delta.pod] change/correction to 32246 From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Fri, 9 Nov 2007 14:40:22 -0000 Message-ID: <2C2E01334A940D4792B3E115F95B722601604912@exchsvr1.npl.ad.local> [ 32759] Note to future self about moving the regexp flag bits around. [ 32793] Add editor blocks to some header files. [ 32805] Subject: [PATCH] Small documentation nits From: Sébastien Aperghis-Tramoni <maddingue@free.fr> Date: Mon, 31 Dec 2007 21:05:47 +0100 Message-Id: <2AF110D6-9183-47C5-BBBA-26C3FB97C3D3@free.fr> [ 32844] Remove a comment that is no longer necessary since Perl Object bit the dust some time around 5.6 [ 32875] Document that sitecustomize.pl in run from a BEGIN block [ 32887] Subject: - perlcommunity.patch (1/1) [PATCH] perlcommunity: "Perl Mongers" and calendar corrections From: brian d foy <brian.d.foy@gmail.com> Date: Fri, 04 Jan 2008 14:07:27 -0600 Message-ID: <040120081407272341%brian.d.foy@gmail.com> [ 32895] Clarify the use of SVf_BREAK on PL_reg_curpm. [ 32904] Subject: Re: [PATCH] docs more open() and $_ related entries From: "Gabor Szabo" <szabgab@gmail.com> Date: Tue, 8 Jan 2008 22:07:54 +0200 Message-ID: <d8a74af10801081207q2637419dy59f1a3600bcc4a76@mail.gmail.com> [ 32916] Add a few =cuts (so configpm is displayed mostly correctly by perldoc or by search.cpan.org) [ 32944] Better descriptions for PL_regex_pad and PL_regex_padav. [ 32982] A couple of POD fixes by Steven Schubiger [ 32993] Add Weed out needless PERL_UNUSED_ARG to perltodo. It's a good "cage cleaner" task. [ 33066] Subject: [PATCH] socketpair() *is* available on Win32 From: "Jan Dubois" <jand@activestate.com> Date: Thu, 24 Jan 2008 14:17:23 -0800 Message-ID: <032201c85ed6$e56edf40$b04c9dc0$@com> [ 33082] fix misleading comment in op.h [ 33095] Minor rewording of the localtime() documentation, based on : Subject: [perl #49914] gmtime()/localtime() do not use time() From: Abe Timmerman (via RT) <perlbug-followup@perl.org> Date: Thu, 17 Jan 2008 18:05:07 -0800 Message-ID: <rt-3.6.HEAD-18434-1200621906-376.49914-75-0@perl.org> [ 33101] Subject: [PATCH] mistaken variable in pod From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Mon, 28 Jan 2008 13:39:29 -0800 (PST) Message-ID: <40783.64.81.167.122.1201556369.squirrel@webmail.efn.org> [ 33104] More wording nits about perl's time() versus the libc's time() p4raw-link: @33104 on //depot/perl: e3176d09175983fa5c9fa7bc6d286b6349cbc891 p4raw-link: @33101 on //depot/perl: a0604b4cdf35e86e96dd5002c652cb32430e1735 p4raw-link: @33095 on //depot/perl: e199845280bc7d6fec24a11bbe30c154943f9814 p4raw-link: @33082 on //depot/perl: b900987b60cce8e0dffc3b8fd3835992d58ce664 p4raw-link: @33066 on //depot/perl: f38e12df2246599f9c1104d703d0b8bb03353e86 p4raw-link: @32993 on //depot/perl: 3d826b294b9e4cbc002b8f9eeaf0e88c52d9ee96 p4raw-link: @32982 on //depot/perl: d77cdebfaf0c7eb784a132b575c93953a56db215 p4raw-link: @32944 on //depot/perl: e68531976a39b1bb777ce9a7b75bd5a3eaf8de8b p4raw-link: @32916 on //depot/perl: c90cd22b2f0d69bba1abd4ca7cd7ece1531bbb93 p4raw-link: @32904 on //depot/perl: b0169937a1833d262bdcef83fc6595ccc076cb56 p4raw-link: @32895 on //depot/perl: 36c662f48c9a23ec4251c3cf747c3f42c63a6fd9 p4raw-link: @32887 on //depot/perl: 10a3d64ebfb9fbd83a25907c9ad1c5709db66e15 p4raw-link: @32875 on //depot/perl: e846cbe53fd65a133ee59961dd2b0d9ae211552a p4raw-link: @32844 on //depot/perl: e16f71082347dd9854a05b7cece1dc02f0f9f3a8 p4raw-link: @32805 on //depot/perl: d991eed6a698716065b2039839dd7d319bc188db p4raw-link: @32793 on //depot/perl: e9a8c0991ec6634f51266c0ad53e02c328bc0761 p4raw-link: @32759 on //depot/perl: a1cf41cd41cfa3d3c737acde06e0d3bbd02dd08d p4raw-link: @32732 on //depot/perl: 62ba2c934831b412d226e94c53b2ed4d0a5c0726 p4raw-link: @32730 on //depot/perl: db1511c850bfe94373082caa16c1f91ab1ce8510 p4raw-link: @32729 on //depot/perl: 460b70c2ae94a254c087c06a9e5a5c4c3d88a0b5 p4raw-link: @32688 on //depot/perl: 22883ac550dc5dbe0c35890635d3c37c4084f3a1 p4raw-id: //depot/maint-5.10/perl@33123 p4raw-integrated: from //depot/perl@33122 'copy in' fakethr.h (@19242..) nostdio.h (@26736..) fakesdio.h (@27355..) thread.h (@27834..) pod/perlsec.pod (@28800..) ext/POSIX/POSIX.pod (@31137..) configpm (@31366..) parser.h (@31618..) pod/perlcommunity.pod (@31626..) iperlsys.h (@32013..) perliol.h (@32215..) dosish.h mg.h perlio.h perlsdio.h perlsfio.h unixish.h utf8.h utfebcdic.h util.h (@32237..) pod/perlport.pod (@32492..) pod/perlsyn.pod (@32559..) pod/perlvar.pod (@32730..) pad.h (@32793..) 'edit in' op.h (@33030..) 'merge in' pod/perltodo.pod (@32731..) p4raw-integrated: from //depot/perl@33095 'edit in' pod/perlfunc.pod (@32969..) p4raw-integrated: from //depot/perl@32982 'copy in' pod/perlintern.pod (@32148..) 'merge in' pod/perlapi.pod (@32925..) sv.c (@32969..) p4raw-integrated: from //depot/perl@32944 'merge in' intrpvar.h (@32681..) p4raw-integrated: from //depot/perl@32895 'merge in' regexec.c sv.h (@32861..) p4raw-integrated: from //depot/perl@32875 'copy in' pod/perlrun.pod (@32461..) p4raw-integrated: from //depot/perl@32844 'merge in' embed.fnc (@32840..) p4raw-integrated: from //depot/perl@32793 'copy in' scope.h (@29695..) regcomp.h (@32237..) 'merge in' handy.h (@32707..) perl.h (@32789..) p4raw-integrated: from //depot/perl@32759 'merge in' regexp.h (@32758..) p4raw-integrated: from //depot/perl@32732 'ignore' pod/perl5100delta.pod (@32649..)
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* Update copyright years in .h files. Also, in .plRafael Garcia-Suarez2007-01-051-1/+1
| | | | | | files that generate .h files, so they'll be ready next time. p4raw-id: //depot/perl@29695
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-2/+0
| | | | | | Todo - store the in and out values under 2 keys, and avoid the need to create a temporary mortal SV while checking it. p4raw-id: //depot/perl@28258
* 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
* Attribute compilation fix for Windows by Andy LesterRafael Garcia-Suarez2005-05-231-1/+5
| | | p4raw-id: //depot/perl@24552
* Attribute configurationAndy Lester2005-05-201-13/+1
| | | | | Message-ID: <20050519173256.GA29039@petdance.com> p4raw-id: //depot/perl@24508
* printf.patch: Adding printf checking for gccAndy Lester2005-05-021-4/+4
| | | | | Message-ID: <20050501200755.GA30259@petdance.com> p4raw-id: //depot/perl@24365
* perlio-two.patch: More warnings squashed, more constsAndy Lester2005-04-271-1/+2
| | | | | Message-ID: <20050427150243.GA21883@petdance.com> p4raw-id: //depot/perl@24338
* Symbian port of PerlJarkko Hietaniemi2005-04-211-64/+78
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* s/hierachy/hierarchy/Larry Shatzer Jr.2004-11-161-1/+1
| | | | | | From: "Larry Shatzer Jr." <larrysh@cpan.org> Message-ID: <20041115225913.GA22373@zippy.zyx.net> p4raw-id: //depot/perl@23500
* Re: [PATCH: perlio.h] maint snap @ 19613Marcus Holland-Moritz2003-05-251-0/+7
| | | | | | From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <003701c322f2$517fb5e0$0c2f1fac@R2D2> p4raw-id: //depot/perl@19620
* RE: [PATCH] RE: maint snapshot @ 19525Robin Barker2003-05-231-12/+3
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90404653C@hotel.npl.co.uk> p4raw-id: //depot/perl@19599
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (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
* Introduce PerlIO::get_layers() to allow people to peekJarkko Hietaniemi2003-04-141-0/+1
| | | | | at the PerlIO layer stack. p4raw-id: //depot/perl@19203
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* (was RE: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined))Robin Barker2003-01-221-3/+12
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D904046299@hotel.npl.co.uk> p4raw-id: //depot/perl@18556
* 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