- Apr 13, 2000
-
-
Simon Marlow authored
Move block/unblockAsyncExceptions here, now that they're used in PrelHandle.
-
- Apr 12, 2000
-
-
Simon Marlow authored
This commit fixes the trace/stderr problem, and also fixes some other problems with the I/O library. - handles now contain a list of free buffers, which are guaranteed to be the same size as the primary handle buffer. - hPutStr now doesn't evaluate any part of the input string with the handle locked. Instead, it acquires a buffer from the handle copies characters into it, then commits the buffer. This is better for concurrency too, because the handle is only locked while we're actually reading/writing, not while evaluating. - there were an even number of off-by-one errors in the I/O system which compensated for each other. This has been fixed. - made the I/O subsystem a little more exception-safe. It still isn't totally exception-safe, but I can't face doing that without a complete rewrite of this thing in Haskell. - add hPutBufFull and hGetBufFull. The compiler probably needs to be updated to use these too.
-
Simon Marlow authored
add takeMaybeMVarzh_fast decl.
-
Simon Marlow authored
add takeMaybeMVarzh_fast
-
Simon Marlow authored
add takeMaybeMVar
-
Simon Marlow authored
add takeMaybeMVar#
-
Simon Marlow authored
hack to fix bootstrapping
-
Simon Marlow authored
Add takeMaybeMVarzh (I'm doing this commit in bits, since my working sources are so full of changes I can't easily unpick them...)
-
sven.panne@aedion.de authored
Cleaned up Addr, AddrOff added
-
Julian Seward authored
Add -fcompiling-prelude so as to get right dependencies in the interface.
-
Julian Seward authored
Cygwin wibbles.
-
Julian Seward authored
More infotable cleanups: zap the debugging table of info table names. This can be cleanly done by looking at the .itbl field on Names and Tycons.
-
Julian Seward authored
checkClosureShallow: allow Hugs constructor itbls
-
- Apr 11, 2000
-
-
sven.panne@aedion.de authored
Cleaning up the foreign object naming mess: * Renamed the primop from makeForeignObj# to mkForeignObj#, this is more consistent with the old Foreign.mkForeignObj. * PrelForeign now exports makeForeignObj with the new signature. * freeFile.c now uses StgAddr instead of StgForeignObj, this removes the need for some fixIOs. * Lots of import tweaking to prepare The Big Foreign Renamer, which will move most of Foreign to ForeignObj, and FFI to Foreign. Note: I've tried to track the changes in the interpreter sources, but didn't test them.
-
Julian Seward authored
Pull init_stack outside #ifdef INTERPRETER.
-
Julian Seward authored
Fix bitrot to allow (standalone) StgHugs to be built on Solaris, so we can Purify it.
-
Julian Seward authored
Ensure that when Hugs decides to unload a module (nukeModule()), there are no closures anywhere in the system which refers to infotables defined in that module. That means reverting all CAFs and doing a major GC prior to deleting the module. A flag is used to avoid redundant GCs.
-
Keith Wansbrough authored
Render formatting consistent with the Glasgow Style (vapour-)Guide.
-
Simon Marlow authored
remove syslib misc.
-
Simon Marlow authored
not the dmgob_ guys; we don't have the Native library anymore.
-
Simon Marlow authored
syslib wibble
-
Simon Marlow authored
don't try to recurse into non-directories.
-
Simon Marlow authored
update expected output
-
Simon Marlow authored
update expected output
-
Simon Marlow authored
Use STArray instead of MutableArray.
-
Simon Marlow authored
update expected output.
-
Simon Marlow authored
oops, this output is bogus.
-
Simon Marlow authored
update expected output
-
Simon Marlow authored
update expected output
-
Simon Marlow authored
Update for Haskell 1.4 (!!!) and update expected output.
-
Simon Marlow authored
String isn't a valid _ccall_ argument type anymore.
-
Simon Marlow authored
Add io subdir
-
AndyGill authored
Wibble
-
Simon Marlow authored
Add nested hPutStr/tracing test
-
- Apr 10, 2000
-
-
Julian Seward authored
When building way=u, merge cbits/*.o into ./libHS_cbits.u_o, for Hugs.
-
Simon Peyton Jones authored
Make it so that -fcompiling-prelude applies only for Prelude modules (i.e. ones called Prelxxx). I've done this with an {-# OPTIONS #-} line in each such module (they all has -fno-implicit-prelude anyway) but a less repetitive approach in the Makefile would be welcome.
-
Julian Seward authored
Load the compiled Prelude directly from its build location, ghc/lib/std.
-
Julian Seward authored
Update EXTERN_SYMS_linux/EXTERN_SYMS_ALLPLATFORMS to fix Win32 build.
-
Julian Seward authored
Make getArgs and getProgName behave identically in combined and standalone modes.
-
Simon Marlow authored
Text => Show
-