lsp-test.git
3 weeks agoBump to 0.10.0.0 master 0.10.0.0
Luke Lau [Sun, 29 Dec 2019 01:53:05 +0000 (01:53 +0000)]
Bump to 0.10.0.0

3 weeks agoHandle receiving messages in between the initialize sequence
Luke Lau [Sun, 29 Dec 2019 00:44:24 +0000 (00:44 +0000)]
Handle receiving messages in between the initialize sequence

And check that they are legal

4 weeks agoDisable CI on macOS 8.4.4
Luke Lau [Fri, 20 Dec 2019 22:13:06 +0000 (22:13 +0000)]
Disable CI on macOS 8.4.4

4 weeks agoUpdate hie used in CI
Luke Lau [Fri, 20 Dec 2019 21:12:37 +0000 (21:12 +0000)]
Update hie used in CI

4 weeks agoDon't install globally via npm
Luke Lau [Fri, 20 Dec 2019 02:41:43 +0000 (02:41 +0000)]
Don't install globally via npm

4 weeks agoTurn on Haskell workflow for PRs
Luke Lau [Fri, 20 Dec 2019 02:08:49 +0000 (02:08 +0000)]
Turn on Haskell workflow for PRs

4 weeks agoSquashed commit of the following:
Luke Lau [Fri, 20 Dec 2019 02:05:48 +0000 (02:05 +0000)]
Squashed commit of the following:

commit 2ba261a93d4d1aebb3f749d65e7ad038fe1fb8ce
Author: Luke Lau <luke_lau@icloud.com>
Date:   Fri Dec 20 02:04:40 2019 +0000

    Remove extraneous flag

commit 358ddf1c3f5138c2ddf5f40d6ab543ab6ea75f27
Author: Luke Lau <luke_lau@icloud.com>
Date:   Fri Dec 20 01:50:46 2019 +0000

    Do some tidying up

commit 4f1628681efec92fdb69dc2faf09c3c73e1d6d83
Author: Luke Lau <luke_lau@icloud.com>
Date:   Fri Dec 20 00:57:46 2019 +0000

    Replace rename test while HaRe is gone

commit 60b309d19338bc584dae5388b2fa7486779fdaa6
Author: Luke Lau <luke_lau@icloud.com>
Date:   Fri Dec 20 00:01:42 2019 +0000

    Update hie

commit 14966566f56badb30e257defe62463e484a2892a
Merge: a61a867 6c549ae
Author: Luke Lau <luke_lau@icloud.com>
Date:   Fri Dec 20 00:01:01 2019 +0000

    Merge branch 'master' into github-actions

commit a61a867b278edc025489298b360340e7ddec05e7
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 26 15:45:25 2019 +0000

    Update hie version

commit ef87eb25780e65706b1ec9437a0c1084b4940b9a
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Nov 25 21:59:41 2019 +0000

    Skip caching

commit 803c622b2a390a310584d9f8170c9ec1c8ea67db
Merge: d46bb3d 95ef237
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Nov 25 17:24:41 2019 +0000

    Merge branch 'master' into github-actions

commit d46bb3df79fd71344d0c8d7c6de5b67c99f65906
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 13 15:33:41 2019 +0000

    Add restore keys

commit d88f852bc000c0d743f50c9328bf7f94c68a917a
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 13 15:27:26 2019 +0000

    Cache ~/.cabal

commit 51a500ceafa6d32b39e8c79bbb885fd1f0d559a4
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 13 14:05:47 2019 +0000

    Turn back on tests

commit 4ecafadfae6e2f85bd92fd26ef5a79171a8114c9
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 13 13:14:29 2019 +0000

    Skip tests

commit f1fca115d4447601b5547c75762fbb0bab0ebcff
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 13 13:14:03 2019 +0000

    Add hie.yaml file

commit ff565d6a883324c593d394ca43483ed5304ff7bb
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 12 23:11:32 2019 +0000

    Use hie-bios

commit 282975ed02c212a8a70b002adceefe9be17828ab
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 12 22:14:21 2019 +0000

    Turn back on tests

commit 9466153bd3fec0fb4f3a6a70659fbc2ded68ff07
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 12 22:13:12 2019 +0000

    Fix cache path

commit d0957b1bb20206a72daf042b62d8d31acb58f6ec
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 12 22:10:11 2019 +0000

    Install Cabal library

commit 005f2a5b9a388355fac1978a0c191ace407703dc
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 6 01:21:53 2019 +0000

    Try tests

commit 1fece5cbea8a496f0ffd9bcdc66799a789d9bc6d
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 6 01:12:43 2019 +0000

    Update readme badge

commit 4d7d4a7889723fcac14b034b4af5bc007a78505f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Nov 6 01:00:42 2019 +0000

    Cache dist-newstyle

commit 81f355b80c168555f5af9a40bd3722e27e1b20a6
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 23:28:14 2019 +0000

    Skip tests so it passes and caches hie

commit 5d347a640ed7f3967e0a48c8e039d263e585c90c
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 23:12:42 2019 +0000

    Fix typo

commit c153a088c325d7ca9ec2d385f1616216dba8231b
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 23:10:35 2019 +0000

    Move into the right dir

commit 322f51e3ab0bf60b1a791a7128c8954bb8c1dd08
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 23:05:15 2019 +0000

    Try and figure out where its being checked out to

commit 344a84171b685571ea8a8b2c01e577db9bf2b225
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 23:00:26 2019 +0000

    Try moving hie checkout path

commit d1933f6079eef0a92255f0d291c08b63ce258998
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 22:56:55 2019 +0000

    Don't use wrong condition for hie test

commit d55147cdd6b333a1fa5125a4868842266cdbb1d8
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 22:56:02 2019 +0000

    Only cache cabal binaries

commit badc948ab7affaa15f5c6a6a6e8af07a74e56dea
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 22:54:28 2019 +0000

    Try caching hie

commit a3cd5371e2fe29acd8b9653d0eacebf3087d9715
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Nov 5 22:33:04 2019 +0000

    Start debugging these failing tests

commit ebfabfaac2438f69625b72d9867a21bec489181d
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Nov 3 21:11:54 2019 +0000

    Go back to using hie master

commit a262b90b6df2b3aff0fd23019390f83f16d7a75f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Oct 19 01:54:41 2019 +0100

    Add npm bin directory to PATH

commit 3d9f14e3d376b069169a13ffba59211e4838134e
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Oct 19 00:49:44 2019 +0100

    Use hie-bios

commit ba2031ed9c5237c40dc6de1376bf74ec134f78bf
Merge: 38bf0b7 c80fbbc
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Oct 19 00:49:15 2019 +0100

    Merge branch 'master' into github-actions

commit 38bf0b76556e21891319a2e2af92efe8ff4bf5b7
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Oct 6 00:42:27 2019 +0100

    Install JS language server

commit 0980bdc3a13cc183ef4de6a00820d386c498d7f7
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Oct 5 21:29:08 2019 +0100

    Tidy up workflow

commit 83f521b928a6c952dba54061dde684869ca5c669
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 19:50:10 2019 +0100

    Update haskell.yml

commit 588e085d12244b795441c0e17b71a561ac5db80b
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 15:09:13 2019 +0100

    Debug PATH

commit 89407b82feba0a4c025d118eb6bf03b3fa6bef39
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 14:00:38 2019 +0100

    Add cabal bin to PATH

commit 0de9d38dfe3a9b0f9c029e9da72054261702e3f1
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:12:17 2019 +0100

    Update haskell.yml

commit 9fa751f3d517dd071d9af47ae42988c6acd7334f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:09:13 2019 +0100

    Update haskell.yml

commit d6bfa2476eae9b86896bdcf9116965feccb2ca7a
Merge: 550d88c c066f37
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:08:03 2019 +0100

    Merge branch 'github-actions' of https://github.com/bubba/lsp-test into github-actions

commit 550d88ca15b7909e2988d400f0fd0882304c1d1f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:19:04 2019 -0400

    Add secret

commit 1d9d650e6391f03527db6bae6b0e8d6ac9c2231c
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:15:15 2019 -0400

    Add hlinter

commit 860ba10766f52281e31fe1a778e290b30ac37676
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:11:27 2019 -0400

    Try upgrading ghc and cabal

commit c066f37e7955511a5f02acefb2d8c7360397d3df
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:19:04 2019 -0400

    Add secret

commit 80aeabcf9c63706c07c33f0933c2622aac7fc376
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:15:15 2019 -0400

    Add hlinter

commit 2d99d48db3865ad7f5916fea82ad4ce8b6a695f4
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:11:27 2019 -0400

    Try upgrading ghc and cabal

5 weeks agoUpdate stack.yaml
Luke Lau [Mon, 16 Dec 2019 11:55:10 +0000 (11:55 +0000)]
Update stack.yaml

5 weeks agoRemove rope-utf16-splay dependency
Luke Lau [Mon, 16 Dec 2019 11:54:52 +0000 (11:54 +0000)]
Remove rope-utf16-splay dependency

5 weeks agoBump to 0.9.0.0 0.9.0.0
Luke Lau [Sun, 15 Dec 2019 20:09:30 +0000 (20:09 +0000)]
Bump to 0.9.0.0

5 weeks agoFix haddock markup
Luke Lau [Sun, 15 Dec 2019 20:03:25 +0000 (20:03 +0000)]
Fix haddock markup

5 weeks agoHandle env vars set to "0"
Luke Lau [Sun, 15 Dec 2019 19:52:08 +0000 (19:52 +0000)]
Handle env vars set to "0"

5 weeks agoAdd ability to override some config via env vars
Luke Lau [Sun, 15 Dec 2019 19:40:17 +0000 (19:40 +0000)]
Add ability to override some config via env vars

5 weeks agoUpgrade to haskell-lsp-0.19
Luke Lau [Sun, 15 Dec 2019 19:40:02 +0000 (19:40 +0000)]
Upgrade to haskell-lsp-0.19

5 weeks agoMerge pull request #61 from mpickering/wip/persist-virtual-file
Luke Lau [Sun, 15 Dec 2019 19:14:31 +0000 (19:14 +0000)]
Merge pull request #61 from mpickering/wip/persist-virtual-file

Track changes to haskell-lsp

6 weeks agoFix Haddock formatting error
Luke Lau [Sun, 8 Dec 2019 14:44:24 +0000 (14:44 +0000)]
Fix Haddock formatting error

6 weeks agoRemove stability field
Luke Lau [Sun, 8 Dec 2019 14:40:12 +0000 (14:40 +0000)]
Remove stability field

6 weeks agoUpdate stack.yaml
Luke Lau [Sun, 8 Dec 2019 14:38:19 +0000 (14:38 +0000)]
Update stack.yaml

7 weeks agoTrack changes to haskell-lsp
Matthew Pickering [Tue, 26 Nov 2019 22:39:36 +0000 (22:39 +0000)]
Track changes to haskell-lsp

7 weeks agoPretty print last received messages
Luke Lau [Tue, 26 Nov 2019 19:08:08 +0000 (19:08 +0000)]
Pretty print last received messages

7 weeks agoAdd ignoreLogNotifications config option
Luke Lau [Tue, 26 Nov 2019 19:05:14 +0000 (19:05 +0000)]
Add ignoreLogNotifications config option

7 weeks agoPrint last received message in timeout exceptions
Luke Lau [Tue, 26 Nov 2019 19:03:58 +0000 (19:03 +0000)]
Print last received message in timeout exceptions

7 weeks agoUpdate stack.yaml
Luke Lau [Tue, 26 Nov 2019 18:23:14 +0000 (18:23 +0000)]
Update stack.yaml

7 weeks agoRemove stack.yaml.lock
Luke Lau [Tue, 26 Nov 2019 18:22:43 +0000 (18:22 +0000)]
Remove stack.yaml.lock

2 months agoPrepare for 0.8.2.0 0.8.2.0
Luke Lau [Sun, 17 Nov 2019 14:27:32 +0000 (14:27 +0000)]
Prepare for 0.8.2.0

2 months agoMerge pull request #59 from cocreature/expose-satisfymaybe
Luke Lau [Sun, 17 Nov 2019 14:22:52 +0000 (14:22 +0000)]
Merge pull request #59 from cocreature/expose-satisfymaybe

Expose satisfyMaybe

2 months agoUpdate haskell-lsp and bump to 0.8.1.0 0.8.1.0
Luke Lau [Sun, 17 Nov 2019 14:09:17 +0000 (14:09 +0000)]
Update haskell-lsp and bump to 0.8.1.0

Also update tests for hie-bios

2 months agoExpose satisfyMaybe
Moritz Kiefer [Sun, 17 Nov 2019 14:05:50 +0000 (15:05 +0100)]
Expose satisfyMaybe

I forgot to expose this when I added it which makes this a bit useless
for outside users :)

2 months agoMerge pull request #58 from alanz/wip/vfs
Luke Lau [Tue, 12 Nov 2019 18:50:23 +0000 (18:50 +0000)]
Merge pull request #58 from alanz/wip/vfs

Match haskell-lsp updates for VFS race condition fixes

2 months agoRemove no longer needed dependency
Alan Zimmerman [Mon, 11 Nov 2019 22:01:57 +0000 (22:01 +0000)]
Remove no longer needed dependency

2 months agoUse initVFS to simplify runSession mechanics
Alan Zimmerman [Sun, 10 Nov 2019 20:06:54 +0000 (20:06 +0000)]
Use initVFS to simplify runSession mechanics

2 months agoMatch current haskell-lsp master
Alan Zimmerman [Sun, 10 Nov 2019 18:38:28 +0000 (18:38 +0000)]
Match current haskell-lsp master

2 months agoAdd troubleshooting for stack environment variables
Luke Lau [Sun, 10 Nov 2019 17:14:12 +0000 (17:14 +0000)]
Add troubleshooting for stack environment variables

Closes #57

2 months agoAdd bounds for containers
Luke Lau [Sun, 10 Nov 2019 16:24:29 +0000 (16:24 +0000)]
Add bounds for containers

2 months agoTrack upstream
Matthew Pickering [Fri, 1 Nov 2019 20:19:57 +0000 (20:19 +0000)]
Track upstream

3 months agoAdd bounds for process
Luke Lau [Fri, 18 Oct 2019 23:48:07 +0000 (00:48 +0100)]
Add bounds for process

3 months agoBump to 0.8.0.0 0.8.0.0
Luke Lau [Fri, 18 Oct 2019 18:03:30 +0000 (19:03 +0100)]
Bump to 0.8.0.0

3 months agoMerge pull request #54 from cocreature/workdoneprogress
Luke Lau [Fri, 18 Oct 2019 18:02:10 +0000 (19:02 +0100)]
Merge pull request #54 from cocreature/workdoneprogress

Update to current state of progress reporting in LSP

3 months agoFix tests
Luke Lau [Fri, 18 Oct 2019 18:01:16 +0000 (19:01 +0100)]
Fix tests

3 months agoUpdate to haskell-lsp-0.17
Luke Lau [Fri, 18 Oct 2019 18:01:01 +0000 (19:01 +0100)]
Update to haskell-lsp-0.17

3 months agoUpdate to current state of progress reporting in LSP
Moritz Kiefer [Mon, 14 Oct 2019 08:39:10 +0000 (10:39 +0200)]
Update to current state of progress reporting in LSP

3 months agoUpdate changelog
Luke Lau [Sat, 5 Oct 2019 23:52:39 +0000 (00:52 +0100)]
Update changelog

3 months agoMerge pull request #52 from bubba/session-newtype
Luke Lau [Sat, 5 Oct 2019 23:37:12 +0000 (00:37 +0100)]
Merge pull request #52 from bubba/session-newtype

Make Session a newtype

3 months agoAdd back parser namers session-newtype
Luke Lau [Sat, 5 Oct 2019 23:33:10 +0000 (00:33 +0100)]
Add back parser namers

3 months agoFix warning
Luke Lau [Sat, 5 Oct 2019 23:09:41 +0000 (00:09 +0100)]
Fix warning

3 months agoRemove commented line
Luke Lau [Sat, 5 Oct 2019 20:26:23 +0000 (21:26 +0100)]
Remove commented line

3 months agoWIP in wrapping Session in a newtype
Luke Lau [Wed, 2 Oct 2019 13:34:39 +0000 (14:34 +0100)]
WIP in wrapping Session in a newtype

3 months agoSquashed commit of the following:
Luke Lau [Sat, 5 Oct 2019 20:30:37 +0000 (21:30 +0100)]
Squashed commit of the following:

commit 0980bdc3a13cc183ef4de6a00820d386c498d7f7
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Oct 5 21:29:08 2019 +0100

    Tidy up workflow

commit 83f521b928a6c952dba54061dde684869ca5c669
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 19:50:10 2019 +0100

    Update haskell.yml

commit 588e085d12244b795441c0e17b71a561ac5db80b
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 15:09:13 2019 +0100

    Debug PATH

commit 89407b82feba0a4c025d118eb6bf03b3fa6bef39
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 14:00:38 2019 +0100

    Add cabal bin to PATH

commit 0de9d38dfe3a9b0f9c029e9da72054261702e3f1
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:12:17 2019 +0100

    Update haskell.yml

commit 9fa751f3d517dd071d9af47ae42988c6acd7334f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:09:13 2019 +0100

    Update haskell.yml

commit d6bfa2476eae9b86896bdcf9116965feccb2ca7a
Merge: 550d88c c066f37
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Oct 2 12:08:03 2019 +0100

    Merge branch 'github-actions' of https://github.com/bubba/lsp-test into github-actions

commit 550d88ca15b7909e2988d400f0fd0882304c1d1f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:19:04 2019 -0400

    Add secret

commit 1d9d650e6391f03527db6bae6b0e8d6ac9c2231c
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:15:15 2019 -0400

    Add hlinter

commit 860ba10766f52281e31fe1a778e290b30ac37676
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:11:27 2019 -0400

    Try upgrading ghc and cabal

commit c066f37e7955511a5f02acefb2d8c7360397d3df
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:19:04 2019 -0400

    Add secret

commit 80aeabcf9c63706c07c33f0933c2622aac7fc376
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:15:15 2019 -0400

    Add hlinter

commit 2d99d48db3865ad7f5916fea82ad4ce8b6a695f4
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Aug 24 18:11:27 2019 -0400

    Try upgrading ghc and cabal

4 months agoBump to 0.7.0.0
Luke Lau [Sun, 8 Sep 2019 21:02:40 +0000 (22:02 +0100)]
Bump to 0.7.0.0

Uses new haskell-lsp which changes shutdown coding type, so breaking
change

4 months agoStart working on support for GHC 8.8/haskell-lsp-0.17
Luke Lau [Sun, 8 Sep 2019 01:34:48 +0000 (21:34 -0400)]
Start working on support for GHC 8.8/haskell-lsp-0.17

4 months agoTry out GitHub actions
Luke Lau [Sat, 24 Aug 2019 22:01:05 +0000 (18:01 -0400)]
Try out GitHub actions

4 months agoBump to 0.6.1.0 0.6.1.0
Luke Lau [Sat, 24 Aug 2019 10:33:37 +0000 (11:33 +0100)]
Bump to 0.6.1.0

4 months agoMerge pull request #45 from cocreature/satisfy-maybe
Luke Lau [Fri, 23 Aug 2019 18:45:57 +0000 (19:45 +0100)]
Merge pull request #45 from cocreature/satisfy-maybe

Add a more general satisfyMaybe helper

5 months agoAdd a more general satisfyMaybe helper
Moritz Kiefer [Sat, 10 Aug 2019 08:08:02 +0000 (10:08 +0200)]
Add a more general satisfyMaybe helper

`satisfy` is a bit akward to use for the same reasons that `filter`
can sometimes be a bit awkward to use: You often have to repeat the
same check on the result you get from `satisfy`.

This PR adds a `satisfyMaybe` wrapper that acts a bit like `mapMaybe`
and avoids that issue. This also allows us to remove `castMsg`.

5 months agoMerge pull request #44 from jneira/fix-win-tests
Luke Lau [Tue, 6 Aug 2019 21:46:51 +0000 (22:46 +0100)]
Merge pull request #44 from jneira/fix-win-tests

Fix non terminating tests in Windows

5 months agoRemove extra stack files
Luke Lau [Tue, 6 Aug 2019 21:44:59 +0000 (22:44 +0100)]
Remove extra stack files

5 months agoUse the correct errno and remove cleanupRunningProcess
jneira [Wed, 24 Jul 2019 05:48:06 +0000 (07:48 +0200)]
Use the correct errno and remove cleanupRunningProcess

5 months agoIgnore 'permisision denied' error cleaning up processes
jneira [Tue, 23 Jul 2019 12:55:35 +0000 (14:55 +0200)]
Ignore 'permisision denied' error cleaning up processes

5 months agoAdd stack.yaml for last minor versions used in hie
jneira [Mon, 22 Jul 2019 10:47:45 +0000 (12:47 +0200)]
Add stack.yaml for last minor versions used in hie

5 months agoInclude ignoreSigPipe to avoid hangs
jneira [Mon, 22 Jul 2019 10:47:11 +0000 (12:47 +0200)]
Include ignoreSigPipe to avoid hangs

6 months agoHide cleanupProcess for process-1.6.3.0 with comment
jneira [Mon, 22 Jul 2019 06:07:18 +0000 (08:07 +0200)]
Hide cleanupProcess for process-1.6.3.0 with comment

6 months agoMerge branch 'fix-win-tests' of https://github.com/jneira/lsp-test into fix-win-tests
jneira [Sun, 21 Jul 2019 11:40:19 +0000 (13:40 +0200)]
Merge branch 'fix-win-tests' of https://github.com/jneira/lsp-test into fix-win-tests

6 months agoFix conditionals for process-1.6.3.0
jneira [Sat, 20 Jul 2019 23:35:03 +0000 (01:35 +0200)]
Fix conditionals for process-1.6.3.0

6 months agoDon't use exitServer in Replay
Luke Lau [Sat, 20 Jul 2019 19:51:41 +0000 (20:51 +0100)]
Don't use exitServer in Replay
It's not needed since the captured session should contain it anyway

6 months agoMerge branch 'fix-win-tests-compat' into fix-win-tests
jneira [Thu, 18 Jul 2019 12:59:00 +0000 (14:59 +0200)]
Merge branch 'fix-win-tests-compat' into fix-win-tests

6 months agoAdd cleanupRunningProcess to Compat module
jneira [Wed, 17 Jul 2019 12:57:26 +0000 (14:57 +0200)]
Add cleanupRunningProcess to Compat module

6 months agoUse original hie commit
jneira [Tue, 16 Jul 2019 20:10:04 +0000 (22:10 +0200)]
Use original hie commit

6 months agoReplace cleanupServer with functions avalilable in ghc <= 8.4
jneira [Tue, 16 Jul 2019 11:16:05 +0000 (13:16 +0200)]
Replace cleanupServer with functions avalilable in ghc <= 8.4

6 months agoCheckout using commit instead a tag
jneira [Fri, 12 Jul 2019 05:48:47 +0000 (07:48 +0200)]
Checkout using commit instead a tag

6 months agoSkipping manual js session test
jneira [Fri, 12 Jul 2019 05:37:35 +0000 (07:37 +0200)]
Skipping manual js session test

6 months agoCheckout lastest release version of hie in travis
jneira [Fri, 12 Jul 2019 05:35:54 +0000 (07:35 +0200)]
Checkout lastest release version of hie in travis

6 months agoRevert "Avoid error when trying to shutdown manual js session"
jneira [Thu, 11 Jul 2019 21:08:58 +0000 (23:08 +0200)]
Revert "Avoid error when trying to shutdown manual js session"

This reverts commit 6f031f598fdccd1b85b8086ac2d07b41e8ef896a.

6 months agoAvoid error when trying to shutdown manual js session
jneira [Thu, 11 Jul 2019 12:16:05 +0000 (14:16 +0200)]
Avoid error when trying to shutdown manual js session

6 months agoSkip `manual javascript session passes a test` for now in windows
jneira [Thu, 11 Jul 2019 08:23:35 +0000 (10:23 +0200)]
Skip `manual javascript session passes a test` for now in windows

6 months agoUse ProcessHandle in withServer to allow kill it by client code
jneira [Thu, 11 Jul 2019 08:22:46 +0000 (10:22 +0200)]
Use ProcessHandle in withServer to allow kill it by client code

6 months agoUse the same magnitude in session timeout and threadDelay
jneira [Thu, 11 Jul 2019 08:21:18 +0000 (10:21 +0200)]
Use the same magnitude in session timeout and threadDelay

6 months agoAdd a finally and timeout to ensure the call to killThread
jneira [Wed, 10 Jul 2019 22:08:48 +0000 (00:08 +0200)]
Add a finally and timeout to ensure the call to killThread

6 months agoExit the server and its listener properly
jneira [Wed, 10 Jul 2019 10:35:05 +0000 (12:35 +0200)]
Exit the server and its listener properly

6 months agoRemove test that already exists in hie
jneira [Tue, 9 Jul 2019 12:42:45 +0000 (14:42 +0200)]
Remove test that already exists in hie

6 months agoUse a SessionException instead an error, to ignore the error when server is down
jneira [Tue, 9 Jul 2019 12:36:35 +0000 (14:36 +0200)]
Use a SessionException instead an error, to ignore the error when server is down

6 months agoAdd new NoContentLengthHeader SessionException to replace raw error
jneira [Tue, 9 Jul 2019 12:35:04 +0000 (14:35 +0200)]
Add new NoContentLengthHeader SessionException to replace raw error

6 months agoAdd server shutdown check to throw exception
jneira [Tue, 9 Jul 2019 10:25:44 +0000 (12:25 +0200)]
Add server shutdown check to throw exception

6 months agoRemove comment about IORef
jneira [Tue, 9 Jul 2019 10:24:45 +0000 (12:24 +0200)]
Remove comment about IORef

6 months agoShutdown the server before kill its thread
jneira [Tue, 9 Jul 2019 09:51:52 +0000 (11:51 +0200)]
Shutdown the server before kill its thread

6 months agoAdd "rename suggestion" test
jneira [Mon, 8 Jul 2019 12:11:19 +0000 (14:11 +0200)]
Add "rename suggestion" test
It is the first one that doesnt terminate in windows

6 months agoBump to 0.6.0.0 0.6.0.0
Luke Lau [Thu, 4 Jul 2019 00:25:15 +0000 (01:25 +0100)]
Bump to 0.6.0.0

Also add stack.yaml.lock

6 months agoUpdate hie in CI
Luke Lau [Thu, 4 Jul 2019 00:19:11 +0000 (01:19 +0100)]
Update hie in CI

6 months agoMerge pull request #42 from lorenzo:haskell-lsp-0.15
Luke Lau [Thu, 4 Jul 2019 00:17:35 +0000 (01:17 +0100)]
Merge pull request #42 from lorenzo:haskell-lsp-0.15

Upgrading to haskell-lsp 0.15

6 months agoRemove allow newer
Luke Lau [Thu, 4 Jul 2019 00:16:49 +0000 (01:16 +0100)]
Remove allow newer

6 months agoUpgrading to haskell-lsp 0.15
Jose Lorenzo Rodriguez [Tue, 2 Jul 2019 14:44:41 +0000 (16:44 +0200)]
Upgrading to haskell-lsp 0.15

7 months agoBump to 0.5.4.0 0.5.4.0
Luke Lau [Thu, 13 Jun 2019 08:25:32 +0000 (09:25 +0100)]
Bump to 0.5.4.0

Looks like I accidentally made a release that was out-of-date!

7 months agoMerge pull request #40 from cocreature/fix-custom-methods
Luke Lau [Thu, 13 Jun 2019 00:36:22 +0000 (01:36 +0100)]
Merge pull request #40 from cocreature/fix-custom-methods

Adapt to custom methods changes in haskell-lsp

7 months agoMerge pull request #41 from cocreature/helpers
Luke Lau [Tue, 11 Jun 2019 23:47:09 +0000 (00:47 +0100)]
Merge pull request #41 from cocreature/helpers

Fix getDefinitions for SingleLoc and add getCodeLenses

7 months agoUse haskell-lsp from hackage and bump
Luke Lau [Thu, 13 Jun 2019 00:24:32 +0000 (01:24 +0100)]
Use haskell-lsp from hackage and bump

7 months agoFix getDefinitions for SingleLoc and add getCodeLenses
Moritz Kiefer [Tue, 11 Jun 2019 08:19:18 +0000 (10:19 +0200)]
Fix getDefinitions for SingleLoc and add getCodeLenses

7 months agoAdapt to custom methods changes in haskell-lsp
Moritz Kiefer [Tue, 4 Jun 2019 09:21:19 +0000 (11:21 +0200)]
Adapt to custom methods changes in haskell-lsp

7 months agoSquashed commit of the following:
Luke Lau [Thu, 13 Jun 2019 08:32:00 +0000 (09:32 +0100)]
Squashed commit of the following:

commit c42b0636ef8d2c3ebd44e15ba2c933dc08e397d3
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 13:51:36 2019 +0100

    Add npm folder to path, use stages for deploy

commit 4eb9facea670edaf5c35aca45b434cde086abfb0
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 11:40:30 2019 +0100

    Update .travis.yml

commit 98e56e42106597f5bdc84369bbcc73bf2ac74910
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 11:23:52 2019 +0100

    Only deploy on linux

commit ead63f3029ae0550da8e7cd937a621b853042ff2
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 11:17:57 2019 +0100

    Update .travis.yml

commit 154b27b2b5497c41d8e3004e1960102bc3d6b79d
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 10:55:05 2019 +0100

    Update .travis.yml

commit 07fddfb038d4d8c9385f6f350cbfc8f530926c73
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 07:44:26 2019 +0100

    Update .travis.yml

commit 2a2a23bcf8fff91d275518bcee99dc8d6e8f41d1
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jun 10 02:16:23 2019 +0100

    Update .travis.yml

commit 300a6c32acb0e4c6c075b0281b967bb57a291379
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Jun 9 13:26:26 2019 +0100

    Explicitly specify copy on windows

commit e673e7a122aae9995a94764d41e46d23e1191b2b
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Jun 9 01:16:58 2019 +0100

    Don't install cabal with ghc on choco

commit 62984542160f77c5f82e74b57099bbb0a53cc3b4
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Jun 9 00:50:23 2019 +0100

    Use copying on windows

commit 49cf0e92944f3e3d043420056cfcf2101ebabbc2
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 22:49:43 2019 +0100

    Add cabal-head source

commit ed60b9859b80372ecc6280d24f9e4e3f0408c192
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 22:31:52 2019 +0100

    Use cabal-head

commit 12410701a2516fa6f72634810eab7cb2f64868ae
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 22:18:04 2019 +0100

    Use cabal nightly on windows

commit d6b41645f54661b5b317ab36641c4243ecee3334
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 20:26:26 2019 +0100

    Try manually adding ghc to path on windows

commit 9530a8d8b10247e881b8d514a305f2f8c0ebcda0
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 20:13:04 2019 +0100

    Revert back to just osx and linux builds

commit 27b8dd29b4330f76f6d03c570b973acd601e8e08
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 19:50:18 2019 +0100

    Whittle down the install steps

commit 3efde86ce929fa43348929f41127b4a47633872a
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 19:28:45 2019 +0100

    Move ghc version

commit 4caf116cc37287e9a13032b913e626f8a21d70f8
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:56:32 2019 +0100

    Debug why windows isn't working

commit 62b3ab2ef05a86c02cef7a80ce18ba7ce63486dc
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:41:39 2019 +0100

    Add ghc/cabal to path on linux

commit 67a10d32f425d6bc4d37aa3046f051a4b7e66e26
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:34:08 2019 +0100

    Update cabal

commit 0390ef572976516a3360dbe2b3ad8375260e580a
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:13:11 2019 +0100

    Update homebrew

commit 79db6a5b2825f47f386098ce696003553204a856
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:10:49 2019 +0100

    Install packages on all OSs

commit 49c803688253352a92d0d1bce2685bef38c43196
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 18:01:48 2019 +0100

    Try out other operating systems

commit 7ca8d96479f8ee8711e774b9a74ab5f27e150d1f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 17:17:53 2019 +0100

    Try to fix further timeout messages

commit ea0b53220519e178ca27e23c2a3be47fcf819afa
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 17:01:39 2019 +0100

    Figure out whats going on with failing test

commit a986ed6b44d62079476dadb07388b43847c5d724
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sat Jun 8 12:49:24 2019 +0100

    Try fixing tests and debug

commit 4d68c322be54d7016d19d1bfd714eb272864a21f
Author: Luke Lau <luke_lau@icloud.com>
Date:   Thu Jun 6 22:22:52 2019 +0100

    Overwrite

commit 8749cec613c3d3e7f3c3b305d07dd295ba59958d
Author: Luke Lau <luke_lau@icloud.com>
Date:   Thu Jun 6 21:36:49 2019 +0100

    Use old install for Cabal library

commit 749953cb3ab08f2278e6badda8b1bd3550f06da6
Author: Luke Lau <luke_lau@icloud.com>
Date:   Thu Jun 6 07:50:28 2019 +0100

    Update .travis.yml

commit cdf9bb2af734ed3473c4ad7cc1e5825a812791c0
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 10:59:47 2019 +0100

    Update .travis.yml

commit fa801802a9f0c5c034b6a55de9c5d65016a795d0
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 10:28:11 2019 +0100

    Install cabal library globally

commit 1941f747e139f0b904fb065216e194fdf240c2a4
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 07:51:39 2019 +0100

    Debug tests

commit 5468fbe3b35330fa3a2dc5bec82e45ae2644abf2
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 01:08:56 2019 +0100

    Add cabal bin directory to path

commit 04d18137900c9c3eb5e2837cbe59ae6fedbdc584
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 01:03:19 2019 +0100

    Bump number of jobs to two

commit b906d381f30e1a6e79d051cfdee2751f2ab39cb0
Author: Luke Lau <luke_lau@icloud.com>
Date:   Wed Jun 5 01:01:04 2019 +0100

    Add deployment to Hackage and GitHub

commit 88d77c7483e0497cf249db0e65e583ebe21dfbe2
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jun 4 23:00:41 2019 +0100

    Try out v2 builds again

7 months agoMerge pull request #39 from cocreature/fix-windows
Luke Lau [Sat, 8 Jun 2019 19:00:08 +0000 (20:00 +0100)]
Merge pull request #39 from cocreature/fix-windows

Fix various issues encountered on Windows

7 months agoFix various issues encountered on Windows
Moritz Kiefer [Wed, 5 Jun 2019 11:58:20 +0000 (13:58 +0200)]
Fix various issues encountered on Windows

There are a few things going on here, some specific to Windows and some are
race conditions that are just easier to hit on Windows but can be
reproduced on Linux if you add some delays.

1. You can’t kill threads on Windows that are blocked in an hGet.
   So what you have to do is to make the hGet fail somehow, e.g., by
   terminating the process that the hGet is reading from which will
   make hGet fail.

2. You already terminate the process by sending the exit notification.
   However, there is a race condition where listenServer will throw an
   UnexpectedServerTermination exception after the server has
   terminated as a result of the exit notification. On Linux, you
   usually get lucky and end up killing the listenServer thread first
   but due to 1 you always hit this on Windows. If you add a delay
   after sending the exit notification you can also reproduce this on
   Linux.

3. You need to set the handles to binary mode. Otherwise you end up
   with newline conversions turning \r\n into \n which will cause
   parse errors.

7 months agoMerge pull request #32 from fendor/tdr-test-impls
Luke Lau [Tue, 4 Jun 2019 22:04:06 +0000 (23:04 +0100)]
Merge pull request #32 from fendor/tdr-test-impls

Execute getTypeDefinition test