Commit Graph

237 Commits

Author SHA1 Message Date
Kazu Yamamoto 6f814a4378 restart a GhcMod session if the cabal file is changed. 2014-09-22 14:13:07 +09:00
Daniel Gröber ab0347efaa monad-journal-0.4 fixes mtl dependency trouble 2014-09-16 22:37:04 +02:00
Daniel Gröber 8ca6f7d18b Temporarily restrict monad-journal version 2014-09-12 21:16:53 +02:00
Daniel Gröber e7073e79f5 Add PatternSynonyms test data to Extra-Source-Files 2014-09-12 21:16:43 +02:00
Daniel Gröber 690a64f5b5 Merge branch 'master' of https://github.com/robeverest/ghc-mod
Conflicts:
	Language/Haskell/GhcMod/CabalConfig.hs
2014-09-12 05:21:12 +02:00
Rob Everest 2c2e7782d2 Use the cabal configuration flags where possible when finalizing the PackageDescription. 2014-09-12 13:15:05 +10:00
Cary M. Robbins 8b01af6cde Handle LocalBuildInfo for Cabal 1.21; squash commits; fixes #343. 2014-09-12 04:50:29 +02:00
Daniel Gröber b9890a90ed ChangeLog 2014-09-12 04:01:58 +02:00
Daniel Gröber a0ae09a3e6 Give readProcess' more sensible error messages.
Also a bunch of refactoring for GhcModError
2014-08-28 15:57:49 +02:00
Daniel Gröber a7f00931c5 Rename List.hs -> Modules.hs 2014-08-28 11:41:03 +02:00
Daniel Gröber 7277d4d6c3 Bump version to 5.0.1.1 2014-08-24 14:49:30 +02:00
Daniel Gröber 7a6e37c57a Fix building with ghc 7.4 2014-08-24 14:41:30 +02:00
Daniel Gröber 5b32667060 typo 2014-08-21 00:32:46 +02:00
Daniel Gröber 252341ea41 Fix cabal.sandbox.config.in path in Extra-Source-Files 2014-08-21 00:27:32 +02:00
Kazu Yamamoto 23a8837632 adding missing elisp file. 2014-08-20 16:56:55 +09:00
Kazu Yamamoto 1e1505c535 removing warnings from spec. 2014-08-20 12:14:27 +09:00
Alejandro Serrano 77051545a4 Adde myself to Authors in cabal file 2014-08-19 18:35:10 +02:00
Daniel Gröber e696a66dfa Add myself to `Author` in ghc-mod.cabal 2014-08-19 05:24:28 +02:00
Daniel Gröber 271ff4e162 Catch `cabal configure` failure properly 2014-08-18 08:06:36 +02:00
Kazu Yamamoto 625d4661e7 fix #295. 2014-08-13 15:21:13 +09:00
Daniel Gröber 7388b50474 Add a test making sure pattern match failures on GhcModT work the way I expect 2014-08-06 20:42:34 +02:00
Daniel Gröber b978e1fd01 monad-journal fixes are upstream now 2014-08-06 19:43:52 +02:00
Daniel Gröber f311efd90c Rework GhcModT monad stack 2014-08-06 19:38:42 +02:00
Alejandro Serrano 7beea26082 Bump djinn-ghc version 2014-08-03 19:34:47 +02:00
Alejandro Serrano 9cc6476df1 Add better support for auto, with several options searched 2014-08-03 19:14:42 +02:00
Alejandro Serrano 9161757f95 First attempt to add auto 2014-08-01 17:08:23 +02:00
Kazu Yamamoto 07e461ff82 cleaning up conditions. 2014-07-25 13:34:20 +09:00
Kazu Yamamoto 26316262aa converting GhcMonad to IOish. 2014-07-18 14:54:39 +09:00
Daniel Gröber 0e17e8e15a Add a CPP macro when compiling modules for the test suite 2014-07-17 16:14:35 +02:00
Kazu Yamamoto cf0df26560 Monad.hs is now exported by GhcMod.hs. 2014-07-17 14:30:42 +09:00
Kazu Yamamoto 74e84e89ac deleting GhcMod.Ghc. 2014-07-17 14:04:28 +09:00
Kazu Yamamoto cee1b83daa the first step to create SymbolDB via a file. 2014-07-17 11:57:19 +09:00
Kazu Yamamoto fdfa70e27a removing -threaded 2014-07-15 11:51:52 +09:00
Kazu Yamamoto 89a4db2345 Merge pull request #288 from DanielG/dev-pkgs
Make `GhcMod` be `GhcModT (ErrorT IO)`
2014-07-15 11:49:10 +09:00
Daniel Gröber 68212d46a1 Fix cabal file 2014-07-15 01:53:06 +02:00
Daniel Gröber f0bfcb8811 Use GhcModT everywhere and remove the GhcMod alias
Not doing this makes having GhcModT pretty pointless as users of the
library wouldn't be able to use custom inner monads as evey function for
dealing with GhcModT's would be constraint to (GhcModT IO) thus only
allowing IO as the inner monad.
2014-07-15 01:03:56 +02:00
Kazu Yamamoto d98cedc9c0 Merge pull request #287 from DanielG/dev-untangle
Untangle Monad.hs and GHCApi.hs and some other changes
2014-07-12 14:27:43 +09:00
Daniel Gröber 503e8cbe06 Move DynFlag related functions from GHCApi to another module 2014-07-12 02:57:19 +02:00
Kazu Yamamoto 53394d3075 ver bumps up.
Major version is now 5 because of a lot of API changes.
2014-07-11 14:09:10 +09:00
Daniel Gröber 4b6a687bc1 Migrate the remaining parts of the exposed API to `GhcMod a` 2014-07-11 03:13:38 +02:00
Daniel Gröber d696214816 We really don't want mtl < 2.0 (different API) 2014-07-10 20:56:57 +02:00
Kazu Yamamoto 2091eb6027 Revert "workaround for #277"
This reverts commit ef2087b379.
2014-07-03 22:39:49 +09:00
Kazu Yamamoto ef2087b379 workaround for #277 2014-07-03 22:10:15 +09:00
Alejandro Serrano c06ee75fbb Fix building errors on ghc < 7.8 and tests 2014-06-28 23:18:49 +02:00
Alejandro Serrano 2ab6991d95 Move code to new FillSig module
- Clean up a lot of code
2014-06-27 18:38:15 +02:00
Alejandro Serrano 40cd5b7deb Haskell part of case splitting working! 2014-06-25 18:09:24 +02:00
Alejandro Serrano 5fa536714f Initial code generation working
- Added fallback with haskell-src-exts
2014-06-22 18:03:34 +02:00
Alejandro Serrano a45fb4c6f5 Move case split and sig. generation to own files
- Created SrcUtils module for shared functionality
2014-06-21 11:38:44 +02:00
Daniel Gröber 2b4f780296 Add `TestUtils` to `other-modules` 2014-05-14 20:56:14 +02:00
Daniel Gröber 8324dd96ae Don't expose `Convert` 2014-05-14 18:54:56 +02:00