Re: patch applied (cabal): Pass --configure-option= options to configure in the right order

2007-09-01 Thread Duncan Coutts
On Sat, 2007-09-01 at 18:41 +0100, Ross Paterson wrote: On Sat, Sep 01, 2007 at 10:32:09AM -0700, Duncan Coutts wrote: Sat Sep 1 10:31:47 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Pass --configure-option= options to configure in the right order in the same order as they were passed

patch applied (cabal): Change --configure-option= to --configure-arg=

2007-09-01 Thread Duncan Coutts
Sat Sep 1 17:33:34 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Change --configure-option= to --configure-arg= For consitency with other flags. M ./Distribution/Simple/Setup.hs -3 +3 M ./doc/Cabal.xml -2 +2 ___ cabal-devel mailing list cabal

Re: patch applied (cabal): Change --configure-option= to --configure-arg=

2007-09-02 Thread Duncan Coutts
On Sun, 2007-09-02 at 14:09 +0100, Ross Paterson wrote: I forgot that the file format includes XXX-options fields, which might be a source of confusion. Mm, good point. We can't change those of course. What do you think we should do? I think it argues for --PROG-option(s). The

patch applied (cabal): Rename --prog-args to --prog-options

2007-09-02 Thread Duncan Coutts
Sun Sep 2 10:06:37 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Rename --prog-args to --prog-options amd --prog-arg to --prog-arg and update the user guide. M ./Distribution/Simple/Setup.hs -17 +18 M ./doc/Cabal.xml -14 +15 ___ cabal-devel

patch applied (cabal): Remove register --with-hc-pkg flag

2007-09-03 Thread Duncan Coutts
Mon Sep 3 02:10:38 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Remove register --with-hc-pkg flag It was just a hack for the benefit of ghc and we don't need it now. M ./Distribution/Simple/Setup.hs -10 +3 M ./doc/Cabal.xml -10 ___ cabal

patch applied (cabal): Make userSpecifyArgs update the args even if the prog is configured already

2007-09-03 Thread Duncan Coutts
Mon Sep 3 03:48:52 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Make userSpecifyArgs update the args even if the prog is configured already M ./Distribution/Simple/Program.hs -2 +7 ___ cabal-devel mailing list cabal-devel@haskell.org http

patch applied (cabal): Generalise build --ghc-option flag to --prog-option for any prog

2007-09-03 Thread Duncan Coutts
Mon Sep 3 04:06:58 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Generalise build --ghc-option flag to --prog-option for any prog and remove makefile --ghc-option flag as it's not used (as far as I can see). It works generically by updating the ProgramConfiguration rather than the previous

patch applied (cabal): Fix haddock markup

2007-09-03 Thread Duncan Coutts
Mon Sep 3 04:31:45 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Fix haddock markup Thanks to int-e for reporting M ./Distribution/Simple/LocalBuildInfo.hs -2 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal): Remove unused helper function

2007-09-03 Thread Duncan Coutts
Mon Sep 3 05:24:08 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Remove unused helper function Ok to remove, it never appeared in any release. M ./Distribution/PackageDescription.hs -11 ___ cabal-devel mailing list cabal-devel@haskell.org http

Cabal branched for a 1.2 release

2007-09-03 Thread Duncan Coutts
Just to let everyone know, I've branched Cabal for a 1.2 release. Cabal 1.2 branch: http://darcs.haskell.org/cabal-branches/cabal-1.2/ Cabal HEAD branch: http://darcs.haskell.org/cabal/ The version number in the 1.2 branch is still 1.1.7, we'll make a 1.2.0 release from this branch soon. The

patch applied (cabal): Rewrite the parser for the configuration structure to allow laout or braces

2007-09-05 Thread Duncan Coutts
Wed Sep 5 15:36:09 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Rewrite the parser for the configuration structure to allow laout or braces Joint work with Thomas Schilling. The sections and indeed fields (and if/else) can now use either explicit brace {} style layout or indentation eg

patch applied (cabal-branches/cabal-1.2): Rewrite the parser for the configuration structure to allow laout or braces

2007-09-05 Thread Duncan Coutts
Wed Sep 5 15:36:09 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Rewrite the parser for the configuration structure to allow laout or braces Joint work with Thomas Schilling. The sections and indeed fields (and if/else) can now use either explicit brace {} style layout or indentation eg

patch applied (cabal-branches/cabal-1.2): make this buildable with GHC 6.2.x

2007-09-05 Thread Duncan Coutts
Mon Sep 3 07:02:32 PDT 2007 Simon Marlow [EMAIL PROTECTED] * make this buildable with GHC 6.2.x M ./Distribution/Compat/Map.hs -1 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Update authors list in LICENSE and remove duplicate copyright file

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:22:35 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update authors list in LICENSE and remove duplicate copyright file We currently have 39 different authors, all those with a significant number of patches are listed as copyright holders in the LICENSE file. M ./LICENSE -1

patch applied (cabal): Update authors list in LICENSE and remove duplicate copyright file

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:22:35 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update authors list in LICENSE and remove duplicate copyright file We currently have 39 different authors, all those with a significant number of patches are listed as copyright holders in the LICENSE file. M ./LICENSE -1

patch applied (cabal-branches/cabal-1.2): Update changelog

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:25:39 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update changelog M ./changelog +35 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Use layout rather than braces {} for sections in our own .cabal file

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:28:44 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Use layout rather than braces {} for sections in our own .cabal file Since we can and we want to set a good example. M ./Cabal.cabal -10 +4 ___ cabal-devel mailing list cabal-devel

patch applied (cabal): Use layout rather than braces {} for sections in our own .cabal file

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:28:44 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Use layout rather than braces {} for sections in our own .cabal file Since we can and we want to set a good example. M ./Cabal.cabal -10 +4 ___ cabal-devel mailing list cabal-devel

patch applied (cabal): Update changelog

2007-09-06 Thread Duncan Coutts
Wed Sep 5 17:25:39 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update changelog M ./changelog +35 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Fix haddock markup

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:02:21 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Fix haddock markup M ./Distribution/ParseUtils.hs -2 +3 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Fix haddock markup

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:02:21 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Fix haddock markup M ./Distribution/ParseUtils.hs -2 +3 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): note need to use -i when bootstrapping ghc, and update coders list

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:20:55 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * note need to use -i when bootstrapping ghc, and update coders list M ./README -2 +5 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal

patch applied (cabal-branches/cabal-1.2): Remove now-empty dependencies dir

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:21:44 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Remove now-empty dependencies dir Not needed since cabal-install moved to another repo. R ./dependencies/ ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org

patch applied (cabal): Bump version number to 1.2.0

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:03:37 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Bump version number to 1.2.0 M ./Cabal.cabal -3 +3 M ./Makefile -2 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Remove now-empty dependencies dir

2007-09-06 Thread Duncan Coutts
Wed Sep 5 18:21:44 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Remove now-empty dependencies dir Not needed since cabal-install moved to another repo. R ./dependencies/ ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org

Cabal repos and branches

2007-09-06 Thread Duncan Coutts
Just to clarify things for all Cabal hackers with commit access to darcs.haskell.org: We have a number of Cabal branches: (using darcs ssh push style urls) Cabal HEAD: darcs.haskell.org:/srv/darcs/cabal Cabal 1.2 branch: darcs.haskell.org:/srv/darcs/cabal-branches/cabal-1.2 GHC HEAD's copy of

patch applied (cabal-branches/cabal-1.2): spell nhc98-options correctly

2007-09-06 Thread Duncan Coutts
Thu Sep 6 08:04:11 PDT 2007 [EMAIL PROTECTED] * spell nhc98-options correctly M ./Cabal.cabal -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: patch applied (cabal-branches/cabal-1.2): spell nhc98-options correctly

2007-09-06 Thread Duncan Coutts
On Thu, 2007-09-06 at 17:03 -0400, Peter Gavin wrote: I'd assume these patches get applied in batches (e.g., many in a single command). Is there any way these emails can reduced to one per batch, instead of one per patch? It was done this way deliberately at the time that patches were going

Re: ANNOUNCE: Cabal 1.2.0 released

2007-09-09 Thread Duncan Coutts
On Sat, 2007-09-08 at 14:48 +0100, Ross Paterson wrote: On Thu, Sep 06, 2007 at 06:52:47PM +, Duncan Coutts wrote: Note that, at the moment hackage probably will not accept packages using configurations since it will not be able to parse them. It should accept them now. But people

patch applied (cabal): Use confgurations to help build Cabal for ghc-6.2.x

2007-09-12 Thread Duncan Coutts
Wed Sep 12 04:29:34 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Use confgurations to help build Cabal for ghc-6.2.x Replacing a long-standing comment telling people how to do it manually. M ./Cabal.cabal -1 +3 ___ cabal-devel mailing list cabal

patch applied (cabal): Don't create empty data dirs. Fixes bug #153.

2007-09-12 Thread Duncan Coutts
Wed Sep 12 04:38:03 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Don't create empty data dirs. Fixes bug #153. Patch contributed by Sven Panne. M ./Distribution/Simple/Install.hs -5 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http

Re: cpphs and C++-style comments

2007-09-14 Thread Duncan Coutts
In message [EMAIL PROTECTED] [EMAIL PROTECTED], cabal-devel@haskell.org writes: On Fri, Sep 14, 2007 at 04:39:05PM +0100, Malcolm Wallace wrote: Would you like to have separate option flags in cpphs for stripping the different kinds of C comment? e.g. --strip and --stripAnsi?

patch applied (cabal): Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154.

2007-09-17 Thread Duncan Coutts
Mon Sep 17 05:30:42 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154. Only used with ghc-6.6 and later which supports the -stubdir flag. With earlier ghc versions the files still end up in the src dirs and so do not get

patch applied (cabal): look in odir for source and .hs files, not buildDir lbi

2007-09-17 Thread Duncan Coutts
Mon Sep 17 07:50:30 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * look in odir for source and .hs files, not buildDir lbi odir = buildDir lbi for the lib case, which is why it worked most of the time in testing but in the exe case it's a different dir. M ./Distribution/Simple/GHC.hs -2 +2

patch applied (cabal): Correct the verbosity range in the --help text

2007-09-20 Thread Duncan Coutts
Sun Sep 16 19:44:16 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Correct the verbosity range in the --help text The correct range in 0--3, not 0--2 or 0--5 M ./Distribution/Simple/Setup.hs -1 +1 M ./Distribution/Simple/SetupWrapper.hs -1 +2

patch applied (cabal): Put setup program and setup .o/.hi files into dist/setup

2007-09-20 Thread Duncan Coutts
Sun Sep 16 19:49:07 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Put setup program and setup .o/.hi files into dist/setup That way they get cleaned automatically and do not clutter the top dir. M ./Distribution/Simple/SetupWrapper.hs -10 +18

patch applied (cabal): Pass on all the cabal-setup options to cabal, not just unrecognised ones

2007-09-20 Thread Duncan Coutts
Sun Sep 16 19:51:21 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Pass on all the cabal-setup options to cabal, not just unrecognised ones So for example -v and -w get passed on rather than swallowed by cabal-setup itself. M ./Distribution/Simple/SetupWrapper.hs -5 +4

patch applied (cabal): Remove some now-unecessary cleaning that causes problems for haskell-src

2007-09-21 Thread Duncan Coutts
Thu Sep 20 13:32:57 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Remove some now-unecessary cleaning that causes problems for haskell-src The code that removes .hs files in the source tree generated from .y files had a comment: XXX: This is actually no longer necessary, but we keep it, so

patch applied (cabal): Fix warnings

2007-09-24 Thread Duncan Coutts
Sun Sep 23 05:29:21 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Fix warnings M ./Distribution/Simple.hs -2 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Be more fuzzy with os, arch and impl matching in conditions. Fixes bug #158.

2007-09-25 Thread Duncan Coutts
Tue Sep 25 06:26:08 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Be more fuzzy with os, arch and impl matching in conditions. Fixes bug #158. Do all the comparisons case insensitively and add some OS aliases so that if os(windows) works if the System.Info.os is actually mingw32. M

patch applied (cabal): The -stubdir flag is supported in ghc-6.6 not just 6.6.1

2007-09-26 Thread Duncan Coutts
Wed Sep 26 04:42:23 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * The -stubdir flag is supported in ghc-6.6 not just 6.6.1 M ./Distribution/Simple/GHC.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal): Actually -stubdir only works well in ghc-6.8 due to -I search dir mess

2007-09-26 Thread Duncan Coutts
Wed Sep 26 06:18:43 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Actually -stubdir only works well in ghc-6.8 due to -I search dir mess In ghc-6.6 the Foo/Bar.hc files only #include Bar_stub.h rather than #include Foo/Bar_stub.h. This means when we set the stubdir so that the _stub.h files

Survery of Setup.hs with Cabal-1.2

2007-09-27 Thread Duncan Coutts
This is a survey of the problems in updating to Cabal-1.2. (This is independent of the problems in updating to GHC-6.8, though of course many people will encounter both at the same time.) I've compiled The Setup.(l)hs scripts of all 248 packages (394 package-version pairs) on hackage with the new

patch applied (cabal-branches/cabal-1.2): Fix GenericPrackageDescription pretty printing to make it parsable. It still does not include all information.

2007-10-15 Thread Duncan Coutts
Fri Oct 5 03:25:55 PDT 2007 [EMAIL PROTECTED] * Fix GenericPrackageDescription pretty printing to make it parsable. It still does not include all information. M ./Distribution/Configuration.hs -1 +1 M ./Distribution/PackageDescription.hs -7 +4

patch applied (cabal-branches/cabal-1.2): Expose parseDescription.

2007-10-15 Thread Duncan Coutts
Fri Oct 5 03:45:54 PDT 2007 [EMAIL PROTECTED] * Expose parseDescription. M ./Distribution/PackageDescription.hs +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Be more fuzzy with os, arch and impl matching in conditions. Fixes bug #158.

2007-10-15 Thread Duncan Coutts
Tue Sep 25 06:26:08 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Be more fuzzy with os, arch and impl matching in conditions. Fixes bug #158. Do all the comparisons case insensitively and add some OS aliases so that if os(windows) works if the System.Info.os is actually mingw32. M

patch applied (cabal-branches/cabal-1.2): Use -O2 for compiling .c files when we configure --enable-optimization

2007-10-15 Thread Duncan Coutts
Thu Oct 11 15:36:07 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Use -O2 for compiling .c files when we configure --enable-optimization Seems a reasonable default behaviour. M ./Distribution/Simple/GHC.hs +1 ___ cabal-devel mailing list cabal

patch applied (cabal-branches/cabal-1.2): Add logging functions notice, info, debug functions and use them consistently

2007-10-15 Thread Duncan Coutts
Fri Oct 12 04:32:37 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Add logging functions notice, info, debug functions and use them consistently We previously had this kind of code all over the place: when (verbosity = verbose) (putStrLn some message) We now replace

patch applied (cabal-branches/cabal-1.2): Update documentation on configurations

2007-10-15 Thread Duncan Coutts
Thu Oct 11 18:53:38 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update documentation on configurations Describe the new syntax and make variuous changes to the description of the meaning. M ./doc/Cabal.xml -123 +170 ___ cabal-devel mailing

patch applied (cabal-branches/cabal-1.2): Pass -w -v0 to ghc when compiling Setup.{lhs, hs} in SetupWrapper when verbosity == silent.

2007-10-15 Thread Duncan Coutts
Sat Oct 13 14:48:20 PDT 2007 [EMAIL PROTECTED] * Pass -w -v0 to ghc when compiling Setup.{lhs,hs} in SetupWrapper when verbosity == silent. M ./Distribution/Simple/SetupWrapper.hs -1 +7 ___ cabal-devel mailing list cabal-devel@haskell.org

patch applied (cabal-branches/cabal-1.2): Pass -c (silent create) to ar when verbosity normal.

2007-10-15 Thread Duncan Coutts
Sat Oct 13 15:09:06 PDT 2007 [EMAIL PROTECTED] * Pass -c (silent create) to ar when verbosity normal. M ./Distribution/Simple/GHC.hs -2 +5 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Move ghcVerbosity function into GHC module to share code

2007-10-15 Thread Duncan Coutts
Sun Oct 14 09:57:30 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Move ghcVerbosity function into GHC module to share code M ./Distribution/Simple/GHC.hs -4 +9 M ./Distribution/Simple/SetupWrapper.hs -7 +2 ___ cabal-devel mailing list cabal

Re: [Haskell-cafe] Adding GLUT package to WinHugs

2007-10-15 Thread Duncan Coutts
Ross, What do you reckon we should do? We could change: #if __GLASGOW_HASKELL__ = 603 || __HUGS__ import Text.ParserCombinators.ReadP hiding (ReadP) import qualified Text.ParserCombinators.ReadP as ReadP ... to drop the || __HUGS__ and have hugs always use the bundled H98 ReadP, or we can

CPP confusion

2007-10-16 Thread Duncan Coutts
All, There seems to me to be a great deal of confusion with CPP options in Haskell land. We apply the same cpp options to C code and to Haskell code, and there are other tools like pre-processors which make things even more confusing. The latest thing I've stumbled over is HsUnix.h in ghc-6.8.

patch applied (cabal): Update the TODO list, mostly removing things.

2007-10-17 Thread Duncan Coutts
Fri Oct 12 05:17:02 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update the TODO list, mostly removing things. Most of these are duplicated by Trac bugs. We should try and get rid of this TODO file completely and just use Trac. M ./TODO -62 +11

patch applied (cabal): Move ghcVerbosity function into GHC module to share code

2007-10-17 Thread Duncan Coutts
Sun Oct 14 09:57:30 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Move ghcVerbosity function into GHC module to share code M ./Distribution/Simple/GHC.hs -4 +9 M ./Distribution/Simple/SetupWrapper.hs -7 +2 ___ cabal-devel mailing list cabal

patch applied (cabal): Translate flat files into sectionized files, by duplicating global

2007-10-17 Thread Duncan Coutts
Tue Sep 25 07:49:21 PDT 2007 Thomas Schilling [EMAIL PROTECTED] * Translate flat files into sectionized files, by duplicating global dependecies into each non-empty section. The previous solution dumped them into the library section, even if it would have been empty otherwise. M

patch applied (cabal): Improve error messages for failed sanity checks.

2007-10-17 Thread Duncan Coutts
Tue Sep 25 07:49:55 PDT 2007 Thomas Schilling [EMAIL PROTECTED] * Improve error messages for failed sanity checks. M ./Distribution/PackageDescription.hs -6 +10 ___ cabal-devel mailing list cabal-devel@haskell.org

patch applied (cabal): Change the handling of cpp ghc flags for hsc2hs

2007-10-17 Thread Duncan Coutts
Tue Oct 16 16:16:52 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Change the handling of cpp ghc flags for hsc2hs The hsc2hs that comes with ghc uses ghc as the C compiler. This means we must escape the real cc flags. It also means we can ask ghc to add extra include dirs that we might need

patch applied (cabal): Use cpp-options rather than abusing ghc-options

2007-10-17 Thread Duncan Coutts
Wed Oct 17 09:49:14 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Use cpp-options rather than abusing ghc-options M ./Cabal.cabal -4 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Change the handling of cpp ghc flags for hsc2hs

2007-10-17 Thread Duncan Coutts
Tue Oct 16 16:16:52 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Change the handling of cpp ghc flags for hsc2hs The hsc2hs that comes with ghc uses ghc as the C compiler. This means we must escape the real cc flags. It also means we can ask ghc to add extra include dirs that we might need

patch applied (cabal-branches/cabal-1.2): When parsing ghc-pkg output, only look at the first package.conf file for GlobalPackageDB and SpecificPackageDB, and all package.conf files for UserPackageDB.

2007-10-17 Thread Duncan Coutts
Tue Oct 16 02:52:54 PDT 2007 [EMAIL PROTECTED] * When parsing ghc-pkg output, only look at the first package.conf file for GlobalPackageDB and SpecificPackageDB, and all package.conf files for UserPackageDB. Before, we would consider user packages when fulfilling dependencies for global

patch applied (cabal-branches/cabal-1.2): Figure out if hsc2hs is using gcc or ghc as it's C compiler

2007-10-17 Thread Duncan Coutts
Wed Oct 17 07:31:08 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Figure out if hsc2hs is using gcc or ghc as it's C compiler and pass the appropriate flags on the basis of knowing that. This is a hack. What we should do longer term is make hsc2hs always use gcc as it's C compiler and have

patch applied (cabal-branches/cabal-1.2): Add a cpp-options: field and use it for pre-processing .hs .hsc .chs files

2007-10-17 Thread Duncan Coutts
Wed Oct 17 09:47:47 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Add a cpp-options: field and use it for pre-processing .hs .hsc .chs files This is for pre-processing Haskell modules, not for C code. We already have cc-options for that purpose. Up 'til now people have been abusing ghc-options

patch applied (cabal-branches/cabal-1.2): Bump minor version number to 1.2.1

2007-10-18 Thread Duncan Coutts
Wed Oct 17 11:29:39 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Bump minor version number to 1.2.1 We've added a couple minor features since 1.2.0 M ./Cabal.cabal -2 +2 M ./Makefile -2 +2 M ./releaseNotes -1 +1 ___ cabal-devel mailing

patch applied (cabal-branches/cabal-1.2): Update changelog for 1.2.1

2007-10-18 Thread Duncan Coutts
Thu Oct 18 12:15:19 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Update changelog for 1.2.1 M ./changelog +13 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Correct the spelling of mingw32 in os alias list

2007-10-18 Thread Duncan Coutts
Thu Oct 18 12:56:41 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Correct the spelling of mingw32 in os alias list Doh! M ./Distribution/Configuration.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal-branches/cabal-1.2): don't fail if xxx_hsc_make.c is gone

2007-10-18 Thread Duncan Coutts
Thu Oct 18 09:42:45 PDT 2007 Ross Paterson [EMAIL PROTECTED] * don't fail if xxx_hsc_make.c is gone The non-GHC hsc2hs deletes it even if the compilation fails. M ./Distribution/Simple/Program.hs -1 +2 ___ cabal-devel mailing list

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-18 Thread Duncan Coutts
On Wed, 2007-10-17 at 20:28 +0100, Ian Lynagh wrote: On Wed, Oct 17, 2007 at 01:28:45AM +0100, Duncan Coutts wrote: On Wed, 2007-10-17 at 00:35 +0100, Ian Lynagh wrote: might be a type error if I have multiple versions of foo installed and bar and baz have been compiled against different

RE: -O in 6.8.1-candidate

2007-10-19 Thread Duncan Coutts
On Fri, 2007-10-19 at 10:42 +0100, Simon Peyton-Jones wrote: | In general the users should never have to modify the .cabal file. For | the common settings that we expect the user to want to control Cabal | provides configure flags. | | The idea is that instead of having to find the

patch applied (cabal): Correct the spelling of mingw32 in os alias list

2007-10-21 Thread Duncan Coutts
Thu Oct 18 12:56:41 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Correct the spelling of mingw32 in os alias list Doh! M ./Distribution/Configuration.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal-branches/cabal-1.2): TAG 1.2.1

2007-10-21 Thread Duncan Coutts
Sun Oct 21 05:08:40 PDT 2007 Duncan Coutts [EMAIL PROTECTED] tagged 1.2.1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal): Only use ld -x on systems where ld supports that.

2007-10-23 Thread Duncan Coutts
Tue Oct 23 11:37:38 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Only use ld -x on systems where ld supports that. Hopefully this fixes it for both ordinary builds and via ghc makefiles. M ./Distribution/Simple/GHC.hs -5 +25 M ./Distribution/Simple/GHC/Makefile.in -1 +1

patch applied (cabal): Regenerate GHC/Makefile.hs from GHC/Makefile.in

2007-10-23 Thread Duncan Coutts
Tue Oct 23 11:38:04 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Regenerate GHC/Makefile.hs from GHC/Makefile.in M ./Distribution/Simple/GHC/Makefile.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

Re: Packages within a package

2007-10-24 Thread Duncan Coutts
On Tue, 2007-10-23 at 22:21 +0200, Henning Thielemann wrote: Does Cabal not support things like packages within a package simply because Haskell libraries currently are not complex enough to require such a feature, or is there a guiding design principle with which these features are

Re: Packages within a package

2007-10-24 Thread Duncan Coutts
On Wed, 2007-10-24 at 09:03 -0400, John D. Ramsdell wrote: Duncan Coutts [EMAIL PROTECTED] writes: The design choice is that the Cabal package is the unit of distribution. Of course what one sees as a system may well consist of multiple interdependent packages. I think developers want

patch applied (cabal-branches/cabal-1.2): Add shared library building to GHC module (also via Makefile)

2007-10-24 Thread Duncan Coutts
Thu Sep 6 14:31:32 PDT 2007 Clemens Fruhwirth [EMAIL PROTECTED] * Add shared library building to GHC module (also via Makefile) M ./Distribution/Simple/GHC.hs -25 +67 M ./Distribution/Simple/GHC/Makefile.in -3 +16 M ./Distribution/Simple/Install.hs -3 +1

patch applied (cabal-branches/cabal-1.2): Update D.S.GHC/Makefile.hs

2007-10-24 Thread Duncan Coutts
Thu Sep 6 14:35:07 PDT 2007 Clemens Fruhwirth [EMAIL PROTECTED] * Update D.S.GHC/Makefile.hs M ./Distribution/Simple/GHC/Makefile.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): warning police

2007-10-24 Thread Duncan Coutts
Fri Sep 7 07:07:31 PDT 2007 Simon Marlow [EMAIL PROTECTED] * warning police M ./Distribution/Simple/GHC.hs -6 +6 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Add -package-name to GHC invocation when linking DSOs

2007-10-24 Thread Duncan Coutts
Wed Sep 26 02:00:25 PDT 2007 Clemens Fruhwirth [EMAIL PROTECTED] * Add -package-name to GHC invocation when linking DSOs M ./Distribution/Simple/GHC.hs -1 +2 ___ cabal-devel mailing list cabal-devel@haskell.org

patch applied (cabal-branches/cabal-1.2): Add extra-libs to shared library linking

2007-10-24 Thread Duncan Coutts
Thu Sep 27 05:39:23 PDT 2007 Clemens Fruhwirth [EMAIL PROTECTED] * Add extra-libs to shared library linking M ./Distribution/Simple/GHC.hs -1 +6 ___ cabal-devel mailing list cabal-devel@haskell.org

patch applied (cabal-branches/cabal-1.2): Be explicit about the base version dependency

2007-10-24 Thread Duncan Coutts
Tue Oct 23 05:24:17 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Be explicit about the base version dependency don't just leave it up to the default search order M ./Cabal.cabal -2 +3 ___ cabal-devel mailing list cabal-devel@haskell.org http

patch applied (cabal-branches/cabal-1.2): Refuse to run any commands if the .cabal has been modified

2007-10-24 Thread Duncan Coutts
Tue Oct 23 02:31:11 PDT 2007 Simon Marlow [EMAIL PROTECTED] * Refuse to run any commands if the .cabal has been modified See GHC bug #1372 This is a consistency check, intended to prevent this class of build failures: * Package P is updated, its version number is bumped, the

patch applied (cabal-branches/cabal-1.2): Only use ld -x on systems where ld supports that.

2007-10-24 Thread Duncan Coutts
Tue Oct 23 11:37:38 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Only use ld -x on systems where ld supports that. Hopefully this fixes it for both ordinary builds and via ghc makefiles. M ./Distribution/Simple/GHC.hs -5 +25 M ./Distribution/Simple/GHC/Makefile.in -1 +1

patch applied (cabal-branches/cabal-1.2): Regenerate GHC/Makefile.hs from GHC/Makefile.in

2007-10-24 Thread Duncan Coutts
Tue Oct 23 11:38:04 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Regenerate GHC/Makefile.hs from GHC/Makefile.in M ./Distribution/Simple/GHC/Makefile.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal-branches/cabal-1.2): pass cpp-options to cpphs

2007-10-24 Thread Duncan Coutts
Tue Oct 23 11:42:10 PDT 2007 Ross Paterson [EMAIL PROTECTED] * pass cpp-options to cpphs M ./Distribution/Simple/PreProcess.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (cabal-branches/cabal-1.2): Create the dist/ dir early in the configuration process

2007-10-24 Thread Duncan Coutts
Wed Oct 24 06:35:54 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Create the dist/ dir early in the configuration process M ./Distribution/Simple/Configure.hs -1 +3 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (cabal-branches/cabal-1.2): Compile a .c rather than a .hs file to make a .o file in ld -x configure test

2007-10-24 Thread Duncan Coutts
Wed Oct 24 08:05:05 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Compile a .c rather than a .hs file to make a .o file in ld -x configure test Since when bootstrapping ghc we're not in any position to compile .hs files that easily. M ./Distribution/Simple/GHC.hs -4 +4

patch applied (cabal-branches/cabal-1.2): Adjust verbosity of a step in configure

2007-10-24 Thread Duncan Coutts
Wed Oct 24 09:07:58 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Adjust verbosity of a step in configure M ./Distribution/Simple/Configure.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal

Re: Packages within a package

2007-10-24 Thread Duncan Coutts
On Wed, 2007-10-24 at 13:08 -0400, John D. Ramsdell wrote: Duncan Coutts [EMAIL PROTECTED] writes: I think I'm claiming that developers want support for developing systems as a unit but distribution can be as a collection of components rather than as a unit. Do you believe it is a bad

patch applied (cabal): Adjust verbosity of a step in configure

2007-10-24 Thread Duncan Coutts
Wed Oct 24 09:07:58 PDT 2007 Duncan Coutts [EMAIL PROTECTED] * Adjust verbosity of a step in configure M ./Distribution/Simple/Configure.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal

Re: presentation of dependencies in the web interface

2007-10-25 Thread Duncan Coutts
On Thu, 2007-10-25 at 11:40 +0100, Ross Paterson wrote: Dependencies between packages are obviously more complex now that we have configurations. The web interface now has an experimental presentation of these dependencies transformed into disjunctive normal form, with the atoms being

Re: proptotype of make style dep stuff

2007-10-26 Thread Duncan Coutts
On Fri, 2007-10-26 at 10:20 -0700, Isaac Potoczny-Jones wrote: Duncan and others, I have some high-level thoughts: = Standalone Tool = Something I've talked about for a long time (and a few times tried to get someone to implement) is a kind of EDSL for Setup files so that people can

patch applied (cabal): Add an interfacedir configure flag, for where to put haddock insterface files

2007-10-29 Thread Duncan Coutts
Mon Oct 29 10:49:08 PDT 2007 Ian Lynagh [EMAIL PROTECTED] * Add an interfacedir configure flag, for where to put haddock insterface files M ./Distribution/Simple/InstallDirs.hs -53 +65 M ./Distribution/Simple/Register.hs -9 +15 M ./Distribution/Simple/Setup.hs +7

Re: proptotype of make style dep stuff

2007-10-30 Thread Duncan Coutts
On Tue, 2007-10-30 at 19:31 -0400, Peter Gavin wrote: On 10/30/07, Duncan Coutts [EMAIL PROTECTED] wrote: http://haskell.org/~duncan/cabal/foo.svg Very nice :) Yeah, we were pretty pleased :-) As you can see we get cycles in the graphs. We'll have to filter out cycles. Any suggestions

Re: suggestion for a small extension to configurations

2007-11-05 Thread Duncan Coutts
On Mon, 2007-11-05 at 12:17 +, Ross Paterson wrote: Your examples use base, for which there will be only one version in a GHC installation. But there might be multiple versions of other packages, so testing on them is a bit more complicated. How does a repackager control the selection?

patch applied (cabal): Add language extensions introduced in GHC 6.8

2007-11-09 Thread Duncan Coutts
Thu Nov 8 10:56:12 PST 2007 Duncan Coutts [EMAIL PROTECTED] * Add language extensions introduced in GHC 6.8 M ./Language/Haskell/Extension.hs +18 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal

patch applied (cabal): The extension is NoMonoPatBinds not MonoPatBinds

2007-11-09 Thread Duncan Coutts
Fri Nov 9 06:22:17 PST 2007 Duncan Coutts [EMAIL PROTECTED] * The extension is NoMonoPatBinds not MonoPatBinds M ./Language/Haskell/Extension.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo

patch applied (cabal): Add extensions that ghc-6.6 supports

2007-11-09 Thread Duncan Coutts
Fri Nov 9 06:22:50 PST 2007 Duncan Coutts [EMAIL PROTECTED] * Add extensions that ghc-6.6 supports M ./Distribution/Simple/GHC.hs -1 +13 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: Can't create sdist bundle

2007-11-13 Thread Duncan Coutts
On Mon, 2007-11-12 at 17:50 +, Neil Mitchell wrote: Hi, Long time problem, now with a new version of GHC and Cabal, and still a problem... Calling tar then gzip would make this work. This bug stops me from updating my Hackage packages which won't work with GHC 6.8.1. Well the simple

<    1   2   3   4   5   6   7   8   9   10   >