jneira [Wed, 17 Jul 2019 12:57:26 +0000 (14:57 +0200)]
Add cleanupRunningProcess to Compat module
jneira [Tue, 16 Jul 2019 20:10:04 +0000 (22:10 +0200)]
Use original hie commit
jneira [Tue, 16 Jul 2019 11:16:05 +0000 (13:16 +0200)]
Replace cleanupServer with functions avalilable in ghc <= 8.4
jneira [Fri, 12 Jul 2019 05:48:47 +0000 (07:48 +0200)]
Checkout using commit instead a tag
jneira [Fri, 12 Jul 2019 05:37:35 +0000 (07:37 +0200)]
Skipping manual js session test
jneira [Fri, 12 Jul 2019 05:35:54 +0000 (07:35 +0200)]
Checkout lastest release version of hie in travis
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.
jneira [Thu, 11 Jul 2019 12:16:05 +0000 (14:16 +0200)]
Avoid error when trying to shutdown manual js session
jneira [Thu, 11 Jul 2019 08:23:35 +0000 (10:23 +0200)]
Skip `manual javascript session passes a test` for now in windows
jneira [Thu, 11 Jul 2019 08:22:46 +0000 (10:22 +0200)]
Use ProcessHandle in withServer to allow kill it by client code
jneira [Thu, 11 Jul 2019 08:21:18 +0000 (10:21 +0200)]
Use the same magnitude in session timeout and threadDelay
jneira [Wed, 10 Jul 2019 22:08:48 +0000 (00:08 +0200)]
Add a finally and timeout to ensure the call to killThread
jneira [Wed, 10 Jul 2019 10:35:05 +0000 (12:35 +0200)]
Exit the server and its listener properly
jneira [Tue, 9 Jul 2019 12:42:45 +0000 (14:42 +0200)]
Remove test that already exists in hie
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
jneira [Tue, 9 Jul 2019 12:35:04 +0000 (14:35 +0200)]
Add new NoContentLengthHeader SessionException to replace raw error
jneira [Tue, 9 Jul 2019 10:25:44 +0000 (12:25 +0200)]
Add server shutdown check to throw exception
jneira [Tue, 9 Jul 2019 10:24:45 +0000 (12:24 +0200)]
Remove comment about IORef
jneira [Tue, 9 Jul 2019 09:51:52 +0000 (11:51 +0200)]
Shutdown the server before kill its thread
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
Luke Lau [Thu, 4 Jul 2019 00:25:15 +0000 (01:25 +0100)]
Bump to 0.6.0.0
Also add stack.yaml.lock
Luke Lau [Thu, 4 Jul 2019 00:19:11 +0000 (01:19 +0100)]
Update hie in CI
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
Luke Lau [Thu, 4 Jul 2019 00:16:49 +0000 (01:16 +0100)]
Remove allow newer
Jose Lorenzo Rodriguez [Tue, 2 Jul 2019 14:44:41 +0000 (16:44 +0200)]
Upgrading to haskell-lsp 0.15
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!
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
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
Luke Lau [Thu, 13 Jun 2019 00:24:32 +0000 (01:24 +0100)]
Use haskell-lsp from hackage and bump
Moritz Kiefer [Tue, 11 Jun 2019 08:19:18 +0000 (10:19 +0200)]
Fix getDefinitions for SingleLoc and add getCodeLenses
Moritz Kiefer [Tue, 4 Jun 2019 09:21:19 +0000 (11:21 +0200)]
Adapt to custom methods changes in haskell-lsp
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
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
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.
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
Luke Lau [Tue, 4 Jun 2019 22:03:44 +0000 (23:03 +0100)]
Merge pull request #38 from cocreature/doc-modification
Support TextDocumentDidChange and add non-file based openDoc
Moritz Kiefer [Tue, 4 Jun 2019 14:23:23 +0000 (16:23 +0200)]
Support TextDocumentDidChange and add non-file based openDoc
Luke Lau [Sat, 18 May 2019 13:55:53 +0000 (14:55 +0100)]
Bump to 0.5.2.3
Luke Lau [Sat, 18 May 2019 13:54:52 +0000 (14:54 +0100)]
Merge pull request #37 from alanz/haskell-lsp-0.13
Bump haskell-lsp to 0.13.0.0
Alan Zimmerman [Sat, 18 May 2019 11:42:28 +0000 (13:42 +0200)]
Bump haskell-lsp to 0.13.0.0
Luke Lau [Thu, 9 May 2019 10:01:03 +0000 (11:01 +0100)]
Merge pull request #36 from alanz/az-hie-bios
Adapt to new VirtualFile structure
Luke Lau [Thu, 9 May 2019 09:14:27 +0000 (10:14 +0100)]
Update stack.yaml
Luke Lau [Thu, 9 May 2019 08:39:13 +0000 (09:39 +0100)]
Update stack extra-deps
Luke Lau [Thu, 9 May 2019 08:18:57 +0000 (09:18 +0100)]
Update haskell-lsp bounds
Alan Zimmerman [Tue, 7 May 2019 20:52:35 +0000 (22:52 +0200)]
Adapt to new VirtualFile structure
Luke Lau [Sun, 5 May 2019 21:31:25 +0000 (22:31 +0100)]
Fix getTypeDefinitions test
Luke Lau [Sun, 5 May 2019 21:10:09 +0000 (22:10 +0100)]
Update haskell-lsp
Luke Lau [Sun, 28 Apr 2019 22:46:51 +0000 (23:46 +0100)]
Export satisfy
Luke Lau [Sun, 28 Apr 2019 19:27:46 +0000 (20:27 +0100)]
Update bounds for haskell-lsp
Luke Lau [Sun, 28 Apr 2019 19:15:27 +0000 (20:15 +0100)]
Update haskell-lsp bounds
Luke Lau [Tue, 23 Apr 2019 23:42:42 +0000 (00:42 +0100)]
Update version bounds on tests
Luke Lau [Mon, 22 Apr 2019 15:55:05 +0000 (16:55 +0100)]
Fix unhandle server notifications
Bump to 0.5.1.3
Luke Lau [Mon, 22 Apr 2019 14:24:09 +0000 (15:24 +0100)]
Bump to 0.5.1.2
Luke Lau [Mon, 22 Apr 2019 14:23:32 +0000 (15:23 +0100)]
Merge branch 'master' of https://github.com/bubba/lsp-test
Luke Lau [Mon, 22 Apr 2019 14:22:14 +0000 (15:22 +0100)]
Update bounds on haskell-lsp
Luke Lau [Sat, 20 Apr 2019 21:37:05 +0000 (22:37 +0100)]
Merge branch 'master' into tdr-test-impls
fendor [Sat, 20 Apr 2019 11:04:45 +0000 (13:04 +0200)]
Update .travis.yml
Luke Lau [Fri, 19 Apr 2019 12:37:21 +0000 (13:37 +0100)]
Bump to 0.5.1.1
Luke Lau [Fri, 19 Apr 2019 12:36:34 +0000 (13:36 +0100)]
Merge pull request #33 from alanz/haskell-lsp-0.9
Relax upper bound on haskell-lsp
Alan Zimmerman [Fri, 19 Apr 2019 12:18:47 +0000 (14:18 +0200)]
Relax upper bound on haskell-lsp
Luke Lau [Thu, 11 Apr 2019 20:30:44 +0000 (21:30 +0100)]
Update minimum base bounds
Luke Lau [Sun, 7 Apr 2019 18:15:02 +0000 (19:15 +0100)]
Bump to 0.5.1.0
Luke Lau [Sat, 6 Apr 2019 23:49:28 +0000 (00:49 +0100)]
Update README.md
fendor [Sat, 6 Apr 2019 17:46:49 +0000 (19:46 +0200)]
Execute getTypeDefinition test
Luke Lau [Sun, 31 Mar 2019 05:09:30 +0000 (06:09 +0100)]
Merge pull request #30 from fendor/readme-how-to-test
Update README to include instructions on how to run tests
Luke Lau [Sun, 31 Mar 2019 05:09:00 +0000 (22:09 -0700)]
Bump hie version
Luke Lau [Mon, 4 Mar 2019 22:17:37 +0000 (22:17 +0000)]
Merge pull request #31 from fendor/type-def-req
Add Type definition request
fendor [Sun, 3 Mar 2019 16:50:40 +0000 (17:50 +0100)]
Comment out tests that are not working
Luke Lau [Sat, 2 Mar 2019 22:12:11 +0000 (22:12 +0000)]
Update HIE test version
fendor [Tue, 26 Feb 2019 15:44:06 +0000 (16:44 +0100)]
Add support for TypeDefinitionRequest
fendor [Tue, 26 Feb 2019 10:32:29 +0000 (11:32 +0100)]
Fix HIE build instruction
fendor [Tue, 26 Feb 2019 10:17:39 +0000 (11:17 +0100)]
Update README to include instructions on how to run tests
Luke Lau [Thu, 6 Dec 2018 15:38:12 +0000 (15:38 +0000)]
Fix hoogle not generating right ghc version
Luke Lau [Thu, 6 Dec 2018 01:41:27 +0000 (01:41 +0000)]
Update hie
Luke Lau [Wed, 5 Dec 2018 23:57:29 +0000 (23:57 +0000)]
Bubble up exceptions thrown on server listener thread
Luke Lau [Wed, 5 Dec 2018 01:08:31 +0000 (01:08 +0000)]
Bump to 0.5.0.2
Luke Lau [Wed, 5 Dec 2018 01:03:25 +0000 (01:03 +0000)]
Make "fails a test" test more precise
Luke Lau [Wed, 5 Dec 2018 01:01:41 +0000 (01:01 +0000)]
Properly terminate server handler thread on exceptions
Luke Lau [Tue, 13 Nov 2018 20:35:49 +0000 (20:35 +0000)]
Fix 8.0.2 builds
Luke Lau [Mon, 12 Nov 2018 22:18:29 +0000 (22:18 +0000)]
Fix tests on travis
Luke Lau [Mon, 12 Nov 2018 17:49:36 +0000 (17:49 +0000)]
Fix redundant imports
Luke Lau [Mon, 12 Nov 2018 17:42:34 +0000 (17:42 +0000)]
Merge branch 'master' of https://github.com/Bubba/lsp-test
Luke Lau [Mon, 12 Nov 2018 17:40:41 +0000 (17:40 +0000)]
Add lspConfig option
Bump version and update version constraints
Luke Lau [Mon, 12 Nov 2018 17:31:10 +0000 (17:31 +0000)]
Merge pull request #25 from alanz/ghc-8.6-constraint
Add MonadFail constraint for GHC 8.6.1
Alan Zimmerman [Sun, 11 Nov 2018 15:02:56 +0000 (17:02 +0200)]
Add MonadFail constraint for GHC 8.6.1
And bump haskell-lsp and resolver
Luke Lau [Wed, 31 Oct 2018 21:50:15 +0000 (21:50 +0000)]
Merge pull request #22 from jhrcek/typo
Fix haddock
Jan Hrček [Tue, 30 Oct 2018 03:48:23 +0000 (04:48 +0100)]
Fix haddock
Luke Lau [Sun, 9 Sep 2018 11:59:25 +0000 (12:59 +0100)]
Update README.md
Luke Lau [Sun, 9 Sep 2018 11:17:34 +0000 (12:17 +0100)]
Increase cache timeout
Luke Lau [Sat, 8 Sep 2018 15:47:44 +0000 (16:47 +0100)]
Bump to 0.4.0.0
Luke Lau [Sat, 8 Sep 2018 15:47:06 +0000 (16:47 +0100)]
Upgrade to haskell-lsp 0.8.0.0
Luke Lau [Thu, 6 Sep 2018 16:09:43 +0000 (17:09 +0100)]
Remove dud space in session.log
Luke Lau [Tue, 4 Sep 2018 23:59:56 +0000 (00:59 +0100)]
Try boring old one env-var stack build :(
Luke Lau [Tue, 4 Sep 2018 14:28:20 +0000 (15:28 +0100)]
Add remaining handlers for messages
Luke Lau [Tue, 4 Sep 2018 14:13:35 +0000 (15:13 +0100)]
Update stack and travis
Luke Lau [Mon, 3 Sep 2018 17:15:25 +0000 (18:15 +0100)]
Update to haskell-lsp-0.7
Update tests
Turn off logging by default
Luke Lau [Mon, 3 Sep 2018 16:44:40 +0000 (17:44 +0100)]
Use stack for testing
Luke Lau [Mon, 3 Sep 2018 16:22:43 +0000 (17:22 +0100)]
Bump resolver
Luke Lau [Fri, 17 Aug 2018 13:26:12 +0000 (14:26 +0100)]
Just use cabal again for travis testing, pray that it works
Luke Lau [Wed, 15 Aug 2018 21:17:12 +0000 (22:17 +0100)]
Use correct stack in test