summaryrefslogtreecommitdiff
path: root/win32/win32.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: Win32 modules & cygwinYitzchak Scott-Thoennes2007-02-221-60/+8
| | | | | | | | | | From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Message-ID: <1254.67.42.109.122.1171965018.squirrel@67.42.109.122> Also includes integration & deletion of win32/ext/Win32API to ext/Win32API, and addition of copyright message and corrections to spacing/tabbing as suggested by Jan Dubois. p4raw-id: //depot/perl@30379
* [perl #41318] Patch: win32.c typo in #define MULTIPLICITYDevin Heitmueller2007-01-231-1/+1
| | | | | | From: "Devin Heitmueller" (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-1834-1169505975-229.41318-75-0@perl.org> p4raw-id: //depot/perl@29930
* Re: [PATCH] win32_async_check() can still loop indefinitelyJan Dubois2007-01-181-1/+1
| | | | | Message-ID: <rigoq25vda3sg4i7ppdb5o2jhvuiq15kqj@4ax.com> p4raw-id: //depot/perl@29868
* Re: [PATCH] ANSIfy the PATH environment variable on WindowsJan Dubois2007-01-091-88/+89
| | | | | | | | Message-ID: <eei5q29hrchpam2i5g0000mbvu0b1hrm83@4ax.com> Fixes the Borland build, in which the PATH was getting corrupted when the variable that was just putenv()'d got free()'d p4raw-id: //depot/perl@29732
* Revert change #29708 (useless)Rafael Garcia-Suarez2007-01-091-3/+0
| | | | | p4raw-link: @29708 on //depot/perl: 2ba2769ea20cab9d830589a267b2b38118c75056 p4raw-id: //depot/perl@29728
* Re: [PATCH] ANSIfy the PATH environment variable on WindowsYves Orton2007-01-071-0/+3
| | | | | Message-ID: <9b18b3110701071151y13eaa554w257d2d5016ee0983@mail.gmail.com> p4raw-id: //depot/perl@29708
* Silence various VC6 warningsSteve Hay2007-01-051-2/+1
| | | p4raw-id: //depot/perl@29692
* ANSIfy the PATH environment variable on WindowsJan Dubois2007-01-051-0/+96
| | | | | Message-ID: <7coqp2pme3r30qaonticuv6c6licieg4cg@4ax.com> p4raw-id: //depot/perl@29690
* Add error handling to win32_ansipathJan Dubois2007-01-051-19/+23
| | | | | Message-ID: <f2oqp2dbdglim8bda4q1kajt9k3cvpqqga@4ax.com> p4raw-id: //depot/perl@29689
* [PATCH] Use short pathnames in $^X and @INC if the long form cannot be ↵Jan Dubois2007-01-031-12/+100
| | | | | | | | | | | | | represented in the current codepage Date: Thu, 28 Dec 2006 18:59:40 -0800 Message-ID: <vq09p2p09k6rcu6c9t0mab3vnc335ghg9m@4ax.com> Subject: Re: [PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented in the current codepage From: Jan Dubois <jand@ActiveState.com> Date: Wed, 03 Jan 2007 08:12:35 -0800 Message-ID: <orknp2pj17265modfosjkp2qtt4bdgtgjp@4ax.com> p4raw-id: //depot/perl@29675
* Implement killpg() for MSWin32Jan Dubois2006-12-211-49/+189
| | | | | Message-ID: <m8hjo2pasv3hdbhd1sj9sasen7tm38hrhp@4ax.com> p4raw-id: //depot/perl@29605
* let readdir() return the alternate (short) filename if the long name is ↵Jan Dubois2006-12-201-9/+60
| | | | | | | outside the current codepage Message-ID: <8nmgo2dr5gtmv00gtfu07g7rdgitr859jk@4ax.com> p4raw-id: //depot/perl@29597
* get ext/Win32/Win32.xs to compile on cygwinJan Dubois2006-12-121-1/+31
| | | | | | | | | | Date: Mon, 11 Dec 2006 13:09:09 -0800 Message-ID: <isfrn2tbfleo1svmmi5kh673f4uh69am11@4ax.com> and: Date: Mon, 11 Dec 2006 15:08:53 -0800 Message-ID: <kvorn2h0d14jo3khmmj2a9svsp2mplrodv@4ax.com> p4raw-id: //depot/perl@29528
* re: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xsJan Dubois2006-12-111-1/+2
| | | | | Message-ID: <9moon29qtn5c23t9fer229ealsu06bkf11@4ax.com> p4raw-id: //depot/perl@29511
* Second patch from:Jan Dubois2006-12-111-503/+30
| | | | | | Subject: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs Message-ID: <lc9kn2tb0p5sdd4q69rbc7067r4imar59r@4ax.com> p4raw-id: //depot/perl@29510
* Re: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: ↵Jarkko Hietaniemi2006-12-051-3/+2
| | | | | | | | | | | [PATCH] abstract mempool header testing] Message-ID: <4574ED1F.40508@iki.fi> Re-instates #29424 (previously reverted by #29451), now fixed to work with PERL_IMPLICIT_SYS, thanks to Jan Dubois. Also adds PERLIO_TERM to the Symbian port. p4raw-id: //depot/perl@29465
* Change #29424 may well be correct in itself, but currently doesn'tSteve Hay2006-12-041-2/+3
| | | | | | | | | | | | | | | work when perl is built with PERL_IMPLICIT_SYS because PERLIO_TERM uses PerlMemShared_free() which, in that case, involves the perlhost that has already been freed itself by perl_free(), which is called before PERL_SYS_TERM(). The order of perl_destruct(), perl_free(), PERL_SYS_TERM() cannot be changed (it is advertised in perlembed for a start), so just revert #29424 and the appropriate parts of #29442 for now. Perhaps PL_perlio_fd_refcnt needs allocating differently, or else the perlhost needs freeing later (after PerlIO)? p4raw-id: //depot/perl@29451
* I think #29060 / #29073 missed thisSteve Hay2006-11-301-0/+2
| | | p4raw-id: //depot/perl@29424
* Get Visual C++ 2005 (aka Visual C++ 8.x) support off the groundSteve Hay2006-11-061-0/+25
| | | | | | | | | | | | | 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
* It seems only HWND__* is needed by MinGW g++.Steve Peters2006-10-301-1/+1
| | | p4raw-id: //depot/perl@29164
* Patch 29155 breaks VCYves Orton2006-10-301-2/+8
| | | | | | | Message-ID: <9b18b3110610300808u39cc6cefxbee1468a149dc186@mail.gmail.com> Plus an additional casting. p4raw-id: //depot/perl@29159
* Initial cleanups to support compiling Win32 with MinGW g++.Steve Peters2006-10-301-7/+10
| | | p4raw-id: //depot/perl@29155
* Re: [PATCH] Patch for win32.c to fix #38723 and #39531Andrew Savige2006-09-201-11/+11
| | | | | Message-ID: <20060919134231.87370.qmail@web56407.mail.re3.yahoo.com> p4raw-id: //depot/perl@28873
* Need to migrate the refcounted_he structure to be properly shared.Nicholas Clark2006-04-111-0/+1
| | | | | | Add a mutex for manipulated their reference counts. Unwrap the structure, so that for ithreads it can store SVs in pads. p4raw-id: //depot/perl@27764
* win32_async_check must *always* check for pending signalsJan Dubois2006-03-201-0/+2
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <00d401c64a00$96af8ae0$2217a8c0@candy> p4raw-id: //depot/perl@27545
* win32_pclose() error exit doesn't unlock mutexJan Dubois2006-03-171-0/+1
| | | | | Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy> p4raw-id: //depot/perl@27528
* win32_async_check() can loop indefinitely; 5.8.8 regressionJan Dubois2006-03-171-1/+10
| | | | | Message-ID: <02ab01c64957$62142e70$6062a8c0@candy> p4raw-id: //depot/perl@27527
* Implement ${^WIN32_SLOPPY_STAT}Jan Dubois2006-02-231-10/+16
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <019601c63726$7fcca200$6062a8c0@candy> p4raw-id: //depot/perl@27283
* stat() on Windows doesn't handle trailing slashes/backslashes correctlyJan Dubois2006-02-161-6/+20
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <017901c63297$08e1e3f0$2217a8c0@candy> p4raw-id: //depot/perl@27200
* Fix bug in change #26379Jan Dubois2005-12-211-1/+1
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <046001c605c7$69470290$d563a8c0@candy> p4raw-id: //depot/perl@26430
* RE: PeekMessage() call in win32\win32.c win32_async_checkJan Dubois2005-12-161-102/+136
| | | | | | | Message-ID: <015901c60207$abd64210$d563a8c0@candy> (Without the proposed alarm.t test) p4raw-id: //depot/perl@26379
* Remove an unused variable left over from change #26041Steve Hay2005-11-081-1/+1
| | | | | p4raw-link: @26041 on //depot/perl: 8c56068e9474ff1eb28abd58496550d54581dd25 p4raw-id: //depot/perl@26044
* Remove unused USING_WIDE code from win32 and wince branchesJan Dubois2005-11-081-362/+96
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <078001c5e41e$585c4140$6401a8c0@candy> p4raw-id: //depot/perl@26041
* RE: [perl #37571] -z FH broken with Borland build Paul Marquess2005-11-021-1/+23
| | | | | | From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <003501c5df06$7d63fdb0$0505140a@myopwv.com> p4raw-id: //depot/perl@25952
* Make change 25286 betterSteve Hay2005-08-121-6/+6
| | | | | Thanks to John E. Malmberg <wb8tyw@qsl.net> for pointing this out. p4raw-id: //depot/perl@25288
* Silence Win32 compiler warnings following change 25280Steve Hay2005-08-111-3/+3
| | | p4raw-id: //depot/perl@25286
* Silence Win32 warnings when not using USE_LARGE_FILESSteve Hay2005-07-221-3/+3
| | | p4raw-id: //depot/perl@25211
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-19/+19
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Silence some cast warnings from bcc32 on Win32Steve Hay2005-07-011-0/+12
| | | | | | See the thread starting here for arguments: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00994.html p4raw-id: //depot/perl@25033
* Fix typo in win32.cSteve Hay2005-06-241-1/+1
| | | | | Doesn't fix bcc32 + USE_LARGE_FILES, though :-( p4raw-id: //depot/perl@24977
* Make opendir() filename const in Win32-land & friendsSteve Hay2005-06-241-1/+1
| | | | | | | | That fact that it wasn't const already was highlighted by a warning from pp_open_dir() generated by change 24743. Rather than undo the const change in pp_open_dir(), this seems to make more sense. Hope I haven't broken Netware or WinCE. p4raw-id: //depot/perl@24974
* Silence some bcc32 compiler warningsSteve Hay2005-06-221-2/+2
| | | | | ("Superfluous & with function") p4raw-id: //depot/perl@24937
* Silence STDERR grumblings from Borland's math library.Steve Hay2005-06-171-0/+10
| | | | | | This fixes failures in ext/B/t/deparse.t and lib/warnings.t (and renders change 24870 obsolete, hence it is reverted here). p4raw-id: //depot/perl@24883
* Strip \\?\ prefix from Perl path in win32/win32.c:set_w32_module_name()Jan Dubois2005-06-171-0/+4
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-Id: <200506161843.j5GIhKhL024472@smtp3.ActiveState.com> p4raw-id: //depot/perl@24880
* Fix USE_SITECUSTOMIZE on Win32Steve Hay2005-03-311-1/+2
| | | | | | | This fixes the problem described in: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-03/msg00740.html p4raw-id: //depot/perl@24122
* Fix [perl #24269] socket() call uses non-IFS providersSteve Hay2004-08-061-2/+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
* Use VirtualAlloc() more flexibly when using it to mimic UNIX's sbrk().Steve Hay2004-07-161-11/+30
| | | | | | | | | | | | | | | | | CC: perl-win32-porters@listserv.ActiveState.com Message-ID: <40F6B295.8010804@uk.radan.com> Assumes perl's malloc can now handle non-contiguous memory (believed to be true). Does not address threading issues. "The attached patch (against blead) makes sbrk() initially try to extend the existing block of memory exactly as it currently does, but to not fail immediately if it can't -- it now frees up that part of whatever it had previously reserved+committed which hadn't actually been used yet, resets all its static variables and basically starts anew." p4raw-id: //depot/perl@23128
* This seems to be needed to get COW working on Win32Nicholas Clark2004-07-151-2/+4
| | | p4raw-id: //depot/perl@23111
* Problem with system() on Win9x and command.com (perl 5.8.x-5.9.x)bilbo@ua.fm2004-05-061-2/+3
| | | | | Message-ID: <611491036.20040428001955@ua.fm> p4raw-id: //depot/perl@22789
* re: [PATCH] for bug 28525: Buffer overflow issue in the Win32 distribution ↵Jan Dubois2004-04-141-7/+6
| | | | | | | of 5.8.3 Message-ID: <vm7p70h7au8unrnq4jp85oich7n71ar5ab@4ax.com p4raw-id: //depot/perl@22691