ghc-hetmet.git
24 years ago[project @ 2000-03-21 14:33:18 by simonmar]
simonmar [Tue, 21 Mar 2000 14:33:18 +0000 (14:33 +0000)]
[project @ 2000-03-21 14:33:18 by simonmar]
Call __init_PrelMain instead of __initMain.  PrelMain lives above Main
in the dependency tree, so this is more correct.

24 years ago[project @ 2000-03-21 14:24:20 by simonmar]
simonmar [Tue, 21 Mar 2000 14:26:02 +0000 (14:26 +0000)]
[project @ 2000-03-21 14:24:20 by simonmar]
MutableArray/STArray fixage.

24 years ago[project @ 2000-03-21 11:38:43 by rrt]
rrt [Tue, 21 Mar 2000 11:38:43 +0000 (11:38 +0000)]
[project @ 2000-03-21 11:38:43 by rrt]
Added PrelException_BlockedOnDeadMVar_static_closure and
PrelException_NonTermination_static_closure.

24 years ago[project @ 2000-03-21 11:33:12 by rrt]
rrt [Tue, 21 Mar 2000 11:33:12 +0000 (11:33 +0000)]
[project @ 2000-03-21 11:33:12 by rrt]
Made them build on mingw32 again (problems with getourtimeofday, which
shouldn't be needed under mingw anyway).

24 years ago[project @ 2000-03-21 11:22:35 by simonmar]
simonmar [Tue, 21 Mar 2000 11:22:35 +0000 (11:22 +0000)]
[project @ 2000-03-21 11:22:35 by simonmar]
Fix several bugs in readChunk, mainly to do with copying
already-buffered data into the user buffer.

24 years ago[project @ 2000-03-21 09:48:28 by panne]
panne [Tue, 21 Mar 2000 09:48:28 +0000 (09:48 +0000)]
[project @ 2000-03-21 09:48:28 by panne]
After Simon's last commit it suffices to mention libHS once (that was
exactly what I was trying in that second :-)

24 years ago[project @ 2000-03-21 09:39:46 by simonmar]
simonmar [Tue, 21 Mar 2000 09:39:46 +0000 (09:39 +0000)]
[project @ 2000-03-21 09:39:46 by simonmar]
- add BlockedOnDeadMVar to the ever-increasing list of '-u' things
- remove accidental commit (again). sigh.

24 years ago[project @ 2000-03-20 15:49:56 by panne]
panne [Mon, 20 Mar 2000 15:49:56 +0000 (15:49 +0000)]
[project @ 2000-03-20 15:49:56 by panne]
ITimer.h is really called Itimer.h. Hmmm, let's guess on what
brilliant OS this part of the RTS was developed...  :-))

24 years ago[project @ 2000-03-20 15:32:10 by panne]
panne [Mon, 20 Mar 2000 15:32:10 +0000 (15:32 +0000)]
[project @ 2000-03-20 15:32:10 by panne]
Bootstrapping fix, this time for slurpFile

24 years ago[project @ 2000-03-20 09:42:49 by andy]
andy [Mon, 20 Mar 2000 09:42:50 +0000 (09:42 +0000)]
[project @ 2000-03-20 09:42:49 by andy]
Adding an alternative to the "delay" system used for
threads that are waiting for time to pass.

This works on a target time basis, eliminating the
need to use the ticky style counter.

It is only enabled under:

#if defined(INTERPRETER) && !defined(HAVE_SETITIMER)

24 years ago[project @ 2000-03-20 04:26:23 by andy]
andy [Mon, 20 Mar 2000 04:26:24 +0000 (04:26 +0000)]
[project @ 2000-03-20 04:26:23 by andy]
Second attack at supporting threads inside STG Hugs.
We now support most of the concurrency primitives.

Also a wibble in Evaluator.c, letting Hugs compile.

24 years ago[project @ 2000-03-19 13:36:59 by panne]
panne [Sun, 19 Mar 2000 13:36:59 +0000 (13:36 +0000)]
[project @ 2000-03-19 13:36:59 by panne]
*sigh* hPutBuf{,BA} versionitis again, this time for bootstrapping 4.07

24 years ago[project @ 2000-03-18 15:37:58 by panne]
panne [Sat, 18 Mar 2000 15:37:58 +0000 (15:37 +0000)]
[project @ 2000-03-18 15:37:58 by panne]
Due to PrelException_PutFullMVar_static_closure there is a circular
dependency between libHS and libHSrts, which is broken during the
linking phase by mentioning -lHS again *after* -lHSrts. Hmmm, perhaps
it would be better to mention the smaller -lHSrts twice instead? With
this patch 4.06 can build 4.07, now let's see if it bootstraps...

24 years ago[project @ 2000-03-18 13:07:04 by panne]
panne [Sat, 18 Mar 2000 13:07:04 +0000 (13:07 +0000)]
[project @ 2000-03-18 13:07:04 by panne]
Re-enable soft failure while searching .hi files

24 years ago[project @ 2000-03-17 17:17:48 by rrt]
rrt [Fri, 17 Mar 2000 17:17:48 +0000 (17:17 +0000)]
[project @ 2000-03-17 17:17:48 by rrt]
Spelt HS_cbits_imp correctly in SRC_BLD_DLL_OPTS

24 years ago[project @ 2000-03-17 17:05:27 by rrt]
rrt [Fri, 17 Mar 2000 17:05:27 +0000 (17:05 +0000)]
[project @ 2000-03-17 17:05:27 by rrt]
Set WAYS=$(GhcLibWays) so that DLLs can be built.

24 years ago[project @ 2000-03-17 15:11:26 by rrt]
rrt [Fri, 17 Mar 2000 15:11:26 +0000 (15:11 +0000)]
[project @ 2000-03-17 15:11:26 by rrt]
Added PrelException_PutFullMVar_static_closure and __init_Prelude, and also
(rather hackily) __init_Main (until I find out how that should really be
dealt with).

24 years ago[project @ 2000-03-17 15:00:25 by simonmar]
simonmar [Fri, 17 Mar 2000 15:00:25 +0000 (15:00 +0000)]
[project @ 2000-03-17 15:00:25 by simonmar]
don't export non-std stuff.

24 years ago[project @ 2000-03-17 14:37:21 by simonmar]
simonmar [Fri, 17 Mar 2000 14:37:22 +0000 (14:37 +0000)]
[project @ 2000-03-17 14:37:21 by simonmar]
More random cleanups.

24 years ago[project @ 2000-03-17 13:30:23 by simonmar]
simonmar [Fri, 17 Mar 2000 13:30:24 +0000 (13:30 +0000)]
[project @ 2000-03-17 13:30:23 by simonmar]
Random cleanup: rename the TSO->whatNext field to what_next, to be a
bit more consistent.

24 years ago[project @ 2000-03-17 12:40:03 by simonmar]
simonmar [Fri, 17 Mar 2000 12:40:04 +0000 (12:40 +0000)]
[project @ 2000-03-17 12:40:03 by simonmar]
Add the readBlahOffAddr suite of primitives.  The previous method of
using indexStuffOffAddr didn't enforce proper ordering in the I/O
monad.

The indexBlahOffAddr primops may go away in the future if/when we
figure out how to make unsafePerformIO into a no-op at the back end.

24 years ago[project @ 2000-03-17 10:25:16 by simonmar]
simonmar [Fri, 17 Mar 2000 10:25:16 +0000 (10:25 +0000)]
[project @ 2000-03-17 10:25:16 by simonmar]
Add test for interruptible ops.

24 years ago[project @ 2000-03-17 10:24:44 by simonmar]
simonmar [Fri, 17 Mar 2000 10:24:44 +0000 (10:24 +0000)]
[project @ 2000-03-17 10:24:44 by simonmar]
Support "interruptible operations": threads which are blocked on
MVars, exceptions, I/O, or sleeping are fair game for raiseInThread.

24 years ago[project @ 2000-03-17 10:01:29 by simonmar]
simonmar [Fri, 17 Mar 2000 10:01:29 +0000 (10:01 +0000)]
[project @ 2000-03-17 10:01:29 by simonmar]
Add test for garbage collecting threads.

24 years ago[project @ 2000-03-17 09:53:19 by simonmar]
simonmar [Fri, 17 Mar 2000 09:53:19 +0000 (09:53 +0000)]
[project @ 2000-03-17 09:53:19 by simonmar]
Add global_link field to the TSO structure.  Forgotten in yesterday's
commit.

24 years ago[project @ 2000-03-17 09:48:48 by simonmar]
simonmar [Fri, 17 Mar 2000 09:48:48 +0000 (09:48 +0000)]
[project @ 2000-03-17 09:48:48 by simonmar]
Reset the itimers in the child, so it doesn't get plagued by SIGVTALRM
interrupts.

Reported by ADR,
Patch from  Hannah Schroeter <uk1o@rz.uni-karlsruhe.de>.

24 years ago[project @ 2000-03-16 17:33:04 by simonmar]
simonmar [Thu, 16 Mar 2000 17:33:04 +0000 (17:33 +0000)]
[project @ 2000-03-16 17:33:04 by simonmar]
bug fix in previous commit - NotBlocked is a valid state to be in in
resurrectThreads().

24 years ago[project @ 2000-03-16 17:27:12 by simonmar]
simonmar [Thu, 16 Mar 2000 17:27:13 +0000 (17:27 +0000)]
[project @ 2000-03-16 17:27:12 by simonmar]
Raise an exception in any thread that is about to be garbage
collected.

- threads blocked on MVars that are otherwise garbage
  will receive a BlockedOnDeadMVar exception.

- threads blocked on Black Holes must be in some kind
  of deadlock, so we send them a NonTermination exception.

24 years ago[project @ 2000-03-16 17:24:08 by simonmar]
simonmar [Thu, 16 Mar 2000 17:24:08 +0000 (17:24 +0000)]
[project @ 2000-03-16 17:24:08 by simonmar]
put a lock in the right place.

24 years ago[project @ 2000-03-16 17:23:35 by simonmar]
simonmar [Thu, 16 Mar 2000 17:23:35 +0000 (17:23 +0000)]
[project @ 2000-03-16 17:23:35 by simonmar]
decruftification

24 years ago[project @ 2000-03-16 16:22:15 by rrt]
rrt [Thu, 16 Mar 2000 16:22:15 +0000 (16:22 +0000)]
[project @ 2000-03-16 16:22:15 by rrt]
Got rid of an odir problem when building PrelMain as a DLL.

24 years ago[project @ 2000-03-16 12:40:40 by simonmar]
simonmar [Thu, 16 Mar 2000 12:40:40 +0000 (12:40 +0000)]
[project @ 2000-03-16 12:40:40 by simonmar]
Use Sp instead of the global init_stack for the stack pointer during
module initialisation.  This should cut down the code size for module
initialisation blocks.

24 years ago[project @ 2000-03-16 12:37:05 by simonmar]
simonmar [Thu, 16 Mar 2000 12:37:06 +0000 (12:37 +0000)]
[project @ 2000-03-16 12:37:05 by simonmar]
Clean up the module initialisation stuff a bit, and add support for
module initialisation blocks in the native code generator.

24 years ago[project @ 2000-03-16 09:45:02 by simonmar]
simonmar [Thu, 16 Mar 2000 09:45:02 +0000 (09:45 +0000)]
[project @ 2000-03-16 09:45:02 by simonmar]
Add 'check' subdir for -syslib util.

24 years ago[project @ 2000-03-16 09:31:44 by simonmar]
simonmar [Thu, 16 Mar 2000 09:31:44 +0000 (09:31 +0000)]
[project @ 2000-03-16 09:31:44 by simonmar]
Add hslibs/tests/lang/check to -syslib util (in in-place mode).

24 years ago[project @ 2000-03-15 23:28:09 by andy]
andy [Wed, 15 Mar 2000 23:28:09 +0000 (23:28 +0000)]
[project @ 2000-03-15 23:28:09 by andy]
The prelude with assertion support. We use the same functions
in Hugs and GHC for the assert infrastructure.

24 years ago[project @ 2000-03-15 23:27:16 by andy]
andy [Wed, 15 Mar 2000 23:27:16 +0000 (23:27 +0000)]
[project @ 2000-03-15 23:27:16 by andy]
Adding in internal support for assert, that gives optional
assertion messages with file and line numbers.

Changing the default build style to stand alone.
Thinking: People building the combined system are likly to
be hackers already, so can make a one line change.
We should discuss this...

24 years ago[project @ 2000-03-15 17:45:33 by rrt]
rrt [Wed, 15 Mar 2000 17:45:33 +0000 (17:45 +0000)]
[project @ 2000-03-15 17:45:33 by rrt]
Typo removed (of course we have pre-built docs in binary dists; I meant not
in source dists).

24 years ago[project @ 2000-03-15 17:36:02 by simonmar]
simonmar [Wed, 15 Mar 2000 17:36:02 +0000 (17:36 +0000)]
[project @ 2000-03-15 17:36:02 by simonmar]
optimise SaveThreadState/LoadThreadState slightly by caching
CurrentTSO in a local variable.

24 years ago[project @ 2000-03-15 16:04:42 by rrt]
rrt [Wed, 15 Mar 2000 16:04:42 +0000 (16:04 +0000)]
[project @ 2000-03-15 16:04:42 by rrt]
Added a list of the RPMs needed for DocBook

24 years ago[project @ 2000-03-15 15:57:26 by rrt]
rrt [Wed, 15 Mar 2000 15:57:26 +0000 (15:57 +0000)]
[project @ 2000-03-15 15:57:26 by rrt]
Added notes about DocBook

24 years ago[project @ 2000-03-15 15:31:36 by simonmar]
simonmar [Wed, 15 Mar 2000 15:31:36 +0000 (15:31 +0000)]
[project @ 2000-03-15 15:31:36 by simonmar]
Unbreak signals.

24 years ago[project @ 2000-03-15 15:03:20 by simonmar]
simonmar [Wed, 15 Mar 2000 15:03:20 +0000 (15:03 +0000)]
[project @ 2000-03-15 15:03:20 by simonmar]
Fix configuration/building of GMP.

24 years ago[project @ 2000-03-15 11:15:19 by simonmar]
simonmar [Wed, 15 Mar 2000 11:15:19 +0000 (11:15 +0000)]
[project @ 2000-03-15 11:15:19 by simonmar]
Use the slightly more standard non-standard module ST instead of the
completely non-standard MutableArray.

24 years ago[project @ 2000-03-15 11:11:08 by simonmar]
simonmar [Wed, 15 Mar 2000 11:11:08 +0000 (11:11 +0000)]
[project @ 2000-03-15 11:11:08 by simonmar]
sigh, add some more #ifdefs to this file (MutableArray/STArray changes).

24 years ago[project @ 2000-03-15 10:54:58 by simonmar]
simonmar [Wed, 15 Mar 2000 10:54:58 +0000 (10:54 +0000)]
[project @ 2000-03-15 10:54:58 by simonmar]
Undo part of last my previous commit, which was included accidentally.

24 years ago[project @ 2000-03-15 01:34:52 by andy]
andy [Wed, 15 Mar 2000 01:34:52 +0000 (01:34 +0000)]
[project @ 2000-03-15 01:34:52 by andy]
Adding GHC style Dynamic to the Prelude understanding.

24 years ago[project @ 2000-03-14 14:34:47 by sewardj]
sewardj [Tue, 14 Mar 2000 14:34:47 +0000 (14:34 +0000)]
[project @ 2000-03-14 14:34:47 by sewardj]
Update Hugs so as to work with the new way of referencing Prelude
symbols from the RTS.  The main action is in fixupRTStoPreludeRefs()
in rts/Prelude.c.

24 years ago[project @ 2000-03-14 12:16:00 by simonmar]
simonmar [Tue, 14 Mar 2000 12:16:00 +0000 (12:16 +0000)]
[project @ 2000-03-14 12:16:00 by simonmar]
Simplfy the mutable array story:

- rename MutableArray to STArray (and similarly
  for all operations on MutableArray, eg newArray
  is now newSTArray).

- remove the extra level of indirection between
  STArrays and MutableArrays.

- remove the MutableArray interface from
  hslibs/lang/MutableArray.  This module will go
  away soon - Andy, don't bother porting it to Hugs.

24 years ago[project @ 2000-03-14 11:11:40 by simonmar]
simonmar [Tue, 14 Mar 2000 11:11:40 +0000 (11:11 +0000)]
[project @ 2000-03-14 11:11:40 by simonmar]
New file for RTS->Prelude dependencies.

24 years ago[project @ 2000-03-14 09:55:05 by simonmar]
simonmar [Tue, 14 Mar 2000 09:55:05 +0000 (09:55 +0000)]
[project @ 2000-03-14 09:55:05 by simonmar]
Handle references from the RTS to the Prelude in a more consistent
way.

- For statically-linked binaries, nothing has changed.

- For the interpreter, refs from the RTS to the Prelude
  are now indirected.  The indirections need to be
  filled in at some point during startup by calling
  fixupPreludeRefs (in Prelude.c).

- The CHARLIKE and INTLIKE tables are now handled in
  the same way for both Hugs and DLLs.

Hugs will be broken for a short while until Julian sorts out the Hugs
parts of this change.

24 years ago[project @ 2000-03-14 09:31:48 by simonmar]
simonmar [Tue, 14 Mar 2000 09:31:48 +0000 (09:31 +0000)]
[project @ 2000-03-14 09:31:48 by simonmar]
oops, missed one instance of UnsafeThawByteArrayOp.

24 years ago[project @ 2000-03-14 01:58:19 by sof]
sof [Tue, 14 Mar 2000 01:58:19 +0000 (01:58 +0000)]
[project @ 2000-03-14 01:58:19 by sof]
Fixed recent -syslib com buglet

24 years ago[project @ 2000-03-14 01:57:18 by sof]
sof [Tue, 14 Mar 2000 01:57:18 +0000 (01:57 +0000)]
[project @ 2000-03-14 01:57:18 by sof]
mingw32: do as for cygwin platforms & default the name of the generated
binary to main.exe if -o <...> isn't given.

24 years ago[project @ 2000-03-14 01:54:06 by sof]
sof [Tue, 14 Mar 2000 01:54:06 +0000 (01:54 +0000)]
[project @ 2000-03-14 01:54:06 by sof]
Simplified prog_* externs a little

24 years ago[project @ 2000-03-14 01:52:25 by sof]
sof [Tue, 14 Mar 2000 01:52:25 +0000 (01:52 +0000)]
[project @ 2000-03-14 01:52:25 by sof]
Misc Win32 bitrot

24 years ago[project @ 2000-03-14 01:50:49 by sof]
sof [Tue, 14 Mar 2000 01:50:49 +0000 (01:50 +0000)]
[project @ 2000-03-14 01:50:49 by sof]
Don't be selective about what's exported from the RTS DLL any more,
as it requires sync'ing HSrts.def whenever the RTS offerings change.

24 years ago[project @ 2000-03-14 01:43:27 by sof]
sof [Tue, 14 Mar 2000 01:43:27 +0000 (01:43 +0000)]
[project @ 2000-03-14 01:43:27 by sof]
* 'inlined' subset of the MM protos needed to compile this module, i.e.,
  don't require whoever does a 'make' in ghc/rts/ to have extended their
  <windows.h>
* right Win32 proto for handle_tick()

24 years ago[project @ 2000-03-14 01:38:43 by sof]
sof [Tue, 14 Mar 2000 01:38:43 +0000 (01:38 +0000)]
[project @ 2000-03-14 01:38:43 by sof]
Support for setting target-specific CC options via AC_SUBST (and make use
of it on the mingw32 front -- 'resist' the temptation to use GMP's config/
story for this.)

24 years ago[project @ 2000-03-14 01:33:39 by sof]
sof [Tue, 14 Mar 2000 01:33:39 +0000 (01:33 +0000)]
[project @ 2000-03-14 01:33:39 by sof]
mingw32 support

24 years ago[project @ 2000-03-14 01:31:38 by sof]
sof [Tue, 14 Mar 2000 01:31:38 +0000 (01:31 +0000)]
[project @ 2000-03-14 01:31:38 by sof]
remove some Makefile debugging bits

24 years ago[project @ 2000-03-14 01:30:21 by sof]
sof [Tue, 14 Mar 2000 01:30:21 +0000 (01:30 +0000)]
[project @ 2000-03-14 01:30:21 by sof]
When booting, pass in --target to gmp/

24 years ago[project @ 2000-03-13 14:11:14 by sewardj]
sewardj [Mon, 13 Mar 2000 14:11:14 +0000 (14:11 +0000)]
[project @ 2000-03-13 14:11:14 by sewardj]
#include wibbles.

24 years ago[project @ 2000-03-13 14:10:24 by sewardj]
sewardj [Mon, 13 Mar 2000 14:10:24 +0000 (14:10 +0000)]
[project @ 2000-03-13 14:10:24 by sewardj]
Win32 wibble.

24 years ago[project @ 2000-03-13 13:00:00 by sewardj]
sewardj [Mon, 13 Mar 2000 13:00:00 +0000 (13:00 +0000)]
[project @ 2000-03-13 13:00:00 by sewardj]
Track recent re-homing of Prelude.h for INTERPRETER.

24 years ago[project @ 2000-03-13 12:11:43 by simonmar]
simonmar [Mon, 13 Mar 2000 12:11:44 +0000 (12:11 +0000)]
[project @ 2000-03-13 12:11:43 by simonmar]
Remove unsafeThawByteArray# primop (which was a no-op), and use
unsafeCoerce# instead.

24 years ago[project @ 2000-03-13 11:43:54 by simonmar]
simonmar [Mon, 13 Mar 2000 11:43:54 +0000 (11:43 +0000)]
[project @ 2000-03-13 11:43:54 by simonmar]
remove duplicate signal type test.

24 years ago[project @ 2000-03-13 11:39:22 by simonmar]
simonmar [Mon, 13 Mar 2000 11:39:22 +0000 (11:39 +0000)]
[project @ 2000-03-13 11:39:22 by simonmar]
Add PutFullMVar test

24 years ago[project @ 2000-03-13 11:37:16 by sewardj]
sewardj [Mon, 13 Mar 2000 11:37:17 +0000 (11:37 +0000)]
[project @ 2000-03-13 11:37:16 by sewardj]
Further cleanups of connect.h.  Also, zap the Args macro.  We really
don't need to support K&R C any more.

24 years ago[project @ 2000-03-13 11:34:00 by simonmar]
simonmar [Mon, 13 Mar 2000 11:34:00 +0000 (11:34 +0000)]
[project @ 2000-03-13 11:34:00 by simonmar]
Need to pull in PutFullMVar from PrelException.

24 years ago[project @ 2000-03-13 11:32:20 by simonmar]
simonmar [Mon, 13 Mar 2000 11:32:20 +0000 (11:32 +0000)]
[project @ 2000-03-13 11:32:20 by simonmar]
Disable the stuff that was supposed to lex octal & hexadecimal
literals, but which didn't work.  The code in the Haskell report
doesn't attempt to lex these either.

24 years ago[project @ 2000-03-13 10:54:49 by simonmar]
simonmar [Mon, 13 Mar 2000 10:54:49 +0000 (10:54 +0000)]
[project @ 2000-03-13 10:54:49 by simonmar]
Add new exception: PutFullMVar for putting into an already full MVar.

24 years ago[project @ 2000-03-13 10:53:55 by simonmar]
simonmar [Mon, 13 Mar 2000 10:53:56 +0000 (10:53 +0000)]
[project @ 2000-03-13 10:53:55 by simonmar]
Move Prelude.h from ghc/includes into ghc/rts.  It's essentially a
list of the things from the Prelude that the RTS depends on, and isn't
relevant to STG code.  Furthermore, this helps to clarify which parts
of the RTS depend on things from the Prelude (by an explicity
#include).

24 years ago[project @ 2000-03-13 10:39:11 by sewardj]
sewardj [Mon, 13 Mar 2000 10:39:11 +0000 (10:39 +0000)]
[project @ 2000-03-13 10:39:11 by sewardj]
Clean up a couple of compilation warnings.

24 years ago[project @ 2000-03-13 10:30:25 by sewardj]
sewardj [Mon, 13 Mar 2000 10:30:25 +0000 (10:30 +0000)]
[project @ 2000-03-13 10:30:25 by sewardj]
Remove #ifdef STANDALONE_INTEGER.

24 years ago[project @ 2000-03-13 10:28:51 by simonmar]
simonmar [Mon, 13 Mar 2000 10:28:51 +0000 (10:28 +0000)]
[project @ 2000-03-13 10:28:51 by simonmar]
Pick up the pieces after Sven's Saturday Night Fever :)

24 years ago[project @ 2000-03-13 10:21:26 by simonmar]
simonmar [Mon, 13 Mar 2000 10:21:26 +0000 (10:21 +0000)]
[project @ 2000-03-13 10:21:26 by simonmar]
remove unused gunk.

24 years ago[project @ 2000-03-13 09:57:16 by simonmar]
simonmar [Mon, 13 Mar 2000 09:57:16 +0000 (09:57 +0000)]
[project @ 2000-03-13 09:57:16 by simonmar]
Remove duplicate definition of unblockOne.

24 years ago[project @ 2000-03-13 09:56:31 by simonmar]
simonmar [Mon, 13 Mar 2000 09:56:31 +0000 (09:56 +0000)]
[project @ 2000-03-13 09:56:31 by simonmar]
Reset the interrupted flag after an interruption.  This allows
finalizers to run, and means that Hugs doesn't get stuck in an
interruption loop.

24 years ago[project @ 2000-03-11 23:55:16 by panne]
panne [Sat, 11 Mar 2000 23:55:16 +0000 (23:55 +0000)]
[project @ 2000-03-11 23:55:16 by panne]
Saturday Night Fever: hPutBufBA again... >:-(

24 years ago[project @ 2000-03-10 22:11:39 by lewie]
lewie [Fri, 10 Mar 2000 22:11:39 +0000 (22:11 +0000)]
[project @ 2000-03-10 22:11:39 by lewie]
Removing backend.h for Julian.

24 years ago[project @ 2000-03-10 20:03:36 by sewardj]
sewardj [Fri, 10 Mar 2000 20:03:37 +0000 (20:03 +0000)]
[project @ 2000-03-10 20:03:36 by sewardj]
Update .c files to reflect reorganisation of .h files in this directory.

24 years ago[project @ 2000-03-10 19:50:44 by sewardj]
sewardj [Fri, 10 Mar 2000 19:50:45 +0000 (19:50 +0000)]
[project @ 2000-03-10 19:50:44 by sewardj]
Major cleanup of header files.  Merge the 5 deleted files into connect.h.
Organise connect.h to gather declarations into roughtly related
categories.

24 years ago[project @ 2000-03-10 18:28:26 by sewardj]
sewardj [Fri, 10 Mar 2000 18:28:26 +0000 (18:28 +0000)]
[project @ 2000-03-10 18:28:26 by sewardj]
Nuke a substantial number of no-longer-supported options.

24 years ago[project @ 2000-03-10 17:30:36 by lewie]
lewie [Fri, 10 Mar 2000 17:30:36 +0000 (17:30 +0000)]
[project @ 2000-03-10 17:30:36 by lewie]
First stab at reviving TREX - just fixing some header wibbles.  Also one small
fix to get implicit parameters working (`textOf' needed to be taught that
IPCELLs are also OK).  Moved #defines for TREX, IPARAM, etc, into options.h
(in their previous location at the end of prelude.h, they were being defined
too late).

24 years ago[project @ 2000-03-10 15:23:40 by simonmar]
simonmar [Fri, 10 Mar 2000 15:23:40 +0000 (15:23 +0000)]
[project @ 2000-03-10 15:23:40 by simonmar]
Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
partial/blocking reads and writes, and hPutBuf now doesn't hold on to
the handle while it's blocking.

24 years ago[project @ 2000-03-10 15:20:18 by simonmar]
simonmar [Fri, 10 Mar 2000 15:20:18 +0000 (15:20 +0000)]
[project @ 2000-03-10 15:20:18 by simonmar]
Fix h{Fill,Put}Buf(BA)?.  They now work in the presence of
partial/blocking reads and writes, and hPutBuf now doesn't hold on to
the handle while it's blocking.

24 years ago[project @ 2000-03-10 14:53:00 by sewardj]
sewardj [Fri, 10 Mar 2000 14:53:00 +0000 (14:53 +0000)]
[project @ 2000-03-10 14:53:00 by sewardj]
Compilation cleanups:
* Add some prototypes to header files, to avoid compilation warnings.
* Remove irrelevant #ifdeffery (#if NPLUSK, + various others)

24 years ago[project @ 2000-03-09 21:35:38 by andy]
andy [Thu, 9 Mar 2000 21:35:38 +0000 (21:35 +0000)]
[project @ 2000-03-09 21:35:38 by andy]
Rm debugging printf.

24 years ago[project @ 2000-03-09 21:16:49 by andy]
andy [Thu, 9 Mar 2000 21:16:49 +0000 (21:16 +0000)]
[project @ 2000-03-09 21:16:49 by andy]
Wibble: rm needless import Prelude used by Hugs.

24 years ago[project @ 2000-03-09 14:18:12 by panne]
panne [Thu, 9 Mar 2000 14:18:22 +0000 (14:18 +0000)]
[project @ 2000-03-09 14:18:12 by panne]
Added some NOINLINE pragmas for unsafePerformIO/newIORef hacks.

24 years ago[project @ 2000-03-09 14:11:59 by simonpj]
simonpj [Thu, 9 Mar 2000 14:11:59 +0000 (14:11 +0000)]
[project @ 2000-03-09 14:11:59 by simonpj]
Correct bug in local fixity decls (reported by Michael Hudson)

24 years ago[project @ 2000-03-09 13:33:01 by panne]
panne [Thu, 9 Mar 2000 13:33:01 +0000 (13:33 +0000)]
[project @ 2000-03-09 13:33:01 by panne]
Changed an #ifdef so that the Prelude can be builit again by GHC.

24 years ago[project @ 2000-03-09 13:31:54 by simonpj]
simonpj [Thu, 9 Mar 2000 13:31:54 +0000 (13:31 +0000)]
[project @ 2000-03-09 13:31:54 by simonpj]
Add fixity tests

24 years ago[project @ 2000-03-09 13:28:08 by panne]
panne [Thu, 9 Mar 2000 13:28:08 +0000 (13:28 +0000)]
[project @ 2000-03-09 13:28:08 by panne]
Removed a typo, i.e. ]\begin{code} => \begin{code}

24 years ago[project @ 2000-03-09 11:49:34 by simonmar]
simonmar [Thu, 9 Mar 2000 11:49:34 +0000 (11:49 +0000)]
[project @ 2000-03-09 11:49:34 by simonmar]
Disable module initialisation under Hugs until we can sort out the
hairy linking issues.

24 years ago[project @ 2000-03-09 10:19:33 by andy]
andy [Thu, 9 Mar 2000 10:19:33 +0000 (10:19 +0000)]
[project @ 2000-03-09 10:19:33 by andy]
Porting bug fix from Classic Hugs to STG Hugs. This was
causing crashes when compiling large examples.

Removing some dead code from static.c

24 years ago[project @ 2000-03-09 09:39:26 by simonmar]
simonmar [Thu, 9 Mar 2000 09:39:26 +0000 (09:39 +0000)]
[project @ 2000-03-09 09:39:26 by simonmar]
- remove hack which treats '_[A-Z]+' as a constructor token.  This
  isn't required now that everything in interface files is Z-encoded.

24 years ago[project @ 2000-03-09 09:31:50 by simonmar]
simonmar [Thu, 9 Mar 2000 09:31:50 +0000 (09:31 +0000)]
[project @ 2000-03-09 09:31:50 by simonmar]
syslib data depends on syslib lang.

24 years ago[project @ 2000-03-09 06:14:38 by andy]
andy [Thu, 9 Mar 2000 06:14:39 +0000 (06:14 +0000)]
[project @ 2000-03-09 06:14:38 by andy]
improving the synatax and semantics of the privileged import

 Typical use might be:

  import Prelude
  import privileged Prelude ( IORef , unsafePerformIO )

 Which means please ignore the export that comes with Prelude,
 and let me at compiler internal magic operations, IORef and
 unsafePerformIO (both are later exported by IOExt)

I've also updated the stdlib files to use this (hugs only :-).