lsp-test.git
3 years agoWatch files to send didChangeWatchedFiles notifications filewatch
Luke Lau [Mon, 25 May 2020 15:41:49 +0000 (16:41 +0100)]
Watch files to send didChangeWatchedFiles notifications

3 years agoUpdate doc to show where to generate a capture file for replay
Luke Lau [Mon, 25 May 2020 12:15:29 +0000 (13:15 +0100)]
Update doc to show where to generate a capture file for replay

3 years agoLoosen the bounds on Glob
Luke Lau [Fri, 15 May 2020 15:08:43 +0000 (16:08 +0100)]
Loosen the bounds on Glob

3 years agoMake URL absolute in workspace/didChangeWatchedFile 0.11.0.1
Luke Lau [Fri, 15 May 2020 13:16:15 +0000 (14:16 +0100)]
Make URL absolute in workspace/didChangeWatchedFile

3 years agoBump cache key
Luke Lau [Thu, 14 May 2020 20:34:09 +0000 (21:34 +0100)]
Bump cache key

https://github.com/actions/cache/issues/144

3 years agoPrepare for 0.11.0.0 0.11.0.0
Luke Lau [Thu, 14 May 2020 20:21:04 +0000 (21:21 +0100)]
Prepare for 0.11.0.0

3 years agoFix listener thread listening after the server process was stopped
Luke Lau [Thu, 14 May 2020 20:18:13 +0000 (21:18 +0100)]
Fix listener thread listening after the server process was stopped

Therefore fixes hGetLine: illegal operation (handle is closed)
exceptions, because the handles were being closed whilst the listener
thread was still reading from them.

Fixes #66

3 years agoUpgrade actions/cache
Luke Lau [Thu, 14 May 2020 20:11:14 +0000 (21:11 +0100)]
Upgrade actions/cache

3 years agoTry to make dummy server platform agnostic
Luke Lau [Thu, 14 May 2020 19:51:09 +0000 (20:51 +0100)]
Try to make dummy server platform agnostic

3 years agoMention some useful debugging options
Luke Lau [Thu, 14 May 2020 19:22:09 +0000 (20:22 +0100)]
Mention some useful debugging options

3 years agoHandle [un]registerCapability and workspace/didChangeWatchedFiles
Luke Lau [Thu, 14 May 2020 19:16:44 +0000 (20:16 +0100)]
Handle [un]registerCapability and workspace/didChangeWatchedFiles

Part of the work towards #63.
The session will now keep track of the capabilities that are registered
and unregister them when requests come in from the server.
openDoc' has been removed and replaced with createDoc.
createDoc will send out workspace/didChangeWatchedFiles notifications
whenever the server registers for it.

3 years agoUpdate stack.yaml
Luke Lau [Sun, 10 May 2020 13:24:23 +0000 (14:24 +0100)]
Update stack.yaml

3 years agoRemove old testing servers from readme
Luke Lau [Wed, 6 May 2020 17:17:54 +0000 (18:17 +0100)]
Remove old testing servers from readme

3 years agoRemove replay tests entirely github-actions-setup-haskell-v1.1
Luke Lau [Wed, 6 May 2020 15:38:58 +0000 (16:38 +0100)]
Remove replay tests entirely

Might be causing windows tests to fail

3 years agoAdd back some more tests
Luke Lau [Wed, 6 May 2020 15:16:43 +0000 (16:16 +0100)]
Add back some more tests

3 years agoSkip segfaulting windows ghc version
Luke Lau [Wed, 6 May 2020 15:16:31 +0000 (16:16 +0100)]
Skip segfaulting windows ghc version

3 years agoUse a dummy server for testing
Luke Lau [Wed, 6 May 2020 14:41:28 +0000 (15:41 +0100)]
Use a dummy server for testing

Not tied to HIE anymore

3 years agoFix curtimeoutid being reset in the server exit handler
Luke Lau [Tue, 5 May 2020 17:20:21 +0000 (18:20 +0100)]
Fix curtimeoutid being reset in the server exit handler

3 years agoTry new setup-haskell
Luke Lau [Mon, 4 May 2020 18:18:41 +0000 (19:18 +0100)]
Try new setup-haskell

3 years agoSupport haskell-lsp-0.22 0.10.3.0
Luke Lau [Mon, 4 May 2020 18:16:24 +0000 (19:16 +0100)]
Support haskell-lsp-0.22

4 years agoBump hie ci version 0.10.2.0
Luke Lau [Sat, 21 Mar 2020 16:57:46 +0000 (16:57 +0000)]
Bump hie ci version

4 years agoBump verison of haskell-lsp
Luke Lau [Sat, 21 Mar 2020 16:22:56 +0000 (16:22 +0000)]
Bump verison of haskell-lsp

4 years agoBump constraints for new haskell-lsp 0.10.1.0
Luke Lau [Tue, 4 Feb 2020 23:33:38 +0000 (23:33 +0000)]
Bump constraints for new haskell-lsp

4 years agoSquashed commit of the following:
Luke Lau [Tue, 21 Jan 2020 10:40:46 +0000 (10:40 +0000)]
Squashed commit of the following:

commit e182b6f35a5f729dddfefcc0dab79d2ee6fafa22
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jan 21 10:20:29 2020 +0000

    Remove hie binary check (main slowdown was Hoogle)

commit 78e3a657fd66255c93e845adf4b1da48f6313d37
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jan 21 10:16:48 2020 +0000

    Cache hoogle db

commit 89eeebae8dc7730cbac4bb56320e307c6aab9f18
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jan 21 10:11:08 2020 +0000

    Check for hie already existing

commit 9c14e02fa30ce94a9635854d032294692578e02e
Author: Luke Lau <luke_lau@icloud.com>
Date:   Sun Jan 19 22:12:11 2020 +0000

    Hash based on hieref

commit 0e0f5c819ca9514567bfbb7897bc40f7c0a9a3b3
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jan 6 19:56:36 2020 +0000

    Try caching now that v1.1 is out

4 years agoTidy up README.md
Luke Lau [Fri, 3 Jan 2020 13:09:27 +0000 (13:09 +0000)]
Tidy up README.md

4 years agoBump to 0.10.0.0 0.10.0.0
Luke Lau [Sun, 29 Dec 2019 01:53:05 +0000 (01:53 +0000)]
Bump to 0.10.0.0

4 years 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 years 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 years agoUpdate hie used in CI
Luke Lau [Fri, 20 Dec 2019 21:12:37 +0000 (21:12 +0000)]
Update hie used in CI

4 years 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 years 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 years 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

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

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

4 years 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

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

4 years 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"

4 years 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

4 years 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

4 years 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

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

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

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

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

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

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

4 years 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

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

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

4 years 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

4 years 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

4 years 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

4 years 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 :)

4 years 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

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

4 years 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

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

4 years 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

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

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

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

4 years 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

4 years 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

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

4 years 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

4 years 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

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

4 years 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

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

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

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

4 years 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

4 years 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 years 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 years 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 years agoTry out GitHub actions
Luke Lau [Sat, 24 Aug 2019 22:01:05 +0000 (18:01 -0400)]
Try out GitHub actions

4 years 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 years 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

4 years 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`.

4 years 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

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

4 years 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

4 years 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

4 years 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

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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

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

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

4 years 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

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

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

4 years 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

4 years 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.

4 years 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

4 years 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

4 years 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