This project is mirrored from Pull mirroring updated .
  1. 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.
  2. 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.
  3. 03 Jul, 2008 1 commit
  4. 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.
  5. 26 Jun, 2008 1 commit
  6. 19 Mar, 2008 1 commit
  7. 07 Mar, 2008 1 commit
  8. 27 Feb, 2008 1 commit
  9. 22 Feb, 2008 1 commit
  10. 20 Feb, 2008 1 commit
  11. 19 Feb, 2008 1 commit
  12. 12 Feb, 2008 1 commit
  13. 05 Feb, 2008 1 commit
  14. 23 Jan, 2008 1 commit
  15. 20 Jan, 2008 1 commit
  16. 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.
  17. 03 Sep, 2007 1 commit
  18. 31 Aug, 2007 1 commit
  19. 26 Aug, 2007 1 commit
  20. 24 Aug, 2007 1 commit
  21. 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.
  22. 07 Aug, 2007 1 commit
  23. 05 Aug, 2007 1 commit
  24. 02 Aug, 2007 1 commit
  25. 01 Aug, 2007 1 commit
  26. 16 Jul, 2007 1 commit
  27. 30 May, 2007 1 commit
  28. 21 May, 2007 1 commit
  29. 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
  30. 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.
  31. 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.
  32. 13 Feb, 2007 1 commit
  33. 04 Feb, 2007 1 commit
  34. 12 Feb, 2007 1 commit
  35. 14 Jan, 2007 1 commit
    • Simon Marlow's avatar
      Refactorings only · 49e3cdae
      Simon Marlow authored
      Here are a batch of refactorings to clean up parsing and parts of the
      simple build system.  This patch originated in a patch sent to with an intial implementation of
      configurations.  Since then we decided to go a different route with
      configurations, so I have separated the refactoring from the
      configurations patch.
      At this point, 2 tests fail for me, but I get the same 2 failures
      without this patch.
  36. 10 Jan, 2007 1 commit
    • Ian Lynagh's avatar
      -Wall clean fixes · e2864182
      Ian Lynagh authored
      This patch is sponsored by Hac 07.
      Have you hacked a lambda today?
  37. 27 Nov, 2006 1 commit
  38. 08 Nov, 2006 1 commit
    • Ross Paterson's avatar
      revise Paths module for the Hugs target · a61df53f
      Ross Paterson authored
      When targetting Hugs, the Paths module now uses prefix-independent
      paths relative to the location of the Main module of the program,
      on all platforms.
      For the Hugs target, this replaces the code using GetModuleFileNameA(),
      which never worked.  Behaviour under GHC should be unchanged.
  39. 05 Oct, 2006 1 commit
  40. 08 Sep, 2006 1 commit