This project is mirrored from Pull mirroring updated .
  1. 27 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Revert some of the UTF8 changes, use UTF8 only for files we know are UTF8 · c99ac791
      Duncan Coutts authored
      So we use ordinary read/writeFile for ordinary text files. For console
      output we use ordinary putStr etc and we'll just hope that haskell
      implementations catch up and deal with that sensibly. Don't assume
      captured program output is UTF8, use the default encoding.
      So we use binary mode IO along with UTF8 encoding and decoding only for 
      file types that we specify to be UTF8, which are .cabal files and
      .hs/.lhs files only.
  2. 26 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Add liftOption for making derived command parsers · 8c5ca96a
      Duncan Coutts authored
      liftOption :: (b -> a) -> (a -> (b -> b)) -> Option a -> Option b
      For example:
      liftOption fst (\a (_,b) -> (a,b)) :: Option a -> Option (a,b)
      Needed to be able to make a CommandUI (a, b) using an existing CommandUI a.
      That's what we want to do in cabal-install where the 'install' command
      to support all the 'configure' flags and some extra of it's own, for example
      --dry-run and probably several more in future.
  3. 25 Feb, 2008 6 commits
  4. 24 Feb, 2008 2 commits
  5. 23 Feb, 2008 3 commits
  6. 22 Feb, 2008 7 commits
  7. 21 Feb, 2008 4 commits
  8. 20 Feb, 2008 3 commits
  9. 19 Feb, 2008 4 commits
    • Duncan Coutts's avatar
      Fix haddock markup · d8b2d8ae
      Duncan Coutts authored
    • Duncan Coutts's avatar
      Use the InstalledPackageIndex rather than calling ghc-pkg in Haddock module · 31204829
      Duncan Coutts authored
      Previously we made two calls to ghc-pkg per-dependent package which starts
      to get very slow once you have 100's of installed packages and the package
      you're building depends on several of them. Now we use the cached information
      about the installed packages. Also refactored the code to generate the haddock
      package flags so we can export it and use it elsewhere more easily.
    • Duncan Coutts's avatar
      Add the InstalledPackageIndex to the LocalBuildInfo · 1880702c
      Duncan Coutts authored
      So now all the info about installed packages is available to all the
      verious build phases.
    • Duncan Coutts's avatar
      Detect broken and inconsistent package deps · 5115bb2b
      Duncan Coutts authored
      We now check for packages that are broken due to their dependencies having
      been unregistered. We fail and print a fairly sensible message in this case.
      We also check for inconsistent dependencies and give a warning saying which
      packages are depending on inconsistent versions of a third. This is a warning
      not an error because it does not always lead to failure. Hopefully it'll help
      people who are otherwise just running into random compile errors.
      This fixes ticket #220.
  10. 18 Feb, 2008 3 commits
  11. 16 Feb, 2008 1 commit
  12. 18 Feb, 2008 1 commit
  13. 15 Feb, 2008 4 commits