Daniel Gröber
a12a7fabc0
Invalidate components cache when setup-config changed ( Fix #684 )
2015-11-26 14:52:25 +01:00
Daniel Gröber
8568a6785c
Check for in-memory cache invalidation ( Fix #683 )
2015-11-18 21:41:19 +01:00
Daniel Gröber
2549bba7b8
Fix yesterday's fix
...
we were invoking cabal-helper too early
2015-09-24 04:49:49 +02:00
Daniel Gröber
df455a3618
Fix missing autogen files when dist/setup-config already exists (Issue #621 )
2015-09-23 12:02:03 +02:00
Daniel Gröber
380acdaee0
Only use debugLogger when loglevel >= GmDebug
2015-09-16 05:13:20 +02:00
Daniel Gröber
64379a7c56
Actually update world
in legacyInteractiveLoop
2015-09-11 09:53:24 +02:00
Daniel Gröber
211b957451
Fix race condition in stack support code
2015-09-11 03:52:28 +02:00
Daniel Gröber
e92bd0af48
Disable obj loading for targets ( Fix #554 )
2015-09-10 07:48:13 +02:00
Daniel Gröber
6ad71af001
Don't swallow ghc's verbose output
2015-09-08 06:44:02 +02:00
Daniel Gröber
5713fd9908
Fix custom package-db stack for non Cabal projects
2015-09-07 07:20:16 +02:00
Daniel Gröber
86c157d1d2
Add some more debug output
2015-09-02 05:30:00 +02:00
Daniel Gröber
41de8b8b2e
Sandwich new Monad layer GmOutT into transformer stack
...
This way we can have access to some options pre Cradle setup which
should fix the output interleaving problems I was observing.
2015-09-01 10:32:27 +02:00
Daniel Gröber
23a48aa6c7
Use cabal-helper for stack
2015-08-19 09:18:10 +02:00
Daniel Gröber
18a8c67d39
Take sandbox cfg into account for caches
2015-08-19 09:18:10 +02:00
Daniel Gröber
78bdf86a95
Fix all the stack related things
2015-08-19 09:17:41 +02:00
scturtle
a285b42206
Refactor the hard-coding "dist"
2015-08-19 09:17:30 +02:00
scturtle
320b404a8c
Yet another try to support Stack.
2015-08-19 09:17:11 +02:00
Alan Zimmerman
e198f68f2a
Rearrange loadTargets code.
...
The loadTargets function is exposed via the Internal module for use by
external programmes, such as HaRe.
Re-arrange to code so that it can still be called with a list of string
targets, as it was before.
2015-08-19 03:34:01 +02:00
Daniel Gröber
bb3a948912
Fix over-qualified error messages ( Fix #551 )
2015-08-18 09:26:53 +02:00
Daniel Gröber
f7149ba23f
Cleanup
2015-08-18 04:50:51 +02:00
Daniel Gröber
dd82cea996
Demote no-component-assignment warning to debug, Fix #552
2015-08-18 04:34:39 +02:00
Daniel Gröber
a383f46939
Fix nasty module graph caching issue
...
resolvedComponentsCache did not consider outgoing edges in the module
graph when computing the set of dependent files
i.e. for `A -> B, A -> C` `flatten` would give [B,C] instead of [A,B,C]
2015-08-18 04:27:02 +02:00
Nikolay Yakimov
a5dae2a82d
Drop memory-mapped files, since ghc doesn't play well with those
...
All files are now "redirected", either user-created, or created by ghc-mod itself.
2015-08-16 23:20:00 +03:00
Nikolay Yakimov
d276b9bb7f
Remove redundant imports
2015-08-15 21:26:33 +03:00
Nikolay Yakimov
de5ff87f19
Don't use infix call for type ctor
2015-08-15 20:58:45 +03:00
Nikolay Yakimov
2504f643e9
Replace mapped names with original ones in output
2015-08-15 20:58:45 +03:00
Nikolay Yakimov
f8a0325617
Load all mapped targets
2015-08-15 20:41:10 +03:00
Nikolay Yakimov
3790fca20b
Initial support for file redirection
...
Rewrite, taking discussion into consideration
2015-08-15 20:41:10 +03:00
Daniel Gröber
312a8c81fb
Merge branch 'HaRe' of https://github.com/alanz/ghc-mod
2015-08-13 10:17:14 +02:00
Alan Zimmerman
eafde94913
Expose functions for integration with HaRe
2015-08-13 09:49:51 +02:00
Daniel Gröber
2806f702d9
Start implementing line-prefix stuff
...
readProcess wrapper still missing from CabalHelper
2015-08-13 06:47:12 +02:00
Daniel Gröber
443650705c
Fix #532 , Use first component in cabal file for dangling modules in cabal projects
2015-08-12 10:44:41 +02:00
Daniel Gröber
28f06e035d
Cleanup project type handling
2015-08-12 09:25:13 +02:00
Daniel Gröber
11243e5304
Add in-memory caching otherwise everything is slow
2015-08-11 07:38:25 +02:00
Daniel Gröber
8439f12cb0
Let Cabal determine the package-db stack
2015-08-07 07:31:08 +02:00
Daniel Gröber
f61dd0a9e6
Fix re-init of ghc-modi session after environment change
...
Using `dropSession` instead of a weird exception cludge
2015-08-05 08:52:52 +02:00
Daniel Gröber
6e28e07ca9
Fix #507
2015-08-05 08:01:25 +02:00
Daniel Gröber
d270e92951
Clean up L.H.GM.Target debug/vomit output a bit
2015-08-05 06:16:05 +02:00
Daniel Gröber
c9b6e95a30
Add Vomit log level and dumping to disk
2015-08-03 08:09:24 +02:00
Daniel Gröber
614522644b
Fix imports for ghc < 7.10
2015-08-03 07:51:23 +02:00
Daniel Gröber
6ef389a757
Merge branch 'Fix502' of https://github.com/acowley/ghc-mod
2015-08-03 05:48:15 +02:00
Daniel Gröber
75d4a2a9d6
Some debug logging for cabal configure
etc.
2015-08-03 05:47:16 +02:00
Daniel Gröber
f023d939e2
Fix GHC 7.10 warnings
2015-08-03 05:46:51 +02:00
Daniel Gröber
160cec86bb
Comment
2015-08-03 05:46:51 +02:00
Daniel Gröber
42e72b3816
Fix fileModuleName not working on CPP modules given by path
2015-08-03 05:46:51 +02:00
Anthony Cowley
e06e4d25df
More sensitive to cache invalidation.
...
This addresses a problem where changes to a .cabal file were not
invalidating the cache files.
2015-07-08 18:15:05 -04:00
Daniel Gröber
acfc575e13
Make unknown component fallback message more clear
2015-06-07 02:45:50 +02:00
Daniel Gröber
baf557d5bf
Comment
2015-06-07 01:53:41 +02:00
Daniel Gröber
49515b3eb8
Fix #487 , Modules from sandbox not visible
2015-06-05 22:45:52 +02:00
Daniel Gröber
a2e4a5d683
Revert "use standard findFile instead of hand-rolled one"
...
This reverts commit b055098127
.
2015-05-20 12:05:22 +02:00