Nikolay Yakimov
|
8f931eb928
|
Fix problem with fileModSummary
|
2015-08-15 21:07:35 +03:00 |
|
Nikolay Yakimov
|
c5f71933f6
|
Canonicalize FilePath before lookup in withMappedFile
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
438b15463e
|
Move getCanonicalFileName(Safe) to Utils module
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
267edfebe3
|
Try best-guess tactic if file to be redirected doesn't exist
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
a0cf585939
|
Bugfix: canonicalize filename before trying to unload
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
31020c4112
|
Move withMappedFile to Language.Haskell.GhcMod.Utils
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
d405ce7efa
|
Make linting work with mapped files
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
5b0cca0353
|
Added withMappedFile utility function
Works pretty much as `withTempFile`, except looks
mapping up and uses temp. file only when necessary.
|
2015-08-15 21:06:57 +03:00 |
|
Nikolay Yakimov
|
d3b1bf125b
|
Move reading source from stdin to frontend
|
2015-08-15 21:06:25 +03:00 |
|
Nikolay Yakimov
|
67102c92b8
|
Use cradleTempDir instead of getTemporaryDirectory in HMG
|
2015-08-15 21:02:42 +03:00 |
|
Nikolay Yakimov
|
de5ff87f19
|
Don't use infix call for type ctor
|
2015-08-15 20:58:45 +03:00 |
|
Nikolay Yakimov
|
1efacbef88
|
Use less generic name for reader monad/state in Logger
|
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
|
e70988e15f
|
Use MaybeT instead of maybe (return Nothing)
|
2015-08-15 20:41:10 +03:00 |
|
Nikolay Yakimov
|
e72d72eb86
|
Workaround for GHC 7.4 bugs
|
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
|
585a9ef425
|
Fix doc in non-cabal projects
..man those non-cabal projects are really getting me down. Who uses
those anwayways ;)
|
2015-08-14 10:30:42 +02:00 |
|
Daniel Gröber
|
623cddd8ca
|
Fix find being slow on legacy-interactive
|
2015-08-14 06:48:56 +02:00 |
|
Daniel Gröber
|
887ab3c599
|
Don't try to create dist/ in non cabal projects, duh
|
2015-08-14 06:32:20 +02:00 |
|
Daniel Gröber
|
55bf578b87
|
Put line-prefix'es on exceptions too
|
2015-08-14 05:57:33 +02:00 |
|
Daniel Gröber
|
f998c63c73
|
Fix prepareCabalHelper when dist/ doesn't exist yet
|
2015-08-14 04:28:22 +02:00 |
|
Daniel Gröber
|
0b5de23ac9
|
Wrap dumpsym in stderr mangling readProc as well just in case
|
2015-08-14 03:51:50 +02:00 |
|
Daniel Gröber
|
cbfa26eb16
|
Make sure cabal-helper is ready before invoking dumpsym
|
2015-08-14 03:48:29 +02: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
|
09c3c5603c
|
Fix missing newlines
|
2015-08-13 09:01:58 +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
|
a94d8977a9
|
Fix ghc-modi not working in non-cabal projects
|
2015-08-12 09:04:35 +02:00 |
|
Daniel Gröber
|
9b286cc4e1
|
Fix cabal-helper >= 0.5
|
2015-08-12 09:04:09 +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
|
05360e0660
|
Fix typo
|
2015-08-11 06:35:07 +02:00 |
|
Daniel Gröber
|
bad431a758
|
Bump cabal-helper depdendency
|
2015-08-10 09:07:41 +02:00 |
|
Daniel Gröber
|
bb22b643e9
|
Add version header to caches
|
2015-08-10 06:44:34 +02:00 |
|
Daniel Gröber
|
0abe1d6a53
|
Fix warning
|
2015-08-07 07:33:04 +02:00 |
|
Daniel Gröber
|
5fdaa6adea
|
Merge branch 'master' of https://github.com/meditans/ghc-mod
|
2015-08-07 07:32:26 +02:00 |
|
Daniel Gröber
|
8439f12cb0
|
Let Cabal determine the package-db stack
|
2015-08-07 07:31:08 +02:00 |
|
meditans
|
31d85a27b4
|
Added logging in refine and auto handlers
|
2015-08-06 11:49:01 +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
|
84c0670fc4
|
docs
|
2015-08-03 05:47:16 +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 |
|