Commit Graph

  • 411ded77a9 Asyncify documentDiagnostic Alex Hoppen 2023-10-03 09:56:39 -07:00
  • 9a05e5bc31 Asyncify inlayHints Alex Hoppen 2023-10-05 13:31:48 -07:00
  • a2e2c563d9 Asyncify colorPresentation Alex Hoppen 2023-10-03 09:45:20 -07:00
  • bfa8d321ed Asyncify documentSemanticTokens* Alex Hoppen 2023-10-03 09:43:04 -07:00
  • 84404215b6 Asyncify documentColor Alex Hoppen 2023-10-03 09:38:49 -07:00
  • 669b22f4df Asyncify documentSymbol Alex Hoppen 2023-10-03 09:33:10 -07:00
  • 377f7bafbd Asyncify documentSymbolHighlight Alex Hoppen 2023-10-03 09:27:46 -07:00
  • fea9dfe564 Asyncify openInterface Alex Hoppen 2023-10-05 13:31:15 -07:00
  • 19e22c57fa Asyncify codeCompletion Alex Hoppen 2023-10-05 13:30:41 -07:00
  • e441299449 Addressed code review comments: - change closeHandler's type to optional Andrey Klebanov 2023-10-05 11:31:13 -04:00
  • 76c116462c Allow operations added to AsyncQueue to throw Alex Hoppen 2023-10-05 07:16:14 -07:00
  • 785b00c438 Don't call closeHandler if it is nil Andrey Klebanov 2023-10-04 20:14:09 -04:00
  • 2e25499aa3 Merge pull request #850 from apple/ahoppen/asyncification Alex Hoppen 2023-10-04 07:45:17 -07:00
  • 479d54b89f Asyncify code actions Alex Hoppen 2023-10-02 18:11:47 -07:00
  • 6e7b5db9a2 Make hover return the request result as a return value Alex Hoppen 2023-10-02 17:55:57 -07:00
  • 81dec01180 Merge pull request #847 from ahoppen/ahoppen/refactor-main-file-computation Alex Hoppen 2023-10-03 08:06:48 -07:00
  • 0cccd3b443 Refactor the computation of main files Alex Hoppen 2023-10-02 16:54:30 -07:00
  • 453ebfb2b3 Make FallbackBuildSystem not conform to BuildSystem and remove no-op functions from it Alex Hoppen 2023-10-02 14:33:42 -07:00
  • d6101a1c56 Merge pull request #848 from ahoppen/ahoppen/minor-cleanups Alex Hoppen 2023-10-03 07:59:50 -07:00
  • 6206585a86 Merge pull request #849 from ahoppen/ahoppen/async-request-result-return Alex Hoppen 2023-10-03 07:57:49 -07:00
  • 1b6015f8aa Make the folding range request return the request result as an async return value Alex Hoppen 2023-10-02 17:32:00 -07:00
  • 1f02b95e55 Shift responsibility for in-order message handling from Connection to SourceKitServer Alex Hoppen 2023-10-02 17:27:57 -07:00
  • edfda7d743 Add support for concurrent queues and dispatch barriers to AsyncQueue Alex Hoppen 2023-10-02 17:21:40 -07:00
  • 0c30951ed4 Inline _handleUnknown Alex Hoppen 2023-09-27 14:49:30 -07:00
  • abf456aa5b Make reloadPackageStatusCallback async Alex Hoppen 2023-09-25 21:55:15 -07:00
  • 7f4e10e6d2 Asyncify MainFilesDelegate Alex Hoppen 2023-09-25 21:34:45 -07:00
  • eb597fd0a7 Remove a couple of async wrapper functions Alex Hoppen 2023-09-22 14:08:37 -07:00
  • e1548a0529 Merge pull request #841 from ahoppen/ahoppen/build-settings-pull Alex Hoppen 2023-10-02 16:56:40 -07:00
  • c642b37a96 Remove tracking of file build settings status in SourceKitServer and BuildSystemManager Alex Hoppen 2023-09-29 22:07:40 -07:00
  • dffcc939f7 Change the build system to only notify delegate about changed files, not about new build settings Alex Hoppen 2023-09-29 21:59:59 -07:00
  • 93dfc3dfbf Get the build settings of the main file for a given header in BuildSystemManager Alex Hoppen 2023-09-29 21:55:51 -07:00
  • bf867eced6 Call into the BuildSystemManager from BSMDelegate in BuildSystemManagerTests to get build settings Alex Hoppen 2023-09-29 21:54:38 -07:00
  • 8f859c5652 Simplify forwarding for requests to clangd Alex Hoppen 2023-09-26 20:30:39 -07:00
  • ebcdbb6839 Make SwiftLanguageServer and ClangLanguageServerShim call directly into SourceKitServer instead of through a LocalConnection Alex Hoppen 2023-09-29 22:26:21 -07:00
  • 607f040c28 Remove tracking of RequestCancelKey to CancellationToken Alex Hoppen 2023-09-27 15:34:32 -07:00
  • ea20e19045 Add an overload of firstNonNil that allows the default value to be nil Alex Hoppen 2023-09-30 07:57:18 -07:00
  • ca547cfc8f Migrate BSMDelegate in BuildSystemManagerTests` to an actor Alex Hoppen 2023-09-22 11:19:42 -07:00
  • 5335acaae7 Migrate BuildServerBuildSystem to an actor and make methods in BuildSystemDelegate async Alex Hoppen 2023-09-22 10:32:44 -07:00
  • 2c76561085 Migrate CompilationDatabaseBuildSystem to be an actor Alex Hoppen 2023-09-28 07:14:32 -07:00
  • 8eed2e24dc Migrate SwiftPMWorkspace to be an actor Alex Hoppen 2023-09-28 07:12:06 -07:00
  • 54e6d958d6 Make all methods on BuildSystem async Alex Hoppen 2023-09-28 07:11:34 -07:00
  • 443fc7a776 Make BuildSystemManager an actor Alex Hoppen 2023-09-28 07:10:05 -07:00
  • 34c6b81295 Move semaphore signalling to block main thread until request has received a reply instead of until it has been handled Alex Hoppen 2023-09-28 22:28:15 -07:00
  • 5952ddda24 Fix typos Alex Hoppen 2023-09-27 13:35:40 -07:00
  • 07eb45bb56 Wait for documents to be re-opened before setting the clangd status to be connected again Alex Hoppen 2023-09-27 16:51:54 -07:00
  • 9008a01b1d Call into the BuildSystemManager from ClangLanguageServerShim to get build settings Alex Hoppen 2023-09-21 21:16:05 -07:00
  • dd8231315b Migrate ClangLanguageServerShim to be an actor Alex Hoppen 2023-09-26 21:09:13 -07:00
  • f1548bd757 Call into the BuildSystemManager from SwiftLanguageServer to get build settings Alex Hoppen 2023-09-21 19:51:38 -07:00
  • ded0cf0168 Migrate SwiftLanguageServer to an actor Alex Hoppen 2023-09-26 21:07:28 -07:00
  • c4e50974d1 Make all the methods in ToolchainLanguageServer async Alex Hoppen 2023-09-21 16:47:18 -07:00
  • b36352b892 Make sourcekit-lsp compatible with SDKs < macOS 13.3 Alex Hoppen 2023-09-26 09:22:39 -07:00
  • 09dc0bc82f Make SourceKitServer an actor Alex Hoppen 2023-09-26 21:02:23 -07:00
  • ce58b3b2a5 Make MessageHandler.handle async Alex Hoppen 2023-09-19 14:12:19 -07:00
  • 9ec614942a Handle messages on a serial queue in Connection Alex Hoppen 2023-09-19 14:04:03 -07:00
  • 05b3abd4ed Merge pull request #846 from ahoppen/ahoppen/revert-asyncification swift-DEVELOPMENT-SNAPSHOT-2023-10-04-a swift-DEVELOPMENT-SNAPSHOT-2023-10-03-a swift-DEVELOPMENT-SNAPSHOT-2023-10-02-a swift-DEVELOPMENT-SNAPSHOT-2023-10-01-a Alex Hoppen 2023-09-30 14:05:21 -07:00
  • b22af35eb1 Revert asyncificaiton changes Alex Hoppen 2023-09-30 10:09:59 -07:00
  • 1606e7316f Merge pull request #836 from ahoppen/ahoppen/build-system-actor Alex Hoppen 2023-09-29 21:33:54 -07:00
  • 60961cebb2 Migrate BSMDelegate in BuildSystemManagerTests` to an actor Alex Hoppen 2023-09-22 11:19:42 -07:00
  • 32af558a6e Migrate BuildServerBuildSystem to an actor and make methods in BuildSystemDelegate async Alex Hoppen 2023-09-22 10:32:44 -07:00
  • 5a32f95a81 Migrate CompilationDatabaseBuildSystem to be an actor Alex Hoppen 2023-09-28 07:14:32 -07:00
  • fccbc3973c Migrate SwiftPMWorkspace to be an actor Alex Hoppen 2023-09-28 07:12:06 -07:00
  • e663bbcf8a Make all methods on BuildSystem async Alex Hoppen 2023-09-28 07:11:34 -07:00
  • 5e37b329a1 Make BuildSystemManager an actor Alex Hoppen 2023-09-28 07:10:05 -07:00
  • 0d38b7cd4f Merge pull request #840 from ahoppen/ahoppen/re-apply-pr swift-DEVELOPMENT-SNAPSHOT-2023-09-30-a Alex Hoppen 2023-09-29 16:42:24 -07:00
  • fd166e404e Merge pull request #839 from ahoppen/ahoppen/fix-integration-test swift-DEVELOPMENT-SNAPSHOT-2023-09-29-a Alastair Houghton 2023-09-29 07:47:37 +01:00
  • 66a27489d2 Fix typos Alex Hoppen 2023-09-27 13:35:40 -07:00
  • cc5a83bc40 Wait for documents to be re-opened before setting the clangd status to be connected again Alex Hoppen 2023-09-27 16:51:54 -07:00
  • 7e6d39b936 Call into the BuildSystemManager from ClangLanguageServerShim to get build settings Alex Hoppen 2023-09-21 21:16:05 -07:00
  • 33cf8ccf36 Migrate ClangLanguageServerShim to be an actor Alex Hoppen 2023-09-26 21:09:13 -07:00
  • 23b2db0588 Call into the BuildSystemManager from SwiftLanguageServer to get build settings Alex Hoppen 2023-09-21 19:51:38 -07:00
  • 72e752fe78 Migrate SwiftLanguageServer to an actor Alex Hoppen 2023-09-26 21:07:28 -07:00
  • 0b345738a6 Make all the methods in ToolchainLanguageServer async Alex Hoppen 2023-09-21 16:47:18 -07:00
  • 70f9903144 Move semaphore signaling to block main thread until request has received a reply instead of until it has been handled Alex Hoppen 2023-09-28 22:28:15 -07:00
  • 28d164c28f Move semaphore signalling to block main thread until request has received a reply instead of until it has been handled Alex Hoppen 2023-09-28 22:28:15 -07:00
  • a689a49b14 Merge pull request #838 from bnbarham/revert-actors Doug Gregor 2023-09-28 15:57:23 -07:00
  • 762532539e Revert "Make all the methods in ToolchainLanguageServer async" Ben Barham 2023-09-28 15:51:21 -07:00
  • 7bc3f1710e Revert "Migrate SwiftLanguageServer to an actor" Ben Barham 2023-09-28 15:51:17 -07:00
  • 15bdcc42e1 Revert "Call into the BuildSystemManager from SwiftLanguageServer to get build settings" Ben Barham 2023-09-28 15:51:07 -07:00
  • 212c497eb0 Revert "Migrate ClangLanguageServerShim to be an actor" Ben Barham 2023-09-28 15:51:01 -07:00
  • 10937134b9 Revert "Call into the BuildSystemManager from ClangLanguageServerShim to get build settings" Ben Barham 2023-09-28 15:50:50 -07:00
  • cd4e733de2 Revert "Wait for documents to be re-opened before setting the clangd status to be connected again" Ben Barham 2023-09-28 15:50:45 -07:00
  • ffcedc775d Revert "Fix typos" Ben Barham 2023-09-28 15:50:28 -07:00
  • 5b8c034f9d Revert "Fix the --sync option of sourcekit-lsp" Ben Barham 2023-09-28 15:48:26 -07:00
  • 34c298c538 Merge pull request #837 from ahoppen/ahoppen/fix-sync Alastair Houghton 2023-09-28 17:59:00 +01:00
  • ed45b26221 Fix the --sync option of sourcekit-lsp Alex Hoppen 2023-09-28 08:28:36 -07:00
  • 4282b1b0cd Merge pull request #834 from ahoppen/ahoppen/toolchain-language-servers-actor Alex Hoppen 2023-09-28 06:51:50 -07:00
  • aaa9bd49a1 Fix typos Alex Hoppen 2023-09-27 13:35:40 -07:00
  • b9fa20303d Wait for documents to be re-opened before setting the clangd status to be connected again Alex Hoppen 2023-09-27 16:51:54 -07:00
  • c95d2ebea2 Call into the BuildSystemManager from ClangLanguageServerShim to get build settings Alex Hoppen 2023-09-21 21:16:05 -07:00
  • d699645a5f Migrate ClangLanguageServerShim to be an actor Alex Hoppen 2023-09-26 21:09:13 -07:00
  • 9dd38798bb Call into the BuildSystemManager from SwiftLanguageServer to get build settings Alex Hoppen 2023-09-21 19:51:38 -07:00
  • 42ec5bba74 Migrate SwiftLanguageServer to an actor Alex Hoppen 2023-09-26 21:07:28 -07:00
  • a8b84256b3 Make all the methods in ToolchainLanguageServer async Alex Hoppen 2023-09-21 16:47:18 -07:00
  • a234d51a09 Merge pull request #830 from ahoppen/ahoppen/language-server-actor Alex Hoppen 2023-09-27 16:17:34 -07:00
  • 73bbba385a Merge pull request #835 from ahoppen/ahoppen/disable-parallel-testing Alex Hoppen 2023-09-27 13:19:51 -07:00
  • 4263313b20 Make sourcekit-lsp compatible with SDKs < macOS 13.3 Alex Hoppen 2023-09-26 09:22:39 -07:00
  • 351eaa2393 Make SourceKitServer an actor Alex Hoppen 2023-09-26 21:02:23 -07:00
  • 0e5d5c9fda Make MessageHandler.handle async Alex Hoppen 2023-09-19 14:12:19 -07:00
  • 7c0a910358 Handle messages on a serial queue in Connection Alex Hoppen 2023-09-19 14:04:03 -07:00
  • bc19c78873 Run tests sequentially in CI Alex Hoppen 2023-09-27 09:15:58 -07:00