summaryrefslogtreecommitdiff
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* embed.pl now reads *var*.h to do its stuff.Nick Ing-Simmons1997-11-302-11/+24
| | | | | | | | | | | | Split generated embed.h into two - new embedvar.h is #included when 'op' etc. will not mess up proto.h etc. Removed #define foo (thr->Tfoo) from thread.h Added some 'missing' symbols to global.sym, removed those in the *var*.h files Has build all MULTIPLICITY/USE_THREADS options on win32 with VC++ (and passed tests), but not with exactly this set of files. p4raw-id: //depot/ansiperl@338
* Globals and structs via macros - part 1 of NNick Ing-Simmons1997-11-291-0/+2
| | | | | | | | | | - introduce perlvars.h intrpvar.h and thrdvar.h - change perl.h and thread.h to include them with appropriate macros defined - result is status-quo but with macros - next step is to tweak embed.* to capitalize on new easy-to-find info. p4raw-id: //depot/ansiperl@337
* VC++ default to threadedNick Ing-Simmons1997-11-291-1/+1
| | | p4raw-id: //depot/ansiperl@336
* Avoid __declspec(thread) by default, for both scratchNick Ing-Simmons1997-11-295-2/+56
| | | | | return areas and THR stuff. Use struct thread intern instead. p4raw-id: //depot/ansiperl@335
* Non-threaded build fixNick Ing-Simmons1997-11-291-0/+6
| | | p4raw-id: //depot/ansiperl@334
* Sort out malloc_mutex for perl's mallocNick Ing-Simmons1997-11-292-6/+8
| | | | | | Remove BINCOMPAT3 from embed.pl Add dependancy to CORE_H for PERL95_OBJ p4raw-id: //depot/ansiperl@333
* Integrate win32 into ansiperlNick Ing-Simmons1997-11-291-4/+0
|\ | | | | p4raw-id: //depot/ansiperl@332
| * [win32] integrate winansi.Gurusamy Sarathy1997-11-2812-6/+2919
| |\ | | | | | | p4raw-id: //depot/win32/perl@328
| * \ Integrate win32 branch back into mainline.Malcolm Beattie1997-11-277-12/+13
| |\ \ | | | | | | | | p4raw-id: //depot/perl@322
| * | | 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
* | | | GCC + Threads on Win32 - best gcc results yetNick Ing-Simmons1997-11-296-10/+28
| | | | | | | | | | | | p4raw-id: //depot/ansiperl@331
* | | | Builds completely with Mingw32, dynamic loaded extensionsNick Ing-Simmons1997-11-285-80/+92
| |_|/ |/| | | | | | | | | | | don't work yet - suspect __declspec() non-implemented issues. p4raw-id: //depot/ansiperl@329
* | | GCC builds perl.dll and perl.exe on Win32Nick Ing-Simmons1997-11-272-14/+20
| | | | | | | | | p4raw-id: //depot/ansiperl@326
* | | Add files and tweak others to get 'native' Mingw32 gcc port asNick Ing-Simmons1997-11-2711-2/+2909
| |/ |/| | | | | | | | | | | | | | | | | 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-266-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | [win32] reverse integrate mainlineGurusamy Sarathy1997-11-252-8/+8
|\ \ | |/ | | p4raw-id: //depot/win32/perl@302
| * Integrate from ansi branch to mainline.Malcolm Beattie1997-11-2516-71/+351
| |\ | |/ |/| p4raw-id: //depot/perl@296
| * AIX patch (including Configure support for {sched,pthread}_yield,Jarkko Hietaniemi1997-11-252-5/+5
| | | | | | | | | | | | | | pthread initial detach state, renaming perl_thread to perl_os_thread and struct thread to struct perl_thread): Subject: Re: _54 on AIX p4raw-id: //depot/perl@290
| * Rename perl_thread to perl_os_thread.Malcolm Beattie1997-11-251-1/+1
| | | | | | p4raw-id: //depot/perl@289
* | Munge pseudo-Configure stuff to add -thread to archname asNick Ing-Simmons1997-11-227-31/+50
| | | | | | | | | | | | | | Malcolm seems to think that is way to test for threads. Update @INC stuffing hackery to have traditional @INC search order archlib, privlib, sitearch, site. p4raw-id: //depot/ansiperl@282
* | Builds and passes all but english.t on win32 VC++Nick Ing-Simmons1997-11-223-12/+48
| | | | | | p4raw-id: //depot/ansiperl@281
* | ansiperl builds with Borland C++ againNick Ing-Simmons1997-11-225-13/+53
| | | | | | p4raw-id: //depot/ansiperl@280
* | Resolve ansiperl against win32Nick Ing-Simmons1997-11-221-67/+19
|\ \ | |/ | | p4raw-id: //depot/ansiperl@278
* | Basic integrate of lastest perl into ansiperlNick Ing-Simmons1997-11-219-6/+93
|\ \ | |/ | | p4raw-id: //depot/ansiperl@272
| * [Win32] Export our own FD_SET() et al to complete sockets-as-handles pretense.Gurusamy Sarathy1997-11-186-72/+76
| | | | | | p4raw-id: //depot/win32/perl@261
* | MYMALLOC for Win32:Nick Ing-Simmons1997-11-1612-17/+143
| | | | | | | | | | | | | | | | | | | | | | 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
* | Implement dTHR via __declspec(thread) - part 2Nick Ing-Simmons1997-11-153-7/+18
| | | | | | p4raw-id: //depot/ansiperl@258
* | Use __declspec(thread) var rather tha TslAlloc & co.Nick Ing-Simmons1997-11-153-7/+21
|/ | | p4raw-id: //depot/ansiperl@257
* Fix various details in win32 makefiles and Config.pm setup.Gurusamy Sarathy1997-11-145-40/+54
| | | | | | | | | | - ldflags is set for both compilers now - extensions list is now correct - delete perl95.exe on distclean - cf_time now gets updated (once) - ccdlflags is set for Borland - fix startperl so dprofpp works p4raw-id: //depot/win32/perl@249
* More cleanups of win32/win32*.[ch] files. win32/win32iop.h nowGurusamy Sarathy1997-11-125-123/+110
| | | | | | | | | 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
* Really delete deleted files.Gurusamy Sarathy1997-11-122-2/+0
| | | p4raw-id: //depot/win32/perl@243
* Egregious IOsubsystem code excised. Phew, what a relief! TwoGurusamy Sarathy1997-11-1211-608/+286
| | | | | | | | 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-124-197/+26
| | | | | | | - s/stolen/win32/g - s/(CROAK|WARN)/lc($1)/eg - remove deadcode from most places p4raw-id: //depot/win32/perl@241
* Carry over changes in ansiperl branch. Win32 branch is nowGurusamy Sarathy1997-11-122-8/+3
| | | | | the leading edge. p4raw-id: //depot/win32/perl@240
* Add missing win32_closesocket() and export it (extension writers' complaint).Gurusamy Sarathy1997-11-123-1/+13
| | | p4raw-id: //depot/win32/perl@239
* Clean up win32/win32sck.c (runtime load of Winsock now gone, it can beGurusamy Sarathy1997-11-124-266/+155
| | | | | | done cleaner, if really needed (perhaps only for efficiency reasons?)). Redundant EXTERN_C definitions and related warnings fixed. p4raw-id: //depot/win32/perl@238
* Minor tweaks to add a thread_intern struct that should ultimatelyGurusamy Sarathy1997-11-122-35/+43
| | | | | | contain all the win32-specific statics. Win32 branch now passes all tests with or w/o USE_THREADS. p4raw-id: //depot/win32/perl@235
* Initial (untested) integration of mainline changes.Gurusamy Sarathy1997-11-113-8/+5
|\ | | | | p4raw-id: //depot/win32/perl@234
| * Conditionalize english.t,Nick Ing-Simmons1997-11-094-13/+65
| | | | | | | | | | | | | | Enhance times() for NT, (Failed) attempt to implement alarm(), Fixed config.h dependancy in makefile.mk p4raw-id: //depot/ansiperl@219
| * Dick Hardt's patch for build on AlphaNick Ing-Simmons1997-11-091-1/+1
| | | | | | p4raw-id: //depot/ansiperl@218
| * MakeMaker not in vofig noise fix for dmakeNick Ing-Simmons1997-11-092-3/+4
| | | | | | p4raw-id: //depot/ansiperl@217
| * Cleanup MakeMaker 'not in config' noiseNick Ing-Simmons1997-11-082-4/+6
| | | | | | p4raw-id: //depot/ansiperl@215
| * Get threads working again on Win32Nick Ing-Simmons1997-11-083-12/+28
| | | | | | | | | | | | | | | | | | Root cause of fail was init_thread_intern() in new_struct_thread() (which is called in parent thread) clobbering dTHR of parent thread. It is doubtfull if setting 'self' in new_struct_thread() is 'right' but left in for now. p4raw-id: //depot/ansiperl@213
| * Add :base_thread to :default in Opcode.pmNick Ing-Simmons1997-11-081-2/+2
| | | | | | | | | | | | | | | | | | This allows lib/safe.t to pass when threaded. It is unclear if 'lock' should be safe as it allows denial of service attack, but could not figure out how to add just 'specific' (sic) to :default without triggering 'already tagged' warning noise. p4raw-id: //depot/ansiperl@212
| * Reverse integrate Malcolm's chanes into localNick Ing-Simmons1997-11-071-2/+2
| | | | | | | | | | | | | | | | repository, then import result back into my view of Malcolm's repository. Builds and passes (most) tests with GNU C++/Solaris and Borland C++, Win32. p4raw-id: //depot/ansiperl@210
| * Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)Nick Ing-Simmons1997-11-0513-57/+126
| | | | | | p4raw-id: //depot/ansiperl@203
| * win32thread.* not in MANIFEST which has muddled movingNick Ing-Simmons1997-11-012-33/+63
| | | | | | | | | | back and forth between depots. p4raw-id: //depot/ansiperl@198
| * Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-313-26/+84
| | | | | | | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
* | Win32 branch now contains all non-ansification changes in ansiperl branch.Gurusamy Sarathy1997-11-105-11/+20
| | | | | | | | | | | | | | | | | | USE_THREADS case builds and passes all tests using both compilers. Additional tweaks: - fixup win32/makedef.pl to skip more symbols for non-thread build. - sync win32/Makefile with win32/makefile.mk >>>Non-thread build fails a lot of tests.<<< p4raw-id: //depot/win32/perl@222
* | Initial (untested) merge of all non-ansi changes on ansiperl branchGurusamy Sarathy1997-11-1015-115/+331
| | | | | | | | | | into win32 branch. p4raw-id: //depot/win32/perl@221