- 09 Jul, 2005 1 commit
-
-
igloo authored
Fix building on IA64. Please merge to stable.
-
- 08 Jul, 2005 5 commits
-
-
simonpj authored
Revert accidental commit (merge to stable if bogus commit was merged)
-
simonpj authored
MERGE TO STABLE (once I"ve checked it works) The dictionary-floating code in Specialise wasn't taking variables free in the RULES into account, which resulted in such variables perhaps going out of scope.
-
simonpj authored
MERGE TO STABLE Add a check for Haskell-98 mode, to check that there is no type synonym in an instance declaration. tcfail139 tests this case
-
simonmar authored
genOutputFilenameFunc: fix output filename generated for non-Haskell compilations with -odir.
-
simonmar authored
Clean .hi-boot and .o-boot files too
-
- 07 Jul, 2005 1 commit
-
-
simonmar authored
small performance fix: in via-C mode we previously always created a switch instead of an conditional-tree for a multi-branch case. Refine this slightly so that 2-branch switches turn into conditionals again, since gcc doesn't do a good job of optimising the equivalent switch.
-
- 06 Jul, 2005 2 commits
- 05 Jul, 2005 1 commit
-
-
dons authored
Fix ffi on OpenBSD by dynamically allocating the obscure_ccall_ret_code. Also merge in SimonM's wrapper over inline asm patch.
-
- 01 Jul, 2005 1 commit
-
-
simonmar authored
setContextAfterLoad: include the Prelude if the top module is compiled (this broke at some point in the HEAD, 6.4 works fine).
-
- 29 Jun, 2005 3 commits
- 28 Jun, 2005 2 commits
-
-
simonmar authored
Add a comment that grabbing all the capabilities before GC causes the thread->capability hash table to acquire multiple entries for the current thread, which seems to be harmless.
-
simonmar authored
Disable the assertion that checks for multiple entries with the same key in the hash table. It's useful to be able to do this sometimes.
-
- 27 Jun, 2005 4 commits
-
-
simonpj authored
MERGE TO STABLE Fix a typechecker bug, which made the typechecker loop under certain circumstances, notably when we have type Foo a = a and try to unify b :=: Foo b typecheck/should_compile/tc195 tests this case now.
-
simonmar authored
Update docs for :ctags, :etags.
-
simonmar authored
help text wibble
-
simonmar authored
Rename :tags to :etags and :ctags. The problem was that :tags prevented the common abbreviation of :type, namely :t. Also, :etags and :ctags match the *nix commands of the same name, and this way makes it easier for them to take an optional filename argument (which they now do).
-
- 23 Jun, 2005 1 commit
-
-
simonmar authored
Add a 'U' suffix to all integer literals to make them explicitly unsigned. This avoids some warnings from gcc, but I don't think it fixes any actual bugs (I could be wrong, though).
-
- 22 Jun, 2005 2 commits
- 21 Jun, 2005 5 commits
-
-
ross authored
split Distribution.Extension between Language.Haskell.Extension (just the type, which will also be useful when haskell-src-exts is merged) and Distribution.Compiler (mappings to compiler options).
-
simonmar authored
Document changes to the package system. A nice side effect of the relaxed restrictions is that the -ignore-package flag is no longer required when compiling a package (unless the package is "base", and even in that case we might be able to get away with -hide-package base). For now, I've removed references that talk about using -ignore-package when compiling a package, and simplified the documentation for -ignore-package.
-
simonmar authored
fix Windows build
-
simonmar authored
Relax the restrictions on conflicting packages. This should address many of the traps that people have been falling into with the current package story. Now, a local module can shadow a module in an exposed package, as long as the package is not otherwise required by the program. GHC checks for conflicts when it knows the dependencies of the module being compiled. Also, we now check for module conflicts in exposed packages only when importing a module: if an import can be satisfied from multiple packages, that's an error. It's not possible to prevent GHC from starting by installing packages now (unless you install another base package). It seems to be possible to confuse GHCi by having a local module shadowing a package module that goes away and comes back again. I think it's nearly right, but strange happenings have been observed. I'll try to merge this into the STABLE branch.
-
simonmar authored
we should be using PprTyThingInContext instead of PprTyThing here
-
- 19 Jun, 2005 3 commits
- 16 Jun, 2005 6 commits
-
-
simonmar authored
oops, bring runghc in on the shared-compat.mk game
-
simonmar authored
Move the boilerplate Makefile code for using libghccompat.a into a shared .mk file, lib/compat/compat.mk. libghccompat.a is really a poor-mans package, but to make it a real package would mean dealing with variationg in the package support of different GHC versions, so this is easier for now.
-
simonmar authored
Use -optdep--exclude-module to fix building HEAD with itself.
-
simonmar authored
Fix -optdep--exclude-module (looks like this has been broken for a while)
-
simonmar authored
Fix stage1 compilation
-
ross authored
refactoring only: split Compiler type from Distribution.Setup, to reduce dependencies.
-
- 15 Jun, 2005 2 commits
-
-
simonmar authored
Undo accidental commit
-
simonmar authored
Re-implement GHCi's :info and :browse commands in terms of TyThings rather than IfaceSyn. The GHC API now exposes its internal types for Haskell entities: TyCons, Classes, DataCons, Ids and Instances (collectively known as TyThings), so we can inspect these directly to pretty-print information about an entity. Previously the internal representations were converted to IfaceSyn for passing to InteractiveUI, but we can now remove that code. Some of the new code comes via Visual Haskell, but I've changed it around a lot to fix various dark corners and properly print things like GADTs. The pretty-printing interfaces for TyThings are exposed by a new module PprTyThing, which is implemented purely in terms of the GHC API (and is probably a good source of sample code). Visual Haskell should be able to use the functions exported by this module directly. Lots of new goodies are exported by the GHC module, mainly for inspecting TyThings.
-
- 14 Jun, 2005 1 commit
-
-
tharris authored
Assert on nested atomic blocks
-