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

[tsan] Fix race in a few JSONRPCConnectionTests

These tests don't really need to check the message buffer anyway, it was
mostly a sanity check. ...

a964dad129f31410c728ff00b31dbf3af25e8ebd authored about 5 years ago by Ben Langmuir <[email protected]>
[tsan] Fix race during logging request

93d3abba144fc329f71478078158d28038604b0f authored about 5 years ago by Ben Langmuir <[email protected]>
[tsan] Fix tsan warning in testLogging

The basic synchronization of this test seems sound, but accessing
messages via inout created an ...

b8aa1286b9d2ff7422e8538306a092bc31a04d3b authored about 5 years ago by Ben Langmuir <[email protected]>
use LSPResult instead of optionals

26d3fca5dd96f3c1537048ed8d3f46a9533eb0df authored about 5 years ago by Richard Howell <[email protected]>
add interface for fetching output paths

0f6f260701dc7bbb33599f62aa311ed493574281 authored about 5 years ago by Richard Howell <[email protected]>
add request for build target output paths

ca63a2e69d622e5e9cbb8feb35dfa897f2eb61ce authored about 5 years ago by Richard Howell <[email protected]>
add inteface to fetch build target sources

315070d6f797014e4f53a64cc58cede851a9f801 authored about 5 years ago by Richard Howell <[email protected]>
add target sources request

1158e1178a7d17368d3ace7ae768806897dfd9f1 authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #162 from rmaz/buildtargets

Add workspace/buildTargets request

38dc0097cf0c74303dccf74a6b4391046573a5bb authored about 5 years ago by Ben Langmuir <[email protected]>
increase expectation timeouts

cf57ec0fa25af052bfe19521cd97a40fb0206b7f authored about 5 years ago by Richard Howell <[email protected]>
Clean implementation

9eb2fe4453d25a0465a142e607a64a35fb87ce16 authored about 5 years ago by Bruno Rocha <[email protected]>
Apply review comments (LSPAnyCodable/Cleaning)

a84eaaa478d5f2a36006b0905610feed2df9220a authored about 5 years ago by Bruno Rocha <[email protected]>
Add Local Refactoring

8861ac06c1e3513d8b4475c5646dc4a42c5581fd authored about 5 years ago by Bruno Rocha <[email protected]>
Merge pull request #169 from benlangmuir/diag-cache-fix

[diagnostics] Fix caching of diagnostics across files and reopens

14804fb8960cd117d0b22dfbfb3c09faef7629b9 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #168 from benlangmuir/docpub

Make DocumentSymbol fields public

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

56bc7cc2a97c089004d6afc93193279a9e1b9106 authored about 5 years ago by Ben Langmuir <[email protected]>
[diagnostics] Clear cached diagnostics on close

While we ideally could maintain diagnostics state for closed documents
as the LSP specification ...

56b1f0ba990d0b90420b4b200f2a789b36018098 authored about 5 years ago by Ben Langmuir <[email protected]>
[diagnostics] Fix caching of diagnostics across files

We were sending back (and clearing) all cached diagnostics, not just the
ones for the current file.

70af0734cb48b6812146e27d7dfea6e5177b08a2 authored about 5 years ago by Ben Langmuir <[email protected]>
Make DocumentSymbol fields public

77d7b44eb896a15890e96ee884ac7ea215ef8778 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #167 from benlangmuir/pwcodable

Move custom PositionRange encoding into a property wrapper

6c46fccb35fab70ebc8e455ea6e15234492a5749 authored about 5 years ago by Ben Langmuir <[email protected]>
Move custom PositionRange encoding into a property wrapper

This lets us use the `Range<Position>` without manually converting back
and forth in the majorit...

2c460cb2d5662e23d1ba58cafc7a5fa4b90794d4 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #166 from benlangmuir/speedup-test

[test] Speed up negative expectation test by 4 seconds

43fc981e1f14521e491b323ee1694ba71aeb5c75 authored about 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #165 from benlangmuir/flip-allow-note

[test] Flip the default value of allowUnexpectedNotification

351bba109983f52926ed9280a830aaec37337086 authored about 5 years ago by Ben Langmuir <[email protected]>
[test] Speed up negative expectation test by 4 seconds

Saves 4 seconds from test time, which is ~33% of the total warm test
time on my machine when tes...

96289b42bd83a83703304bc1fdbe47f9ab38da93 authored about 5 years ago by Ben Langmuir <[email protected]>
[test] Flip the default value of allowUnexpectedNotification

This is/was mostly useful for testing specific notification
interactions. Most new tests shouldn...

81e46c7c46ee7415476b9e92b0b955cf6df7533f authored about 5 years ago by Ben Langmuir <[email protected]>
use LSPResult instead of optional

e3fce37388103669ebc715522d8cd784f0c7bcf0 authored about 5 years ago by Richard Howell <[email protected]>
use Language and structs for tags

c04e760ed9a5782847e51c34a4b98160438dae1c authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #164 from benlangmuir/Xclangd

Add -Xclangd to allow forwarding options to clangd command-line

a98dd78122d165ae0256c695ab387dd189b8edd9 authored about 5 years ago by Ben Langmuir <[email protected]>
Add -Xclangd to allow forwarding options to clangd command-line

And factor the configuration that we thread through to the sourcekit
server.

71a94b0717c9facb4a920a29f546fd6e06558d4b authored about 5 years ago by Ben Langmuir <[email protected]>
return empty reply instead of ignoring targets request

ab1ee4ea8cc595d5b9d27109770194742bee2f29 authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #114 from rockbruno/execute-command

Add ExecuteCommand/ApplyEdit

942aaa45f90759689787c5392fda99ba56c1bdbf authored about 5 years ago by Ben Langmuir <[email protected]>
add the workspace/buildTargets request

81c50db7e15ef3a3ec72c2f777b5d94bfc6919dc authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #161 from ikesyo/npm-audit-fix

[vscode] Run `npm audit fix`

888c66df81469c0377517b445a124e48fa1dbc43 authored about 5 years ago by Ben Langmuir <[email protected]>
add buildTargets request and model

2e861f72d713e7dcfe95409f86b025b5d6536c89 authored about 5 years ago by Richard Howell <[email protected]>
Merge pull request #157 from rmaz/filewatching

Add support for file watching in the build server protocol

8b7c398de9dbe0a869513b3e9c3548b4819d0d99 authored about 5 years ago by Ben Langmuir <[email protected]>
[vscode] Run `npm audit fix`

27fecbf42c0f3581f4973227790033e41d28018b authored about 5 years ago by Sho Ikeda <[email protected]>
Remove @testable from test class

3536217218cd4d0d3a9659202d4d3f15a0c059e1 authored about 5 years ago by Bruno Rocha <[email protected]>
use SourceKitOptionsResult for options update

d9b57b57bbc807754543dcdb0f6f20d21936490b authored about 5 years ago by Richard Howell <[email protected]>
Cleaning Code

20c026c8e25b4c2b053413af41d50714cc9937a8 authored about 5 years ago by Bruno Rocha <[email protected]>
Convert CommandArgumentType -> LSPAny references

c20fe44c42255e81adf86d5a40036af364acc800 authored about 5 years ago by Bruno Rocha <[email protected]>
Avoid using decoders for retrieving dictionary data

7180d66e607c9c702a93e662eeddcf3f8622a401 authored about 5 years ago by Bruno Rocha <[email protected]>
Inject metadata at commands

e71965fc7d67d0f8beae24c77fbd295194cf5342 authored about 5 years ago by Bruno Rocha <[email protected]>
Add ExecuteCommand/ApplyEdit

cef91670f583c2e1fa996c335d63785347c2c90a authored about 5 years ago by Bruno Rocha <[email protected]>
Merge pull request #158 from benlangmuir/master-next-fix-clangd-diag

[test] Loosen test to account for clangd change in master-next

4f3a5c92511657a0500b4e286594e0c70f894ee0 authored over 5 years ago by Ben Langmuir <[email protected]>
[test] Loosen test to account for clangd change in master-next

dcbc43f88f8f8fc977ffba909ec65116540bd791 authored over 5 years ago by Ben Langmuir <[email protected]>
add a file registration test

cb7d758bd3384051e6dd2f7b5ce4d37632e89f59 authored over 5 years ago by Richard Howell <[email protected]>
add requests for file watching in the bsp

63134169779a408616b9558fba65d98ee02cd87f authored over 5 years ago by Richard Howell <[email protected]>
add register and unregister requests and handle updates

4804c7c138d56c6f1fee442facf5fb64d53491c9 authored over 5 years ago by Richard Howell <[email protected]>
Merge pull request #155 from rmaz/settingsreq

Add SourceKitOptions build server request

e003e54380010f4b04ae584b111a357f6911b9b4 authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #156 from benlangmuir/listen

[index] Fix default value for listening to unit changes

6b1a81bb9e2392ca446cb92e3b68c5bce4d0e486 authored over 5 years ago by Ben Langmuir <[email protected]>
[index] Fix default value for listening to unit changes

Was preventing index from being populated by default.

89b95f50433d16ba4e92e99fff723414c4268bfb authored over 5 years ago by Ben Langmuir <[email protected]>
add settings request and tests

f2b5f2c16725a9bff2bad0fa9229af8735c9c93b authored over 5 years ago by Richard Howell <[email protected]>
add file options request

1b254949f1c552e55d77c65b02c9dbeca7e2b191 authored over 5 years ago by Richard Howell <[email protected]>
Merge pull request #152 from DavidGoldman/master

Add a `BuildSystemDelegate` which supports notifications for build settings changes

f99bc4d01b2699b8239f67344baee605207165ef authored over 5 years ago by Ben Langmuir <[email protected]>
Add a `BuildSystemDelegate` which supports notifications for build settings changes

Introduce a `BuildSystemDelegate` to handle notifications from the build system

* `SourceKitSer...

e5caf44fdac5c89226b3757115f934bdb2bc6370 authored over 5 years ago by David Goldman <[email protected]>
Merge pull request #153 from benlangmuir/tsc

Update SPM -> TSC module name prefixes

c6fedf722167b780396e87dbc2b37a98a5856d0b authored over 5 years ago by Ankit Aggarwal <[email protected]>
Update one more Basic -> TSCBasic from recent commit

6bb0924de4e0c6116ee0a3e7efc6869852161937 authored over 5 years ago by Ben Langmuir <[email protected]>
Update SPM -> TSC module name prefixes

e1fa70d086876d1a24ec74a3998a82b928da8ede authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #154 from rmaz/shutdown

Add BSP lifecycle notifications

d64fabc482754daa1a8eaad6460ea45187432228 authored over 5 years ago by Ben Langmuir <[email protected]>
nicer case matching for response data

83d0e75fec8b028528e54cd265cf588e3361a01e authored over 5 years ago by Richard Howell <[email protected]>
don't block shutting down build server

8e8bf8abf23d5c0b12fa55a6900b4e04745b1754 authored over 5 years ago by Richard Howell <[email protected]>
add support for index store path via metadata

cbd33eed6a3d026984a6d68455f83a78f032216c authored over 5 years ago by Richard Howell <[email protected]>
handle lifecycle in test server correctly

09552143be56ecbb073cb159cb1be6fd41ebcafb authored over 5 years ago by Richard Howell <[email protected]>
add log message for shutdown errors

301fa20327231bd25c2d2b479d5e295915a53709 authored over 5 years ago by Richard Howell <[email protected]>
add build server lifecycle notifications

7b842235be43bb1253aabff499abc172695d5906 authored over 5 years ago by Richard Howell <[email protected]>
Merge pull request #151 from rmaz/bsp

Add initial BuildServerBuildSystem based on BSP

293d22d541e3cb007cd46fd384ff17fcde20692a authored over 5 years ago by Ben Langmuir <[email protected]>
Regenerate linuxmain after test removal

ba14ff95744b0303bb824e546101a2435db1d4bf authored over 5 years ago by Ben Langmuir <[email protected]>
use LSPAny for data payload

0c44eeb4a6e62c4d742128b634ee65245ab87cc7 authored over 5 years ago by Richard Howell <[email protected]>
use Language instead of String

58a42b08b3cb79ff79774c5faccb580454ac305a authored over 5 years ago by Richard Howell <[email protected]>
don't forget to actually initialize the server

bfb0eb7cf9e63aa2e60b0bd716ef7fdc6290a944 authored over 5 years ago by Richard Howell <[email protected]>
remove redundant test

103ddba7ee9debf04a713c09a420f91d7010ec62 authored over 5 years ago by Richard Howell <[email protected]>
use Codable, start server as part of init, no log on missing config

fd6cdfb603243a80686ce3ec5b16056b687d5535 authored over 5 years ago by Richard Howell <[email protected]>
use VoidResponse type

fb9feeb8aa051ef288041f25914eeba8b50062f3 authored over 5 years ago by Richard Howell <[email protected]>
add copyright headers

89f62f8229f18ecbab12e738fdf3c2ece7e5a7e5 authored over 5 years ago by Richard Howell <[email protected]>
remove unused dependency

3411f259067dd07f9db9f7f32d93a221f66a9806 authored over 5 years ago by Richard Howell <[email protected]>
update linux test main

e3710febfeabf53f41ec6f194e55e37b237e433d authored over 5 years ago by Richard Howell <[email protected]>
Add initial BuildServerBuildSystem based on BSP

366f7d930d8c5ffa5eef19bb7d58f6bae0d393d7 authored over 5 years ago by Richard Howell <[email protected]>
Merge pull request #150 from benlangmuir/tempdir

Update for SwiftPM TemporaryDirectory change

f2568f1cf1035903a5ef4458b7f9d006b105107a authored over 5 years ago by eeckstein <[email protected]>
Update for SwiftPM TemporaryDirectory change

f5f0933905d40608a8060d6e5d8b4ef5c2fa7b14 authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #149 from benlangmuir/diag-stay

[diagnostics] Keep semantic diagnostics until a semantic update

51318e0559a0fffbd8648f5340e6c8b1afa2fecc authored over 5 years ago by Ben Langmuir <[email protected]>
[test] Enable diagnostics test on Linux

The missing XCTest API was added, so we can now enable the test.

6c6b10f18ea4f9ffd9da4e80ca60c840f03709c2 authored over 5 years ago by Ben Langmuir <[email protected]>
[diagnostics] Keep semantic diagnostics until a semantic update

Sourcekitd returns parse diagnostics immediately after edits, but we do
not want to clear the se...

3322f35ccc1b83ad8513fb001f5e773dbfed7452 authored over 5 years ago by Ben Langmuir <[email protected]>
Move diagnostic conversion into its own file

32497e6af96e866f7002ec2e29b173a4eb64dd3a authored over 5 years ago by Ben Langmuir <[email protected]>
Fix typo public -> publish

e6392eb17961737584aebadc613134a85b463c46 authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #148 from benlangmuir/integration-test-pre

[test] Add test utilities needed by integration test

02c46bb2f372867c0faf3743136f52b431a7b2e5 authored over 5 years ago by Ben Langmuir <[email protected]>
[test] Regenerate linuxmain

a91f5852a0dbc5b6072964a6440d99c0a3b89a78 authored over 5 years ago by Ben Langmuir <[email protected]>
[jsonrpc] Fix race between close() and EOF

We implicitly close the connection when the input file descriptor is
closed, or if it has an err...

a5d5d09695b98d92757f34d13622821ae2bc910f authored over 5 years ago by Ben Langmuir <[email protected]>
[cli] Add --sync option for testing

When testing the sourcekit-lsp binary, it is handy to be able to force
requests to be handled sy...

e6fc0f017b3ab909e285a2669cda7f6ddc627b1a authored over 5 years ago by Ben Langmuir <[email protected]>
[test] Add workspace/_pollIndex extension for testing

Expose the index polling mechanism so it can be used in out-of-process
tests.

d15071bbd97d1ada3f3a5ef462493443a4a17011 authored over 5 years ago by Ben Langmuir <[email protected]>
[test] Add listenToUnitEvents to initialization options

This should be used along with polling to explicitly control when index
data is read in tests th...

ff7d8c1930216d0049b69a3590220bb08b98c23b authored over 5 years ago by Ben Langmuir <[email protected]>
[lsp] Remove InitializationOptions type in favour of LSPAny

While we generally want to be type-safe, initialization options is
LSP-server specific, so just ...

9ed80c545e981288db11733f112909584fe8e755 authored over 5 years ago by Ben Langmuir <[email protected]>
[lsp] Move LSPAny into its own file and add brief doc comment"

4ea77f8dbd81830e98c47b1b98d9f54dfbb7f1cc authored over 5 years ago by Ben Langmuir <[email protected]>
[lsp] Rename CommandArgumentType to LSPAny

This data type is useful outside of Command arguments.

70575ff31871dc3e385f2039088d6078c79056a7 authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #144 from rmaz/separateregistries

Pass in MessageRegistry instead of using a singleton

fefd85c26d1bccaeb84978aec2a6f3feefdbf9ff authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #146 from benlangmuir/update-readme

[readme] Update Getting Started for using a Swift.org toolchain

2b463d1c3a9015c4727aefb5a39afba1b062107e authored over 5 years ago by Ben Langmuir <[email protected]>
messageRegistry -> protocol

93982b2f2a58a5272005a87df627b3e71c589e4a authored over 5 years ago by Richard Howell <[email protected]>
[readme] Update Getting Started for using a Swift.org toolchain

Now that sourcekit-lsp is available in the swift.org downloadable
toolchains, update the readme ...

bd5d232326f0c8b70d1aab162bfd77d9e7168bf9 authored over 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #143 from rmaz/separatetoolchain

Separate toolchain discovery from build settings

22eeb4fd85b0a9f71fc5dd41358cc6e05175dcd2 authored over 5 years ago by Ben Langmuir <[email protected]>
fix tests

481284be310c861c505ae3cb333dcf6f9c827e80 authored over 5 years ago by Richard Howell <[email protected]>
pass in message registry instead of singleton

3701f6dcd5063475c47cf5c0de816c97582401c7 authored over 5 years ago by Richard Howell <[email protected]>