- 10 Sep, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
- 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
-
- 08 Sep, 2009 1 commit
-
-
Duncan Coutts authored
Make it clear that Haskell code to be used by other Haskell code must be built as a package.
-
- 10 Sep, 2009 1 commit
-
-
mad.one@gmail.com authored
-
- 09 Sep, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 10 Sep, 2009 1 commit
-
-
simonpj@microsoft.com authored
-
- 09 Sep, 2009 1 commit
-
-
Simon Marlow authored
Now, adding dyn to $(GhcLibWays) is how shared libs are enabled. Everything else keys off that, rather than testing $(BuildSharedLibs).
-
- 08 Sep, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 09 Sep, 2009 1 commit
-
-
Simon Marlow authored
-
- 08 Sep, 2009 6 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
A few changes bundled together here: - Add -package-id flag, like -package but takes an InstalledPackageId as an argument (mainly for Cabal) (docs to follow) - Fix the shadowing behaviour: if we end up with two packages with the same name/version that came from different package databases, then one will shadow the other. This may mean we have to disable other packages that depended on the now-shadowed package. Lots of refactoring to ensure that we can get reasonable diagnostics when this happens <command line>: cannot satisfy -package shadowdep: shadowdep-1-XXX is unusable due to missing or recursive dependencies: shadow-1-XXX (use -v for more information)
-
Simon Marlow authored
and fix up related cruft
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 26 Aug, 2009 1 commit
-
-
Isaac Dupree authored
-
- 08 Sep, 2009 4 commits
-
-
simonpj@microsoft.com authored
A fine bug report (#3403) demonstrated that we were losing the tail call property when a complicated pattern match was involved. After a bit of investigation I discovered that the culprit was the failure join-point introduced by the pattern matcher. It was a zero-argument thunk, which is not very CPR-friendly, and that interacted badly with CPR worker/wrapper. It's easy to fix, the same way that we fix other join points, by supplying a dummy argument (that is not really passed at runtime.
-
simonpj@microsoft.com authored
When checking the interface exported by a hs-boot file against the Real Thing, I'd failed to check the kind of a type constructor. If you get it wrong, the inconsistency leads to all manner of mischief, as 'wkahl' reports in #3468. This patch should do the job.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 03 Sep, 2009 1 commit
-
-
Simon Marlow authored
-
- 29 Aug, 2009 1 commit
-
-
Simon Marlow authored
- tracing facilities are now enabled with -DTRACING, and -DDEBUG additionally enables debug-tracing. -DEVENTLOG has been removed. - -debug now implies -eventlog - events can be printed to stderr instead of being sent to the binary .eventlog file by adding +RTS -v (which is implied by the +RTS -Dx options). - -Dx debug messages can be sent to the binary .eventlog file by adding +RTS -l. This should help debugging by reducing the impact of debug tracing on execution time. - Various debug messages that duplicated the information in events have been removed.
-
- 31 Aug, 2009 1 commit
-
-
Simon Marlow authored
The check for whether a Capability was free was inverted, which harmed performance for callbacks.
-
- 30 Aug, 2009 1 commit
-
-
Simon Marlow authored
Also add a panic for resurrecting a thread blocked on an exception, since it should never happen.
-
- 29 Aug, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
Fixes an ASSERTION failure with concprog001, -threaded -debug, +RTS -N2
-
- 05 Aug, 2009 1 commit
-
-
Simon Marlow authored
This has no effect with static libraries, but when the RTS is in a shared library it does two things: - it prevents the function from being exposed by the shared library - internal calls to the function can use the faster non-PLT calls, because the function cannot be overriden at link time.
-
- 26 Aug, 2009 3 commits
-
-
kili authored
Should help to fix the build on OpenBSD (together with a corresponding patch to libraries/base).
-
kili authored
-
kili authored
When there are some absolute include dirs, don't create arguments like -Ilibraries/base//usr/local/include. I need this fix for injecting the iconv include dir (which is /usr/local/include on OpenBSD) into the build of libraries/base.
-
- 28 Aug, 2009 1 commit
-
-
Simon Marlow authored
-
- 27 Aug, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
rolling back: Mon Aug 3 11:44:13 BST 2009 Simon Marlow <marlowsd@gmail.com> UNDO: Add -r option to darcs-all, and remove push-all (#3375) Contributed by: seliopou@gmail.com This patch modifies darcs-all to have feature parity with push-all by recognizing two new options. * -i, equivalent to --ignore-failure in push-all * -r <repo>, specifies the remote repository darcs commands will use Some example commands: Get the libraries from a repository of your choosing. This is useful when working with a git mirror: $ ./darcs-all -r http://darcs.haskell.org get Pull changes. Used to be: $ ./push-all --pull http://darcs.haskell.org Is now: $ ./darcs-all -r http://darcs.haskell.org pull Or to use the default remote of the ghc repository: $ ./darcs-all pull M ./darcs-all -79 +33 A ./push-all
-
Simon Marlow authored
-
- 26 Aug, 2009 2 commits
-
-
Ian Lynagh authored
We need to change a dependency on pkg-inplace to pkg-$abihash when installing
-
Ian Lynagh authored
-