This project is mirrored from Pull mirroring updated .
  1. 27 Mar, 2008 1 commit
    • Duncan Coutts's avatar
      Rename various *Verbose fields to *Verbosity instead · 556b9877
      Duncan Coutts authored
      Despite appearances this is actually not completely pointless.
      For the Cabal-1.4 branch we need the *Verbose fields to have the
      same types as they did in Cabal-1.2, becuase lots of Setup.hs
      scripts use them and our change to make them all have type Flag
      makes many Setup.hs scripts fail. A solution for the 1.4 branch
      is to rename the real field and to add the old field back in.
      To keep as much similarity as possible between the HEAD and 1.4
      branches I'm applying the name change in both.
      On the plus side it's a better name anyway.
  2. 21 Mar, 2008 1 commit
  3. 12 Mar, 2008 1 commit
  4. 07 Mar, 2008 1 commit
  5. 04 Mar, 2008 1 commit
  6. 27 Feb, 2008 2 commits
    • Duncan Coutts's avatar
      Don't yet treat package registration files as UTF8 · 1957c176
      Duncan Coutts authored
      Though we'll probably need to do so eventually because they contain many of
      the same fields as the .cabal files which are UTF8. This will need agreement
      with ghc-pkg.
    • 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.
  7. 24 Feb, 2008 2 commits
  8. 23 Feb, 2008 1 commit
  9. 22 Feb, 2008 2 commits
  10. 06 Feb, 2008 1 commit
  11. 05 Feb, 2008 2 commits
  12. 23 Jan, 2008 2 commits
  13. 22 Jan, 2008 2 commits
  14. 15 Dec, 2007 1 commit
    • Duncan Coutts's avatar
      Make all command line flags and flag collection types monoids · 1352ee0b
      Duncan Coutts authored
      And specify command flags in a way that allows converting from or two strings.
      So not only can we parse command lines into the various flag types, we can
      convert back. This is crucial in cabal-install so that we can call Setup.hs
      scripts with all the various args, and override certain flags in a typed way
      rather than just representing them all as strings.
  15. 08 Dec, 2007 1 commit
  16. 07 Dec, 2007 1 commit
  17. 10 Nov, 2007 1 commit
  18. 29 Oct, 2007 1 commit
  19. 12 Oct, 2007 1 commit
  20. 12 Sep, 2007 2 commits
  21. 31 Aug, 2007 1 commit
  22. 29 Aug, 2007 1 commit
  23. 28 Aug, 2007 1 commit
  24. 26 Aug, 2007 1 commit
  25. 24 Aug, 2007 2 commits
  26. 23 Aug, 2007 2 commits
  27. 17 Aug, 2007 1 commit
    • Duncan Coutts's avatar
      Rewrite the Program abstraction and the ProgramConfiguration database · 24fb1f9a
      Duncan Coutts authored
      Also make the follow on changes to everything that uses Program.
      The notion of a program is now split into the abstract notion of a program
      that we know about and might be able to configure, and a configured program
      that we can actually run. The ProgramConfiguration database is similarly
      split. We still keep user-supplied loation and arguments and use them when
      we configure programs. The abstract Program now has functions to search for
      the program on the system and for finding the version number. This allows
      for more generic configuration of programs.
  28. 16 Aug, 2007 1 commit
  29. 14 Aug, 2007 1 commit
    • Duncan Coutts's avatar
      Refactor the code for managing installation directories · 5b57a50a
      Duncan Coutts authored
      New types for the collection of installation directory templates and a
      separate type for the collection of actual real install FilePaths.
      The templates are represented with a PathTemplate adt.
      Dir templates can now be relative to each other, eg $htmldir to $docdir
      Default install dir templates are now specified compactly in one place.
      Adding new dirs should be considerably simpler than previously.
      This patch should not actualy change where anything is installed.
  30. 05 Aug, 2007 1 commit
  31. 04 Aug, 2007 1 commit