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
Kazu Yamamoto
dc4cd66964
ver bumps up.
2014-01-14 11:59:33 +09:00
Kazu Yamamoto
c36f68bc81
updating changelog.
2014-01-14 11:59:14 +09:00
Kazu Yamamoto
fc72e6ee0d
symbol bug fix.
2014-01-13 13:21:58 +09:00
Kazu Yamamoto
e6423adcf8
guarding an error.
2014-01-12 11:54:13 +09:00
Kazu Yamamoto
2681dc3519
fix for GHC 7.2.x.
2014-01-08 22:16:10 +09:00
Kazu Yamamoto
331e5a9e84
Merge pull request #178 from eagletmt/multi-ghc-travis
...
Run tests with multiple GHC versions on Travis-CI
2014-01-08 04:34:39 -08:00
Kohei Suzuki
0989a1dac2
.travis.yml: Install the latest happy
2014-01-08 21:13:47 +09:00
Kohei Suzuki
079bcf5f98
Run tests with multiple GHC versions on Travis-CI
2014-01-08 16:50:51 +09:00
Kohei Suzuki
25d1db15da
Add Travis-CI build status image
2014-01-08 16:50:43 +09:00
Kazu Yamamoto
d9ff2241bd
closed import.
2014-01-08 12:03:32 +09:00
Kazu Yamamoto
a34f9a24be
workaround for the next HP.
2014-01-08 12:01:10 +09:00
Kazu Yamamoto
1e7eeff41c
cleaning up warnings.
2014-01-08 09:55:06 +09:00
Kazu Yamamoto
0f4d80fe6b
Merge pull request #177 from scottgw/master
...
Updating Gap to the GHC 7.7 trunk API.
2014-01-07 16:48:34 -08:00
Scott West
33ddaf67aa
Updating Gap to the GHC 7.7 trunk API.
2014-01-07 18:11:20 +01:00
Kazu Yamamoto
84b6a1fbd7
catching up the latest flymake.
2013-12-18 15:53:29 +09:00
Kazu Yamamoto
e416529ede
ver bumps up.
2013-11-20 14:55:27 +09:00
Kazu Yamamoto
64ac21723c
changelog.
2013-11-20 14:55:19 +09:00
Kazu Yamamoto
831fc67c8c
Merge branch 'ghci-style-load2' of github.com:khorser/ghc-mod into khorser-ghci-style-load2
...
Conflicts:
Language/Haskell/GhcMod/Browse.hs
2013-11-20 14:28:20 +09:00
Sergey Khorev
429cdfa83b
Try loading a module if findModule failed for it
2013-11-20 08:57:45 +04:00
Kazu Yamamoto
0cbf4855b8
Merge branch 'qualified-module-name' of git://github.com/mvoidex/ghc-mod into mvoidex-qualified-module-name
2013-11-19 14:24:49 +09:00
Kazu Yamamoto
b6af880407
ajusting the number of column ( #162 ).
2013-11-19 14:14:49 +09:00
Kazu Yamamoto
19d2521f5f
Merge pull request #159 from mvoidex/master
...
Added project opt to specify module package-id
2013-11-18 21:06:28 -08:00
Kazu Yamamoto
41da5cc505
defining deSugar.
2013-11-19 12:54:08 +09:00
Kazu Yamamoto
13738d4391
defining typeForUser.
2013-11-19 12:35:42 +09:00
Kazu Yamamoto
7fbd983172
defining errorMsgSpan.
2013-11-19 12:28:59 +09:00
Kazu Yamamoto
beaf3c0a4e
layout only.
2013-11-19 10:43:27 +09:00
Kazu Yamamoto
5097ef84e4
removing trailing WS.
2013-11-19 10:42:47 +09:00
Kazu Yamamoto
c37303a08e
dep switch for convertible ( #161 ).
2013-11-19 10:37:11 +09:00
Schell Scivally
e5ee3da399
CPP corrections.
2013-11-19 10:30:43 +09:00
Schell Scivally
aedc11f21c
Added conditional CPP.
2013-11-19 10:30:31 +09:00
Schell Scivally
b8e20d8e2e
Compatibility with ghc API >= 7.7
2013-11-19 10:30:18 +09:00
mvoidex
97c2c62c31
Local function rewritten to use justIf
2013-11-18 18:22:49 +04:00
mvoidex
444dd225e1
Added -q option to list fully qualified names with browse command
2013-11-17 22:31:47 +04:00
Kazu Yamamoto
6999d1b0fb
hcar.
2013-11-15 10:29:13 +09:00
mvoidex
d4505041a9
Added project opt to specify module package-id
2013-10-29 20:48:27 +04:00