Commit Graph

2143 Commits

Author SHA1 Message Date
Agustín Mista
f559616967 Fixed Gap.fromTyThing
fromTyThing was rendering the internal representation rather than
user representation for ADataCon and AConLike TyThing type
constructors.
2016-12-13 11:30:24 -03:00
Daniel Gröber
8be4885d86 Merge pull request #854 from l984/master
Fix for "ghc-mod doc" when used with stack projects
2016-12-06 13:30:13 +01:00
Jurijs Oniscuks
80ddf63691 Fix for "ghc-mod doc Data.Maybe" when used with stack projects
When ghc-pkg is invoked from a stack project the global database is
indeed used:

  $ stack exec -- ghc-pkg find-module Data.Maybe
  /var/lib/ghc/package.conf.d
      base-4.9.0.0
  /home/user/.stack/snapshots/x86_64-linux/lts-7.11/8.0.1/pkgdb
      (no packages)
  /home/user/work/ghc-mod-5.6.0.0/.stack-work/install/x86_64-linux/lts-7.11/8.0.1/pkgdb
      (no packages)

Therefore "ghc-mod doc" should also use GlobalDb
2016-12-04 01:17:58 +01:00
Daniel Gröber
9ef3e67f21 hackage-meta: update upload script 2016-11-02 00:48:51 +01:00
Daniel Gröber
6fdccfbebe hackage-meta: Fix 5.6 dependencies 2016-11-02 00:48:24 +01:00
Daniel Gröber
ccda359442 hackage-meta: import revisions 2016-10-31 21:15:02 +01:00
Daniel Gröber
a0ff7155e6 hackage-meta: correct some mistakes 2016-10-31 00:10:36 +01:00
Daniel Gröber
737b7c8d25 hackage-meta: make download script use all versions 2016-10-30 22:46:12 +01:00
Daniel Gröber
3bb2e26b4d hackage-meta: some scripts for filling out missing bounds 2016-10-30 22:45:44 +01:00
Daniel Gröber
27feb31e18 hackage-meta: Add lower and upper bound to non boot packages 2016-10-30 22:43:30 +01:00
Daniel Gröber
7cb3c94e0b hackage-meta: upload times for all deps 2016-10-30 20:52:46 +01:00
Daniel Gröber
455bd654d6 README 2016-10-26 16:22:34 +02:00
Nikolay Yakimov
3081e1d8f5 Fix problem with MIN_VERSION_GLASGOW_HASKELL on GHC<7.10.1 2016-10-25 21:25:28 +03:00
Daniel Gröber
757e17f34a Fix 'withCleanupSession' CPP conditional 2016-10-23 22:43:54 +02:00
Daniel Gröber
ad99dd9c55 Gap: Untangle some CPP conditionals 2016-10-22 16:40:00 +02:00
Joe Hermaszewski
b1ea960f29 Add support for ghc-8.0.2 2016-10-20 14:56:57 +01:00
Daniel Gröber
a4f5e1adbb Merge branch 'patch-1' of https://github.com/cblp/ghc-mod 2016-10-12 22:41:44 +02:00
Yuriy Syrovetskiy
fa84d8b297 fix github links 2016-10-12 16:56:15 +04:00
Tomas Janousek
29d149866e Fix "ghc-mod root" leaving garbage in tmp 2016-10-10 22:17:11 +02:00
Daniel Gröber
b7cda9e9b9 Fix findFilesInParentsP appending wrong directory 2016-09-17 18:09:48 +02:00
Daniel Gröber
9074e6e31c Stop search early in 'find*File' (Fix #774)
We now stop the search early instead of examining all directories on
from CWD to /.
2016-09-17 17:46:17 +02:00
Daniel Gröber
5b77feb4e3 Fix #778, findFileInParentsP: check dir perms before reading 2016-09-16 01:29:31 +02:00
Daniel Gröber
4bea7d5a85 Remove dead code 2016-09-16 01:20:23 +02:00
Daniel Gröber
a97e39242d Remove redundant build-dependency 2016-09-07 23:40:34 +02:00
Daniel Gröber
73e3fcbba5 Update Cabal metadata homepage link 2016-09-07 23:40:34 +02:00
Daniel Gröber
c80706cbb5 Setup.hs: remove useless stuff 2016-09-07 23:40:34 +02:00
Nikolay Yakimov
8be4cdfe5f Merge pull request #830 from DanielG/stack-test-project-resolver
Stack test project resolver
2016-08-30 00:38:59 +03:00
Nikolay Yakimov
01adcff875 [Test] Write stack.yaml directly instead of stack init 2016-08-29 00:11:08 +03:00
Nikolay Yakimov
8352b0207c [Test] Only git-clean ignored files 2016-08-28 23:59:55 +03:00
Nikolay Yakimov
f8acb77e6b [Test] Use git to clean test/data/ 2016-08-28 23:33:40 +03:00
Nikolay Yakimov
05d87f4175 [Test] Stack: use ghc-* resolver based on ghc version 2016-08-28 23:27:39 +03:00
Nikolay Yakimov
dd45f6e31d Gitingore test project stack.yaml 2016-08-28 23:19:12 +03:00
Nikolay Yakimov
225e298977 Remove stack.yaml from test stack project 2016-08-28 23:16:35 +03:00
Nikolay Yakimov
57a31c348d Use HLint3.hlint in Lint
Related: #826
2016-08-27 19:33:26 +03:00
Daniel Gröber
90bcf63d6c stack: honor --with-stack when reading StackEnv 2016-08-27 14:16:13 +02:00
Nikolay Yakimov
637f73ec80 Don't build stack dependencies by default
Adds a global option `--stack-build-deps` to enable old behavior
2016-08-24 18:09:29 +03:00
Nikolay Yakimov
c97049836f [Travis] Add doctest 2016-08-09 15:06:24 +03:00
Nikolay Yakimov
e8f42af74b Let doctests accept actual distdir from env 2016-08-09 15:06:24 +03:00
Nikolay Yakimov
bb754b896f [Travis] Fail early on stack solver fails 2016-08-09 13:02:59 +03:00
Daniel Gröber
5e83a8b2fc Merge branch 'hse-1.18' of https://github.com/phadej/ghc-mod 2016-08-08 19:03:18 +02:00
Daniel Gröber
44ff0a8837 Merge pull request #822 from akermu/redirect_error_output
Redirect error ouput in `ghc-run-ghc-mod'
2016-08-08 17:13:56 +02:00
Lukas Fürmetz
0785f5c272 Redirect error ouput in `ghc-run-ghc-mod'
Fixes #820.
2016-08-08 15:51:49 +02:00
Nikolay Yakimov
78e7f2dce6 Merge branch 'stack-travis' into HEAD 2016-08-06 22:09:04 +03:00
Nikolay Yakimov
d57cd06de8 Syntax fix 2016-08-04 06:48:10 +03:00
Nikolay Yakimov
e82c1be1cb Indent fix 2016-08-04 06:43:59 +03:00
Nikolay Yakimov
e1685a0c73 Add packages: ['.'] to travis stack.yaml 2016-08-04 06:42:30 +03:00
Nikolay Yakimov
98ac91dd72 Test sdist on release* branch. Directly otherwise 2016-08-04 06:37:21 +03:00
Alex Lang
50917f8cbe Fix the slow checking issue in interactive mode 2016-08-04 05:01:47 +02:00
Nikolay Yakimov
c5c86c4ec1 Test sdist
If ChangeLog is present
2016-08-03 19:38:30 +03:00
Nikolay Yakimov
99e64b0307 travis_retry cabal update 2016-08-03 17:23:37 +03:00