[commit: haddock] 2.17.3.1-spanfix, alexbiehl-patch-1, ghc-8.0, ghc-8.0-facebook, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, issue-303, issue-475, master, pr-filter-maps, pr/cabal-desc, travis, v2.16, v2.17, v2.17.3, v2.18, wip-located-module-as, wip/D2418, wip/T11080-open-data-kinds, wip/T11430, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T14529, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: The Haddock part for fully gcc-like response files (d510c45)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:43:09 UTC 2017


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

On branches: 2.17.3.1-spanfix,alexbiehl-patch-1,ghc-8.0,ghc-8.0-facebook,ghc-head,ghc-head1,haddock-quick,headdock-library-1.4.5,ie_avails,issue-303,issue-475,master,pr-filter-maps,pr/cabal-desc,travis,v2.16,v2.17,v2.17.3,v2.18,wip-located-module-as,wip/D2418,wip/T11080-open-data-kinds,wip/T11430,wip/T12105,wip/T12105-2,wip/T12942,wip/T13163,wip/T14529,wip/T3384,wip/embelleshed-rdr,wip/new-tree-one-param,wip/rae,wip/remove-frames,wip/remove-frames1,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link       : http://git.haskell.org/haddock.git/commitdiff/d510c45790432249fe7027b1ed70ce1c06fdd824

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

commit d510c45790432249fe7027b1ed70ce1c06fdd824
Author: randen <randen at users.noreply.github.com>
Date:   Fri Jan 1 18:02:11 2016 -0800

    The Haddock part for fully gcc-like response files
    
    " driver/Main.hs
      * Moved the response file handling into ResponseFile.hs,
        updating import section as appropriate.
    * driver/ResponseFile.hs
      * New file. In anticipation that maybe some day this could
        be provided by another library, and to make it possible
        to unit test, this functionality is pulled out of the
        Main.hs module, and expanded to support the style/format
        of response files which gcc uses.
      * The specification for the format of response files which
        gcc generates and consumes, seems to be best derived from
        the gcc code itself (libiberty/argv.c), so that is what
        has been done here.
      * This is intended to fix haskell/haddock#379
    * driver-test/Main.hs
      * New file for testing code in the driver source tree
    * driver-test/ResponseFileSpec.hs
      * Tests, adapted/adopted from the same gcc code where the
        escaping/unescaping is from, in the hspec style of unit
        tests
    * haddock.cabal
      * Add the driver-test test-suite.  Introduces a new library
        dependency (upon hspec) for the haddock driver target in
        the haddock.cabal file, but practically, this should not
        be a problem as the haddock-api tests already depend on
        hspec.


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

d510c45790432249fe7027b1ed70ce1c06fdd824
 driver-test/Main.hs             |  12 +++++
 driver-test/ResponseFileSpec.hs |  80 +++++++++++++++++++++++++++++
 driver/Main.hs                  |  23 +--------
 driver/ResponseFile.hs          | 110 ++++++++++++++++++++++++++++++++++++++++
 haddock.cabal                   |   7 +++
 5 files changed, 210 insertions(+), 22 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 d510c45790432249fe7027b1ed70ce1c06fdd824


More information about the ghc-commits mailing list