Kazu Yamamoto
f2081466fc
Using Hidden also. ( #223 )
2014-04-18 16:12:21 +09:00
Kazu Yamamoto
aecb9bc1e4
implementing suppressStdout/err.
2014-04-18 15:41:32 +09:00
Daniel Gröber
bd2db5e98e
Dont use Applicative ReadP instance
2014-04-18 04:00:01 +02:00
Daniel Gröber
2381f6e1ab
More refactoring of package handling
...
- 'GhcPkg' now parses 'ghc-pkg -v list' output directly to also get the
package-id
- Remove unused field 'cradlePackages' in Cradle
- Remove 'getPackageDbPackages' and use 'ghcPkgListEx' instead
2014-04-18 03:59:46 +02:00
satoshi-murakumo
0eadfa91fd
Fix windows tempfile handling
...
On Windows, `ghc-mod lint` fails with following message.
ghc-mod: DeleteFile "<Ommit>\\Temp\\ghc-mod-hlint8464": permission denied <Ommit>
Perhaps, On Windows, GHC opens file exclusively.
So, we move `removeFile` to `finally`.
2014-04-16 22:41:53 +09:00
Kazu Yamamoto
abb9ecd8ac
style.
2014-04-16 11:59:00 +09:00
Kazu Yamamoto
145c27a129
hlint hack.
2014-04-16 11:52:49 +09:00
Kazu Yamamoto
cd56e26b25
just style.
2014-04-16 11:50:31 +09:00
Kazu Yamamoto
697ad3722a
removing warnings.
2014-04-16 11:32:36 +09:00
Kazu Yamamoto
2dc1eb645a
Merge branch 'dev' of git://github.com/DanielG/ghc-mod into DanielG-dev
2014-04-16 11:24:39 +09:00
Daniel Gröber
bb438feb83
User ghc's cProjectVersionInt to get version information
2014-04-16 01:57:52 +02:00
Daniel Gröber
7d75787ae3
Only add available package to ghc options
...
Fixes #185
2014-04-15 05:18:42 +02:00
Daniel Gröber
30b8366526
Refactor the way packages databases are handled
...
- cradle now stores a list of active package databases instead of only
the user store (if present).
- rename `cradlePackageDb` -> `cradlePkgDbStack` as that`s what the ghc
documentaion calls this kind of thing
- `getPackageDbPackages` now returns names of all visible packages in
the given directory. Also the implementation now uses `ghc-pkg`
instead of manually looking at the package database
2014-04-15 05:15:50 +02:00
Kazu Yamamoto
8f5498c554
refactoring.
2014-04-11 14:59:31 +09:00
Kazu Yamamoto
a0d559de61
clarifying Ghc and IO.
2014-04-11 13:14:45 +09:00
Kazu Yamamoto
998a43ce24
removing depanal.
2014-04-11 12:56:06 +09:00
Kazu Yamamoto
196450af9f
simplifying modSummary.
2014-04-11 12:41:39 +09:00
Kazu Yamamoto
3ed59464f0
just style.
2014-04-11 12:21:58 +09:00
Kazu Yamamoto
862e8c397c
refactoring.
2014-04-11 12:19:42 +09:00
Kazu Yamamoto
dd8f9a5fcb
refactoring.
2014-04-11 11:54:39 +09:00
Kazu Yamamoto
e9859980ab
info/type does not require module name.
...
Fallback was removed. See #199 .
2014-04-11 11:51:25 +09:00
Kazu Yamamoto
54bea65736
style change.
2014-04-11 11:15:59 +09:00
Kazu Yamamoto
ba4a1b9688
removing unnecessary code.
2014-04-11 11:13:24 +09:00
Kazu Yamamoto
1d2cf4cb9f
fixing the fallback mechanism for info.
2014-04-11 11:02:05 +09:00
Kazu Yamamoto
d6a81c0506
refactoring.
2014-04-10 16:41:05 +09:00
Kazu Yamamoto
d6762ede6e
fixing typos.
2014-04-10 16:36:15 +09:00
Kazu Yamamoto
770644e87d
debug also displays sys lib dir.
2014-04-09 15:15:26 +09:00
Kazu Yamamoto
89c733aef8
hlint hack.
2014-04-03 16:17:51 +09:00
Kazu Yamamoto
a6579c656b
Displaying a qualified name if two unqualified names are conflict ( #130 ).
2014-04-03 09:49:23 +09:00
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