1. 04 Sep, 2013 3 commits
    • Simon Marlow's avatar
      Don't move Capabilities in setNumCapabilities (#8209) · aa779e09
      Simon Marlow authored
      We have various problems with reallocating the array of Capabilities,
      due to threads in waitForReturnCapability that are already holding a
      pointer to a Capability.
      
      Rather than add more locking to make this safer, I decided it would be
      easier to ensure that we never move the Capabilities at all.  The
      capabilities array is now an array of pointers to Capabaility.  There
      are extra indirections, but it rarely matters - we don't often access
      Capabilities via the array, normally we already have a pointer to
      one.  I ran the parallel benchmarks and didn't see any difference.
      aa779e09
    • Herbert Valerio Riedel's avatar
      Hack-fix build breakage on Linux/GCC from fc4856f9 · 5a3918fe
      Herbert Valerio Riedel authored
      For some reason, the new `GccIsClang` variable introduced via
      fc4856f9 for addressing #8148
      isn't set explicitly to `NO`; so this simply changes the test
      `ifeq $(GccIsClang) NO` to `ifneq $(GccIsClang) YES` which
      should fix the build with and w/o Clang.
      5a3918fe
    • chak@cse.unsw.edu.au.'s avatar
      Make validate play nice with clang (for Xcode 5 command line tools) · fc4856f9
      chak@cse.unsw.edu.au. authored
      * This partially fixes #8148. However, --with-ghc-4.8 will still not work given the rather dubious m4 macros and the failures in the test suite due to '-nodefaultlibs' still need to be fixed.
      fc4856f9
  2. 03 Sep, 2013 6 commits
    • eir@cis.upenn.edu's avatar
      Allow non-Nominal covars (bugfix) · 62d3fdeb
      eir@cis.upenn.edu authored
      62d3fdeb
    • Edsko de Vries's avatar
      Fix #7918 · be7f10bb
      Edsko de Vries authored
      be7f10bb
    • Jan Stolarek's avatar
      Comments and type synonym in CmmSink · 1957fddb
      Jan Stolarek authored
      1957fddb
    • Simon Peyton Jones's avatar
      Comment only · 32862bff
      Simon Peyton Jones authored
      32862bff
    • Simon Peyton Jones's avatar
      Improve Linting in GHCi (fixes Trac #8215) · dfa8ef03
      Simon Peyton Jones authored
      The original problem was that we weren't bringing varaibles bound in the
      interactive context into scope before Linting the result of a top-level
      declaration in GHCi.  (We were doing this for expressions.)
      
      Moreover I found that we weren't Linting the result of desugaring
      a GHCi expression, which we really should be doing.
      
      It took me a bit of time to unravel all this, and I did some refactoring
      to make it easier next time.
      
        * CoreMonad contains the Lint wrappers that get the right
          environments into place.  It always had endPass and lintPassResult
          (which Lints bindings), but now it has lintInteractiveExpr.
      
        * Both use a common function CoreMonad.interactiveInScope to find
          those in-scope variables.
      
      Quite a bit of knock-on effects from this, but nothing exciting.
      dfa8ef03
    • Gabor Greif's avatar
      Patch by lukexi. · e5255476
      Gabor Greif authored
      Fixing #8217 for the unix(-like) case.
      e5255476
  3. 02 Sep, 2013 6 commits
    • Herbert Valerio Riedel's avatar
      Extend `packages` by 4th column for upstream repo · a137827a
      Herbert Valerio Riedel authored
      By keeping the repository url in the `packages` file scripts such as
      source:ghc/sync-all can pick it up. Moreover, it's easier to
      automatically validate for correctness than the
      wiki:Repositories/Upstream page.
      a137827a
    • Jan Stolarek's avatar
      Comments only · 9e2e84e0
      Jan Stolarek authored
      9e2e84e0
    • Simon Peyton Jones's avatar
      Improve documentation for the 7.8 release · d5b81cb3
      Simon Peyton Jones authored
      * Document ExplicitNamespaces
      * Improve documentation of ambiguity, and AllowAmbiguousTypes
      * Improve documentation of overlapping/incoherent instance rules
      * List language extensions in alphabetical order
      d5b81cb3
    • Simon Peyton Jones's avatar
      Make Specialise close over kind variables (fixes Trac #8196) · 8d7dd547
      Simon Peyton Jones authored
      This is a lingering bug from the introduction of polymorphic kinds.
      In the specialiser we were specialising over a type, but failing
      to specialise over the kinds it mentions.
      
      The fix is simple: add a call to closeOverKinds.
      
      Most of the patch is to add closeOverKinds, and to use it in a few
      other places where we are doing essentially the same thing.
      8d7dd547
    • Simon Peyton Jones's avatar
      Remove the final vestiges of InlineWrappers · e4a1d2d0
      Simon Peyton Jones authored
      Part of Nick Frisby's patch (c080f727)
      for late demand-analysis removed the over-zealous short-cut whereby
      strictness wrappers were not spelled out in detail in interface files.
      
      This patch completes the process by
       * removing InlineWrapper from UnfoldingSource
       * removing IfWrapper from IfaceUnfolding
      
      There was a tiny bit of special ad-hocery for wrappers, in OccurAnal,
      but fortunately that too turns out to be rendered irrelevant by
      the more uniform treatment, and after that there was no need
      to remember which functions are wrappers.
      e4a1d2d0
    • Edward Z. Yang's avatar
      Explicit import lists for StgCmmProf. · 5f98d44d
      Edward Z. Yang authored
      Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <ezyang@mit.edu>
      5f98d44d
  4. 31 Aug, 2013 5 commits
  5. 30 Aug, 2013 14 commits
  6. 29 Aug, 2013 6 commits