Add module header with some external links
typo
Update haddock now that we can derive Generic1 (FIX #7444)
Add dataCast* definitions to Ptr/Array Data instances; fixes #7256

Patch from dreixel.
typo
Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
Add comment to .cabal file saying what GHC 7.6.1 shipped with
Bump version number following new policy

We now keep the HEAD version numbers as values which would be suitable
for immediate release.
Add newFilePath to System.Posix.Internals

Needed for #7342
Added threadWait functions to wait on FD readiness with STM actions.
Added the unregistration command to the return value of threadWait*STM functions.

This allows the calling thread to unregister interest in the file, e.g. in the case
of an exception in the thread.
Fix warnings
fix #7479: ArrowChoice unit law in doc comment
Remove trailing whitespace in GHC.Base
Worker/Wrapper and static argument transform for `until` so it can be inlined

With the direct top level recursion, `until` cannot be inlined by GHC, so no strictness
analysis and consequently no unboxing occurs at the call site.
With the recursion delegated to the worker with the condition and update function
static arguments, it can be inlined, and strictness analysis can happen.
Make a class for asynchronous exceptions in the exception hierarchy

Right now, we only have

data AsyncException
  = StackOverflow
  | HeapOverflow
  | ThreadKilled
  | ...

so it is not possible to add another async exception.  For instance,
the Timeout exception in System.Timeout should really be an async
exception.

This patch adds a superclass for all async exceptions:

data SomeAsyncException = forall e . Exception e => SomeAsyncException e
  deriving Typeable

and makes the existing AsyncException and Timeout children of
SomeAsyncException in the hierarchy.
Add back new working QSem and QSemN implementations (#7417)

We decided not to break existing users without providing an easy
migration path.  For the time being I've made these implementations,
which fix the bugs in the old versions and perform reasonably well.

In due course we should move the concurrency functionality, including
these modules, out of base and into a separate package.
getNumCapabilities should read enabled_capabilities (#7491)
qsem001 and qsemn001 fail in HEAD: #7497
GHC.Event.IntMap.highestBitMap reimplementation

Replaced the previous implementation due to licensing concerns. The new
implementation is a reimplementation by Clark Gaebel, based on the
public domain implementation at
http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2