This project is mirrored from Pull mirroring updated .
  1. 05 Jul, 2009 1 commit
  2. 31 May, 2009 1 commit
  3. 30 May, 2009 2 commits
    • Duncan Coutts's avatar
      Improve an internal error message slightly · e0ee8942
      Duncan Coutts authored
    • Duncan Coutts's avatar
      Detect intra-package build-depends · 3600d6cb
      Duncan Coutts authored
      Based on an original patch by Stephen Blackheath
      With this change build-depends on a library within the same package
      are detected. Such deps are not full handled yet so for the moment
      they are explicitly banned, however this is another step towards
      actually supporting such dependencies. In particular deps on
      internal libs are resolved to the internal one in preference to any
      existing external version of the same lib.
  4. 28 May, 2009 1 commit
  5. 27 May, 2009 3 commits
  6. 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.
  7. 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.
  8. 03 Jul, 2008 1 commit
  9. 28 Jun, 2008 1 commit
    • Duncan Coutts's avatar
      Update module headers · 0c993c84
      Duncan Coutts authored
      Use 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
      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.
  10. 26 Jun, 2008 1 commit
  11. 19 Mar, 2008 1 commit
  12. 07 Mar, 2008 1 commit
  13. 27 Feb, 2008 1 commit
  14. 22 Feb, 2008 1 commit
  15. 20 Feb, 2008 1 commit
  16. 19 Feb, 2008 1 commit
  17. 12 Feb, 2008 1 commit
  18. 05 Feb, 2008 1 commit
  19. 23 Jan, 2008 1 commit
  20. 20 Jan, 2008 1 commit
  21. 23 Oct, 2007 1 commit
    • Simon Marlow's avatar
      Refuse to run any commands if the .cabal has been modified · 1f05d301
      Simon Marlow authored
      See GHC bug #1372
      This is a consistency check, intended to prevent this class of build
         * Package P is updated, its version number is bumped, the
           new version is compiled and installed.
         * Package Q depends on P.  Q is modified to use the new P, and Q's
           .cabal file is updated with changes to the build-depends field to
           depend on the new version of P.
         * The user has an old build of Q.  They pull the changes to Q and
           'setup build' without cleaning or re-configuring.  Build errors
           ensue, because the code of Q depends on changes to P's API, and
           we're still building against the old P.
      Note that you can't get segfaults this way, only build errors.
      This also relies on some new consistency checking in GHC 6.8 to work
      properly.  If the user re-configures their Q build and then issues
      'setup build' without cleaning, GHC must now realise that the package
      flags have changed, and re-compile all the affected Q modules.  GHC
      6.6 would not do this, but 6.8 does.
  22. 03 Sep, 2007 1 commit
  23. 31 Aug, 2007 1 commit
  24. 26 Aug, 2007 1 commit
  25. 24 Aug, 2007 1 commit
  26. 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.
  27. 07 Aug, 2007 1 commit
  28. 05 Aug, 2007 1 commit
  29. 02 Aug, 2007 1 commit
  30. 01 Aug, 2007 1 commit
  31. 16 Jul, 2007 1 commit
  32. 30 May, 2007 1 commit
  33. 21 May, 2007 1 commit
  34. 15 May, 2007 1 commit
    • Ross Paterson's avatar
      rejig location of package interfaces for haddock · 88190fe6
      Ross Paterson authored
      Formerly, setup haddock invoked haddock with a --use-package option
      for each prerequisite package, causing haddock to invoke ghc-pkg to
      get the haddock-interfaces and haddock-html fields for each package.
      The former is accurate, but the latter is not what you want if your
      documentation is to be placed on the web.
      Now setup haddock invokes ghc-pkg itself, but if the --html-location
      option is given, its argument is expanded for each package and used
      instead of the haddock-html field.  The results are then assembed as
      --read-interface options for haddock.  For example,
      	setup haddock '--html-location=$pkg/latest/doc/html'
      generates HTML documentation with hyperlinks pointing at the pages on
  35. 13 May, 2007 1 commit
    • Ross Paterson's avatar
      separate build and output directory for Hugs build · d0382615
      Ross Paterson authored
      Hugs requires a separate directory for the output files from the directory
      containing the preprocessed files.  The --scratchdir option now sets the
      former (and thus has an effect only for Hugs).
      This repairs the Hugs build.
  36. 08 Mar, 2007 1 commit
    • Ian Lynagh's avatar
      Tweaks to make Cabal play nicer with haddock · 5be6dffd
      Ian Lynagh authored
      The path for the html docs now includes the package name at the end,
      which works nicer for multiple packages sharing a contents/index.
      Use --ghc-pkg when available (in haddock darcs only currently) to tell
      haddock which ghc-pkg to use.
      Use --allow-missing-html when available (in haddock darcs only
      currently) to tell haddock not to worry if it can't find the HTML for
      packages we depend on. This is necessary when haddocking a group of
      packages before moving them all into place.
  37. 13 Feb, 2007 1 commit