summaryrefslogtreecommitdiff
path: root/win32/perllib.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix static extensions when building with nmake on Win32Steve Hay2005-07-151-6/+0
| | | | | | | | | | | | | | | They were broken because change 24806 forgot to add -DWITH_STATIC to the recipe for compiling perllib.c which meant that perllibst.h was not included and hence although they built OK, the static extensions could not actually be used! In fact, since perllibst.h is always created (it is more or less empty when static extensions are not being used), there is no need for -DWITH_STATIC at all. So rather than adding it to Makefile, just drop it from makefile.mk and perllib.c. Also add the missing cleanup of perllibst.h to Makefile. p4raw-id: //depot/perl@25150
* enable statically linked extensions for Win32Vadim Konovalov2004-10-121-0/+15
| | | | | Message-ID: <80173417046.20041011225700@vkonovalov.ru> p4raw-id: //depot/perl@23360
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-1/+1
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-1/+0
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* Win32 fixes:Nick Ing-Simmons2002-01-131-0/+14
| | | | | | - vmem.h hack to handle free-by-wrong-thread after eval "". - Initialize timerid p4raw-id: //depot/perlio@14232
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-131/+3
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-1/+1
| | | | | | 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
* perl_clone_host() needs PERL_IMPLICIT_SYS.Jarkko Hietaniemi2001-06-261-1/+1
| | | p4raw-id: //depot/perl@10970
* Adds perl_clone_host under IMPLICIT SYSArtur Bergman2001-06-261-0/+23
| | | | | Message-ID: <B75E5BA5.1A7C%artur@contiller.se> p4raw-id: //depot/perl@10954
* Win32 PERL_IMPLICIT_SYS passes all tests with USE_PERLIONick Ing-Simmons2000-12-051-3/+6
| | | | | | | - calloc/free suffer from damage on TerminateThread() - use PerlMemShared (as originally planned) now fixed - avoid doing anything important on DLL "detach". p4raw-id: //depot/perlio@8001
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-2/+1
| | | p4raw-id: //depot/perlio@7970
* get sources building on windows+MSVC again (untested with otherGurusamy Sarathy2000-11-231-0/+2
| | | | | compilers) p4raw-id: //depot/perl@7827
* Win32 builds and runs (mostly) with USE_PERLIO.Nick Ing-Simmons2000-11-211-0/+1
| | | | | | PERLIO=perlio passes all tests. PERLIO=stdio (sadly the default) hangs in t.pragma/warnings.t #319 p4raw-id: //depot/perlio@7796
* free TLS slot properly on WindowsGurusamy Sarathy2000-08-211-0/+4
| | | p4raw-id: //depot/perl@6748
* winsock cleanup never done on Windows (leads to handle leaks)Gurusamy Sarathy2000-07-051-0/+5
| | | p4raw-id: //depot/perl@6317
* due to an oversight during PERL_OBJECT migration, hosts createdGurusamy Sarathy2000-03-161-11/+13
| | | | | | | | | by pseudo-fork were never being deleted, leading to a sizeable memory leak; std FDs in pseudo-children are now closed automatically to avoid resource leaks; basic infinite looping fork() test works without leaking again in non-PERL_OBJECT build p4raw-id: //depot/perl@5761
* perldelta update, typos and whitespace adjustmentsGurusamy Sarathy2000-03-111-6/+5
| | | p4raw-id: //depot/perl@5640
* patch to fix mingw32 build under USE_IMP_SYS (from Benjamin Stuhl);Gurusamy Sarathy2000-03-021-0/+3
| | | | | some parts not applied p4raw-id: //depot/perl@5445
* Windows miscellanyGurusamy Sarathy2000-03-011-0/+4
| | | p4raw-id: //depot/perl@5388
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-26/+4
| | | p4raw-id: //depot/perl@5342
* various Windows tweaks: make $^E a little less buggy by savingGurusamy Sarathy2000-02-071-2/+8
| | | | | | and restoring system error across TLS fetch; avoid needless copying of buffers p4raw-id: //depot/perl@5024
* windows build fixups from uniform DLL name change to perl56.dllGurusamy Sarathy2000-01-251-74/+36
| | | p4raw-id: //depot/perl@4884
* Win9x + GCC update from Benjamin Stuhl <sho_pi@hotmail.com>Gurusamy Sarathy1999-12-281-1/+1
| | | p4raw-id: //depot/perl@4729
* minor USE_ITHREADS tweaksGurusamy Sarathy1999-12-011-1/+0
| | | p4raw-id: //depot/perl@4603
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-1352/+150
| | | p4raw-id: //depot/perl@4602
* cosmetic tweaksGurusamy Sarathy1999-11-141-2/+0
| | | p4raw-id: //depot/perl@4584
* sundry cleanups for cloned interpreters (only known failure modeGurusamy Sarathy1999-11-141-5/+11
| | | | | | is due to regexps keeping non-constant data in their compiled structures) p4raw-id: //depot/perl@4579
* [5.005_62 PATCH] support link() on WinNT and NTFSJan Dubois1999-11-131-0/+7
| | | | | | | | 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
* cloned interpreters now actually run and pass all but 55/10386Gurusamy Sarathy1999-11-131-2/+4
| | | | | | | | | | | | | | | | | | | subtests; various subtle bugs, new and old, observed when running cloned interpreters have been fixed still to do: | * dup psig_ptr table | * merge PADOP GVs support with "our" SVs (existing PADOPs are too | simple-minded and grab one pad entry each, heavily bloating | the pad by not avoiding dups) | * overloaded constants are not really immutable--they need to | be PADOPs | * allocator for constants and OPs need to be spelled differently | (shared vs interpreter-local allocations) | * optree refcounting is still missing locking (macros are in place) | * curstackinfo, {mark,scope,save,ret}stack need to be cloned so | perl_clone() can be called from within runops*() p4raw-id: //depot/perl@4553
* another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-1/+1
| | | | | | | | | in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/ (CvFILE() may yet come in handy somewhere); adjust compiler doodads to suit p4raw-link: @4485 on //depot/perl: b195d4879f55e1610299cb9b1b55356940c2a577 p4raw-id: //depot/perl@4545
* preliminary support for perl_clone() (still needs work inGurusamy Sarathy1999-11-081-0/+8
| | | | | | | | the following areas: SVOPs must indirect via pad; context stack, scope stack, and runlevels must be cloned; must hook up the virtualized pseudo-process support provided by "host"; ...) p4raw-id: //depot/perl@4538
* win32 tweakGurusamy Sarathy1999-10-251-0/+1
| | | p4raw-id: //depot/perl@4450
* support PERL_IMPLICIT_SYS with MULTIPLICITY/USE_THREADS onGurusamy Sarathy1999-10-171-196/+213
| | | | | windows p4raw-id: //depot/perl@4402
* misc PERL_OBJECT tweaks; perlcore.dll is now perl56.dllGurusamy Sarathy1999-07-281-9/+57
| | | p4raw-id: //depot/perl@3819
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-33/+26
| | | | | | | | | | | | | | | | 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
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-0/+2
| | | p4raw-id: //depot/perl@3660
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-21/+1465
| | | | | | | | | 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
* various little tweaks; most globals are now in intrpvar.h, ninterpsGurusamy Sarathy1999-06-111-2/+0
| | | | | is temporarily gone p4raw-id: //depot/perl@3535
* win32 build fixesGurusamy Sarathy1999-06-101-5/+6
| | | p4raw-id: //depot/perl@3525
* remove _() non-ansismGurusamy Sarathy1999-06-021-2/+2
| | | p4raw-id: //depot/perl@3518
* PL_ scheme Builds under Minw32 - some SEGFAULT snagsNick Ing-Simmons1998-07-181-1/+1
| | | p4raw-id: //depot/ansiperl@1537
* PL_ stuff for threadsNick Ing-Simmons1998-07-181-2/+2
| | | p4raw-id: //depot/ansiperl@1534
* various win32 fixesGurusamy Sarathy1998-06-141-1/+1
| | | | | | | | | | | - fixes that silence VC noises about dup exports, non-default libs, and unsupported *.def file directives - s/inplace/inplace_label/ malloc.c - update Config{usemymalloc} based on d_mymalloc - export Perl_*Vars - fix makefiles to not build miniperl.exe twice, and to make it properly when defaults are changed p4raw-id: //depot/perl@1129
* [win32] Various win32 fixesGurusamy Sarathy1998-01-041-2/+2
| | | | | | | | | | | | | | | - 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] Revert to keeping (some) constant strings as globalsGurusamy Sarathy1997-12-021-0/+2
| | | p4raw-id: //depot/win32/perl@349
* Create a struct for all perls globals (as an option)Nick Ing-Simmons1997-12-011-0/+8
| | | | | | | 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
* Stop double initialisation of malloc_mutex:Ilya Zakharevich1997-11-271-4/+0
| | | | | Subject: 5.004_55: Double initialiazation of malloc_mutex p4raw-id: //depot/perl@316
* MYMALLOC for Win32:Nick Ing-Simmons1997-11-161-0/+4
| | | | | | | | | | | 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
* Egregious IOsubsystem code excised. Phew, what a relief! TwoGurusamy Sarathy1997-11-121-5/+0
| | | | | | | | 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
* Clean up win32/win32sck.c (runtime load of Winsock now gone, it can beGurusamy Sarathy1997-11-121-6/+0
| | | | | | done cleaner, if really needed (perhaps only for efficiency reasons?)). Redundant EXTERN_C definitions and related warnings fixed. p4raw-id: //depot/win32/perl@238