Commit Graph

796 Commits

Author SHA1 Message Date
Nikolay Yakimov 3081e1d8f5 Fix problem with MIN_VERSION_GLASGOW_HASKELL on GHC<7.10.1 2016-10-25 21:25:28 +03:00
Daniel Gröber 757e17f34a Fix 'withCleanupSession' CPP conditional 2016-10-23 22:43:54 +02:00
Daniel Gröber ad99dd9c55 Gap: Untangle some CPP conditionals 2016-10-22 16:40:00 +02:00
Joe Hermaszewski b1ea960f29 Add support for ghc-8.0.2 2016-10-20 14:56:57 +01:00
Tomas Janousek 29d149866e Fix "ghc-mod root" leaving garbage in tmp 2016-10-10 22:17:11 +02:00
Daniel Gröber b7cda9e9b9 Fix findFilesInParentsP appending wrong directory 2016-09-17 18:09:48 +02:00
Daniel Gröber 9074e6e31c Stop search early in 'find*File' (Fix #774)
We now stop the search early instead of examining all directories on
from CWD to /.
2016-09-17 17:46:17 +02:00
Daniel Gröber 5b77feb4e3 Fix #778, findFileInParentsP: check dir perms before reading 2016-09-16 01:29:31 +02:00
Daniel Gröber 4bea7d5a85 Remove dead code 2016-09-16 01:20:23 +02:00
Nikolay Yakimov 57a31c348d Use HLint3.hlint in Lint
Related: #826
2016-08-27 19:33:26 +03:00
Daniel Gröber 90bcf63d6c stack: honor --with-stack when reading StackEnv 2016-08-27 14:16:13 +02:00
Nikolay Yakimov 637f73ec80 Don't build stack dependencies by default
Adds a global option `--stack-build-deps` to enable old behavior
2016-08-24 18:09:29 +03:00
Daniel Gröber 5e83a8b2fc Merge branch 'hse-1.18' of https://github.com/phadej/ghc-mod 2016-08-08 19:03:18 +02:00
Alex Lang 50917f8cbe Fix the slow checking issue in interactive mode 2016-08-04 05:01:47 +02:00
Nikolay Yakimov 6496b641c9 Fix `stack test` the easy way 2016-08-03 14:15:03 +03:00
Oleg Grenrus afd535df48 Support hse-1.18, allow newer extra and pipes too 2016-08-02 06:35:56 +03:00
Daniel Gröber d92eecbc90 Useless brackets 2016-07-17 23:33:23 +02:00
Daniel Gröber f35ebbbab9 Don't use MIN_VERSION for ghc 2016-07-17 23:33:23 +02:00
Daniel Gröber 751bfbcb7e Remove dead code 2016-07-17 23:33:23 +02:00
Daniel Gröber f3cb30520b fix ghc < 8 2016-07-16 03:53:57 +02:00
Daniel Gröber 5fefb250de indent 2016-07-16 03:45:46 +02:00
Daniel Gröber 01e3b8e3d6 Fix session caching, #807
also:
- cleanup LightGhc
- make the new DynFlags to compare against in a clean HscEnv
2016-07-16 03:45:43 +02:00
Daniel Gröber 500166c819 Fix deriveEqDynFlags
- didn't ignore 'IORef's
- eqfn for 'laguage' was missing a case for Nothing
2016-07-16 03:32:26 +02:00
Nikolay Yakimov 0da48ddca8 Fix HLint ignore
Closes #800
2016-07-11 17:49:18 +03:00
Daniel Gröber 2f31cf431a Refine project finding for stack using STACK_ENV 2016-07-11 05:43:21 +02:00
Nikolay Yakimov 0eb87f34c4 Fix Binary SymbolDb instance for ghc 7.6 2016-07-10 18:40:22 +03:00
Nikolay Yakimov e7c571172f Merge branch 'ghc-8' into release-5.6.0.0 2016-07-10 16:15:29 +03:00
Daniel Gröber d4eee279bb Merge branch 'release-5.6.0.0' of github.com:DanielG/ghc-mod into release-5.6.0.0 2016-07-10 07:11:16 +02:00
Nikolay Yakimov f2c7b01e37 [Type-constraints][GHC-8] Fix for explicit sigs
GHC 8 added `AbsBindsSig` for polymorphic bindings
with explicit signatures.

For more information on the topic, see
* https://ghc.haskell.org/trac/ghc/ticket/11405
* https://git.haskell.org/ghc.git/commitdiff/3c6635ef4561ab53e51d7187c966b628a972b261
2016-06-05 06:59:39 +03:00
Daniel Gröber 31e3c0b500 Housekeeping for GHC 8
- Remove some CPP needed only because of GHC 7.4 (which is not supported
  now, yey)
- Move CPP for GHC 8 to Gap module
2016-05-22 03:47:07 +02:00
Daniel Gröber 3bf84fb64a Cleanup some redundant constraint warnings 2016-05-22 02:53:51 +02:00
Moritz Kiefer 27bacd52ec Fix remaining build errors for GHC 8 2016-05-19 18:25:05 +02:00
Daniel Gröber 22318105ae some GHC 8.0.1 fixes 2016-05-18 17:58:34 +02:00
Daniel Gröber 66c6379945 Merge branch 'release-5.6.0.0' into ghc-8 2016-05-17 20:21:33 +02:00
Daniel Gröber 9eeaf09095 Merge branch 'master' into ghc-8 2016-05-17 20:21:25 +02:00
Nikolay Yakimov 66c8915ebd Fix sporadic spaces in output on hlint parse error
For some reason, haskell-src-exts now adds space before
ints when pretty-printing source location (probably
an issue with Text.PrettyPrint)

This patch avoids using pretty printer altogether.
2016-05-16 11:41:48 +03:00
Nikolay Yakimov 623f9f332c Force caseSplit value. Fixes crash on GHC 7.10 2016-05-15 04:10:56 +03:00
Daniel Gröber ef8349f19a Merge branch 'browse-print-parent' of https://github.com/atom-haskell/ghc-mod into release-5.6.0.0 2016-05-14 21:35:36 +02:00
Daniel Gröber 64c2006781 Merge branch 'fix-map-cache' of https://github.com/atom-haskell/ghc-mod into release-5.6.0.0 2016-05-14 21:35:34 +02:00
Daniel Gröber f994893c58 Merge branch 'type-constraints' of https://github.com/atom-haskell/ghc-mod into release-5.6.0.0 2016-05-14 21:35:21 +02:00
Daniel Gröber e495c55a8d Use existence of cabal/stack as cradle indicator
Also add some more "info" logging for which cradle was picked.
2016-05-14 20:18:06 +02:00
Daniel Gröber 0e024c9b79 Fix broken logic in cradle 2016-05-14 20:17:11 +02:00
Nikolay Yakimov 5a02721fc8 [Browse] Add 'from:' to parents 2016-05-11 16:58:46 +03:00
Nikolay Yakimov 32b18d915b [Browse] Use '--' as parent separator 2016-05-11 16:53:42 +03:00
Daniel Gröber b8076fc5d3 Bump cabal-helper dependency
For Cabal-1.24 support
2016-05-11 15:31:29 +02:00
Daniel Gröber 7e05c15219 'debug' shouldn't fail if 'cabal' is not installed
which seems to be more common that you'd think
2016-05-11 15:30:09 +02:00
Daniel Gröber 3ae9204b95 Disable 'cabal' cradle when executable isn't found 2016-05-11 15:21:19 +02:00
Nikolay Yakimov 835ed4e2e1 Merge branch 'master' into fix-map-cache 2016-03-15 23:18:59 +03:00
Nikolay Yakimov 4241ef16b2 Add mapped files to World 2016-03-15 22:14:13 +03:00
Nikolay Yakimov 11a1ad2cf3 Fix mapping subst in info for insts add type fams 2016-03-15 22:09:06 +03:00