Commit Graph

2191 Commits

Author SHA1 Message Date
Nikolay Yakimov
4ff819906d NFData ByteString instance for GHC-7.4 2016-01-09 18:51:57 +03:00
Nikolay Yakimov
c9a832de0f NFData fix for ClockTime on GHC 7.4 2016-01-09 17:59:57 +03:00
Nikolay Yakimov
68689bfcfd Use Binary for 'find' communication channel 2016-01-09 17:27:21 +03:00
Nikolay Yakimov
b9c796421f Silence GHC>=7.10 warning 2016-01-09 17:19:00 +03:00
Nikolay Yakimov
64a45fa510 Fail (NG) on command format errors 2016-01-08 22:10:50 +03:00
Daniel Gröber
16b63cf22c Merge branch 'new-hlint' of https://github.com/atom-haskell/ghc-mod 2016-01-08 18:20:59 +01:00
Nikolay Yakimov
9b512c3e6b Gracefully fail if stack couldn't be initialized 2016-01-08 19:17:43 +03:00
Nikolay Yakimov
3700fa00e6 Fix dist/setup-config path in stack cradle init. 2016-01-08 19:17:43 +03:00
Daniel Gröber
89b1ac2d1e Optimize dumpsym maximum memory usage
This took ages to track down. Turns out GHC keeps references to all
loaded ModIfaces in the PackageInterfaceTable in ExternalPackageState
for caching. ExternalPackageState is in an IORef in HscEnv so
overwriting that with a copy from right after init improves things a
bit. Next I use unsafeInterleaveIO to load the ModIfaces as we serialize
the symbol table rather than before thus reducing the amount of memory
needed even more.
2016-01-08 16:58:40 +01:00
Daniel Gröber
84fa5f89cf Merge branch 'release-5.5.0.0' 2016-01-08 16:01:47 +01:00
Nikolay Yakimov
553389ed7b Try adding a standalone deriving read instance 2016-01-06 19:22:49 +03:00
Nikolay Yakimov
da1c1bebb2 Use stdout pipe instead of temp.files in Find 2016-01-05 13:44:17 +03:00
Nikolay Yakimov
dfa0e7e31e Use new hlint API 2016-01-05 11:34:38 +03:00
Daniel Gröber
306cb939a9 Update stack.yaml 2016-01-04 23:58:44 +01:00
Daniel Gröber
73863e0b00 Remove GMEWrongWorkingDirectory constructor 2016-01-04 21:44:49 +01:00
Daniel Gröber
d3c159821a Update cabal file Authors field
Welcome to the club @lierdakil :)
2016-01-04 21:43:20 +01:00
Daniel Gröber
37918fdfbe bump.sh: Allow version tags 2016-01-04 20:48:51 +01:00
Daniel Gröber
ab1fa9cc13 Bump version to 5.5.0.0 2016-01-04 20:36:27 +01:00
Daniel Gröber
0e63e8d326 Update bump.sh for seperate release branches 2016-01-04 20:36:19 +01:00
Daniel Gröber
7bbaa35f56 Reinstate cwd setup, this time with locking 2016-01-04 20:15:55 +01:00
Daniel Gröber
254f6a9a73 Get rid of landmine 2016-01-04 06:05:40 +01:00
Daniel Gröber
ec5a362179 Add AsyncSymbolDb to fix runGhcMod race condition for good 2016-01-04 05:27:31 +01:00
Daniel Gröber
d2f7df21df Fix instances for GHC<7.8 2016-01-04 01:23:46 +01:00
Daniel Gröber
67c9538f30 Fix 7.6 warning 2016-01-04 01:23:46 +01:00
Daniel Gröber
cde7ac77f0 Add missing extra-src files 2016-01-04 01:23:46 +01:00
Daniel Gröber
699ce178cb Split L.H.GM.Monad.Types module 2016-01-04 01:23:46 +01:00
Daniel Gröber
1c13cb3d3c Fix instances for GHC<7.8 2016-01-04 01:11:05 +01:00
Daniel Gröber
e08e4da3dc Fix 7.6 warning 2016-01-04 01:11:05 +01:00
Daniel Gröber
7a01b627d2 Add missing extra-src files 2016-01-04 01:11:05 +01:00
Daniel Gröber
4c956057ec Split L.H.GM.Monad.Types module 2016-01-02 01:05:30 +01:00
Daniel Gröber
59193c71cd Merge branch 'shell-parse-stx-etx' of https://github.com/atom-haskell/ghc-mod into release-5.5.0.0 2015-12-30 23:02:52 +01:00
Nikolay Yakimov
9f5dc6dc3c [Shell-escape] Add empty input string test 2015-12-30 21:18:57 +03:00
Nikolay Yakimov
849496c047 [Shell-escape] 'ascii-escape ' prefix toggle 2015-12-30 21:11:39 +03:00
Nikolay Yakimov
d49d4cf2ea [Shell-escape] Escape toggle with \ prefix
E.g.
    check file.hs
will treat quote characters as literal characters, while
    \check file.hs
will assume quoting behavior

Backslash will be dropped, naturally.
2015-12-30 20:46:06 +03:00
Daniel Gröber
13632817a4 Make tempdirs less annoying 2015-12-30 14:24:56 +01:00
Daniel Gröber
cee8a29a54 Don't need type errors here 2015-12-28 13:59:59 +01:00
Daniel Gröber
bcab7a0395 docs 2015-12-28 13:57:24 +01:00
Daniel Gröber
28a0d26fe3 Fix GHC<7.10 2015-12-28 13:57:24 +01:00
Daniel Gröber
7374f1ba17 Add 'test' command for running QuickCheck props 2015-12-28 13:57:24 +01:00
Nikolay Yakimov
fff9087ff7 [Shell-Parse] Use \STX and \ETX for quoting
Also drops escaping
2015-12-27 02:45:20 +03:00
Nikolay Yakimov
41b9c0bbf2 Better log-level option
* Allow using strings with `--loglevel`
* `-v` now raises log level relative to `--loglevel` or `--silent`
* Use GmLogLevel instead of Int for parser base
2015-12-25 08:20:09 +03:00
Nikolay Yakimov
5e4026b946 GHC 7.8 mtl compat 2015-12-20 15:34:14 +03:00
Nikolay Yakimov
78e34f82a6 Put Control.Applicative back 2015-12-20 15:26:16 +03:00
Nikolay Yakimov
adc712f7ad Move interactive handlers to ghcCommands 2015-12-20 15:14:17 +03:00
Nikolay Yakimov
23416e9aeb Better error reporting, cleanup 2015-12-20 15:02:31 +03:00
Nikolay Yakimov
631c449e0c Interactive help and better error reporting 2015-12-20 14:30:30 +03:00
Nikolay Yakimov
1c45404f74 Merge remote-tracking branch 'upstream/master' into interactive-shell-syntax 2015-12-20 13:55:22 +03:00
Nikolay Yakimov
ddfcd6c281 Extended --map-file docs 2015-12-20 13:50:12 +03:00
Nikolay Yakimov
92f53f7b3b Monadic pretty opt desc builder 2015-12-20 13:48:47 +03:00
Nikolay Yakimov
63f05508b8 FileMapping library docs 2015-12-20 13:45:51 +03:00