Commit Graph

853 Commits

Author SHA1 Message Date
Daniel Gröber
7d75787ae3 Only add available package to ghc options
Fixes #185
2014-04-15 05:18:42 +02:00
Daniel Gröber
30b8366526 Refactor the way packages databases are handled
- cradle now stores a list of active package databases instead of only
  the user store (if present).

- rename `cradlePackageDb` -> `cradlePkgDbStack` as that`s what the ghc
  documentaion calls this kind of thing

- `getPackageDbPackages` now returns names of all visible packages in
  the given directory. Also the implementation now uses `ghc-pkg`
  instead of manually looking at the package database
2014-04-15 05:15:50 +02:00
Kazu Yamamoto
998a43ce24 removing depanal. 2014-04-11 12:56:06 +09:00
Kazu Yamamoto
196450af9f simplifying modSummary. 2014-04-11 12:41:39 +09:00
Kazu Yamamoto
3ed59464f0 just style. 2014-04-11 12:21:58 +09:00
Kazu Yamamoto
862e8c397c refactoring. 2014-04-11 12:19:42 +09:00
Kazu Yamamoto
dd8f9a5fcb refactoring. 2014-04-11 11:54:39 +09:00
Kazu Yamamoto
e9859980ab info/type does not require module name.
Fallback was removed. See #199.
2014-04-11 11:51:25 +09:00
Kazu Yamamoto
54bea65736 style change. 2014-04-11 11:15:59 +09:00
Kazu Yamamoto
ba4a1b9688 removing unnecessary code. 2014-04-11 11:13:24 +09:00
Kazu Yamamoto
1d2cf4cb9f fixing the fallback mechanism for info. 2014-04-11 11:02:05 +09:00
Kazu Yamamoto
29eead23b8 Merge pull request #215 from exFalso/ghc-modi-flag
added -g option to ghc-modi
2014-04-11 10:04:31 +09:00
exfalso
b1f6388cf5 added -g option to ghc-modi 2014-04-10 15:21:30 +02:00
Kazu Yamamoto
d6a81c0506 refactoring. 2014-04-10 16:41:05 +09:00
Kazu Yamamoto
d6762ede6e fixing typos. 2014-04-10 16:36:15 +09:00
Kazu Yamamoto
9cd3d521d4 Supporting GHC 7.8's unicode quote. 2014-04-09 15:17:51 +09:00
Kazu Yamamoto
770644e87d debug also displays sys lib dir. 2014-04-09 15:15:26 +09:00
Kazu Yamamoto
3bd0c3dafb changelog. 2014-04-08 14:13:54 +09:00
Kazu Yamamoto
02af334b94 imports Data.ByteString, System.FilePath, and System.Directory at booting. 2014-04-08 13:56:33 +09:00
Kazu Yamamoto
69ec168c7b errors over warnings (#212). 2014-04-08 13:42:41 +09:00
Kazu Yamamoto
b8423a2ce6 refactoring. 2014-04-08 13:35:16 +09:00
Kazu Yamamoto
4cd0a25ecb adding two mods to preferred. 2014-04-07 22:05:59 +09:00
Kazu Yamamoto
6be743c90a removing trailing \n for minibuf. 2014-04-07 15:23:18 +09:00
Kazu Yamamoto
f50d81769b Merge pull request #210 from notogawa/remove-redundancy
remove minibuffer error message redundancy.
2014-04-07 15:08:43 +09:00
Kazu Yamamoto
e537624e65 ver bumps up. 2014-04-07 15:04:27 +09:00
Kazu Yamamoto
4b9b26655a checking buffer-read-only. 2014-04-07 14:59:53 +09:00
notogawa
720a01326e remove minibuffer error message redundancy. 2014-04-07 14:56:50 +09:00
Kazu Yamamoto
58e0b91e65 elisp doc update. 2014-04-07 14:51:24 +09:00
Kazu Yamamoto
ff97eaeb43 Merge pull request #209 from yuga/option
add command line option: -b sep
2014-04-07 14:41:34 +09:00
Shohei Murayama
a33aeaa973 add command line option: -b sep 2014-04-07 14:08:54 +09:00
Rohan Jain
a21178d2af Use temporary buffer for ghc-display
Instead of opening a normal editable buffer (in which editing text does
not make a lot of sense), use Emacs's temporary buffer. Benefits:

   - Read only: Text cannot be modified when focused.
   - Much easier to close (press q), after reading or copying from the
     warning/error.

Signed-off-by: Rohan Jain <crodjer@gmail.com>
2014-04-07 12:52:58 +09:00
Kazu Yamamoto
cc519edc98 fixing #204. 2014-04-07 12:02:10 +09:00
Kazu Yamamoto
894c94e48d comment. 2014-04-07 09:19:23 +09:00
Kazu Yamamoto
c356bb7fc5 Merge pull request #207 from Kiripon/windowsFilePathHandling
fix filepath handling in windows
2014-04-07 09:18:51 +09:00
kiripon
52358d084e fix filepath handling in windows 2014-04-06 09:36:49 +01:00
Kazu Yamamoto
051dc7c888 moving a variable to a proper place. 2014-04-05 22:39:22 +09:00
Kazu Yamamoto
2f7a36ecfc Merge pull request #206 from notogawa/display-minibuf
display error message to minibuffer when goto next/prev error.
2014-04-05 20:30:23 +09:00
notogawa
86feaea7c5 fix for https://github.com/kazu-yamamoto/ghc-mod/pull/206#issuecomment-39628265 2014-04-05 09:53:28 +09:00
Noriyuki OHKAWA
a5c62acec9 display error message to minibuffer when goto next/prev error. 2014-04-04 23:52:09 +09:00
Kazu Yamamoto
5ca0da14ec ver bumps up. 2014-04-03 16:31:17 +09:00
Kazu Yamamoto
63fdd28025 setting current dir to root dir. 2014-04-03 16:18:35 +09:00
Kazu Yamamoto
89c733aef8 hlint hack. 2014-04-03 16:17:51 +09:00
Kazu Yamamoto
246ea5e2c9 fixing cabal macro. 2014-04-03 10:22:29 +09:00
Kazu Yamamoto
172645aa9f ver bumps up. 2014-04-03 10:02:04 +09:00
Kazu Yamamoto
b390cd5ee0 changelog. 2014-04-03 10:01:47 +09:00
Kazu Yamamoto
a6579c656b Displaying a qualified name if two unqualified names are conflict (#130). 2014-04-03 09:49:23 +09:00
Kazu Yamamoto
ef266374c0 defining ghc-preferred-modules. 2014-03-31 16:04:44 +09:00
Kazu Yamamoto
fa0d97cf24 displaying also a function name. 2014-03-31 15:55:15 +09:00
Kazu Yamamoto
ea915993fa insert vs highlight. 2014-03-31 15:44:50 +09:00
Kazu Yamamoto
bfdc884708 making multiple same errors to a single. 2014-03-31 15:14:16 +09:00