lsp-test.git
5 years agoPick correct stack.yaml travis-cabal
Luke Lau [Wed, 8 Aug 2018 15:02:45 +0000 (16:02 +0100)]
Pick correct stack.yaml

5 years agoLimit number of jobs for stack
Luke Lau [Wed, 8 Aug 2018 12:34:51 +0000 (13:34 +0100)]
Limit number of jobs for stack

5 years agoUse stack hoogle
Luke Lau [Wed, 8 Aug 2018 10:40:10 +0000 (11:40 +0100)]
Use stack hoogle

5 years agoUpdate submodules
Luke Lau [Wed, 8 Aug 2018 10:37:46 +0000 (11:37 +0100)]
Update submodules

5 years agoFix git pull
Luke Lau [Wed, 8 Aug 2018 10:29:22 +0000 (11:29 +0100)]
Fix git pull

5 years agoUse stack again for hie
Luke Lau [Wed, 8 Aug 2018 10:23:27 +0000 (11:23 +0100)]
Use stack again for hie

5 years agoSee if hie is installed correctly
Luke Lau [Wed, 8 Aug 2018 10:04:30 +0000 (11:04 +0100)]
See if hie is installed correctly

5 years agoKill process even if exception is thrown
Luke Lau [Tue, 7 Aug 2018 18:48:37 +0000 (19:48 +0100)]
Kill process even if exception is thrown

5 years agoSet permissions of hie
Luke Lau [Tue, 7 Aug 2018 15:33:58 +0000 (16:33 +0100)]
Set permissions of hie

5 years agoCache dist dist-newstyle
Luke Lau [Tue, 7 Aug 2018 15:12:19 +0000 (16:12 +0100)]
Cache dist dist-newstyle

5 years agoFix stupid typo
Luke Lau [Tue, 7 Aug 2018 14:36:00 +0000 (15:36 +0100)]
Fix stupid typo

5 years agoRemove redundant build step
Luke Lau [Tue, 7 Aug 2018 14:28:06 +0000 (15:28 +0100)]
Remove redundant build step

5 years agoTry out a wee download hie script
Luke Lau [Tue, 7 Aug 2018 14:25:34 +0000 (15:25 +0100)]
Try out a wee download hie script

5 years agoExplore env vars
Luke Lau [Tue, 7 Aug 2018 14:07:31 +0000 (15:07 +0100)]
Explore env vars

5 years agoTry circleCI binary
Luke Lau [Tue, 7 Aug 2018 13:54:34 +0000 (14:54 +0100)]
Try circleCI binary

5 years agoTry hoogle from apt
Luke Lau [Tue, 7 Aug 2018 12:25:34 +0000 (13:25 +0100)]
Try hoogle from apt

5 years agoInstall happy
Luke Lau [Tue, 7 Aug 2018 11:12:58 +0000 (12:12 +0100)]
Install happy

5 years agoExport path instead of copying
Luke Lau [Tue, 7 Aug 2018 10:20:10 +0000 (11:20 +0100)]
Export path instead of copying

5 years agoMove cabal install path
Luke Lau [Tue, 7 Aug 2018 09:41:39 +0000 (10:41 +0100)]
Move cabal install path

5 years agoAdd code coverage
Luke Lau [Tue, 7 Aug 2018 09:24:22 +0000 (10:24 +0100)]
Add code coverage

5 years agoLimit concurrent jobs to 2
Luke Lau [Tue, 7 Aug 2018 09:05:15 +0000 (10:05 +0100)]
Limit concurrent jobs to 2

5 years agoRemove cabal update
Luke Lau [Tue, 7 Aug 2018 00:30:36 +0000 (01:30 +0100)]
Remove cabal update

5 years agomkdir -p hie dir
Luke Lau [Tue, 7 Aug 2018 00:25:26 +0000 (01:25 +0100)]
mkdir -p hie dir

5 years agoTry out cabal tests
Luke Lau [Tue, 7 Aug 2018 00:18:41 +0000 (01:18 +0100)]
Try out cabal tests

5 years agoMerge pull request #20 from Bubba/haskell-lsp-0.6 0.2.0.0
Luke Lau [Mon, 6 Aug 2018 20:27:11 +0000 (21:27 +0100)]
Merge pull request #20 from Bubba/haskell-lsp-0.6

Update haskell-lsp to 0.6

5 years agoFix tests, add changelog haskell-lsp-0.6
Luke Lau [Mon, 6 Aug 2018 19:42:55 +0000 (20:42 +0100)]
Fix tests, add changelog

5 years agoUpdate haskell-lsp to 0.6
Luke Lau [Mon, 6 Aug 2018 14:22:48 +0000 (15:22 +0100)]
Update haskell-lsp to 0.6

5 years agoUpdate README.md 0.1.0.0
Luke Lau [Sun, 5 Aug 2018 12:32:08 +0000 (13:32 +0100)]
Update README.md

5 years agoUpdate description field
Luke Lau [Sun, 5 Aug 2018 00:19:04 +0000 (01:19 +0100)]
Update description field

5 years agoRemove capabilites since haskell-lsp now provides it
Luke Lau [Sat, 4 Aug 2018 22:23:23 +0000 (23:23 +0100)]
Remove capabilites since haskell-lsp now provides it

5 years agoUpdate hie cloning
Luke Lau [Wed, 1 Aug 2018 13:46:29 +0000 (14:46 +0100)]
Update hie cloning

5 years agoOnly cache .stack-work in HIE
Luke Lau [Wed, 1 Aug 2018 13:32:16 +0000 (14:32 +0100)]
Only cache .stack-work in HIE

5 years agoMove example to separate cabal file
Luke Lau [Wed, 1 Aug 2018 13:29:30 +0000 (14:29 +0100)]
Move example to separate cabal file

Prevents example being installed with cabal install

5 years agoComplete documentation and update .cabal
Luke Lau [Wed, 1 Aug 2018 13:10:38 +0000 (14:10 +0100)]
Complete documentation and update .cabal

5 years agoHide some internals
Luke Lau [Wed, 1 Aug 2018 12:01:15 +0000 (13:01 +0100)]
Hide some internals

5 years agoRename sendRequest to request, sendRequest' to sendRequest
Luke Lau [Wed, 1 Aug 2018 11:55:55 +0000 (12:55 +0100)]
Rename sendRequest to request, sendRequest' to sendRequest

5 years agos/haskell-lsp-test/lsp-test
Luke Lau [Wed, 1 Aug 2018 11:24:25 +0000 (12:24 +0100)]
s/haskell-lsp-test/lsp-test

5 years agohaskell-lsp-test -> lsp-test
Luke Lau [Wed, 1 Aug 2018 11:14:12 +0000 (12:14 +0100)]
haskell-lsp-test -> lsp-test

5 years agoTry stack again?
Luke Lau [Tue, 31 Jul 2018 17:29:22 +0000 (18:29 +0100)]
Try stack again?

5 years agoEnable/disable dynamic registration in caps past 3.0
Luke Lau [Tue, 31 Jul 2018 16:43:49 +0000 (17:43 +0100)]
Enable/disable dynamic registration in caps past 3.0

5 years agoBring in my pathetic attempts to fix travis
Luke Lau [Tue, 31 Jul 2018 15:26:08 +0000 (16:26 +0100)]
Bring in my pathetic attempts to fix travis

Squashed commit of the following:

commit 38a29ee38abd42afffc380f4911c9ebf99108ffb
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jul 31 13:11:34 2018 +0100

    Remove o2

commit 476b1c64cdeccfc63fe9d06a999d90b50de3a5df
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jul 31 12:37:49 2018 +0100

    Use old test with streaming

commit d1d3ee853d05e1c042119312d0e9d60206ed1bc6
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jul 31 11:48:40 2018 +0100

    Update session.log

commit 19f8f8c406d50454b79fdc3dd669d4090a06ae1d
Merge: bca6e9f 82a682c
Author: Luke Lau <luke_lau@icloud.com>
Date:   Tue Jul 31 11:36:27 2018 +0100

    Merge branch 'master' into travis-investigation

commit bca6e9f14d7f0b49361787ec0601fd2e6ad8854a
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jul 30 23:53:05 2018 +0100

    cd back to build dir

commit b613d081a9df93cfc4b76e50f6d8258499929963
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jul 30 23:24:30 2018 +0100

    Shift comment one line to make it not look like a motivational quote

commit 32d088525bbf4bb2ea3615bb1940c59335b4cb7e
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jul 30 23:17:02 2018 +0100

    Try caching haskell-ide-engine

commit 752ff47e002d4f6062c9fcd3e8f1e6395a6531b6
Author: Luke Lau <luke_lau@icloud.com>
Date:   Mon Jul 30 22:58:06 2018 +0100

    Investigate travis stuff

5 years agoAdd LSPVersion and capsForVersion
Luke Lau [Tue, 31 Jul 2018 15:24:58 +0000 (16:24 +0100)]
Add LSPVersion and capsForVersion

5 years agoUpdate README.md
Luke Lau [Tue, 31 Jul 2018 12:21:39 +0000 (13:21 +0100)]
Update README.md

5 years agoAdd diff to replay error output
Luke Lau [Tue, 31 Jul 2018 10:35:07 +0000 (11:35 +0100)]
Add diff to replay error output

5 years agoAdd logColor config option
Luke Lau [Mon, 30 Jul 2018 23:01:05 +0000 (00:01 +0100)]
Add logColor config option

5 years agoAdd new-configure to travis
Luke Lau [Sun, 29 Jul 2018 18:03:07 +0000 (19:03 +0100)]
Add new-configure to travis

5 years agoUse new-test with optimisations
Luke Lau [Sat, 28 Jul 2018 17:09:52 +0000 (18:09 +0100)]
Use new-test with optimisations

5 years agoBump stack resolver
Luke Lau [Sat, 28 Jul 2018 14:22:17 +0000 (15:22 +0100)]
Bump stack resolver

5 years agoMove hie installation to before_install
Luke Lau [Sat, 28 Jul 2018 14:01:27 +0000 (15:01 +0100)]
Move hie installation to before_install

5 years agoKeep stack for installing hie
Luke Lau [Fri, 27 Jul 2018 20:39:18 +0000 (21:39 +0100)]
Keep stack for installing hie

5 years agoTry out cabal on travis
Luke Lau [Fri, 27 Jul 2018 20:35:09 +0000 (21:35 +0100)]
Try out cabal on travis

5 years agoUpdate hie on travis
Luke Lau [Thu, 26 Jul 2018 21:27:40 +0000 (22:27 +0100)]
Update hie on travis

5 years agoPretty print message trace
Luke Lau [Thu, 26 Jul 2018 21:13:42 +0000 (22:13 +0100)]
Pretty print message trace

Make colours a bit less eye-bleeding
Also implement logMessages config

5 years agoMake ClientCapabilities a mandatory parameter
Luke Lau [Thu, 26 Jul 2018 20:58:47 +0000 (21:58 +0100)]
Make ClientCapabilities a mandatory parameter

Closes #13

5 years agoAdd closeDoc
Luke Lau [Mon, 23 Jul 2018 21:52:55 +0000 (22:52 +0100)]
Add closeDoc

5 years agoAdd formatDoc and formatRange
Luke Lau [Tue, 17 Jul 2018 13:30:02 +0000 (14:30 +0100)]
Add formatDoc and formatRange

5 years agoAdd getHighlights
Luke Lau [Tue, 17 Jul 2018 12:35:54 +0000 (13:35 +0100)]
Add getHighlights

5 years agoAdd getHover
Luke Lau [Mon, 16 Jul 2018 23:20:21 +0000 (00:20 +0100)]
Add getHover

5 years agoAdd getDefinitions
Luke Lau [Sat, 14 Jul 2018 11:12:52 +0000 (12:12 +0100)]
Add getDefinitions

5 years agoAdd rename
Luke Lau [Thu, 12 Jul 2018 14:30:10 +0000 (15:30 +0100)]
Add rename

5 years agoAdd waitForDiagnosticsSource
Luke Lau [Thu, 12 Jul 2018 13:07:25 +0000 (14:07 +0100)]
Add waitForDiagnosticsSource

5 years agoAdd getReferences
Luke Lau [Thu, 12 Jul 2018 12:53:23 +0000 (13:53 +0100)]
Add getReferences

5 years agoRemove leftover loggin
Luke Lau [Wed, 11 Jul 2018 12:53:20 +0000 (13:53 +0100)]
Remove leftover loggin

5 years agoFix opening new documents regression
Luke Lau [Wed, 11 Jul 2018 12:50:58 +0000 (13:50 +0100)]
Fix opening new documents regression

Add modifyM to help prevent this in future

5 years agoReexport modules via cabal
Luke Lau [Wed, 11 Jul 2018 00:51:31 +0000 (01:51 +0100)]
Reexport modules via cabal

Remove redundant dependencies
Supress some hlints
Prep cabal file

5 years agoUpgrade stack to lts-12.0
Luke Lau [Wed, 11 Jul 2018 00:01:43 +0000 (01:01 +0100)]
Upgrade stack to lts-12.0

Also remove redundant extra-deps

5 years agoAdd getCompletions helper function
Luke Lau [Tue, 10 Jul 2018 23:47:49 +0000 (00:47 +0100)]
Add getCompletions helper function

Rename exceptions to be less verbose

5 years agoRemove unecessary haskell-lsp-types dependency
Luke Lau [Tue, 10 Jul 2018 16:54:48 +0000 (17:54 +0100)]
Remove unecessary haskell-lsp-types dependency

5 years agoAdd applyEdit and getVersionedDoc helpers
Luke Lau [Tue, 10 Jul 2018 13:55:31 +0000 (14:55 +0100)]
Add applyEdit and getVersionedDoc helpers

5 years agoTidy up and remove redundant classes and tests
Luke Lau [Mon, 9 Jul 2018 00:16:52 +0000 (01:16 +0100)]
Tidy up and remove redundant classes and tests

5 years agoAdd withTimeout
Luke Lau [Sun, 8 Jul 2018 22:36:20 +0000 (23:36 +0100)]
Add withTimeout

Rework timeout mechanism to send messages down the conduit
Closes #10
Improve exception message reporting with Typeable type information
Replace request, response, notification with message
Simplify internals of Session

5 years agoRemove superfluous Session handler
Luke Lau [Sat, 7 Jul 2018 21:51:47 +0000 (22:51 +0100)]
Remove superfluous Session handler

5 years agoUpdate session.log to match latest hie on import-code-actions
Luke Lau [Fri, 6 Jul 2018 22:51:37 +0000 (23:51 +0100)]
Update session.log to match latest hie on import-code-actions

5 years agoAdd more helpers for code actions and commands
Luke Lau [Mon, 2 Jul 2018 23:52:06 +0000 (00:52 +0100)]
Add more helpers for code actions and commands

Generialize session classes

5 years agoAdd nicer API
Luke Lau [Mon, 2 Jul 2018 11:40:44 +0000 (12:40 +0100)]
Add nicer API

sendRequest now gets the result too
Add better helpers for document symbols and code actions

5 years agoFix duplicate messages
Luke Lau [Fri, 29 Jun 2018 01:00:00 +0000 (02:00 +0100)]
Fix duplicate messages

5 years agoLog session messages, don't know why it was ever a good idea to hide them 💩
Luke Lau [Fri, 29 Jun 2018 00:40:57 +0000 (01:40 +0100)]
Log session messages, don't know why it was ever a good idea to hide them ðŸ’©

5 years agoCorrect VFS behaviour
Luke Lau [Thu, 28 Jun 2018 23:59:57 +0000 (00:59 +0100)]
Correct VFS behaviour
Also update tests for next commit of hie in import-code-actions branch

5 years agoAdd config option to log stderr
Luke Lau [Thu, 28 Jun 2018 10:32:46 +0000 (11:32 +0100)]
Add config option to log stderr

5 years agoFix VFS when receiving plain document changes (not versioned)
Luke Lau [Thu, 28 Jun 2018 10:24:44 +0000 (11:24 +0100)]
Fix VFS when receiving plain document changes (not versioned)

5 years agoFix tests
Luke Lau [Wed, 27 Jun 2018 23:46:48 +0000 (00:46 +0100)]
Fix tests

5 years agoAdd getDiagnostics
Luke Lau [Wed, 27 Jun 2018 23:27:30 +0000 (00:27 +0100)]
Add getDiagnostics

5 years agoUpdate hie
Luke Lau [Wed, 27 Jun 2018 01:28:56 +0000 (02:28 +0100)]
Update hie

5 years agoAdd documentEdit and friends helper functions
Luke Lau [Wed, 27 Jun 2018 01:28:34 +0000 (02:28 +0100)]
Add documentEdit and friends helper functions

5 years agoRemove dependency on process-1.6.3
Luke Lau [Fri, 22 Jun 2018 18:48:57 +0000 (19:48 +0100)]
Remove dependency on process-1.6.3

5 years agoIgnore .swp files
Luke Lau [Fri, 22 Jun 2018 18:45:01 +0000 (19:45 +0100)]
Ignore .swp files

5 years agoAdd ReplayOutOfOrder exception and change function signature
Luke Lau [Thu, 21 Jun 2018 12:53:19 +0000 (13:53 +0100)]
Add ReplayOutOfOrder exception and change function signature

5 years agoAdd unexpected message exception
Luke Lau [Thu, 21 Jun 2018 11:24:50 +0000 (12:24 +0100)]
Add unexpected message exception

5 years agoAdd SessionConfig
Luke Lau [Wed, 20 Jun 2018 22:39:10 +0000 (23:39 +0100)]
Add SessionConfig
Add timeouts
Closes #8

5 years agoClose VFS when needed
Luke Lau [Wed, 20 Jun 2018 17:00:06 +0000 (18:00 +0100)]
Close VFS when needed

5 years agoMerge branch 'master' of https://github.com/Bubba/haskell-lsp-test
Luke Lau [Wed, 20 Jun 2018 16:41:51 +0000 (17:41 +0100)]
Merge branch 'master' of https://github.com/Bubba/haskell-lsp-test

5 years agoHandle text document change events with VFS
Luke Lau [Wed, 20 Jun 2018 16:37:32 +0000 (17:37 +0100)]
Handle text document change events with VFS

5 years agoAdd option to configure capabilities
Luke Lau [Wed, 20 Jun 2018 15:27:02 +0000 (16:27 +0100)]
Add option to configure capabilities

5 years agoUpdate README.md
Luke Lau [Sat, 16 Jun 2018 14:50:38 +0000 (10:50 -0400)]
Update README.md

5 years agoAdd test for document change tracking
Luke Lau [Fri, 15 Jun 2018 05:08:49 +0000 (01:08 -0400)]
Add test for document change tracking

5 years agoUpdate command uniquing to match hie
Luke Lau [Fri, 15 Jun 2018 03:49:50 +0000 (23:49 -0400)]
Update command uniquing to match hie

5 years agoUpdate hie in travis
Luke Lau [Thu, 14 Jun 2018 23:12:51 +0000 (19:12 -0400)]
Update hie in travis

5 years agoAdd process version constraint
Luke Lau [Thu, 14 Jun 2018 14:43:30 +0000 (10:43 -0400)]
Add process version constraint

5 years agoSwap out UUIDs based on process ID
Luke Lau [Thu, 14 Jun 2018 14:36:34 +0000 (10:36 -0400)]
Swap out UUIDs based on process ID
Start processing ReqApplyWorkspaceEdit
Split out into more modules

5 years agoChange runSession return result from passed session instead of ()
Luke Lau [Wed, 13 Jun 2018 17:31:44 +0000 (13:31 -0400)]
Change runSession return result from passed session instead of ()