Commit Graph

2307 Commits

Author SHA1 Message Date
Alan Zimmerman
cbe07e8c85 Add cabal.project to allow "cabal new-build"
Note: this is needed if any other project (such as HaRe) wants to use
"cabal new-build" having ghc-mod as a dependency.

Otherwise it is innocuous
2017-01-12 20:43:19 +02:00
Daniel Gröber
3d849e33bf Fix tests 2017-01-12 17:54:44 +01:00
Daniel Gröber
ee55da4908 Prepare for splitting off ghc-mod-core eventually 2017-01-12 17:05:47 +01:00
Alan Zimmerman
8a8ffa18ec Add semigroups as a dependency for older GHC versions 2017-01-12 15:46:29 +02:00
Alan Zimmerman
78e35d8a74 Changes to work with optparse-applicative 0.13.0.0 2017-01-12 15:35:57 +02:00
Daniel Gröber
85d38f5bc1 Merge pull request #864 from alanz/ghc802rc2
Update directory bounds for GHC 8.0.2 RC2
2017-01-08 16:06:47 +01:00
Alan Zimmerman
af68b599e2 Update directory bounds for GHC 8.0.2 RC2 2017-01-08 16:52:32 +02:00
Daniel Gröber
b859ca7f40 Merge branch 'master' of https://github.com/agustinmista/ghc-mod 2016-12-23 00:23:50 +01:00
Daniel Gröber
1ca4e5f399 Make 'render' work with ghc <8.0 2016-12-15 21:18:32 +01:00
Daniel Gröber
7e48eb12cb Allow haskell-src-exts-1.19 2016-12-15 15:34:44 +01:00
Daniel Gröber
c6786209fc Allow pipes-4.3 2016-12-15 15:26:40 +01:00
Daniel Gröber
471e47d512 Merge branch 'ghc802rc1' of https://github.com/expipiplus1/ghc-mod 2016-12-15 15:22:51 +01:00
Daniel Gröber
4066a77de1 Import cabal file changes from hackage-metadata 2016-12-15 15:20:24 +01:00
Daniel Gröber
5d3e5932a7 Remove dependency on 'pretty'
Now using GHC's 'Pretty' module instead
2016-12-15 15:20:24 +01:00
Daniel Gröber
e32cb977b7 Fix some old repo URLs 2016-12-15 15:20:24 +01:00
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
Joe Hermaszewski
666f47ca14 Add support for ghc 8.0.2 rc1 2016-11-30 12:46:14 +00: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