This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 31 Aug, 2008 1 commit
  2. 30 Aug, 2008 1 commit
    • Duncan Coutts's avatar
      Merge PackageSet and PackageIndex · eea57172
      Duncan Coutts authored
      Have just a single module that provides both the case sensitive and
      insensitive operations. Turns out we hardly use the case insensitive
      operations, and the places where we do are not performance sensitive
      at all. So we use the PackageSet implementation which stores the
      packages case sensitively and tack on the case insensitive operations
      but with linear time implementations rather than log time. For the
      merged module/type name use PackageIndex because that is what older
      released versions exported, so less needless client breakage.
      eea57172
  3. 28 Aug, 2008 1 commit
  4. 29 Jul, 2008 1 commit
  5. 20 Jul, 2008 1 commit
    • Duncan Coutts's avatar
      Convert from PackageIndex to PackageSet · c6f2d793
      Duncan Coutts authored
      Turns out the feature to do case-insensitive lookups was only
      needed in cabal-install (and only in one little part) and
      elsewhere it causes problems. So use PackageSet instead.
      c6f2d793
  6. 28 Jun, 2008 1 commit
    • Duncan Coutts's avatar
      Update module headers · 0c993c84
      Duncan Coutts authored
      Use cabal-devel@haskell.org as the maintainer in most cases except for
      a few which were pre-existing modules copied from elsewhere or modules
      like L.H.Extension which really belong to libraries@haskell.org
      Remove the useless stability module. We have more detailed information
      on stability elsewhere (in the version number and user guide).
      Add more top level module documentation, taken from the source guide.
      0c993c84
  7. 26 Jun, 2008 2 commits
  8. 13 Jun, 2008 1 commit
  9. 09 Jun, 2008 2 commits
  10. 11 May, 2008 1 commit
  11. 01 May, 2008 3 commits
  12. 12 Apr, 2008 1 commit
  13. 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.
      556b9877
  14. 25 Mar, 2008 3 commits
  15. 21 Mar, 2008 2 commits
  16. 11 Mar, 2008 1 commit
  17. 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.
      c99ac791
  18. 23 Feb, 2008 1 commit
  19. 22 Feb, 2008 2 commits
  20. 21 Feb, 2008 2 commits
  21. 20 Feb, 2008 1 commit
  22. 19 Feb, 2008 1 commit
    • 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.
      31204829
  23. 13 Feb, 2008 1 commit
  24. 06 Feb, 2008 1 commit
    • Duncan Coutts's avatar
      Replace moduleToFilePath with findFileWithExtension · e63f1087
      Duncan Coutts authored
      moduleToFilePath encouraged bad error handling and becuase it was specific
      to module names it made it hard to treat modules and main.hs files uniformly.
      This is one step towards using the same code paths for modules and main.hs
      files so that main.hs files always work properly with pre-processors etc.
      e63f1087
  25. 05 Feb, 2008 2 commits
  26. 04 Dec, 2007 1 commit
  27. 23 Jan, 2008 1 commit
  28. 22 Jan, 2008 1 commit
  29. 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.
      1352ee0b
  30. 08 Dec, 2007 1 commit