1. 16 Jun, 2005 1 commit
  2. 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.
  3. 14 Jun, 2005 1 commit
  4. 13 Jun, 2005 11 commits
    • simonmar's avatar
      [project @ 2005-06-13 14:36:01 by simonmar] · 91314304
      simonmar authored
      - Fix up documentation for about new automatic printing semantics
      - Document :tags
    • simonmar's avatar
      [project @ 2005-06-13 14:16:03 by simonmar] · a9842920
      simonmar authored
      fix layout in the help text
    • simonmar's avatar
      [project @ 2005-06-13 14:12:59 by simonmar] · f96c7c1a
      simonmar authored
      Implement :tags command
      Patch supplied by Claus Reinke, with some modifications by me.
      Ideally we'd like this to be a command line option too, and we'd like
      to drop the restriction that all the source files must be interpreted,
      but that needs some work elsewhere (interface files have to store
      definition source locations).
    • simonmar's avatar
      [project @ 2005-06-13 13:46:39 by simonmar] · 7004f764
      simonmar authored
      unused imports
    • simonmar's avatar
      [project @ 2005-06-13 13:44:48 by simonmar] · 58b4a155
      simonmar authored
      - Eliminate some warnings, remove dead code
      - export PrintUnqualified, alwaysQualify
    • simonmar's avatar
      [project @ 2005-06-13 12:29:48 by simonmar] · b07f3876
      simonmar authored
      Block allocator performance fix: instead of keeping the free list
      ordered, keep it doubly-linked, and introduce a new flag BF_FREE so we
      can tell when a block is free.  We can still coalesce blocks on the
      free list because block descriptors are kept consecutively in memory,
      so we can tell based on the BF_FREE flag whether to coalesce with the
      next higher/lower blocks when freeing a block.
      This (almost) make freeChain O(n) rather than O(n^2), and has been
      reported to help a lot when dealing with very large heaps.
    • simonmar's avatar
      [project @ 2005-06-13 10:21:09 by simonmar] · 15e00848
      simonmar authored
      Use perl rather than sed to munge the package.conf file; avoids
      portability problems with sed (previous version didn't work on Solaris).
    • wolfgang's avatar
      [project @ 2005-06-13 02:44:22 by wolfgang] · c26a153c
      wolfgang authored
      Deal with the fact that the code and data in a .o file might not be
      16-byte aligned even if it contains instructions that require 16-byte
      This fixes floating point related crashes on Darwin/x86; there might
      also have been problems on Darwin/ppc if people load .o files with
      AltiVec code into GHCi.
    • wolfgang's avatar
      [project @ 2005-06-13 02:03:42 by wolfgang] · 4302b12e
      wolfgang authored
      Instead of aligning all literals at 16 bytes, reuse the hack from x86-64.
    • wolfgang's avatar
      [project @ 2005-06-13 00:16:44 by wolfgang] · cd22d3c7
      wolfgang authored
      Darwin/x86: support GHCi.
    • wolfgang's avatar
      [project @ 2005-06-13 00:15:58 by wolfgang] · 59177a1b
      wolfgang authored
      Fix two causes for crashes:
      *) align literals to 16 bytes, because Apple's GCC likes to use
         SSE instructions which require this alignment.
      *) In print_doctored, recognize global jumps that masquerade as
         local jumps by going via Lfoo$stub or Lfoo$non_lazy_ptr.
  5. 10 Jun, 2005 2 commits
  6. 09 Jun, 2005 4 commits
  7. 08 Jun, 2005 1 commit
  8. 07 Jun, 2005 5 commits
  9. 06 Jun, 2005 3 commits
  10. 03 Jun, 2005 4 commits
  11. 02 Jun, 2005 2 commits
  12. 01 Jun, 2005 1 commit
  13. 31 May, 2005 3 commits
    • simonmar's avatar
      [project @ 2005-05-31 14:14:26 by simonmar] · ae658c18
      simonmar authored
      Make more error messages from the downsweep into ErrMsg exceptions.
    • simonmar's avatar
      [project @ 2005-05-31 13:10:39 by simonmar] · 31f289ba
      simonmar authored
      oops, fix updating the module graph
    • simonmar's avatar
      [project @ 2005-05-31 12:45:03 by simonmar] · aa6eb36c
      simonmar authored
      Fix some reporting of errors in the GHC API: errors during the
      downsweep were thrown as exceptions; now they're reported via the
      (Messages->IO ()) callback in the same way as other errors.
      getModuleInfo no longer prints anything on stdout.  It does ignore
      error messages and return Nothing, however - we should fix this and
      return the error messages at some point.
      The ErrMsg type can now be thrown as an exception.  This can be a
      convenient alternative if collecting multiple error messages isn't
      required.  We do this in the downsweep now.