1. 12 Jul, 2003 3 commits
  2. 11 Jul, 2003 1 commit
  3. 10 Jul, 2003 4 commits
  4. 09 Jul, 2003 3 commits
    • simonpj's avatar
      [project @ 2003-07-09 12:51:37 by simonpj] · ed5abcc9
      simonpj authored
      Remove redundant Var.hi-boot
      ed5abcc9
    • simonpj's avatar
      [project @ 2003-07-09 11:08:03 by simonpj] · 983d2d8e
      simonpj authored
      ---------------------------------------
      	Wibble to GHCi constraint simplification
      	---------------------------------------
      
      The new GHCi constraint-simplification story, with defaulting for
      Show, Eq, Ord, should only apply to command-line expressions, not
      to modules loaded by GHCi.
      
      Hence new variant, TcSimplify.tcSimplifyInteractive
      983d2d8e
    • simonpj's avatar
      [project @ 2003-07-09 11:06:31 by simonpj] · f8031f57
      simonpj authored
      --------------------------
      	Fix two External-Core bugs
      	--------------------------
      
      1.  An inadvertent "let x = ...x..." bug in TcRnDriver
      
      2.  Adjust the new -main-is story, so that the root module is called
      	":Main" instead of "$Main".
          This means that the z-encoded module name is "ZCMain" rather than "zdMain",
          which in keeps the External-Core lexer happy.  And is more consistent generally.
      
      3.  Make the renamer happy to see definitions from modules other than the "home" one,
          when doing External Core.  In the main module, there'll be a definition for
          ZCMain.main.
      f8031f57
  5. 03 Jul, 2003 6 commits
    • simonpj's avatar
      [project @ 2003-07-03 16:22:16 by simonpj] · 38c8801e
      simonpj authored
      -----------------------
      	Type defaulting in GHCi
      	-----------------------
      
      	[Merge to stable branch, I think.]
      
      [Part 2 to this commit: add Eq and Ord, to allow
      
      	[] == []
      
      at the prompt.
      
      
            Extend type defaulting in GHCi so that
      
      	ghci>  []
      	[]
      
            works.  Suggested by Ralf Hinze.
      38c8801e
    • sof's avatar
      [project @ 2003-07-03 15:14:56 by sof] · 18340925
      sof authored
      New primop (mingw only),
      
        asyncDoProc# :: Addr# -> Addr# -> State# RealWorld-> (# State# RealWorld, Int#, Int# #)
      
      which lets a Haskell thread hand off a pointer to external code (1st arg) for
      asynchronous execution by the RTS worker thread pool. Second arg is data passed
      in to the asynchronous routine. The routine is _not_ permitted to re-enter
      the RTS as part of its execution.
      18340925
    • simonpj's avatar
      [project @ 2003-07-03 14:33:18 by simonpj] · 5affd811
      simonpj authored
      -----------------------
      	Type defaulting in GHCi
      	-----------------------
      
      	[Merge to stable branch, I think.]
      
      
      Extend type defaulting in GHCi so that
      
      	ghci>  []
      	[]
      
      works.  Suggested by Ralf Hinze.
      5affd811
    • simonpj's avatar
      [project @ 2003-07-03 14:32:30 by simonpj] · 6a1c0fe4
      simonpj authored
      Add pointer to TH home page
      6a1c0fe4
    • simonpj's avatar
      [project @ 2003-07-03 10:55:41 by simonpj] · 5bb5efc2
      simonpj authored
      Trim more imports
      5bb5efc2
    • simonpj's avatar
      [project @ 2003-07-03 10:35:37 by simonpj] · c7b2a8e7
      simonpj authored
      Dont report assert as unused; merge to stable
      c7b2a8e7
  6. 02 Jul, 2003 5 commits
    • ross's avatar
      [project @ 2003-07-02 19:41:20 by ross] · 3cf18a53
      ross authored
      import fix
      3cf18a53
    • simonpj's avatar
      [project @ 2003-07-02 14:59:00 by simonpj] · 05afb748
      simonpj authored
      Some random import trimming
      05afb748
    • stolz's avatar
      [project @ 2003-07-02 13:57:10 by stolz] · e34efb98
      stolz authored
      autoconf probably knows best about vfork()
      e34efb98
    • simonpj's avatar
      [project @ 2003-07-02 13:18:24 by simonpj] · 96fd092f
      simonpj authored
      Fixes two minor bugs that I came across in the old
      CgCase code generation:
      
      1. We were generating
      	tmp = Sp[1]
      	... more uses of Sp[1]....
      instead of
      	tmp = Sp[1]
      	... more uses of tmp....
      in the (case v of ...prim alts...) situation
      
      2. The cost-centre restoration wasn't right for let-no-escapes
      
      I kept this fix separate, becuase it does change the code generated
      slightly.
      96fd092f
    • simonpj's avatar
      [project @ 2003-07-02 13:12:33 by simonpj] · 3f5e4368
      simonpj authored
      ------------------------
             Tidy up the code generator
      	------------------------
      
      The code generation for 'case' expressions had grown
      huge and gnarly.  This commit removes about 120 lines of
      code, and makes it a lot easier to read too. I think the code
      generated is identical.
      
      Part of this was to simplify the StgCase data type, so
      that it is more like the Core case: there is a simple list
      of alternatives, and the DEFAULT (if present) must be the
      first.  This tidies and simplifies other Stg passes.
      3f5e4368
  7. 01 Jul, 2003 5 commits
  8. 30 Jun, 2003 5 commits
  9. 27 Jun, 2003 5 commits
    • simonpj's avatar
      [project @ 2003-06-27 21:17:24 by simonpj] · 8655d6ca
      simonpj authored
      Heal the head
      8655d6ca
    • sof's avatar
      [project @ 2003-06-27 18:28:31 by sof] · 9e6162f9
      sof authored
      Do as for one-shot linking and implicitly supply packages 'base' and
      'haskell98' when piecing together a DLL.
      
      Merge to STABLE.
      9e6162f9
    • wolfgang's avatar
      [project @ 2003-06-27 18:08:53 by wolfgang] · c27762cf
      wolfgang authored
      PowerPC: Make it work with Apple's version of GCC 3.3
      c27762cf
    • stolz's avatar
      [project @ 2003-06-27 16:53:07 by stolz] · 25a96d10
      stolz authored
      Push down CPPFLAGS, CFLAGS and LDFLAGS.
      
      Now ./configure should pick up those flags and hopefully make life a bit
      easier for packagers. Notice that some flags which work fine for 'ld'
      won't work with ghc, e.g. the combination "-Wl,-E" which 'gtk-config --libs'
      suggests, so you'll usually want to set only -I or -L.
      
      > ghc -Wl,-E
      ghc-6.0: unrecognised flags: -Wl,-E
      
      http://www.haskell.org/pipermail/glasgow-haskell-users/2003-June/005243.html
      25a96d10
    • stolz's avatar
      [project @ 2003-06-27 16:21:10 by stolz] · 7f155a37
      stolz authored
      From genargs.pl:
      # This program generates a partial Haskell list of Strings from
      # words passed via stdin suitable for use in package.conf, e.g.:
      #
      #   foo bar   --> "foo", "bar"
      #   "foo bar" --> "foo bar"
      #   foo\"bar  --> "foo\"bar"
      #
      # Invoking genargs.pl with -comma will print an initial comma if
      # there's anything to print at all.
      #
      # Sample application in a Makefile:
      #  HSIFIED_EXTRA_LD_OPTS= `echo "$(EXTRA_LD_OPTS)" | $(PERL) genargs.pl`
      #  PACKAGE_CPP_OPTS += -DHSIFIED_EXTRA_LD_OPTS="$(HSIFIED_EXTRA_LD_OPTS)"
      7f155a37
  10. 26 Jun, 2003 3 commits
    • sof's avatar
      [project @ 2003-06-26 21:55:46 by sof] · 536e2a02
      sof authored
      SysTools.removeTmpFiles:
        - never delete source files with a DriverPhases.haskellish_user_src_file
          file extension & loudly complain should the compiler attempt to do so.
      
          This is a protective measure against bugs elsewhere in the driver pipeline
          (cf., 'ghc-6.0 --make' deleting input files if specified using backward
           instead of forward slashes under win32.)
      536e2a02
    • panne's avatar
      [project @ 2003-06-26 20:58:33 by panne] · 1c169ab6
      panne authored
      Unbreak GHCi: Add raiseIOzh_fast to RTS_SYMBOLS
      1c169ab6
    • panne's avatar
      [project @ 2003-06-26 20:49:32 by panne] · 36a1c1eb
      panne authored
      Warning police: Added #include for strerror
      36a1c1eb