1. 22 Oct, 2015 9 commits
  2. 21 Oct, 2015 4 commits
  3. 20 Oct, 2015 3 commits
    • kanetw's avatar
      Extended default rules now specialize Foldable, Traversable to [] (#10971) · bb7e93c9
      kanetw authored
      Default rules deliberately accept any kind.
      
      Reviewed By: simonpj, thomie, goldfire
      
      Differential Revision: https://phabricator.haskell.org/D1329
      bb7e93c9
    • Jan Stolarek's avatar
      Reject top-level typed TH splices. Fixes #10945 · 1750ebc2
      Jan Stolarek authored
      When TemplateHaskell language extension is enabled it is valid to have
      top-level expressions.  Each such expression is treated as a contents
      of a splice.  The problem arises with typed splices.  They are not valid
      at the top level and therefore we should interpret them not as a splice
      but as a top-level expression (aka. implicit splice).  So saying:
      
      $$foo
      
      is equivalent of:
      
      $( $$foo )
      
      This patch makes sure that this is indeed the case.  Until now we
      incorrectly treated typed splices as explicit splices.
      1750ebc2
    • thomie's avatar
      Testsuite Windows: don't use forward slashes in topdir path · ae4acbd1
      thomie authored
      Changing backwards slashes to forward slashes apparently confuses
      msys2/mingw magic path handling. I don't quite understand why, but this
      fixes it.
      
      Test Plan: on Windows, make sure PATH does not contain
      'inplace/mingw/bin' (let the testsuite driver add it), then run: make
      TEST='ghcilink003 ghcilink006'. Before this patch, it would fail.
      
      Reviewed by: Phyx, bgamari, austin
      
      Differential Revision: https://phabricator.haskell.org/D1343
      ae4acbd1
  4. 19 Oct, 2015 3 commits
  5. 18 Oct, 2015 5 commits
  6. 17 Oct, 2015 8 commits
    • Ben Gamari's avatar
      Signals: Always install SIGUSR2 handler · d990b5f6
      Ben Gamari authored
      Even if libdw isn't available.
      d990b5f6
    • Ben Gamari's avatar
      6638bfd3
    • Herbert Valerio Riedel's avatar
      Make Monad/Applicative instances MRP-friendly · e8ed2136
      Herbert Valerio Riedel authored
      This patch refactors pure/(*>) and return/(>>) in MRP-friendly way, i.e.
      such that the explicit definitions for `return` and `(>>)` match the
      MRP-style default-implementation, i.e.
      
        return = pure
      
      and
      
        (>>) = (*>)
      
      This way, e.g. all `return = pure` definitions can easily be grepped and
      removed in GHC 8.1;
      
      Test Plan: Harbormaster
      
      Reviewers: goldfire, alanz, bgamari, quchen, austin
      
      Reviewed By: quchen, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1312
      e8ed2136
    • Ben Gamari's avatar
      Signals: Print backtrace on SIGUSR2 · 40cbf9aa
      Ben Gamari authored
      This uses the backtrace support introduced in D1196 to provide
      backtraces from Haskell processes when SIGUSR2 is thrown.
      
      Test Plan: Need to add a test.
      
      Reviewers: scpmw, simonmar, Tarrasch, austin
      
      Reviewed By: austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1197
      40cbf9aa
    • Ben Gamari's avatar
      Libdw: Add libdw-based stack unwinding · a6a3dabc
      Ben Gamari authored
      This adds basic support to the RTS for DWARF-assisted unwinding of the
      Haskell and C stack via libdw. This only adds the infrastructure;
      consumers of this functionality will be introduced in future diffs.
      
      Currently we are carrying the initial register collection code in
      Libdw.c but this will eventually make its way upstream to libdw.
      
      Test Plan: See future patches
      
      Reviewers: Tarrasch, scpmw, austin, simonmar
      
      Reviewed By: austin, simonmar
      
      Subscribers: simonmar, thomie, erikd
      
      Differential Revision: https://phabricator.haskell.org/D1196
      
      GHC Trac Issues: #10656
      a6a3dabc
    • Ryan Scott's avatar
      Move Control.Monad.IO.Class to base from transformers · fff02548
      Ryan Scott authored
      See Trac #10773
      
      Remove Control.Monad.IO.Class from `transformers`. Updates
      `transformers` submodule.
      
      See Trac #10773
      
      Test Plan: ./validate
      
      Reviewers: ekmett, hvr, bgamari, austin
      
      Reviewed By: hvr, bgamari, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1147
      
      GHC Trac Issues: #10773
      fff02548
    • Tamar Christina's avatar
      Silence the linker on Windows so tests pass · 603a369d
      Tamar Christina authored
      Silence the unconditional debugBelch statements recently added to HEAD
      which on Windows cause debug information to always be printed.
      
      Differential Revision: https://phabricator.haskell.org/D1338
      603a369d
    • thomie's avatar
      Build system: fix `make -j1` (#10973) · 3340fe01
      thomie authored
      There are multiple hacks all over the build system to account for the
      fact that the ghc package uses different build subdirectories
      (stage1/stage2) than the other packages (dist/dist-install).
      
      One such hack filtered on 'ghc%', with the intention of filtering the
      ghc package only. After renaming bin-package-db to ghc-boot
      (d2f9972a, Phab:D1313, #10796), ghc-boot
      also got caught in the hack, which broke the build when running without
      parallelism.
      
      This patch replaces the before mentioned hack by a different one, such
      that filtering on 'ghc%' is no longer necessary. See Note [inconsistent
      distdirs].
      
      Reviewed by: austin
      
      Differential Revision: https://phabricator.haskell.org/D1333
      3340fe01
  7. 16 Oct, 2015 8 commits