1. 09 Jul, 2005 1 commit
  2. 08 Jul, 2005 5 commits
  3. 07 Jul, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-07-07 13:50:40 by simonmar] · cca5f22b
      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.
  4. 06 Jul, 2005 2 commits
  5. 05 Jul, 2005 1 commit
    • dons's avatar
      [project @ 2005-07-05 04:55:30 by dons] · 76f8c7b8
      dons authored
      Fix ffi on OpenBSD by dynamically allocating the obscure_ccall_ret_code.
      Also merge in SimonM's wrapper over inline asm patch.
  6. 01 Jul, 2005 1 commit
  7. 29 Jun, 2005 3 commits
  8. 28 Jun, 2005 2 commits
    • simonmar's avatar
      [project @ 2005-06-28 13:44:28 by simonmar] · 9c1b774a
      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's avatar
      [project @ 2005-06-28 13:43:41 by simonmar] · 9e9dfae0
      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.
  9. 27 Jun, 2005 4 commits
  10. 23 Jun, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-06-23 09:17:30 by simonmar] · 4e448ebd
      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).
  11. 22 Jun, 2005 2 commits
  12. 21 Jun, 2005 5 commits
    • ross's avatar
      [project @ 2005-06-21 15:11:38 by ross] · 41fef65c
      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's avatar
      [project @ 2005-06-21 12:03:25 by simonmar] · 359313f8
      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's avatar
      [project @ 2005-06-21 11:57:00 by simonmar] · b9a1ac09
      simonmar authored
      fix Windows build
    • simonmar's avatar
      [project @ 2005-06-21 10:44:37 by simonmar] · 0c53bd0e
      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
      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
      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's avatar
      [project @ 2005-06-21 10:30:41 by simonmar] · 93e2d5bd
      simonmar authored
      we should be using PprTyThingInContext instead of PprTyThing here
  13. 19 Jun, 2005 3 commits
  14. 16 Jun, 2005 6 commits
  15. 15 Jun, 2005 2 commits
    • simonmar's avatar
      [project @ 2005-06-15 13:50:14 by simonmar] · 48f77ccc
      simonmar authored
      Undo accidental commit
    • simonmar's avatar
      [project @ 2005-06-15 12:03:19 by simonmar] · e6de0678
      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.
  16. 14 Jun, 2005 1 commit