lsp-test.git
4 years agoExplicitly specify copy on windows travis-windows-v2
Luke Lau [Sun, 9 Jun 2019 12:26:26 +0000 (13:26 +0100)]
Explicitly specify copy on windows

4 years agoDon't install cabal with ghc on choco
Luke Lau [Sun, 9 Jun 2019 00:16:58 +0000 (01:16 +0100)]
Don't install cabal with ghc on choco

4 years agoUse copying on windows
Luke Lau [Sat, 8 Jun 2019 23:50:23 +0000 (00:50 +0100)]
Use copying on windows

4 years agoAdd cabal-head source
Luke Lau [Sat, 8 Jun 2019 21:49:43 +0000 (22:49 +0100)]
Add cabal-head source

4 years agoUse cabal-head
Luke Lau [Sat, 8 Jun 2019 21:31:52 +0000 (22:31 +0100)]
Use cabal-head

4 years agoUse cabal nightly on windows
Luke Lau [Sat, 8 Jun 2019 21:18:04 +0000 (22:18 +0100)]
Use cabal nightly on windows

4 years agoTry manually adding ghc to path on windows
Luke Lau [Sat, 8 Jun 2019 19:26:26 +0000 (20:26 +0100)]
Try manually adding ghc to path on windows

4 years agoRevert back to just osx and linux builds travis-cabal-v2
Luke Lau [Sat, 8 Jun 2019 19:13:04 +0000 (20:13 +0100)]
Revert back to just osx and linux builds

4 years agoWhittle down the install steps
Luke Lau [Sat, 8 Jun 2019 18:50:18 +0000 (19:50 +0100)]
Whittle down the install steps

4 years agoMove ghc version
Luke Lau [Sat, 8 Jun 2019 18:28:45 +0000 (19:28 +0100)]
Move ghc version

4 years agoDebug why windows isn't working
Luke Lau [Sat, 8 Jun 2019 17:56:32 +0000 (18:56 +0100)]
Debug why windows isn't working

4 years agoAdd ghc/cabal to path on linux
Luke Lau [Sat, 8 Jun 2019 17:41:39 +0000 (18:41 +0100)]
Add ghc/cabal to path on linux

4 years agoUpdate cabal
Luke Lau [Sat, 8 Jun 2019 17:34:08 +0000 (18:34 +0100)]
Update cabal

4 years agoUpdate homebrew
Luke Lau [Sat, 8 Jun 2019 17:13:11 +0000 (18:13 +0100)]
Update homebrew

4 years agoInstall packages on all OSs
Luke Lau [Sat, 8 Jun 2019 17:10:49 +0000 (18:10 +0100)]
Install packages on all OSs

4 years agoTry out other operating systems
Luke Lau [Sat, 8 Jun 2019 17:01:48 +0000 (18:01 +0100)]
Try out other operating systems

4 years agoTry to fix further timeout messages
Luke Lau [Sat, 8 Jun 2019 16:17:53 +0000 (17:17 +0100)]
Try to fix further timeout messages

4 years agoFigure out whats going on with failing test
Luke Lau [Sat, 8 Jun 2019 16:01:39 +0000 (17:01 +0100)]
Figure out whats going on with failing test

4 years agoTry fixing tests and debug
Luke Lau [Sat, 8 Jun 2019 11:49:24 +0000 (12:49 +0100)]
Try fixing tests and debug

4 years agoOverwrite
Luke Lau [Thu, 6 Jun 2019 21:22:52 +0000 (22:22 +0100)]
Overwrite

4 years agoUse old install for Cabal library
Luke Lau [Thu, 6 Jun 2019 20:36:49 +0000 (21:36 +0100)]
Use old install for Cabal library

4 years agoUpdate .travis.yml
Luke Lau [Thu, 6 Jun 2019 06:50:28 +0000 (07:50 +0100)]
Update .travis.yml

4 years agoUpdate .travis.yml
Luke Lau [Wed, 5 Jun 2019 09:59:47 +0000 (10:59 +0100)]
Update .travis.yml

4 years agoInstall cabal library globally
Luke Lau [Wed, 5 Jun 2019 09:28:11 +0000 (10:28 +0100)]
Install cabal library globally

4 years agoDebug tests
Luke Lau [Wed, 5 Jun 2019 06:51:39 +0000 (07:51 +0100)]
Debug tests

4 years agoAdd cabal bin directory to path
Luke Lau [Wed, 5 Jun 2019 00:08:56 +0000 (01:08 +0100)]
Add cabal bin directory to path

4 years agoBump number of jobs to two
Luke Lau [Wed, 5 Jun 2019 00:03:19 +0000 (01:03 +0100)]
Bump number of jobs to two

4 years agoAdd deployment to Hackage and GitHub
Luke Lau [Wed, 5 Jun 2019 00:01:04 +0000 (01:01 +0100)]
Add deployment to Hackage and GitHub

4 years agoTry out v2 builds again
Luke Lau [Tue, 4 Jun 2019 22:00:41 +0000 (23:00 +0100)]
Try out v2 builds again

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

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

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

4 years agoMerge pull request #38 from cocreature/doc-modification
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

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

4 years agoBump to 0.5.2.3 0.5.2.3
Luke Lau [Sat, 18 May 2019 13:55:53 +0000 (14:55 +0100)]
Bump to 0.5.2.3

4 years agoMerge pull request #37 from alanz/haskell-lsp-0.13
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

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

4 years agoMerge pull request #36 from alanz/az-hie-bios 0.5.2.2
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

4 years agoUpdate stack.yaml
Luke Lau [Thu, 9 May 2019 09:14:27 +0000 (10:14 +0100)]
Update stack.yaml

4 years agoUpdate stack extra-deps
Luke Lau [Thu, 9 May 2019 08:39:13 +0000 (09:39 +0100)]
Update stack extra-deps

4 years agoUpdate haskell-lsp bounds
Luke Lau [Thu, 9 May 2019 08:18:57 +0000 (09:18 +0100)]
Update haskell-lsp bounds

4 years agoAdapt to new VirtualFile structure
Alan Zimmerman [Tue, 7 May 2019 20:52:35 +0000 (22:52 +0200)]
Adapt to new VirtualFile structure

4 years agoFix getTypeDefinitions test
Luke Lau [Sun, 5 May 2019 21:31:25 +0000 (22:31 +0100)]
Fix getTypeDefinitions test

4 years agoUpdate haskell-lsp 0.5.2.1
Luke Lau [Sun, 5 May 2019 21:10:09 +0000 (22:10 +0100)]
Update haskell-lsp

4 years agoExport satisfy 0.5.2.0
Luke Lau [Sun, 28 Apr 2019 22:46:51 +0000 (23:46 +0100)]
Export satisfy

4 years agoUpdate bounds for haskell-lsp 0.5.1.4
Luke Lau [Sun, 28 Apr 2019 19:27:46 +0000 (20:27 +0100)]
Update bounds for haskell-lsp

4 years agoUpdate haskell-lsp bounds
Luke Lau [Sun, 28 Apr 2019 19:15:27 +0000 (20:15 +0100)]
Update haskell-lsp bounds

4 years agoUpdate version bounds on tests
Luke Lau [Tue, 23 Apr 2019 23:42:42 +0000 (00:42 +0100)]
Update version bounds on tests

4 years agoFix unhandle server notifications
Luke Lau [Mon, 22 Apr 2019 15:55:05 +0000 (16:55 +0100)]
Fix unhandle server notifications

Bump to 0.5.1.3

4 years agoBump to 0.5.1.2 0.5.1.2
Luke Lau [Mon, 22 Apr 2019 14:24:09 +0000 (15:24 +0100)]
Bump to 0.5.1.2

4 years agoMerge branch 'master' of https://github.com/bubba/lsp-test
Luke Lau [Mon, 22 Apr 2019 14:23:32 +0000 (15:23 +0100)]
Merge branch 'master' of https://github.com/bubba/lsp-test

4 years agoUpdate bounds on haskell-lsp
Luke Lau [Mon, 22 Apr 2019 14:22:14 +0000 (15:22 +0100)]
Update bounds on haskell-lsp

5 years agoMerge branch 'master' into tdr-test-impls
Luke Lau [Sat, 20 Apr 2019 21:37:05 +0000 (22:37 +0100)]
Merge branch 'master' into tdr-test-impls

5 years agoUpdate .travis.yml
fendor [Sat, 20 Apr 2019 11:04:45 +0000 (13:04 +0200)]
Update .travis.yml

5 years agoBump to 0.5.1.1
Luke Lau [Fri, 19 Apr 2019 12:37:21 +0000 (13:37 +0100)]
Bump to 0.5.1.1

5 years agoMerge pull request #33 from alanz/haskell-lsp-0.9
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

5 years agoRelax upper bound on haskell-lsp
Alan Zimmerman [Fri, 19 Apr 2019 12:18:47 +0000 (14:18 +0200)]
Relax upper bound on haskell-lsp

5 years agoUpdate minimum base bounds
Luke Lau [Thu, 11 Apr 2019 20:30:44 +0000 (21:30 +0100)]
Update minimum base bounds

5 years agoBump to 0.5.1.0
Luke Lau [Sun, 7 Apr 2019 18:15:02 +0000 (19:15 +0100)]
Bump to 0.5.1.0

5 years agoUpdate README.md
Luke Lau [Sat, 6 Apr 2019 23:49:28 +0000 (00:49 +0100)]
Update README.md

5 years agoExecute getTypeDefinition test
fendor [Sat, 6 Apr 2019 17:46:49 +0000 (19:46 +0200)]
Execute getTypeDefinition test

5 years agoMerge pull request #30 from fendor/readme-how-to-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

5 years agoBump hie version
Luke Lau [Sun, 31 Mar 2019 05:09:00 +0000 (22:09 -0700)]
Bump hie version

5 years agoMerge pull request #31 from fendor/type-def-req
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

5 years agoComment out tests that are not working
fendor [Sun, 3 Mar 2019 16:50:40 +0000 (17:50 +0100)]
Comment out tests that are not working

5 years agoUpdate HIE test version
Luke Lau [Sat, 2 Mar 2019 22:12:11 +0000 (22:12 +0000)]
Update HIE test version

5 years agoAdd support for TypeDefinitionRequest
fendor [Tue, 26 Feb 2019 15:44:06 +0000 (16:44 +0100)]
Add support for TypeDefinitionRequest

5 years agoFix HIE build instruction
fendor [Tue, 26 Feb 2019 10:32:29 +0000 (11:32 +0100)]
Fix HIE build instruction

5 years agoUpdate README to include instructions on how to run tests
fendor [Tue, 26 Feb 2019 10:17:39 +0000 (11:17 +0100)]
Update README to include instructions on how to run tests

5 years agoFix hoogle not generating right ghc version
Luke Lau [Thu, 6 Dec 2018 15:38:12 +0000 (15:38 +0000)]
Fix hoogle not generating right ghc version

5 years agoUpdate hie
Luke Lau [Thu, 6 Dec 2018 01:41:27 +0000 (01:41 +0000)]
Update hie

5 years agoBubble up exceptions thrown on server listener thread
Luke Lau [Wed, 5 Dec 2018 23:57:29 +0000 (23:57 +0000)]
Bubble up exceptions thrown on server listener thread

5 years agoBump to 0.5.0.2 0.5.0.2
Luke Lau [Wed, 5 Dec 2018 01:08:31 +0000 (01:08 +0000)]
Bump to 0.5.0.2

5 years agoMake "fails a test" test more precise
Luke Lau [Wed, 5 Dec 2018 01:03:25 +0000 (01:03 +0000)]
Make "fails a test" test more precise

5 years agoProperly terminate server handler thread on exceptions
Luke Lau [Wed, 5 Dec 2018 01:01:41 +0000 (01:01 +0000)]
Properly terminate server handler thread on exceptions

5 years agoFix 8.0.2 builds 0.5.0.1
Luke Lau [Tue, 13 Nov 2018 20:35:49 +0000 (20:35 +0000)]
Fix 8.0.2 builds

5 years agoFix tests on travis travis 0.5.0.0
Luke Lau [Mon, 12 Nov 2018 22:18:29 +0000 (22:18 +0000)]
Fix tests on travis

5 years agoFix redundant imports
Luke Lau [Mon, 12 Nov 2018 17:49:36 +0000 (17:49 +0000)]
Fix redundant imports

5 years agoMerge branch 'master' of https://github.com/Bubba/lsp-test
Luke Lau [Mon, 12 Nov 2018 17:42:34 +0000 (17:42 +0000)]
Merge branch 'master' of https://github.com/Bubba/lsp-test

5 years agoAdd lspConfig option
Luke Lau [Mon, 12 Nov 2018 17:40:41 +0000 (17:40 +0000)]
Add lspConfig option

Bump version and update version constraints

5 years agoMerge pull request #25 from alanz/ghc-8.6-constraint
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

5 years agoAdd 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

5 years agoMerge pull request #22 from jhrcek/typo
Luke Lau [Wed, 31 Oct 2018 21:50:15 +0000 (21:50 +0000)]
Merge pull request #22 from jhrcek/typo

Fix haddock

5 years agoFix haddock
Jan Hrček [Tue, 30 Oct 2018 03:48:23 +0000 (04:48 +0100)]
Fix haddock

5 years agoUpdate README.md
Luke Lau [Sun, 9 Sep 2018 11:59:25 +0000 (12:59 +0100)]
Update README.md

5 years agoIncrease cache timeout
Luke Lau [Sun, 9 Sep 2018 11:17:34 +0000 (12:17 +0100)]
Increase cache timeout

5 years agoBump to 0.4.0.0 0.4.0.0
Luke Lau [Sat, 8 Sep 2018 15:47:44 +0000 (16:47 +0100)]
Bump to 0.4.0.0

5 years agoUpgrade to haskell-lsp 0.8.0.0
Luke Lau [Sat, 8 Sep 2018 15:47:06 +0000 (16:47 +0100)]
Upgrade to haskell-lsp 0.8.0.0

5 years agoRemove dud space in session.log
Luke Lau [Thu, 6 Sep 2018 16:09:43 +0000 (17:09 +0100)]
Remove dud space in session.log

5 years agoTry boring old one env-var stack build :(
Luke Lau [Tue, 4 Sep 2018 23:59:56 +0000 (00:59 +0100)]
Try boring old one env-var stack build :(

5 years agoAdd remaining handlers for messages 0.3.0.0
Luke Lau [Tue, 4 Sep 2018 14:28:20 +0000 (15:28 +0100)]
Add remaining handlers for messages

5 years agoUpdate stack and travis
Luke Lau [Tue, 4 Sep 2018 14:13:35 +0000 (15:13 +0100)]
Update stack and travis

5 years agoUpdate to haskell-lsp-0.7
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

5 years agoUse stack for testing
Luke Lau [Mon, 3 Sep 2018 16:44:40 +0000 (17:44 +0100)]
Use stack for testing

5 years agoBump resolver
Luke Lau [Mon, 3 Sep 2018 16:22:43 +0000 (17:22 +0100)]
Bump resolver

5 years agoJust use cabal again for travis testing, pray that it works
Luke Lau [Fri, 17 Aug 2018 13:26:12 +0000 (14:26 +0100)]
Just use cabal again for travis testing, pray that it works

5 years agoUse correct stack in test
Luke Lau [Wed, 15 Aug 2018 21:17:12 +0000 (22:17 +0100)]
Use correct stack in test

5 years agoUse correct stack yaml for hoogle
Luke Lau [Wed, 15 Aug 2018 18:52:15 +0000 (19:52 +0100)]
Use correct stack yaml for hoogle

5 years agoMerge branch 'master' of https://github.com/Bubba/haskell-lsp-test
Luke Lau [Tue, 14 Aug 2018 21:34:58 +0000 (22:34 +0100)]
Merge branch 'master' of https://github.com/Bubba/haskell-lsp-test

5 years agoAdd getCodeActions, getCurrentDiagnostics, bump
Luke Lau [Tue, 14 Aug 2018 21:34:34 +0000 (22:34 +0100)]
Add getCodeActions, getCurrentDiagnostics, bump