- 13 Apr, 2000 11 commits
-
-
panne authored
GHC has instance amnesia again, so a bunch of funny `import Ppr{Core,Type} ()? had to be added. Sorry, but I need a bootstrapping GHC.
-
panne authored
Again: Addr is an abstract type in Addr, so import from PrelAddr instead. Told you so...
-
panne authored
Bootstrapping fun: * Addr is an abstract type in Addr, so import from PrelAddr instead * Ignore the (recently introduced) return value of hPutBuf{,BA} Probably more to come. No problem, as long as I don't run out of malt first... %-)
-
panne authored
Ooops, forgot one -syslib => -package
-
panne authored
HS_cbits => HSstd_cbits
-
panne authored
StgStablePtr is now void*, as required by The Happy Bit Fiddlers
-
rrt authored
Added details of packages.
-
panne authored
Removed the useless (and hard to implement) readForeignObjOffAddr#
-
simonmar authored
remove accidentally committed stuff.
-
simonpj authored
Add support for 'packages'. * A package is a group of modules. * A package has a name (e.g. std) * A package is built into a single library (Unix; e.g. libHSstd.a) or a single DLL (Windows; e.g. HSstd.dll) * The '-package-name foo' flag tells GHC that the module being compiled is destined for package foo. * The '-package foo' flag tells GHC to make available modules from package 'foo'. It replaces '-syslib foo' which is now deprecated. * Cross-package references cost an extra indirection in Windows, but not Unix * GHC does not maintain detailed cross-package dependency information. It does remember which modules in other packages the current module depends on, but not which things within those imported things. All of this tidies up the Prelude enormously. The Prelude and Standard Libraries are built into a singl package called 'std'. (This is a change; the library is now called libHSstd.a instead of libHS.a)
-
simonmar authored
Move block/unblockAsyncExceptions here, now that they're used in PrelHandle.
-
- 12 Apr, 2000 12 commits
-
-
simonmar 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.
-
simonmar authored
add takeMaybeMVarzh_fast decl.
-
simonmar authored
add takeMaybeMVarzh_fast
-
simonmar authored
add takeMaybeMVar
-
simonmar authored
add takeMaybeMVar#
-
simonmar authored
hack to fix bootstrapping
-
simonmar 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...)
-
panne authored
Cleaned up Addr, AddrOff added
-
sewardj authored
Add -fcompiling-prelude so as to get right dependencies in the interface.
-
sewardj authored
Cygwin wibbles.
-
sewardj 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.
-
sewardj authored
checkClosureShallow: allow Hugs constructor itbls
-
- 11 Apr, 2000 17 commits
-
-
panne 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.
-
sewardj authored
Pull init_stack outside #ifdef INTERPRETER.
-
sewardj authored
Fix bitrot to allow (standalone) StgHugs to be built on Solaris, so we can Purify it.
-
sewardj 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.
-
keithw authored
Render formatting consistent with the Glasgow Style (vapour-)Guide.
-
simonmar authored
remove syslib misc.
-
simonmar authored
not the dmgob_ guys; we don't have the Native library anymore.
-
simonmar authored
syslib wibble
-
simonmar authored
don't try to recurse into non-directories.
-
simonmar authored
update expected output
-
simonmar authored
update expected output
-
simonmar authored
Use STArray instead of MutableArray.
-
simonmar authored
update expected output.
-
simonmar authored
oops, this output is bogus.
-
simonmar authored
update expected output
-
simonmar authored
update expected output
-
simonmar authored
Update for Haskell 1.4 (!!!) and update expected output.
-