Commit Graph

1807 Commits

Author SHA1 Message Date
Kazu Yamamoto
d0a10277bf make ghc-modi robust. 2014-03-20 17:40:06 +09:00
Kazu Yamamoto
ebc1499d13 ok/ng hack. 2014-03-20 17:39:56 +09:00
Kazu Yamamoto
ee6dc2fc47 ghc-mod root. 2014-03-20 16:21:48 +09:00
Kazu Yamamoto
1a1ee0f3ae fixing sentinel. 2014-03-20 16:21:41 +09:00
Kazu Yamamoto
3f01b15a3e ghc-goto-next-error. 2014-03-20 15:32:54 +09:00
Kazu Yamamoto
3e64fb2935 ghc-check-display-errors. 2014-03-19 22:57:05 +09:00
Kazu Yamamoto
1ffc425caa empty line. 2014-03-19 22:56:46 +09:00
Kazu Yamamoto
0564042b48 adding ghc-check.el finally.
Still developping.
2014-03-19 15:03:03 +09:00
Kazu Yamamoto
b05f308d3c fixing strange usage of defstruct. 2014-03-19 15:02:29 +09:00
Kazu Yamamoto
31ce0999a1 "debug" displyas a root dir. 2014-03-19 15:01:32 +09:00
Kazu Yamamoto
b40f162979 adding ghc-modi. 2014-03-19 10:23:47 +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
5aa5d3cbca ver bumps up. 2014-03-15 10:10:10 +09:00
Kazu Yamamoto
01298837e0 typos. 2014-03-14 21:35:30 +09:00
Kazu Yamamoto
661f1a3813 stopping using goto-line. 2014-03-14 14:13:52 +09:00
Kazu Yamamoto
ba53968d28 loading module info if non-nil. 2014-03-14 14:08:37 +09:00
Kazu Yamamoto
6ae822f00e defining ghc-debug. 2014-03-14 14:01:07 +09:00
Kazu Yamamoto
90cc99f203 fixing a bug to call ghc-mod twice. 2014-03-14 14:00:38 +09:00
Kazu Yamamoto
63e59cbebd defining ghc-executable-find. 2014-03-13 22:21:58 +09:00
Kazu Yamamoto
0fac26e350 hlint min version. 2014-03-13 11:10:37 +09:00
Kazu Yamamoto
1ae10600e7 hlint does not support --quiet anymore. 2014-03-13 11:09:55 +09:00
Kazu Yamamoto
9c30b11667 typo. 2014-03-13 09:34:45 +09:00
Kazu Yamamoto
68447e3681 ver bumps up. 2014-02-07 09:46:18 +09:00
Kazu Yamamoto
b7b88d4ac6 changelog. 2014-02-07 09:45:52 +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
Kazu Yamamoto
fdbd4d4ae8 Revert "fixing url."
This reverts commit c75b699c71.
2014-02-01 13:02:09 +09:00
Kazu Yamamoto
c75b699c71 fixing url. 2014-01-31 22:07:39 +09:00
Kazu Yamamoto
bcf895fac5 Merge pull request #179 from naota/add-package-id
Expose packages in sandbox with their ids
2014-01-31 04:51:59 -08: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
Naohiro Aota
a0db24b0a5 Extend Package to include id
This commit
1. rename Package with PackageBaseName
2. Pacakge = (PackageBaseName, Maybe String) to save its id
3. Expose packages with id if available
2014-01-30 20:45:30 +09:00
Kazu Yamamoto
7c6fbb2af1 Revert "Work around https://github.com/simonmar/happy/issues/16"
This reverts commit 785b5a4182.
2014-01-17 08:43:30 +09:00
Kazu Yamamoto
8a9d1936aa updating .gitignore. 2014-01-15 15:04:27 +09:00
Kazu Yamamoto
a6156cd049 changelog. 2014-01-14 21:25:24 +09:00
Kazu Yamamoto
cf0180ed53 Merge pull request #182 from eagletmt/fix-for-ghc-7.7.20140110
Pretty.showDocWith disappeard at GHC 7.7.20140110
2014-01-13 23:24:43 -08:00
Kazu Yamamoto
a2311556b5 Merge pull request #181 from eagletmt/fix-for-7.2.2
Fix for GHC 7.2.2
2014-01-13 23:10:27 -08:00
Kohei Suzuki
b51072f5f0 Pretty.showDocWith disappeard at GHC 7.7.20140110 2014-01-14 15:37:16 +09:00
Kohei Suzuki
0efd848924 GHC 7.2.2 also has fWarningFlags and fLangFlags 2014-01-14 15:25:06 +09:00
Kohei Suzuki
f9c9ac676c Work around canonicalizePath "/" in GHC 7.2.2 2014-01-14 15:24:10 +09:00
Kazu Yamamoto
4cb28610ed Merge pull request #180 from eagletmt/workaround-happy-travis
Workaround happy travis
2014-01-13 21:46:06 -08:00
Kohei Suzuki
785b5a4182 Work around https://github.com/simonmar/happy/issues/16 2014-01-14 14:06:35 +09:00
Kohei Suzuki
0435273058 GHC 7.0 is no longer supported
refs #178
2014-01-14 14:00:06 +09:00