[commit: haddock] master: Per-module extension flags and language listing. (f1f94f2)

git at git.haskell.org git at git.haskell.org
Sun Jan 12 20:51:26 UTC 2014


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/f1f94f2f634fb065f69ca2cc87a4a54f4e3a39ed

>---------------------------------------------------------------

commit f1f94f2f634fb065f69ca2cc87a4a54f4e3a39ed
Author: Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
Date:   Fri Aug 30 06:05:51 2013 +0100

    Per-module extension flags and language listing.
    
    Any extensions that are not enabled by a used language (Haskell2010
    &c) will be shown. Furthermore, any implicitly enabled are also going
    to be shown. While we could eliminate this either by using the GHC API
    or a dirty hack, I opted not to: if a user doesn't want the implied
    flags to show, they are recommended to use enable extensions more
    carefully or individually. Perhaps this will encourage users to not
    enable the most powerful flags needlessly. Enabled with show-extensions.
    
    Conflicts:
    	src/Haddock/InterfaceFile.hs


>---------------------------------------------------------------

f1f94f2f634fb065f69ca2cc87a4a54f4e3a39ed
 html-test/ref/{NoLayout.html => Extensions.html} |   38 +++++++++++---------
 html-test/src/Extensions.hs                      |    7 ++++
 resources/html/Classic.theme/xhaddock.css        |    6 ++++
 resources/html/Ocean.std-theme/ocean.css         |    6 ++++
 src/Haddock/Backends/LaTeX.hs                    |    3 +-
 src/Haddock/Backends/Xhtml.hs                    |   40 ++++++++++++++++------
 src/Haddock/Interface/Create.hs                  |   23 ++++++++-----
 src/Haddock/Interface/LexParseRn.hs              |   14 ++++++--
 src/Haddock/Interface/ParseModuleHeader.hs       |    5 +--
 src/Haddock/InterfaceFile.hs                     |   15 ++++++--
 src/Haddock/Options.hs                           |    8 +++--
 src/Haddock/Types.hs                             |   11 ++++--
 12 files changed, 126 insertions(+), 50 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc f1f94f2f634fb065f69ca2cc87a4a54f4e3a39ed


More information about the ghc-commits mailing list