Commit Graph

1760 Commits

Author SHA1 Message Date
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
86545a895b Rename load and unload interact. cmds to map-file and unmap-file 2015-08-15 21:02:43 +03:00
Nikolay Yakimov
e15eea2f39 Rename file-map option to map-file 2015-08-15 21:02:43 +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
Rolf Karp
f8fe76ce5d Add Stack build configuration 2015-08-15 19:06:28 +02:00
Daniel Gröber
4084e9aafc Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-14 10:38:23 +02:00
Daniel Gröber
97124afc4c Bump version to 5.3.0.0 2015-08-14 10:36:33 +02: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
Kazu Yamamoto
7af35a3850 fixing doc. 2015-08-14 17:08:14 +09:00
Daniel Gröber
6248372477 Fix tests for 7.10 2015-08-14 09:50:20 +02:00
Daniel Gröber
9cff067a27 Catch errors in legacy-interactive loop 2015-08-14 09:50:17 +02:00
Kazu Yamamoto
8a0c4be12b defining ghc-debug-options. 2015-08-14 16:47:44 +09:00
Kazu Yamamoto
90061facb9 checking if (buffer-file-name) returns non-nil just in case. 2015-08-14 16:38:49 +09:00
Daniel Gröber
e126db833a Disable nuke-caches for now, blowing away dist/ is too risky 2015-08-14 09:33:22 +02:00
Kazu Yamamoto
1c19d91813 don't check if the file does not exist. 2015-08-14 16:22:57 +09:00
Daniel Gröber
9d5f0ad23d Clarify some docs/strings in elisp/ 2015-08-14 09:19:43 +02:00
Daniel Gröber
04306d2ea7 Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-14 09:18:51 +02:00
Daniel Gröber
d3a98d90c4 Bump cabal-helper dependency 2015-08-14 09:14:53 +02:00
Kazu Yamamoto
4df2046672 cleaning up the error scrolling. 2015-08-14 14:21:07 +09:00
Daniel Gröber
0a210d9e01 Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-14 06:51:38 +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
Kazu Yamamoto
cfddddcfe8 error buffer is now read-only. 2015-08-14 13:23:20 +09:00
Kazu Yamamoto
f762209e60 using new ghc-mod. 2015-08-14 13:23:20 +09:00
Kazu Yamamoto
efef2b19ea scrolling errors. 2015-08-14 13:23:19 +09:00
Kazu Yamamoto
002008aa30 splitting stdout and stderr. 2015-08-14 13:23:19 +09:00
Kazu Yamamoto
54c2be20b6 better debug logging of Elisp. 2015-08-14 13:23:19 +09: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
Daniel Gröber
b58578c48b Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-13 10:10:08 +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
Kazu Yamamoto
143d17f925 removing ghc-modi-ver which is not defined. 2015-08-13 11:22:40 +09:00
Kazu Yamamoto
dc3ce15512 caching a project root to a local variable. 2015-08-13 11:22:40 +09: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