1. 26 Apr, 2000 5 commits
  2. 25 Apr, 2000 8 commits
  3. 24 Apr, 2000 1 commit
    • panne's avatar
      [project @ 2000-04-24 22:05:08 by panne] · 6d6424ae
      panne authored
      Use get_itbl instead of direct access to info field in
      removeIndirections. This "worked" only because the probability of
      hitting an indirection-like closure by chance is 5:65531 on 32bit
      platforms. :-) But HOpenGL once again managed to expose this bug...
      6d6424ae
  4. 23 Apr, 2000 1 commit
    • chak's avatar
      [project @ 2000-04-23 13:27:04 by chak] · bb2a4035
      chak authored
      - revised for ghc 4.07; added suggestions from Pixel <pixel@mandrakesoft.com>
      - added profiling package
        [these are named ghc-prof-<version>.<arch>.rpm]
      bb2a4035
  5. 22 Apr, 2000 1 commit
  6. 21 Apr, 2000 10 commits
    • panne's avatar
      [project @ 2000-04-21 18:09:30 by panne] · 17160152
      panne authored
      Include Weak.h to remove a warning
      17160152
    • panne's avatar
      [project @ 2000-04-21 18:07:46 by panne] · 1399fe03
      panne authored
      I've bitten the bullet and cleaned up the mess around Readline. There
      are actually questions to answer by autoconf:
      
         * Are the headers available for compilation?
         * Are the libraries (and which) available for linking?
      
      Note that in the second case it should be the libraries on the machine
      which GHC is *installed* on, not the ones on which it was compiled.
      GhcLibsWithReadline is now automagically set if the headers are found,
      but this can still be overridden.
      1399fe03
    • panne's avatar
      [project @ 2000-04-21 18:05:19 by panne] · 70331ad0
      panne authored
      /tmp/msg
      70331ad0
    • panne's avatar
      [project @ 2000-04-21 15:59:13 by panne] · 624ff0c7
      panne authored
      Bumped the maximum size of tuples from 37 to 62. If this is not
      wanted, use PrelTup_HC_OPTS+=-DNO_LARGE_TUPLES in build.mk.
      624ff0c7
    • panne's avatar
      [project @ 2000-04-21 15:48:38 by panne] · cb524d9e
      panne authored
      Further steps towards an empty build.mk:
         * GHC is now built with -O by default
         * hslibs/tools now use GhcLibToolsHcOpts, again -O by default
      cb524d9e
    • simonpj's avatar
      [project @ 2000-04-21 15:07:45 by simonpj] · 677d7900
      simonpj authored
      Add loop test
      677d7900
    • simonpj's avatar
      [project @ 2000-04-21 14:40:48 by simonpj] · 0666c3bb
      simonpj authored
      Remove a way to make the simplifier go into an
      infinite loop.   This has been there for some weeks;
      and George's UniForm tickled it.  I'm amazed nothing
      else has done so.  I'll add a test.
      
      The bad case happened when you go
      
      	let xs = 1:xs
      	in
      	foldr k z xs
      
      Then we kept firing the foldr/cons rule.
      
      Solution: we don't attach an unfolding *at all* to
      loop breakers (Simplify.completeBinding)
      0666c3bb
    • simonpj's avatar
      [project @ 2000-04-21 14:35:46 by simonpj] · 7166525e
      simonpj authored
      First I forgot to commit all the files for the
      Java support.  Then I spoke the wrong CVS command.
      This commit just adds the log message!
      
      --------------------------
      Add support for Java generation, written in
      a lightning day with Erik Meijer
      
      	ghc -J Foo.hs
      
      will do the business, generating Foo.java
      
      The code is in a new directory, javaGen/, so
      you'll need to cvs update -d.
      
      I've reorganised main/CodeOutput quite a bit; it
      is now much much tidier, and will accommodate new
      languages quite easily.
      
      I've also fiddled with the flags that communicate
      between the driver and hsc.
      
      GONE:	-S=  -C=
      
      NEW:	-olang=xxx	output language xxx
      			xxx can be: C, asm, java
      
      	-ofile=xxx	put the output code in file xxx
      
      
      BEWARE that I might have broken some of the more
      cryptic stuff in ghc.lprl.
      
      Simon
      7166525e
    • simonpj's avatar
      [project @ 2000-04-21 12:59:13 by simonpj] · bcfb56f6
      simonpj authored
      And here is the commit for the driver
      bcfb56f6
    • simonpj's avatar
      [project @ 2000-04-21 12:57:54 by simonpj] · c30bd911
      simonpj authored
      /home/simonpj/tmp/msg
      c30bd911
  7. 20 Apr, 2000 13 commits
    • simonpj's avatar
      [project @ 2000-04-20 16:45:16 by simonpj] · 1abb301c
      simonpj authored
      Add support for Java generation, written in
      a lightning day with Erik Meijer
      
      	ghc -J Foo.hs
      
      will do the business, generating Foo.java
      
      The code is in a new directory, javaGen/, so
      you'll need to cvs update -d.
      
      I've reorganised main/CodeOutput quite a bit; it
      is now much much tidier, and will accommodate new
      languages quite easily.
      
      I've also fiddled with the flags that communicate
      between the driver and hsc.
      
      GONE:	-S=  -C=
      
      NEW:	-olang=xxx	output language xxx
      			xxx can be: C, asm, java
      
      	-ofile=xxx	put the output code in file xxx
      
      
      BEWARE that I might have broken some of the more
      cryptic stuff in ghc.lprl.
      
      Simon
      1abb301c
    • simonpj's avatar
      [project @ 2000-04-20 16:31:47 by simonpj] · 8f674b1c
      simonpj authored
      Finish TcClassDecl
      8f674b1c
    • panne's avatar
      [project @ 2000-04-20 16:28:39 by panne] · c5b20ebe
      panne authored
      To avoid potential collisions between different modules, prefix the
      names of the C stubs with the module name.
      c5b20ebe
    • panne's avatar
      [project @ 2000-04-20 16:22:46 by panne] · d8c19062
      panne authored
      I'm not sure if the last commit of MkId.lhs was incorrect or
      incomplete. Anyway, to build hsc I've commented out the now
      superfluous parameter for mkDictSelId (marked with "SUP:???").
      d8c19062
    • panne's avatar
      [project @ 2000-04-20 15:49:21 by panne] · 13ceb098
      panne authored
      Package util now depends on package posix, too.
      NOTE: To get Readline up and working, -lreadline and one of
      -lncurses/-lcurses/-ltermcap has to be inserted, too, but this has to
      be autoconf-ed somehow (later...)
      13ceb098
    • simonmar's avatar
      [project @ 2000-04-20 15:48:20 by simonmar] · 94cb5943
      simonmar authored
      Update this file to the one on the web site, and add Simon's latest
      notes about using the cvs- lists for bug reports about the cvs
      sources.
      94cb5943
    • simonmar's avatar
      [project @ 2000-04-20 15:34:17 by simonmar] · f54f4297
      simonmar authored
      Print out cost centre names as C strings (using proper escaping for
      special characters etc.).
      f54f4297
    • panne's avatar
      [project @ 2000-04-20 15:22:54 by panne] · 969bf5de
      panne authored
      Improved rules for stubs. Not perfect yet, but better than before.
      969bf5de
    • simonmar's avatar
      [project @ 2000-04-20 15:18:58 by simonmar] · 952a3281
      simonmar authored
      add	pprStringInCStyle :: String -> SDoc
      (we already have a FAST_STRING version but not one for plain Strings).
      952a3281
    • simonmar's avatar
      [project @ 2000-04-20 13:20:31 by simonmar] · 1dcb0eec
      simonmar authored
      Fix for initModules when unregisterised.
      1dcb0eec
    • simonpj's avatar
      [project @ 2000-04-20 12:50:18 by simonpj] · d74118a7
      simonpj authored
      Dont strip directory prefix when printing src-locs
      d74118a7
    • simonpj's avatar
      [project @ 2000-04-20 10:56:05 by simonpj] · 074d99bd
      simonpj authored
      - Fix bug in TcExpr.tcMonoExpr (RecordUpd ...), where I hadn't
        propagated the recent change (to be H98ish) that record selectors
        for types with a context are overloaded:
      	data Eq a => T a { f1 :: a }
      
        Here	f1 :: Eq a => T a -> a
      
        I don't like this, but Mark persuaded me that this was the
        Right Thing if we are to have contexts in data decls at all
        (which we should not)
      074d99bd
    • simonpj's avatar
      [project @ 2000-04-20 07:02:37 by simonpj] · e6177a67
      simonpj authored
      wibble
      e6177a67
  8. 19 Apr, 2000 1 commit