Kazu Yamamoto
dede115731
defining withContext.
2014-04-27 21:26:03 +09:00
Kazu Yamamoto
64365807f9
refactoring.
2014-04-26 23:03:50 +09:00
Kazu Yamamoto
98d3c7028c
refactoring.
2014-04-26 22:51:29 +09:00
Kazu Yamamoto
9c7c6a5cf9
refactoring.
2014-04-26 21:59:06 +09:00
Kazu Yamamoto
6b63cb7098
doc.
2014-04-26 20:24:47 +09:00
Kazu Yamamoto
c45415a367
cleaning up check, splice flag and logger.
2014-04-26 17:54:15 +09:00
Kazu Yamamoto
74cde29ae0
refactoring setTargetFiles.
2014-04-26 14:38:49 +09:00
Kazu Yamamoto
c1c0993b4a
import DynFlag only in Gap.
2014-04-26 13:21:22 +09:00
Kazu Yamamoto
c8fbdcfa2f
Thanks to DeferTypeErrors, info/type can work even if the file contains errors.
2014-04-26 11:43:30 +09:00
Kazu Yamamoto
66a5123f8c
rescue old Cabal which does not support bench.
2014-04-26 09:22:42 +09:00
Daniel Gröber
8ac39a3378
Add benchmarks to cabalAllBuildInfo
2014-04-25 20:48:20 +02:00
Kazu Yamamoto
f50e5229c4
NG contains an error.
2014-04-25 11:08:29 +09:00
Kazu Yamamoto
13c5c2c5af
doc.
2014-04-24 22:11:06 +09:00
Kazu Yamamoto
6cca65b11e
ghc-mod find ( #203 ).
2014-04-24 21:08:45 +09:00
Kazu Yamamoto
390c509144
find functions went to lib.
2014-04-24 17:02:50 +09:00
Kazu Yamamoto
4074c3d751
error handling for modules.
2014-04-24 12:51:43 +09:00
Kazu Yamamoto
93dadfef44
error handling for browse.
2014-04-24 12:45:47 +09:00
Kazu Yamamoto
2d1133ea8e
exporting necessary types.
2014-04-24 12:17:50 +09:00
Kazu Yamamoto
e49fef6765
setTargetFiles now loads files.
2014-04-24 12:15:59 +09:00
Kazu Yamamoto
0c1469e53c
<package>:<module> style.
...
refactoring for #159 .
2014-04-24 11:26:30 +09:00
Kazu Yamamoto
79946f9a3d
removing withGHCDummyFile.
2014-04-23 16:37:24 +09:00
Kazu Yamamoto
3b3b767556
Merge branch 'dev-dynflags' of https://github.com/DanielG/ghc-mod into DanielG-dev-dynflags
...
Conflicts:
Language/Haskell/GhcMod/GHCApi.hs
2014-04-23 12:20:18 +09:00
Kazu Yamamoto
44ece2dcb9
Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod
2014-04-23 12:04:00 +09:00
Daniel Gröber
c9ca3a6d76
Clean up DynFlags initialization
2014-04-23 04:04:41 +02:00
Daniel Gröber
dc43d600dc
Remove Alternative class constraint from withGhc
2014-04-23 03:43:53 +02:00
Kazu Yamamoto
b8a151421d
removing fixme.
2014-04-22 12:34:35 +09:00
Kazu Yamamoto
b3fd99fa7d
using Builder.
2014-04-22 11:28:27 +09:00
Kazu Yamamoto
4764ff1acb
ghc-modi boot.
2014-04-21 16:30:31 +09:00
Kazu Yamamoto
152b218813
hlint hack.
2014-04-21 16:12:30 +09:00
Kazu Yamamoto
8983cf2d88
lineSeparator are only used in toList/toPlain.
2014-04-21 15:58:36 +09:00
Kazu Yamamoto
3d03cff06b
refactoring for lineSeparator.
2014-04-21 14:58:25 +09:00
Kazu Yamamoto
b2c2d1a443
cleaning up APIs.
2014-04-21 14:04:58 +09:00
Kazu Yamamoto
1006cd4eec
APIs in Ghc monad now go to GHCMod.Ghc.
2014-04-21 12:51:56 +09:00
Kazu Yamamoto
2f55a19d49
cleaning up APIs.
2014-04-21 12:46:14 +09:00
Kazu Yamamoto
df4dd97e48
ghc-mod debug does not need a file.
2014-04-21 11:31:15 +09:00
Kazu Yamamoto
12dac1f0a5
ghc-mod root does not need a file.
2014-04-21 11:22:39 +09:00
Kazu Yamamoto
756d17eaa2
-l for ghc-modi info.
2014-04-21 09:45:41 +09:00
Kazu Yamamoto
e09b406ee8
ToString String and doctest.
2014-04-21 09:45:00 +09:00
Kazu Yamamoto
3c8fea85fb
dropWhileEnd moves to Utils.
2014-04-19 15:20:16 +09:00
Kazu Yamamoto
82b6519935
removing suppress stuff.
2014-04-19 15:17:36 +09:00
Kazu Yamamoto
841c721928
-l for lint.
2014-04-19 08:36:35 +09:00
Kazu Yamamoto
ab5e082e81
--quiet back ( #226 ).
2014-04-19 08:26:30 +09:00
Daniel Gröber
8f3fb2a7d7
Only supress stderr on success
2014-04-18 13:22:31 +02:00
Kazu Yamamoto
4389dea800
-l for check.
2014-04-18 17:28:12 +09:00
Kazu Yamamoto
9a6c84410d
close import.
2014-04-18 16:17:46 +09:00
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