summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/Main.hs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove some code only used with GHC 6.11.*Ian Lynagh2010-07-151-4/+0
|
* __GLASGOW_HASKELL__ >= 609 is now always trueIan Lynagh2010-07-151-8/+0
|
* it should be an error to use relative directories (#4134)Simon Marlow2010-06-151-0/+3
|
* missing include-dirs or library-dirs is only a warning now (#4104)Simon Marlow2010-06-151-24/+35
|
* In ghc-pkg, send warnings to stderrIan Lynagh2010-06-061-5/+10
|
* fix the Windows build some moreSimon Marlow2010-03-041-1/+2
|
* fix Windows buildSimon Marlow2010-03-021-1/+4
|
* Fix the build with GHC < 6.12Ian Lynagh2010-02-261-5/+7
|
* Force encoding to UTF-8 when writing individual .conf filesSimon Marlow2010-02-241-14/+28
|
* Write the binary cache file atomicallySimon Marlow2010-02-161-5/+13
| | | | | Should fix an occasional build error of the form ghc-pkg: too few bytes. Failed reading at byte position 8
* document 'recache' command in the help output (#3684)Simon Marlow2009-11-301-0/+7
|
* Use UTF-8 explicitly for InstalledPackageInfoSimon Marlow2009-11-251-7/+26
| | | | | | So ghc-pkg register/update takes input in UTF-8, and ghc-pkg dump outputs in UTF-8. Textual package config files in the package DB are assumed to be in UTF-8.
* follow changes in Distribution.Simple.PackageIndex APISimon Marlow2009-10-061-2/+2
|
* System.Console.Terminfo isn't available when bootstrapping.Matthias Kilian2009-09-301-2/+2
|
* Fix build on WindowsSimon Marlow2009-09-141-2/+2
|
* Add "ghc-pkg init" command for creating a new package DBSimon Marlow2009-09-141-0/+20
|
* Work around bug in old bytestring versions by reading the package DB strictlySimon Marlow2009-09-111-1/+16
|
* Change the representation of the package databaseSimon Marlow2009-09-101-164/+341
| | | | | | | | | | | | | | | | | | | | | | | | | - the package DB is a directory containing one file per package instance (#723) - there is a binary cache of the database (#593, #2089) - the binary package is now a boot package - there is a new package, bin-package-db, containing the Binary instance of InstalledPackageInfo for the binary cache. Also included in this patch - Use colour in 'ghc-pkg list' to indicate broken or hidden packages Broken packages are red, hidden packages are Colour support comes from the terminfo package, and is only used when - not --simple-output - stdout is a TTY - the terminal type has colour capability - Fix the bug that 'ghc-pkg list --user' shows everything as broken
* Follow changes in Cabal: package -> sourcePackageIdSimon Marlow2009-08-241-25/+25
|
* Add unique package identifiers (InstalledPackageId) in the package DBSimon Marlow2009-08-201-45/+80
| | | | | See commentary at http://hackage.haskell.org/trac/ghc/wiki/Commentary/Packages
* Fix ignored-monadic-result warningsIan Lynagh2009-07-071-1/+1
|
* Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263Max Bolingbroke2009-07-011-5/+5
|
* follow change in System.Posix.Internals.c_openSimon Marlow2009-06-221-1/+5
|
* Changes for the new IO library, mainly base-package modules moving aroundSimon Marlow2009-05-291-0/+4
|
* ghc-pkg now takes a verbosity argumentIan Lynagh2009-06-051-23/+47
|
* fix warning (and validate)Simon Marlow2009-05-211-2/+1
|
* GHC new build system megapatchIan Lynagh2009-04-261-26/+29
|
* soup-up "ghc-pkg check"Simon Marlow2009-01-151-76/+169
| | | | | | | | | | | | | | | | | | | | | We now look for missing files (including .hi files), and report all the packages that are transitively broken. $ ghc-pkg check There are problems in package syb-0.1.0.0: dependency foo-4.0.0.0 doesn't exist There are problems in package process-1.0.1.1: file System/Process.hi is missing The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. syb-0.1.0.0 process-1.0.1.1 base-3.0.3.0 Cabal-1.7.0 haskell98-1.0.1.0 haddock-2.4.2 ghc-6.11
* FIX BUILD on Windows (fix for #2873 broke it)Simon Marlow2009-01-091-0/+3
|
* Fix #2873: should fail if a package DB desn't existSimon Marlow2009-01-081-15/+15
| | | | | We allowed non-existence before because the user DB is allowed to not exist, so now we have an explicit exception for that case.
* Refuse to register packages with unversioned dependencies; trac #1837Ian Lynagh2008-10-311-0/+5
|
* Always use extensible exceptions in ghc-pkg, rather than using ifdefsIan Lynagh2008-10-031-29/+10
|
* Fix building with GHC 6.6Ian Lynagh2008-09-201-1/+7
|
* Wibble ghc-pkg imports to fix building on WindowsIan Lynagh2008-09-171-2/+1
|
* ghc-pkg needs to make package.conf with sensible permissionsIan Lynagh2008-09-171-11/+65
| | | | It was calling openTempFile which uses a 600 permissions mask.
* Make some utils -Wall cleanIan Lynagh2008-08-211-8/+11
|
* FIX #2521: trailing colon in GHC_PACKAGE_PATHSimon Marlow2008-08-181-1/+21
| | | | | | | This was broken in the System.FilePath switchover, since filepath's splitSearchPath doesn't do what we want (it ignores empty components on Windows, and treats them as "." on Unix). So we use our own hand-rolled version, just like GHC.
* Test for and reject duplicate dependencies (#2330)Simon Marlow2008-08-181-7/+10
|
* Fix #2441 (unregister/expose/hide packages in non-first package databases)Simon Marlow2008-08-141-36/+51
|
* add --no-user-package-confSimon Marlow2008-08-141-0/+6
|
* FIX #1963: use Cabal's writeFileAtomic to write the new package.confSimon Marlow2008-08-131-35/+44
| | | | This depends on #2298 also being fixed, which I'll do shortly
* FIX #2492: ghc-pkg insists on having HOME environment variable setSimon Marlow2008-08-131-9/+17
|
* FIX #2491 (ghc-pkg unregister should complain about breaking dependent packages)Simon Marlow2008-08-131-36/+47
|
* Fix building with extensible exceptionsIan Lynagh2008-07-301-6/+33
|
* Fix the stage3 buildIan Lynagh2008-07-221-3/+6
|
* Fix ghc-pkg inplace on WindowsIan Lynagh2008-07-191-1/+10
|
* More build system changes; ghc-pkg is now built with CabalIan Lynagh2008-07-181-29/+29
|
* add "ghc-pkg dump" (fixes #2201)Simon Marlow2008-07-111-6/+26
|
* Follow Cabal changesIan Lynagh2008-06-291-3/+21
|
* Follow Cabal changesIan Lynagh2008-06-261-2/+3
|