Commit Graph

3072 Commits

Author SHA1 Message Date
Luke Lau
81cebbec40 Merge branch 'master' of https://github.com/haskell/haskell-ide-engine into new-haskell-lsp-options 2019-11-18 18:09:57 +00:00
flip111
e839e89e93 Update README.md
I had to look up an additional website where specifically to find this policy. I clarified this in the readme.
2019-11-18 15:38:19 +03:00
Alan Zimmerman
41e4b2a8d9
Merge pull request #1457 from alanz/haskell-lsp-0.18
Bump haskell-lsp et al to 0.18.0.0
2019-11-17 18:30:21 +00:00
Alan Zimmerman
bb7c702a41 Bump haskell-lsp et al to 0.18.0.0 2019-11-17 16:47:49 +00:00
Javier Neira
60fae44be1
Merge pull request #1449 from jneira/test-liquid-version
Unit test to check if liquid haskell exe version is the supported one
2019-11-11 18:40:26 +01:00
jneira
8d1e590de6 Unit test over the liquid haskell supported version 2019-11-11 13:49:57 +01:00
jneira
865ef78bbe Add process dep to unit-test 2019-11-11 13:48:00 +01:00
Alan Zimmerman
98acf41752
Merge pull request #1440 from alanz/liquid-tests-0.8.6.2
Adapt liquid haskell tests for version 0.8.6.2
2019-11-09 21:59:08 +00:00
Alan Zimmerman
0e6742d204 Disbale some logging 2019-11-09 19:28:41 +00:00
Alan Zimmerman
bfb16324d3 Call flushStackEnvironment before starting a lsp-test session 2019-11-09 18:15:24 +00:00
Alan Zimmerman
acf6c96339 Generalise flushing stack environment for tests 2019-11-09 15:14:57 +00:00
Alan Zimmerman
d646605fb3 Make sure test dispatcher runs in a clean environment 2019-11-09 14:58:50 +00:00
Alan Zimmerman
7a9b56342e Adapt liquid haskell tests for version 0.8.6.2
This needs https://github.com/alanz/haskell-dockerfiles/pull/2 for CI,
to update the base image GHC and liquid haskell version.
2019-11-07 23:30:28 +00:00
Javier Neira
c253cbb68a
Merge pull request #1437 from jneira/ignore-unset-path
Ignore the stack PATH fix if the env var is not set
2019-11-07 10:33:33 +01:00
jneira
b089c8b6b8 Remove unused language extension 2019-11-07 09:29:39 +01:00
jneira
f581cd6127 Catch the specific IOException in the getEnv error handler 2019-11-07 08:05:47 +01:00
Alan Zimmerman
0bbec7d7e0
Merge pull request #1438 from alanz/liquid-tests
Make sure the liquid haskell test files are generated for unit-test
2019-11-06 22:42:34 +00:00
Alan Zimmerman
a1b2f8c5d8 Make sure the liquid haskell test files are generated for unit-test
We must run the liquid exe to generate results to be parsed.
2019-11-06 21:31:05 +00:00
jneira
4cfe6779bf Catch IOException instead SomeException 2019-11-06 13:44:50 +01:00
jneira
05220f2105 Ignore the PATH fix if it is not set 2019-11-06 12:06:32 +01:00
Luke Lau
2a6a1885cd Update LSP options for new haskell-lsp 2019-11-05 16:36:45 +00:00
fendor
7cf1295a28 Drop CPP directives for GHC 8.2.2 in test folder 2019-10-31 10:52:11 +01:00
fendor
2d39a8d2a4 Remove old hlint dependency from cabal file 2019-10-31 10:52:11 +01:00
fendor
4d748f5d08 Drop CPP directives guarding GHC 8.2.2 statements 2019-10-31 10:52:11 +01:00
fendor
257eda54bb Drop stack support for GHC 8.2.2
This is necessary, because when we upgrade cabal-helper,
and transivitely cabal-plan to  version 0.5.0.0 in #1126,
the minimum cabal-version is 2.2.
However, each stack snapshot ships with its own version
of cabal-install that can not be changed.

The latest lts for ghc-8.2.2 is 11.18, which ships with
a cabal-install version of 2.0.0.1, which is too old
for cabal-plan 0.5.0.0.

However, in general, there is nothing that forces us to
drop support for GHC 8.2.2. Overriding the compiler version
should be possible, e.g. taking the snapshort 14.8 and
overriding the GHC version, but this requires us
to do manual constraint solving. Could be done if needed.
2019-10-31 10:52:11 +01:00
Luke Lau
6c0b7fad18
Merge pull request #1427 from bubba/register-rename-implementation
Register rename and implementation provider
2019-10-27 19:34:42 +00:00
Luke Lau
10bba5a4b7 Register rename and implementation provider
These need to be passed to haskell-lsp in order to declare it in the
server capabilities.
2019-10-27 17:58:40 +00:00
Alan Zimmerman
72d4ff6ff8
Merge pull request #1424 from bubba/fix-1422
Fix snippets configuration option not working
2019-10-26 11:17:25 +01:00
Luke Lau
83da0337ff Respect snippets configutation in CompletionItemResolve
Fixes #1422
2019-10-25 22:24:06 +01:00
Luke Lau
38a6febbee
Merge pull request #1421 from alanz/prepare-0.13
Preparing 0.13 release
2019-10-23 00:26:10 -07:00
Alan Zimmerman
3a17fce382 Preparing 0.13 release 2019-10-22 21:56:16 +01:00
Alan Zimmerman
f478eddb3a
Merge pull request #1419 from alanz/bump-resolvers
Bump resolvers and deps
2019-10-22 20:30:20 +01:00
Alan Zimmerman
627bf2d797 Prevent CircleCI OOM on "Install Hoogle" step 2019-10-22 17:57:35 +01:00
Alan Zimmerman
41cfce08b7 Clean up comment from yaml file 2019-10-21 21:55:03 +01:00
Alan Zimmerman
e53b22104b Bump resolvers and deps
brittany-0.12.1
floskell-0.10.1
hlint-2.2.3
hsimport-0.11.0
2019-10-21 21:32:26 +01:00
Luke Lau
3ec201f76d
Merge pull request #1418 from alanz/haskell-lsp-0.17
Update haskell-lsp to 0.17
2019-10-21 02:32:16 +01:00
Alan Zimmerman
60c0df26d1 Update haskell-lsp to 0.17
Together with haskell-lsp-types and lsp-test

This now supports LSP spec 3.15
2019-10-20 21:53:27 +01:00
Alan Zimmerman
414bbee3b6
Merge pull request #1413 from alanz/robust-tests
Robust tests
2019-10-16 16:17:55 +01:00
Javier Neira
623f8f6fa4
Merge pull request #1414 from haskell/jneira-update-readme
Add instructions about install cabal with stack and update instructions to run the build script with cabal on windows in the README
2019-10-16 12:06:56 +02:00
Javier Neira
7ab685b91a
Add instructions about install cabal with stack
and update instructions to run the build script with cabal on windows
2019-10-16 08:59:57 +02:00
Alan Zimmerman
dbff14b5ef Revert to stack 1.9.3
Stack 2.1.3 does not build cabal-helper properly on initial run.
2019-10-15 21:41:06 +01:00
Javier Neira
53acb90400
Merge pull request #1406 from jneira/stack-install-cabal
Find and run cabal in user original $PATH
2019-10-15 12:51:05 +02:00
Alan Zimmerman
8046e48d83 Explicitly log the args passed to MainHie 2019-10-14 22:57:42 +01:00
Alan Zimmerman
5e58c510f0 Tweak test names 2019-10-14 22:57:22 +01:00
Alan Zimmerman
78ec15dd41 Use current stack exe for circleci tests 2019-10-14 20:49:12 +01:00
jneira
b5e388af80 Correct stack local install path and use a more precise name for the ugly hack 2019-10-14 13:16:23 +02:00
Alan Zimmerman
5c58cd8204 Making tests more robust 2019-10-13 17:45:23 +01:00
jneira
d1e442b608 Take in account local cache dir 2019-10-11 06:36:35 +02:00
jneira
da3f7771a9 Validate cabal after trying to install it 2019-10-10 12:36:36 +02:00
jneira
0037450d7f Remove unused import 2019-10-10 11:35:55 +02:00