GitHub PushEvent at 2014-07-27 10:58:08
Repository: packages-Cabal
Actor: ghc-mirror
Payload: {"shas":[["6e5ba346da6045bbef14283a232f7cb180189e0d","1b8e6b1ba75465f62e9cdfa8d566721103c12053@iainnicol.com","Add some tests of our Haddock support\n\n(cherry picked from commit 5bcb6f7601a97b274cff868d8090437a717301cc)","Iain Nicol",true],["dc9a8cea42b5db3205b0e06274c216d2a5f20af3","1b8e6b1ba75465f62e9cdfa8d566721103c12053@iainnicol.com","Bring a Haddock version check in line with message\n\n(cherry picked from commit a718eb073eb871a1f573561ce3bbb04ada885043)","Iain Nicol",true],["e945945042a584bf0ba4a35e7236ae56246d6f09","1b8e6b1ba75465f62e9cdfa8d566721103c12053@iainnicol.com","Remove support for Haddock versions < 2.0\n\nDropping this support is unlikely to be a problem in practice.  Debian\noldstable is currently on version 2.6.0 of Haddock, for example.\n\nThis change enables future code simplification.  Currently we\npreprocess both Haskell files requiring the CPP and Literate Haskell\nfiles; newer versions of Haddock can handle these natively.\n\nFixes issue #1718.\n\n(cherry picked from commit 98c537f1263a1e46786d9abba55301768ca12fe5)","Iain Nicol",true],["2d4ea06f44657b88c1b5100c03ebe3f040ddcb70","1b8e6b1ba75465f62e9cdfa8d566721103c12053@iainnicol.com","Use Haddock's builtin support for .lhs and CPP\n\nThis is a code simplification on our end.\n\nThanks to Mikhail Glushenkov for the suggestion.\n\n(cherry picked from commit 5729bc5c175a3b6863e5533915d9e9ff8e45a600)","Iain Nicol",true],["b0fdabd377346ccbeb68967536bb30b4e8a86c58","1b8e6b1ba75465f62e9cdfa8d566721103c12053@iainnicol.com","Fix: \"cabal haddock\" uses CPP overzealously\n\nUntil recently we supported ancient versions of Haddock, pre v2.0.  To\nsupport the CPP extension with such versions, cabal had to invoke the\nCPP before invoking Haddock on the output.  For simplicity cabal would\ninvoke the CPP on all Haskell files, if any Haskell file required CPP.\nHowever, invoking CPP on a file which does not require it can cause\nbuild failures.\n\nHaddock v2.0+ supports the CPP via GHC, and even automatically\npreprocesses any file with the {-# LANGUAGE CPP #-} pragma. Hence we\nsimply need only tell Haddock to enable the CPP when the CPP is a\npackage level default extension.\n\nFixes issue #1808.\n\n(cherry picked from commit ba4ae3d08bd9a9c3cd0453526b7763cad5524ee6)","Iain Nicol",true],["50fe20fecd8bc0d52fa6a2a2cf79b4640498ebc0","1e196841312c2e2e55213329afb228e6cab8c93c@gmail.com","Bump Cabal version number to 1.20.0.2","Johan Tibell",true]],"size":6,"ref":"refs/heads/1.20","head":"50fe20fecd8bc0d52fa6a2a2cf79b4640498ebc0"}