This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 01 Feb, 2006 1 commit
  2. 06 Feb, 2006 1 commit
  3. 01 Feb, 2006 1 commit
  4. 06 Feb, 2006 1 commit
  5. 30 Jan, 2006 2 commits
  6. 16 Jan, 2006 4 commits
    • ijones's avatar
      cleaned up suffix handler params to hooks · c4046dff
      ijones authored
      Summary if last few changes: I modified the hooks interface quite a
      bit, again.  There's good news and bad news about this.  The good news
      is that it's cleaned up and should be easier to maintain and to avoid
      future modifications.  The bad news is that this change itself will
      break stuff, of course.
      
      If you have any trouble building your Setup scripts, please let me
      know.  I really think that it was best to bite the bullet right now in
      one big go instead of down the road with lots of little changes.  I
      have a lot more confidence in the hooks interface, and I don't
      actually expect that it'll change as often.
      
      I made the types more consistent, and made sure there are accessor
      functions on each of the Flags types so that if the flags types change
      in the future, it shouldn't break lots of code.
      
      Another piece of good / bad news is that I decided not to get rid of
      the pre & post hooks.  They are nice for convenience and it wouldn't
      be nearly so easy to write hooks without them.
      
      That's bad because the interface to hooks is still pretty big, which
      means that there's more likelihood that it'll change in the future.
      
      Another weakness in the Hooks interface is that with command hooks
      (like sDistHook) it's tempting to add parameters to them; basically
      the stuff that we compute between the preSDist and sDist hook.  I
      removed such params and have their values computed elsewhere.
      
      Cabal hackers, please avoid adding parameters to these command hooks
      if at all possible in order to keep the interface steady.  If you need
      to compute a value to pass to these functions, compute it in the
      function and / or make it available as a function that someone
      crafting hooks can use as well, or consider whether it belongs in one
      of the parameters already being passed to the hooks,
      PackageDescription, LocalBuildInfo, UserHooks, Flags.
      c4046dff
    • ijones's avatar
      make the order of params to cmd hooks consistent · 628f09a7
      ijones authored
      628f09a7
    • ijones's avatar
      remove some flags from sdist, some cleanup · 760f2048
      ijones authored
      760f2048
    • ijones's avatar
      clarifying and making flags types consistent · 0e12894f
      ijones authored
      0e12894f
  7. 15 Jan, 2006 2 commits
  8. 01 Feb, 2006 1 commit
  9. 31 Jan, 2006 1 commit
  10. 23 Jan, 2006 2 commits
    • Simon Marlow's avatar
      re-add the GNUmakefiles · dc8f45dd
      Simon Marlow authored
      These are now safe after we added "-f Makefile" to the make args when invoked
      from the GHC build system.  This repo should now be useable as the main
      Cabal repo.
      dc8f45dd
    • Simon Marlow's avatar
      re-add the GNUmakefiles · 3522a903
      Simon Marlow authored
      These are now safe after we added "-f Makefile" to the make args when invoked
      from the GHC build system.  This repo should now be useable as the main
      Cabal repo.
      3522a903
  11. 13 Jan, 2006 1 commit
  12. 09 Jan, 2006 3 commits
  13. 24 Nov, 2005 1 commit
  14. 12 Dec, 2005 1 commit
  15. 10 Dec, 2005 3 commits
    • ijones's avatar
      moving code around. comments · 6823b2d5
      ijones authored
      6823b2d5
    • ijones's avatar
    • ijones's avatar
      mostly patches from Krasimir · 60bcb7aa
      ijones authored
       * Isaac added a warning to haddock for Hooks
       
      Krasimir:
      
        the "data-files" field may contain filenames with directories. We should create
        the missing directories at install place first
      
        Use removeDirectoryRecursive instead of system "rm ..." because the former is
        more platform idependent.
      
        The sdist command was broken because it is using smartCopySources. The later
        was using the hs-source-dirs for lookup but at the target place the files were
        created without the corresponding source sub directories. Now it have
        boolean parameter which specifies whether to preserve to directory structure.
      60bcb7aa
  16. 05 Dec, 2005 4 commits
  17. 04 Dec, 2005 1 commit
  18. 28 Nov, 2005 1 commit
  19. 27 Nov, 2005 3 commits
  20. 15 Nov, 2005 3 commits
    • ijones's avatar
      modified install --user behavior to include configure --user · b0718b3a
      ijones authored
      If the user configures with --user, that means that they are willing
      to satisfy dependencies from the user databaes.  If that's the case,
      then it really only makes sense to install the package as --user as
      well, since if user A installs configures / builds the package with
      --user, then installs it as root, user B may attempt to use the
      package and not be able to fulfill the dependencies.  Therefore, if
      the package is configured as --user, then we also will call ghc-pkg
      with --user.
      
      Of course, in this case:
      
      ./setup configure --user
      ./setup install --global
      
      Cabal will accept the user's instructions to install this globally,
      however ill conceived.  This changes the type of the install hook,
      btw, since we now need to be able to tell the difference between
      passing the --global flag and not passing any flag.
      
      Any objections to this change?
      b0718b3a
    • ijones's avatar
      rolled back patch for hide pragma · 1e2e95f0
      ijones authored
      1e2e95f0
    • ijones's avatar
      new comment in FilePath · bed3ed79
      ijones authored
      bed3ed79
  21. 14 Nov, 2005 1 commit
    • ijones's avatar
      Added hookedPrograms to user hooks. · d0903b3f
      ijones authored
      This allows users to add programs to the list of programs that
      configure looks for.  If a user adds a program with this hook,
      configure will try to find it, and arguments will be added to
      configure for this program.
      
      See test/withHooks for an example.
      d0903b3f
  22. 13 Nov, 2005 1 commit
  23. 14 Jul, 2005 1 commit