This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 12 May, 2014 4 commits
  2. 11 May, 2014 1 commit
  3. 10 May, 2014 5 commits
    • Iain Nicol's avatar
      Fix: "cabal haddock" uses CPP overzealously · ba4ae3d0
      Iain Nicol authored
      Until recently we supported ancient versions of Haddock, pre v2.0.  To
      support the CPP extension with such versions, cabal had to invoke the
      CPP before invoking Haddock on the output.  For simplicity cabal would
      invoke the CPP on all Haskell files, if any Haskell file required CPP.
      However, invoking CPP on a file which does not require it can cause
      build failures.
      
      Haddock v2.0+ supports the CPP via GHC, and even automatically
      preprocesses any file with the {-# LANGUAGE CPP #-} pragma. Hence we
      simply need only tell Haddock to enable the CPP when the CPP is a
      package level default extension.
      
      Fixes issue #1808.
      ba4ae3d0
    • Iain Nicol's avatar
      Use Haddock's builtin support for .lhs and CPP · 5729bc5c
      Iain Nicol authored
      This is a code simplification on our end.
      
      Thanks to Mikhail Glushenkov for the suggestion.
      5729bc5c
    • Iain Nicol's avatar
      Remove support for Haddock versions < 2.0 · 98c537f1
      Iain Nicol authored
      Dropping this support is unlikely to be a problem in practice.  Debian
      oldstable is currently on version 2.6.0 of Haddock, for example.
      
      This change enables future code simplification.  Currently we
      preprocess both Haskell files requiring the CPP and Literate Haskell
      files; newer versions of Haddock can handle these natively.
      
      Fixes issue #1718.
      98c537f1
    • Iain Nicol's avatar
      a718eb07
    • Iain Nicol's avatar
      Add some tests of our Haddock support · 5bcb6f76
      Iain Nicol authored
      5bcb6f76
  4. 09 May, 2014 1 commit
  5. 08 May, 2014 1 commit
  6. 03 May, 2014 2 commits
  7. 01 May, 2014 2 commits
  8. 27 Apr, 2014 3 commits
  9. 26 Apr, 2014 2 commits
  10. 24 Apr, 2014 6 commits
  11. 23 Apr, 2014 6 commits
  12. 22 Apr, 2014 3 commits
  13. 21 Apr, 2014 4 commits