1. 10 Apr, 2007 1 commit
    • Ian Lynagh's avatar
      Use a boot script instead of having autoreconf recurse · bdd44abe
      Ian Lynagh authored
      It used to be the case that
          autoreconf
      in the root would also autoreconf in any libraries that need it, and
          ./configure
      in the root would also configure all the libraries.
      
      However, cabal now configures the libraries, so they were getting
      configured twice.
      
      Thus now a small shellscript, boot, autoreconfs the root and all libraries
      that need it, and ./configure in the root doesn't configure the libraries.
      bdd44abe
  2. 09 Apr, 2007 2 commits
  3. 06 Apr, 2007 2 commits
  4. 13 Nov, 2006 1 commit
    • Aaron Tomb's avatar
      Fix external core syntax (though not full compilation) · de777ba4
      Aaron Tomb authored
      This patch updates the External Core creator, pretty-printer, and parser to
      agree on a concrete syntax for External Core, including the constructs
      required by the change to System FC. Code to create valid ASTs from External
      Core files will come later, as will bits for renaming, typechecking, and
      desugaring.
      de777ba4
  5. 06 Apr, 2007 1 commit
  6. 16 Mar, 2007 2 commits
  7. 10 Mar, 2007 1 commit
  8. 08 Mar, 2007 1 commit
  9. 01 Apr, 2007 1 commit
    • red5_2@hotmail.com's avatar
      fix adjustor generation on ia64 (test case ffi009) · b321da7d
      red5_2@hotmail.com authored
      Some fixes to adjustor functions.  The 8-byte address returned by the 
      allocator is adjusted to be aligned to 16-byte boundaries.  Fixed a typo 
      in inserting an immediate address into an instruction.
      
      This fixes the calls to 5-argument and 6-argument functions in ffi009.  
      Some functions still break.  I suspect it's related to passing arguments on 
      the stack.
      b321da7d
  10. 27 Mar, 2007 1 commit
  11. 04 Apr, 2007 7 commits
  12. 03 Apr, 2007 1 commit
  13. 02 Apr, 2007 1 commit
    • simonpj@microsoft.com's avatar
      Make type-tidying work for coercion variables · f2b02ce8
      simonpj@microsoft.com authored
      When tidying a TyVar binder, we must tidy its kind if it's a coercion
      variable!  I had forgotten to do this, which is a serious bug.  As a
      result some more complicated programs were getting a Lint error when
      reading in interface files.  Score one for Core Lint!
      
      f2b02ce8
  14. 01 Apr, 2007 1 commit
  15. 06 Mar, 2007 1 commit
  16. 02 Apr, 2007 1 commit
  17. 30 Mar, 2007 2 commits
    • simonpj@microsoft.com's avatar
      The ru_local field of a CoreRule is False for implicit Ids · ec81fdde
      simonpj@microsoft.com authored
      	MERGE to 6.6.1
      
      For class-ops, record selectors, data constructors, we want the ru_local
      field of the Rule to be False.  We do not attach the rule to the binding
      for the Id, because there simply isn't a binding until the code gen stage.
      
      (NB: the ru_local field is different to the orphan-hood of the rule.)
      
      This fixes a bug that meant that RULES on class ops were never exported.
      ec81fdde
    • simonpj@microsoft.com's avatar
      Match the type of an Id during rule matching · 206b7529
      simonpj@microsoft.com authored
      	Please MERGE to 6.6.1
      
      Consider this RULE
          forall (c::Char->Int) (x::Char). 
      	f (c x) = "RULE FIRED"
      
      Well, this should only match on arguments of the specified type
      But we simply weren't checking this condition before.  Now we are.
      
      Test is simplrun008
      
      206b7529
  18. 28 Mar, 2007 1 commit
  19. 29 Mar, 2007 2 commits
  20. 28 Mar, 2007 3 commits
  21. 27 Mar, 2007 5 commits
    • wolfgang.thaller@gmx.net's avatar
      Make GHC main program depend on the libHSghc_dyn when GhcBuildDylibs==YES · be96a4fa
      wolfgang.thaller@gmx.net authored
      When building a dynamic GHC, we obviously want to build the dynamic library
      libHSghc_dyn.[so|dylib] before building the compiler executable.
      
      MERGE TO STABLE
      be96a4fa
    • wolfgang.thaller@gmx.net's avatar
      Use a sensible set of compiler options for building dynamic libraries on Mac OS X · 006e481e
      wolfgang.thaller@gmx.net authored
      The official options to use for building a dylib on Mac OS X are now
      -undefined dynamic_lookup -single_module -Wl,-macosx_version_min -Wl,10.3
      ... which should work on all arches (10.3 or later).
      
      MERGE TO STABLE
      006e481e
    • Simon Marlow's avatar
      make GHCi use base:Prelude, not just Prelude · 4439532f
      Simon Marlow authored
      The module that GHCi uses for its default scope should be exactly
      base:Prelude, not whatever Prelude is found on the search path.
      4439532f
    • Simon Marlow's avatar
      more improvements for #1119 · 075a7bad
      Simon Marlow authored
      When GHCi compiles its code framgents for setting buffering, it wants
      to refer to base:System.IO rather than whatever System.IO is on the
      search path, unfortunately there's no way to do this in source code,
      so to hack around it we set the search path to empty before compiling
      these expressions (not forgetting to flush the finder cache
      afterward).
      075a7bad
    • Simon Marlow's avatar
      partial fix for #1119 · 1e8ae3f0
      Simon Marlow authored
      Unless we're in one-shot mode, emit an error if we attempt to
      demand-load interfaces for home modules.  This can only happen in one
      way (that I'm aware of): typing a qualified name at the GHCi prompt
      that refers to a module that isn't loaded.  Previously you got a
      cryptic message about not finding an interface file, now you get:
      
      Prelude> Foo.a
      
      <interactive>:1:0:
          attempting to use module `Foo' (Foo.hs) which is not loaded
      
      Of course you can still refer to package modules like this without
      loading them explicitly, only home modules are affected, and the
      behaviour is exactly the same as if you try to ':browse Foo' and
      Foo isn't loaded.
      1e8ae3f0
  22. 26 Mar, 2007 1 commit
    • Simon Marlow's avatar
      remove docs for unimplemented options · 70d12d0e
      Simon Marlow authored
      -optdep--include-module and --optdep--exclude-directory were features
      of the old mkdependHS script but weren't implemented when mkdependHS
      was merged into GHC.
      70d12d0e
  23. 27 Mar, 2007 1 commit