Re: [Hackage] #221: need a way to specify site-specific include and library search paths

2008-01-31 Thread Hackage
#221: need a way to specify site-specific include and library search paths +--- Reporter: guest |Owner: Type: enhancement| Status: new Priority: normal

Re: [Hackage] #224: allow specifying package version constraints to configure

2008-01-31 Thread Hackage
#224: allow specifying package version constraints to configure +--- Reporter: duncan |Owner: Type: enhancement| Status: new Priority: normal |Milestone:

Re: building only the docs

2008-01-31 Thread Duncan Coutts
Could someone file a feature request please with a sketch of a proposed user interface. Duncan On Fri, 2008-01-04 at 16:49 +, Ian Lynagh wrote: On Sat, Dec 29, 2007 at 07:00:49PM +, Duncan Coutts wrote: On Mon, 2007-12-24 at 12:10 +, Ian Lynagh wrote: Related to this,

patch applied (cabal): Improve the QA messages a bit, use the same style as the sanity check messages

2008-01-31 Thread Duncan Coutts
Thu Jan 31 03:57:39 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Improve the QA messages a bit, use the same style as the sanity check messages Slightly more like full sentances and using '' quotes for field names etc. M ./Distribution/PackageDescription.hs -1 +1 M

patch applied (cabal): Eliminate now-redundant Bool flag on smartCopySources

2008-01-31 Thread Duncan Coutts
Thu Jan 31 03:45:11 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Eliminate now-redundant Bool flag on smartCopySources and simplfy the implementation to be a simple composition of findFileWithExtension' and copyFiles with some additonal error checking. M ./Distribution/Simple/GHC.hs -2

patch applied (cabal): findPackageDesc has to return a relative path for SrcDist

2008-01-31 Thread Duncan Coutts
Thu Jan 31 03:37:26 PST 2008 Duncan Coutts [EMAIL PROTECTED] * findPackageDesc has to return a relative path for SrcDist otherwise we fail to copy the .cabal file when into the src tree M ./Distribution/Simple/Utils.hs -1 +1 ___ cabal-devel

patch applied (cabal): Remove one Bool parameter to smartCopySources which was True in all uses

2008-01-31 Thread Duncan Coutts
Wed Jan 30 03:28:42 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Remove one Bool parameter to smartCopySources which was True in all uses The remaining Bool parameter is False for all uses except in SrcDirs M ./Distribution/Simple/GHC.hs -2 +2 M ./Distribution/Simple/Hugs.hs -2 +2

patch applied (cabal): Remove utils testing code for functions that are being removed

2008-01-31 Thread Duncan Coutts
Tue Jan 29 16:08:48 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Remove utils testing code for functions that are being removed M ./Distribution/Simple/Utils.hs -45 ___ cabal-devel mailing list cabal-devel@haskell.org

patch applied (cabal): Add Alistair Bayley's unlit test suite

2008-01-31 Thread Duncan Coutts
Sat Dec 29 17:37:23 PST 2007 Duncan Coutts [EMAIL PROTECTED] * Add Alistair Bayley's unlit test suite A ./tests/UnlitTest.hs ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Refactor unlit code to improve error and line pragma handling

2008-01-31 Thread Duncan Coutts
Sat Dec 29 17:25:30 PST 2007 Duncan Coutts [EMAIL PROTECTED] * Refactor unlit code to improve error and line pragma handling And to make it more like the original code that classified lines separately from checking and transforming them. M ./Distribution/Simple/Hugs.hs -3 +7 M

patch applied (cabal): haddock: run unlit before cpp, like ghc does.

2008-01-31 Thread Duncan Coutts
Tue Dec 4 13:13:56 PST 2007 [EMAIL PROTECTED] * haddock: run unlit before cpp, like ghc does. M ./Distribution/Simple/Haddock.hs -8 +12 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): unlit preserves comments for Haddock's benefit. More complex algorithm to handle cases where we want blank lines (containing whitespace) to become comment lines in the output.

2008-01-31 Thread Duncan Coutts
Tue Dec 4 13:15:50 PST 2007 [EMAIL PROTECTED] * unlit preserves comments for Haddock's benefit. More complex algorithm to handle cases where we want blank lines (containing whitespace) to become comment lines in the output. M ./Distribution/Simple/PreProcess/Unlit.hs -59 +73

patch applied (cabal): Add utils functions copyFiles, findFileWithExtension, findFileWithExtension'

2008-01-31 Thread Duncan Coutts
Tue Jan 29 15:55:59 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Add utils functions copyFiles, findFileWithExtension, findFileWithExtension' and rewrite findFile in a similar style. These are to help simplify and replace the existing functions smartCopySources, moduleToFilePath and

patch applied (cabal): Simplify smartCopySources using findFileWithExtension' and copyFiles

2008-01-31 Thread Duncan Coutts
Tue Jan 29 16:01:29 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Simplify smartCopySources using findFileWithExtension' and copyFiles Previously it used moduleToFilePath2 which returns all the locations in which a source file is found, in different search dirs and with different extensions

patch applied (cabal): Remove handling for .hi-boot files, which was only needed for ghc-6.2

2008-01-31 Thread Duncan Coutts
Tue Jan 29 16:18:45 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Remove handling for .hi-boot files, which was only needed for ghc-6.2 which we have removed support for. It is not clear if we need any similar handling for .hs-boot files. These were also the only uses of smartCopySources

patch applied (cabal): Use Setup.hs like everyone else does

2008-01-31 Thread Duncan Coutts
Thu Jan 31 03:59:53 PST 2008 Duncan Coutts [EMAIL PROTECTED] * Use Setup.hs like everyone else does and note the issue about custom vs simple build-type for Cabal itself. ./Setup.lhs - ./Setup.hs M ./DefaultSetup.hs -1 M ./Makefile -1 +1 M ./Setup.hs -7 +9

Cabal QA message typo

2008-01-31 Thread Johan Tibell
I can't easily send patches from work so I'll report this bug before I forget about it. There's a typo in Distribution/PackageDescription/QA.hs ghcWarn -O2 $ -O2 is rarely needed as it often prolong the compile time ++ with usually with little benefit. Notice the extra with.

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Duncan Coutts
On Sat, 2008-01-05 at 23:14 +, Alistair Bayley wrote: Another example: Let's say you want to produce this .hs output for Haddock: -- | A description of x -- -- some more comments about x x = ... Now imagine you want to produce this .hs: -- | A description of x -- some

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Duncan Coutts
On Thu, 2008-01-10 at 14:25 +, Alistair Bayley wrote: the comment block (like cabal does) - don't indent code relative to comments, because Haddock doesn't like this Hmm, we will have to find another solution to this because the H98 unlit spec clearly states that '' is to be replaced with

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Alistair Bayley
On 31/01/2008, Duncan Coutts [EMAIL PROTECTED] wrote: I'm going to try and get this integrated. I'm not happy yet with the issue about blank lines vs '.' lines etc etc. I think that needs a wider discussion but I don't want to hold up what we already have. OK. Ian voted for '.' as empty line,

[Hackage] #225: allow installing just specific bits, like just docs

2008-01-31 Thread Hackage
#225: allow installing just specific bits, like just docs +--- Reporter: duncan |Owner: Type: enhancement| Status: new Priority: normal |Milestone:

Re: [Hackage] #217: Main modules in .hsc files are not included in sdist

2008-01-31 Thread Hackage
#217: Main modules in .hsc files are not included in sdist +--- Reporter: gwern |Owner: Type: defect | Status: reopened Priority: normal |Milestone:

Re: [Hackage] #225: allow installing just specific bits, like just docs

2008-01-31 Thread Hackage
#225: allow installing just specific bits, like just docs +--- Reporter: duncan |Owner: Type: enhancement| Status: new Priority: normal |Milestone:

Re: patch applied (cabal): Implement QA for PackageDescription

2008-01-31 Thread Ross Paterson
On Sun, Jan 20, 2008 at 04:39:11PM -0800, Duncan Coutts wrote: Thu Jan 17 14:36:10 PST 2008 Lennart Kolmodin [EMAIL PROTECTED] * Implement QA for PackageDescription Addresses #191 (QA) and #180 (QA for missing license). This patch only adds a new exposed module, it's not yet used

Re: [Hackage] #226: Cabal install should upgrade in the correct order.

2008-01-31 Thread Hackage
#226: Cabal install should upgrade in the correct order. -+-- Reporter: guest |Owner: Type: enhancement | Status: new Priority: normal |Milestone:

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Alistair Bayley
To be honest, it's not clear to me that we need any distinction at all since people can just swap the order of the comments: -- some more comments about x -- -- | A description of x x = ... Yes, this is not a good motivating example, just an example. However, a good motivating example is

[Hackage] #226: Cabal install should upgrade in the correct order.

2008-01-31 Thread Hackage
#226: Cabal install should upgrade in the correct order. -+-- Reporter: guest |Owner: Type: enhancement | Status: new Priority: normal |Milestone:

Re: patch applied (cabal): Implement QA for PackageDescription

2008-01-31 Thread Duncan Coutts
On Thu, 2008-01-31 at 15:00 +, Ross Paterson wrote: On Sun, Jan 20, 2008 at 04:39:11PM -0800, Duncan Coutts wrote: Thu Jan 17 14:36:10 PST 2008 Lennart Kolmodin [EMAIL PROTECTED] * Implement QA for PackageDescription Addresses #191 (QA) and #180 (QA for missing license). This

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Duncan Coutts
On Thu, 2008-01-31 at 14:37 +, Alistair Bayley wrote: On 31/01/2008, Duncan Coutts [EMAIL PROTECTED] wrote: I'm going to try and get this integrated. I'm not happy yet with the issue about blank lines vs '.' lines etc etc. I think that needs a wider discussion but I don't want to hold

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Jon Fairbairn
Duncan Coutts [EMAIL PROTECTED] writes: On Thu, 2008-01-10 at 14:25 +, Alistair Bayley wrote: the comment block (like cabal does) - don't indent code relative to comments, because Haddock doesn't like this Hmm, we will have to find another solution to this because the H98 unlit spec

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Alistair Bayley
Ok, yes. So how about what I just implemented, that you put two blank lines between the named chunks? Yes, that would work. You just need some way of separating/continuing comment blocks, whatever it is. In particular I'd like to know how well it works for Jon Fairbairn who has .lhs code

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Jon Fairbairn
Duncan Coutts [EMAIL PROTECTED] writes: On Thu, 2008-01-31 at 14:37 +, Alistair Bayley wrote: As for a wider discussion, I'm all for it, but I believe the impact of this change on existing code should be negligible (pending further testing, of course), so I'm not sure if we're going to

Re: GHC's CPP and Cabal's unlit

2008-01-31 Thread Jon Fairbairn
Alistair Bayley [EMAIL PROTECTED] writes: I have a feeling his preprocessor doesn't cover this case, from a brief inspection. He uses {- -} to delimit comment sections, rather than -- for comment lines. Yes, that's right, it doesn't permit a non-haddock comment to follow a haddock comment.

[Hackage] #227: Cabal-install does not track down build-tools: dependencies?

2008-01-31 Thread Hackage
#227: Cabal-install does not track down build-tools: dependencies? -+-- Reporter: guest |Owner: Type: defect | Status: new Priority: normal |