Commit Graph

123 Commits

Author SHA1 Message Date
Kazu Yamamoto
159b7b1eb6 don't use hiding. 2014-03-31 12:31:21 +09:00
Kazu Yamamoto
3bfbbb8b5c supporting sandbox only (without cabal) to fix #164. 2014-03-30 17:28:57 +09:00
Kazu Yamamoto
5e01a45218 removing dep packages of benchmark.
installing packages of benchmark fails in many cases, sigh.
2014-03-30 15:07:14 +09:00
Kazu Yamamoto
983fc68f5b handling multiple package names from ghc-pkg find-module. 2014-03-30 12:37:29 +09:00
Kazu Yamamoto
f8249ae449 removing comment. 2014-03-28 13:47:33 +09:00
Kazu Yamamoto
955b1b4091 user package db options for both GHC and ghc-pkg. 2014-03-28 12:05:11 +09:00
Kazu Yamamoto
1f7e7dea3b adding doc. 2014-03-28 11:10:18 +09:00
Kazu Yamamoto
f7f1e081c5 adding dumpSplicesFlag. 2014-03-27 20:54:18 +09:00
Kazu Yamamoto
5dbea7b909 error handling for doc. 2014-03-27 16:40:34 +09:00
Kazu Yamamoto
187f718de0 hlint hack. 2014-03-27 16:35:41 +09:00
Kazu Yamamoto
992013df05 hlint hack. 2014-03-27 16:31:49 +09:00
Kazu Yamamoto
fb08870d72 hlint hack. 2014-03-27 16:29:59 +09:00
Kazu Yamamoto
2dd7bab9b2 packageDoc for sandbox. 2014-03-27 16:22:49 +09:00
Kazu Yamamoto
5f6adb53f2 close import. 2014-03-27 16:02:16 +09:00
Kazu Yamamoto
ff70313049 close import. 2014-03-27 15:56:14 +09:00
Kazu Yamamoto
f24749b13b close import. 2014-03-27 15:45:51 +09:00
Kazu Yamamoto
c9429cfc97 close import. 2014-03-27 15:43:33 +09:00
Kazu Yamamoto
b628175d8f close import. 2014-03-27 15:32:44 +09:00
Kazu Yamamoto
e0d8b379df close import. 2014-03-27 15:25:02 +09:00
Kazu Yamamoto
fbed91f6f2 close import. 2014-03-27 15:23:27 +09:00
Kazu Yamamoto
426917fc44 close import. 2014-03-27 15:21:18 +09:00
Kazu Yamamoto
0a323f71b9 close import. 2014-03-27 15:17:58 +09:00
Kazu Yamamoto
660a1e95f5 using liftIO from CoreMonad. 2014-03-27 15:08:07 +09:00
Kazu Yamamoto
4fd7224c9c closed import. 2014-03-27 14:38:06 +09:00
Kazu Yamamoto
d3d9eb1e2c Data.ByteString cannot be loaded if not specified in cabal file. 2014-03-27 14:24:38 +09:00
Kazu Yamamoto
7141ec5db1 removing "import Prelude". 2014-03-27 13:50:09 +09:00
Kazu Yamamoto
4ad1c5e276 exporting lint. 2014-03-27 10:34:30 +09:00
Kazu Yamamoto
6e4d073c7d using dropWhileEnd (#193). 2014-03-26 15:38:02 +09:00
Kazu Yamamoto
e3a177c20f Merge pull request #194 from eagletmt/hlint-quiet
Suppress output of hlint
2014-03-26 15:09:03 +09:00
Kazu Yamamoto
782da60d0c adding docs. 2014-03-26 12:09:02 +09:00
Kazu Yamamoto
60b0a055f7 removing warning. 2014-03-26 11:54:34 +09:00
Kazu Yamamoto
102ae7654b removing the last null charactors.
WARNING: prabably breaking backward compatibility.
2014-03-26 11:32:54 +09:00
Kazu Yamamoto
38a3e32ac3 browseAll. 2014-03-25 11:14:16 +09:00
Kohei Suzuki
44eff0dcc1 Suppress output of hlint 2014-03-21 21:40:02 +09:00
Kazu Yamamoto
d0a10277bf make ghc-modi robust. 2014-03-20 17:40:06 +09:00
Kazu Yamamoto
ee6dc2fc47 ghc-mod root. 2014-03-20 16:21:48 +09:00
Kazu Yamamoto
31ce0999a1 "debug" displyas a root dir. 2014-03-19 15:01:32 +09:00
Kazu Yamamoto
be926f0366 new APIs. 2014-03-19 10:23:32 +09:00
Kazu Yamamoto
710ac6636e cleaning up the logger. 2014-03-18 12:38:04 +09:00
Kazu Yamamoto
dd7b7b8305 the first step to make ghc-mod independent from GHC's version. 2014-03-17 16:58:55 +09:00
Kazu Yamamoto
16e050439d removing fast/slow code. 2014-03-17 15:56:00 +09:00
Kazu Yamamoto
1ae10600e7 hlint does not support --quiet anymore. 2014-03-13 11:09:55 +09:00
Kazu Yamamoto
48faeac83a removing a warning. 2014-02-06 22:12:07 +09:00
Kazu Yamamoto
fb0222ff76 burying the gap. 2014-02-06 22:09:00 +09:00
Kazu Yamamoto
891ddf639b supporting GHC 7.8rc1. (#186)
from @bartavelle.
2014-02-06 21:40:51 +09:00
Kazu Yamamoto
45154e6eb1 implementing fromTyThing. 2014-02-06 21:34:40 +09:00
Kazu Yamamoto
629cf409ae layout only. 2014-02-06 21:27:39 +09:00
Kazu Yamamoto
a25736f149 Revert "Expose packages in sandbox with their ids"
This reverts commit 46492a19b0.
2014-02-01 13:44:40 +09:00
Naohiro Aota
46492a19b0 Expose packages in sandbox with their ids
This commit implement scaning a package db directory to collect package
id

If you installed a package both in a sandbox and globally, global
package may be selected even if there's a package in a sandbox, which is
different behavior from cabal sandbox.

e.g. when you have fast-logger-2.0 globally and fast-logger-0.3.3 in a
sandbox:

(Without patch)
$ ghc-mod check Foundation.hs
Foundation.hs:12:31:Module `System.Log.FastLogger' does not export `Logger'

(With patch)
$ ghc-mod check Foundation.hs
2014-01-30 21:21:40 +09:00
Naohiro Aota
04022ab0ac Add test to check package id extraction
This commit add a failing test to check extracting package id. The test will
fail with the following output for now:

1) Cradle.getPackageDbPackages find a config file and extracts packages with their ids
expected: [("template-haskell",Just "template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c")]
 but got: []
2014-01-30 21:18:45 +09:00