Commit Graph

1903 Commits

Author SHA1 Message Date
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
Nikolay Yakimov
fff9087ff7 [Shell-Parse] Use \STX and \ETX for quoting
Also drops escaping
2015-12-27 02:45:20 +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
Nikolay Yakimov
2306fbf9e5 Import pretty-print from optparse
instead of depending on ansi-wl-pprint
2015-12-20 08:47:52 +03:00
Nikolay Yakimov
c3cf416097 Rename module ShellEscape → ShellParse 2015-12-20 08:26:49 +03:00
Nikolay Yakimov
057f6fba10 Use fewer pattern matches 2015-12-20 08:24:14 +03:00
Nikolay Yakimov
a31b71c2d8 [FIX] Generalize escape character 2015-12-20 08:17:30 +03:00
Nikolay Yakimov
06be93bb89 Drop support for single quotes in interactive mode 2015-12-20 07:01:46 +03:00
Nikolay Yakimov
d0c53ec937 Forbid "leftover" args to interactive commands 2015-12-20 06:41:34 +03:00
Nikolay Yakimov
a1079f22a0 Expand map-file and unmap-file interactive help 2015-12-20 06:38:28 +03:00
Nikolay Yakimov
7afb810f64 Legacy-interactive help 2015-12-20 06:31:14 +03:00
Nikolay Yakimov
feae07da5b Shell-like syntax for interactive mode 2015-12-20 06:05:43 +03:00
Nikolay Yakimov
6d9ed9a255 Use optparse-applicative for interactive commands 2015-12-20 04:22:17 +03:00
Daniel Gröber
2988749b84 README: Use master branch for travis-ci status image 2015-12-16 21:49:53 +01:00
Daniel Gröber
6de02ea470 Cleanup loadTarget logic 2015-12-16 00:24:14 +01:00
Daniel Gröber
d25908d3cb Update 5.3.0.0 metadata 2015-12-15 22:59:32 +01:00
Daniel Gröber
e7a186a103 elisp: Fix excessive use of map-file
We still don't do unmap-file but this should alleviate the problem
somewhat since most commands won't actually use map-file.
2015-12-12 01:43:16 +01:00
Daniel Gröber
b9bd4ebf77 Fix warning with ghc 7.10 2015-12-09 23:38:31 +01:00
Nikolay Yakimov
fcf82ae101 [Optparse] GPL headers 2015-12-10 01:26:05 +03:00
Nikolay Yakimov
2921df2d31 Relax optparse-applicative dependency 2015-12-10 01:26:05 +03:00
Nikolay Yakimov
80f8e0bb99 [Optparse] Browse, lint interactive commands 2015-12-10 00:40:37 +03:00
Nikolay Yakimov
cdaf586941 Haddock documentation 2015-12-07 19:57:33 +03:00
Nikolay Yakimov
01e1a83c25 [Optparse] s/##/<=>/g 2015-12-06 21:30:03 +03:00
Nikolay Yakimov
67cabf3cdf Add monoid import for ghc<7.10 2015-12-06 21:05:12 +03:00
Nikolay Yakimov
c96b237147 Better legacy-interactive args parser 2015-12-06 19:47:11 +03:00
Nikolay Yakimov
d255da0c89 Formatting 2015-12-06 19:22:21 +03:00
Nikolay Yakimov
c8440a5c4d File-map comment doc update 2015-12-06 17:26:24 +03:00
Nikolay Yakimov
d9292e0a63 Remove extraneous newline in version output 2015-12-06 02:43:12 +03:00
Nikolay Yakimov
75202b4be8 Optparse removed unused function 2015-12-06 02:41:02 +03:00
Nikolay Yakimov
41d7988972 Use readMaybe from Language.Haskell.GhcMod.Read 2015-12-06 02:29:30 +03:00
Nikolay Yakimov
3665026fbf Disambiguate logLevelParser 2015-12-06 02:11:49 +03:00
Nikolay Yakimov
9fd738ec97 Optparse GHC 7.4 compatibility 2015-12-06 01:36:09 +03:00
Nikolay Yakimov
b2fb54a356 Fix tests, move option records to Types module 2015-12-06 00:56:19 +03:00
Nikolay Yakimov
ad16b739eb Optparse-applicative 2015-12-05 23:55:12 +03:00
Nicolas Rolland
bff86be69f some refactoring 2015-11-27 11:15:25 +01:00
Nicolas Rolland
e1d2de96c8 fixing tests for logging 2015-11-27 11:15:25 +01:00
Nicolas Rolland
1a8020774e adding Get logging level 2015-11-27 11:15:25 +01:00
Nicolas Rolland
d0ea69b61b handling logging level 2015-11-27 11:15:25 +01:00
Nicolas Rolland
06323ac20f adding logging to findCradle methods 2015-11-27 11:15:25 +01:00
Daniel Gröber
16c69b2743 Disable stack support for ghc <7.8 2015-11-26 19:21:15 +01:00
Daniel Gröber
1c0c97bdbb Typo 2015-11-26 16:31:53 +01:00