summaryrefslogtreecommitdiff
path: root/win32/win32.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop VC++ from warning "all references to 'SHELL32.dll' discardedSteve Hay2007-06-071-1/+0
| | | | | | | | | | by /OPT:REF" by removing the only reference to a SHELL32.dll function (namely, CommandLineToArgvW(), called from win32_argv2utf8(), which isn't actually used anywhere so delete it). That then caused the warning "/DELAYLOAD:shell32.dll ignored; no imports found from shell32.dll", so remove that /DELAYLOAD option too. p4raw-id: //depot/perl@31347
* Fix the ext/IO/t/io_sock.t failure when built with VC++ 2005Steve Hay2007-05-251-2/+5
| | | | | | | | | | | | | Unknown to me win32/win32.h was defining USE_FIXED_OSFHANDLE, which arranged for a black magic fix to MSVCRT.DLL's _open_osfhandle() to be used. It seems that this is inappropriate for VC++ versions later than 6.x, since they don't use that DLL: simply not defining that symbol makes the io_sock.t failure go away. (Compare change #29233, which similarly disabled the fix to MSVCRT.DLL's read() for VC++ versions later than 6.x.) p4raw-link: @29233 on //depot/perl: 46e77f111828d72136c91f0837803182535da01d p4raw-id: //depot/perl@31271
* RE: When is -DPERL_CORE required?Jan Dubois2007-05-201-4/+0
| | | | | | From: "Jan Dubois" <jand@activestate.com> Message-ID: <044601c79976$046691d0$0d33b570$@com> p4raw-id: //depot/perl@31242
* Implement killpg() for MSWin32Jan Dubois2006-12-211-0/+1
| | | | | Message-ID: <m8hjo2pasv3hdbhd1sj9sasen7tm38hrhp@4ax.com> p4raw-id: //depot/perl@29605
* Don't use the PERL_MSVCRT_READFIX when using VC++ 7.x onwards.Steve Hay2006-11-081-9/+0
| | | | | | | | | | VC++ 7.x onwards use their own MSVCR7x.dll, MSVCR8x.dll, etc, rather than MSVCRT.dll, so they do not require the read() fix. Therefore, we also don't need to update the ioinfo struct used by the read() fix w.r.t. VC++ 8.x, so back out that part of change #29218 p4raw-link: @29218 on //depot/perl: 0448a0bdbfbd5e00696d6b3361b97fb1190434c1 p4raw-id: //depot/perl@29233
* Get Visual C++ 2005 (aka Visual C++ 8.x) support off the groundSteve Hay2006-11-061-0/+9
| | | | | | | | | | | | | This is not a complete fix yet by any means (there are lots of compiler warnings and lots of test failures), but it's a step in the right direction. See the thread starting here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-10/msg00893.html and continuing here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-11/msg00102.html for further information p4raw-id: //depot/perl@29218
* Silence some more Borland compiler warningsSteve Hay2006-08-301-8/+9
| | | | | | | | | | | (See: http://www.nntp.perl.org/group/perl.daily-build.reports/40471) - Change the cryptic pragma warn strings into numbers that are more easily recognized, and add a new one (8027). - Add a similar pragma warn line to fcrypt.c, which doesn't use win32.h. p4raw-id: //depot/perl@28769
* Silence a couple of Borland compiler warningsSteve Hay2006-08-011-1/+1
| | | p4raw-id: //depot/perl@28643
* RE: [PATCH-for-28089] wince yet another stepVadim Konovalov2006-05-041-1/+1
| | | | | | From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" <vkonovalov@Lucent.com> Message-ID: <E3FB32585BF1D411B9E900805FF51A0801BCB454@ru0022exch001u.ru.lucent.com> p4raw-id: //depot/perl@28100
* Re: Merge WinCE into Win32 directory and remove the the WinCE directoryYves Orton2006-05-021-0/+7
| | | | | | | | Message-ID: <9b18b3110605011002m56c0db99n169ae677efb6d059@mail.gmail.com> Plus adjustements to MANIFEST. Also, perlmain.c seemed to be missing from the patch. p4raw-id: //depot/perl@28061
* Sigh. Third time lucky.Steve Hay2006-05-021-2/+2
| | | p4raw-id: //depot/perl@28053
* Ahem. And here's the rest of #28051...Steve Hay2006-05-021-0/+2
| | | p4raw-id: //depot/perl@28052
* Merge WinCE and Win32 directories -- Initial patchYves Orton2006-04-281-0/+12
| | | | | Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com> p4raw-id: //depot/perl@28003
* RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32Jan Dubois2006-03-231-0/+5
| | | | | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy> Also, back out change #27567. p4raw-link: @27567 on //depot/perl: 9bf76a6a2fc16ab628a46452e34352d3e3d71674 p4raw-id: //depot/perl@27576
* MinGW and lib/CORE/Win32.hSisyphus2006-01-051-0/+11
| | | | | | From: "Sisyphus" <sisyphus1@optusnet.com.au> Message-ID: <024301c61119$bca4a840$e201140a@desktop> p4raw-id: //depot/perl@26659
* RE: PeekMessage() call in win32\win32.c win32_async_checkJan Dubois2005-12-161-1/+24
| | | | | | | Message-ID: <015901c60207$abd64210$d563a8c0@candy> (Without the proposed alarm.t test) p4raw-id: //depot/perl@26379
* Remove unused USING_WIDE code from win32 and wince branchesJan Dubois2005-11-081-16/+0
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <078001c5e41e$585c4140$6401a8c0@candy> p4raw-id: //depot/perl@26041
* Fix [perl #24269] socket() call uses non-IFS providersSteve Hay2004-08-061-4/+0
| | | | | | | | causing subsequent print/read to hang or misbehave Patch supplied by Artiom Morozov <artiom@phreaker.net> in the bug report at http://rt.perl.org/rt3/index.html?q=24269 p4raw-id: //depot/perl@23200
* Quoted-printable is evil.Rafael Garcia-Suarez2003-11-021-1/+1
| | | p4raw-id: //depot/perl@21619
* Portability nit for MinGW 3.Greg Matheson2003-11-021-0/+3
| | | | | | | Subject: MinGW-3.1.0-1 _CRTIMP definition preempting win32.h's Message-ID: <20031030141158.A11772@ms> (actual patch by Abe Timmerman) p4raw-id: //depot/perl@21617
* fix Embed.t failure on windows: PERL_SYS_TERM() is implementedGurusamy Sarathy2003-05-111-0/+1
| | | | | | | | in terms of an exported function rather than as an inlined macro (latter wants PL_op_mutex which isn't exported as such) Jarkko: please merge into maint-5.8 p4raw-id: //depot/perl@19484
* Re: Smoke [5.9.0] 19367 FAIL(F) MSWin32 5.0 Service Pack 3 (x86/1 cpu)Abe Timmerman2003-05-021-0/+4
| | | | | Message-Id: <200305011834.35685.abe@ztreet.demon.nl> p4raw-id: //depot/perl@19383
* if (0) the PL_widesyscalls code for now: SarathyJarkko Hietaniemi2003-01-161-1/+1
| | | | | | should take another look to see whether it is really safe to remove the code, too. p4raw-id: //depot/perl@18491
* Re: Is this true that Perl 5.8 uses :crlf as default DISCIPLINE on so ckets?Gurusamy Sarathy2002-11-071-0/+2
| | | | | Message-Id: <200210191911.g9JJBhK02618@smtp3.ActiveState.com> p4raw-id: //depot/perl@18120
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-25/+7
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* integrate a variant of change#17568 from maint-5.6 branch (theGurusamy Sarathy2002-07-161-3/+0
| | | | | | | do_exec parts elided so that change is restricted strictly to windows; binary compatibility stubs not needed) p4raw-link: @17568 on //depot/maint-5.6/perl: 07691bcd6c6d7fd92f508fd5268e700370ea47c2 p4raw-id: //depot/perl@17570
* 5005threads builds again on windowsGurusamy Sarathy2002-05-081-1/+1
| | | p4raw-id: //depot/perl@16461
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Re: [PATCH 5.6.1] Win32: Give user control over window creation behavior of ↵Jan Dubois2002-02-121-0/+6
| | | | | | | system() function Message-ID: <4llh6uc4gnqtk3csmfoqed3t6q85436bb1@4ax.com> p4raw-id: //depot/perl@14657
* Win32 signal emulation cleanup.Nick Ing-Simmons2002-01-261-19/+25
| | | p4raw-id: //depot/perlio@14428
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-2/+4
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* A mostly-stable version of "new" Win32 signal/kill support.Nick Ing-Simmons2002-01-111-0/+3
| | | p4raw-id: //depot/perlio@14192
* (Re-)implement alarm() for Win32.Nick Ing-Simmons2002-01-091-0/+8
| | | p4raw-id: //depot/perlio@14151
* Define the two socket error numbers in terms of WSAEXXXXX equivalentsNick Ing-Simmons2001-12-291-0/+7
| | | | | (just to get util.c to compile) p4raw-id: //depot/perlio@13931
* Win32 compilation tweaks for Blair Zajac.Jarkko Hietaniemi2001-11-251-0/+4
| | | p4raw-id: //depot/perl@13267
* Tweak for build with Mingw32 - __attribute__((unused)) is not likedNick Ing-Simmons2001-10-281-0/+6
| | | | | by gcc -xc++. p4raw-id: //depot/perlio@12737
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-54/+1
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-5/+5
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Re: DYNAMIC_ENV_FETCH HvNAME abuse.Abhijit Menon-Sen2001-06-161-1/+0
| | | | | Message-ID: <20010616074119.A24720@lustre.linux.in> p4raw-id: //depot/perl@10654
* Fix Win32 for new spelling IN_BYTESNick Ing-Simmons2001-05-311-2/+2
| | | p4raw-id: //depot/perlio@10344
* Integrate changes #9493,9494,9495,9496 from maintperlJarkko Hietaniemi2001-04-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | into mainline. fix a broken workaround for Borland compiler in change#4739 (caused weird "short reads" on DATA, which caused op/misc.t to fail) nits spotted by Borland compiler avoid redefinition warnings under Borland 5.02 various nits identified by the Borland 5.5 compiler; remove suppression of a few warnings p4raw-link: @9496 on //depot/maint-5.6/perl: 9d05ad52b0aa7d1f7d147da0c4dbc14de5fe4a37 p4raw-link: @9495 on //depot/maint-5.6/perl: 759997f1e719f33541bed70dd7f79bfa26a930b3 p4raw-link: @9494 on //depot/maint-5.6/perl: 01b59bde1cb7ff62776f3b83c0f2575c79a950a6 p4raw-link: @9493 on //depot/maint-5.6/perl: eea7051a8d4ef81c032143ab3193bc1240ab2e8f p4raw-link: @4739 on //depot/perl: c39cd00800303e8967294e98aa4c427a1872a251 p4raw-id: //depot/perl@9497 p4raw-integrated: from //depot/maint-5.6/perl@9492 'merge in' sv.c utf8.h (@9288..) toke.c (@9292..) ext/File/Glob/bsd_glob.c (@9415..) win32/makefile.mk (@9426..) win32/win32.h (@9494..)
* Abolish USE_WIN32_RTL_ENV.Jarkko Hietaniemi2001-02-231-5/+0
| | | p4raw-id: //depot/perl@8916
* fix open(FOO, ">&MYSOCK") failure under Windows 9x (problem isGurusamy Sarathy2000-12-051-0/+1
| | | | | | due to the notorious GetFileType() bug in Windows 9x, which fstat() tickles) p4raw-id: //depot/perl@7986
* Quieten some noise in Win32 builds:Nick Ing-Simmons2000-12-041-0/+2
| | | | | | | - win32.h is included after <sys/socket.h>, so need to set Win32SCK_IS_STDSCK earlier to avoid re-defined noise in XSUB.h - GCC (& MSVC?) have execv(...,const char *const *) so need a cast from char **. p4raw-id: //depot/perlio@7971
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-0/+4
| | | p4raw-id: //depot/perlio@7970
* Redo #7679 with LFs instead of CRLFs.Jarkko Hietaniemi2000-11-141-1/+1
| | | p4raw-id: //depot/perl@7680
* Get PerlIO building on Win32Benjamin Stuhl2000-11-141-0/+1
| | | | | Message-ID: <20001113230808.18659.qmail@web6305.mail.yahoo.com> p4raw-id: //depot/perl@7679
* on Windows, avoid potential exception (could happen if MSVCRT isn'tGurusamy Sarathy2000-10-091-0/+50
| | | | | being used) when closing a socket handle p4raw-id: //depot/perl@7173
* Reveal Borland's isnan.Vadim Konovalov2000-08-311-0/+2
| | | | | | | Subject: build with BC++ tweak From: "Konovalov, Vadim" <vkonovalov@lucent.com> Message-ID: <402099F49BEED211999700805FC7359F6FACA6@ru0028exch01.spb.lucent.com> p4raw-id: //depot/perl@6939
* move WNOHANG definition to where other such things areGurusamy Sarathy2000-08-171-4/+5
| | | p4raw-id: //depot/perl@6670