Commit Graph

  • e0173c8740 Merge pull request #956 from ahoppen/ahoppen/dont-log-error-for-unknown-notifications Alex Hoppen 2023-10-31 17:05:43 -07:00
  • 9a87691853 Merge pull request #945 from ahoppen/ahoppen/language-server-protocol-dependency-free Alex Hoppen 2023-10-31 16:02:50 -07:00
  • af794f7861 Merge pull request #952 from ahoppen/ahoppen/no-more-tibs Alex Hoppen 2023-10-31 15:45:16 -07:00
  • 13d9edab01 Add a test case for diagnostics produced by the built-in swift-syntax Alex Hoppen 2023-10-31 15:32:21 -07:00
  • 9919d038ee Merge pull request #947 from ahoppen/ahoppen/skip-semantic-tokens-tests Alex Hoppen 2023-10-31 15:09:27 -07:00
  • 0c4f6590d7 Merge pull request #933 from ahoppen/ahoppen/log-sourcekitd-crash-info Alex Hoppen 2023-10-31 13:32:16 -07:00
  • aa70fc0e8d Make the LanguageServerProtocol module dependency-free Alex Hoppen 2023-10-27 10:31:34 -07:00
  • 389cb914c6 Merge pull request #918 from JCWasmx86/main Alex Hoppen 2023-10-31 13:18:01 -07:00
  • 2d0c81896e Remove TIBS test infrastructure Alex Hoppen 2023-10-30 10:17:47 -07:00
  • 2aefb577e7 Change main file tests to define sources inline Alex Hoppen 2023-10-30 09:56:55 -07:00
  • 35c52c7590 Allow creation of TaskMetadata for all known notification and request types Alex Hoppen 2023-10-30 16:47:09 -07:00
  • 1a23153fd5 When sourcekitd crashes, log the file contents with which it crashed and the request Alex Hoppen 2023-10-26 14:46:52 -07:00
  • 33fa4c5487 Merge pull request #951 from ahoppen/ahoppen/signpost Alex Hoppen 2023-10-31 08:27:24 -07:00
  • ecc550eb53 Skip semantic tokens tests if sourcekitd doesn't support the semantic tokens request Alex Hoppen 2023-10-27 11:00:25 -07:00
  • cc40dfb1d8 Merge pull request #937 from ahoppen/ahoppen/remove-request-type Alex Hoppen 2023-10-31 08:25:49 -07:00
  • e45efa7a44 Merge pull request #957 from ahoppen/ahoppen/always-prefix-for-orlog Alex Hoppen 2023-10-31 08:25:28 -07:00
  • 6e632129aa Validate ClangWorkspaceSettings before preferring it over unknown WorkspaceSettingsChanges JCWasmx86 2023-10-23 13:34:50 +02:00
  • 6cff70a4b8 Merge pull request #950 from ahoppen/ahoppen/no-main-file-provider-swift Alex Hoppen 2023-10-30 17:27:36 -07:00
  • c615da1d40 Merge pull request #954 from ahoppen/ahoppen/scratch-dir-improvements Alex Hoppen 2023-10-30 17:27:08 -07:00
  • c37b4b8a8c Always require a prefix for orLog calls Alex Hoppen 2023-10-30 16:55:44 -07:00
  • 5daf73677a Merge pull request #953 from ahoppen/ahoppen/log-fixes Alex Hoppen 2023-10-30 16:47:56 -07:00
  • 19f86389b2 Merge pull request #949 from ahoppen/ahoppen/fix-unbalanced-register-unregister-crash Alex Hoppen 2023-10-30 16:16:10 -07:00
  • 9f7ff0891a Merge pull request #944 from ahoppen/ahoppen/declname swift-DEVELOPMENT-SNAPSHOT-2023-10-30-a Alex Hoppen 2023-10-30 14:25:42 -07:00
  • 4a924c4f9c Remove assertion that we can't register for change notifications twice in SwiftPMWorkspace Alex Hoppen 2023-10-26 18:16:01 -07:00
  • 2a51479dea Remove language parameter from BuildSystem.registerForChangeNotifications Alex Hoppen 2023-10-26 18:13:17 -07:00
  • f4a07df3c5 Merge pull request #943 from ahoppen/ahoppen/latest-snapshot-throw Alex Hoppen 2023-10-30 13:56:01 -07:00
  • 3c83777dda Merge pull request #948 from ahoppen/ahoppen/cleanup Alex Hoppen 2023-10-30 13:54:43 -07:00
  • 47e7a13ce6 Emit signposts for request handling Alex Hoppen 2023-10-17 09:03:01 -07:00
  • 324a7daddd Change the Request type to be a fileprivate RequestAndReply in SourceKitServer Alex Hoppen 2023-10-26 19:13:22 -07:00
  • 6b5d3f730c Improve test scratch directory creation Alex Hoppen 2023-10-30 12:59:02 -07:00
  • c151216767 Default to a debug log level in NonDarwin Logger if sourcekit-lsp is built in debug mode Alex Hoppen 2023-10-30 12:57:00 -07:00
  • 8074a430f6 Fix issue that SOURCEKITLSP_LOG_LEVEL was not applied Alex Hoppen 2023-10-30 12:54:43 -07:00
  • 1e32709333 Don't call into the MainFileProvider for Swift files Alex Hoppen 2023-10-26 18:21:53 -07:00
  • 9cd33a6511 Merge pull request #924 from ahoppen/ahoppen/capture-clangd-stderr swift-DEVELOPMENT-SNAPSHOT-2023-10-29-a swift-DEVELOPMENT-SNAPSHOT-2023-10-28-a Alex Hoppen 2023-10-27 14:04:11 -07:00
  • 8d71b317a4 Merge pull request #946 from ahoppen/ahoppen/remove-connection-sendsync Alex Hoppen 2023-10-27 14:04:00 -07:00
  • 57fc1614b8 Merge pull request #942 from ahoppen/ahoppen/log-less-noisy Alex Hoppen 2023-10-27 14:03:43 -07:00
  • 98d4fcfb5f Add WillSaveTextDocument and DidSaveTextDocument to the known requests Alex Hoppen 2023-10-06 14:44:42 -07:00
  • cd57429a8b Reduce the scope of one task Alex Hoppen 2023-10-27 13:04:51 -07:00
  • 96e0e48b0d Make DocumentManager.latestSnapshot throw if no snapshot exists for the URI Alex Hoppen 2023-10-27 10:09:15 -07:00
  • 4ad1c83639 Merge pull request #934 from ahoppen/ahoppen/no-sendsync swift-DEVELOPMENT-SNAPSHOT-2023-10-27-a Alex Hoppen 2023-10-27 12:50:49 -07:00
  • baa450a602 Remove Connection.sendSync Alex Hoppen 2023-10-27 10:41:30 -07:00
  • 02606d22fa Rename qualifiedDeclName to declName in document symbols Alex Hoppen 2023-10-27 10:11:38 -07:00
  • 182deb75bb Merge pull request #932 from ahoppen/ahoppen/log-build-settings-once Alex Hoppen 2023-10-27 09:48:51 -07:00
  • f879950858 Reduce SwiftPM log message to be at most at the default level Alex Hoppen 2023-10-27 09:33:29 -07:00
  • 8286113fef Set the build system to nil if no compilation database can be loaded Alex Hoppen 2023-10-27 09:32:18 -07:00
  • 81589bca4c Capture stderr from clangd and forward it to the logger Alex Hoppen 2023-10-25 13:51:14 -07:00
  • 204b1ce8ba Merge pull request #935 from ahoppen/ahoppen/throw-error-instead-of-fallback Alex Hoppen 2023-10-27 06:02:39 -07:00
  • 8457f84b12 Merge pull request #930 from ahoppen/ahoppen/log-reply Alex Hoppen 2023-10-27 06:01:51 -07:00
  • 204236792e Merge pull request #931 from ahoppen/ahoppen/remove-notification-type Alex Hoppen 2023-10-27 06:01:43 -07:00
  • 6d2709d46f Remove the fallback value from SourceKitServer.handleRequest Alex Hoppen 2023-10-26 16:20:00 -07:00
  • 5bdd6f253b Refactor SwiftLanguageServer to be able to call the async version of SourceKitD.send Alex Hoppen 2023-10-26 15:33:40 -07:00
  • c667741b7e Change most SourceKitD.sendSync calls to call the async alternative Alex Hoppen 2023-10-26 15:13:53 -07:00
  • b88977201e Increase log level for request responses Alex Hoppen 2023-10-26 15:01:28 -07:00
  • 78c28f5dec Merge pull request #920 from ahoppen/ahoppen/more-test-migration Alex Hoppen 2023-10-26 21:31:53 -07:00
  • 9abcd2a3a3 Remove the Notification type Alex Hoppen 2023-10-26 13:37:32 -07:00
  • 996df8c597 Introduce a BarrierRequest that ensures all messages are handled before it replies Alex Hoppen 2023-10-25 21:17:46 -07:00
  • 79b1ab27bc Define sources of type hierarchy tests inline with the test cases Alex Hoppen 2023-10-24 16:52:33 -07:00
  • 2528c5f495 Define sources of SystemSwiftInterface inline with the tests Alex Hoppen 2023-10-25 10:40:30 -07:00
  • 29941694b9 Define sources of SwiftPMPackage inline with the test cases Alex Hoppen 2023-10-25 10:42:35 -07:00
  • 231ba0b254 Define sources for SwiftModules inline with the test case Alex Hoppen 2023-10-26 10:02:10 -07:00
  • 9106467861 Define sources for sourcekitdCrashRecovery inline with the test case Alex Hoppen 2023-10-24 14:54:39 -07:00
  • c83b1aee05 Define sources of SemanticRefactor inline with the test cases Alex Hoppen 2023-10-24 14:49:43 -07:00
  • 85b2c0b0dc Delete proj1 test input files Alex Hoppen 2023-10-24 14:28:59 -07:00
  • 57e61dbd6c Define sources for OtherSwiftPMPackage inline with the test cases Alex Hoppen 2023-10-26 10:18:06 -07:00
  • 036b1db8a8 Define sources for mixed package tests inline with the tests Alex Hoppen 2023-10-24 13:47:22 -07:00
  • 9c424d8740 Define sources of implementation tests inline with the test cases Alex Hoppen 2023-10-24 16:58:16 -07:00
  • 198dc66222 Define sources of GeneratedHeader inline with the test case Alex Hoppen 2023-10-24 11:16:30 -07:00
  • b35c3bab86 Define sources of ClangStdHeaderCanary inline with the test case Alex Hoppen 2023-10-24 11:12:43 -07:00
  • a0ab315719 Remove an unnecessary capture of self Alex Hoppen 2023-10-24 11:06:54 -07:00
  • b79d42a42f Define sources of ClangModules test case inline Alex Hoppen 2023-10-24 10:03:11 -07:00
  • d043dc068d Merge pull request #860 from ahoppen/ahoppen/cancellation Alex Hoppen 2023-10-26 15:34:38 -07:00
  • 875a876377 Merge pull request #928 from ahoppen/ahoppen/sort-request-keys-in-log Alex Hoppen 2023-10-26 15:34:24 -07:00
  • 4e0e12c14c Only log build settings once unless they change Alex Hoppen 2023-10-26 14:10:34 -07:00
  • 139b69ad2c Merge pull request #923 from ahoppen/ahoppen/rebranch-failures Alex Hoppen 2023-10-26 12:00:52 -07:00
  • 9ebee17ea8 Merge pull request #926 from ahoppen/ahoppen/document-symbols-syntax Alex Hoppen 2023-10-26 11:59:17 -07:00
  • f29c97f52e Update the document after cancelling the completion request to unblock sourcekitd Alex Hoppen 2023-10-25 13:05:30 -07:00
  • f7572c4035 Factor withCancellableCheckedThrowingContinuation into a separate function Alex Hoppen 2023-10-11 09:06:00 -07:00
  • b41f6af59d Avoid a potential race condition in which a sourcekitd/clangd request wouldn't get cancelled Alex Hoppen 2023-10-10 11:44:48 -07:00
  • 71dfd489ae Remove CancellationToken Alex Hoppen 2023-10-04 08:18:24 -07:00
  • 3d17caded6 Implement request cancellation Alex Hoppen 2023-10-25 12:41:26 -07:00
  • 973c382d9c Implement DocumentSymbolsRequest using SwiftSyntax Alex Hoppen 2023-10-25 19:16:22 -07:00
  • 87dd95e779 Merge pull request #927 from ahoppen/ahoppen/mini-improvements swift-DEVELOPMENT-SNAPSHOT-2023-10-26-a Alex Hoppen 2023-10-26 09:37:46 -07:00
  • 9f3bc4a8b5 Sort the JSON keys when logging a request Alex Hoppen 2023-10-26 09:37:04 -07:00
  • b7063a8735 Merge pull request #925 from ahoppen/ahoppen/document-color-syntax Alex Hoppen 2023-10-26 09:34:53 -07:00
  • 69d22daed1 Format SwiftLanguageServer.swift Alex Hoppen 2023-10-25 21:22:42 -07:00
  • 59cc291668 Don’t log a fault if the publish diagnostics notification is cancelled Alex Hoppen 2023-10-25 21:21:45 -07:00
  • a1f909ae2e Introduce a new sub-logging scope for the implicitly triggered publish diagnostics notification Alex Hoppen 2023-10-25 21:20:52 -07:00
  • 5a8ca10942 Refactor document symbol tests to be more modular Alex Hoppen 2023-10-25 16:39:00 -07:00
  • 1b3fd5f1ab Implement the document color request using the SwiftSyntax tree Alex Hoppen 2023-10-25 14:16:16 -07:00
  • 7772f0721d Merge pull request #921 from ahoppen/ahoppen/rename-testclient Alex Hoppen 2023-10-25 10:31:00 -07:00
  • a7a60148f3 Fix test failures after merging rebranch Alex Hoppen 2023-10-25 10:29:18 -07:00
  • 640abbb7df Merge pull request #919 from ahoppen/ahoppen/log-separator Alex Hoppen 2023-10-25 09:35:49 -07:00
  • 9ba3de57b4 Rename TestClient to TestMessageHandler Alex Hoppen 2023-10-24 18:27:33 -07:00
  • cb21f9a864 Output a --- marker to mark the end of a log message in NonDarwinLogger Alex Hoppen 2023-10-24 08:26:55 -07:00
  • c5c605d81d Merge pull request #912 from ahoppen/ahoppen/semantic-tokens-request Alex Hoppen 2023-10-24 17:51:46 -07:00
  • 83519eae21 Merge pull request #917 from joehsieh/migrate-queue-to-actor Alex Hoppen 2023-10-24 17:18:01 -07:00
  • 643d458886 Merge pull request #914 from ahoppen/ahoppen/single-indexed-file-workspace Alex Hoppen 2023-10-24 16:53:51 -07:00
  • ea445cb9e2 Convert ManualMainFilesProvider to be an actor joehsieh 2023-10-21 21:01:13 +09:00
  • 48b617c900 Define the sources of ClangCrashRecoveryBuildSettings inline with the tests Alex Hoppen 2023-10-23 16:20:40 -07:00
  • 9780672cac Define sources of ClangCrashRecovery inline Alex Hoppen 2023-10-23 16:00:23 -07:00