1. 15 Aug, 2004 3 commits
    • panne's avatar
      [project @ 2004-08-15 20:37:22 by panne] · b9de29ac
      panne authored
      Started to convert the users guide to DocBook XML. Not yet finished, there are
      still *tons* of misplaced indexterms, but some sensible documentation can
      already be generated.
    • panne's avatar
      [project @ 2004-08-15 20:32:47 by panne] · 69907617
      panne authored
      Converted the building guide to DocBook XML
    • panne's avatar
      [project @ 2004-08-15 20:28:02 by panne] · 53386c35
      panne authored
      <fanfare>Finally: Support for DocBook XML!</fanfare>
      After endless frustrating hours, I came to the conclusion that using (Open)Jade
      for DocBook XML is virtually impossible, there are *tons* of problems with it:
      Wildly differing paths, incorrect stylesheets, broken catalogs at funny places,
      broken wrapper scripts, missing support on Cygwin etc.  >:-P * * *
      So we follow the ubiquitous XSL hype and use xsltproc + DocBook XSL stylesheets
      to transform DocBook XML to HTML and FO. From FO there are two routes to PDF and
      PostScript: Either via FOP (preferred) or via PassiveTeX. Validation can be done
      via xmllint using the new make target "validate". When PassiveTeX is available,
      DVI can be generated, too.  A new make target "no-chunks-html" is available for
      generating an all-in-one HTML document. Currently there is no way to generate
      plain text or RTF, but at least the former could easily be added.
      Generating HTML works out-of-the-box on Cygwin now, but you will have to install
      FOP for other formats, because there seems to be no standard package for it.
      The HTML appearance can be controlled via CSS, but the current location of the
      master stylesheet below fptools/mk is a bit debatable. Better suggestions are
      Currently there is still support for SGML documents, but it will be dropped when
      all documents are converted to DocBook XML. The build system is complex enough
      already with the support for a *single* kind of DocBook...
  2. 13 Aug, 2004 10 commits
  3. 12 Aug, 2004 7 commits
  4. 10 Aug, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-08-10 14:36:25 by simonmar] · 85511088
      simonmar authored
      Windows fixes.  There were some strange things going on with Windows
      installation directories - I'm sure I've mucked up whatever was
      happening with 'make install' for GHC on Windows, but there were
      defintitely some bugs in here.  eg. we shouldn't have been setting
      datadir to $(prefix)/imports unconditionally on Windows.
      Make install now works for Happy, Alex and Haddock.  GHC probably
      needs a bit of tweaking to get it working again.
    • simonmar's avatar
      [project @ 2004-08-10 13:51:25 by simonmar] · cc33dd28
      simonmar authored
      Add $(Windows), which is "YES" if the host platform is a Windows
      platform (mingw32 or cygwin32), and "NO" otherwise.
    • simonmar's avatar
      [project @ 2004-08-10 09:02:36 by simonmar] · c9a32c38
      simonmar authored
      Fix problem with inline foreign-call changes yesterday.  Foreign call
      args sometimes have to be modified using shimFCallArg - nowadays this
      is done at code generation time, whereas it used to be done at
      pretty-printing time.
  5. 09 Aug, 2004 4 commits
    • simonmar's avatar
      [project @ 2004-08-09 14:27:53 by simonmar] · 05881eca
      simonmar authored
      Two changes:
        - newly created or unblocked threads go to the back of the run
          queue.  This is fairer because it avoids possible starvation.
          Fixes problem with conc004 test going much slower with optimisation.
        - The context switch flag is only reset after a yield.  Previously,
          it was being reset before we ran a thread, which meant that a tick
          that arrived during GC would be lost, and a thread doing lots of
          GC could hog the CPU.  Now, GC is effectively counted as part of
          the last running thread's timeslice.
    • simonmar's avatar
      [project @ 2004-08-09 13:19:29 by simonmar] · 46d88d87
      simonmar authored
      Allow case-of-unsafe-ccall to compile to straight-line code, like it
      used to.  This has already been fixed on the backend-hacking-branch,
      but I'm doing it here so that it can be merged into the STABLE branch,
      where it will help to work around a bug.
      The bug is in CgExpr.lhs:primRetUnboxedTuple, which picks temporaries
      to assign the result of a ccall to.  The Cg monad doesn't have a uniq
      supply (in the HEAD), so we always pick the same temporaries.  This
      leads to clashes in complex function with multiple ccalls.  Again,
      this is already fixed in the backend-hacking-branch.  I don't see an
      easy fix for this bug.
      The compilation of case-of-unsafe-ccall doesn't suffer from this
      problem, and it will help work around some cases of the bug, so I'm
      going to merge this onto the STABLE branch after some testing.
    • simonmar's avatar
      [project @ 2004-08-09 12:35:02 by simonmar] · a8601d0e
      simonmar authored
      Fix scoped type variable example.
    • simonmar's avatar
      [project @ 2004-08-09 12:15:09 by simonmar] · dfd0efbe
      simonmar authored
      Put a "-- " before the location info, since the rest of the output
      looks like Haskell source.
  6. 08 Aug, 2004 2 commits
  7. 06 Aug, 2004 1 commit
  8. 05 Aug, 2004 1 commit
  9. 02 Aug, 2004 1 commit
  10. 30 Jul, 2004 2 commits
  11. 28 Jul, 2004 2 commits
  12. 23 Jul, 2004 1 commit
  13. 21 Jul, 2004 3 commits