Daniel Gröber
dbe66cbaa3
Fix #386 , ghc-mod version
should not check cabal configure
2014-10-20 22:33:58 +02:00
Daniel Gröber
6e92f28f43
Fix #391 , Error on command -g
when used before command despite --help output saying this is valid
2014-10-18 21:55:59 +02:00
Daniel Gröber
ab7059d5e4
Merge remote-tracking branch 'upstream/no-set'
...
Conflicts:
Language/Haskell/GhcMod/Find.hs
2014-10-03 21:39:20 +02:00
Kazu Yamamoto
c4929c54af
getConfig runs "cabal configure" first if setup-config is invalid.
2014-09-23 21:28:03 +09:00
Kazu Yamamoto
7db266c22d
adding World.hs.
2014-09-23 17:34:09 +09:00
Kazu Yamamoto
9974bcbf79
trying to fix travis ci.
2014-09-23 16:00:22 +09:00
Kazu Yamamoto
1545f05d87
prepareAutogen skips its work if a cabal file does not exist.
2014-09-23 15:14:46 +09:00
Kazu Yamamoto
dfbb9de8b5
CreateProcess hack for old GHCs.
2014-09-23 06:47:56 +09:00
Kazu Yamamoto
e3e95adeb6
generating "autogen/" if not exist ( #326 ).
2014-09-22 22:38:15 +09:00
Kazu Yamamoto
7382e1bf1d
Misc module for ghc-modi.
2014-09-22 21:32:57 +09:00
Kazu Yamamoto
6f814a4378
restart a GhcMod session if the cabal file is changed.
2014-09-22 14:13:07 +09:00
Kazu Yamamoto
e8988c2f02
ghc-modi's "find" now catches up if packageDb is updated.
2014-09-20 12:25:46 +09:00
Kazu Yamamoto
e66aefebee
removing target file set from ghc-modi.
...
This prevents errors if a package has multiple targets and test suites.
But this is still fast enough.
2014-09-19 11:52:00 +09:00
Kazu Yamamoto
357694c6cc
removing spaces.
2014-09-19 11:52:00 +09:00
Daniel Gröber
5a4bec8755
Rewrite ghc-mod
command line frontend.
2014-09-18 10:45:14 +02:00
Daniel Gröber
a0289420f9
Cleanup ghc-mod help output
2014-09-16 05:45:20 +02:00
Kazu Yamamoto
35a9da34a0
Revert "removing spaces."
...
This reverts commit 986eedcc75
.
2014-09-16 12:22:18 +09:00
Kazu Yamamoto
986eedcc75
removing spaces.
2014-09-16 12:03:12 +09:00
Rob Everest
2c2e7782d2
Use the cabal configuration flags where possible when finalizing the PackageDescription.
2014-09-12 13:15:05 +10:00
Ruben Astudillo
707427ee4d
Merge remote-tracking branch 'kazu/master'
2014-08-28 18:02:07 -04: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
Ruben Astudillo
bdaa2ec675
browseIt with modified environment to solve #265
2014-08-23 04:23:33 -04:00
Daniel Gröber
147dd90ee7
Remove dedicated exception handling in check
completely
...
Exceptions are already caught at the top level so this is unnecessary.
2014-08-19 04:49:44 +02:00
Daniel Gröber
1b5917c70e
Remove withErrorHandler
, use liftExceptions
instead
2014-08-19 04:30:44 +02:00
Daniel Gröber
271ff4e162
Catch cabal configure
failure properly
2014-08-18 08:06:36 +02:00
Kazu Yamamoto
bc4bfe1752
-v option for ghc-mod ( #304 )
2014-08-14 12:03:59 +09:00
Daniel Gröber
c1c7dcec20
Rename ghcOpts
-> ghcUserOptions
2014-08-13 19:28:08 +02:00
Daniel Gröber
f2ccea7f29
Fix error presentation
2014-08-13 19:28:08 +02:00
Kazu Yamamoto
625d4661e7
fix #295 .
2014-08-13 15:21:13 +09:00
Daniel Gröber
f311efd90c
Rework GhcModT monad stack
2014-08-06 19:38:42 +02:00
Alejandro Serrano
9161757f95
First attempt to add auto
2014-08-01 17:08:23 +02:00
Alejandro Serrano
6302d4882e
Merge remote-tracking branch 'kazu/master'
...
Conflicts:
Language/Haskell/GhcMod/Check.hs
Language/Haskell/GhcMod/FillSig.hs
Language/Haskell/GhcMod/GHCApi.hs
2014-07-18 17:12:52 +02:00
Kazu Yamamoto
30ddd655cd
export minimum Monad stuff from GhcMod.
2014-07-18 15:31:42 +09:00
Kazu Yamamoto
e1d9c3b881
clean up lookupSymbol.
2014-07-18 15:13:30 +09: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
Alejandro Serrano
b21fa674ea
Merge remote-tracking branch 'kazu/master'
2014-07-17 06:59:29 +02:00
Alejandro Serrano
c3722f7a20
Include 'refine' again
2014-07-17 06:59:10 +02:00
Kazu Yamamoto
a6f08fe79f
setupDB is now IO.
2014-07-17 12:25:10 +09:00
Kazu Yamamoto
cee1b83daa
the first step to create SymbolDB via a file.
2014-07-17 11:57:19 +09:00
Alejandro Serrano
57bd408785
Merge remote-tracking branch 'kazu/master'
...
Conflicts:
Language/Haskell/GhcMod.hs
Language/Haskell/GhcMod/Check.hs
Language/Haskell/GhcMod/FillSig.hs
Language/Haskell/GhcMod/GHCApi.hs
Language/Haskell/GhcMod/Ghc.hs
src/GHCMod.hs
2014-07-16 19:01:43 +02:00
Alejandro Serrano
49437d82d9
Initial work on refining variable
2014-07-16 18:20:52 +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
Daniel Gröber
56ad1a3c8c
Control.Monad.Trans.MonadIO -> CoreMonad.MonadIO
...
they are different before ghc 7.8
2014-07-11 04:12:05 +02:00
Daniel Gröber
4b6a687bc1
Migrate the remaining parts of the exposed API to GhcMod a
2014-07-11 03:13:38 +02:00
Alejandro Serrano
1b66f65b48
Move lots of stuff to GhcMod
...
- Generalize many signatures to GhcMonad m
2014-06-28 21:43:51 +02:00
Alejandro Serrano
323c1b5471
Initial support for adding body from signature
2014-06-10 21:34:05 +02:00
Alejandro Serrano
6854d417c0
Initial implementation of case splitting
...
- It doesn't handle vars correctly yet
2014-06-08 12:33:13 +02:00
Sami Niiranen
4037f5f8e1
Refactor error message for argument mismatch to be more generic
...
Previously an insufficient amount of arguments to e.g. the 'type' utility resulted in a "Too many arguments" feedback, which can be somewhat confusing. Now if the argument count does not match, a more generic error message is shown.
2014-05-18 10:53:32 +03:00
Daniel Gröber
8324dd96ae
Don't expose Convert
2014-05-14 18:54:56 +02:00