summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Initial integration of ansi branch into mainline (untested).Malcolm Beattie1997-11-1186-2975/+2166
|\ | | | | p4raw-id: //depot/perl@230
| * Conditionalize english.t,Nick Ing-Simmons1997-11-095-15/+67
| | | | | | | | | | | | | | 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
| * Fix 'anydbm.t' - if the gv is passed 1st call to inheritedNick Ing-Simmons1997-11-091-1/+2
| | | | | | | | | | | | | | TIEHASH works, but 2nd call (after db is closed, attempt to reopen) tries to AUTOLOAD TIEHASH rather than using cached value. p4raw-id: //depot/ansiperl@216
| * Cleanup MakeMaker 'not in config' noiseNick Ing-Simmons1997-11-082-4/+6
| | | | | | p4raw-id: //depot/ansiperl@215
| * Remove 'configure' leaving configure.gnu and ConfigureNick Ing-Simmons1997-11-082-126/+1
| | | | | | | | | | | | | | Win32 ignores case and keeps trying to update repository copy of 'configure' or 'Configure' with the other. p4raw-id: //depot/ansiperl@214
| * Get threads working again on Win32Nick Ing-Simmons1997-11-087-29/+76
| | | | | | | | | | | | | | | | | | 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-082-3/+3
| | | | | | | | | | | | | | | | | | 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
| * Merge changes as of 18:00 CSTNick Ing-Simmons1997-11-074-5/+41
| |\ | | | | | | p4raw-id: //depot/ansiperl@211
| * | Reverse integrate Malcolm's chanes into localNick Ing-Simmons1997-11-0725-128/+252
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Raw integrate of latest perlNick Ing-Simmons1997-11-0719-175/+408
| |\ \ | | | | | | | | p4raw-id: //depot/ansiperl@208
| * | | Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)Nick Ing-Simmons1997-11-0544-952/+722
| | | | | | | | | | | | p4raw-id: //depot/ansiperl@203
| * | | Compile(d) at least once with threads on win32 Nick Ing-Simmons1997-11-053-0/+4
| | | | | | | | | | | | | | | | | | | | but did not work p4raw-id: //depot/ansiperl@202
| * | | Trivial integrateNick Ing-Simmons1997-11-051-1/+1
| |\ \ \ | | | | | | | | | | p4raw-id: //depot/ansiperl@201
| * \ \ \ Integrate mainline @ 18:15 CST 31 Oct 1997Nick Ing-Simmons1997-11-0123-151/+440
| |\ \ \ \ | | | | | | | | | | | | p4raw-id: //depot/ansiperl@199
| * | | | | win32thread.* not in MANIFEST which has muddled movingNick Ing-Simmons1997-11-013-33/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | back and forth between depots. p4raw-id: //depot/ansiperl@198
| * | | | | Test changesNick Ing-Simmons1997-11-014-1/+93
| | | | | | | | | | | | | | | | | | p4raw-id: //depot/ansiperl@197
| * | | | | Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-3134-450/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
| * | | | | Convert miniperl sources to ANSI C. Several passes ofNick Ing-Simmons1997-10-3128-1791/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GNU C's 'protoize' plus a few hand edits. Will compile miniperl with gcc -x c++ (i.e. treat .c a C++ files) Does not link seems gcc's C++ does not define a symbol for const char foo[] = "...."; i.e. with empty []. p4raw-id: //depot/ansiperl@194
| * | | | | Make the ansi branchNick Ing-Simmons1997-10-300-0/+0
| | | | | | | | | | | | | | | | | | p4raw-id: //depot/ansiperl@193
* | | | | | Change name of OP_SPECIFIC to OP_THREADSV. Fixed perl_get_sv whenMalcolm Beattie1997-11-118-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting per-thread magicals. Fixed thr->errsv initialisation. p4raw-id: //depot/perl@229
* | | | | | Fix up $@ (ERRSV now refers to GvSV(errgv) for non-threaded perl andMalcolm Beattie1997-11-1112-52/+70
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thr->errsv for threaded perl). Fix pp_tie and pp_dbmopen to use GvCV(gv) instead of gv so AUTOLOAD stuff works. All tests now pass again for non-threaded perl. Enhanced perl_get_sv to return per-thread magicals where necessary for threaded perl. p4raw-id: //depot/perl@228
* | | | | Change pp_tie and pp_dbmopen to use perl_call_sv instead of aMalcolm Beattie1997-11-075-5/+43
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DIY pp_entersub (in preparation for AUTOLOAD change). dbmopen not tested. ofslen now maps to thr->Tofslen in thread.h. Added missing #ifdef USE_THREADS around some DEBU_L statements in die(). Building without USE_THREADS fails quite a lot of tests. It looks as though the move to per-thread magicals must be missing some #ifdef USE_THREADS. p4raw-id: //depot/perl@209
* | | | Update README.threads and Todo.5.005.Malcolm Beattie1997-11-062-25/+53
| | | | | | | | | | | | p4raw-id: //depot/perl@207
* | | | Remove #ifdef DEPRECATED stuff: newXSUB, pp_entersubr, FREE_TMPS().Malcolm Beattie1997-11-064-37/+1
| | | | | | | | | | | | p4raw-id: //depot/perl@206
* | | | Per-thread magicals now stored in their own thr->magicals and keyedMalcolm Beattie1997-11-0613-106/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more directly. cvcache and oursv become ordinary struct thread fields instead of #defined thr->Tfoo ones. SvREFCNT_inc now checks for 0 again. Main thread initialisation done by new function init_main_thread instead of (now fixed) new_struct_thread. p4raw-id: //depot/perl@205
* | | | Per-thread magicals mostly working (and localisable). Now gettingMalcolm Beattie1997-11-0513-85/+95
| |_|/ |/| | | | | | | | | | | | | | intermittent occasional "Use of uninitialized value" warnings which may be due to some op flag black magic I've broken. p4raw-id: //depot/perl@204
* | | Up patchlevel to 5.004_54 (I missed _53 for the last release).Malcolm Beattie1997-11-041-1/+1
| |/ |/| | | p4raw-id: //depot/perl@200
* | Half way through moving per-thread magicals into per-thread fieldsMalcolm Beattie1997-10-3123-151/+443
|/ | | | | | and the associated new OP_SPECIFIC and find_thread_magical stuff. perl will compile but plenty of the magicals are still broken. p4raw-id: //depot/perl@195
* Remove global macro "self". Change thr->Tself to thr->self.Malcolm Beattie1997-10-296-14/+14
| | | p4raw-id: //depot/perl@190
* Add to Todo: compiler with fake SvCUR in comppad_name entries.Malcolm Beattie1997-10-291-0/+2
| | | p4raw-id: //depot/perl@189
* Change peep() to optimise away unneeded rv2av in lval->[] and lval->{}Malcolm Beattie1997-10-291-0/+18
| | | p4raw-id: //depot/perl@187
* Move compiler OP class information into opcode.pl.Malcolm Beattie1997-10-293-666/+708
| | | p4raw-id: //depot/perl@186
* Remove xcv_condp CV field which is no longer used.Malcolm Beattie1997-10-241-2/+1
| | | p4raw-id: //depot/perl@174
* Patches for VMS [Dan Sugalski]Malcolm Beattie1997-10-245-73/+193
| | | p4raw-id: //depot/perl@173
* Improve internal threading API. Introduce win32/win32thread.[ch]Malcolm Beattie1997-10-2412-131/+371
| | | | | to use new API and patch win32 makefile stuff a little. p4raw-id: //depot/perl@172
* Fix pp_hot.c:get_db_sub core dump when perl debugger used.Malcolm Beattie1997-10-231-9/+9
| | | p4raw-id: //depot/perl@171
* Fix refcounts for lock/magic_mutexfree. Make OP_LOCK auto-refMalcolm Beattie1997-10-236-4/+13
| | | | | | its argument using ck_rfun as OP_DEFINED. Make pp_lock return a ref to its argument for AV, HV, CV. p4raw-id: //depot/perl@170
* Make lib/Bundle/CPAN.pm a text fileNick Ing-Simmons1997-10-180-0/+0
| | | p4raw-id: //depot/perl@156
* Add newly moved perl/ext/Thread/... files to MANIFEST.Malcolm Beattie1997-10-161-0/+22
| | | p4raw-id: //depot/perl@142
* Move perlext/Thread into perl/ext/Thread.Malcolm Beattie1997-10-1622-0/+1129
|\ | | | | p4raw-id: //depot/perl@141
| * Correct threads_mutex locking in main thread destruction.Malcolm Beattie1997-10-163-8/+38
| | | | | | | | | | | | | | | | Add per-interp thrsv to hold SV struct thread for main thread. Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread. Add Thread/list.t test of Thread->list method. Let Thread::Semaphore methods up and down take an extra argument. p4raw-id: //depot/perlext/Thread@140
| * Remove out-of-date test Thread/cond.t.Malcolm Beattie1997-10-151-26/+0
| | | | | | p4raw-id: //depot/perlext/Thread@132
| * Finish thread state machine: fixes global destruction of threads,Malcolm Beattie1997-10-152-45/+81
| | | | | | | | | | | | | | detaching, joining etc. Alter FAKE_THREADS-specific fields to use new HAVE_THREAD_INTERN stuff. Updates docs. Various fixes to Thread.xs. p4raw-id: //depot/perlext/Thread@131
| * Started rewriting thread state machine.Malcolm Beattie1997-10-151-43/+65
| | | | | | p4raw-id: //depot/perlext/Thread@125
| * Tweak a few Thread tests.Malcolm Beattie1997-10-103-16/+44
| | | | | | p4raw-id: //depot/perlext/Thread@121
| * Rewrite thread destruction system using linked list of threads.Malcolm Beattie1997-10-102-20/+134
| | | | | | | | | | | | Still not completely done. Add methods self, equal, flags, list to Thread.xs. Add Thread_MAGIC_SIGNATURE check to typemap. p4raw-id: //depot/perlext/Thread@120
| * Add missing sig_pipe definition to Thread.xs.Malcolm Beattie1997-10-081-0/+1
| | | | | | p4raw-id: //depot/perlext/Thread@116
| * Reliable thread signal handling.Malcolm Beattie1997-10-031-0/+47
| | | | | | p4raw-id: //depot/perlext/Thread@102