Commit Graph

3904 Commits

Author SHA1 Message Date
Alan Zimmerman
d84b84322c
Add deprecation notice to README
This is prior to archiving in favour of https://github.com/haskell/haskell-language-server

See https://github.com/haskell/haskell-language-server/issues/473
2020-10-07 17:52:00 +01:00
Luke Lau
e4972ff44c
Merge pull request #1794 from bubba/fix-configuration-section-name
Rename configuration section languageServerHaskell => haskell
2020-08-05 12:18:23 +01:00
Luke Lau
be5b41c4d9 Rename configuration section languageServerHaskell => haskell
Brings it inline with other language servers, and also fixes it with
vscode-hie-server 0.1
2020-07-27 14:58:54 +01:00
Javier Neira
a9005b2ba2
Merge pull request #1787 from JohnTasto/patch-1
Update README.md adding zlib1g-dev as ubuntu 20.04 required lib
2020-06-16 06:56:28 +02:00
John Tasto
fe9a88506f
Update README.md
`zlib1g-dev` is missing in at least the WSL2 version of Ubuntu 20.04, which causes the build to fail.
2020-06-15 21:44:55 -07:00
Javier Neira
fe630a1e31
Merge pull request #1773 from jneira/fix-cabal-8.6.5-build
Avoid building docs for haddock-api + cabal + ghc-8.6.5 to fix the install script build
2020-05-23 15:54:48 +02:00
Justin Lebar
60c5d3a8a9 README.md: Change display of settings.json sample
The `settings.json` sample is not valid JSON, it's more of a JSON schema.  Using JSON highlighting causes github to (un)helpfully highlights the "errors".

Also fix a minor grammar mistake.
2020-05-23 11:11:55 +02:00
jneira
e348acda6f Avoid building docs for haddock-api 2020-05-20 11:05:18 +02:00
Javier Neira
51b9739510
Merge pull request #1771 from jneira/cabal-helper-1.1
Use cabal-helper 1.1
2020-05-14 13:11:51 +02:00
jneira
ae315a3648 Correct revision again (lost in rebase) 2020-05-13 15:14:50 +02:00
jneira
40fdd59d26 Use correct rev:n instead sha 2020-05-13 15:12:38 +02:00
jneira
e45ea115c5 Use Cabal version in CPP conditions instead GHC 2020-05-13 15:11:02 +02:00
jneira
bf3ce5096a Add cabal-helper-1.1 to cabal config 2020-05-13 15:11:02 +02:00
jneira
cecd7c49bf Use cabal-helper-1.1 in stack config 2020-05-13 15:10:55 +02:00
Javier Neira
e68018a652
Merge pull request #1770 from Infinisil/stack-rev
Fix stack.yaml syntax for a specific revision
2020-05-13 00:32:05 +02:00
Silvan Mosberger
495d6cf513
Fix stack.yaml syntax for a specific revision
See also https://github.com/haskell/haskell-ide-engine/pull/1694#issuecomment-627456134
2020-05-12 18:35:08 +02:00
Alan Zimmerman
384e6827c5 Bump cabal index-state to include hie-bios-0.5.0
Fixes #1767
2020-05-10 21:46:48 +02:00
fendor
aca3241eb0 Update to hie-bios 0.5.0 2020-05-09 10:43:42 +02:00
Alan Zimmerman
d9d21fb067
Merge pull request #1759 from alanz/prepare-1.4
Prepare 1.4 release
2020-05-03 17:16:20 +01:00
Alan Zimmerman
0347590458 Prepare 1.4 release 2020-05-03 11:21:55 +01:00
Alan Zimmerman
38c6ca6b63
Merge pull request #1757 from alanz/bump-resolvers
Bump resolvers
2020-05-02 21:47:20 +01:00
Alan Zimmerman
73a9f77334 Sort out ghc-nightly build 2020-05-02 19:23:27 +01:00
Alan Zimmerman
55a82ee3d4 Fix cabal build for GHC 8.8.3 2020-05-02 16:59:55 +01:00
Alan Zimmerman
6c8e8477f6 Bump resolvers
cabal to 2020-05-02T10:11:15Z
stack-8.8.3 to lts-15.10
stack to nightly-2020-05-01
2020-05-02 14:11:10 +01:00
fendor
6dc7d4302b Move finding the package for a filepath
Currently, hie-wrapper uses the cradle type to find the ghc version to
use on the project. Cabal-Helper does not only return the cradle type
but also initialises the packages of the project, which may take a long
time since it starts building dependencies. Moreover, it causes
hie-wrapper to take way longer than necessary to find the project type,
and thus, the ghc version to use on the project.
This violates the isolation of the cradle, some work happens before
loading the options for a filepath, some during it.
This commit unifies the behaviour with hie-bios:

  * All the work happens during loading the options for the given
    filepath.

It speeds up the initial start-up of hie if users use the implicit
cradle discovery mechanism.
It makes the implementation a bit less hacky.

While there are behavioural changes, nothing should change for everyday
users.
2020-04-23 19:35:49 +02:00
fendor
16d1a630b2
Merge pull request #1742 from ssanj/patch-1
Update Sublime Text HIE command
2020-04-18 17:13:00 +02:00
Sanjiv Sahayam
06fd0628ba
Update Sublime Text HIE command
The `hie` command needs to include the `--lsp` parameter for it to work as an LSP server.
2020-04-18 22:25:57 +10:00
Javier Neira
f2c727b284
Merge pull request #1737 from jneira/stack-linux
Use preinstalled ghcs in stack linux builds
2020-04-15 23:43:50 +02:00
jneira
4fdd91105e Put ghcs used by wrapper-test in path 2020-04-14 22:31:00 +02:00
unknown
e61670f75f Strip RTS flags, since we cant honor them
Issue that caused it:
https://github.com/haskell/haskell-ide-engine/issues/1725

the problem is that we cant honour the `+RTS` flags, since these need to
be known when GHC is started. However, HIE is the compiler and is
started before we load any component.
Therefore, these options for the different component are unusable and we
strip them here to avoid a bug.
This commit is inspired by
https://github.com/mpickering/hie-bios/issues/102
2020-04-14 15:45:41 +02:00
jneira
a5d8c1968c Use installed ghc in stack linux build
To avoid download it again and not waste disk space
2020-04-13 15:45:29 +02:00
Javier Neira
78eb87b221
Merge pull request #1697 from jneira/ghc-8.8.3
Support for ghc-8.8.3
2020-04-10 23:43:48 +02:00
jneira
6aa0e39be5 Drop ghc-8.8.3 from azure stack jobs 2020-04-09 22:53:58 +02:00
jneira
9327f6389e Correct ghc-8.8.3 stack.yaml's 2020-04-09 22:14:32 +02:00
jneira
6765fa6f6c Install hie-8.6.5 to avoid segfaults with ghc-8.8.3 2020-04-09 21:44:48 +02:00
jneira
d4a6a17a02 Update resolvers of install/shake.yaml 2020-04-09 21:44:48 +02:00
jneira
49c76b919e Don't use ghc-8.8.3 for windows cabal 2020-04-09 21:44:47 +02:00
jneira
b580f7bd4b Dont build windows with stack-8.8.3.yaml 2020-04-09 21:44:46 +02:00
jneira
3fb74dc880 Use resolver instead yaml files to download ghc 2020-04-09 21:44:45 +02:00
fendor
9073c3997b Update Testutils to use the correct stack.yaml 2020-04-09 21:44:45 +02:00
jneira
e8e801fbec Remove not needed project files 2020-04-09 21:44:00 +02:00
jneira
385ee03b3a Update index-state to latest 2020-04-09 21:44:00 +02:00
jneira
5465d913ca Use last versions of haddock and unlift-io-core 2020-04-09 21:43:59 +02:00
jneira
0bdf8ccd9c Update ghc-8.8.3 stackage resolvers 2020-04-09 21:43:41 +02:00
jneira
8e7739498e Change ghc-8.8.1 -> ghc-8.8.3 in circle ci config 2020-04-09 21:42:56 +02:00
jneira
9ec87df18e Use ghc-8.8.3 for macos-installhs-cabal 2020-04-09 21:42:55 +02:00
jneira
68a57bb61c Avoid unlift-core-0.2.0.0 2020-04-09 21:42:54 +02:00
jneira
07d603368b Remove ghc-8.8.1 (version without lts) 2020-04-09 21:42:36 +02:00
jneira
41deffa992 Update index state to use hsimport rev 2020-04-09 21:42:05 +02:00
jneira
7d71a48c45 Add ghc-8.8.3 to ci 2020-04-09 21:42:05 +02:00