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

[completion] Add doc comment for CodeCompletionSession

bbb2a34694c399f525665a8ec804aafcb4a0fd24 authored over 4 years ago by Ben Langmuir <[email protected]>
[gardening] Rename CodeCompletionOptions -> SKCompletionOptions

Since it is being used in the LSP protocol layer, give it a name that
clarifies that it is Sourc...

bf9053c671e85006ec0aa903ce898d4eae0f2f0a authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Add usage note for server-side filtering command-line options

90b4381d04354ad9ae1ce4625acd9676facd0cd6 authored over 4 years ago by Ben Langmuir <[email protected]>
[gardening] Fix copyright headers and formating in modified files

a5832e978b63662902ea34dff12e2e86be4c607d authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Add an extension to pass completion options per-request

fe283fa2c2ee9ac81199fbe6c454b1d9aafa5fb1 authored over 4 years ago by Ben Langmuir <[email protected]>
[log] Improve description of Position

By default, print 1-based line/column numbers using the defacto standard
line:column format. In ...

c45de61a7240e1bbea576b197e73b99a626355b4 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Fix tests when using server-side filtering

With this change, tests pass whether we default to server-side or
client-side filtering. Also du...

232fb7bfe0981c0c6efe18e027941d71086aa7b8 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Set default maxResults = 200

024ebdd9b7ab658ef3272f0d683fca46946cf0d8 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Add tests for server-side filtering

76df5ec2f6698300960037f707245739779da10d authored over 4 years ago by Ben Langmuir <[email protected]>
[gardening] Sort and organize sourcekitd keys

* The interesting keys to split out are "code-completion options", not
any key that is used by...

8bb70866301b214a7b324f0b3ab28fc47d993d72 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Pass through new code-completion options

c27a76c9c53601ee1f636847f2c17869829c9ac3 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Add server-side filtering UIDs

b7ca21f4333e815461827123619cb29696b19ee4 authored over 4 years ago by Ben Langmuir <[email protected]>
[gardening] Split code-completion into its own file

Similar to cursor info, there is enough code here it makes sense to
separate it out.

c719711afdbb76a2765d08869076fb9adca72252 authored over 4 years ago by Ben Langmuir <[email protected]>
[completion] Add initial server-side filtering implementation

Work in progress: add a basic implementation for keeping track of the
current completion session...

c9800bf1a1488ddf9b2775c007cbd4b6ccb1c275 authored over 4 years ago by Ben Langmuir <[email protected]>
add note about swift file recognition to vim-lsp section (#297)

add note about swift file recognition to vim-lsp section

3792761720d1a0b5f76e1dae226e944d9e517b84 authored over 4 years ago by Tanner <[email protected]>
Merge pull request #296 from benlangmuir/dup-dup2-duparoo

Dup and redirect stdout to defend against accidental print()

21df377efcd4b742a0579e24c1591893de73aa8f authored over 4 years ago by Ben Langmuir <[email protected]>
Dup and redirect stdout to defend against accidental print()

We currently have a regression where sourcekit-lsp stops working in
some packages, because swif...

c508dfdf2138a01f0613244b55b8d6b0e9983486 authored over 4 years ago by Ben Langmuir <[email protected]>
Forward definition requests when index lookup fails (#294)

* Forward definition requests when index lookup fails

If we're unable to look up a definition...

2840c7dac981218afee4e0a0010aea8312065ebb authored over 4 years ago by David Goldman <[email protected]>
Merge pull request #291 from benlangmuir/createDir-revert

Revert "[test] Workaround an issue with createDirectory on Linux"

8449b1c76e3aef7a642537ca4637a5285ae9643a authored over 4 years ago by Ben Langmuir <[email protected]>
Revert "[test] Workaround an issue with createDirectory on Linux"

This reverts commit 4644ffbe4f4f869908afb551dc4881d5967c75b5.

The underlying issue SR-12569 has...

caa30f1e4a99f053714eb9e5f646aa40b7f8d737 authored over 4 years ago by Ben Langmuir <[email protected]>
Withhold diagnostics when fallback arguments are being used (#281)

While fallback arguments are being used (either from the fallback build system or fallback setti...

5977d611aa9a71b2b1b06898ed3b17508f075f33 authored over 4 years ago by David Goldman <[email protected]>
Merge pull request #288 from benlangmuir/leaks-and-shutdowns

Fix a number of resource leaks when using SourceKit-LSP in tests or as a library

e4b2b06bb46d63248cf28234c25ccc433e8a5d40 authored over 4 years ago by Ben Langmuir <[email protected]>
Shutdown toolchain connections on exit

When using SourceKit-LSP in tests (or otherwise in a library), we do not
want to leak the toolch...

1040621ae14c9f5015ac580c6bfd9e14297187ac authored over 4 years ago by Ben Langmuir <[email protected]>
[jsonrpc] Workaround file descriptor lifetime issue

We should solve this in the JSONRPCConnection itself, but in the
meantime workaround by keeping ...

5449a2acb70477a8a3b7e974f61c0156437611c4 authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Fix registry assertion

4a86e81984730de3f89e56da44e13f5ec19fb079 authored over 4 years ago by Ben Langmuir <[email protected]>
[buildsystem] Fix strong reference to delegate

Typically this would create a reference cycle.

b4409ff23e76ae52aff5903daf26b6ccd09edc29 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #287 from benlangmuir/test-serial-fix

[test] Fix notification handler test when run in serial

0ea45c7e6d275b4f45f53c5a40546e356dcecb18 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #284 from compnerd/linking

build: repair build on Windows

1b5fdceb898e639eec5b462b7768ce30c9871a73 authored over 4 years ago by Ben Langmuir <[email protected]>
[build-script] Provide ISDB toolchain env var as well

Since utilities from isdb are used in our tests, override the toolchain
there as well.

ce69bb4640379e70a02c62530597b80d66825e4e authored over 4 years ago by Ben Langmuir <[email protected]>
[test] Fix notification handler test when run in serial

The test was passing with --parallel since each test was being run in
its own process, but not w...

1653a8f12020a4d46c5597dc448622b3177a63a1 authored over 4 years ago by Ben Langmuir <[email protected]>
Fix target name after rebase

40525486b7bf65c4b4c055b142eb3d8b32710b3c authored over 4 years ago by Ben Langmuir <[email protected]>
build: repair build on Windows

This enables building SourceKit-LSP on Windows. This is sufficient to
repair the build, though ...

f3f0795cdc81c54f4afc88a48d473f19831a9937 authored over 4 years ago by Saleem Abdulrasool <[email protected]>
Merge pull request #286 from benlangmuir/product

Expose SourceKitLSP library product

8c658783aac7fdf6b072a3b7647374ad179bbcfc authored over 4 years ago by Ben Langmuir <[email protected]>
Expose SourceKitLSP library product

It's not at all stable, so underscore it, but it may be useful for
experimentation.

a19c996723252cd75c56ea3d178c96bc9121e797 authored over 4 years ago by Ben Langmuir <[email protected]>
Rename module SourceKit -> SourceKitLSP

Clarify its role, since it is not really an LSP-independent interface
right now.

4ff14d278d17b12174a41e929cb1c13abe4ca419 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #285 from benlangmuir/gmodules-workaround

[clang] Workaround module format issue with -gmodules

ab6ecdac93ca73044a328d9352c4215f255925c9 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #283 from benlangmuir/cmake-up

[cmake] Attempt to update the build files for recent changes

9d8a5d41ce1d83a72ccf979f8172671b1ead901c authored over 4 years ago by Ben Langmuir <[email protected]>
[clang] Workaround issue with relative -fmodules-cache-path

8fdcd164ae1b3791587bea83d9fa8c6670d7572a authored over 4 years ago by Ben Langmuir <[email protected]>
[cmake] Attempt to update the build files for recent changes

Update for files added/removed and the new sourcekitd target.

8520c8de10d78828fda7edc707f5a28bddf78a84 authored over 4 years ago by Ben Langmuir <[email protected]>
[clang] Workaround module format issue with -gmodules

Clangd is not built with support for the "obj" format of modules, used
by e.g. `-gmodules`. Work...

cdf4efe4425e705d9adee59f010142bf81bc525c authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #282 from benlangmuir/sourcekitd-sharing

[sourcekitd] Add support for having multiple notification handlers with correct sharing

f40f61087c5e47509dea8e0072ddfdc3d0153af5 authored over 4 years ago by Ben Langmuir <[email protected]>
[gardening] Rename subdirectories for clarity

Now that sourcekitd has its own module, clarify the naming of the
subdirectories in the primary ...

ed1cce4baa9d40a8917e143ccb17116c052f3286 authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Wrap initialization/shutdown and notification handlers

The notification handler and initialize/shutdown APIs all modify global
state within the service...

9bb269c1b39d9e0ba57b538b6d480a975ac1ec53 authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Add a registry for sourcekitd instances

Protect ourselves from ever having multiple sourcekitd instances for the
same path live at once,...

f6d77010482c2cf3fcaaed64a131b5ee9671a2be authored over 4 years ago by Ben Langmuir <[email protected]>
[test] Regenerate linuxmain

0670fb5fc46e0b7a353eaac331ac55ac748190ab authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Switch to TSCBasic's Lock for improved block API

095ca6c9045282bdffffbe0f314b922675cf7de8 authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Add a test for multiple notification handlers

68691e5dc9ab373f191732d7e1050a2bd9add49f authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Split sourcekitd into class and protocol

For now, we only have one concrete implementation in sourcekit-lsp
itself, but it is useful for ...

d1a997f3debc5ce568e18e730987bd338ad079ec authored over 4 years ago by Ben Langmuir <[email protected]>
[sourcekitd] Move SourceKitD to its own module and lightly refactor

f9d26d6bcf37ac16d0c6bc6b3d5aee3293636fc5 authored over 4 years ago by Ben Langmuir <[email protected]>
Send `didSave` notifications to clangd if it supports it (#280)

* Send `didSave` notifications to clangd if it supports it

- Minor update to the LSP protocol...

8b57352f3b6f5d73eb545835a6dbb088fc581e81 authored over 4 years ago by David Goldman <[email protected]>
Swap `BuildSystem` to remove build settings method (#183)

Remove `settings(for:)` from the BuildSystem API in favor of the change callback

- With the `...

cf19900d846bdd9de21f40694f9ba74d5685b287 authored over 4 years ago by David Goldman <[email protected]>
Merge pull request #278 from DavidGoldman/buildsystemrefactor

Remove `BuildSystemList`, merge it into `BuildSystemManager`

5cc541312d6221f58dbf38e2c3376eb98721ce61 authored over 4 years ago by David Goldman <[email protected]>
Make the fallback build system optional

Change-Id: Icc32bb2378973684ecd06fd3a665c221a0ee1f0b

8b78f3cd83d0ab15d5e5b11720232b6b8fb8c367 authored over 4 years ago by David Goldman <[email protected]>
Remove `BuildSystemList`, merge it into `BuildSystemManager`

- As discussed [here](https://forums.swift.org/t/sourcekit-lsp-file-status-ux/35947) the `BuildS...

16d6e39f6aadbe7fcf52fd19a319880ff80f9ddc authored over 4 years ago by David Goldman <[email protected]>
Merge pull request #272 from benlangmuir/clean

[build-script] Clean build directory

e999430cd6a23f4134d8fbec5628d644025c735c authored over 4 years ago by Ben Langmuir <[email protected]>
[build-script] Clean build directory

0daa9fa5e39d8bae38c65cd4ba1f2d8d0d6c8d16 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #271 from armandgrillet/npm-audit-fix

[vscode-extension] Run 'npm audit fix'

18576d1c834a6d86fcd284d90f6f7635a502946e authored over 4 years ago by Ben Langmuir <[email protected]>
[vscode-extension] Run 'npm audit fix'

Fixes 2 vulnerabilities (1 low, 1 high).

36a352d588505979f9f12142d3ad44f1651cf2b8 authored over 4 years ago by Armand Grillet <[email protected]>
Merge pull request #270 from benlangmuir/tsan-fix

[test] Fix data race in build system test

388ec3e7f98d592a943687a64c97e0b53713d522 authored over 4 years ago by Ben Langmuir <[email protected]>
[build-script] When using tsan, halt_on_error=true

This seems more reliable for detecting failures in CI.

233ab60829fd370261376fa9a284215e904216ff authored over 4 years ago by Ben Langmuir <[email protected]>
[test] Fix data race in build system test

Found by tsan!

bcf7c017392293e5ed867c7ac6be3152068afbeb authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #269 from benlangmuir/parallelize-but-not-destructorize

[linux] Re-enable parallel testing after avoiding static destructors

5892c04d4f2b6480f59e163a7f43ee22081c2756 authored over 4 years ago by Ben Langmuir <[email protected]>
[build-script] Change dist to linux_distribution

Seems to be the newer version.

4c925df8e798f7224f501e190d8906ccbcee7c2b authored over 4 years ago by Ben Langmuir <[email protected]>
[test] Re-enable --parallel testing

rdar://61837752

b3e9a8ffba9bcfee3408d4f92fb2478369d5a1f6 authored over 4 years ago by Ben Langmuir <[email protected]>
[linux] Stop using RTLD_DEEPBIND in dlopen of libsourcekitdInProc.so

After updating libsourcekitdInProc to stop exporting all of the llvm
symbols, we can now safely ...

c0e39fbbd62c61118dbb242195b479c44cbd9375 authored over 4 years ago by Ben Langmuir <[email protected]>
[linux] Avoid running static destructors due to SR-12668

To prevent crashes during `exit` caused by SR-12668, avoid running
static destructors. During te...

6da67ecf505b172a10e3326b85bd83239d6b153a authored over 4 years ago by Ben Langmuir <[email protected]>
[test] Disable --parallel testing temporarily (#268)

We have a couple of non-deterministic CI failures right now, and they
may be triggered by, or m...

7922ef4e3e0119f1b642195fbc212aa9deebabde authored over 4 years ago by Ben Langmuir <[email protected]>
[vscode-extension] Add serverArguments configuration to allow setting flags for sourcekit-lsp (#265)

* Add serverArguments extension configuration to allow setting flags for sourcekit-lsp

ef7e1c6a3cb56d641db58058941500b953174cc4 authored over 4 years ago by Ernie Turner <[email protected]>
Merge pull request #266 from benlangmuir/toolchain-path

[5.3] [build-script] Remove hard-coded install prefix of /usr and pass it in instead

be0992002bc1d5094023559fa011131eebafa3f9 authored over 4 years ago by Mishal Shah <[email protected]>
[build-script] Remove hard-coded install prefix of /usr and pass it in instead

b7eba90adeb36ecf47e8b696fbd9671bf7ec0dd1 authored over 4 years ago by Butta <[email protected]>
Merge pull request #264 from Trzyipolkostkicukru/prettify-hover

Prettify hover response

a1e31bde7c802c7092636b6195afd4ea5a9e10c9 authored over 4 years ago by Ben Langmuir <[email protected]>
Prettify hover response

Makes symbol name the same size as the rest of text, and puts a dividing line between declaratio...

b3a508d429d15ac1b22b95f6f9c501f27d2a42fc authored over 4 years ago by cukr <[email protected]>
Merge pull request #257 from buttaface/prefix

[build-script] Remove hard-coded install prefix of /usr and pass it in instead

bf8a1c2f31ee520670bdbf960080adfa785cbbbe authored over 4 years ago by Mishal Shah <[email protected]>
Merge pull request #263 from benlangmuir/sanitize

[build-script] Add sanitizer flags

8efa31b73bb6c68c80ad4f280b9e2b81e03fca2f authored over 4 years ago by Ben Langmuir <[email protected]>
[build-script] Add sanitizer flags

Add --sanitize to choose a specific sanitizer, or --sanitize-all to run
all the sanitizers in su...

cd60743d9e3499cd4bb3cd012ae7e9586c09c505 authored over 4 years ago by Ben Langmuir <[email protected]>
Merge pull request #260 from ghvg1313/swift-working-directory

Append working directory to swift compiler args when presented in build settings

ca96138352e05009e3b4a0e23c62c44bbc0d3f59 authored almost 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #262 from benlangmuir/eexist

[test] Workaround an issue with createDirectory on Linux

e6448df304d5f02ca91640c2269bb8330ee09f3f authored almost 5 years ago by Ben Langmuir <[email protected]>
[test] Workaround an issue with createDirectory on Linux

Apply the same workaround as we did in indexstore-db. We haven't seen
this particular instance f...

4644ffbe4f4f869908afb551dc4881d5967c75b5 authored almost 5 years ago by Ben Langmuir <[email protected]>
fix CompilationDatabaseTests

8b161688799a727b7c39698c3afc292ffd75edcd authored almost 5 years ago by Kanglei Fang <[email protected]>
Merge pull request #261 from benlangmuir/parallel

[build-script] Add --parallel to supress output on success

233db3b2270c6b8220c38bd9a540f661d54a59e6 authored almost 5 years ago by Ben Langmuir <[email protected]>
[test] Fix double close in testCloseRace

Close the fd via the FileHandle rather than directly on the file
descriptor so that it does not ...

6445a690291112a9ee06a989740c76afa2bc40de authored almost 5 years ago by Ben Langmuir <[email protected]>
[build-script] Add --parallel to supress output on success

It's slightly faster and it helps supress the test output when tests
succeed (which avoids false...

af6f986bb1f2e94e7c619bfc785565fe74d6457f authored almost 5 years ago by Ben Langmuir <[email protected]>
fix tests

c22352a5ffaa4e0668361c505b1b27d5c7047d73 authored almost 5 years ago by Kanglei Fang <[email protected]>
linuxmain and edit copyright year

6cfa1977330007e28c70da375348cb077b05536d authored almost 5 years ago by Kanglei Fang <[email protected]>
Move logic to FileBuildSettings

3a9f27b7eba8ec5fabe130625ccd53983c57d574 authored almost 5 years ago by Kanglei Fang <[email protected]>
Merge pull request #259 from benlangmuir/gardening

[gardening] Fix warning and missing test on Linux

733e79b10cd285cea3bbd7b0d94ef116cc026dd0 authored almost 5 years ago by Ben Langmuir <[email protected]>
Fix a build warning in ConnectionTests.swift

8b9f019d948f8ad4c20da010e1cd3befa780f0bd authored almost 5 years ago by Ben Langmuir <[email protected]>
Regenerate linuxmain

Was missed after a recent test addition.

a912fc0025f9c32c6769ab5d52a12bfbb9457698 authored almost 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #258 from rintaro/sourcekitd-completion-optionalsort-rdar60799439

[sourcekitd] Add an option to completion request to sort results

e7a46c99857596ac7db0893906137274ce1f719a authored almost 5 years ago by Rintaro Ishizaki <[email protected]>
[sourcekitd] Add an option to completion request to sort results

rdar://problem/60799439

a27470dc71ebc03dfd41871dd3e94e59cce138d5 authored almost 5 years ago by Rintaro Ishizaki <[email protected]>
[build-script] Remove hard-coded install prefix of /usr and pass it in instead

1acf71d5659b4d2c16c5095f6a16edb9632b28a5 authored almost 5 years ago by Butta <[email protected]>
Merge pull request #256 from benlangmuir/disable-sr-12378

Disable testDependenciesUpdatedCXXTibs temporarily

babf190c1886ea3c1b4fe6017285a181ed09b182 authored almost 5 years ago by Ben Langmuir <[email protected]>
Disable testDependenciesUpdatedCXXTibs temporarily

https://bugs.swift.org/browse/SR-12378

4468fead4349c50c07b3278a194a8cbc530dbd72 authored almost 5 years ago by Ben Langmuir <[email protected]>
Support for clangd's go-to-definition for #include/#import (#247)

* Support for clangd's go-to-definition for header files

- By forwarding the request to clang...

81e2688c5d61e7864b525c59b9628ec79af9d16b authored almost 5 years ago by David Goldman <[email protected]>
Merge pull request #254 from benlangmuir/wait-io

[JSONRPC] Do not exit until outstanding I/O has finished

7d18d3bb3841594f443868bc172bcd8a84d756b9 authored almost 5 years ago by Ben Langmuir <[email protected]>
[JSONRPC] Do not exit until outstanding I/O has finished

Specifically, we care that all outstanding **writes** are finished
before we call the close hand...

fae2fe85a7b40de25e74c696b4b8377e4ce4786b authored almost 5 years ago by Ben Langmuir <[email protected]>
Merge pull request #253 from apple/rename-tsc

Adopt the new location of vendored TSC in SwiftPM

b00cff1116dee777e75e587f91bb6c2f8d6c2874 authored almost 5 years ago by Ankit Aggarwal <[email protected]>
Adopt the new location of vendored TSC in SwiftPM

41c6425f26e507127f23c4abfae7694aa484033b authored almost 5 years ago by Ankit Aggarwal <[email protected]>
Merge pull request #252 from benlangmuir/deadlock-begone

Make BuildSystemManager passthrough notifications fully `async

b92d27ed990679f643ef25ef4dcaad1fe8a9bf9e authored almost 5 years ago by Ben Langmuir <[email protected]>
Make BuildSystemManager passthrough notifications fully `async

This avoids having a gotcha in the API where if a build system calls
these methods while it is b...

f5bd9cf12aad472d0ea1b20b1036defd03133da0 authored almost 5 years ago by Ben Langmuir <[email protected]>