Commit Graph

912 Commits

Author SHA1 Message Date
Kazu Yamamoto
2e1df9c21f ghc-with-process takes an optional hook. 2014-04-22 11:32:51 +09:00
Kazu Yamamoto
b3fd99fa7d using Builder. 2014-04-22 11:28:27 +09:00
Kazu Yamamoto
6f9ceb94e2 giving up loading Data.ByteString. 2014-04-21 20:36:16 +09:00
Kazu Yamamoto
69cacb0865 giving up idle-timer.
- cannot avoid race
- not friendly with cradle.
2014-04-21 20:14:44 +09:00
Kazu Yamamoto
0bb71c2bfc adding comments. 2014-04-21 17:42:32 +09:00
Kazu Yamamoto
b873784424 ghc-import-module is not called from a hook now. 2014-04-21 17:39:45 +09:00
Kazu Yamamoto
067d3b7535 obsoleting a function. 2014-04-21 17:37:41 +09:00
Kazu Yamamoto
36e32ab1b2 ghc-import-module uses ghc-modi browse. 2014-04-21 17:35:32 +09:00
Kazu Yamamoto
3dc8e345b2 fixing/disabling idle timer. 2014-04-21 17:35:10 +09:00
Kazu Yamamoto
334283a4cf ghc-modi browse. 2014-04-21 17:33:53 +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
a1d33b39d3 style. 2014-04-21 16:03:46 +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
064e4af236 creating src/Boot.hs. 2014-04-21 11:57:14 +09:00
Kazu Yamamoto
e4f4ef52c0 making use of ghc-run-ghc-mod. 2014-04-21 11:37:33 +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
19453e67d7 ghc-with-process now takes string for the first argument. 2014-04-21 09:46:33 +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
c138f4bac8 convert hack. 2014-04-19 21:23:01 +09:00
Kazu Yamamoto
30843b02ea using ghc-modi for C-cC-t. 2014-04-19 21:22:40 +09:00
Kazu Yamamoto
38cbff3d5c doc. 2014-04-19 20:48:44 +09:00
Kazu Yamamoto
f8be944f12 using ghc-modi for C-cC-i. 2014-04-19 20:48:26 +09:00
Kazu Yamamoto
122c8da7b0 using ghc-add. 2014-04-19 20:09:47 +09:00
Kazu Yamamoto
f9a8361bca comment. 2014-04-19 20:07:12 +09:00
Kazu Yamamoto
47f95149e3 stop using 0 as the line separator. 2014-04-19 16:14:02 +09:00
Kazu Yamamoto
8d866d7a5b ghc-modi does not display \n in the case of lisp style. 2014-04-19 15:26:22 +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
Kazu Yamamoto
5006d836e1 using GHC 7.8.2. 2014-04-18 11:43:06 +09:00
Kazu Yamamoto
ffdad00950 Merge pull request #223 from DanielG/dev
More refactoring of package handling
2014-04-18 11:20:54 +09:00
Daniel Gröber
bd2db5e98e Dont use Applicative ReadP instance 2014-04-18 04:00:01 +02:00
Daniel Gröber
1639a7b2e0 Bring spec up to speed 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
Kazu Yamamoto
68f64639dc Merge pull request #221 from satoshi-murakumo/fix-windows-tempfile-handling
Fix windows tempfile handling
2014-04-17 09:20:10 +09: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