ghc-hetmet.git
18 years agoFirst stab at an installer package for the Mac
Manuel M T Chakravarty [Sat, 2 Feb 2008 13:48:53 +0000 (13:48 +0000)]
First stab at an installer package for the Mac
- GHC as a Mac framework
- I tried to make a package where the user could choose whether to install
  in /Library/Frameworks or ~/Library/Frameworks (to allow installation for
  non-admins).  However, that doesn't work well without including the whole
  distribution twice as the decision as to whether the admin password needs
  to be entered is made at packaging time (not at install time).

18 years agoSupport for using libffi to implement FFI calls in GHCi (#631)
Simon Marlow [Mon, 4 Feb 2008 16:10:53 +0000 (16:10 +0000)]
Support for using libffi to implement FFI calls in GHCi (#631)
This means that an unregisterised build on a platform not directly
supported by GHC can now have full FFI support using libffi.

Also in this commit:

 - use PrimRep rather than CgRep to describe FFI args in the byte
   code generator.  No functional changes, but PrimRep is more correct.

 - change TyCon.sizeofPrimRep to primRepSizeW, which is more useful

18 years agoUse the correct libffi type for pointers
Simon Marlow [Fri, 4 Jan 2008 13:19:36 +0000 (13:19 +0000)]
Use the correct libffi type for pointers

18 years agoFix DEBUG build
simonpj@microsoft.com [Mon, 4 Feb 2008 16:05:14 +0000 (16:05 +0000)]
Fix DEBUG build

18 years agoMake seqAlts actually seq everything
Ian Lynagh [Sun, 3 Feb 2008 13:43:21 +0000 (13:43 +0000)]
Make seqAlts actually seq everything

18 years agoStrictness tweaks
Ian Lynagh [Sun, 3 Feb 2008 02:48:36 +0000 (02:48 +0000)]
Strictness tweaks

18 years agoWhitespace
Ian Lynagh [Sun, 3 Feb 2008 00:39:29 +0000 (00:39 +0000)]
Whitespace

18 years agoWhitespace only
Ian Lynagh [Sat, 2 Feb 2008 21:39:36 +0000 (21:39 +0000)]
Whitespace only

18 years agoTweak strictness
Ian Lynagh [Sat, 2 Feb 2008 21:35:42 +0000 (21:35 +0000)]
Tweak strictness

18 years agoFix warnings in deSugar/DsBinds
Ian Lynagh [Wed, 30 Jan 2008 14:40:14 +0000 (14:40 +0000)]
Fix warnings in deSugar/DsBinds

18 years agoUNDO: Be a little keener to inline
Simon Marlow [Fri, 1 Feb 2008 14:48:10 +0000 (14:48 +0000)]
UNDO: Be a little keener to inline

This patch caused at least the following test failures:
   1744(normal)
   ghci028(ghci)
   unicode001(normal)
and additionally made the stage3 build fail.

A little more validation please!

I didn't find the exact cause of the failure yet, but it appears that
the Lexer is miscompiled in some strange way.  If any of {Encoding,
StringBuffer, or Lexer} are compiled without -O, the problem goes
away.

18 years agoFIX BUILD with GHC 6.4.x
Simon Marlow [Fri, 1 Feb 2008 12:27:53 +0000 (12:27 +0000)]
FIX BUILD with GHC 6.4.x

18 years agoFIX BUILD with ghc-6.4.x
Simon Marlow [Fri, 1 Feb 2008 11:43:02 +0000 (11:43 +0000)]
FIX BUILD with ghc-6.4.x

18 years agoSome tweaks to the building from source section
Simon Marlow [Tue, 29 Jan 2008 09:11:32 +0000 (09:11 +0000)]
Some tweaks to the building from source section

18 years agoWarning clean up
Manuel M T Chakravarty [Thu, 31 Jan 2008 02:48:45 +0000 (02:48 +0000)]
Warning clean up

18 years agoMove spiltDmdTy within module (no change in code)
simonpj@microsoft.com [Tue, 29 Jan 2008 01:14:38 +0000 (01:14 +0000)]
Move spiltDmdTy within module (no change in code)

18 years agoFix typo where I forgot the new substitution
simonpj@microsoft.com [Mon, 28 Jan 2008 21:38:56 +0000 (21:38 +0000)]
Fix typo where I forgot the new substitution

18 years agoAdd missing (error) case in isIrrefutablePat
simonpj@microsoft.com [Mon, 28 Jan 2008 21:34:29 +0000 (21:34 +0000)]
Add missing (error) case in isIrrefutablePat

18 years agoAdd missing (error) case in pprConDecl
simonpj@microsoft.com [Mon, 28 Jan 2008 21:34:09 +0000 (21:34 +0000)]
Add missing (error) case in pprConDecl

18 years agoFix warnings on non-Windows
Ian Lynagh [Wed, 30 Jan 2008 11:46:40 +0000 (11:46 +0000)]
Fix warnings on non-Windows

18 years agoFixed warnings in main/ErrUtils
Twan van Laarhoven [Sun, 27 Jan 2008 01:54:19 +0000 (01:54 +0000)]
Fixed warnings in main/ErrUtils

18 years agoFixed warnings in main/HeaderInfo, except for incomplete pattern matches
Twan van Laarhoven [Sun, 27 Jan 2008 01:41:18 +0000 (01:41 +0000)]
Fixed warnings in main/HeaderInfo, except for incomplete pattern matches

18 years agoFixed warnings in main/DynFlags
Twan van Laarhoven [Sun, 27 Jan 2008 01:24:43 +0000 (01:24 +0000)]
Fixed warnings in main/DynFlags

18 years agoFixed warnings in hsSyn/HsSyn
Twan van Laarhoven [Sun, 27 Jan 2008 00:46:26 +0000 (00:46 +0000)]
Fixed warnings in hsSyn/HsSyn

18 years agoFixed warnings in hsSyn/HsUtils
Twan van Laarhoven [Sun, 27 Jan 2008 00:45:06 +0000 (00:45 +0000)]
Fixed warnings in hsSyn/HsUtils

18 years agoFixed warnings in hsSyn/HsTypes
Twan van Laarhoven [Sun, 27 Jan 2008 00:44:19 +0000 (00:44 +0000)]
Fixed warnings in hsSyn/HsTypes

18 years agoFixed warnings in hsSyn/HsDoc
Twan van Laarhoven [Sun, 27 Jan 2008 00:43:59 +0000 (00:43 +0000)]
Fixed warnings in hsSyn/HsDoc

18 years agoFixed warnings in hsSyn/HsLit
Twan van Laarhoven [Sun, 27 Jan 2008 00:43:30 +0000 (00:43 +0000)]
Fixed warnings in hsSyn/HsLit

18 years agoFixed warnings in hsSyn/HsImpExp, except for incomplete pattern matches
Twan van Laarhoven [Sun, 27 Jan 2008 00:42:54 +0000 (00:42 +0000)]
Fixed warnings in hsSyn/HsImpExp, except for incomplete pattern matches

18 years agoFixed warnings in hsSyn/HsPat, except for incomplete pattern matches
Twan van Laarhoven [Sun, 27 Jan 2008 00:42:09 +0000 (00:42 +0000)]
Fixed warnings in hsSyn/HsPat, except for incomplete pattern matches

18 years agoFixed warnings in hsSyn/HsBinds, except for incomplete pattern matches
Twan van Laarhoven [Sun, 27 Jan 2008 00:41:19 +0000 (00:41 +0000)]
Fixed warnings in hsSyn/HsBinds, except for incomplete pattern matches

18 years agoFixed warnings in hsSyn/HsDecls, except for incomplete pattern matches
Twan van Laarhoven [Sun, 27 Jan 2008 00:40:46 +0000 (00:40 +0000)]
Fixed warnings in hsSyn/HsDecls, except for incomplete pattern matches

18 years agoFixed warnings in simplCore/CSE
Twan van Laarhoven [Sat, 26 Jan 2008 23:39:18 +0000 (23:39 +0000)]
Fixed warnings in simplCore/CSE

18 years agoFixed warnings in profiling/CostCentre, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 23:28:41 +0000 (23:28 +0000)]
Fixed warnings in profiling/CostCentre, except for incomplete pattern matches

18 years agoFixed warnings in types/InstEnv
Twan van Laarhoven [Sat, 26 Jan 2008 23:17:32 +0000 (23:17 +0000)]
Fixed warnings in types/InstEnv

18 years agoFixed warnings in types/FamInstEnv
Twan van Laarhoven [Sat, 26 Jan 2008 23:14:26 +0000 (23:14 +0000)]
Fixed warnings in types/FamInstEnv

18 years agoFixed warnings in simplStg/SRT, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 23:09:00 +0000 (23:09 +0000)]
Fixed warnings in simplStg/SRT, except for incomplete pattern matches

18 years agoFixed warnings in simplStg/StgStats, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 23:08:30 +0000 (23:08 +0000)]
Fixed warnings in simplStg/StgStats, except for incomplete pattern matches

18 years agoFixed warnings in simplStg/SimplStg
Twan van Laarhoven [Sat, 26 Jan 2008 23:08:05 +0000 (23:08 +0000)]
Fixed warnings in simplStg/SimplStg

18 years agoFixed warnings in vectorise/VectUtils
Twan van Laarhoven [Sat, 26 Jan 2008 22:30:33 +0000 (22:30 +0000)]
Fixed warnings in vectorise/VectUtils

18 years agoFixed warnings in types/Generics
Twan van Laarhoven [Sat, 26 Jan 2008 22:28:17 +0000 (22:28 +0000)]
Fixed warnings in types/Generics

18 years agoFixed warnings in stgSyn/StgSyn
Twan van Laarhoven [Sat, 26 Jan 2008 22:10:10 +0000 (22:10 +0000)]
Fixed warnings in stgSyn/StgSyn

18 years agoFixed warnings in types/TyCon
Twan van Laarhoven [Sat, 26 Jan 2008 21:58:00 +0000 (21:58 +0000)]
Fixed warnings in types/TyCon

18 years agoFixed warnings in types/Type, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 21:41:26 +0000 (21:41 +0000)]
Fixed warnings in types/Type, except for incomplete pattern matches

18 years agoFixed warnings in types/TypeRep
Twan van Laarhoven [Sat, 26 Jan 2008 21:17:22 +0000 (21:17 +0000)]
Fixed warnings in types/TypeRep

18 years agoFixed warnings in types/FunDeps
Twan van Laarhoven [Sat, 26 Jan 2008 20:30:50 +0000 (20:30 +0000)]
Fixed warnings in types/FunDeps

18 years agoFixed warnings in basicTypes/OccName
Twan van Laarhoven [Sat, 26 Jan 2008 20:27:37 +0000 (20:27 +0000)]
Fixed warnings in basicTypes/OccName

18 years agoFixed warnings in basicTypes/RdrName
Twan van Laarhoven [Sat, 26 Jan 2008 20:21:04 +0000 (20:21 +0000)]
Fixed warnings in basicTypes/RdrName

18 years agoFixed warnings in utils/Encoding
Twan van Laarhoven [Sat, 26 Jan 2008 20:12:35 +0000 (20:12 +0000)]
Fixed warnings in utils/Encoding

18 years agoFixed warnings in utils/Digraph
Twan van Laarhoven [Sat, 26 Jan 2008 20:07:54 +0000 (20:07 +0000)]
Fixed warnings in utils/Digraph

18 years agoFixed warnings in basicTypes/Demand
Twan van Laarhoven [Sat, 26 Jan 2008 19:59:29 +0000 (19:59 +0000)]
Fixed warnings in basicTypes/Demand

18 years agoFixed warnings in basicTypes/Unique
Twan van Laarhoven [Sat, 26 Jan 2008 19:54:59 +0000 (19:54 +0000)]
Fixed warnings in basicTypes/Unique

18 years agoFixed warnings in coreSyn/ExternalCore
Twan van Laarhoven [Sat, 26 Jan 2008 19:47:59 +0000 (19:47 +0000)]
Fixed warnings in coreSyn/ExternalCore

18 years agoFixed warnings in simplCore/OccurAnal
Twan van Laarhoven [Sat, 26 Jan 2008 19:44:26 +0000 (19:44 +0000)]
Fixed warnings in simplCore/OccurAnal

18 years agoFixed warnings in basicTypes/BasicTypes
Twan van Laarhoven [Sat, 26 Jan 2008 19:42:55 +0000 (19:42 +0000)]
Fixed warnings in basicTypes/BasicTypes

18 years agoFixed warnings in basicTypes/Literal, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 19:32:09 +0000 (19:32 +0000)]
Fixed warnings in basicTypes/Literal, except for incomplete pattern matches

18 years agoFixed warnings in basicTypes/Id
Twan van Laarhoven [Sat, 26 Jan 2008 19:28:17 +0000 (19:28 +0000)]
Fixed warnings in basicTypes/Id

18 years agoFixed warnings in basicTypes/Var
Twan van Laarhoven [Sat, 26 Jan 2008 19:19:39 +0000 (19:19 +0000)]
Fixed warnings in basicTypes/Var

18 years agoFixed warnings in basicTypes/Name
Twan van Laarhoven [Sat, 26 Jan 2008 19:15:01 +0000 (19:15 +0000)]
Fixed warnings in basicTypes/Name

18 years agoFixed warnings in types/Coercion, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 19:07:35 +0000 (19:07 +0000)]
Fixed warnings in types/Coercion, except for incomplete pattern matches

18 years agoFixed warnings in coreSyn/MkExternalCore, except for incomplete pattern matches
Twan van Laarhoven [Sat, 26 Jan 2008 01:28:07 +0000 (01:28 +0000)]
Fixed warnings in coreSyn/MkExternalCore, except for incomplete pattern matches

18 years agoFixed warnings in coreSyn/PprExternalCore
Twan van Laarhoven [Fri, 25 Jan 2008 16:24:18 +0000 (16:24 +0000)]
Fixed warnings in coreSyn/PprExternalCore

18 years agoFixed warnings in coreSyn/CoreUtils, except for incomplete pattern matches
Twan van Laarhoven [Fri, 25 Jan 2008 16:18:00 +0000 (16:18 +0000)]
Fixed warnings in coreSyn/CoreUtils, except for incomplete pattern matches

18 years agoFixed warnings in coreSyn/CoreUnfold
Twan van Laarhoven [Fri, 25 Jan 2008 16:13:08 +0000 (16:13 +0000)]
Fixed warnings in coreSyn/CoreUnfold

18 years agoFixed warnings in coreSyn/CorePrep
Twan van Laarhoven [Fri, 25 Jan 2008 16:10:51 +0000 (16:10 +0000)]
Fixed warnings in coreSyn/CorePrep

18 years agoFixed warnings in coreSyn/CoreSubst
Twan van Laarhoven [Fri, 25 Jan 2008 16:10:02 +0000 (16:10 +0000)]
Fixed warnings in coreSyn/CoreSubst

18 years agoFixed warnings in coreSyn/CoreLint
Twan van Laarhoven [Fri, 25 Jan 2008 16:08:09 +0000 (16:08 +0000)]
Fixed warnings in coreSyn/CoreLint

18 years agoFixed warnings in coreSyn/CoreFVs, except for incomplete pattern matches
Twan van Laarhoven [Fri, 25 Jan 2008 16:07:16 +0000 (16:07 +0000)]
Fixed warnings in coreSyn/CoreFVs, except for incomplete pattern matches

18 years agoFixed warnings in types/Class
Twan van Laarhoven [Fri, 25 Jan 2008 16:04:38 +0000 (16:04 +0000)]
Fixed warnings in types/Class

18 years agoFix warnings in coreSyn/CoreTidy
Twan van Laarhoven [Fri, 18 Jan 2008 16:55:59 +0000 (16:55 +0000)]
Fix warnings in coreSyn/CoreTidy

18 years agoFix warnings in coreSyn/CoreSyn
Twan van Laarhoven [Fri, 18 Jan 2008 16:55:06 +0000 (16:55 +0000)]
Fix warnings in coreSyn/CoreSyn

18 years agoStrictness tweaks
Ian Lynagh [Fri, 25 Jan 2008 17:43:47 +0000 (17:43 +0000)]
Strictness tweaks

18 years agoParser tweak
Ian Lynagh [Fri, 25 Jan 2008 14:58:47 +0000 (14:58 +0000)]
Parser tweak

18 years agoA couple more parser tweaks
Ian Lynagh [Fri, 25 Jan 2008 14:34:21 +0000 (14:34 +0000)]
A couple more parser tweaks

18 years agoMake comb[234] strict
Ian Lynagh [Thu, 24 Jan 2008 18:31:49 +0000 (18:31 +0000)]
Make comb[234] strict

18 years agoStrictness tweaks
Ian Lynagh [Thu, 24 Jan 2008 18:31:42 +0000 (18:31 +0000)]
Strictness tweaks

18 years agoTell happy to be strict
Ian Lynagh [Thu, 24 Jan 2008 16:52:14 +0000 (16:52 +0000)]
Tell happy to be strict

18 years agoMake the Parser Monad's return strict
Ian Lynagh [Thu, 24 Jan 2008 15:58:27 +0000 (15:58 +0000)]
Make the Parser Monad's return strict

18 years agoGet a bit of sharing
Ian Lynagh [Thu, 24 Jan 2008 15:20:00 +0000 (15:20 +0000)]
Get a bit of sharing

18 years agoMake sL strict in /both/ arguments to L
Ian Lynagh [Thu, 24 Jan 2008 15:12:23 +0000 (15:12 +0000)]
Make sL strict in /both/ arguments to L

18 years agoA touch more strictness in the parser
Ian Lynagh [Thu, 24 Jan 2008 15:01:37 +0000 (15:01 +0000)]
A touch more strictness in the parser

18 years agoAdd a bit of strictness to the parser
Ian Lynagh [Thu, 24 Jan 2008 14:53:11 +0000 (14:53 +0000)]
Add a bit of strictness to the parser

18 years agoUse nilFS
Ian Lynagh [Wed, 23 Jan 2008 21:19:17 +0000 (21:19 +0000)]
Use nilFS

18 years agoWhitespace only
Ian Lynagh [Wed, 23 Jan 2008 17:41:53 +0000 (17:41 +0000)]
Whitespace only

18 years agoFix #2062: foldr1 problem in hpc tool
andy@galois.com [Sat, 26 Jan 2008 21:06:07 +0000 (21:06 +0000)]
Fix #2062: foldr1 problem in hpc tool

18 years agoFix do-notation so that it works with -DDEBUG
simonpj@microsoft.com [Fri, 25 Jan 2008 16:31:01 +0000 (16:31 +0000)]
Fix do-notation so that it works with -DDEBUG

18 years agoBe a little keener to inline
simonpj@microsoft.com [Fri, 25 Jan 2008 10:46:16 +0000 (10:46 +0000)]
Be a little keener to inline

This is really a bug.  A saturated call in an "interesting" context
should inline, but there was a strange "n_val_args > 0" condition, which
was stopping it.  Reported by Roman.

18 years agoFix the build
Ian Lynagh [Thu, 24 Jan 2008 14:18:00 +0000 (14:18 +0000)]
Fix the build
Work around various problems caused by some of the monadification patches
not being applied.

18 years agoReplace ioToTcRn with liftIO
Twan van Laarhoven [Thu, 17 Jan 2008 22:05:53 +0000 (22:05 +0000)]
Replace ioToTcRn with liftIO

18 years agoRemove unused custom versions of monad combinators from IOEnv
Twan van Laarhoven [Thu, 17 Jan 2008 21:58:35 +0000 (21:58 +0000)]
Remove unused custom versions of monad combinators from IOEnv

18 years agoRemove unused custom versions of monad combinators from UniqSupply
Twan van Laarhoven [Thu, 17 Jan 2008 21:57:52 +0000 (21:57 +0000)]
Remove unused custom versions of monad combinators from UniqSupply

18 years agoReplace remaining uses of ioToIOEnv by liftIO, remove ioToIOEnv
Twan van Laarhoven [Thu, 17 Jan 2008 21:52:33 +0000 (21:52 +0000)]
Replace remaining uses of ioToIOEnv by liftIO, remove ioToIOEnv

18 years agoMonadify iface/BuildTyCl: use return
Twan van Laarhoven [Thu, 17 Jan 2008 21:50:36 +0000 (21:50 +0000)]
Monadify iface/BuildTyCl: use return

18 years agoMonadify iface/TcIface: use do, return, applicative, standard monad functions
Twan van Laarhoven [Thu, 17 Jan 2008 21:49:38 +0000 (21:49 +0000)]
Monadify iface/TcIface: use do, return, applicative, standard monad functions

18 years agoMonadify iface/MkIface: use do, return and standard monad functions
Twan van Laarhoven [Thu, 17 Jan 2008 21:44:41 +0000 (21:44 +0000)]
Monadify iface/MkIface: use do, return and standard monad functions

18 years agoMonadify iface/LoadIface: use return and liftIO
Twan van Laarhoven [Thu, 17 Jan 2008 21:42:33 +0000 (21:42 +0000)]
Monadify iface/LoadIface: use return and liftIO

18 years agoMonadify iface/IfaceEnv: use do, return and standard monad functions
Twan van Laarhoven [Thu, 17 Jan 2008 21:40:41 +0000 (21:40 +0000)]
Monadify iface/IfaceEnv: use do, return and standard monad functions

18 years agoMonadify typecheck/TcRnMonad: use return, standard monad functions and liftIO
Twan van Laarhoven [Thu, 17 Jan 2008 21:38:50 +0000 (21:38 +0000)]
Monadify typecheck/TcRnMonad: use return, standard monad functions and liftIO

18 years agoMonadify typecheck/TcEnv: use do, return, applicative, standard monad functions
Twan van Laarhoven [Thu, 17 Jan 2008 21:36:36 +0000 (21:36 +0000)]
Monadify typecheck/TcEnv: use do, return, applicative, standard monad functions

18 years agoMonadify typecheck/TcRnDriver: use return and standard monad functions
Twan van Laarhoven [Thu, 17 Jan 2008 21:33:52 +0000 (21:33 +0000)]
Monadify typecheck/TcRnDriver: use return and standard monad functions