Commit Graph

53 Commits

Author SHA1 Message Date
Kazu Yamamoto
dfecb22123 Merge branch 'master' of git://github.com/mvoidex/ghc-mod into mvoidex-master
Conflicts:
	Language/Haskell/GhcMod/List.hs
2013-10-29 11:32:06 +09:00
mvoidex
94de367220 List modules with its packages 2013-10-28 12:22:18 +04:00
Kazu Yamamoto
d8275263f0 typo. 2013-10-02 12:43:40 +09:00
Kohei Suzuki
136e09e704 ghc-mod browse should take care of sandboxes 2013-09-27 12:25:41 +09:00
Kohei Suzuki
67166a4d75 ghc-mod list should take care of sandboxes 2013-09-27 12:23:53 +09:00
Alan Zimmerman
bdc2b96ae1 Need to validate test paths too 2013-09-21 17:26:55 +02:00
Alan Zimmerman
54bb83e972 Must explicitly find the full path for an exe target 2013-09-21 16:08:45 +02:00
Alan Zimmerman
93195cb780 Return correct values for cabalAllTargets. 2013-09-21 14:01:43 +02:00
Kazu Yamamoto
a94b1a3b5a fixing tests. 2013-09-21 18:37:33 +09:00
Kazu Yamamoto
c78d708c1c Introducing strict getPackageDbDir. 2013-09-21 15:10:43 +09:00
Kazu Yamamoto
4426f7fd0f Defining cabalAllTargets.
This is from @alanz (#151).
2013-09-20 17:25:28 +09:00
Kazu Yamamoto
668e9e4771 Removing GHCVersion. 2013-09-20 17:21:10 +09:00
Kazu Yamamoto
5f0fcd0442 getCompilerOptions handles package-db options. 2013-09-20 17:15:41 +09:00
Kazu Yamamoto
46245fb694 Adding "dist/build/autogen" for "Path_*.hs". 2013-09-20 16:23:58 +09:00
Kazu Yamamoto
39bccf8b92 adding doc to findCradle. 2013-09-20 15:53:51 +09:00
Kazu Yamamoto
49791fb6ea Supporting sandbox sharing.
Braking backword compatibility of findCradle.
2013-09-20 15:48:50 +09:00
Kazu Yamamoto
d58c11bcc3 addDevPkgs does not modify DynFlags if packages are an empty list. 2013-09-20 11:39:11 +09:00
Kazu Yamamoto
1212040e3b includeDirectories takes care of ".". 2013-09-20 11:22:11 +09:00
Kazu Yamamoto
f0e191dc98 Eq and Show for CompilerOptions. 2013-09-20 11:21:31 +09:00
Kazu Yamamoto
43f49f7abe doc for getCompilerOptions. 2013-09-20 10:30:51 +09:00
Kazu Yamamoto
560f081727 initializeFlagsWithCradle also retuns PackageDescription. 2013-09-19 16:25:36 +09:00
Kazu Yamamoto
8e4d2cec21 Obsoleting fromCabalFile. 2013-09-19 16:21:48 +09:00
Kazu Yamamoto
97da4e9be1 Defining CompilerOptions. 2013-09-19 15:58:50 +09:00
Kazu Yamamoto
7a9cc8231b Checking if "dist/build/autogen/cabal_macros.h" exists. 2013-09-16 12:04:34 +09:00
Kazu Yamamoto
57d2c74f1c Specifying "-optP". 2013-09-16 11:15:34 +09:00
Kazu Yamamoto
856392fdb7 Using proper type aliases. 2013-09-16 11:00:39 +09:00
Kazu Yamamoto
de9aa7740c adding "dist/build". 2013-09-16 10:55:26 +09:00
Kazu Yamamoto
45751e3926 Exporting more low level APIs. 2013-09-16 09:56:08 +09:00
Kazu Yamamoto
5750673e0e Filtering problematic packages. 2013-09-11 14:09:18 +09:00
Kazu Yamamoto
318b376b30 Supporting the sandbox of Cabal 1.18.0.
Support for cabal-dev was obsoleted.
2013-09-05 16:38:17 +09:00
Kazu Yamamoto
5e53841451 improving doc. 2013-09-05 14:35:28 +09:00
Niklas Hambüchen
4758a6043c check + expand: Allow passing in multiple files 2013-09-03 20:01:47 +09:00
Kazu Yamamoto
8117167f78 exporting LineSeparator. 2013-09-03 14:47:34 +09:00
Kazu Yamamoto
ed5ac820d6 adding LineSeparator. 2013-09-03 14:40:51 +09:00
Alan Zimmerman
e487a535eb Rename GhcModLowLevel to GhcMod.Internal and document exposed items. 2013-08-26 18:28:21 +02:00
Alan Zimmerman
a45bfb97b9 Exposing lower level API using GhcMonad 2013-08-24 19:17:33 +02:00
Kazu Yamamoto
1cd83ce2e0 showUnqualifiedPage is now in Doc.hs. 2013-07-14 17:07:30 +09:00
Kazu Yamamoto
cbcbae052b adding comments. 2013-07-14 16:45:43 +09:00
Kazu Yamamoto
9c5eec47ca Removing warnings.
Tests passed: GHC 7.4.2 and GHC 7.6.3
2013-07-05 16:43:54 +09:00
Kazu Yamamoto
7bd3510dc8 Merge pull request #129 from co-dan/ghc77
Porting ghc-mod to GHC 7.7
2013-07-05 00:03:57 -07:00
Daniil Frumin
dd03fc4c2c More fixes for GHC 7.4 2013-07-02 13:29:08 +04:00
Daniil Frumin
9d3b449e55 This should fix building the library for GHC <= 7.4 2013-07-02 13:19:25 +04:00
Daniil Frumin
9eb446e24b Moving all CPP stuff (that depends on GHC version) to Gap
- Moved some functions from Language.Haskell.GhcMod.Doc to Gap
- Moved HasType typeclass and some functions from Info to Gap
- Adjusted all the other modules to use necessary functions from Gap
  instead of the functions from modified modules
2013-07-02 12:48:44 +04:00
Kazu Yamamoto
1811f11a07 removing unnecessary CPP. 2013-07-01 13:21:49 +09:00
Daniil Frumin
54d6f5f690 Porting ghc-mod to GHC 7.7 2013-06-28 00:25:22 +04:00
Kazu Yamamoto
3bbc008907 test update and error handling in CabalApi. 2013-05-30 10:50:19 +09:00
Kazu Yamamoto
b2d2542435 Using PackageDescription instead of GenericPackageDescription.
This enables to pick conditional dependency in a cabal file.
2013-05-29 17:47:52 +09:00
Kazu Yamamoto
f4f55d8cf0 removing an old incorrect comment. 2013-05-29 12:05:14 +09:00
Kazu Yamamoto
eb34a5372e fixing markup. 2013-05-21 21:38:19 +09:00
Kazu Yamamoto
089d490607 writing docs. 2013-05-20 14:28:56 +09:00