Commits on Nov 10, 2007
  1. Define CPP in distrib/; fixes #1855

    igfoo committed Nov 10, 2007
    Patch from Christian Maeder
  2. Update install-sh

    igfoo committed Nov 10, 2007
    This comes from the Debian automake 1:1.10+nogfdl-1 package.
  3. Rename in the extralibs tarball; fixes #1859

    igfoo committed Nov 10, 2007
    If Cabal doesn't see the .ly file then it won't try to run happy, and
    thus won't fail if happy isn't installed.
  4. Add a path to the DocBook XSL Stylesheets search path

    igfoo committed Nov 10, 2007
    Slackware puts the stylesheets in /usr/share/xml/docbook/xsl-stylesheets*
    Patch from Andrea Rossato.
Commits on Nov 9, 2007
Commits on Nov 8, 2007
  1. Fix Trac #1654: propagate name changes into CoreRules committed Nov 8, 2007
    This patch is on the HEAD.  It fixes a nasty and long-standing bug
    whereby we weren't substituting the ru_fn field of a CoreRule in 
    CoreSubst.substSpec, which ultimately led to a puzzling "nameModule"
    error trying to put the rules in the interface file.
  2. Pad static literals to word size in the code generator

    Simon Marlow committed Nov 8, 2007
Commits on Nov 7, 2007
  1. FIX #1617: reloading didn't change the :browse output as it should

    Simon Marlow committed Nov 7, 2007
    The problem was that because the interface hadn't changed, we were
    re-using the old ModIface.  Unfortunately the ModIface contains the
    GlobalRdrEnv for the module, and that *had* changed.  The fix is to
    put the new GlobalRdrEnv in the ModIface even if the interface has not
    otherwise changed.
    ModIface is not really the right place for the GlobalRdrEnv, but
    neither is ModDetails, so we should think about a better way to do

    Simon Marlow committed Nov 7, 2007
    Sorry, should have pushed with previous batch of changes.
  3. FIX #1556: GHC's :reload keeps the context, if possible

    Simon Marlow committed Nov 7, 2007
  4. FIX #1561: don't use tabs in pretty-printed output at all.

    Simon Marlow committed Nov 7, 2007
    Tabs aren't guaranteed to be 8 spaces on every output device, so we
    shouldn't be using them.  Instead I added a little optimisation to
    use chunks of 8 spaces for long indentations.
  5. FIX #1765, #1766

    Simon Marlow committed Nov 7, 2007
    - :def! now overwrites a previous command with the same name
    - :def on its own lists the defined macros
    - ":undef f g" undefines both f and g
  6. #1617: Add :browse! and various other additions to GHCi

    Simon Marlow committed Nov 7, 2007
      - :browse!
        a variant of :browse that lists children separately,
        not in context, and gives import qualifiers in comments
    SimonM: I also added sorting by source location for interpreted
    modules in :browse, and alphabetic sorting by name otherwise.  For
    :browse *M, the locally-defined names come before the external ones.
      - :{ ..lines.. :} (multiline commands)
        allow existing commands to be spread over multiple lines
        to improve readability, both interactively and in .ghci
        (includes a refactoring that unifies the previous three
        command loops into one, runCommands, fed from cmdqueue,
        file, or readline)
      - :set
          now shows GHCi-specific flag settings (printing/
          debugger), as well as non-language dynamic flag 
        :show languages
          show active language flags
        :show packages
          show active package flags as well as implicitly 
          loaded packages
  7. FIX #1838: use System.Directory.getHomeDirectory instead of getEnv "H…

    Simon Marlow committed Nov 7, 2007
Commits on Nov 6, 2007
  1. Fix Trac #1813: generalise over *all* type variables at top level, ev… committed Nov 6, 2007
    …en phantom ones
    See Note [Silly type synonym] in TcType for further details.  This bug
    (or at least infelicity) has been in GHC for quite a long time.
  2. Fix Trac #1814 (staging interaction in Template Haskell and GHCi), an… committed Nov 6, 2007
    …d add comments
    An Id bound by GHCi from a previous Stmt is Global but Internal, and
    I'd forgotten that, leading to unnecessary restrictions when using TH
    and GHCi together.
    This patch fixes the problem and adds lots of explanatory comments (which
    is where most of the extra lines come from).
  3. Improve error messages committed Nov 6, 2007
  4. Improve manual entry for binding lexically scoped type variables in p… committed Nov 6, 2007
    …attern signatures
  5. Remove trailing spaces from programlisting lines committed Nov 6, 2007
  6. Remove unhelpful sentence (see Trac #1832) committed Nov 6, 2007
    Merge to 6.8 branch
  7. fix stage 1 compilation

    Simon Marlow committed Nov 6, 2007
  8. warning police

    Simon Marlow committed Nov 6, 2007
  9. GHC API: add checkAndLoadModule

    Simon Marlow committed Nov 6, 2007
    Does what the name suggests: it performs the function of both
    checkModule and load on that module, avoiding the need to process each
    module twice when checking a batch of modules.  This will make Haddock
    and ghctags much faster.
    Along with this is the beginnings of a refactoring of the HscMain
    interface.  HscMain now exports functions for separately running the
    parser, typechecher, and generating ModIface and ModDetails.
    Eventually the plan is to complete this interface and use it to
    replace the existing one.
  10. warning police

    Simon Marlow committed Nov 6, 2007
Commits on Nov 5, 2007
  1. eliminate a bit of duplication

    Simon Marlow committed Nov 5, 2007
  2. Various improvements

    Simon Marlow committed Nov 5, 2007
     - take the GHC topdir as a runtime argument
     - deal with files one at a time (fix space leak)
  3. build ghctags-inplace

    Simon Marlow committed Nov 5, 2007
  4. updates to ghctags code

    Simon Marlow committed Nov 5, 2007
Commits on Oct 31, 2007