Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swiftwasm/sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
https://github.com/swiftwasm/sourcekit-lsp

Update WorkspaceFoldersRequest to match version 3.14 of the LSP spec

42733423011b3802f857cbc1c6bf708fb8916a08 authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #203 from ahoppen/not-recommended-to-deprecated

Use SourceKit's not_recommended field to populate deprecated in Code Completion responses

c52b337d60bb5cc9880c4e33d36a4064037a4fe9 authored about 5 years ago by Alex Hoppen <[email protected]>
Use SourceKit's not_recommended field to populate deprecated in Code completion responses

acd8843967b99478a62fdd9234fc9382a77048db authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #207 from ahoppen/diagnostics-document-version

Add a version field to PublishDiagnostics, according to LSP 3.15

8d2a6e9b7d11d1c1806ebcde90f0d44118205477 authored about 5 years ago by Ben Langmuir <[email protected]>
Add a version field to PublishDiagnostics, according to LSP 3.15

LSP Spec 3.15 will add a document version field for PublishDiagnostics.
Cherry-picking field int...

36d8a1799c6bf97853aaad3bbabcd3c69aaa3af8 authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #205 from compnerd/cmake

build: add CMake build system

37d0a9381aa632f29e0418ff77aec9c17fb18b7a authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #202 from ahoppen/match-spec

Update the struct definitions to match version 3.14 of the LSP spec

156139f0e426b34cd014bc9fc162bbb3654a078c authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #197 from ahoppen/code-completion-new-fields

Add textEdit to code completion responses

b38e2414d2c2589df8723d070f553fcaf0b5bc55 authored about 5 years ago by Ben Langmuir <[email protected]>
Add the textEdit parameter to code completion responses

2422ddc8cd40eb1864c83954160db0e98caa3bce authored about 5 years ago by Alex Hoppen <[email protected]>
Update ImplementationRequest to match version 3.14 of the LSP spec

7ebf1036451d1ca6dfa802bccebdbb89c8eed81a authored about 5 years ago by Alex Hoppen <[email protected]>
Update ReferencesRequest to match version 3.14 of the LSP spec

82be88f6963f1e2e54e636253ee06220c9c142eb authored about 5 years ago by Alex Hoppen <[email protected]>
Update decoding error message for HoverRequest to match others

5f0b2bca3d73b915557df11b5f5be4eb9cfc17b4 authored about 5 years ago by Alex Hoppen <[email protected]>
Make unknown case of WorkspaceSettingsChange have an LSPAny associated value

de7d1e55fa8f7e367baa14bb3aac66dec7d4c685 authored about 5 years ago by Alex Hoppen <[email protected]>
Update DocumentSymbolRequest to match version 3.14 of the LSP spec

bcadf01539317c4636e75ac51a898ec7eca7f729 authored about 5 years ago by Alex Hoppen <[email protected]>
Update DefinitionRequest to match version 3.14 of the spec

711d7827dd7252bc30ad79d3a35614a68ff7aa17 authored about 5 years ago by Alex Hoppen <[email protected]>
Update Completion to match version 3.14 of the spec

a75a288a4583966077ed23e3621106b126b470f3 authored about 5 years ago by Alex Hoppen <[email protected]>
Update CompletionItem to match version 3.14 of the spec

fa012d738689be815dc72a10b370ce6e059afac4 authored about 5 years ago by Alex Hoppen <[email protected]>
build: add CMake build system

54d53246131f328f07094bd848d905eda09d9987 authored about 5 years ago by Saleem Abdulrasool <[email protected]>
Update ClientCapabilities to match version 3.14 of the spec

585213b5692079e4756981279a751fc8830635c6 authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #204 from benlangmuir/custom-code-nil

Upgrade CustomCodable to handle optional values using encodeIfPresent

a9e0e9270e27d3b2422187596152ce5f0ff9b1e0 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #198 from johnno1962/thread-fix

Fix for very rare sourcekit-lsp crash.

d13fcbeaae2692d1e53c8f7d3751404d56f11b08 authored about 5 years ago by Ben Langmuir <[email protected]>
Upgrade CustomCodable to handle optional values using encodeIfPresent

The LSP spec requires us to omit keys for nil values rather than using
the JSON `null` constant ...

d2cfe7e8478bba88f98ebe28b912443e5819ea39 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #201 from ahoppen/hover-marked-string

Support MarkedStrings in Hover responses

0459ee5a5e974b25deabd65f7a77a2bb40137e10 authored about 5 years ago by Ben Langmuir <[email protected]>
Support MarkedStrings in Hover responses

03dde148a92480cf34159bf2cb28b984054f2afa authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #194 from ahoppen/library-target

Add a product that contains the modules needed to build a generic LSP client

62c1746325c3c0a6e84c443bd8aaef09279c03fe authored about 5 years ago by Ben Langmuir <[email protected]>
Add a product that contains the modules needed to build a generic LSP client

1b697050b1dd22377a0ff1c8282d9463d4dda4eb authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #200 from ahoppen/connnnnnection

Fix typo: JSONRPCConnection should be spelled with two 'n'

0abf0537a3ad362d46df74b3823bd721f31066cc authored about 5 years ago by Ben Langmuir <[email protected]>
Fix typo: JSONRPCConnection should be spelled with two 'n'

f167126c8dc1bb9a24ce8872a1bce476f2b09b20 authored about 5 years ago by Alex Hoppen <[email protected]>
Fix for very rare sourcekit-lsp crash.

8c377dd036aecf67dfaaf272404f18134af482df authored about 5 years ago by John Holdsworth <[email protected]>
Merge pull request #196 from benlangmuir/shutdown-flush

Attempt to save index on shutdown

42f15b8829d09e5370ff6c6addd7bde2e81cbc78 authored about 5 years ago by Ben Langmuir <[email protected]>
[test] Update test for URI change

3e9348f9221140a969091e746e3d19393ee7ba3e authored about 5 years ago by Ben Langmuir <[email protected]>
Fix deadlock in exit -> onExit -> close -> closeHandler -> sync

d78d6fb4052090a6491f572b2ee19a1eb23b9dc5 authored about 5 years ago by Ben Langmuir <[email protected]>
Be more resilient about trying to flush the index on shutdown

Not all editors send shutdown/exit messages, particularly when you quit
the application (as oppo...

ac630e46172cf77178d79ff8ec53f58e672e3643 authored about 5 years ago by Ben Langmuir <[email protected]>
[index] Attempt to save index on shutdown

If the client is well-behaved and sends a shutdown request, we close the
index in order to flush...

6c66f8021ce3ed2ad11e9ec931f003f3c08b72fa authored about 5 years ago by Ben Langmuir <[email protected]>
[jsonrpc] Move close handler to `start`

Since the connection and message handler have a reciprocal need to know
about each other, move t...

dfe2a6bc76ef628e541a05d48d04b83b30f4fa3d authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #193 from ahoppen/document-uri

Add support for non-URL URIs

72aefffa3efa2103bf04f533d626ee84f7b7d10c authored about 5 years ago by Ben Langmuir <[email protected]>
[BSP] Use URI instead of URL

Similar to LSP, BSP also uses URI. We were handling this correctly
everywhere except one test th...

ab4a25d581360bbf7c99fd0efa0b69387c61f2fd authored about 5 years ago by Ben Langmuir <[email protected]>
[gardening] Changes per review

* Rename Extensions.swift
* Move import where it is used

8a88e9d5f27e8f73f7b21f871092946b065c7a8d authored about 5 years ago by Ben Langmuir <[email protected]>
Generate linuxmain

947825b20df404ead26182ed3cb0f311cd489410 authored about 5 years ago by Ben Langmuir <[email protected]>
Change backing storage of DocumentURI to URL

URL can in fact store URIs, it just doesn't have a very nice API to
interact with them. As long ...

558d7fc66460be144cc0c9d74fb840cb86e36360 authored about 5 years ago by Alex Hoppen <[email protected]>
Add support for semantic functionality for non-URL files in FallbackBuildSystem

In the fallback build system use the URIs pseudo path to construct
compiler arguments. For non-f...

aefa1688e4aff67416d1a97677576bf465fd75c7 authored about 5 years ago by Alex Hoppen <[email protected]>
Add support for non-URL URIs

According to the LSP specification, arbitrary URIs can be used as
document identifiers. Instead ...

5c839f8640275c661fcbfffa41c3ee65d96bde9d authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #195 from benlangmuir/break-test-dependencies

Reorganize the repository into a set of bare LSP modules and SourceKit modules

fcfaa505d763f0ebc4863119f85394e3aecbcebd authored about 5 years ago by Ben Langmuir <[email protected]>
Rename LSPSupport -> LSPLogging to reflect reduced scope

Ideally we can someday migrate this to something more standard such as
swift-log, and make it ex...

775e198f77934d792176560655a11c2d42822ebb authored about 5 years ago by Ben Langmuir <[email protected]>
Sink Int extension to JSONRPC

This is the only user of this code, and it's not particularly great.
Sink it to reduce dependenc...

10ae122f17af7b220e7db065999947e5b815c790 authored about 5 years ago by Ben Langmuir <[email protected]>
Simplify ascii digit/space checks

We explicitly do not want to handle non-ascii unicode "numbers", etc.

b0f06b97437d00c25b0d96f40c4d3c51e84ab834 authored about 5 years ago by Ben Langmuir <[email protected]>
Sink Result to SKSupport

It's not being used for anything interesting in LSP layers, so sink it
to minimize dependencies.

f83a9f44768c9f62b52c0c586d367eceab3e6aaf authored about 5 years ago by Ben Langmuir <[email protected]>
Sink firstIndex to its only user in JSONRPC

This isn't a particularly good implementation and it only has one user.
Move it down to reduce d...

ec3fd7f9402511a086ea0a225e6cb060c277cdb1 authored about 5 years ago by Ben Langmuir <[email protected]>
Update LinuxMain.swift

1774bafd89ae7b4b4f509e54ca3b40f8f4fd1f00 authored about 5 years ago by Alex Hoppen <[email protected]>
Remove unnecessary dependency declarations in Package.swift

2d5b3cda9cff5566ebc792e40ce9acc3ace54702 authored about 5 years ago by Alex Hoppen <[email protected]>
Make LSPSupport independent of tools-support-core

3eafe7851a00a840920301a005b61b71a56b1a05 authored about 5 years ago by Alex Hoppen <[email protected]>
Reorganize the repository into a set of bare LSP modules and SourceKit modules

We will be able to split the LSP modules off later. These LSP modules
will provide the ability t...

05ecd26d08e6f092d0f98b185c1f78880b3b76fa authored about 5 years ago by Alex Hoppen <[email protected]>
Formatted Package.swift

I think the closing parenthesis on the new line reads a lot nicer

5c39fc9f924abc4e55579a01021ea16b62df9925 authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #191 from ahoppen/break-langserverprotocol-sksupport-dependency

Remove dependency of LanguageServerProtocol on SKSupport

9ae3c26d29c60d0bddb2e5a93a1944dc753e0536 authored about 5 years ago by Alex Hoppen <[email protected]>
Remove dependency of LanguageServerProtocol on SKSupport

Apart from removing unnecessary imports, the following changes were
performed:
- Move Cancellati...

25cd302cad2298621d67d0e05a57bca171cbf0f1 authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #190 from rmaz/disableclangdindex

Disable clangd indexing

1b204f70ece6a5b91d209938b3338cfec248357f authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #189 from ahoppen/move-language-server

Move LanguageServer to SKCore

45afb6090c9689391919f7e133ba96e98c39c7a5 authored about 5 years ago by Ben Langmuir <[email protected]>
Move LanguageServer to SKCore

1fde01efc0c000a2eb824e0498b8ba33a737178a authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #188 from ahoppen/eliminate-indirect-connection

Eliminate _IndirectConnection and replace it by closure

963dc9390d6141f7afc43b9bd6260f9d67f2b8bc authored about 5 years ago by Alex Hoppen <[email protected]>
disable clangd indexing

c56bcee9d730717ba08ab98ff29828afe0189184 authored about 5 years ago by Richard Howell <[email protected]>
Eliminate _IndirectConnection and replace it by closure

This allows us to move the semaphore logic out of the message to the connection where it belongs.

4b3c571db60a6d185f332d2d3ba8c4327cde86dd authored about 5 years ago by Alex Hoppen <[email protected]>
Merge pull request #186 from buttaface/patch-1

Add new platform for TSCUtility

3df4a19bf30599fa34c02061ffde82ba2122e822 authored about 5 years ago by Ankit Aggarwal <[email protected]>
Add new platform for TSCUtility

The macOS smoke test for apple/swift-package-manager#2396 fails without this addition.

14f54f4c9bfb47bdd10927d970e2322936f5f264 authored about 5 years ago by buttaface <[email protected]>
Merge pull request #185 from DavidGoldman/document-symbols

Fix issue preventing DocumentSymbols from working with clangd

c66df551dc791188d7187a86432f7c730757a494 authored about 5 years ago by Ben Langmuir <[email protected]>
Fix issue preventing DocumentSymbols from working with clangd

- Clangd uses the HierarchicalDocumentSymbolSupport field of the
documentSymbol capabilities, ...

74af4873c751bdd7bac84eef41dea161cb64d208 authored about 5 years ago by David Goldman <[email protected]>
Merge pull request #184 from tachoknight/master

Project can be built using Python 3

4be5fd442dea8b8015d13be4c4e3bc1367c757b8 authored about 5 years ago by Ben Langmuir <[email protected]>
project can be built using Python 3

c5a263f6369df49aa7b1c9242dc40f662146e96c authored about 5 years ago by Ron Olson <[email protected]>
Merge pull request #179 from rmaz/indexdbpath

Set index db path from build server response

2c043e9250eba029d56ccc89e9b5c06b4c2d2b01 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #173 from rmaz/targetschanged

Adds buildTarget/didChange notification to the build server protocol

d37e00975183ba16e22a8f6a8ca005ed4aee5729 authored about 5 years ago by Ben Langmuir <[email protected]>
throw instead of optional on failure

f272bed888b918be676b4635e0ae0a731df59dbe authored about 5 years ago by Richard Howell <[email protected]>
generate linux main

895d7fee6c9e84bb5d352534ff784d52d9729994 authored about 5 years ago by Richard Howell <[email protected]>
make event kind optional

130d81c96f773a3ed49187b1c1e9b6f96aa287fc authored about 5 years ago by Richard Howell <[email protected]>
add BuildTargetChangedNotification

ec9681023ec3ac91c8377f0fc4cc15c2940b0147 authored about 5 years ago by Richard Howell <[email protected]>
call delegate on build targets change

1d7858e0230ff08cbf84e3a019aa81436e0970ab authored about 5 years ago by Richard Howell <[email protected]>
update error handling

d85c3b048053ed686beb6c56d55c035cbf448027 authored about 5 years ago by Richard Howell <[email protected]>
add test case

4c59633e2decac6a5def9d090771d7e82f083f1a authored about 5 years ago by Richard Howell <[email protected]>
set index db path from server data

8e0fc462a00d7b670c3e0edf0d83ab485880fc1c authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #181 from rmaz/cleanershutdown

Improve BuildServerBuildSystemTests error handling

c051601d77512c5ca7394da280c57b0914ff9baa authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #182 from benlangmuir/close-dead-crash

Fix hang/crash when a write failure occurs

da33b45ed525fa27aebce5d4172e60dd56a66fda authored about 5 years ago by Ben Langmuir <[email protected]>
Fix hang/crash when a write failure occurs

This code was doing a sync dispatch to a queue it was already running
on. Instead, go through th...

3a99dddb982707c3077bd532c2619dbecf999fae authored about 5 years ago by Ben Langmuir <[email protected]>
better error handling in bsp test code

d84f1bec3bd902cdce7d0285f0d7d7fd5a2f550e authored about 5 years ago by Richard Howell <[email protected]>
shutdown build server connection on deinit

93b98388419bb6768bd65b1727a45918a02edd47 authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #180 from benlangmuir/test-moreinfo

[test] Try to get more information if test fails

19d2b548b48798e7348668cbbdfdb90a1b91bdf7 authored about 5 years ago by Ben Langmuir <[email protected]>
[test] Try to get more information if test fails

0d1289c40191d1642bb9ea677b5cae1479c113a4 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #177 from rmaz/fixlog

don't add log handler until connection has started

28e29e98144cfef9fc8e76c3ea234bf5785171db authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #174 from rockbruno/folding-range-tibs

Refactor FoldingRangeTests to use SKTibsTestWorkspace

ec96989b188afa70f54554c4c385acf844bbed24 authored about 5 years ago by Ben Langmuir <[email protected]>
don't add log handler until connection has started

350ffce8015dad255a08948c89f2fb552184de41 authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #175 from benlangmuir/close-race

[tsan] Fix race on close in JSONRPCConnection

04c5341460251aaa1193d914692ad5f7579f4f4a authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #160 from DavidGoldman/public

Remove the need to use `Connection` to talk to internal LSPs

ec87fb8def1c2ae231b976c64deec1a71b116c81 authored about 5 years ago by Ben Langmuir <[email protected]>
Port FoldingRangeTests to use Tibs

4bff3be850d2edcd665205e84cb8807b4cbb9589 authored about 5 years ago by Bruno Rocha <[email protected]>
[tsan] Fix race on close in JSONRPCConnection

cac8f8d77faca3a4c0b46b660be23c9d686eea0f authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #170 from rmaz/targetsources

Add buildTarget/sources and buildTarget/outputPaths

6c3286d94fa0ad3f782f091cc2de2b5e207ba060 authored about 5 years ago by Ben Langmuir <[email protected]>
Swap to use queue.async for all SwiftLanguageServer methods

Change-Id: I505ed9a8561e81f22635a6e852b22654a737ad61

45b103d1c7f8524bd6249be29da51342e9885688 authored about 5 years ago by David Goldman <[email protected]>
Remove the need to use `Connection` to talk to internal LSPs

`SourceKitServer` now talks to the `SwiftLanguageServer` and
`ClangLanguageServerShim` directly ...

043d27860dbf5860627451008040903accd62c7d authored about 5 years ago by David Goldman <[email protected]>
Merge pull request #172 from benlangmuir/disable-local-ren

[refactoring] Disable "local rename"

e573f5fb1725356a2168ef4b738163d692bea8b2 authored about 5 years ago by Ben Langmuir <[email protected]>
Regenerate linuxmain

0fff213d881b23263bb9c639cec2e99c9fd60e92 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #171 from benlangmuir/tsanify-1

[tsan] Fix a few issues caught by TSan

88b5a1a5c131c79ba361bf32c388c22f763701a7 authored about 5 years ago by Ben Langmuir <[email protected]>
[refactoring] Disable "local rename"

This needs similar support to global rename before it actually works.
Disable for now.

08a85356e17ef7ad37d2fb7a8611a11263293c22 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #163 from rockbruno/local-refactoring-new

Add Local Refactoring

5bbe85994a7dac76fc2ced079809c10cd9d3521b authored about 5 years ago by Ben Langmuir <[email protected]>
[tsan] Fix race in testMessageBuffer

We don't need to check the message buffer in the middle of the test; it
suffices that we got the...

6e4060732d2da7f43c428b83755af35396f403cd authored about 5 years ago by Ben Langmuir <[email protected]>