platform/upstream/perl.git
26 years ago[win32] Reverse integrate to get all of Nick's changes over at winansi (win32/perl/*
Gurusamy Sarathy [Mon, 1 Dec 1997 04:37:06 +0000 (04:37 +0000)]
[win32] Reverse integrate to get all of Nick's changes over at winansi (win32/perl/*
is identical to ansiperl/* now)

p4raw-id: //depot/win32/perl@343

26 years agoBuilds and passes all tests with gcc on Win32 - phew!
Nick Ing-Simmons [Mon, 1 Dec 1997 04:01:57 +0000 (04:01 +0000)]
Builds and passes all tests with gcc on Win32 - phew!

p4raw-id: //depot/ansiperl@342

26 years agoCreate a struct for all perls globals (as an option)
Nick Ing-Simmons [Mon, 1 Dec 1997 02:54:29 +0000 (02:54 +0000)]
Create a struct for all perls globals (as an option)
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

26 years agoFixup exports in non -DDEBUGGING case
Nick Ing-Simmons [Sun, 30 Nov 1997 20:21:10 +0000 (20:21 +0000)]
Fixup exports in non -DDEBUGGING case

p4raw-id: //depot/ansiperl@340

26 years agoDisable hard-coded -DDEBUGGING
Nick Ing-Simmons [Sun, 30 Nov 1997 20:10:04 +0000 (20:10 +0000)]
Disable hard-coded -DDEBUGGING

p4raw-id: //depot/ansiperl@339

26 years agoembed.pl now reads *var*.h to do its stuff.
Nick Ing-Simmons [Sun, 30 Nov 1997 20:00:19 +0000 (20:00 +0000)]
embed.pl now reads *var*.h to do its stuff.
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

26 years agoGlobals and structs via macros - part 1 of N
Nick Ing-Simmons [Sat, 29 Nov 1997 23:55:31 +0000 (23:55 +0000)]
Globals and structs via macros - part 1 of N
- 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

26 years agoVC++ default to threaded
Nick Ing-Simmons [Sat, 29 Nov 1997 19:13:55 +0000 (19:13 +0000)]
VC++ default to threaded

p4raw-id: //depot/ansiperl@336

26 years agoAvoid __declspec(thread) by default, for both scratch
Nick Ing-Simmons [Sat, 29 Nov 1997 18:38:26 +0000 (18:38 +0000)]
Avoid __declspec(thread) by default, for both scratch
return areas and THR stuff. Use struct thread intern instead.

p4raw-id: //depot/ansiperl@335

26 years agoNon-threaded build fix
Nick Ing-Simmons [Sat, 29 Nov 1997 17:49:04 +0000 (17:49 +0000)]
Non-threaded build fix

p4raw-id: //depot/ansiperl@334

26 years agoSort out malloc_mutex for perl's malloc
Nick Ing-Simmons [Sat, 29 Nov 1997 17:29:07 +0000 (17:29 +0000)]
Sort out malloc_mutex for perl's malloc
Remove BINCOMPAT3 from embed.pl
Add dependancy to CORE_H for PERL95_OBJ

p4raw-id: //depot/ansiperl@333

26 years agoIntegrate win32 into ansiperl
Nick Ing-Simmons [Sat, 29 Nov 1997 16:21:01 +0000 (16:21 +0000)]
Integrate win32 into ansiperl

p4raw-id: //depot/ansiperl@332

26 years agoGCC + Threads on Win32 - best gcc results yet
Nick Ing-Simmons [Sat, 29 Nov 1997 01:35:45 +0000 (01:35 +0000)]
GCC + Threads on Win32 - best gcc results yet

p4raw-id: //depot/ansiperl@331

26 years agoUn-botch gcc workround
Nick Ing-Simmons [Fri, 28 Nov 1997 23:05:08 +0000 (23:05 +0000)]
Un-botch gcc workround

p4raw-id: //depot/ansiperl@330

26 years agoBuilds completely with Mingw32, dynamic loaded extensions
Nick Ing-Simmons [Fri, 28 Nov 1997 22:39:39 +0000 (22:39 +0000)]
Builds completely with Mingw32, dynamic loaded extensions
don't work yet - suspect __declspec() non-implemented issues.

p4raw-id: //depot/ansiperl@329

26 years ago[win32] integrate winansi.
Gurusamy Sarathy [Fri, 28 Nov 1997 05:48:15 +0000 (05:48 +0000)]
[win32] integrate winansi.

p4raw-id: //depot/win32/perl@328

26 years ago[win32] Integrate mainline.
Gurusamy Sarathy [Fri, 28 Nov 1997 05:38:48 +0000 (05:38 +0000)]
[win32] Integrate mainline.

p4raw-id: //depot/win32/perl@327

26 years agoGCC builds perl.dll and perl.exe on Win32
Nick Ing-Simmons [Thu, 27 Nov 1997 19:13:36 +0000 (19:13 +0000)]
GCC builds perl.dll and perl.exe on Win32

p4raw-id: //depot/ansiperl@326

26 years agoAdd files and tweak others to get 'native' Mingw32 gcc port as
Nick Ing-Simmons [Thu, 27 Nov 1997 17:46:30 +0000 (17:46 +0000)]
Add files and tweak others to get 'native' Mingw32 gcc port as
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

26 years agoGive dire warnings about the IRIX 6.2 kernel panic.
Malcolm Beattie [Thu, 27 Nov 1997 17:08:06 +0000 (17:08 +0000)]
Give dire warnings about the IRIX 6.2 kernel panic.

p4raw-id: //depot/perl@324

26 years agoFix prototypes of sv_vsetpvfn and sv_vcatpvfn:
Andreas König [Thu, 27 Nov 1997 17:18:53 +0000 (18:18 +0100)]
Fix prototypes of sv_vsetpvfn and sv_vcatpvfn:
Subject: Re: ANNOUNCE: perl 5.004_55 is available

p4raw-id: //depot/perl@323

26 years agoIntegrate win32 branch back into mainline.
Malcolm Beattie [Thu, 27 Nov 1997 16:12:15 +0000 (16:12 +0000)]
Integrate win32 branch back into mainline.

p4raw-id: //depot/perl@322

26 years agoFix t/lib/safe2.t for SunOS 4.1.3:
Paul Marquess [Thu, 27 Nov 1997 10:46:42 +0000 (10:46 +0000)]
Fix t/lib/safe2.t for SunOS 4.1.3:
Subject: Re: ANNOUNCE: perl 5.004_55 is available

p4raw-id: //depot/perl@321

26 years agoFix MYMALLOC (wrong #define in malloc.c):
Ilya Zakharevich [Thu, 27 Nov 1997 01:08:16 +0000 (20:08 -0500)]
Fix MYMALLOC (wrong #define in malloc.c):
Subject: 5.004_55: MYMALLOC completely busted

p4raw-id: //depot/perl@320

26 years agoFix newSVrv so sv_setref_foo work better:
Owen Taylor [Thu, 27 Nov 1997 00:25:50 +0000 (19:25 -0500)]
Fix newSVrv so sv_setref_foo work better:
Subject: [PATCH] [5.004_55] newSVrv (again)

p4raw-id: //depot/perl@319

26 years agoOutput skipped test information in test suite:
Malcolm Beattie [Thu, 27 Nov 1997 14:59:03 +0000 (14:59 +0000)]
Output skipped test information in test suite:
Subject: 5.004_55: Making test harness platform_aware
Date: Wed, 26 Nov 1997 17:16:55 -0500 (EST)
Date: Wed, 26 Nov 1997 17:16:55 -0500 (EST)

p4raw-id: //depot/perl@318

26 years agoAdd 'W'atch command to debugger and improve help:
Ilya Zakharevich [Wed, 26 Nov 1997 17:05:57 +0000 (12:05 -0500)]
Add 'W'atch command to debugger and improve help:
Subject: 5.004_55: Debugger patch again

p4raw-id: //depot/perl@317

26 years agoStop double initialisation of malloc_mutex:
Ilya Zakharevich [Wed, 26 Nov 1997 16:51:43 +0000 (11:51 -0500)]
Stop double initialisation of malloc_mutex:
Subject: 5.004_55: Double initialiazation of malloc_mutex

p4raw-id: //depot/perl@316

26 years agoFix PVLV case in sv_setsv (plus tests in op/pat.t).
Malcolm Beattie [Thu, 27 Nov 1997 14:48:58 +0000 (14:48 +0000)]
Fix PVLV case in sv_setsv (plus tests in op/pat.t).

p4raw-id: //depot/perl@315

26 years agoMerge win32 and ansiperl branches post _55 tweaks from Sarathy.
Nick Ing-Simmons [Thu, 27 Nov 1997 01:03:19 +0000 (01:03 +0000)]
Merge win32 and ansiperl branches post _55 tweaks from Sarathy.

p4raw-id: //depot/ansiperl@314

26 years ago[win32] merge win32-aware installperl in ansiperl branch.
Gurusamy Sarathy [Wed, 26 Nov 1997 03:20:55 +0000 (03:20 +0000)]
[win32] merge win32-aware installperl in ansiperl branch.

p4raw-id: //depot/win32/perl@313

26 years ago[win32] Fix for C<sort 'foo'...> bug:
Gurusamy Sarathy [Wed, 26 Nov 1997 01:50:37 +0000 (01:50 +0000)]
[win32] Fix for C<sort 'foo'...> bug:
    From: Gurusamy Sarathy <gsar@engin.umich.edu>
    Message-Id: <199711011946.OAA18882@aatma.engin.umich.edu>
    Subject: [PATCH] Re: Sort grammar bug
    Date: Sat, 01 Nov 1997 14:46:35 -0500
    ------
    From: Hugo van der Sanden <hv@crypt.compulink.co.uk>
    Message-Id: <199711021247.MAA01743@crypt.compulink.co.uk>
    Subject: Re: Sort grammar bug
    Date: Sun, 02 Nov 1997 12:47:51 +0000

p4raw-id: //depot/win32/perl@312

26 years agoWin32-ize installperl
Nick Ing-Simmons [Wed, 26 Nov 1997 01:42:50 +0000 (01:42 +0000)]
Win32-ize installperl

p4raw-id: //depot/ansiperl@311

26 years ago[win32] Another trivial patch:
Gurusamy Sarathy [Wed, 29 Oct 1997 21:45:26 +0000 (16:45 -0500)]
[win32] Another trivial patch:
    Message-Id: <199710300245.VAA04244@aatma.engin.umich.edu>
    Subject: [PATCH] Re: Why doesn't XSRETURN have STMT_START/STMT_END brackets?

p4raw-id: //depot/win32/perl@310

26 years agoFixup _55 for Win32:
Nick Ing-Simmons [Wed, 26 Nov 1997 01:33:32 +0000 (01:33 +0000)]
Fixup _55 for Win32:
   Missed thread :-> perl_thread changes
   Two #define THR (not the same)
   K&R style func in hv.c

p4raw-id: //depot/ansiperl@309

26 years ago[win32] Sync yet another patch (this one manually edited):
Gurusamy Sarathy [Tue, 28 Oct 1997 21:51:25 +0000 (16:51 -0500)]
[win32] Sync yet another patch (this one manually edited):
    Message-Id: <199710290251.VAA14362@aatma.engin.umich.edu>
    Subject: [PATCH] Re: local($@) gives core dump

p4raw-id: //depot/win32/perl@308

26 years ago[win32] Sync another change from local repository.
Gurusamy Sarathy [Tue, 28 Oct 1997 22:16:13 +0000 (17:16 -0500)]
[win32] Sync another change from local repository.
    Message-Id: <199710290316.WAA15888@aatma.engin.umich.edu>
    Subject: Re: do_postponed breaks with multiple interpreters

p4raw-id: //depot/win32/perl@307

26 years ago[win32] Sync a change from local repository.
Gurusamy Sarathy [Tue, 28 Oct 1997 20:06:06 +0000 (15:06 -0500)]
[win32] Sync a change from local repository.
      Message-Id: <199710290106.UAA11485@aatma.engin.umich.edu>
      Subject: [PATCH] Re: Core dump from using sockets w/ system or open(pipe) or "`"

p4raw-id: //depot/win32/perl@306

26 years agoIntegrate mainline as of _55
Nick Ing-Simmons [Wed, 26 Nov 1997 00:50:10 +0000 (00:50 +0000)]
Integrate mainline as of _55

p4raw-id: //depot/ansiperl@305

26 years ago[win32] Various changes to make it build cleanly and pass all tests:
Gurusamy Sarathy [Wed, 26 Nov 1997 00:27:57 +0000 (00:27 +0000)]
[win32] Various changes to make it build cleanly and pass all tests:
 - 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

27 years ago[win32] Fixup the places where the automatic merge got it wrong.
Gurusamy Sarathy [Tue, 25 Nov 1997 20:57:31 +0000 (20:57 +0000)]
[win32] Fixup the places where the automatic merge got it wrong.
Previous change (#302) was just a normal integration--ignore the
"reverse" in there.

p4raw-id: //depot/win32/perl@303

27 years ago[win32] reverse integrate mainline
Gurusamy Sarathy [Tue, 25 Nov 1997 20:32:12 +0000 (20:32 +0000)]
[win32] reverse integrate mainline

p4raw-id: //depot/win32/perl@302

27 years agoFix minor thinkos in hv.c and pp_ctl.c. This is 5.004_55.
Malcolm Beattie [Tue, 25 Nov 1997 17:59:53 +0000 (17:59 +0000)]
Fix minor thinkos in hv.c and pp_ctl.c. This is 5.004_55.

p4raw-id: //depot/perl@301

27 years agoAdd t/avhv.t to MANIFEST and bump patchlevel.h to 55.
Malcolm Beattie [Tue, 25 Nov 1997 16:29:36 +0000 (16:29 +0000)]
Add t/avhv.t to MANIFEST and bump patchlevel.h to 55.

p4raw-id: //depot/perl@300

27 years agoMove malloc_mutex initialisation/destruction:
Ilya Zakharevich [Tue, 25 Nov 1997 15:59:16 +0000 (15:59 +0000)]
Move malloc_mutex initialisation/destruction:
Subject:  patch to 5.004_54 for pthreads with Perl's malloc

p4raw-id: //depot/perl@299

27 years agoMake hv_ functions cope better with 'm'-magic:
Owen Taylor [Fri, 21 Nov 1997 22:28:17 +0000 (17:28 -0500)]
Make hv_ functions cope better with 'm'-magic:
Subject: [5.004_54] Another neglected patch

p4raw-id: //depot/perl@298

27 years agoFix typo in Thread.xs.
Malcolm Beattie [Tue, 25 Nov 1997 15:47:36 +0000 (15:47 +0000)]
Fix typo in Thread.xs.

p4raw-id: //depot/perl@297

27 years agoIntegrate from ansi branch to mainline.
Malcolm Beattie [Tue, 25 Nov 1997 15:42:07 +0000 (15:42 +0000)]
Integrate from ansi branch to mainline.

p4raw-id: //depot/perl@296

27 years agoAIX patch for DynaLoader/dl_aix.xs and hints/aix.sh:
Jarkko Hietaniemi [Tue, 25 Nov 1997 00:49:52 +0000 (16:49 -0800)]
AIX patch for DynaLoader/dl_aix.xs and hints/aix.sh:
Subject: Re: _54 on AIX

p4raw-id: //depot/perl@295

27 years agoAIX patch for hints/aix.sh:
Jarkko Hietaniemi [Tue, 25 Nov 1997 00:49:52 +0000 (16:49 -0800)]
AIX patch for hints/aix.sh:
Subject: Re: _54 on AIX

p4raw-id: //depot/perl@294

27 years agoFix scalar dereference of threadsv variables (e.g. $$_).
Malcolm Beattie [Tue, 25 Nov 1997 14:17:05 +0000 (14:17 +0000)]
Fix scalar dereference of threadsv variables (e.g. $$_).

p4raw-id: //depot/perl@291

27 years agoAIX patch (including Configure support for {sched,pthread}_yield,
Jarkko Hietaniemi [Thu, 20 Nov 1997 06:10:51 +0000 (22:10 -0800)]
AIX patch (including Configure support for {sched,pthread}_yield,
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

27 years agoRename perl_thread to perl_os_thread.
Malcolm Beattie [Tue, 25 Nov 1997 12:33:02 +0000 (12:33 +0000)]
Rename perl_thread to perl_os_thread.

p4raw-id: //depot/perl@289

27 years agoRemove bincompat3 support:
Jarkko Hietaniemi [Wed, 19 Nov 1997 08:07:10 +0000 (00:07 -0800)]
Remove bincompat3 support:
Subject: Re: ANNOUNCE: perl5.004_54 is available

p4raw-id: //depot/perl@288

27 years agoEmacs/tags update:
Ilya Zakharevich [Fri, 21 Nov 1997 15:02:09 +0000 (10:02 -0500)]
Emacs/tags update:
Subject: Emacs/tags update for 5.004_54

p4raw-id: //depot/perl@287

27 years agoAdd $$_ test
Nick Ing-Simmons [Sun, 23 Nov 1997 23:03:56 +0000 (23:03 +0000)]
Add $$_ test

p4raw-id: //depot/ansiperl@286

27 years ago[win32] Initial reverse integration of winansi branch.
Gurusamy Sarathy [Sun, 23 Nov 1997 08:26:00 +0000 (08:26 +0000)]
[win32] Initial reverse integration of winansi branch.

p4raw-id: //depot/win32/perl@285

27 years agoAdd to docs about the BEGIN { shift } feature. Make the change
Gurusamy Sarathy [Sun, 23 Nov 1997 07:32:24 +0000 (07:32 +0000)]
Add to docs about the BEGIN { shift } feature.  Make the change
yet simpler using CvUNIQUE(compcv) instead of subline (Chip's idea).

p4raw-id: //depot/win32/perl@284

27 years agoDuplicate perl_threadsv
Nick Ing-Simmons [Sat, 22 Nov 1997 21:29:30 +0000 (21:29 +0000)]
Duplicate perl_threadsv

p4raw-id: //depot/ansiperl@283

27 years agoMunge pseudo-Configure stuff to add -thread to archname as
Nick Ing-Simmons [Sat, 22 Nov 1997 21:18:11 +0000 (21:18 +0000)]
Munge pseudo-Configure stuff to add -thread to archname as
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

27 years agoBuilds and passes all but english.t on win32 VC++
Nick Ing-Simmons [Sat, 22 Nov 1997 19:28:21 +0000 (19:28 +0000)]
Builds and passes all but english.t on win32 VC++

p4raw-id: //depot/ansiperl@281

27 years agoansiperl builds with Borland C++ again
Nick Ing-Simmons [Sat, 22 Nov 1997 18:10:50 +0000 (18:10 +0000)]
ansiperl builds with Borland C++ again

p4raw-id: //depot/ansiperl@280

27 years agoResolve ansiperl against mainline
Nick Ing-Simmons [Sat, 22 Nov 1997 16:42:51 +0000 (16:42 +0000)]
Resolve ansiperl against mainline

p4raw-id: //depot/ansiperl@279

27 years agoResolve ansiperl against win32
Nick Ing-Simmons [Sat, 22 Nov 1997 16:30:27 +0000 (16:30 +0000)]
Resolve ansiperl against win32

p4raw-id: //depot/ansiperl@278

27 years ago- shift() inside BEGIN|END|INIT now shifts @ARGV instead of @_
Gurusamy Sarathy [Sat, 22 Nov 1997 09:48:02 +0000 (09:48 +0000)]
- shift() inside BEGIN|END|INIT now shifts @ARGV instead of @_
- added a test for the above
- fixed up perly.c.diff and vms/perl_c.vms for above and added the
  ansification hunks

p4raw-id: //depot/win32/perl@277

27 years ago[win32] Generic change in win32 branch: don't just turn on CRIPPLED_CC
Gurusamy Sarathy [Sat, 22 Nov 1997 07:24:01 +0000 (07:24 +0000)]
[win32] Generic change in win32 branch: don't just turn on CRIPPLED_CC
when USE_THREADS.  GCC for instance, can do without macros that use
globals.  Instead, selectively re#define only those macros
that use globals to their functional equivalents.  Tests 100% on
Solaris/gcc (after `chmod +x t/op/nothread.t t/lib/thread.t` (hint,hint)).

p4raw-id: //depot/win32/perl@276

27 years ago[win32] Integrate mainline.
Gurusamy Sarathy [Sat, 22 Nov 1997 05:27:04 +0000 (05:27 +0000)]
[win32] Integrate mainline.

p4raw-id: //depot/win32/perl@275

27 years ago$_ is now per-thread (rather a lot of changes). Only tested under
Malcolm Beattie [Fri, 21 Nov 1997 18:28:22 +0000 (18:28 +0000)]
$_ is now per-thread (rather a lot of changes). Only tested under
*-linux-thread at the moment.

p4raw-id: //depot/perl@274

27 years agoFilter patch to toke.c:
Paul Marquess [Thu, 20 Nov 1997 23:12:09 +0000 (23:12 +0000)]
Filter patch to toke.c:
Subject: Tiny core patch for source filters

p4raw-id: //depot/perl@273

27 years agoBasic integrate of lastest perl into ansiperl
Nick Ing-Simmons [Fri, 21 Nov 1997 00:54:43 +0000 (00:54 +0000)]
Basic integrate of lastest perl into ansiperl

p4raw-id: //depot/ansiperl@272

27 years agoInitial stab at IRIX configuration support for threading. Manually
Malcolm Beattie [Thu, 20 Nov 1997 12:12:00 +0000 (12:12 +0000)]
Initial stab at IRIX configuration support for threading. Manually
applied parts of following patches:
Subject: Perl 5.004_54 on IRIX
Date: Wed, 19 Nov 1997 18:37:14 +0200 (EET)
From: Jarkko Hietaniemi <jhi@iki.fi>
Subject: Re: Perl 5.004_54 on IRIX
Date: 19 Nov 1997 17:10:17 -0800
From: Scott Henry <scotth@sgi.com>

p4raw-id: //depot/perl@271

27 years agoThe new jumbo regexp stuff did SSPUSHINT on a char* instead of
Malcolm Beattie [Wed, 19 Nov 1997 17:45:37 +0000 (17:45 +0000)]
The new jumbo regexp stuff did SSPUSHINT on a char* instead of
SSPUSHPTR causing Alpha to core dump in pat.t. While fixing it,
also fixed two instances of referring to SVs after destruction.

p4raw-id: //depot/perl@270

27 years agoavhv_keys under Digital UNIX made avhv.t fail because *keysp was
Malcolm Beattie [Wed, 19 Nov 1997 15:33:23 +0000 (15:33 +0000)]
avhv_keys under Digital UNIX made avhv.t fail because *keysp was
changed by mg_get(*keysp) (!). Introducing a new local variable
fixed it but I don't know if it's a compiler problem or some
other corruption happening elsewhere.

p4raw-id: //depot/perl@269

27 years agoLet Configure sort out get{host,net}byaddr* prototypes:
Jarkko Hietaniemi [Tue, 18 Nov 1997 19:08:19 +0000 (21:08 +0200)]
Let Configure sort out get{host,net}byaddr* prototypes:
Subject: [PATCH] 5.004_54: little something for
  get{hos,ne}tbyaddr protos (Configure, config_h.SH, pp_sys.c)

p4raw-id: //depot/perl@268

27 years agoJumbo regexp patch applied (with minor fix-up tweaks):
Ilya Zakharevich [Sun, 16 Nov 1997 00:29:39 +0000 (19:29 -0500)]
Jumbo regexp patch applied (with minor fix-up tweaks):
Subject: Version 7 of Jumbo RE patch available

p4raw-id: //depot/perl@267

27 years agoSeparate avhv_foo() key handling into avhv_keys(). Slightly tweaked
Joshua Pritikin [Sat, 15 Nov 1997 19:18:30 +0000 (14:18 -0500)]
Separate avhv_foo() key handling into avhv_keys(). Slightly tweaked
version of patch:
Subject: tie fake hash patch for 5.004_54

p4raw-id: //depot/perl@266

27 years agoBring MANIFEST up to date. Add new thread tests.
Malcolm Beattie [Tue, 18 Nov 1997 16:51:04 +0000 (16:51 +0000)]
Bring MANIFEST up to date. Add new thread tests.

p4raw-id: //depot/perl@265

27 years agomagic_setisa enhanced to update %FIELDS automatically when @ISA
Malcolm Beattie [Tue, 18 Nov 1997 16:41:27 +0000 (16:41 +0000)]
magic_setisa enhanced to update %FIELDS automatically when @ISA
is assigned to. Added tests to t/op/array.t. magic_setisa now
warns about including non-existent packages in @ISA when -w is on.

p4raw-id: //depot/perl@264

27 years agoFix typo in win32 -> mainline integration.
Malcolm Beattie [Tue, 18 Nov 1997 16:38:57 +0000 (16:38 +0000)]
Fix typo in win32 -> mainline integration.

p4raw-id: //depot/perl@263

27 years agoIntegrate win32 branch back into mainline.
Malcolm Beattie [Tue, 18 Nov 1997 11:56:09 +0000 (11:56 +0000)]
Integrate win32 branch back into mainline.

p4raw-id: //depot/perl@262

27 years ago[Win32] Export our own FD_SET() et al to complete sockets-as-handles pretense.
Gurusamy Sarathy [Tue, 18 Nov 1997 00:14:02 +0000 (00:14 +0000)]
[Win32] Export our own FD_SET() et al to complete sockets-as-handles pretense.

p4raw-id: //depot/win32/perl@261

27 years agoGeneric file changes for MYMALLOC
Nick Ing-Simmons [Sun, 16 Nov 1997 23:16:16 +0000 (23:16 +0000)]
Generic file changes for MYMALLOC

p4raw-id: //depot/ansiperl@260

27 years agoMYMALLOC for Win32:
Nick Ing-Simmons [Sun, 16 Nov 1997 23:14:36 +0000 (23:14 +0000)]
MYMALLOC for Win32:
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

27 years agoImplement dTHR via __declspec(thread) - part 2
Nick Ing-Simmons [Sat, 15 Nov 1997 20:42:28 +0000 (20:42 +0000)]
Implement dTHR via __declspec(thread) - part 2

p4raw-id: //depot/ansiperl@258

27 years agoUse __declspec(thread) var rather tha TslAlloc & co.
Nick Ing-Simmons [Sat, 15 Nov 1997 19:52:53 +0000 (19:52 +0000)]
Use __declspec(thread) var rather tha TslAlloc & co.

p4raw-id: //depot/ansiperl@257

27 years agoAdd #include guard in Thread.xs so it will build even under
Gurusamy Sarathy [Sat, 15 Nov 1997 02:58:09 +0000 (02:58 +0000)]
Add #include guard in Thread.xs so it will build even under
no USE_THREADS (for win32).  This was missed because of edit
w/o checkout perforce kludge.

p4raw-id: //depot/win32/perl@256

27 years agoIntegrate mainline (5.004_54?) into ansiperl
Nick Ing-Simmons [Sat, 15 Nov 1997 00:33:46 +0000 (00:33 +0000)]
Integrate mainline (5.004_54?) into ansiperl

p4raw-id: //depot/ansiperl@255

27 years agoInterate win32 into ansiperl
Nick Ing-Simmons [Sat, 15 Nov 1997 00:25:26 +0000 (00:25 +0000)]
Interate win32 into ansiperl

p4raw-id: //depot/ansiperl@254

27 years agoIntegrate mainline changes into win32 branch. Now would be a good time
Gurusamy Sarathy [Fri, 14 Nov 1997 22:04:58 +0000 (22:04 +0000)]
Integrate mainline changes into win32 branch.  Now would be a good time
to reverse integrate the win32 branch into mainline.

p4raw-id: //depot/win32/perl@253

27 years agoTwo more delays added to test suite to help *-solaris-thread.
Malcolm Beattie [Fri, 14 Nov 1997 15:07:19 +0000 (15:07 +0000)]
Two more delays added to test suite to help *-solaris-thread.

p4raw-id: //depot/perl@252

27 years agoRemove stale code from Thread.xs.
Malcolm Beattie [Fri, 14 Nov 1997 15:05:57 +0000 (15:05 +0000)]
Remove stale code from Thread.xs.

p4raw-id: //depot/perl@251

27 years agoAdd delay to signal handling in t/op/magic.t. (Solaris with pthreads
Malcolm Beattie [Fri, 14 Nov 1997 10:12:40 +0000 (10:12 +0000)]
Add delay to signal handling in t/op/magic.t. (Solaris with pthreads
doesn't run handlers for self-sent signals until kill has returned.)

p4raw-id: //depot/perl@250

27 years agoFix various details in win32 makefiles and Config.pm setup.
Gurusamy Sarathy [Fri, 14 Nov 1997 05:14:44 +0000 (05:14 +0000)]
Fix various details in win32 makefiles and Config.pm setup.
 - 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

27 years agoRewrite thread return code to distinguish between ordinary return
Malcolm Beattie [Thu, 13 Nov 1997 18:01:27 +0000 (18:01 +0000)]
Rewrite thread return code to distinguish between ordinary return
and die() and make join propagate the die. Add tiny method eval
which just does "return eval { shift->join; }". Add Thread::Specific
class for access to thread specific user data along with specific.t.
Rename Class to classname throughout Thread.xs for consistency.
Fix pp_specific to pp_threadsv in global.sym. Add support to
pp_entersub in pp_hot.c to lock stash for static locked methods.

p4raw-id: //depot/perl@248

27 years agoChange CONTEXT to PERL_CONTEXT throughout source (since the #define
Malcolm Beattie [Thu, 13 Nov 1997 14:13:30 +0000 (14:13 +0000)]
Change CONTEXT to PERL_CONTEXT throughout source (since the #define
to avoid the Digital UNIX clash no longer works). Changed the #ifdef
in pp_sys.c for whether getnet* function get protoyped (since the
default had a broken prototype for getnetbyaddr).

p4raw-id: //depot/perl@247

27 years agoIntegrate Win32 branch
Nick Ing-Simmons [Thu, 13 Nov 1997 02:44:40 +0000 (02:44 +0000)]
Integrate Win32 branch

p4raw-id: //depot/ansiperl@246

27 years agoIntegrate (-ay) win32 branch at its creation to
Nick Ing-Simmons [Thu, 13 Nov 1997 00:47:54 +0000 (00:47 +0000)]
Integrate (-ay) win32 branch at its creation to
establish and ancestor as per perkforce technote #9

p4raw-id: //depot/ansiperl@245

27 years agoMore cleanups of win32/win32*.[ch] files. win32/win32iop.h now
Gurusamy Sarathy [Wed, 12 Nov 1997 22:26:39 +0000 (22:26 +0000)]
More cleanups of win32/win32*.[ch] files.  win32/win32iop.h now
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

27 years agoReally delete deleted files.
Gurusamy Sarathy [Wed, 12 Nov 1997 07:41:52 +0000 (07:41 +0000)]
Really delete deleted files.

p4raw-id: //depot/win32/perl@243

27 years agoEgregious IOsubsystem code excised. Phew, what a relief! Two
Gurusamy Sarathy [Wed, 12 Nov 1997 07:40:54 +0000 (07:40 +0000)]
Egregious IOsubsystem code excised.  Phew, what a relief!  Two
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