ghc.git
8 years agoFix 'make test' command for new testsuite location
David Terei [Wed, 20 Jul 2011 21:53:40 +0000 (14:53 -0700)] 
Fix 'make test' command for new testsuite location

8 years agoUpdate some files for new testsuite tests location
David Terei [Wed, 20 Jul 2011 21:46:54 +0000 (14:46 -0700)] 
Update some files for new testsuite tests location

8 years agoFormatting fixes
David Terei [Wed, 20 Jul 2011 21:10:07 +0000 (14:10 -0700)] 
Formatting fixes

8 years agoMove the call to heapCensus() into GarbageCollect(), just before
Simon Marlow [Wed, 20 Jul 2011 14:29:54 +0000 (15:29 +0100)] 
Move the call to heapCensus() into GarbageCollect(), just before
calling resurrectThreads() (fixes #5314).

This avoids a lot of problems, because resurrectThreads() may
overwrite some closures in the heap, leaving slop behind.  The bug in
instances, this fix avoids them all in one go.

8 years agocomment updates
Simon Marlow [Wed, 20 Jul 2011 14:26:11 +0000 (15:26 +0100)] 
comment updates

8 years agofix an assertion failure, and possibly some bogosity (see comment)
Simon Marlow [Wed, 20 Jul 2011 14:25:58 +0000 (15:25 +0100)] 
fix an assertion failure, and possibly some bogosity (see comment)

8 years agoFix syntax error in DTrace event specification
Duncan Coutts [Wed, 20 Jul 2011 14:48:46 +0000 (15:48 +0100)] 
Fix syntax error in DTrace event specification

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Wed, 20 Jul 2011 14:39:18 +0000 (15:39 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoImprove semantics of wild-card expansion (fixes #5334)
Simon Peyton Jones [Wed, 20 Jul 2011 14:38:58 +0000 (15:38 +0100)] 
Improve semantics of wild-card expansion (fixes #5334)

When expanding the {..} stuff in an *expression*, take
account of which variables are in scope.

I updated the documentation, and in doing so found that
part of the previously-documented semantics wasn't implemented
(namely the stuff about fields in scope), so I fixed that too.

8 years agoReport on unused type variables (fixes #5331)
Simon Peyton Jones [Wed, 20 Jul 2011 14:31:40 +0000 (15:31 +0100)] 
Report on unused type variables (fixes #5331)

We were doing this already for explicit types like
   f :: forall a. Int
but not for constructor declarations.  This patch
makes it consistent.

8 years agoComments only
Simon Peyton Jones [Wed, 20 Jul 2011 14:30:05 +0000 (15:30 +0100)] 
Comments only

8 years agoFix #481: use a safe recompilation check when Template Haskell is
Simon Marlow [Wed, 20 Jul 2011 08:37:54 +0000 (09:37 +0100)] 
Fix #481: use a safe recompilation check when Template Haskell is
being used.

We now track whether a module used any TH splices in the ModIface (and
at compile time in the TcGblEnv and ModGuts).  If a module used TH
splices last time it was compiled, then we ignore the results of the
normal recompilation check and recompile anyway, *unless* the module
is "stable" - that is, none of its dependencies (direct or indirect)
have changed.  The stability test is pretty important - otherwise ghc
--make would always recompile TH modules even if nothing at all had
changed, but it does require some extra plumbing to get this
information from GhcMake into HscMain.

test in driver/recomp009

8 years agonote that we don't understand a comment (#5249)
Simon Marlow [Tue, 19 Jul 2011 15:05:17 +0000 (16:05 +0100)] 
note that we don't understand a comment (#5249)

8 years agoFactor the GHC version into the hash generated by --abi-hash (#5328)
Simon Marlow [Tue, 19 Jul 2011 14:55:40 +0000 (15:55 +0100)] 
Factor the GHC version into the hash generated by --abi-hash (#5328)

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Wed, 20 Jul 2011 09:16:16 +0000 (10:16 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoFix #5332 (more): unboxed singleton tuples are fine
Simon Peyton Jones [Wed, 20 Jul 2011 09:15:52 +0000 (10:15 +0100)] 
Fix #5332 (more): unboxed singleton tuples are fine

This patch fixes the unboxed singleton tuples in types and patterns

8 years agoFix a bug in the code generation for 64-bit literals on 32-bit x86: we
Simon Marlow [Tue, 19 Jul 2011 14:30:15 +0000 (15:30 +0100)] 
Fix a bug in the code generation for 64-bit literals on 32-bit x86: we
were accidentally zeroing out the high 32 bits.

This bug must have been here for ages, it was only just exposed by the
new Typeable code which uses two 64-bit values to store a 128-bit
hash, and so exercises the code generation for 64-bit stuff.

8 years agofix warning
Simon Marlow [Tue, 19 Jul 2011 10:04:42 +0000 (11:04 +0100)] 
fix warning

8 years agoOutput the full documentation in response to "./sync-all --help"
Simon Marlow [Tue, 19 Jul 2011 09:53:23 +0000 (10:53 +0100)] 
Output the full documentation in response to "./sync-all --help"

8 years agoSupport 64-bit literals in the byte code generator (fixes recent test
Simon Marlow [Tue, 19 Jul 2011 07:54:18 +0000 (08:54 +0100)] 
Support 64-bit literals in the byte code generator (fixes recent test
failures in print002 etc. on 32-bit platforms)

8 years agoremove some dead code
Simon Marlow [Thu, 14 Jul 2011 15:20:27 +0000 (16:20 +0100)] 
remove some dead code

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Wed, 20 Jul 2011 07:44:14 +0000 (08:44 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoCoercions can be hashed just fine
Simon Peyton Jones [Wed, 20 Jul 2011 07:43:23 +0000 (08:43 +0100)] 
Coercions can be hashed just fine

8 years agoFix #5332: (# 0 #), unlike ( 0 ), is not the same as 0
Ian Lynagh [Tue, 19 Jul 2011 19:59:05 +0000 (20:59 +0100)] 
Fix #5332: (# 0 #), unlike ( 0 ), is not the same as 0

8 years agoSplit the X86 genCCall function up
Ian Lynagh [Tue, 19 Jul 2011 18:04:26 +0000 (19:04 +0100)] 
Split the X86 genCCall function up

Just a small refactoring. Makes it a little less intimidating.

8 years agoImprove LLVM Mangler to handle debug information.
David Terei [Mon, 18 Jul 2011 23:13:57 +0000 (09:13 +1000)] 
Improve LLVM Mangler to handle debug information.

Patch by Peter Wortmann!

8 years agoDocument the new +RTS -l options in the user guide
Duncan Coutts [Mon, 18 Jul 2011 19:16:00 +0000 (20:16 +0100)] 
Document the new +RTS -l options in the user guide

8 years agoDocument the new +RTS -l flags in the +RTS --help output
Duncan Coutts [Mon, 18 Jul 2011 19:15:31 +0000 (20:15 +0100)] 
Document the new +RTS -l flags in the +RTS --help output

8 years agoSync EventLogFormat.h with ghc-events
Duncan Coutts [Mon, 18 Jul 2011 15:29:57 +0000 (16:29 +0100)] 
Sync EventLogFormat.h with ghc-events

8 years agoAdd new fully-accurate per-spark trace/eventlog events
Duncan Coutts [Thu, 14 Jul 2011 18:06:45 +0000 (19:06 +0100)] 
Add new fully-accurate per-spark trace/eventlog events

Replaces the existing EVENT_RUN/STEAL_SPARK events with 7 new events
covering all stages of the spark lifcycle:
  create, dud, overflow, run, steal, fizzle, gc

The sampled spark events are still available. There are now two event
classes for sparks, the sampled and the fully accurate. They can be
enabled/disabled independently. By default +RTS -l includes the sampled
but not full detail spark events. Use +RTS -lf-p to enable the detailed
'f' and disable the sampled 'p' spark.

Includes work by Mikolaj <mikolaj.konarski@gmail.com>

8 years agoMove GC tracing into a separate trace class
Duncan Coutts [Thu, 14 Jul 2011 16:31:16 +0000 (17:31 +0100)] 
Move GC tracing into a separate trace class

Previously GC was included in the scheduler trace class. It can be
enabled specifically with +RTS -vg or -lg, though note that both -v
and -l on their own now default to a sensible set of trace classes,
currently: scheduler, gc and sparks.

8 years agoinclude spark counters in the sparks trace class
Mikolaj [Fri, 8 Jul 2011 17:43:41 +0000 (19:43 +0200)] 
include spark counters in the sparks trace class

8 years agoadd a new trace class for spark events
Duncan Coutts [Fri, 8 Jul 2011 15:36:16 +0000 (17:36 +0200)] 
add a new trace class for spark events

8 years agoadd a missing traceSparkCounters invocation
Mikolaj [Tue, 5 Jul 2011 16:49:37 +0000 (18:49 +0200)] 
add a missing traceSparkCounters invocation

8 years agoAdd spark counter tracing
Duncan Coutts [Mon, 6 Jun 2011 09:39:16 +0000 (10:39 +0100)] 
Add spark counter tracing

A new eventlog event containing 7 spark counters/statistics: sparks
created, dud, overflowed, converted, GC'd, fizzled and remaining.
These are maintained and logged separately for each capability.
We log them at startup, on each GC (minor and major) and on shutdown.

8 years agoMove allocation of spark pools into initCapability
Duncan Coutts [Mon, 6 Jun 2011 09:32:33 +0000 (10:32 +0100)] 
Move allocation of spark pools into initCapability

Rather than a separate phase of initSparkPools. It means all the spark
stuff for a capability is initialisaed at the same time, which is then
becomes a good place to stick an initial spark trace event.

8 years agoAdd assertion of the invariant for the spark counters
Duncan Coutts [Thu, 2 Jun 2011 16:28:56 +0000 (17:28 +0100)] 
Add assertion of the invariant for the spark counters

The invariant is: created = converted + remaining + gcd + fizzled
Since sparks move between capabilities, we have to aggregate the
counters over all capabilities. This in turn means we can only check
the invariant at stable points where all but one capabilities are
stopped. We can do this at shutdown time and before and after a global
synchronised GC.

8 years agoFix wrong arg name in a C function prototype
Duncan Coutts [Thu, 2 Jun 2011 15:16:14 +0000 (16:16 +0100)] 
Fix wrong arg name in a C function prototype

8 years agoClassify overflowed sparks separately
Duncan Coutts [Wed, 1 Jun 2011 18:48:15 +0000 (19:48 +0100)] 
Classify overflowed sparks separately

When you use `par` to make a spark, if the spark pool on the current
capability is full then the spark is discarded. This represents a
loss of potential parallelism and it also means there are simply a
lot of sparks around. Both are things that might be of concern to a
programmer when tuning a parallel program that uses par.

The "+RTS -s" stats command now reports overflowed sparks, e.g.
SPARKS: 100001 (15521 converted, 84480 overflowed, 0 dud, 0 GC'd, 0 fizzled)

8 years agoUse a struct for the set of spark counters
Duncan Coutts [Wed, 1 Jun 2011 18:38:15 +0000 (19:38 +0100)] 
Use a struct for the set of spark counters

8 years agoChange tryStealSpark so it does not consume fizzled sparks
Duncan Coutts [Wed, 1 Jun 2011 17:17:27 +0000 (18:17 +0100)] 
Change tryStealSpark so it does not consume fizzled sparks

We want to count fizzled sparks accurately. Now tryStealSpark returns
fizzled sparks, and the callers now update the fizzled spark count.

8 years agoImprove the newSpark dud test by using the pointer tag bits
Duncan Coutts [Wed, 1 Jun 2011 16:16:29 +0000 (17:16 +0100)] 
Improve the newSpark dud test by using the pointer tag bits

newSpark() checks if the spark is a dud, and if so does not add it to
the spark pool. Previously, newSpark would discard the pointer tag bits
and just check closure_SHOULD_SPARK(p). We can take advantage of the
tag bits which can tell us if the pointer points to a value. If it is,
it's a dud spark and we don't need to add it to the spark pool.

8 years agoFix Windows breakage (#5322). When I modified StgRun to use the pure
Simon Marlow [Mon, 18 Jul 2011 12:48:53 +0000 (13:48 +0100)] 
Fix Windows breakage (#5322).  When I modified StgRun to use the pure
assembly version as part of the fix for #5250, we inadvertently lost
the Windows magic for extending the stack.  Win32 requires that the
stack is extended a page at a time, otherwise you get a segfault.  The
C compiler knows how to do this, so we now call a C stub to ensure
there's enough stack space at each invocation of the scheduler.

8 years agofix bug in sdist-prep rule (hpc/dist is now hpc/dist-install)
Simon Marlow [Mon, 18 Jul 2011 10:19:22 +0000 (11:19 +0100)] 
fix bug in sdist-prep rule (hpc/dist is now hpc/dist-install)

8 years agoRemove bogus ASSERT
Simon Peyton Jones [Mon, 18 Jul 2011 12:54:00 +0000 (13:54 +0100)] 
Remove bogus ASSERT

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Mon, 18 Jul 2011 08:12:15 +0000 (09:12 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoFix permissions of package.cache when installing; fixes trac #5311
Ian Lynagh [Sun, 17 Jul 2011 18:58:37 +0000 (19:58 +0100)] 
Fix permissions of package.cache when installing; fixes trac #5311

When we install the packages, ghc-pkg obeys umask when creating
package.cache, but for everything else we specify the permissions. We
therefore fix the permissions of package.cache afterwards.

8 years agoFix build with older bootstrapping compilers
Ian Lynagh [Sat, 16 Jul 2011 08:12:11 +0000 (09:12 +0100)] 
Fix build with older bootstrapping compilers

8 years agoAdd --resume support to sync-all; trac #5119
Ian Lynagh [Fri, 15 Jul 2011 21:14:33 +0000 (22:14 +0100)] 
Add --resume support to sync-all; trac #5119

Now after, for example, "./sync-all pull", if pulling in one repo fails
then you can restart from that point with "./sync-all --resume pull".

8 years agoSmall refactoring
Ian Lynagh [Fri, 15 Jul 2011 18:37:50 +0000 (19:37 +0100)] 
Small refactoring

8 years agoRemove more defaultTargetPlatform uses
Ian Lynagh [Fri, 15 Jul 2011 18:06:04 +0000 (19:06 +0100)] 
Remove more defaultTargetPlatform uses

8 years agoRemove more defaultTargetPlatform uses
Ian Lynagh [Fri, 15 Jul 2011 17:13:49 +0000 (18:13 +0100)] 
Remove more defaultTargetPlatform uses

8 years agoRemove some more defaultTargetPlatform uses
Ian Lynagh [Fri, 15 Jul 2011 16:42:24 +0000 (17:42 +0100)] 
Remove some more defaultTargetPlatform uses

8 years agoA bit more work to to keep the right in-scope set around
Simon Peyton Jones [Fri, 15 Jul 2011 16:14:10 +0000 (17:14 +0100)] 
A bit more work to to keep the right in-scope set around

This change gets rid of a debug WARNING; it wasn't
actually making anything go wrong, but it's best to
have the correct in-scope set.

8 years agoA bit of trace refactoring
Simon Peyton Jones [Fri, 15 Jul 2011 16:13:15 +0000 (17:13 +0100)] 
A bit of trace refactoring

8 years agoAn example of failure:
Sergei Trofimovich [Fri, 15 Jul 2011 15:46:37 +0000 (16:46 +0100)] 
An example of failure:
"inplace/bin/ghc-stage1"   -H32m -O    -package-name base-4.4.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.3.0.0 -package rts-1.0 -split-objs -package-name base -XHaskell98 -XCPP -O2 -no-user-package-conf -rtsopts     -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/base/./GHC/Int.hs -o libraries/base/dist-install/build/GHC/Int.o
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together
collect2: ld returned 1 exit status
make[1]: *** [libraries/base/dist-install/build/GHC/Int.o] Error 1

Or with '-v' param:
/usr/bin/gcc -fno-stack-protector -nostdlib -nodefaultlibs -Wl,-r -Wl,--build-id=none -Wl,-x -o libraries/base/dist-install/build/GHC/Int.o /tmp/ghc45126_0/ghc45126_0.ldscript
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together

On SPARC gcc-4.5.2 has -mrelax in it's default specs, so we explicitly pass --no-relax
for ld to make sure gcc's default does not affect us.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
8 years agoFix error reporting for overlapping instances in type checker
Simon Peyton Jones [Fri, 15 Jul 2011 13:46:13 +0000 (14:46 +0100)] 
Fix error reporting for overlapping instances in type checker

See #5320 and discussion there.  This patch only removes
a bogus assertion failure and refactors the code slightly.
There's still an underlying delicate point, described in #5320.

8 years agoImprove pretty printing of infix HsOpApp (fixes #5318)
Simon Peyton Jones [Fri, 15 Jul 2011 13:44:44 +0000 (14:44 +0100)] 
Improve pretty printing of infix HsOpApp (fixes #5318)

8 years agoRemove some defaultTargetPlatform's
Ian Lynagh [Fri, 15 Jul 2011 12:16:50 +0000 (13:16 +0100)] 
Remove some defaultTargetPlatform's

We now pass the correct platform in instead

8 years agoImprove pretty printing of Core (fixes #5325)
Simon Peyton Jones [Fri, 15 Jul 2011 11:08:43 +0000 (12:08 +0100)] 
Improve pretty printing of Core (fixes #5325)

8 years agoSpelling error in comment
Simon Peyton Jones [Fri, 15 Jul 2011 11:08:28 +0000 (12:08 +0100)] 
Spelling error in comment

8 years agoUse varToCoreExpr rather than Var (fixes #5315)
Simon Peyton Jones [Fri, 15 Jul 2011 10:49:38 +0000 (11:49 +0100)] 
Use varToCoreExpr rather than Var (fixes #5315)

A coercion variable in a term must be wrapped in a coercion!
(Led to lint errors.)

8 years agoMore work towards cross-compilation
Ian Lynagh [Fri, 15 Jul 2011 01:26:24 +0000 (02:26 +0100)] 
More work towards cross-compilation

There's now a variant of the Outputable class that knows what
platform we're targetting:

class PlatformOutputable a where
    pprPlatform :: Platform -> a -> SDoc
    pprPlatformPrec :: Platform -> Rational -> a -> SDoc

and various instances have had to be converted to use that class,
and we pass Platform around accordingly.

8 years agoImprovements to Safe Haskell userguide.
David Terei [Fri, 15 Jul 2011 01:13:26 +0000 (18:13 -0700)] 
Improvements to Safe Haskell userguide.

8 years agoHandle II8 Size value in PowerPC code generator.
Erik de Castro Lopo [Thu, 26 May 2011 08:38:11 +0000 (18:38 +1000)] 
Handle II8 Size value in PowerPC code generator.

8 years agoJust renaming a couple of functions
Ian Lynagh [Thu, 14 Jul 2011 19:15:11 +0000 (20:15 +0100)] 
Just renaming a couple of functions

8 years agoSeparate the warning flags into their own datatype
Ian Lynagh [Thu, 14 Jul 2011 18:59:13 +0000 (19:59 +0100)] 
Separate the warning flags into their own datatype

The -w flag wasn't turning off a few warnings (Opt_WarnMissingImportList,
Opt_WarnMissingLocalSigs, Opt_WarnIdentities). Rather than just adding
them, I've separated the Opt_Warn* contructors off into their own type,
so -w now just sets the list of warning flags to [].

8 years agoMore Lexer.x tidy-ups
Ian Lynagh [Thu, 14 Jul 2011 17:17:36 +0000 (18:17 +0100)] 
More Lexer.x tidy-ups

8 years agoRemove some unused, commented-out code from Lexer.x
Ian Lynagh [Thu, 14 Jul 2011 17:11:28 +0000 (18:11 +0100)] 
Remove some unused, commented-out code from Lexer.x

8 years agoWhitespace in Lexer.x
Ian Lynagh [Thu, 14 Jul 2011 17:03:26 +0000 (18:03 +0100)] 
Whitespace in Lexer.x

8 years agovalidate now checks that the testsuite exists first; trac #5089
Ian Lynagh [Thu, 14 Jul 2011 13:15:46 +0000 (14:15 +0100)] 
validate now checks that the testsuite exists first; trac #5089

8 years agoFix typo
Ian Lynagh [Wed, 13 Jul 2011 23:31:31 +0000 (00:31 +0100)] 
Fix typo

8 years agoFix validate with old versions of gcc
Ian Lynagh [Wed, 13 Jul 2011 14:33:07 +0000 (15:33 +0100)] 
Fix validate with old versions of gcc

Old versions don't understand -Wno-error=inline

8 years agoRemove 'threadsafe' FFI imports
Ian Lynagh [Tue, 12 Jul 2011 23:57:01 +0000 (00:57 +0100)] 
Remove 'threadsafe' FFI imports

They've been deprecated since GHC 6.12.

8 years agoWhitespace only in compiler/nativeGen/RegAlloc/Liveness.hs
Ian Lynagh [Tue, 12 Jul 2011 20:30:09 +0000 (21:30 +0100)] 
Whitespace only in compiler/nativeGen/RegAlloc/Liveness.hs

8 years agoWhitespace only in compiler/nativeGen/Instruction.hs
Ian Lynagh [Tue, 12 Jul 2011 18:33:26 +0000 (19:33 +0100)] 
Whitespace only in compiler/nativeGen/Instruction.hs

8 years agoMore CPP removal
Ian Lynagh [Tue, 12 Jul 2011 18:24:26 +0000 (19:24 +0100)] 
More CPP removal

8 years agoMore CPP removal
Ian Lynagh [Tue, 12 Jul 2011 17:42:01 +0000 (18:42 +0100)] 
More CPP removal

8 years agoCPP removal
Ian Lynagh [Tue, 12 Jul 2011 17:26:22 +0000 (18:26 +0100)] 
CPP removal

8 years agoRemove SafeLanguage from safe haskell
David Terei [Tue, 12 Jul 2011 20:00:11 +0000 (13:00 -0700)] 
Remove SafeLanguage from safe haskell

8 years agomake sure libraries/dph/ghc.mk is included after the other DPH ghc.mk
Simon Marlow [Tue, 12 Jul 2011 14:38:37 +0000 (15:38 +0100)] 
make sure libraries/dph/ghc.mk is included after the other DPH ghc.mk
files, so that it can refer to variables defined there.  (necessary,
but perhaps not sufficient, to fix the DPH build bugs)

8 years agoFix DLL/SO loading (see #5313).
Simon Marlow [Tue, 12 Jul 2011 11:16:17 +0000 (12:16 +0100)] 
Fix DLL/SO loading (see #5313).

The code in here is a bit of a mess.  I've fixed up some
inconsistencies I can see, but it could do with an overhaul.

8 years agoFix bug in parsing of module headers (see #5243)
Simon Marlow [Tue, 12 Jul 2011 10:48:00 +0000 (11:48 +0100)] 
Fix bug in parsing of module headers (see #5243)

8 years agoomit the local MD5 implementation if we can get it from
Simon Marlow [Tue, 12 Jul 2011 09:41:22 +0000 (10:41 +0100)] 
omit the local MD5 implementation if we can get it from
GHC.Fingerprint in base instead.

8 years agoDebugger commands do not work with -fno-ghci-sandbox, so emit useful
Simon Marlow [Tue, 12 Jul 2011 09:40:50 +0000 (10:40 +0100)] 
Debugger commands do not work with -fno-ghci-sandbox, so emit useful
error messages.

8 years agoderive Typeable (eliminate deprecation warnings for mkTyCon)
Simon Marlow [Mon, 11 Jul 2011 13:30:39 +0000 (14:30 +0100)] 
derive Typeable (eliminate deprecation warnings for mkTyCon)

8 years agofix Binary instance for TyCon following Typeable implementation
Simon Marlow [Mon, 11 Jul 2011 13:06:01 +0000 (14:06 +0100)] 
fix Binary instance for TyCon following Typeable implementation
changes

8 years agothe time package uses mkTyCon, turn off deprecation warnings for now
Simon Marlow [Mon, 11 Jul 2011 12:24:40 +0000 (13:24 +0100)] 
the time package uses mkTyCon, turn off deprecation warnings for now

8 years agoHad to move some Typeable things around to avoid orphan instances.
Simon Marlow [Mon, 11 Jul 2011 12:00:20 +0000 (13:00 +0100)] 
Had to move some Typeable things around to avoid orphan instances.

8 years agoremove getOrSetTypeableStore. This is no longer used after the switch
Simon Marlow [Fri, 8 Jul 2011 09:47:57 +0000 (10:47 +0100)] 
remove getOrSetTypeableStore.  This is no longer used after the switch
to using MD5 hashes to identify TypeReps in the Typeable library.

8 years agoChange the code generated for deriving Typeable, to match the changes
Simon Marlow [Fri, 8 Jul 2011 09:47:19 +0000 (10:47 +0100)] 
Change the code generated for deriving Typeable, to match the changes
to the Typeable library.  We now generate an MD5 hash of the
fully-qualified TyCon name at compile time.

8 years agomove computeFingerprint from MkIface to Binary
Simon Marlow [Fri, 8 Jul 2011 09:42:13 +0000 (10:42 +0100)] 
move computeFingerprint from MkIface to Binary

8 years agoAdd 64-bit signed and unsigned integer literals to HsSyn.
Simon Marlow [Fri, 8 Jul 2011 09:41:22 +0000 (10:41 +0100)] 
Add 64-bit signed and unsigned integer literals to HsSyn.
No concrete syntax yet, but I need to be able to use these in code
generated for derived Typeable instances.

8 years agoMake an extension for interruptible FFI calls
Ian Lynagh [Mon, 11 Jul 2011 17:24:22 +0000 (18:24 +0100)] 
Make an extension for interruptible FFI calls

8 years agoFix "./sync-all get"
Ian Lynagh [Fri, 8 Jul 2011 13:48:06 +0000 (14:48 +0100)] 
Fix "./sync-all get"

8 years agoFix the build
Ian Lynagh [Fri, 8 Jul 2011 12:31:51 +0000 (13:31 +0100)] 
Fix the build

The seq# case in the new codegen was being shadowed by a more general
case.

8 years agoRemove old ./quickcheck/ stuff
Ian Lynagh [Fri, 8 Jul 2011 00:51:18 +0000 (01:51 +0100)] 
Remove old ./quickcheck/ stuff

8 years agoBump Cabal deps
Ian Lynagh [Thu, 7 Jul 2011 19:28:02 +0000 (20:28 +0100)] 
Bump Cabal deps

8 years agoRandom is now only needed to build dph
Ian Lynagh [Wed, 6 Jul 2011 19:30:58 +0000 (20:30 +0100)] 
Random is now only needed to build dph

8 years agoRelax some dependencies
Ian Lynagh [Wed, 6 Jul 2011 19:25:28 +0000 (20:25 +0100)] 
Relax some dependencies