This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 31 Aug, 2008 1 commit
-
-
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 4 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.
-
Malcolm.Wallace authored
-
- 12 Aug, 2008 7 commits
-
-
Duncan Coutts authored
We don't expect Windows systems to have the strip program anyway.
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
-
Duncan Coutts authored
Since we tend to pass them around together rather a lot. Also add a Text instance with a format like "i386-linux"
-
Duncan Coutts authored
-
- 11 Aug, 2008 1 commit
-
-
Simon Marlow authored
Now when using CPP you get MIN_VERSION_<package>(A,B,C) for each <package> in build-depends, which is true if the version of <package> in use is >= A.B.C, using the normal ordering on version numbers. This is done by auto-generating a header file dist/build/autogen/cabal_macros.h, and passing a -include flag when running CPP.
-
- 06 Aug, 2008 1 commit
-
-
Simon Marlow authored
-
- 10 Aug, 2008 1 commit
-
-
Ian Lynagh authored
-
- 09 Aug, 2008 1 commit
-
-
Ian Lynagh authored
This make "make" work even if Makefile.local contains any targets.
-
- 07 Aug, 2008 1 commit
-
-
David Waern authored
Does not implement lazy parsing of the output of ghc-pkg dump, so this is only a partial fix of #311. For more information about why we want to use ghc-pkg dump, see GHC ticket #2201.
-