patch applied (cabal-branches/cabal-1.4): Bump version to 1.3.9

2008-03-26 Thread Duncan Coutts
Wed Mar 26 07:26:03 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Bump version to 1.3.9 M ./Cabal.cabal -2 +2 M ./Makefile -1 +1 M ./releaseNotes -1 +1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080326142603

patch applied (cabal-branches/cabal-1.4): TAG 1.3.9

2008-03-26 Thread Duncan Coutts
Wed Mar 26 07:26:29 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> tagged 1.3.9 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080326142629-adfee-ad954aefc6d20adaf430a0456983d7c7875b700e.gz ___ cabal

Re: What about showing chosen flags by default?

2008-03-26 Thread Duncan Coutts
could tone that down a bit so that it's more comfortable to use -v without feeling that you're being swamped with info :-) Duncan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Arch and OS names were previously allowed to contain "_-", restore that.

2008-03-26 Thread Duncan Coutts
Wed Mar 26 17:46:31 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Arch and OS names were previously allowed to contain "_-", restore that. That is the arch and os strings in conditionals in .cabal files, like: if arch(x86_64) Previously the parser used isAlphaN

patch applied (cabal): Separate the OS/Arch classifiation used for different purposes

2008-03-26 Thread Duncan Coutts
Wed Mar 26 17:53:21 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Separate the OS/Arch classifiation used for different purposes We have to classify System.Info.{os,arch} strings into the OS and Arch enums. For that purpose we have to be quite permissive since there are lots of a

patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-27 Thread Duncan Coutts
Wed Mar 26 20:17:40 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Make UTF-8 decoding errors in .cabal files non-fatal Previously we checked for invalid UTF-8 in the first phase of the parser, which splitting the file up into nested sections and fields. This meant the whole parser

patch applied (cabal): Rename various *Verbose fields to *Verbosity instead

2008-03-27 Thread Duncan Coutts
Wed Mar 26 20:48:15 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Rename various *Verbose fields to *Verbosity instead 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 Cab

patch applied (cabal-install): Update to recent Cabal lib changes

2008-03-27 Thread Duncan Coutts
Wed Mar 26 22:34:54 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Update to recent Cabal lib changes M ./Hackage/Config.hs -3 +4 M ./Hackage/Setup.hs -6 +7 M ./Hackage/SrcDist.hs -1 +1 M ./Main.hs -4 +4 View patch online: http://darcs.haskell.org/cabal-install/

patch applied (cabal-branches/cabal-1.4): allow underscores in arch names

2008-03-27 Thread Duncan Coutts
Wed Mar 26 09:59:12 PDT 2008 Ross Paterson <[EMAIL PROTECTED]> * allow underscores in arch names Stops it barfing on arch(x86_64). M ./Distribution/System.hs -1 +2 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080326165912-b47d3-08d7ea8f4e6c

patch applied (cabal-branches/cabal-1.4): Arch and OS names were previously allowed to contain "_-", restore that.

2008-03-27 Thread Duncan Coutts
Wed Mar 26 17:46:31 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Arch and OS names were previously allowed to contain "_-", restore that. That is the arch and os strings in conditionals in .cabal files, like: if arch(x86_64) Previously the parser used isAlphaN

patch applied (cabal-branches/cabal-1.4): Separate the OS/Arch classifiation used for different purposes

2008-03-27 Thread Duncan Coutts
Wed Mar 26 17:53:21 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Separate the OS/Arch classifiation used for different purposes We have to classify System.Info.{os,arch} strings into the OS and Arch enums. For that purpose we have to be quite permissive since there are lots of a

patch applied (cabal-branches/cabal-1.4): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-27 Thread Duncan Coutts
Wed Mar 26 20:17:40 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Make UTF-8 decoding errors in .cabal files non-fatal Previously we checked for invalid UTF-8 in the first phase of the parser, which splitting the file up into nested sections and fields. This meant the whole parser

patch applied (cabal-branches/cabal-1.4): Rename various *Verbose fields to *Verbosity instead

2008-03-27 Thread Duncan Coutts
Wed Mar 26 20:48:15 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Rename various *Verbose fields to *Verbosity instead 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 Cab

patch applied (cabal-branches/cabal-1.4): Add in a few small functions that some Setup.hs scripts use

2008-03-27 Thread Duncan Coutts
Wed Mar 26 21:10:49 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add in a few small functions that some Setup.hs scripts use All marked as deprecated so hopefully people will stop using them. M ./Distribution/Package.hs -1 +11 M ./Distribution/PackageDescription.hs -2 +14

patch applied (cabal-branches/cabal-1.4): Go back to conditionally using Text.ParserCombinators.ReadP

2008-03-27 Thread Duncan Coutts
Wed Mar 26 21:15:52 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Go back to conditionally using Text.ParserCombinators.ReadP Some Setup.hs scripts import Text.ParserCombinators.ReadP directly and try to use it with the parsers defined by Cabal. M ./Distribution/Compat/ReadP.

patch applied (cabal-branches/cabal-1.4): Add *Verbose flags back in with the old type

2008-03-27 Thread Duncan Coutts
Wed Mar 26 21:24:46 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add *Verbose flags back in with the old type Abuse the Monoid instances for the flags types to keep the extra non-Flag type field up-to-date wrt the real Flag Verbosity field. Here's the pattern:

patch applied (cabal-branches/cabal-1.4): Apply the same renaming trick to the copyDest flag

2008-03-27 Thread Duncan Coutts
Wed Mar 26 21:33:37 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Apply the same renaming trick to the copyDest flag Rename the real field to copyDest' and add copyDest with the same type as it had in Cabal-1.2. Use the Monoid's mappend again to keep the flag updated.

patch applied (cabal-branches/cabal-1.4): Fix merge mistake, remove duplicate record field definition

2008-03-27 Thread Duncan Coutts
Wed Mar 26 21:45:51 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix merge mistake, remove duplicate record field definition M ./Distribution/Simple/Setup.hs -1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080327044551

Re: patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-27 Thread Duncan Coutts
In message <[EMAIL PROTECTED]> cabal-devel@haskell.org writes: > On Thu, Mar 27, 2008 at 08:45:29AM -0700, Duncan Coutts wrote: > > Wed Mar 26 20:17:40 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> > > * Make UTF-8 decoding errors in .cabal files non-fatal > >

patch applied (cabal): Add scripts for testing compatability with hackage packages

2008-03-27 Thread Duncan Coutts
Thu Mar 27 09:15:40 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add scripts for testing compatability with hackage packages So far just a test that all the non-trivial Setup.(l)hs scripts compile. This only tests the latest versions, though if one were to download a complete archiv

Re: patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-27 Thread Duncan Coutts
In message <[EMAIL PROTECTED]> cabal-devel@haskell.org writes: > On Thu, Mar 27, 2008 at 04:39:17PM +0000, Duncan Coutts wrote: > > Can't we just reject them with the error message and ask people to fix the > > latin-1 sequences and re-upload using proper UTF-8? > &g

patch applied (cabal): Parse Bool fields using more cunning, allow new parses with a warning

2008-03-27 Thread Duncan Coutts
Thu Mar 27 14:34:11 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Parse Bool fields using more cunning, allow new parses with a warning We want to allow case-insensitive parsing however we don't want packages being uploaded to hackage that will break older versions of Cabal.

patch applied (cabal): Use the Text Bool instance for parsing literals in conditions

2008-03-27 Thread Duncan Coutts
Thu Mar 27 14:55:01 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use the Text Bool instance for parsing literals in conditions Since it exactly matches what the previous condition parser did. So we have two different ways of parsing Bool depending on context. Sigh. Both match exactl

patch applied (cabal): We do not show the field value on a parse error so don't pretend we do.

2008-03-27 Thread Duncan Coutts
Thu Mar 27 15:14:42 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * We do not show the field value on a parse error so don't pretend we do. Drop the trailing ": " on the error message. We could provide the field value but they're often multi-line and we cannot pin-

patch applied (cabal): Simplify the parser for flags in conditions

2008-03-27 Thread Duncan Coutts
Thu Mar 27 15:16:32 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Simplify the parser for flags in conditions It's a bit more consistent. M ./Distribution/PackageDescription/Configuration.hs -6 +5 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/200803272

patch applied (cabal): Tweak warning message about bool fields to include the field name

2008-03-27 Thread Duncan Coutts
Thu Mar 27 18:20:06 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Tweak warning message about bool fields to include the field name Warning: The 'buildable' field is case sensitive, use 'True' or 'False'. M ./Distribution/ParseUtils.h

Re: patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-28 Thread Duncan Coutts
In message <[EMAIL PROTECTED]> cabal-devel@haskell.org writes: > On Thu, Mar 27, 2008 at 04:39:17PM +0000, Duncan Coutts wrote: > > So I think hackage should reject them with a suitable error message. I > > can send a patch. On that topic in fact, I think all parser warning

Re: patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

2008-03-28 Thread Duncan Coutts
In message <[EMAIL PROTECTED]> cabal-devel@haskell.org writes: > On Fri, Mar 28, 2008 at 01:53:04PM +0000, Duncan Coutts wrote: > > Is that patch pushed to the repo? I don't see it yet. I've got a patch to > > update > > generally to the latest Cabal api,

patch applied (cabal): Bump version to 1.5.1 -- the next development series

2008-03-30 Thread Duncan Coutts
Sat Mar 29 11:11:46 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Bump version to 1.5.1 -- the next development series Though we should try and limit divergence until 1.4.0 is released. M ./Cabal.cabal -2 +2 M ./Makefile -1 +1 M ./releaseNotes -1 +1 View patch online:

patch applied (cabal): TAG 1.5.1

2008-03-30 Thread Duncan Coutts
Sat Mar 29 11:13:29 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> tagged 1.5.1 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080329181329-adfee-b72ba20e5cd92a2cf81375c506b2b4f482a6dc14.gz ___ cabal-devel mailing list

patch applied (cabal-branches/cabal-1.4): Parse Bool fields using more cunning, allow new parses with a warning

2008-03-30 Thread Duncan Coutts
Thu Mar 27 14:34:11 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Parse Bool fields using more cunning, allow new parses with a warning We want to allow case-insensitive parsing however we don't want packages being uploaded to hackage that will break older versions of Cabal.

patch applied (cabal-branches/cabal-1.4): Use the Text Bool instance for parsing literals in conditions

2008-03-30 Thread Duncan Coutts
Thu Mar 27 14:55:01 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use the Text Bool instance for parsing literals in conditions Since it exactly matches what the previous condition parser did. So we have two different ways of parsing Bool depending on context. Sigh. Both match exactl

patch applied (cabal-branches/cabal-1.4): We do not show the field value on a parse error so don't pretend we do.

2008-03-30 Thread Duncan Coutts
Thu Mar 27 15:14:42 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * We do not show the field value on a parse error so don't pretend we do. Drop the trailing ": " on the error message. We could provide the field value but they're often multi-line and we cannot pin-

patch applied (cabal-branches/cabal-1.4): Simplify the parser for flags in conditions

2008-03-30 Thread Duncan Coutts
Thu Mar 27 15:16:32 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Simplify the parser for flags in conditions It's a bit more consistent. M ./Distribution/PackageDescription/Configuration.hs -6 +5 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_da

patch applied (cabal-branches/cabal-1.4): Tweak warning message about bool fields to include the field name

2008-03-30 Thread Duncan Coutts
Thu Mar 27 18:20:06 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Tweak warning message about bool fields to include the field name Warning: The 'buildable' field is case sensitive, use 'True' or 'False'. M ./Distribution/ParseUtils.h

patch applied (cabal-branches/cabal-1.4): Adding the command parsing monoid hack broke another hack, fix it.

2008-03-30 Thread Duncan Coutts
Thu Mar 27 18:38:20 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Adding the command parsing monoid hack broke another hack, fix it. Just goes to show Monoid instances should follow the laws. As soon as we can break UserHooks compatabilty we'll be able to restore the monoid

patch applied (cabal-branches/cabal-1.4): factor out showPWarning function

2008-03-30 Thread Duncan Coutts
Fri Mar 28 04:56:12 PDT 2008 Ross Paterson <[EMAIL PROTECTED]> * factor out showPWarning function M ./Distribution/PackageDescription/Parse.hs -7 +1 M ./Distribution/ParseUtils.hs -1 +6 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/200803281156

patch applied (cabal-branches/cabal-1.4): Bump version to 1.3.10

2008-03-30 Thread Duncan Coutts
Sat Mar 29 11:11:08 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Bump version to 1.3.10 First release candidate for 1.4.0 M ./Cabal.cabal -2 +2 M ./Makefile -1 +1 M ./releaseNotes -1 +1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/p

patch applied (cabal-branches/cabal-1.4): TAG 1.3.10

2008-03-30 Thread Duncan Coutts
Sat Mar 29 11:13:21 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> tagged 1.3.10 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080329181321-adfee-2d69c095a6047530d4372b9d1864efa59da0af3b.gz ___ cabal

patch applied (cabal-install): Use new showPWarning for warnings in parsing the config file

2008-03-30 Thread Duncan Coutts
Sat Mar 29 12:44:26 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use new showPWarning for warnings in parsing the config file M ./Hackage/Config.hs -4 +3 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080329194426

patch applied (cabal-install): Bump version number and depend on the latest Cabal lib

2008-03-30 Thread Duncan Coutts
Sat Mar 29 12:45:49 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Bump version number and depend on the latest Cabal lib M ./cabal-install.cabal -2 +2 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080329194549

patch applied (cabal-install): TAG 0.4.6

2008-03-30 Thread Duncan Coutts
Sat Mar 29 12:56:01 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> tagged 0.4.6 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080329195601-adfee-fddc4b803206361eeeca355cfb4334286205e6b1.gz ___ cabal-devel mailin

ANNOUNCE: Cabal-1.4 release candidate

2008-03-30 Thread Duncan Coutts
s and feature requests: http://hackage.haskell.org/trac/hackage/report/12 especially the easy tickets: http://hackage.haskell.org/trac/hackage/report/13 Duncan (wearing his Cabal release manager hat) ___ cabal-devel mailing list cabal-devel@ha

patch applied (cabal-install): Add missing modules in other-modules, fixes sdist

2008-04-05 Thread Duncan Coutts
Sun Mar 30 12:37:10 PDT 2008 Spencer Janssen <[EMAIL PROTECTED]> * Add missing modules in other-modules, fixes sdist M ./cabal-install.cabal +3 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080330193710-a5988-80e80d161cb6c1d36068c2366844fff0b6ee8b61.gz ___

Re: ANNOUNCE: Cabal-1.4 release candidate

2008-04-06 Thread Duncan Coutts
On Sun, 2008-03-30 at 14:47 -0500, Spencer Janssen wrote: > On Sat, Mar 29, 2008 at 08:31:04PM +0000, Duncan Coutts wrote: > > == cabal-install == > > > > A snapshot of cabal-install is available: > > http://haskell.org/cabal/release/cabal-install-0.4.6.tar.gz &

patch applied (cabal): Fix names of profiling libs

2008-04-06 Thread Duncan Coutts
Sun Apr 6 18:34:49 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix names of profiling libs I broke this recently when refactoring. Restore the original behaviour. Was generating "libHSfoo_p-1.0.a" when it should be "libHSfoo-1.0_p.a". M ./Distribution/Simple

Re: Cabal, profiling, GHC 6.6.1

2008-04-06 Thread Duncan Coutts
I've pushed a patch to fix it. This reminds us that we need a decent set of automated regression tests. It's too easy to break the less commonly used features. Lennart has been looking at this a bit which is good. Duncan ___ cabal-

patch applied (cabal-branches/cabal-1.4): Fix names of profiling libs

2008-04-06 Thread Duncan Coutts
Sun Apr 6 18:34:49 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix names of profiling libs I broke this recently when refactoring. Restore the original behaviour. Was generating "libHSfoo_p-1.0.a" when it should be "libHSfoo-1.0_p.a". M ./Distribution/Simple

Re: nice little Cabal gotcha

2008-04-09 Thread Duncan Coutts
tures and remember what files belong to a package, so then we can uninstall packages and when we replace packages we can remove all files belonging to the existing instance of that package. Duncan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: nice little Cabal gotcha

2008-04-09 Thread Duncan Coutts
Peter, BTW, do file a bug report describing this issue so we do not forget. If you want to include my two suggestions then you could link it to the ticket aboug making cabal/cabal-install remember what files it installs. Duncan On Mon, 2008-04-07 at 18:37 +0700, Peter Gammie wrote: > Imag

Re: Cabal bugs/oddities

2008-04-09 Thread Duncan Coutts
ext. That one is > security related - you are asking for someones password, and giving > the appearance that you aren't overly fussed about keeping it secret. I'm happy to add that if anyone can figure out the code to do it. It's presumably different on ANSI terminal

patch applied (cabal): Fix spelling in error message

2008-04-11 Thread Duncan Coutts
Tue Apr 8 06:46:10 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix spelling in error message M ./Distribution/PackageDescription/Check.hs -2 +2 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080408134610-adfee-bd57c57cb8945b65edb0cd7a91feaf39d93a0

patch applied (cabal): Fix for detecting ~/.cabal/ dir as a .cabal file

2008-04-11 Thread Duncan Coutts
Wed Apr 9 00:32:36 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix for detecting ~/.cabal/ dir as a .cabal file Which happened if you use cabal configure in your home dir. Now produced the right error message, or if you actually put a cabal project in your home dir, it might ac

patch applied (cabal): Remove unused import

2008-04-11 Thread Duncan Coutts
Wed Apr 9 00:33:52 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Remove unused import M ./Distribution/Simple/BuildPaths.hs -1 +1 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080409073352-adfee-312cc1d29b9d790c81a977db0de40ec96555b

patch applied (cabal): Use relative file paths in .cabal parse error messages

2008-04-11 Thread Duncan Coutts
Wed Apr 9 08:40:30 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use relative file paths in .cabal parse error messages Do this by normalising the file path in the error message and when looking for .cabal files, by looking in '.' rather than the absolute path of the c

patch applied (cabal): Check for the required cabal version early in parsing

2008-04-11 Thread Duncan Coutts
Wed Apr 9 08:46:55 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Check for the required cabal version early in parsing Previously we only checked the "cabal-version" field after parsing and all other configure processing. If the package really needs a later Cabal version

patch applied (cabal-branches/cabal-1.4): Fix spelling in error message

2008-04-11 Thread Duncan Coutts
Tue Apr 8 06:46:10 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix spelling in error message M ./Distribution/PackageDescription/Check.hs -2 +2 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080408134610

patch applied (cabal-branches/cabal-1.4): Fix for detecting ~/.cabal/ dir as a .cabal file

2008-04-11 Thread Duncan Coutts
Wed Apr 9 00:32:36 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix for detecting ~/.cabal/ dir as a .cabal file Which happened if you use cabal configure in your home dir. Now produced the right error message, or if you actually put a cabal project in your home dir, it might ac

patch applied (cabal-branches/cabal-1.4): Remove unused import

2008-04-11 Thread Duncan Coutts
Wed Apr 9 00:33:52 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Remove unused import M ./Distribution/Simple/BuildPaths.hs -1 +1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080409073352-adfee-312cc1d29b9d790c81a977db0de40ec96555b

patch applied (cabal-branches/cabal-1.4): Use relative file paths in .cabal parse error messages

2008-04-11 Thread Duncan Coutts
Wed Apr 9 08:40:30 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Use relative file paths in .cabal parse error messages Do this by normalising the file path in the error message and when looking for .cabal files, by looking in '.' rather than the absolute path of the c

patch applied (cabal-branches/cabal-1.4): Check for the required cabal version early in parsing

2008-04-11 Thread Duncan Coutts
Wed Apr 9 08:46:55 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Check for the required cabal version early in parsing Previously we only checked the "cabal-version" field after parsing and all other configure processing. If the package really needs a later Cabal version

patch applied (cabal): fix for #187 -- directory of Paths_packagename is included when looking for source files

2008-04-12 Thread Duncan Coutts
Sat Apr 12 13:49:04 PDT 2008 Andres Loeh <[EMAIL PROTECTED]> * fix for #187 -- directory of Paths_packagename is included when looking for source files M ./Distribution/Simple/GHC.hs -1 +1 M ./Distribution/Simple/Haddock.hs -1 +1 M ./Distribution/Simple/JHC.hs -1 +1 M ./Distrib

patch applied (cabal-branches/cabal-1.4): fix for #187 -- directory of Paths_packagename is included when looking for source files

2008-04-12 Thread Duncan Coutts
Sat Apr 12 13:49:04 PDT 2008 Andres Loeh <[EMAIL PROTECTED]> * fix for #187 -- directory of Paths_packagename is included when looking for source files M ./Distribution/Simple/GHC.hs -1 +1 M ./Distribution/Simple/Haddock.hs -1 +1 M ./Distribution/Simple/JHC.hs -1 +1 M ./Distrib

Re: Cabal bugs/oddities

2008-04-14 Thread Duncan Coutts
pload asks for your password in plain text. That one is > > > security related - you are asking for someones password, and giving > > > the appearance that you aren't overly fussed about keeping it secret. > > > > I&#

Re: nice little Cabal gotcha

2008-04-14 Thread Duncan Coutts
On Thu, 2008-04-10 at 11:29 +0700, Peter Gammie wrote: > On 10/04/2008, at 3:57 AM, Duncan Coutts wrote: > > On Mon, 2008-04-07 at 18:37 +0700, Peter Gammie wrote: > >> Imagine this: you're hacking a library, and occasionally you put a "- > >> p" o

[Fwd: darcs patch: Made it possible to run executeables with data files i...]

2008-04-14 Thread Duncan Coutts
right approach. Duncan --- Begin Message --- Sun Apr 13 15:41:55 CEST 2008 Johan Tibell <[EMAIL PROTECTED]> * Made it possible to run executeables with data files in place. Added an environment variable, DATA_DIR, that is checked before the installation data directory is used. New p

Re: [Haskell-cafe] announcing franchise 0.0

2008-04-18 Thread Duncan Coutts
or hmake use cases (but with support for preprocessors and parallel build). It should be possible to just start hacking and derive a skeleton .cabal file afterwards if you decide you want to distribute a package. Duncan ___ cabal-devel mailing list cabal-devel@h

Re: nice little Cabal gotcha

2008-04-20 Thread Duncan Coutts
t of files that belong to each installed package. A related problem is that we need to solve this problem at least within the ./dist/ directory. One of your examples was changing a .cabal file to add/remove a module. Currently we would not delete any existing .hi or .o files within ./dist/. As it

patch applied (cabal): Change dependency resolution algorithm.

2008-04-20 Thread Duncan Coutts
Sun Apr 13 06:18:07 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Change dependency resolution algorithm. There were two reasons to do this. Firstly, this formulation makes it easier to add the --constraint command line flag that adds additional constraints on the packages that shoul

patch applied (cabal): Fix/Add documentation.

2008-04-20 Thread Duncan Coutts
Sun Apr 13 06:18:39 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Fix/Add documentation. M ./Distribution/PackageDescription/Configuration.hs -3 +24 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080413131839-75a80-943489c44e35e45125797c38f7f749f2980187ac.gz

patch applied (cabal): Add simple test case for the dependency resolution case. This should

2008-04-20 Thread Duncan Coutts
Sun Apr 13 06:20:02 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Add simple test case for the dependency resolution case. This should go into the test suite one day. M ./Distribution/PackageDescription/Configuration.hs +10 View patch online: http://darcs.haskell.org/cabal/_darcs/patc

patch applied (cabal): Add 'readP_to_E' function that takes the longest parse.

2008-04-20 Thread Duncan Coutts
Sun Apr 13 11:20:42 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Add 'readP_to_E' function that takes the longest parse. M ./Distribution/ReadE.hs -1 +9 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080413182042-75a80-104af7044cb9af3b19c91c15a49b86ca105a52b4.gz ___

patch applied (cabal): Fix #224. We do not yet warn if the user specified a dependency that

2008-04-20 Thread Duncan Coutts
Sun Apr 13 11:26:59 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Fix #224. We do not yet warn if the user specified a dependency that did not occur in the package (it is just silently ignored.) M ./Distribution/PackageDescription/Configuration.hs -4 +23 M ./Distribution/Simple/Con

patch applied (cabal): Make finalizePackageDescription use CompilerId type

2008-04-20 Thread Duncan Coutts
Sun Apr 13 15:41:11 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Make finalizePackageDescription use CompilerId type Use the proper data type rather than a tuple (CompilerFlavor, Version) M ./Distribution/PackageDescription/Configuration.hs -6 +7 M ./Distribution/ReadE.hs -1 +1

patch applied (cabal): Add PackageIndex.insert and reverse merge/mappend

2008-04-20 Thread Duncan Coutts
Tue Apr 15 13:36:37 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add PackageIndex.insert and reverse merge/mappend Packages in the second argument to merge now mask those in the first. M ./Distribution/Simple/PackageIndex.hs -9 +22 View patch online: http://darcs.haskell.org

patch applied (cabal): Add newtype FlagName and FlagAssignment type alias

2008-04-20 Thread Duncan Coutts
Tue Apr 15 13:48:54 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add newtype FlagName and FlagAssignment type alias and use them in the appropriate places. M ./Distribution/PackageDescription.hs -6 +14 M ./Distribution/PackageDescription/Configuration.hs -13 +13 M ./Distri

patch applied (cabal): Fix unionBuildInfo

2008-04-20 Thread Duncan Coutts
Sun Apr 20 11:05:20 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Fix unionBuildInfo Fix ticket #264 to use nub only on the fields which are treated as sets. Probably we should be using the right types and mappend for each field. Change to construct a new value from scratch rathe

patch applied (cabal): Don't nub extra-libs in unionBuildInfo

2008-04-20 Thread Duncan Coutts
Sun Apr 20 12:23:12 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Don't nub extra-libs in unionBuildInfo It's possible that we sometimes need to list the same library more than once if there are circular symbol references. M ./Distribution/PackageDescription.hs -1 +1 V

patch applied (cabal-install): Half-done build reporting stuff

2008-04-20 Thread Duncan Coutts
Sat Apr 12 16:40:57 PDT 2008 * Half-done build reporting stuff A ./Hackage/Reporting.hs View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080412234057-da39a-5eb4cbdfcf728831fa0cf7c8f04236ef9e33a484.gz ___ cabal-devel ma

patch applied (cabal-install): Update for change to finalizePackageDescription

2008-04-20 Thread Duncan Coutts
Sun Apr 13 15:39:10 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Update for change to finalizePackageDescription M ./Hackage/Dependency.hs -3 +2 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080413223910-adfee-81a993836acf1e9dd81eb34ab2ebb5c7332df

patch applied (cabal-install): Relax version constraint on HTTP, seems to work with 3001.1

2008-04-20 Thread Duncan Coutts
Sun Apr 13 15:39:40 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Relax version constraint on HTTP, seems to work with 3001.1 M ./cabal-install.cabal -1 +1 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080413223940

patch applied (cabal-install): Make ResolvedDependency an internal detail of dependency calculation

2008-04-20 Thread Duncan Coutts
Sun Apr 13 16:41:19 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Make ResolvedDependency an internal detail of dependency calculation Externally we currently use a DepGraph, though we'll move to a InstallPlan. This is a step towards making it easier to swap in different package

patch applied (cabal-install): Change resolveDependencies to take OS and Arch as parameters

2008-04-20 Thread Duncan Coutts
Sun Apr 13 17:04:19 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Change resolveDependencies to take OS and Arch as parameters Rather than using global 'constants' for the current os and arch. M ./Hackage/Dependency.hs -21 +28 M ./Hackage/Fetch.hs -2 +6 M ./Hacka

patch applied (cabal-install): Simplify install --only implementation

2008-04-20 Thread Duncan Coutts
Mon Apr 14 07:34:57 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Simplify install --only implementation The install --only doesn't do any planning or build reporting so make it completely separate so we do not have to make up fake build plans or results. M ./Hackage/Instal

patch applied (cabal-install): Add new InstallPlan type

2008-04-20 Thread Duncan Coutts
Mon Apr 14 10:19:14 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add new InstallPlan type This is joint work with Kolmodin. An InstallPlan records what we want to install and records the outcome of installing packages. It has a fairly strict internal invariant which should gua

patch applied (cabal-install): Update for FlagAssignment changes

2008-04-20 Thread Duncan Coutts
Sun Apr 20 12:15:43 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Update for FlagAssignment changes M ./Hackage/DepGraph.hs +2 M ./Hackage/Dependency.hs -4 +4 M ./Hackage/Install.hs -3 +4 M ./Hackage/InstallPlan.hs -3 +3 M ./Hackage/Types.hs -6 +2 View patch online

Specifying dependencies on Haskell code

2008-04-20 Thread Duncan Coutts
y attempts to tighten the relationship between a package version and changes in its interface and semantics. It still does not help at all with modules moving between packages. Duncan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.o

Re: Cabal spelunking considered tricky

2008-04-20 Thread Duncan Coutts
Hooks this dev series. It'll break all custom Setup.hs scripts again though. Duncan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: Cabal spelunking considered tricky

2008-04-20 Thread Duncan Coutts
dify is logging. At the moment we have to remember to do logging consistently and we do it immediately to stderr. Callers like IDEs would like to get logging output in a more convenient format. Duncan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Update UTF8 code

2008-04-22 Thread Duncan Coutts
Tue Apr 22 07:15:39 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Update UTF8 code Some code and test cases taken from the utf8-string package. Updated copyright notice appropriately (I think). M ./Distribution/Simple/Utils.hs -11 +39 A ./tests/UnitTest/UTF8 View patch online

patch applied (cabal): Make warning messages show the file name

2008-04-22 Thread Duncan Coutts
Tue Apr 22 07:19:09 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Make warning messages show the file name M ./Distribution/ParseUtils.hs -2 +4 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080422141909-adfee-c4332c37ff0b9a27814fd2073d50dec04f771

Re: patch applied (cabal): Update UTF8 code

2008-04-22 Thread Duncan Coutts
On Tue, 2008-04-22 at 16:46 +0100, Ross Paterson wrote: > On Tue, Apr 22, 2008 at 08:07:31AM -0700, Duncan Coutts wrote: > > Tue Apr 22 07:15:39 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> > > * Update UTF8 code > > Some code and test cases taken from the utf8-s

patch applied (cabal): Package check now take a GenericPackageDescription

2008-04-23 Thread Duncan Coutts
Wed Apr 23 08:03:54 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Package check now take a GenericPackageDescription Unfortunately in some cases we only have a already-configured PackageDescription to we have to expose a checkConfiguredPackage. We should refactor things so that we ke

patch applied (cabal): Add checks for unknown OS Arch and Compiler names

2008-04-23 Thread Duncan Coutts
Wed Apr 23 08:14:10 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Add checks for unknown OS Arch and Compiler names They're ok locally but for distribution they need to be known. M ./Distribution/PackageDescription/Check.hs -4 +47 View patch online: http://darcs.haskell.org/c

patch applied (cabal-install): Update for checkPackage change

2008-04-23 Thread Duncan Coutts
Wed Apr 23 08:38:17 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]> * Update for checkPackage change M ./Hackage/Check.hs -1 +1 View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080423153817-adfee-428b6637ced2031d95f43b1ac20766e88c0a7

patch applied (cabal-branches/cabal-1.4): expose tryGetConfigStateFile

2008-04-23 Thread Duncan Coutts
Thu Apr 17 11:02:48 PDT 2008 [EMAIL PROTECTED] * expose tryGetConfigStateFile This is needed by Yi to (try to) load an arbitrary project. M ./Distribution/Simple/Configure.hs +1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080417180248-9c550-28d

patch applied (cabal-branches/cabal-1.4): expose ghcOptions

2008-04-23 Thread Duncan Coutts
Thu Apr 17 14:12:21 PDT 2008 [EMAIL PROTECTED] * expose ghcOptions This helps finding the options to pass to GHC API in various tools M ./Distribution/Simple/GHC.hs +1 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080417211221-9c550-acc474f8c653056

patch applied (cabal-branches/cabal-1.4): Change dependency resolution algorithm.

2008-04-23 Thread Duncan Coutts
Sun Apr 13 06:18:07 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Change dependency resolution algorithm. There were two reasons to do this. Firstly, this formulation makes it easier to add the --constraint command line flag that adds additional constraints on the packages that shoul

patch applied (cabal-branches/cabal-1.4): Fix/Add documentation.

2008-04-23 Thread Duncan Coutts
Sun Apr 13 06:18:39 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Fix/Add documentation. M ./Distribution/PackageDescription/Configuration.hs -3 +24 View patch online: http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080413131839-75a80-943489c44e35e45125797c38f7f749f298

patch applied (cabal-branches/cabal-1.4): Add simple test case for the dependency resolution case. This should

2008-04-23 Thread Duncan Coutts
Sun Apr 13 06:20:02 PDT 2008 Thomas Schilling <[EMAIL PROTECTED]> * Add simple test case for the dependency resolution case. This should go into the test suite one day. M ./Distribution/PackageDescription/Configuration.hs +10 View patch online: http://darcs.haskell.org/cabal-branches/ca

<    5   6   7   8   9   10   11   12   13   14   >