qrczak [Fri, 27 Apr 2001 19:35:50 +0000 (19:35 +0000)]
[project @ 2001-04-27 19:35:50 by qrczak]
Add builtin rules for {intToInt,wordToWord}{8,16,32}# applied to literals.
sewardj [Fri, 27 Apr 2001 16:30:08 +0000 (16:30 +0000)]
[project @ 2001-04-27 16:30:08 by sewardj]
When configuring GMP, restrict to the 486 instruction set. Doing otherwise
produces GMPs which expect to run on the P6 core on which they were built,
and so die with Illegal Instruction exceptions on Pentium (P5) and 486s.
sewardj [Fri, 27 Apr 2001 15:41:49 +0000 (15:41 +0000)]
[project @ 2001-04-27 15:41:49 by sewardj]
Avoid pattern match failure in getValidLinkable.maybe_old_linkable.
sewardj [Fri, 27 Apr 2001 15:39:18 +0000 (15:39 +0000)]
[project @ 2001-04-27 15:39:18 by sewardj]
merge rev 1.69.2.1, which was:
Remove x86-specific implementation of {intToInt,wordToWord}{8,16,32}#
primops, and replace them with platform-independent versions expressed
purely in Stix terms.
sewardj [Fri, 27 Apr 2001 15:38:39 +0000 (15:38 +0000)]
[project @ 2001-04-27 15:38:39 by sewardj]
merge rev 1.63.2.2, which was:
Remove x86-specific implementation of {intToInt,wordToWord}{8,16,32}#
primops, and replace them with platform-independent versions expressed
purely in Stix terms.
simonmar [Fri, 27 Apr 2001 15:17:16 +0000 (15:17 +0000)]
[project @ 2001-04-27 15:17:16 by simonmar]
update for new headers
simonmar [Fri, 27 Apr 2001 14:30:48 +0000 (14:30 +0000)]
[project @ 2001-04-27 14:30:48 by simonmar]
add a few extra headers
simonmar [Fri, 27 Apr 2001 14:13:43 +0000 (14:13 +0000)]
[project @ 2001-04-27 14:13:43 by simonmar]
SplitObjs=NO if GhcUnregisterised==YES
simonmar [Fri, 27 Apr 2001 11:23:48 +0000 (11:23 +0000)]
[project @ 2001-04-27 11:23:48 by simonmar]
er.. wibble
simonmar [Fri, 27 Apr 2001 10:03:50 +0000 (10:03 +0000)]
[project @ 2001-04-27 10:03:50 by simonmar]
- Generalise GHC-specific messages in the post-installation
announcement, and make it stand out a bit more.
- Fix documentation installation for non-GHC packages.
simonmar [Fri, 27 Apr 2001 08:52:19 +0000 (08:52 +0000)]
[project @ 2001-04-27 08:52:19 by simonmar]
fix markup
simonmar [Fri, 27 Apr 2001 08:50:59 +0000 (08:50 +0000)]
[project @ 2001-04-27 08:50:59 by simonmar]
add a note about requiring 'main' to be defined in module 'Main'.
simonmar [Fri, 27 Apr 2001 08:31:54 +0000 (08:31 +0000)]
[project @ 2001-04-27 08:31:54 by simonmar]
oops, can't use inCharRange here because of recursive dep.
qrczak [Fri, 27 Apr 2001 03:11:25 +0000 (03:11 +0000)]
[project @ 2001-04-27 03:11:25 by qrczak]
Don't delete ghc/configure on maintainer-clean.
sewardj [Thu, 26 Apr 2001 15:42:06 +0000 (15:42 +0000)]
[project @ 2001-04-26 15:42:06 by sewardj]
Fix bug in which *primitive* string literals were being checked for
Unicode-ness, even though they are not allowed to be; literals
containing zero bytes were then unicodified, which crashes the
bytecode generator.
simonmar [Thu, 26 Apr 2001 14:33:44 +0000 (14:33 +0000)]
[project @ 2001-04-26 14:33:44 by simonmar]
Don't fail during dependency generation if one of the search paths
doesn't exist.
simonmar [Thu, 26 Apr 2001 14:23:37 +0000 (14:23 +0000)]
[project @ 2001-04-26 14:23:37 by simonmar]
Release notes for 5.02. Let's not leave it till the last minute this
time, please folks!
simonmar [Thu, 26 Apr 2001 13:52:57 +0000 (13:52 +0000)]
[project @ 2001-04-26 13:52:57 by simonmar]
correct the sanity checking for -ohi
simonmar [Thu, 26 Apr 2001 13:38:01 +0000 (13:38 +0000)]
[project @ 2001-04-26 13:38:01 by simonmar]
Checking -ohi when looking for .hi files was the wrong thing to do.
simonmar [Thu, 26 Apr 2001 12:16:57 +0000 (12:16 +0000)]
[project @ 2001-04-26 12:16:57 by simonmar]
Allow out-of-range character literals to appear in interface-file
unfoldings. They occasionally pop up in Core.
qrczak [Thu, 26 Apr 2001 11:38:53 +0000 (11:38 +0000)]
[project @ 2001-04-26 11:38:53 by qrczak]
Don't write to stdin when there is no Readline.
sewardj [Thu, 26 Apr 2001 11:08:32 +0000 (11:08 +0000)]
[project @ 2001-04-26 11:08:32 by sewardj]
Detect the presence or absence of readline the right way.
simonmar [Wed, 25 Apr 2001 14:36:48 +0000 (14:36 +0000)]
[project @ 2001-04-25 14:36:48 by simonmar]
fix another sign problem in toClockTime.
simonmar [Wed, 25 Apr 2001 10:00:29 +0000 (10:00 +0000)]
[project @ 2001-04-25 10:00:29 by simonmar]
never delete configure, even for maintainer-clean.
andy [Tue, 24 Apr 2001 23:51:11 +0000 (23:51 +0000)]
[project @ 2001-04-24 23:51:11 by andy]
Adding tests for Arrays that use quickcheck to compare arrays
with a reference implementation (from the Haskell report).
lewie [Tue, 24 Apr 2001 20:12:18 +0000 (20:12 +0000)]
[project @ 2001-04-24 20:12:18 by lewie]
Eh hem... Wibble.
qrczak [Tue, 24 Apr 2001 15:49:19 +0000 (15:49 +0000)]
[project @ 2001-04-24 15:49:19 by qrczak]
Remove spaces after \ at eol.
Generate declarations for Posix symbols too.
simonmar [Tue, 24 Apr 2001 15:06:32 +0000 (15:06 +0000)]
[project @ 2001-04-24 15:06:32 by simonmar]
hc bootstrapping fixes
simonmar [Tue, 24 Apr 2001 15:03:37 +0000 (15:03 +0000)]
[project @ 2001-04-24 15:03:37 by simonmar]
- hc bootstraping fixes
- distclean & maintainer-clean should descend into gmp.
simonmar [Tue, 24 Apr 2001 13:48:01 +0000 (13:48 +0000)]
[project @ 2001-04-24 13:48:01 by simonmar]
remove some unnecessary hacks (eg. building in ghc/utils/unlit early).
sewardj [Tue, 24 Apr 2001 13:29:05 +0000 (13:29 +0000)]
[project @ 2001-04-24 13:29:05 by sewardj]
merge rev 1.1.2.2, which was:
Fix readline arg to pkgconf.
simonmar [Tue, 24 Apr 2001 13:24:45 +0000 (13:24 +0000)]
[project @ 2001-04-24 13:24:45 by simonmar]
SUBDIRS should include utils when BootingFromHc.
simonmar [Tue, 24 Apr 2001 13:05:51 +0000 (13:05 +0000)]
[project @ 2001-04-24 13:05:51 by simonmar]
ShowTiming should not be on by default.
sewardj [Tue, 24 Apr 2001 11:20:50 +0000 (11:20 +0000)]
[project @ 2001-04-24 11:20:50 by sewardj]
Make posix symbols disappear for Mingwin builds.
simonmar [Tue, 24 Apr 2001 10:06:18 +0000 (10:06 +0000)]
[project @ 2001-04-24 10:06:18 by simonmar]
Pass $(libdir) to the post install script, not $(prefix)
simonmar [Tue, 24 Apr 2001 10:05:59 +0000 (10:05 +0000)]
[project @ 2001-04-24 10:05:59 by simonmar]
Fixes for the post-isntall-script. Still to do: get LibsReadline right.
simonmar [Tue, 24 Apr 2001 09:20:15 +0000 (09:20 +0000)]
[project @ 2001-04-24 09:20:15 by simonmar]
bump version to 5.01
lewie [Mon, 23 Apr 2001 19:34:57 +0000 (19:34 +0000)]
[project @ 2001-04-23 19:34:57 by lewie]
Fix for infix decl w/ infix data constructor.
GHC was rejecting this:
infix 2 |-
ps |- q:qs = undefined
It parses the def as ((ps |- q) : qs), and doesn't have the fixity info
around at the point where it decides what is being defined. Lacking
anything else to go on, it decides that `:' is being defined.
Fortunately, we don't really need fixity info to parse this correctly,
as a data constructor is always the wrong choice ;-) The fix is to
dive into the left-hand-side until we find a non-data constructor.
This is naive - consider the case where `|-' has a high precedence.
Fortunately, someone clever put in a static check later on, presumably
at the point where we have all the fixity info, that rejects the definition
as bogus. Yeah!
lewie [Mon, 23 Apr 2001 19:25:06 +0000 (19:25 +0000)]
[project @ 2001-04-23 19:25:06 by lewie]
Adding tests for infix decls w/ infix data constructors
sewardj [Mon, 23 Apr 2001 16:50:48 +0000 (16:50 +0000)]
[project @ 2001-04-23 16:50:48 by sewardj]
Generate a plausible value for NO_READLINE.
sewardj [Mon, 23 Apr 2001 16:49:59 +0000 (16:49 +0000)]
[project @ 2001-04-23 16:49:59 by sewardj]
GhcWithInterpreter=YES when mingw32 as well.
rrt [Mon, 23 Apr 2001 15:21:48 +0000 (15:21 +0000)]
[project @ 2001-04-23 15:21:48 by rrt]
Tidy up.
rrt [Mon, 23 Apr 2001 15:21:05 +0000 (15:21 +0000)]
[project @ 2001-04-23 15:21:05 by rrt]
Correct URL for InstallShield download.
rrt [Mon, 23 Apr 2001 14:57:29 +0000 (14:57 +0000)]
[project @ 2001-04-23 14:57:29 by rrt]
This is now kept in the web site's CVS repo.
simonmar [Mon, 23 Apr 2001 13:34:41 +0000 (13:34 +0000)]
[project @ 2001-04-23 13:34:41 by simonmar]
Mention the SourceForge page for bug reports.
simonmar [Mon, 23 Apr 2001 13:33:22 +0000 (13:33 +0000)]
[project @ 2001-04-23 13:33:22 by simonmar]
be a little less Linux/Solaris-centric.
sewardj [Mon, 23 Apr 2001 10:34:23 +0000 (10:34 +0000)]
[project @ 2001-04-23 10:34:23 by sewardj]
merge rev 1.42.2.1
panne [Sat, 21 Apr 2001 10:19:53 +0000 (10:19 +0000)]
[project @ 2001-04-21 10:19:53 by panne]
Removed Julian's Teletubby
rrt [Fri, 20 Apr 2001 15:21:22 +0000 (15:21 +0000)]
[project @ 2001-04-20 15:21:22 by rrt]
Move one or two hintettes here from the old Windows installation guide, now
they're no longer needed there.
rrt [Fri, 20 Apr 2001 15:20:34 +0000 (15:20 +0000)]
[project @ 2001-04-20 15:20:34 by rrt]
Drastically simplify the Windows installation instructions, now that we
don't need Cygwin.
sewardj [Fri, 20 Apr 2001 14:54:37 +0000 (14:54 +0000)]
[project @ 2001-04-20 14:54:37 by sewardj]
merge rev 1.45.2.1
sewardj [Fri, 20 Apr 2001 14:53:15 +0000 (14:53 +0000)]
[project @ 2001-04-20 14:53:15 by sewardj]
merge rev 1.63.2.1
michaelw [Fri, 20 Apr 2001 10:56:12 +0000 (10:56 +0000)]
[project @ 2001-04-20 10:56:12 by michaelw]
* print the happy version, even if the following test fails...
* also, do the test, even if the version is already in config.cache
*** MERGE with ghc-5-00 ***
(the latest configure.in commits should probably be merged, too...)
sewardj [Fri, 20 Apr 2001 10:42:46 +0000 (10:42 +0000)]
[project @ 2001-04-20 10:42:46 by sewardj]
merge rev 1.4.2.1
qrczak [Fri, 20 Apr 2001 07:21:56 +0000 (07:21 +0000)]
[project @ 2001-04-20 07:21:56 by qrczak]
Let it work on FreeBSD where fileno is a macro.
Support readline-4.2 (some C functions were renamed).
Correctly treat rl_redisplay_function as returning void.
sewardj [Thu, 19 Apr 2001 15:58:56 +0000 (15:58 +0000)]
[project @ 2001-04-19 15:58:56 by sewardj]
merge revision 1.52.2.1
sewardj [Wed, 18 Apr 2001 11:58:02 +0000 (11:58 +0000)]
[project @ 2001-04-18 11:58:02 by sewardj]
include ../includes/config.h
michaelw [Wed, 18 Apr 2001 07:49:07 +0000 (07:49 +0000)]
[project @ 2001-04-18 07:49:07 by michaelw]
readded Debian's old SGML catalog path for backward compat with Debian-2.2
dsyme [Wed, 18 Apr 2001 01:49:23 +0000 (01:49 +0000)]
[project @ 2001-04-18 01:49:22 by dsyme]
More ILX backend fixes from Don Syme
lewie [Tue, 17 Apr 2001 22:11:00 +0000 (22:11 +0000)]
[project @ 2001-04-17 22:11:00 by lewie]
Stomp some debug output.
lewie [Tue, 17 Apr 2001 21:44:16 +0000 (21:44 +0000)]
[project @ 2001-04-17 21:44:16 by lewie]
This is the test I meant to put in ... ;-)
michaelw [Tue, 17 Apr 2001 21:41:29 +0000 (21:41 +0000)]
[project @ 2001-04-17 21:41:29 by michaelw]
* added autoconf macro that compares dot-separated version
numbers
* adjusted happy version checking
* ./configure now happy with CVS-happy's [1.10] ;)
rrt [Tue, 17 Apr 2001 16:00:48 +0000 (16:00 +0000)]
[project @ 2001-04-17 16:00:48 by rrt]
Add m4 to the required packages list.
rrt [Tue, 17 Apr 2001 15:55:33 +0000 (15:55 +0000)]
[project @ 2001-04-17 15:55:33 by rrt]
Update the rather old instructions on installing ancillary tools on Windows.
lewie [Tue, 17 Apr 2001 06:40:07 +0000 (06:40 +0000)]
[project @ 2001-04-17 06:40:07 by lewie]
Woops. Wrong example.
lewie [Tue, 17 Apr 2001 06:14:59 +0000 (06:14 +0000)]
[project @ 2001-04-17 06:14:59 by lewie]
Added test for parallel lets in parallel list comprehensions.
chak [Mon, 16 Apr 2001 03:01:04 +0000 (03:01 +0000)]
[project @ 2001-04-16 03:01:04 by chak]
* Adapted to GHC 5.00. By default an interactive system is built.
* Automagically runs autoconf if `configure' is missing from the source tar
ball.
chak [Mon, 16 Apr 2001 01:30:16 +0000 (01:30 +0000)]
[project @ 2001-04-16 01:30:16 by chak]
$(bindir) has to be in place before creating symbolic links (otherwise, rpms
cannot be built with the BUILD_ROOT feature).
qrczak [Sat, 14 Apr 2001 22:32:14 +0000 (22:32 +0000)]
[project @ 2001-04-14 22:32:14 by qrczak]
{-# INLINE instance #-} support.
qrczak [Sat, 14 Apr 2001 22:29:16 +0000 (22:29 +0000)]
[project @ 2001-04-14 22:29:16 by qrczak]
Add stg_ap_1_upd_info to symbols known to the linker.
qrczak [Sat, 14 Apr 2001 22:28:46 +0000 (22:28 +0000)]
[project @ 2001-04-14 22:28:46 by qrczak]
castCCharToChar can be more straightforward and more efficient now.
qrczak [Sat, 14 Apr 2001 22:28:22 +0000 (22:28 +0000)]
[project @ 2001-04-14 22:28:22 by qrczak]
Cosmetics.
qrczak [Sat, 14 Apr 2001 22:27:34 +0000 (22:27 +0000)]
[project @ 2001-04-14 22:27:34 by qrczak]
Don't rely so much on exports from ArrayBase.
qrczak [Sat, 14 Apr 2001 22:27:00 +0000 (22:27 +0000)]
[project @ 2001-04-14 22:27:00 by qrczak]
Implementation of arrays rewritten
----------------------------------
Bulk operations like listArray, elems, fmap/amap, (==), getElems,
getAssocs, freeze etc. no longer check whether indices which are
not provided by the programmer are in bounds (they always are), and
avoid unnecessary translation between Ix indices and Int indices.
Some operations are implemented more efficiently, most notably (==)
and compare.
This applies to all IArray and MArray instances, including Haskell
98 Arrays.
Old methods of IArray and MArray are now functions; this is the only
change in the interface. New methods are exported only by ArrayBase,
i.e. not officially exported. They work on Int indices and are unsafe:
they don't do bounds checks themselves. Public functions do checks
and index translation instead where necessary.
More is inlined, to ensure that anything worth specialization or list
fusion gets specialized and fused. Perhaps a bit too much is inlined.
If it was possible to say that a function should be instantiated in
other modules for each type but not inlined on each use, it would be
useful here.
Using UArray Int Char wrapped in a nice interface (not included
here) instead of PackedString should be reasonable. PackedStrings
are 10% faster than UArray in a sorting test (and don't support
Unicode). Standard Strings are 50% slower (and take up more memory),
even though other test versions convert input from standard Strings
and convert output to them. ByteArrays tuned by hand for the benchmark
are 15% faster. The same UArray test compiled with released ghc-5.00,
with compare defined in terms of assocs, is 7 times slower.
qrczak [Sat, 14 Apr 2001 22:25:24 +0000 (22:25 +0000)]
[project @ 2001-04-14 22:25:24 by qrczak]
Do more Word arithmetic on constants at compile time.
qrczak [Sat, 14 Apr 2001 22:24:24 +0000 (22:24 +0000)]
[project @ 2001-04-14 22:24:24 by qrczak]
Add {-# INLINE instance #-} pragma which ensures that the dictionary
function is inlined.
lewie [Sat, 14 Apr 2001 07:36:58 +0000 (07:36 +0000)]
[project @ 2001-04-14 07:36:58 by lewie]
Fix a couple of bugs affecting implicit params. With implicit params, you
can have a rho type w/o being a forall type.
panne [Fri, 13 Apr 2001 21:37:43 +0000 (21:37 +0000)]
[project @ 2001-04-13 21:37:42 by panne]
First steps toward a better typing of f.e.d. and friends: Make FunPtr
a fully-fledged data type, not a renaming for Ptr. This is necessary,
because the FFI "looks through" newtypes, which we don't want in this
case.
lewie [Fri, 13 Apr 2001 17:49:23 +0000 (17:49 +0000)]
[project @ 2001-04-13 17:49:23 by lewie]
Add new test for IP.
panne [Fri, 13 Apr 2001 13:37:24 +0000 (13:37 +0000)]
[project @ 2001-04-13 13:37:24 by panne]
To keep people debugging GHC sane, disable CSE in *every* module using
GLOBAL_VARs. This solves the problem with the strange -M output, where
some global IORefs were commoned up (again). CSE seems to be really
broken, but a comment in ghc/Makefile promises a fix. Anybody out
there with this fix on his/her hard disk: Please commit soon!
dsyme [Fri, 13 Apr 2001 03:50:52 +0000 (03:50 +0000)]
[project @ 2001-04-13 03:50:52 by dsyme]
More changes to the ILX code generator, currently only relevant to Don
lewie [Thu, 12 Apr 2001 21:29:43 +0000 (21:29 +0000)]
[project @ 2001-04-12 21:29:43 by lewie]
Don't use the same simplify code for both restricted and unrestricted
bindings. In particular, a restricted binding shouldn't try to capture
implicit params.
lewie [Thu, 12 Apr 2001 21:20:28 +0000 (21:20 +0000)]
[project @ 2001-04-12 21:20:28 by lewie]
Export a useful predicate.
michaelw [Thu, 12 Apr 2001 15:17:17 +0000 (15:17 +0000)]
[project @ 2001-04-12 15:17:17 by michaelw]
clean-up Main.hi
michaelw [Thu, 12 Apr 2001 15:16:02 +0000 (15:16 +0000)]
[project @ 2001-04-12 15:16:02 by michaelw]
Debian updates
lewie [Wed, 11 Apr 2001 18:42:07 +0000 (18:42 +0000)]
[project @ 2001-04-11 18:42:07 by lewie]
I guess it's supposed to be done *this* way...
lewie [Wed, 11 Apr 2001 18:23:32 +0000 (18:23 +0000)]
[project @ 2001-04-11 18:23:32 by lewie]
Another implicit param test.
lewie [Wed, 11 Apr 2001 18:10:16 +0000 (18:10 +0000)]
[project @ 2001-04-11 18:10:16 by lewie]
Add implicit param test.
lewie [Wed, 11 Apr 2001 18:09:59 +0000 (18:09 +0000)]
[project @ 2001-04-11 18:09:59 by lewie]
Add `-w' to OPTIONS so the test will pass.
sewardj [Wed, 11 Apr 2001 10:41:46 +0000 (10:41 +0000)]
[project @ 2001-04-11 10:41:46 by sewardj]
GhcBinDistLinks should include ghc-pkg, not ghci-pkg.
sewardj [Wed, 11 Apr 2001 10:24:38 +0000 (10:24 +0000)]
[project @ 2001-04-11 10:24:38 by sewardj]
ghci/ByteCodeLink_HC_OPTS = -fvia-C -- sparc NCG seems to need it.
lewie [Tue, 10 Apr 2001 22:34:47 +0000 (22:34 +0000)]
[project @ 2001-04-10 22:34:47 by lewie]
Don't use foldr/build if we've got a parallel list comp. We'd need to
have/generate a family of functions foldr{2,3,...} to do anything nicer here.
sewardj [Tue, 10 Apr 2001 16:30:46 +0000 (16:30 +0000)]
[project @ 2001-04-10 16:30:46 by sewardj]
Fix bogon which gives incorrect setting for GhcWithInterpreter on solaris2.
qrczak [Tue, 10 Apr 2001 15:54:31 +0000 (15:54 +0000)]
[project @ 2001-04-10 15:54:31 by qrczak]
Typo.
sewardj [Tue, 10 Apr 2001 13:52:31 +0000 (13:52 +0000)]
[project @ 2001-04-10 13:52:31 by sewardj]
Make installation of documentation in binary dists work properly.
Also install documentation by default for make install.
lewie [Mon, 9 Apr 2001 23:22:42 +0000 (23:22 +0000)]
[project @ 2001-04-09 23:22:42 by lewie]
Tag id of implicit param has having a PredType.
sewardj [Mon, 9 Apr 2001 09:22:00 +0000 (09:22 +0000)]
[project @ 2001-04-09 09:22:00 by sewardj]
Mention fundeps.
panne [Sun, 8 Apr 2001 18:56:32 +0000 (18:56 +0000)]
[project @ 2001-04-08 18:56:31 by panne]
Updated my email address
qrczak [Sat, 7 Apr 2001 22:31:11 +0000 (22:31 +0000)]
[project @ 2001-04-07 22:31:11 by qrczak]
Mention {Diff,Storable}Array and Monad{List,Cont}.
Aren't working fundeps new in ghc-5.00? They are not mentioned in
release notes.
qrczak [Sat, 7 Apr 2001 22:30:01 +0000 (22:30 +0000)]
[project @ 2001-04-07 22:30:01 by qrczak]
Append final newline to package.conf.