summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to Unicode 3.1 beta 2001-03-23.Jarkko Hietaniemi2001-03-243-15/+16
| | | p4raw-id: //depot/perl@9326
* Re: B::Deparse bug (5.6.0)Robin Houston2001-03-244-4/+30
| | | | | Message-ID: <20010324143309.B17734@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9325
* Boldly add extensions to be built to VMS, EPOC, UTS,Jarkko Hietaniemi2001-03-246-7/+9
| | | | | | U/WIN, and VM/ESA (and fixups for DJGPP). Some of these additions may be too optimistic. p4raw-id: //depot/perl@9324
* Integrate perlio:Jarkko Hietaniemi2001-03-2427-134/+553
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 9322] Routine Win32 regen_config_h - no real changes. [ 9321] PerlIO fixups for Win32: - provide win33_popenlist() - non-functional as yet. - avoid need for aTHX in PerlIO_debug calls - even if not enabled args are still evaluated so Win32 has trouble during fork(). - Add PerlIO/Scalar to list of extensions in win32/makefile.mk - Fixup makedef.pl for latest set of symbols. [ 9320] POSIX::getcwd XS code to call Cwd::cwd when HAS_GETCWD not defined was gibberish - broke it on WIn32 at least. [ 9319] Generated files. [ 9318] Implement: 1. open($fh,"+<",undef); # add test to t/io/open.t 2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t p4raw-link: @9322 on //depot/perlio: e009d45070febfef5a59a9468c3cb4e6ad05051f p4raw-link: @9321 on //depot/perlio: 8c0134a884f927d58f584b87281e5a27133cbf8f p4raw-link: @9320 on //depot/perlio: 5dd1177c222be3aa5f44de160a952953bc5703a5 p4raw-link: @9319 on //depot/perlio: c60e0e098045567c2313456d074b4094292b050c p4raw-link: @9318 on //depot/perlio: f6c77cf1bf4d7cb2c7a64dd7608120b471f84062 p4raw-id: //depot/perl@9323
| * Routine Win32 regen_config_h - no real changes.Nick Ing-Simmons2001-03-243-3/+3
| | | | | | p4raw-id: //depot/perlio@9322
| * PerlIO fixups for Win32:Nick Ing-Simmons2001-03-247-11/+47
| | | | | | | | | | | | | | | | | | - provide win33_popenlist() - non-functional as yet. - avoid need for aTHX in PerlIO_debug calls - even if not enabled args are still evaluated so Win32 has trouble during fork(). - Add PerlIO/Scalar to list of extensions in win32/makefile.mk - Fixup makedef.pl for latest set of symbols. p4raw-id: //depot/perlio@9321
| * POSIX::getcwd XS code to call Cwd::cwd when HAS_GETCWD not definedNick Ing-Simmons2001-03-241-8/+3
| | | | | | | | | | was gibberish - broke it on WIn32 at least. p4raw-id: //depot/perlio@9320
| * Generated files.Nick Ing-Simmons2001-03-245-0/+17
| | | | | | p4raw-id: //depot/perlio@9319
| * Implement:Nick Ing-Simmons2001-03-2411-111/+479
| | | | | | | | | | | | 1. open($fh,"+<",undef); # add test to t/io/open.t 2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t p4raw-id: //depot/perlio@9318
* | AIX does seems to have optimization problems with its C compilers.Jarkko Hietaniemi2001-03-231-0/+12
| | | | | | p4raw-id: //depot/perl@9317
* | Integrate perlio:Jarkko Hietaniemi2001-03-237-561/+720
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 9314] Perlio internals re-organized. - 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. [ 9313] Check in a stable (working) version before next round of tweaks. Changes include: - Move default layers code out of doio.c and into perlio.c - Single routine for parsing layer specification strings. - Skeleton support for demand loading of layers - Core-dump avoidance if PERLIO environment specifies loadable layer (does not _work_ as need IO to load and need load to do IO ...) [ 9305] Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff. [ 9304] Render -Duseperlio functional again. - this is "quick fix" which calls PerlIO_apply_layers after opening, which is what old scheme did. New scheme needs to change that to make open(...,\$scalar) etc. work but this will do for now. [ 9303] Avoid "reopen" semantics for time being. Fix bug in dup logic. -Uuseperlio now works again. -Duseperlio is still poorly. Don't merge yet... [ 9302] Snapshot of new PerlIO open scheme. Still buggy - mainly in 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-link: @9314 on //depot/perlio: e3f3bf95bcb81efe35cb0f0d3e3528d5c002dcec p4raw-link: @9313 on //depot/perlio: 1141d9f89ca1cb89e46951e8afc784c7b4862cd2 p4raw-link: @9305 on //depot/perlio: a999f61be32148694ba1c2837b1a303e42fd96b1 p4raw-link: @9304 on //depot/perlio: 5e334b7bcf49bf053aa25da896a1ff98c12dd228 p4raw-link: @9303 on //depot/perlio: 6e60e805618a52942747f76233ecc85135a964e3 p4raw-link: @9302 on //depot/perlio: ee518936bd3eee0065c20591f5182f733dadd4bd p4raw-id: //depot/perl@9316
| * Perlio internals re-organized.Nick Ing-Simmons2001-03-234-132/+245
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| * Check in a stable (working) version before next round of tweaks.Nick Ing-Simmons2001-03-234-184/+213
| | | | | | | | | | | | | | | | | | | | Changes include: - Move default layers code out of doio.c and into perlio.c - Single routine for parsing layer specification strings. - Skeleton support for demand loading of layers - Core-dump avoidance if PERLIO environment specifies loadable layer (does not _work_ as need IO to load and need load to do IO ...) p4raw-id: //depot/perlio@9313
| * Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.Nick Ing-Simmons2001-03-233-53/+57
| | | | | | p4raw-id: //depot/perlio@9305
| * Render -Duseperlio functional again.Nick Ing-Simmons2001-03-231-1/+9
| | | | | | | | | | | | | | - this is "quick fix" which calls PerlIO_apply_layers after opening, which is what old scheme did. New scheme needs to change that to make open(...,\$scalar) etc. work but this will do for now. p4raw-id: //depot/perlio@9304
| * Avoid "reopen" semantics for time being. Fix bug in dup logic.Nick Ing-Simmons2001-03-232-14/+14
| | | | | | | | | | | | -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-225-293/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix the EBCDIC MD5.pm checksum, from Pter Prymmer.Jarkko Hietaniemi2001-03-231-2/+3
| | | | | | p4raw-id: //depot/perl@9315
* | Forgot the unneeded hints/dec_osf.pl into MANIFEST in #9308.Jarkko Hietaniemi2001-03-231-1/+0
| | | | | | p4raw-id: //depot/perl@9311
* | Net::PingColin McMillen2001-03-231-48/+132
| | | | | | | | | | Message-ID: <20010322193031.A18814@strago.jenovaproject.org> p4raw-id: //depot/perl@9310
* | EBCDIC patches for Digest::MD5 tests from Peter Prymmer.Jarkko Hietaniemi2001-03-232-2/+275
| | | | | | p4raw-id: //depot/perl@9309
* | Integrate Digest-1.00 and Digest-MD5-2.13, from Gisle Aas.Jarkko Hietaniemi2001-03-2317-15/+2030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bump the version to 2.14 - drop the base64 tests since they require MIME::Base64 - drop the rfc1321.txt - drop the hints/dec_osf.pl since it's only needed for pre-5.005_03 Perls Todo: - the U32 alignment testing is now removed; it needs to be reintroduced as as a Config variable (meaning also as a Configure test) - get the new EBCDIC md5sum for MD5.pm - test in Win32 to see how badly I botched the makefiles p4raw-id: //depot/perl@9308
* | Integrate change #9306 from maintperl into mainline,Jarkko Hietaniemi2001-03-231-0/+2
| | | | | | | | | | | | | | | | | | AIX dynaloader for AIXes without <load.h>. p4raw-link: @9306 on //depot/maint-5.6/perl: b9a292f48852cf3cc66c257e67dbf85c05aceb9a p4raw-id: //depot/perl@9307 p4raw-integrated: from //depot/maint-5.6/perl@9301 'copy in' ext/DynaLoader/hints/aix.pl (@9250..)
* | Integrate perlio:Jarkko Hietaniemi2001-03-229-51/+237
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 9300] Don't include $@ in not ok message. [ 9298] Give a meaning to '&' in n-arg open case: open($fh,"<&",$scalar); $scalar can be: - an integer which does "fdopen" open($fh,"<&",2); # like open($fh,"<&2") - something that will yield a file handle via sv_2io() useful for dup'ing anonymous handles. e.g.: open(my $fh,"<&",\*STDIN); open(my $dup,"<&",$fh); [ 9297] Implement open($fh,"-|",prog,args...) for HAS_FORK cases. [ 9296] Re-instate warnings for 'eof STDOUT' etc. by marking STD* as appropriate IoTYPE. [ 9295] If stdin, stdout or stderr get opened in unexpected read/write state then warn at time of open not at time of use. [ 9294] Die on n-arg open(...,"",xxx,yyy,...) - redirect pipe cases to PerlProc_popen_list() (which just croaks for now) - die on read/write cases so we can decide what it means later. [ 9293] perlio tweaks (reported by Nicholas Clark) Line buffer ttys, PerlIOBuf_tell() on unseekable off-by one, error check in Pendinf_read(). p4raw-link: @9300 on //depot/perlio: 4fbc943a81ac8168e4ba63497561c515427127d8 p4raw-link: @9298 on //depot/perlio: e620cd7232b242c1500abd8a6a5b86efdf1c5c2b p4raw-link: @9297 on //depot/perlio: 1f852d0d1f9745d51afb4cb836d527bbbac0c64e p4raw-link: @9296 on //depot/perlio: a04651f440b69a3f6af9f5fcf427068253775945 p4raw-link: @9295 on //depot/perlio: a00b5bd33cb12556305f4526d4870e67e2ca9517 p4raw-link: @9294 on //depot/perlio: 4a7d1889681c73a99b9a39d8a3d3760367674002 p4raw-link: @9293 on //depot/perlio: 1f47406448f2d51ae8241e146df3675f96b72815 p4raw-id: //depot/perl@9301
| * Don't include $@ in not ok message.Nick Ing-Simmons2001-03-221-2/+2
| | | | | | p4raw-id: //depot/perlio@9300
| * Give a meaning to '&' in n-arg open case:Nick Ing-Simmons2001-03-222-33/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | open($fh,"<&",$scalar); $scalar can be: - an integer which does "fdopen" open($fh,"<&",2); # like open($fh,"<&2") - something that will yield a file handle via sv_2io() useful for dup'ing anonymous handles. e.g.: open(my $fh,"<&",\*STDIN); open(my $dup,"<&",$fh); p4raw-id: //depot/perlio@9298
| * Implement open($fh,"-|",prog,args...) for HAS_FORK cases.Nick Ing-Simmons2001-03-221-0/+118
| | | | | | p4raw-id: //depot/perlio@9297
| * Re-instate warnings for 'eof STDOUT' etc. by marking STD* as appropriate IoTYPE.Nick Ing-Simmons2001-03-221-0/+3
| | | | | | p4raw-id: //depot/perlio@9296
| * If stdin, stdout or stderr get opened in unexpected read/write stateNick Ing-Simmons2001-03-223-10/+18
| | | | | | | | | | then warn at time of open not at time of use. p4raw-id: //depot/perlio@9295
| * Die on n-arg open(...,"",xxx,yyy,...)Nick Ing-Simmons2001-03-224-10/+45
| | | | | | | | | | | | - redirect pipe cases to PerlProc_popen_list() (which just croaks for now) - die on read/write cases so we can decide what it means later. p4raw-id: //depot/perlio@9294
| * perlio tweaks (reported by Nicholas Clark)Nick Ing-Simmons2001-03-221-3/+17
| | | | | | | | | | | | Line buffer ttys, PerlIOBuf_tell() on unseekable off-by one, error check in Pendinf_read(). p4raw-id: //depot/perlio@9293
* | Regex tests from Chicheng Zhang. (Already fixed.)Jarkko Hietaniemi2001-03-221-0/+3
| | | | | | p4raw-id: //depot/perl@9291
* | Integrate perlio:Jarkko Hietaniemi2001-03-211-20/+20
|\ \ | |/ | | | | | | | | | | | | [ 9285] Multiplicity fix for Dumper. p4raw-link: @9285 on //depot/perlio: 6cde4e9429924ded8fa67b82555e7528e0d47b56 p4raw-id: //depot/perl@9287
| * Multiplicity fix for Dumper.Nick Ing-Simmons2001-03-211-20/+20
| | | | | | p4raw-id: //depot/perlio@9285
| * Integrate mainline - (does not build xTHX issue in Dumper).Nick Ing-Simmons2001-03-2127-127/+881
| |\ | |/ |/| p4raw-id: //depot/perlio@9284
* | The #9270 would have leaked a scalar if pp_substr()Jarkko Hietaniemi2001-03-211-7/+11
| | | | | | | | | | returned early. p4raw-id: //depot/perl@9282
* | More pixie cleaning.Jarkko Hietaniemi2001-03-211-0/+1
| | | | | | p4raw-id: //depot/perl@9276
* | Update Changes.Jarkko Hietaniemi2001-03-212-1/+141
| | | | | | p4raw-id: //depot/perl@9275
* | First stab at making Data::Dumper to grok Unicode.Jarkko Hietaniemi2001-03-212-32/+106
| | | | | | | | | | TODO: tests, EBCDICify. p4raw-id: //depot/perl@9274
* | Fix forBenjamin Sugars2001-03-211-1/+4
| | | | | | | | | | | | Subject: Memory leak in unquoted print Message-ID: <Pine.LNX.4.21.0103200958180.1538-100000@marmot.rim.canoe.ca> p4raw-id: //depot/perl@9273
* | Re: [PATCH] POSIX::getcwd()Benjamin Sugars2001-03-212-14/+46
| | | | | | | | | | Message-ID: <Pine.LNX.4.21.0103191454500.1820-100000@marmot.rim.canoe.ca> p4raw-id: //depot/perl@9272
* | Cwd.pm docsBenjamin Sugars2001-03-211-17/+26
| | | | | | | | | | Message-ID: <Pine.LNX.4.21.0103201516550.7893-100000@marmot.rim.canoe.ca> p4raw-id: //depot/perl@9271
* | Continue 4-arg substr() UTF-8 fixage.Jarkko Hietaniemi2001-03-212-14/+48
| | | | | | p4raw-id: //depot/perl@9270
* | Integrate changes #9262,9264,9265,9266 from maintperl to mainline.Jarkko Hietaniemi2001-03-218-15/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | revert the leak fix in change#9142 (problem needs a more experimental fix unsuitable for 5.6.1) do alphabetical sorting by default (for csh compatibility) cut-n-paste goof in change#9264 VMS piping fixes (from Charles Lane) p4raw-link: @9266 on //depot/maint-5.6/perl: 72d1c956969523b19a71b5ffb5af9479f09d0e6a p4raw-link: @9265 on //depot/maint-5.6/perl: 8549c3fc2da30e970df00a46a796a39e843777aa p4raw-link: @9264 on //depot/maint-5.6/perl: 1086ad2319c3ee3e3873c478e76309ea4f03453b p4raw-link: @9262 on //depot/maint-5.6/perl: a89eb504d1201e0dad09aaf86db07d000904f216 p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd p4raw-id: //depot/perl@9269 p4raw-integrated: from //depot/maint-5.6/perl@9268 'copy in' ext/File/Glob/Changes ext/File/Glob/bsd_glob.c ext/File/Glob/bsd_glob.h (@5902..) ext/File/Glob/Glob.pm (@7770..) vms/vmspipe.com (@8636..) vms/vms.c (@8986..) 'edit in' ext/File/Glob/Glob.xs (@9264..) 'merge in' scope.c (@9142..)
* | Integrate perlio:Jarkko Hietaniemi2001-03-2110-157/+188
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 9267] More EBCDIC stuff: - Loose the extra level of function on ASCII. - spotted a chr(0) issue in sv.c - re-work of UTF-X tr/// ranges to work in Unicode space. Still issues with the "0xff is illegal UTF-8" hack. - Yet another ad. hoc. utf8 'upgrade' in op.c recoded (why do it once when you can do it all over the place :-( - Enable HINTS_UTF8 on EBCDIC - then ignore it in toke.c, need utf8.pm for swashes. - Simplified and commented scan_const() in toke.c Still something wrong regexp and tr (swashes?). p4raw-link: @9267 on //depot/perlio: 2b9d42f0ba1bb562fe21327dc7948ab1a5397a19 p4raw-id: //depot/perl@9268
| * More EBCDIC stuff:Nick Ing-Simmons2001-03-2010-157/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Loose the extra level of function on ASCII. - spotted a chr(0) issue in sv.c - re-work of UTF-X tr/// ranges to work in Unicode space. Still issues with the "0xff is illegal UTF-8" hack. - Yet another ad. hoc. utf8 'upgrade' in op.c recoded (why do it once when you can do it all over the place :-( - Enable HINTS_UTF8 on EBCDIC - then ignore it in toke.c, need utf8.pm for swashes. - Simplified and commented scan_const() in toke.c Still something wrong regexp and tr (swashes?). p4raw-id: //depot/perlio@9267
* | Integrate changes #9259,9260 from maintperl into mainline.Jarkko Hietaniemi2001-03-203-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Subject: [MacPerl-Porters] [PATCH] POSIX, File::Path (Mac OS) for 5.6.1 and 5.7 Subject: [PATCH perl-5.6.1-TRIAL3/run.c] printf warning p4raw-link: @9260 on //depot/maint-5.6/perl: b83ee361c1b8f0045f0125bffa546780643848c4 p4raw-link: @9259 on //depot/maint-5.6/perl: 5a271d91b72f558a378756b049d1040c9ff0a63c p4raw-id: //depot/perl@9261 p4raw-integrated: from //depot/maint-5.6/perl@9258 'copy in' lib/File/Path.pm (@8175..) 'merge in' ext/POSIX/POSIX.xs (@8885..) run.c (@8987..)
* | Update Changes.Jarkko Hietaniemi2001-03-202-3/+362
| | | | | | p4raw-id: //depot/perl@9258
* | tr/// UTF-8 tests for Inaba Hiroto's latest patches.Jarkko Hietaniemi2001-03-201-1/+18
| | | | | | p4raw-id: //depot/perl@9257
* | substr($bytestr, i, n, $charstr)Jarkko Hietaniemi2001-03-193-3/+26
| | | | | | | | | | TODO: we are still broken if $bytestr needs UTF-8 upgrading. p4raw-id: //depot/perl@9255