This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 03 Sep, 2008 1 commit
-
-
Ian Lynagh authored
Otherwise we don't get links to types from packages that we don't directly depend on.
-
- 02 Sep, 2008 2 commits
-
-
Ian Lynagh authored
It was still defining CABAL_VERSION=1,5,3
-
Duncan Coutts authored
Also, ban rather than just warn about the -optl-Wl,-s hack now that Cabal strips exes by default.
-
- 01 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 02 Sep, 2008 1 commit
-
-
Malcolm.Wallace authored
-
- 31 Aug, 2008 9 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
due to the PackageSet/Index api changes
-
Duncan Coutts authored
-
Duncan Coutts authored
We allow extra rgs and the location of programs to be given to the build and haddock commands, not just at configure time. The code to do this is now simpler and more general. This should not be the default use mode however since it involves configuring the programs each time where as doing it at configure time allows it to be done once and saved. Further, specifying a different version of the program at build time than at configure time is likely to fail, especially for the compiler programs. Changing the compiler really requires reconfiguring.
-
Duncan Coutts authored
The haddock command now supports --haddock-options=
-
Duncan Coutts authored
So we're going to allow --with-PROG for the build and haddock commands, in addition to the existing --PROG-options= flags.
-
Duncan Coutts authored
-
Duncan Coutts authored
Mostly for dealing with lists of programs so that client code doesn't need quite to much flip foldl' (flip thing) Add specific helpers for reconfiguring programs and restoring a full ProgramConfiguration after usign read.
-
Duncan Coutts authored
That's already done by the Program framework so we were passing those extra args in twice.
-
- 30 Aug, 2008 1 commit
-
-
Duncan Coutts authored
Have just a single module that provides both the case sensitive and insensitive operations. Turns out we hardly use the case insensitive operations, and the places where we do are not performance sensitive at all. So we use the PackageSet implementation which stores the packages case sensitively and tack on the case insensitive operations but with linear time implementations rather than log time. For the merged module/type name use PackageIndex because that is what older released versions exported, so less needless client breakage.
-
- 27 Aug, 2008 1 commit
-
-
Duncan Coutts authored
Windows has restrictions on names of files and portable tar archives have some weird length restrictions too. Not yet used but should be used in sdist and hackage.
-
- 28 Aug, 2008 3 commits
-
-
Ian Lynagh authored
The installed wrapper needs to call the executable in its final place, not inside the DESTDIR where we are constructing a package.
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 27 Aug, 2008 1 commit
-
-
Ian Lynagh authored
The immediate use for these is so that, in haddock, we can require ghc-paths normally, but in the GHC build we can manually turn off a flag so that this dependency isn't needed. We can't use a normal flag, or in the normal build Cabal would infer that the flag needs to be turned off if ghc-paths isn't available.
-
- 26 Aug, 2008 3 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
At least for the purposes of distribution. So if you're on unix then you can call your package 'LPT1' if you feel you must, but you cannot distribute a package with this name.
-
Duncan Coutts authored
The InstallDirs is a separate type so it's handy to have the command line and config file options for it available separately. It'd be useful in cabal-install for one thing.
-
- 24 Aug, 2008 2 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 25 Aug, 2008 2 commits
-
-
Ian Lynagh authored
-
Duncan Coutts authored
It's more consistent with the other flag names for dirs. Kept the old name too, but it's not shown by --help.
-
- 24 Aug, 2008 1 commit
-
-
Ian Lynagh authored
-
- 22 Aug, 2008 2 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
-
- 02 Aug, 2008 1 commit
-
-
Duncan Coutts authored
-
- 21 Aug, 2008 3 commits
-
-
Duncan Coutts authored
Credit to Spencer Janssen. This is just a slight alternative to the fix he proposed. It simplifies prepareSnapshotTree.
-
Simon Marlow authored
This has no effect with GHC 6.9, and with earlier GHC's it was a misuse of cc-options.
-
Simon Marlow authored
cc-options is for options to be passed to C compilations in the current package. If we propagate those options to the InstalledPackageInfo, they get passed to C compilations in any package that depends on this one, which could be disastrous. I've seen cc-options like these: cc-options: -optc-std=c99 cc-options: -D_FILE_OFFSET_BITS=64 Cc-options: -Wall these are all clearly intended to be local, but are in fact currently propagated to all dependent packages.
-
- 18 Aug, 2008 1 commit
-
-
Duncan Coutts authored
At request of gwern who found that it was driving him nuts.
-
- 13 Aug, 2008 1 commit
-
-
Duncan Coutts authored
-
- 14 Aug, 2008 1 commit
-
-
Malcolm.Wallace authored
-
- 13 Aug, 2008 3 commits
-
-
Ian Lynagh authored
We need to catch IO exceptions for things like "couldn't find the program", but we also need to catch exit exceptions as Cabal uses them to signal what the program returned.
-
Duncan Coutts authored
-
Duncan Coutts authored
Write a file but only if it would have new content. If we would be writing the same as the existing content then leave the file as is so that we do not update the file's modification time.
-