Re: [Hackage] #206: cabal-install should be able to generate haddock docs

2008-08-06 Thread Hackage
#206: cabal-install should be able to generate haddock docs -+-- Reporter: guest |Owner: Type: enhancement | Status: new Priority: normal

patch applied (cabal-install): Add --enable/disable-documentation flag.

2008-08-06 Thread Duncan Coutts
Wed Aug 6 10:58:34 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add --enable/disable-documentation flag. This addresses most of ticket #206. M ./Distribution/Client/Install.hs -3 +7 M ./Distribution/Client/Setup.hs -3 +15 View patch online: http://darcs.haskell.org/cabal-install/_da

patch applied (cabal-install): Ignore local files when compiling Setup.hs

2008-08-06 Thread Duncan Coutts
Wed Aug 6 10:57:56 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Ignore local files when compiling Setup.hs M ./Distribution/Client/SetupWrapper.hs -1 +1 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080806175756-adfee-7003274d22511caf67c74e33bc33a92f9f10e007.g

patch applied (cabal-install): Rearrange the symlinking code slightly

2008-08-06 Thread Duncan Coutts
Wed Aug 6 07:26:56 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Rearrange the symlinking code slightly Will make it easier to create the bin dir, if that's what we want to do. M ./Distribution/Client/InstallSymlink.hs -16 +23 View patch online: http://darcs.haskell.org/cabal-install/_da

patch applied (cabal-install): Refactor BuildResult type and related types

2008-08-06 Thread Duncan Coutts
Tue Aug 5 10:36:32 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Refactor BuildResult type and related types Split BuildResult into Either BuildFailure BuildSuccess Make BuildSuccess contain info for docs and tests. Make PlanPackage use BuildSuccess and BuildFailure directly rather than

patch applied (cabal-install): Initial support for building haddock docs

2008-08-06 Thread Duncan Coutts
Tue Aug 5 11:05:06 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Initial support for building haddock docs No flag to turn it on/off yet. M ./Distribution/Client/Install.hs -10 +31 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080805180506-adfee-ca0c34dd906e8

patch applied (cabal-install): Don't require config file fields to have "" for empty values

2008-08-06 Thread Duncan Coutts
Wed Aug 6 06:30:41 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Don't require config file fields to have "" for empty values And make the parsing slightly nicer. M ./Distribution/Client/Config.hs -19 +19 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/2008080613

patch applied (cabal-install): Remove showFields

2008-08-06 Thread Duncan Coutts
Tue Aug 5 18:11:14 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Remove showFields use the pre-existing ppFields M ./Distribution/Client/Config.hs -5 +5 M ./Distribution/Client/Logging.hs -4 +4 M ./Distribution/Client/ParseUtils.hs -6 M ./Distribution/Client/Reporting.hs -4 +4

patch applied (cabal-install): Use a local copy of the new parseFields from Cabal lib

2008-08-06 Thread Duncan Coutts
Wed Aug 6 05:53:18 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use a local copy of the new parseFields from Cabal lib We can remove the local copy once we switch to the next Cabal version. In the mean time, the code is at least sane and consistent between libs. M ./Distribution/Clie

patch applied (cabal-install): Shrink the size of the ParseUtils module

2008-08-06 Thread Duncan Coutts
Tue Aug 5 17:44:49 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Shrink the size of the ParseUtils module Really it should be eleminated entirely. M ./Distribution/Client/Config.hs -21 +27 M ./Distribution/Client/ParseUtils.hs -56 +11 M ./Distribution/Client/Setup.hs -21 +28 View

patch applied (cabal): Simplify InstalledPackageInfo parser and pretty printer

2008-08-06 Thread Duncan Coutts
Wed Aug 6 05:28:07 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Simplify InstalledPackageInfo parser and pretty printer Using the new utils in ParseUtils. M ./Distribution/InstalledPackageInfo.hs -29 +7 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080806122807-adfe

patch applied (cabal): Add parsse utils for simple flat formats.

2008-08-06 Thread Duncan Coutts
Wed Aug 6 05:26:13 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add parsse utils for simple flat formats. Should help to simplify the InstalledPackageInfo parser and also for similar formats in cabal-install. M ./Distribution/PackageDescription/Parse.hs -1 +1 M ./Distribution/Parse

patch applied (cabal): Tidy up the ppFields function and uses

2008-08-06 Thread Duncan Coutts
Wed Aug 6 05:13:15 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Tidy up the ppFields function and uses Put the arguments in a more sensible order: ppFields :: [FieldDescr a] -> a -> Doc and make the implementation clearer. clean up the use of it in the PackageDescription.Parse module

patch applied (cabal): Windows fixes

2008-08-06 Thread Simon Marlow
Sun Aug 3 13:12:53 PDT 2008 Ian Lynagh <[EMAIL PROTECTED]> * Windows fixes M ./Distribution/Compat/Exception.hs -8 +17 M ./Distribution/Simple/Utils.hs -3 +6 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080803201253-3fd76-74cf4411dd1b7c4e2c270465664da76db1c2f4c2.

patch applied (cabal): setup makefile: put the source-dir suffix rules after the distdir suffix rules

2008-08-06 Thread Simon Marlow
Wed Aug 6 06:03:09 PDT 2008 Simon Marlow <[EMAIL PROTECTED]> * setup makefile: put the source-dir suffix rules after the distdir suffix rules This matches the behaviour of 'setup build' works, and is robust to people accidentally having old preprocessed sources lying around in the source

Re: Where should cabal install to by default?

2008-08-06 Thread Isaac Dupree
Jeffrey Yasskin wrote: FWIW, Python recently went through this exercise and produced http://python.org/dev/peps/pep-0370/, which does use the $HOME/.local directory. I don't know how much that should affect Cabal's choice, but it's a bit of prior art if you're interested. It seems $HOME/.local/

Re: [Hackage] #320: cooperation with Windows Vista's User Access Control

2008-08-06 Thread Hackage
#320: cooperation with Windows Vista's User Access Control +--- Reporter: Toxaris|Owner: Type: enhancement| Status: new Priority: normal |Milestone: Com

cabal-install calls setup with unrecognised distpref flag

2008-08-06 Thread José Pedro Magalhães
Hello all, Recently, while developing a package here in the group, we changed the build-type from "Simple" to "Custom" to allow for "cabal test". The Setup.hs simply calls defaultMainWithHooks with simpleUserHooks where runTests has been redefined. The problem is that this change gives me the fol