ghci: tweak option list indentation in ':show packages'

Summary:
Caught by './validate --slow' in 'ghci/scripts/ghci024'.

Commit 207875293fea07aa90efe215369629b657d1875a changed indentation a bit:

    --- ./ghci/scripts/ghci024.stdout       2014-07-31 12:05:34.000000000 +0300
    +++ ./ghci/scripts/ghci024.run.stdout   2014-08-07 17:19:23.000000000 +0300
    @@ -33,4 +33,4 @@
     active package flags: none
     ~~~~~~~~~~ Testing :show packages, including the ghc package
     active package flags:
    -  -package ghc
    +-package ghc

Patch restores indentation.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Test Plan: passed validate, tested manually

Reviewers: austin, ezyang

Reviewed By: ezyang

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D126
testsuite: add signal_exit_code function to the driver

Summary:
New function signal_exit_code hides differences between target platforms
handling of fatal error signals and the applications' exit codes. E.g.
on Linux the application exit code which receives fatal error signal
is encoded as 128 + signal value. On the other hand on Solaris
the application exit code is signal value alone.

Test Plan: validated on Linux and tested on Solaris

Reviewers: austin, simonmar

Reviewed By: simonmar

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D122
Update perf number for T5642

This  +4% increase (from -1% before) was caused by 1fc60ea. But that
commit did not cause any other regressions, so I’m not investigating
further.
Update Haddock to attoparsec-0.12.1. Adjust perf.

Please adjust the perf number on your platform if/when it fails. It
should improve slightly. Updates submodule.
Implement the final change to INCOHERENT from Trac #9242

The change here is to make INCOHERENT slightly more permissive:

  if the selected candidate is incoherent
  then ignore all unifying candidates

This allows us to move the {-# INCOHERENT #-} pragma from
  from   instance Typeable (f a)
  to     Typeable (n:Nat) and Typable (s:Symbol)
where it belongs, and where Trac #9242 said it should be.

I don't think this will affect anyone.

I've updated the user manual.
Fix path in cabal file

Update Haddock submodule
configure.ac: drop unused HAVE_BIN_SH

Summary:
This hugs heritage gone away with commit f1dffa0224c9e8dcf1d3908e888e7d683485791b
in 2001

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Test Plan: tried to find HAVE_BIN_SH in internet, no success

Reviewers: simonmar, austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D117
Tweak Haddock markup in GHC.Magic
Tweak Haddock in GHC.Types
testsuite: add list of llvm_ways
Add test case for #9013
Remove obsolete "-- #hide" Haddock pragmas

The modules already have the modern version {-# OPTIONS_HADDOCK hide #-}.
Add a test for plusWord2#, addIntC#, subIntC#
Clarify documentation of addIntC#, subIntC#
systools info: fix warning about C compiler (message said about linker)

Summary: Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Test Plan: build-tested

Reviewers: austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D132
Tweak linting rules.

Summary:
- Removed the default text rule that was applied to all files; it
  produced way too many spurious warnings.  For now, text lint is applied
  to C, Haskell and Shell.  Add more if you care.

- Makefiles and shell scripts had their max line length bumped a healthy
  amount.

A pile of files still fail to lint, so these might even still be too
aggressive.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: none

Reviewers: hvr, austin

Subscribers: simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D131
fix T4201 to avoid GNU grep specific -B option by usage of pure POSIX tools

Test Plan: validated on Linux and tested on Solaris

Reviewers: austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D135
fix T4981-V3 and T9208 tests for no newline at end of file warning

Test Plan: validated on Linux and tested on Solaris

Reviewers: ezyang, austin

Reviewed By: ezyang, austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D134
fix T4981-V3 to avoid DOS line endings
Don't build or test dph by default

Signed-off-by: Austin Seipp <austin@well-typed.com>