Helped extra-ghci-libraries find its way to .cabal files.
Included targets in cabal's bash-completion.

When commpleting for cabal build/repl/test/bench, this completes the possible
targets depending on their types.  This is a temporary workaround, the
definitive solution would be to include those targets in cabal itself, via
``--list-options''.
Merge branch 'master' of github.com:haskell/cabal
cabal's bash-cmpl: handling execs and improvements

Now handling executables:
	- completing run target
	- completing executables on build target

Improvements:
	- removed false positives on completion
Eliminate testList and pass args directly to the testHook
Use SVG for the Travis badge in the README
Merge pull request #1985 from MaxGabriel/patch-1

Use SVG for the Travis badge in the README
Prompt source directory in cabal init
Create source directroies with cabal init
Redundant imports.
Self-constraint not included in frozen constraints
Merge pull request #1990 from benarmston/freeze-doesnt-include-self

Self-constraint not included in frozen constraints
Merge pull request #1932 from rudymatela/master

Included targets in cabal's bash-completion.
Merge pull request #1982 from thomie/cleanup

Small cleanup
bootstrap.sh: make the 'tar' invocation more portable.

Fixes #1994 (hopefully).
Implement "reexported-modules" field, towards fixing GHC bug #8407.

Re-exported modules allow packages to reexport modules from their
dependencies without having to create stub files.  Reexports of the same
original module don't count as ambiguous imports when module finding
occurs.  The syntax is:

    "orig-pkg" OrigName as NewName

You can omit 'as NewName', in which case it is reexported as the same
name.  Self referential aliases work too; however, they're only visible
to packages which depend on this package.

Left to future work: just provide a module name 'OrigName', where ghc-pkg
figures out what the source package is.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Fix pretty printing with showFreeText

Remove the special casing for strings starting with a newline.
Handle all newlines in strings the same way, by replacing them
with a '.'.
Pretty print the field 'depends' nested
Fix pretty printing of flags

Pretty print the fields of flags nested.
Merge pull request #1998 from dan-t/master

Pretty print fixes