summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
Commit message (Collapse)AuthorAgeFilesLines
* Salvage parts of #19667.Jarkko Hietaniemi2003-06-031-0/+1
| | | p4raw-id: //depot/perl@19673
* Retract #19667, #19660, #19659, #19658, #19657, #19656,Jarkko Hietaniemi2003-06-031-1/+0
| | | | | | #19655, #19418; File::Temp no more used internally. Some parts of these will be salvaged later. p4raw-id: //depot/perl@19670
* don't use File::Temp to implement PerlIO_tmpfile() on windows;Gurusamy Sarathy2003-06-021-0/+1
| | | | | | | | | | reuse the straightforward native implementation instead this fixes the warning from io_xs.t NOTE: File::Temp has a less-than-robust implementation on windows that relies on END blocks being run (this may not happen always) p4raw-id: //depot/perl@19667
* windows: support for large filesGurusamy Sarathy2002-12-181-0/+2
| | | | | | | | note that this change will break binary compatibility with the default 5.8.0 build options; nevertheless I think it is worth having in 5.8.1 (people who want the compatibility can disable the option in the makefile) p4raw-id: //depot/perl@18327
* make the gettimeofday() implementation in Time::HiRes availableGurusamy Sarathy2002-05-081-0/+3
| | | | | from perl p4raw-id: //depot/perl@16503
* fixes for various warnings identified by Visual C++Gurusamy Sarathy2002-05-071-0/+1
| | | p4raw-id: //depot/perl@16460
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * support for building it in the regular makefiles * large files support via the _*i64() functions (this should be portable to the 32-bit universe too, but quite untested and and binary-incompatible, therefore not enabled there) * three additional test failures in addition to the t/end.t one (see README.win32) * sprintf() on Windows gets %I{32,64,}[xoud] format that parallel the ones available from the CRT (needed because Perl uses the UVxf macros in both sprintf() *and* in sv_catpvf() et al.) * add a few 64-bit notes to README.win32 The following general problems were also fixed: * s/struct stat/Stat_t/g * Data::Dumper had some naughty 'long' typecasts * Errno_pm.PL didn't work safe when winsock.h was not in the same directory as errno.h * various tell/seek things were incorrectly prototyped * squelch ugly looking noise when running tests * Embed.t wasn't linking in all the libraries * perl57.dll is now perl58.dll (anticipating 5.8.0-RC1) * re-enable all the disabled warnings (additional fixes may be needed for the warnings uncovered by this) p4raw-id: //depot/perl@16033
* Win32 signal emulation cleanup.Nick Ing-Simmons2002-01-261-3/+4
| | | p4raw-id: //depot/perlio@14428
* (Re-)implement alarm() for Win32.Nick Ing-Simmons2002-01-091-2/+3
| | | p4raw-id: //depot/perlio@14151
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* PerlIO fixups for Win32:Nick Ing-Simmons2001-03-241-0/+1
| | | | | | | | | - 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
* Abolish USE_WIN32_RTL_ENV.Jarkko Hietaniemi2001-02-231-4/+0
| | | p4raw-id: //depot/perl@8916
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-2/+2
| | | p4raw-id: //depot/perlio@7970
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-0/+10
| | | p4raw-id: //depot/perl@4602
* [5.005_62 PATCH] support link() on WinNT and NTFSJan Dubois1999-11-131-0/+2
| | | | | | | | To: perl5-porters@perl.org, Perl-Win32-Porters@activestate.com Cc: Douglas Lankshear <dougl@activestate.com>, Gurusamy Sarathy <gsar@activestate.com> Message-ID: <382b5d24.10899522@smtprelay.t-online.de> p4raw-id: //depot/cfgperl@4571
* win32 symbol export tweakGurusamy Sarathy1999-11-081-5/+1
| | | p4raw-id: //depot/perl@4540
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-0/+7
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-0/+3
| | | | | | | | | gone from the public API); PERL_OBJECT builds again on windows TODO: namespace-clean the typedefs in iperlsys.h and elsewhere; remove C++ remnants from public headers p4raw-id: //depot/perl@3553
* more bulletproof workaround for mangled paths (updates changes#3345,3350);Gurusamy Sarathy1999-05-101-0/+2
| | | | | | | | provide Win32::GetLongPathName() to complement Win32::GetShortPathName() p4raw-link: @3350 on //depot/perl: b5ce6607ab4b332cfeb9911174599b4208a0bc29 p4raw-link: @3345 on //depot/perl: 95140b9803ddf95b050f1d52936f19393a6b541c p4raw-id: //depot/perl@3353
* support POSIX::uname() via win32_uname()Gurusamy Sarathy1999-03-241-0/+3
| | | p4raw-id: //depot/perl@3134
* support win32_putenv()Gurusamy Sarathy1999-02-121-0/+3
| | | p4raw-id: //depot/perl@2898
* support optional crypt() with PERL_OBJECTDouglas Lankshear1998-07-221-1/+1
| | | | | | Message-Id: <000701bdb584$5b57c070$a32fa8c0@tau.Active> Subject: [PATCH 5.005 maybe] for crypt with PERL_OBJECT p4raw-id: //depot/perl@1641
* various tweaks for PERL_OBJECT build & testGurusamy Sarathy1998-07-121-1/+1
| | | p4raw-id: //depot/perl@1450
* add win32_rename() that does what docs sayGurusamy Sarathy1998-07-101-0/+2
| | | p4raw-id: //depot/perl@1403
* back out change#1289 (additional pollution breaks things on win32)Gurusamy Sarathy1998-07-041-31/+31
| | | | | p4raw-link: @1289 on //depot/perl: e031fa27bae468c1d1f1c2f63947de150db520aa p4raw-id: //depot/perl@1308
* win32iop.h #definesAnton Berezin1998-07-041-31/+31
| | | | | Message-Id: <199806301822.SAA09899@lion.plab.ku.dk> p4raw-id: //depot/perl@1289
* export opendir() set of functions on win32Gurusamy Sarathy1998-07-021-0/+7
| | | p4raw-id: //depot/perl@1273
* various win32 odds and endsGurusamy Sarathy1998-06-151-0/+4
| | | | | | | | | | | | - added support for waitpid(), open2/open3, and a bugfix for kill() from Ronald Schmidt <RonaldWS@aol.com> - tweak testsuite mods of above - regenerate win32/config_H.?c - change kill() to win32_kill() and export it - coalesce common code in win32.c - add PerlProc_waitpid() and export win32_waitpid() result builds and passes on the three win32 compilers p4raw-id: //depot/perl@1134
* Re: execv in toke.c [PATCH]: win32 wrapper for _66Jan Dubois1998-06-121-0/+2
| | | | | Message-ID: <35842ac5.7883075@smtp1.ibm.net> p4raw-id: //depot/perl@1126
* [asperl] fix various shenanigans with C<environ>, BC and VC builds now passGurusamy Sarathy1998-05-291-4/+0
| | | | | all tests p4raw-id: //depot/asperl@1049
* [asperl] integrate latest win32 branchGurusamy Sarathy1998-02-221-1/+1
|\ | | | | p4raw-id: //depot/asperl@569
| * [win32] fix mingw32 gcc 2.8.0 build (DLLs generated seem to be brokenGurusamy Sarathy1998-02-161-1/+1
| | | | | | | | | | in this version of gcc!) p4raw-id: //depot/win32/perl@529
* | [asperl] integrate win32 branch contentsGurusamy Sarathy1998-02-091-0/+9
|\ \ | |/ | | p4raw-id: //depot/asperl@493
| * [win32] win32_utime() tweaks to avoid warningsGurusamy Sarathy1998-02-091-1/+7
| | | | | | p4raw-id: //depot/win32/perl@487
| * [win32] integrate mainline, plus a few small win32 enhancementsGurusamy Sarathy1998-02-071-0/+3
| | | | | | | | | | | | | | - remove Win32::GetCurrentDirectory() - add Win32::Sleep() for compat - add smarter utime() from Jan Dubois, and export it as win32_utime() p4raw-id: //depot/win32/perl@486
* | [asperl] added AS patch#2Gurusamy Sarathy1998-01-301-0/+9
|/ | | p4raw-id: //depot/asperl@443
* [win32] Various win32 fixesGurusamy Sarathy1998-01-041-1/+3
| | | | | | | | | | | | | | | - support spawn via system(&P_NOWAIT,...) like OS2 - support wait() and waitpid() - s/GetCurrentDirectory/GetCwd/, long-named XS to be removed - support -lfoo properly in ExtUtils::Liblist - fix outdated info about Win32 support in perlfaq2 - fix win32 bug in perldoc that causes spurious warnings - regularize global function/variable names yet more - fix bug in do_aspawn() (it was always invoking shell, instead of almost never) - implement and export win32_wait() - stub version of USE_RTL_THREAD_API p4raw-id: //depot/win32/perl@391
* [win32] support ioctl() on sockets (does what ioctlsocket() does) to makeGurusamy Sarathy1997-12-241-0/+3
| | | | | non-blocking IO on sockets possible p4raw-id: //depot/win32/perl@387
* [win32] add support for crypt() via user-supplied des_fcrypt() source or ↵Gurusamy Sarathy1997-12-241-15/+24
| | | | | | | library. Update README.win32. p4raw-id: //depot/win32/perl@385
* Create a struct for all perls globals (as an option)Nick Ing-Simmons1997-12-011-79/+80
| | | | | | | Mainly for Mingw32 which cannot import data. Now only Opcode tests fail (op_desc/op_name not handled yet stuff) p4raw-id: //depot/ansiperl@341
* GCC + Threads on Win32 - best gcc results yetNick Ing-Simmons1997-11-291-7/+0
| | | p4raw-id: //depot/ansiperl@331
* Builds completely with Mingw32, dynamic loaded extensionsNick Ing-Simmons1997-11-281-0/+2
| | | | | don't work yet - suspect __declspec() non-implemented issues. p4raw-id: //depot/ansiperl@329
* Add files and tweak others to get 'native' Mingw32 gcc port asNick Ing-Simmons1997-11-271-0/+1
| | | | | | | | | | far as building miniperl and perl.dll (but not import lib yet) Seems to lack popen()/pclose() and fcloseall() and fflushall(). Also only CRTDLL not MCRTDLL so threading is probably not possible yet. Had to mess with win32iop.h's placement as we need __attribute__ to get STDCALL, and #define of printf messes up proto.h p4raw-id: //depot/ansiperl@325
* [win32] Various changes to make it build cleanly and pass all tests:Gurusamy Sarathy1997-11-261-1/+1
| | | | | | | | | | | | | | - needed to run `perl embed.pl` - use PERL_CORE instead of PERLDLL in places that do mean PERL_CORE - fix prototypes for a few declarations (Borland is finally quiet) - move declaration of Mymalloc etc to perl.h (since win32 and other ports may #define malloc themselves, to let extensions bind to the version that perl used) - move struct reg_data into a public header file, since it is referenced in a public datatype - win32 makefile fixes - fix remaining s/thread/perl_thread/ p4raw-id: //depot/win32/perl@304
* MYMALLOC for Win32:Nick Ing-Simmons1997-11-161-0/+7
| | | | | | | | | | | 1. Initialize malloc_mutex before it is used (all platforms!) 2. Adjust #ifdef muddle to allow MYMALLOC and win32_ to coexist 3. Tweak win32/config*.* to define MYMALLOC 4. Provide sbrk() in terms of VirtualAlloc(). Also fixup -MT (perl95) build to handle Perl_current_thread via call to DLL (as though an extension). p4raw-id: //depot/ansiperl@259
* More cleanups of win32/win32*.[ch] files. win32/win32iop.h nowGurusamy Sarathy1997-11-121-4/+33
| | | | | | | | | contains the all the declarations and macros for the win32io layer. New std-ish functions are exported now. All win32-specific exported functions begin with "win32_" consistently. win32 version of init_os_extras() is now exported, so embedders can get the in-core xsubs. p4raw-id: //depot/win32/perl@244
* Egregious IOsubsystem code excised. Phew, what a relief! TwoGurusamy Sarathy1997-11-121-7/+1
| | | | | | | | files (win32/win32io.[ch]) completely removed, as are all traces of them in makefiles and MANIFEST. RunPerl() retains the void* arg for later. Various myfoo() things regularized to my_foo(). CPP not required anymore to create a perl binary :) p4raw-id: //depot/win32/perl@242
* Fix various win32 code blemishes:Gurusamy Sarathy1997-11-121-6/+4
| | | | | | | - s/stolen/win32/g - s/(CROAK|WARN)/lc($1)/eg - remove deadcode from most places p4raw-id: //depot/win32/perl@241
* Clean up win32/win32sck.c (runtime load of Winsock now gone, it can beGurusamy Sarathy1997-11-121-0/+12
| | | | | | done cleaner, if really needed (perhaps only for efficiency reasons?)). Redundant EXTERN_C definitions and related warnings fixed. p4raw-id: //depot/win32/perl@238
* Initial (untested) merge of all non-ansi changes on ansiperl branchGurusamy Sarathy1997-11-101-9/+15
| | | | | into win32 branch. p4raw-id: //depot/win32/perl@221