Commit Graph

1972 Commits

Author SHA1 Message Date
Kazu Yamamoto
797aef2a09 Merge remote-tracking branch 'origin/fix-loop' 2015-08-20 09:49:06 +09:00
Daniel Gröber
95426d4aeb Merge remote-tracking branch 'origin/fix-el' 2015-08-20 02:20:26 +02:00
Daniel Gröber
b25dbc2416 Merge branch 'stack-support' 2015-08-20 02:14:55 +02:00
Daniel Gröber
91f0c50b20 Merge branch 'file-redirection-2' of https://github.com/atom-haskell/ghc-mod 2015-08-20 02:10:05 +02:00
Daniel Gröber
822d9344df Merge remote-tracking branch 'rkarp/stack-build' 2015-08-20 02:07:11 +02:00
Daniel Gröber
04b78d2719 Merge branch 'master' of https://github.com/Oblosys/ghc-mod 2015-08-20 02:05:40 +02:00
Daniel Gröber
74feac1791 Merge remote-tracking branch 'rkarp/stack-build' into stack-support 2015-08-19 09:25:36 +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
d660e7cd85 add 'StackProject' around 2015-08-19 09:17:30 +02:00
scturtle
a285b42206 Refactor the hard-coding "dist" 2015-08-19 09:17:30 +02:00
scturtle
cbb8feb0ad Add test project in cabal file 2015-08-19 09:17:30 +02:00
scturtle
ba13688413 Tell travis to download stack binary file 2015-08-19 09:17:12 +02:00
scturtle
89c3faea05 Initilize test for stack project 2015-08-19 09:17:11 +02:00
scturtle
320b404a8c Yet another try to support Stack. 2015-08-19 09:17:11 +02:00
Daniel Gröber
e360f7eb44 Fix older GHCs 2015-08-19 09:05:57 +02:00
Kazu Yamamoto
c3dff64389 M-t now replace type hole. (#545). 2015-08-19 15:21:59 +09:00
Kazu Yamamoto
b7cea06a52 Flushing stdout to solve infinite loop (#542). 2015-08-19 15:02:00 +09:00
Daniel Gröber
50ab2091d6 Add missing test files 2015-08-19 07:02:57 +02:00
Nikolay Yakimov
2bd12ee417 Fix --map-file docs 2015-08-19 05:28:26 +03: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
Martijn Schrage
7ac5aca5a5 Use https in Location url to get clickable link on hackage web page 2015-08-18 17:13:54 +02:00
Daniel Gröber
bb3a948912 Fix over-qualified error messages (Fix #551) 2015-08-18 09:26:53 +02:00
Daniel Gröber
90b1e452e2 Some pretty printing "improvements" (hopefully) 2015-08-18 04:54:10 +02:00
Daniel Gröber
f7149ba23f Cleanup 2015-08-18 04:50:51 +02:00
Daniel Gröber
cdc74e059c Fix ghc-modi not exiting cleanly 2015-08-18 04:50:19 +02:00
Daniel Gröber
97c632fbd7 Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-18 04:39:58 +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
Daniel Gröber
58ae1271a3 Merge branch 'DocBrowse' of https://github.com/acowley/ghc-mod 2015-08-18 03:50:40 +02:00
Daniel Gröber
b40ee40df2 Merge branch 'master' of https://github.com/Bodigrim/ghc-mod 2015-08-18 03:49:16 +02:00
Anthony Cowley
b4bb930037 Improved documentation browsing on OS X.
Opening a tab in Safari using AppleScript preserves URL anchors. The use
of this function may be toggled with a new customization option.
2015-08-17 15:36:21 -04:00
Anthony Cowley
78c5cea161 DeferErrors implies DeferTypedHoles in GHC >= 7.10
The Opt_DeferErrors flag should imply Opt_DeferTypedHoles. The proper
API for setting these flags that implements such implications is
unfortunately not exposed by GHC.
2015-08-17 15:14:44 -04:00
Alejandro Serrano
45f8194c0c Set -fdefer-types-holes in case split 2015-08-17 14:54:10 -04:00
Nikolay Yakimov
3dea19b270 Fix getCanonicalFileNameSafe to work on all relevant ghc versions 2015-08-17 10:39:49 +03:00
Kazu Yamamoto
3e0c06f50a Highlighting even strings with spaces. (#547) 2015-08-17 15:43:34 +09:00
Kazu Yamamoto
61922e249f fixing a bug that the cursor stays in the error buffer. 2015-08-17 15:17:14 +09:00
Nikolay Yakimov
0d78ee4096 getCanonicalFileNameSafe is now best-effort canonicalizatoin
Canonicalizes longest init of path possible, and appends rest verbatim
2015-08-17 08:43:34 +03:00
Daniel Gröber
f1191a419e Fix some warnings 2015-08-17 07:03:32 +02:00
Daniel Gröber
1f14ff08c6 Log exceptions as GmException 2015-08-17 06:52:56 +02:00
Nikolay Yakimov
f4aea2c08a Add new test-files to .cabal 2015-08-17 00:26:43 +03:00
Nikolay Yakimov
ab19da08db Removed redundant imports 2015-08-16 23:42:20 +03:00
Nikolay Yakimov
8ef8a86397 Unload mapped files before loading 2015-08-16 23:38:32 +03:00
Nikolay Yakimov
e0044a3697 Add FileMapping commands description to ghc-mod main. 2015-08-16 23:28:45 +03: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
20d6d4bae7 Disable lhs MemoryMapped test for now 2015-08-16 19:15:32 +03:00
Nikolay Yakimov
9a22662031 Update in-memory preprocessing check spec 2015-08-16 18:49:48 +03:00
Nikolay Yakimov
654b172f5e Add FileMapping support to HMG/preprocessFile
Post-rebase update
2015-08-16 18:22:27 +03:00
Nikolay Yakimov
70d2a4704b Tests for TH, LHS and CPP with FileMapping 2015-08-16 17:36:10 +03:00