1. 06 Jan, 2003 10 commits
  2. 04 Jan, 2003 1 commit
  3. 27 Dec, 2002 5 commits
  4. 26 Dec, 2002 2 commits
  5. 23 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-23 11:02:15 by simonmar] · 0d7bfe8e
      simonmar authored
      Add the #includes from the rts package to the stub .c file.
      
      Prior to rev. 1.42, we used to add all the #includes from all enabled
      packages, together with any -#include options from the command-line.
      But since this is auto-generated code and we know exactly which
      #includes are required, this was overkill.
      
      In rev. 1.42, all #includes except RtsAPI.h were removed from the stub
      .c file.  This was incorrect, because the stub file refers to some
      entities defined in other RTS header files (the StgStablePtr type, and
      deRefStablePtr() for example).
      
      This change adds the header files from the rts package to the stub .c
      file, fixing some recent test breakages.
      0d7bfe8e
  6. 20 Dec, 2002 1 commit
  7. 19 Dec, 2002 14 commits
  8. 18 Dec, 2002 6 commits
    • igloo's avatar
      [project @ 2002-12-18 17:45:30 by igloo] · ab63ff1b
      igloo authored
      Context predicates start with a tcon name, not a type variable
      ab63ff1b
    • igloo's avatar
      [project @ 2002-12-18 17:28:17 by igloo] · d53da8f2
      igloo authored
      Convert Tup [e] and Pat [p] and e, p respectively.
      d53da8f2
    • simonmar's avatar
      [project @ 2002-12-18 16:29:25 by simonmar] · 854ab9a4
      simonmar authored
      "Auto" packages.
      
      The big change here is that it is no longer necessary to explicitly
      say '-package X' on the command line if X is a package containing
      hierarchical Haskell modules.  All packages marked "auto" contribute
      to the import path, so their modules are always available.  At link
      time, the compiler knows which packages are actually used by the
      program, and it links in only those libraries needed.
      
      There's one exception: one-shot linking.  If you link a program using
      
          ghc -o prog A.o B.o ...
      
      then you need to explicitly add -package flags for each package
      required (except base & haskell98) because the compiler has no
      information about the package dependencies in this case.
      
      Package configs have a new field: auto, which is either True or False.
      Non-auto packages must be mentioned on the command-line as usual.
      Non-auto packages are still required for:
      
        - non-hierarchical libraries (to avoid polluting the module namespace)
      
        - packages with no Haskell content
      
        - if you want more than one version of a package, or packages
          providing overlapping functionality where the user must decide
          which one to use.
      
      Doc changes to follow...
      854ab9a4
    • simonmar's avatar
      [project @ 2002-12-18 16:15:43 by simonmar] · f6ba57ea
      simonmar authored
      Comment fix.
      f6ba57ea
    • simonmar's avatar
      [project @ 2002-12-18 11:17:15 by simonmar] · 9ae23eae
      simonmar authored
      Correctly describe the stack during a GHCi CCALL instruction to the
      RTS.  The previous hack, temporarily truncating the stack to the
      topmost valid stack frame, didn't work because stack-squeezing tends
      to move the stack around before the call.
      
      The right thing to do is correctly describe the chunk of ccall args
      with an info table, which is what this change does.  We use a RET_DYN
      info table with the number of non-ptrs from the CCALL instruction.
      9ae23eae
    • mthomas's avatar
      [project @ 2002-12-18 01:13:37 by mthomas] · 7d434183
      mthomas authored
      Do a George Bush on unused macro arg irritating rich western programmer.
      7d434183