This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 08 Apr, 2008 1 commit
    • Simon Marlow's avatar
      Import libffi-3.0.4, and use it to provide FFI support in GHCi · e0fcf61d
      Simon Marlow authored
      This replaces the hand-rolled architecture-specific FFI support in
      GHCi with the standard libffi as used in GCJ, Python and other
      projects.  I've bundled the complete libffi-3.0.4 tarball in the
      source tree in the same way as we do for GMP, the difference being
      that we always build and install our own libffi regardless of whether
      there's one on the system (it's small, and we don't want
      dependency/versioning headaches).
      In particular this means that unregisterised builds will now have a
      fully working GHCi including FFI out of the box, provided libffi
      supports the platform.
      There is also code in the RTS to use libffi in place of
      rts/Adjustor.c, but it is currently not enabled if we already have
      support in Adjustor.c for the current platform.  We need to assess the
      performance impact before using libffi here too (in GHCi we don't care
      too much about performance).
  2. 07 Apr, 2008 2 commits
  3. 03 Apr, 2008 1 commit
  4. 07 Apr, 2008 2 commits
  5. 03 Mar, 2008 1 commit
    •'s avatar
      Remove GADT refinements, part 4 · bf1bf9fb authored
      - MkId.mkRecordSelId only used a special case of refineGadt, which doesn't
        need full unification.  That special case is now implemented as 
        TcGadt.matchRefine and TcGadt.refineGadt can finally go.
  6. 06 Apr, 2008 2 commits
  7. 05 Apr, 2008 1 commit
    • mnislaih's avatar
      Virtualize the cwd in GHCi · 24f608a8
      mnislaih authored
      This fixes the issue where :list would stop working if the
      program being debugged side-effected the working directory,
      and should prevent other similar issues
  8. 19 Dec, 2007 1 commit
  9. 04 Apr, 2008 1 commit
    •'s avatar
      Fix Trac #2188: scoping in TH declarations quotes · a27c5f77 authored
      This patch fixes a rather tiresome issue, namely the fact that
      a TH declaration quote *shadows* bindings in outer scopes:
        f g = [d| f :: Int
                  f = g
        	    g :: Int
                  g = 4 |]
      Here, the outer bindings for 'f' (top-level) and 'g' (local)
      are shadowed, and the inner bindings for f,g should not be
      reported as duplicates.  (Remember they are top-level bindings.)
      The actual bug was that we'd forgotten to delete 'g' from the
      LocalRdrEnv, so the type sig for 'g' was binding to the outer
      'g' not the inner one.
  10. 03 Apr, 2008 3 commits
  11. 02 Apr, 2008 3 commits
    •'s avatar
      Fix Trac #2137: report correct location for shadowed binding · 6e55d34a authored
      The error message generation for a shadowed binding was
      plain wrong, at least where the shadowed binding isn't
      top-level.  Just a typo really -- the fix is trivial.
    •'s avatar
      Fix Trac #2141: invalid record update · 1c9ffbe6 authored
      See Note [Record field lookup] in TcEnv.  The fix here
      is quite straightforward.
    • Simon Marlow's avatar
      Do not #include external header files when compiling via C · c245355e
      Simon Marlow authored
      This has several advantages:
       - -fvia-C is consistent with -fasm with respect to FFI declarations:
         both bind to the ABI, not the API.
       - foreign calls can now be inlined freely across module boundaries, since
         a header file is not required when compiling the call.
       - bootstrapping via C will be more reliable, because this difference
         in behavour between the two backends has been removed.
      There is one disadvantage:
       - we get no checking by the C compiler that the FFI declaration
         is correct.
      So now, the c-includes field in a .cabal file is always ignored by
      GHC, as are header files specified in an FFI declaration.  This was
      previously the case only for -fasm compilations, now it is also the
      case for -fvia-C too.
  12. 30 Mar, 2008 1 commit
  13. 29 Mar, 2008 21 commits