lewie [Mon, 22 May 2000 07:59:17 +0000 (07:59 +0000)]
[project @ 2000-05-22 07:59:17 by lewie]
Please merge, of course ;-) A couple of sentences about implicit parameters
for the release notes. You might want to double-check my sgml, which I
do not speak fluently.
simonpj [Mon, 22 May 2000 06:56:04 +0000 (06:56 +0000)]
[project @ 2000-05-22 06:56:04 by simonpj]
*** NO NEED TO MERGE WITH 4.07, BUT POSSIBLE ***
Warn about completely unused imported modules (when -fwarn-unused-imports)
simonpj [Mon, 22 May 2000 06:51:35 +0000 (06:51 +0000)]
[project @ 2000-05-22 06:51:35 by simonpj]
*** MERGE WITH 4.07 ***
Correct types of selectors for records with polymorphic fields.
(Bug reported by Martin Kowalczyk.)
rrt [Fri, 19 May 2000 14:29:20 +0000 (14:29 +0000)]
[project @ 2000-05-19 14:29:20 by rrt]
New member of the family. Look out for .redhat, .mandrake, .beos, .w95,...
coming soon.
rrt [Fri, 19 May 2000 14:21:24 +0000 (14:21 +0000)]
[project @ 2000-05-19 14:21:24 by rrt]
Improved DocBook instructions and added a special section for Windows.
rrt [Fri, 19 May 2000 12:00:47 +0000 (12:00 +0000)]
[project @ 2000-05-19 12:00:47 by rrt]
Added BNW of Installing It Yourself to DocBook docs.
Added new world of pattern guards to Glasgow Exts.
sewardj [Fri, 19 May 2000 11:53:05 +0000 (11:53 +0000)]
[project @ 2000-05-19 11:53:05 by sewardj]
Fix sparc breakage caused by recent (DLLery) NCG hackery. :-)
simonmar [Fri, 19 May 2000 09:49:00 +0000 (09:49 +0000)]
[project @ 2000-05-19 09:49:00 by simonmar]
Make the _ret symbols static; there's no need to have these exported.
simonmar [Fri, 19 May 2000 09:29:08 +0000 (09:29 +0000)]
[project @ 2000-05-19 09:29:08 by simonmar]
Fix type casts w/ CIndex assignments. Should eliminate some warnings
in via-C compilations.
panne [Thu, 18 May 2000 17:15:46 +0000 (17:15 +0000)]
[project @ 2000-05-18 17:15:46 by panne]
* A shell-classic: Inserted space before ] (the lexical syntax of
shells is always resource of miracles...)
* Made searching for a catalog a little bit more cunning: If
SGML_CATALOG_FILES is not set, try FPTOOLS_CATALOG_FILE, then
/usr/share/sgml/CATALOG.docbkdsl, the SuSE-Linux default, don't know
about Red Hat, Debian, etc. This way "make dvi html pdf ps rtf"
works out of the box, at least for me. :-)
simonmar [Thu, 18 May 2000 14:40:47 +0000 (14:40 +0000)]
[project @ 2000-05-18 14:40:47 by simonmar]
Add parsec subdir.
panne [Thu, 18 May 2000 14:22:26 +0000 (14:22 +0000)]
[project @ 2000-05-18 14:22:26 by panne]
'-#include <foo.h>' gobbled the following option. Fixed.
sewardj [Thu, 18 May 2000 13:55:37 +0000 (13:55 +0000)]
[project @ 2000-05-18 13:55:36 by sewardj]
Teach the NCG about the dereferencing and naming conventions to be
used when compiling for a DLLised world. Some cleanups on the way
too. The scheme is that
* All CLabels which are in different DLLs from the current module
will, via the renamer, already be such that labelDynamic returns
True for them.
* Redo the StixPrim/StixMacro stuff so that all references to symbols
in the RTS are via CLabels. That means that the usual labelDynamic
story can be used.
* When a label is printed in PprMach, labelDynamic is consulted, to
generate the __imp_ prefix if necessary.
* In MachCode.stmt2Instrs, selectively ask derefDLL to walk trees
before code generation and insert deferencing code around other-DLL
symbols.
* When generating Stix for SRTs, add 1 to other-DLL refs.
* When generating static closures, insert a zero word before
the _closure label.
simonmar [Thu, 18 May 2000 12:42:21 +0000 (12:42 +0000)]
[project @ 2000-05-18 12:42:20 by simonmar]
New version of hGetLine that is roughly 4 times faster than the
original, and is tail-recursive to boot.
I'm not entirely happy with the code, but it needs to get some testing.
panne [Thu, 18 May 2000 11:33:21 +0000 (11:33 +0000)]
[project @ 2000-05-18 11:33:21 by panne]
Add addrOf_ErrorHdrHook prototype
panne [Thu, 18 May 2000 11:32:21 +0000 (11:32 +0000)]
[project @ 2000-05-18 11:32:21 by panne]
Make stackOverflow prototype available Haskell compilation
simonmar [Thu, 18 May 2000 09:59:28 +0000 (09:59 +0000)]
[project @ 2000-05-18 09:59:28 by simonmar]
cosmetic only
simonmar [Thu, 18 May 2000 09:57:33 +0000 (09:57 +0000)]
[project @ 2000-05-18 09:57:33 by simonmar]
Remove -noC, add -package concurrent to simpl006_HC_OPTS.
simonmar [Thu, 18 May 2000 09:54:47 +0000 (09:54 +0000)]
[project @ 2000-05-18 09:54:47 by simonmar]
Upd_frame ==> upd_frame
simonmar [Thu, 18 May 2000 09:46:24 +0000 (09:46 +0000)]
[project @ 2000-05-18 09:46:24 by simonmar]
$(SGML_DOC) can only support one document, so build the Build System
Guide by default.
simonmar [Thu, 18 May 2000 09:42:28 +0000 (09:42 +0000)]
[project @ 2000-05-18 09:42:28 by simonmar]
doc-building fix.
lewie [Wed, 17 May 2000 22:05:44 +0000 (22:05 +0000)]
[project @ 2000-05-17 22:05:44 by lewie]
Defer ambiguity test for class members, so that the test is done *after*
we know the (extended) functional dependencies (this is a patch that was
mostly carried over from hugs98, but a few lines were out of place).
panne [Tue, 16 May 2000 16:51:42 +0000 (16:51 +0000)]
[project @ 2000-05-16 16:51:42 by panne]
Unbreak util package dependencies for non-M$ platforms
simonmar [Tue, 16 May 2000 15:56:00 +0000 (15:56 +0000)]
[project @ 2000-05-16 15:56:00 by simonmar]
Upd_frame ==> upd_frame
(somehow this file got missed from yesterday's commit)
rrt [Tue, 16 May 2000 14:59:33 +0000 (14:59 +0000)]
[project @ 2000-05-16 14:59:32 by rrt]
Put the -c flag in the right place.
rrt [Tue, 16 May 2000 14:21:25 +0000 (14:21 +0000)]
[project @ 2000-05-16 14:21:25 by rrt]
Added a description of SGML comments.
rrt [Tue, 16 May 2000 14:18:16 +0000 (14:18 +0000)]
[project @ 2000-05-16 14:18:16 by rrt]
Added FPTOOLS_CATALOG_FILE
rrt [Tue, 16 May 2000 14:17:22 +0000 (14:17 +0000)]
[project @ 2000-05-16 14:17:22 by rrt]
Made it buildable again; notes on installing DocBook/Jade removed for the moment.
rrt [Tue, 16 May 2000 14:16:20 +0000 (14:16 +0000)]
[project @ 2000-05-16 14:16:20 by rrt]
Added docbook-cheat-sheet
rrt [Tue, 16 May 2000 14:04:25 +0000 (14:04 +0000)]
[project @ 2000-05-16 14:04:25 by rrt]
Added -package concurrent.
rrt [Tue, 16 May 2000 14:03:14 +0000 (14:03 +0000)]
[project @ 2000-05-16 14:03:14 by rrt]
Now that -ddump-* dumps to stdout, the stderr/out files need
reorganising.
rrt [Tue, 16 May 2000 13:55:46 +0000 (13:55 +0000)]
[project @ 2000-05-16 13:55:46 by rrt]
Added import PrelIOBase, which is now needed.
rrt [Tue, 16 May 2000 11:36:57 +0000 (11:36 +0000)]
[project @ 2000-05-16 11:36:57 by rrt]
Add util packages to memo tests.
rrt [Tue, 16 May 2000 11:26:31 +0000 (11:26 +0000)]
[project @ 2000-05-16 11:26:31 by rrt]
Package fix: don't have posix as a dependency of util on Windows (where
posix doesn't work).
rrt [Tue, 16 May 2000 10:45:24 +0000 (10:45 +0000)]
[project @ 2000-05-16 10:45:23 by rrt]
Much pain in order to get the horrid heap of brokenness that is the DocBook
catalog system to work.
simonmar [Tue, 16 May 2000 09:08:03 +0000 (09:08 +0000)]
[project @ 2000-05-16 09:08:03 by simonmar]
oops... better unbreak the driver
lewie [Mon, 15 May 2000 22:44:00 +0000 (22:44 +0000)]
[project @ 2000-05-15 22:44:00 by lewie]
Fixed missing case in dependency analysis for an implicit param.
keithw [Mon, 15 May 2000 15:34:03 +0000 (15:34 +0000)]
[project @ 2000-05-15 15:34:03 by keithw]
Adjust treatment of rules in SimplCore to enable a Core pass to alter
them if necessary. Use tricks to ensure that the common case (no change)
is still efficient.
simonmar [Mon, 15 May 2000 15:03:36 +0000 (15:03 +0000)]
[project @ 2000-05-15 15:03:36 by simonmar]
I lied earlier. _ccall_GC_ should work now.
simonmar [Mon, 15 May 2000 14:49:47 +0000 (14:49 +0000)]
[project @ 2000-05-15 14:49:47 by simonmar]
wibble
simonmar [Mon, 15 May 2000 14:49:14 +0000 (14:49 +0000)]
[project @ 2000-05-15 14:49:14 by simonmar]
fix bug in module initialization
simonmar [Mon, 15 May 2000 14:46:50 +0000 (14:46 +0000)]
[project @ 2000-05-15 14:46:50 by simonmar]
add bLOCK_SIZE
simonmar [Mon, 15 May 2000 14:44:42 +0000 (14:44 +0000)]
[project @ 2000-05-15 14:44:42 by simonmar]
add CurrentTSO, CurrentNursery, bdescr->start and bdescr->free offsets.
simonmar [Mon, 15 May 2000 14:38:11 +0000 (14:38 +0000)]
[project @ 2000-05-15 14:38:11 by simonmar]
forgot a file in the Upd_frame ==> upd_frame commit.
simonmar [Mon, 15 May 2000 14:36:48 +0000 (14:36 +0000)]
[project @ 2000-05-15 14:36:48 by simonmar]
Change the order of building stubs vs. the main .hc file so that one
doesn't trample on the other. This stuff is *so* horrible.
simonmar [Mon, 15 May 2000 14:29:04 +0000 (14:29 +0000)]
[project @ 2000-05-15 14:29:04 by simonmar]
callback is a definite via-C test
rrt [Mon, 15 May 2000 13:10:20 +0000 (13:10 +0000)]
[project @ 2000-05-15 13:10:20 by rrt]
Updated to conform to different output.
rrt [Mon, 15 May 2000 12:53:39 +0000 (12:53 +0000)]
[project @ 2000-05-15 12:53:39 by rrt]
Extra rule to make gmp/gmp.dll.
rrt [Mon, 15 May 2000 12:49:48 +0000 (12:49 +0000)]
[project @ 2000-05-15 12:49:48 by rrt]
Removed commented-out out-of-date code from the test, and updated stderr.
simonmar [Mon, 15 May 2000 11:39:32 +0000 (11:39 +0000)]
[project @ 2000-05-15 11:39:32 by simonmar]
The NCG should now support _ccall_GC (i.e. foreign import safe).
simonmar [Mon, 15 May 2000 11:38:55 +0000 (11:38 +0000)]
[project @ 2000-05-15 11:38:55 by simonmar]
remove extra \n in debug message
rrt [Mon, 15 May 2000 11:21:22 +0000 (11:21 +0000)]
[project @ 2000-05-15 11:21:22 by rrt]
Stdout modified in accordance with output (it's the same as io005.hs, which
has itself been modified).
rrt [Mon, 15 May 2000 11:18:58 +0000 (11:18 +0000)]
[project @ 2000-05-15 11:18:58 by rrt]
Reversed some formatting changes to make more similar to last version that
worked (currently seems not to work on Windows or Linux).
simonmar [Mon, 15 May 2000 09:25:40 +0000 (09:25 +0000)]
[project @ 2000-05-15 09:25:40 by simonmar]
syslib concurrent depends on lang
simonmar [Mon, 15 May 2000 09:20:11 +0000 (09:20 +0000)]
[project @ 2000-05-15 09:20:11 by simonmar]
back out previous misguided commit.
panne [Sun, 14 May 2000 17:13:48 +0000 (17:13 +0000)]
[project @ 2000-05-14 17:13:48 by panne]
Recurse into docbook subdir, too
lewie [Sun, 14 May 2000 07:16:50 +0000 (07:16 +0000)]
[project @ 2000-05-14 07:16:50 by lewie]
Wobble. Fine tuning tcSimplifyAndCheck a bit further (wrt implicit params).
The key is that a method that doesn't constrain a local tyvar, but does has
implicit params, needs to be reduced further.
lewie [Sat, 13 May 2000 00:20:58 +0000 (00:20 +0000)]
[project @ 2000-05-13 00:20:57 by lewie]
A clean-up pass on fundeps and implicit params. Haven't yet incorporated
changes from Hugs/GHC meeting yet, tho.
- Fixed up several places in Type.lhs where IPNotes were probably being
incorrectly handled. Strongly suggests a better solution should be
implemented for marking implicit params than piggybacking on NoteTys.
- tcSimplifyAndCheck was handling implicit params incorrectly
(holding on to them when it should have been booting them out to frees).
- Improved improvement WRT type signatures (the signature is now taken
into account when improving).
- Added improvement when matching against local polymorphic types.
panne [Fri, 12 May 2000 20:01:28 +0000 (20:01 +0000)]
[project @ 2000-05-12 20:01:28 by panne]
Fixed bug in integerTo{Word,Int}64zh primops: They used the number of
allocated *words* to determine size of an integer, but this is wrong
due to normalization. When e.g. two large numbers with different sign,
but approximately same absolute value are added, MPN_NORMALIZE cuts
down the *size*, but the allocation stays the same. Simple fix: Use
size parameter of macros directly. Easier and more correct! :-)
rrt [Fri, 12 May 2000 16:59:26 +0000 (16:59 +0000)]
[project @ 2000-05-12 16:59:26 by rrt]
Changed jade to $JADE
rrt [Fri, 12 May 2000 16:56:54 +0000 (16:56 +0000)]
[project @ 2000-05-12 16:56:54 by rrt]
Add JadeCmd to find path of jade.
rrt [Fri, 12 May 2000 16:53:17 +0000 (16:53 +0000)]
[project @ 2000-05-12 16:53:16 by rrt]
Corrected TOP.
rrt [Fri, 12 May 2000 16:49:43 +0000 (16:49 +0000)]
[project @ 2000-05-12 16:49:42 by rrt]
Reorganisation to parametrise *.sh files on name of Jade, which is
now found by the configure script.
sewardj [Fri, 12 May 2000 16:03:04 +0000 (16:03 +0000)]
[project @ 2000-05-12 16:03:04 by sewardj]
DietHEP demo program wurble
sewardj [Fri, 12 May 2000 15:59:37 +0000 (15:59 +0000)]
[project @ 2000-05-12 15:59:37 by sewardj]
Cygwin support machinery for manufacturing DietHEP.dll and building a
small demo program (dh_demo.exe).
rrt [Fri, 12 May 2000 15:50:14 +0000 (15:50 +0000)]
[project @ 2000-05-12 15:50:14 by rrt]
db2html now parametrised on location of files it needs (GIFs and CSS).
rrt [Fri, 12 May 2000 15:48:20 +0000 (15:48 +0000)]
[project @ 2000-05-12 15:48:20 by rrt]
Added to repository: GIFs and CSS that are copied to HTML directories by
db2html.
rrt [Fri, 12 May 2000 15:46:53 +0000 (15:46 +0000)]
[project @ 2000-05-12 15:46:53 by rrt]
New driver.
rrt [Fri, 12 May 2000 15:46:26 +0000 (15:46 +0000)]
[project @ 2000-05-12 15:46:26 by rrt]
Makes db2html from db2html.sh
rrt [Fri, 12 May 2000 15:45:48 +0000 (15:45 +0000)]
[project @ 2000-05-12 15:45:48 by rrt]
db2html is now produced from db2html.sh
sewardj [Fri, 12 May 2000 13:49:54 +0000 (13:49 +0000)]
[project @ 2000-05-12 13:49:54 by sewardj]
3rd time lucky with DIET_HEP and Cygwin. I hope.
sewardj [Fri, 12 May 2000 13:41:59 +0000 (13:41 +0000)]
[project @ 2000-05-12 13:41:59 by sewardj]
Rename DietHEPpish things HMODULE, GetProcAddress, etc, since those
names conflict with Windows builtins.
simonmar [Fri, 12 May 2000 13:37:05 +0000 (13:37 +0000)]
[project @ 2000-05-12 13:37:05 by simonmar]
compile PrelRules with -fvia-C for now.
rrt [Fri, 12 May 2000 13:35:46 +0000 (13:35 +0000)]
[project @ 2000-05-12 13:35:46 by rrt]
Removed the SGML directories stuff. This should all be set up by the user
(who won't have to if the SGML tools are correctly installed).
sewardj [Fri, 12 May 2000 13:34:07 +0000 (13:34 +0000)]
[project @ 2000-05-12 13:34:06 by sewardj]
Minor wurbles to make it compile on Cygwin following DietHEPpery.
simonmar [Fri, 12 May 2000 13:12:56 +0000 (13:12 +0000)]
[project @ 2000-05-12 13:12:56 by simonmar]
Update for changes in the profile output.
simonmar [Fri, 12 May 2000 13:01:04 +0000 (13:01 +0000)]
[project @ 2000-05-12 13:01:04 by simonmar]
The time/allocation profile now shows costs as both
- "individual" (incurred by the specific cost-centre stack), and
- "inherited" (incurrent by the cost-centre stack and all its
children).
In addition, the "inner" column has been removed (should be the same
as the sum of the scc counts of the children of the current node), and
the "caf" column has been removed (wasn't very useful).
rrt [Fri, 12 May 2000 12:58:47 +0000 (12:58 +0000)]
[project @ 2000-05-12 12:58:47 by rrt]
Clarified comment about SGML_TOP.
rrt [Fri, 12 May 2000 12:56:45 +0000 (12:56 +0000)]
[project @ 2000-05-12 12:56:45 by rrt]
Changed absolute paths to use SGML_TOP.
rrt [Fri, 12 May 2000 12:56:15 +0000 (12:56 +0000)]
[project @ 2000-05-12 12:56:15 by rrt]
Added docbook.
simonmar [Fri, 12 May 2000 12:48:36 +0000 (12:48 +0000)]
[project @ 2000-05-12 12:48:36 by simonmar]
add some #ifdefery to suppress warnings.
rrt [Fri, 12 May 2000 12:44:09 +0000 (12:44 +0000)]
[project @ 2000-05-12 12:44:09 by rrt]
Upped minimum version of GHC required to use new PrelAddr to 405.
sewardj [Fri, 12 May 2000 11:59:39 +0000 (11:59 +0000)]
[project @ 2000-05-12 11:59:38 by sewardj]
First try at support for DietHEP. Has some unfindable bug which causes
it to fail when hugs.c is compiled -O; works fine without -O.
rrt [Fri, 12 May 2000 11:55:52 +0000 (11:55 +0000)]
[project @ 2000-05-12 11:55:52 by rrt]
Remove reference to dLL_ifs.hi (was being specifically ignored in
preprocess_include_dirs).
rrt [Fri, 12 May 2000 11:48:31 +0000 (11:48 +0000)]
[project @ 2000-05-12 11:48:30 by rrt]
Fix install rules for _imp libraries under Windows. They must only be
installed if EnableWin32Dlls is YES, but not in the dll way (otherwise
a spurious _dll is inserted into the library name).
simonmar [Fri, 12 May 2000 11:00:30 +0000 (11:00 +0000)]
[project @ 2000-05-12 11:00:30 by simonmar]
integerToWord64 only started working properly yesterday (!), so don't
include folding on word bitops in pre-4.07 GHCs.
panne [Fri, 12 May 2000 09:20:03 +0000 (09:20 +0000)]
[project @ 2000-05-12 09:20:03 by panne]
Don't try to install import libraries if way /= dll
simonmar [Fri, 12 May 2000 09:18:21 +0000 (09:18 +0000)]
[project @ 2000-05-12 09:18:21 by simonmar]
versionitis: pre-4.06 GHCs didn't have PrelAddr.intToWord
rrt [Thu, 11 May 2000 19:43:08 +0000 (19:43 +0000)]
[project @ 2000-05-11 19:43:08 by rrt]
Rename From*Bounded functions to boundedFrom* for consistency with
numericFrom*
rrt [Thu, 11 May 2000 19:37:50 +0000 (19:37 +0000)]
[project @ 2000-05-11 19:37:30 by rrt]
Corrected use of patsubst.
simonmar [Thu, 11 May 2000 16:16:32 +0000 (16:16 +0000)]
[project @ 2000-05-11 16:16:32 by simonmar]
add links to FFI stuff.
simonmar [Thu, 11 May 2000 16:07:37 +0000 (16:07 +0000)]
[project @ 2000-05-11 16:07:37 by simonmar]
First cut at 4.07's release notes.
panne [Thu, 11 May 2000 15:11:40 +0000 (15:11 +0000)]
[project @ 2000-05-11 15:11:24 by panne]
Added rules for constant folding with the folloging ops:
WordQuotOp, WordRemOp, AndOp, OrOp, XorOp, Int2AddrOp, Addr2IntOp,
Float2IntOp, DoubleNegOp, Double2IntOp, Double2FloatOp, Float2DoubleOp
simonmar [Thu, 11 May 2000 13:30:11 +0000 (13:30 +0000)]
[project @ 2000-05-11 13:30:11 by simonmar]
Try to avoid clashes with files already in $TMPDIR.
simonmar [Thu, 11 May 2000 13:15:38 +0000 (13:15 +0000)]
[project @ 2000-05-11 13:15:38 by simonmar]
Don't open with O_NONBLOCK, instead open in blocking mode and set
O_NONBLOCK subsequently with fcntl(). This appears to fix the
problems with FIFOs.
Pick one of the following:
- the semantics as implemented by Linux & Solaris is broken
- the POSIX semantics is broken
- our expectation that things should behave sensibly is unreasonable
rrt [Thu, 11 May 2000 12:50:51 +0000 (12:50 +0000)]
[project @ 2000-05-11 12:50:51 by rrt]
Make gmp DLL in DLL way (wasn't being made at all before).
simonmar [Thu, 11 May 2000 11:54:56 +0000 (11:54 +0000)]
[project @ 2000-05-11 11:54:56 by simonmar]
StablePtrRep is now more like a pointer than an integer, so use the
correct union tag when assigning one to a register to avoid warnings.
rrt [Thu, 11 May 2000 11:05:32 +0000 (11:05 +0000)]
[project @ 2000-05-11 11:05:32 by rrt]
Fix installing for DLLized Windows build.
rrt [Thu, 11 May 2000 10:45:34 +0000 (10:45 +0000)]
[project @ 2000-05-11 10:45:34 by rrt]
Removed dLL_ifs.hi from INSTALL_DATA under Windows (no longer exists).
andy [Thu, 11 May 2000 07:20:36 +0000 (07:20 +0000)]
[project @ 2000-05-11 07:20:36 by andy]
Wibble...
The corrected example is as follows:
myS :: (forall t t1 t2. (t -> t2 -> t1) -> (t -> t2) -> t -> t1)
[NoDiscard] __AL 3
myS
= \ @ t @ t1 @ t2 f :: (t -> t2 -> t1) g :: (t -> t2) x :: t -> f x (g x)
public class myS implements Code {
public Object ENTER () {
VM.COLLECT(3, this);
final Object f = VM.POP();
final Object g = VM.POP();
final Object x = VM.POP();
VM.PUSH(x);
VM.PUSH(new Thunk(new myS$1(g, x)));
return f;
}
}
class myS$1 extends Code {
final Object g;
final Object x;
public myS$1 (Object _g_, Object _x_) {
g = _g_;
x = _x_;
}
public Object ENTER () {
VM.PUSH(x);
return g;
}
}