Commit Graph

  • 04d8c6be9a Address review comments to #1322 Alex Hoppen 2024-05-22 08:52:26 -07:00
  • 82637937f6 Add signposts for background preparation and indexing Alex Hoppen 2024-05-20 21:43:25 -07:00
  • 814f3c5afc Merge pull request #1329 from ahoppen/index-subcommand Alex Hoppen 2024-05-22 06:43:33 -07:00
  • 30a16ec94c Merge pull request #1326 from ahoppen/index-log Alex Hoppen 2024-05-22 06:41:11 -07:00
  • 6aecd22120 Merge pull request #1330 from ahoppen/non-deterministic-task-scheduler-test Alex Hoppen 2024-05-22 01:28:24 -07:00
  • 2036729f42 Fix a non-deterministic test failure of testTaskSuspension Alex Hoppen 2024-05-21 22:45:27 -07:00
  • da96d45443 Add a development subcommand to index a project Alex Hoppen 2024-05-21 22:27:36 -07:00
  • 3e6319c3b9 Produce an index log for the client Alex Hoppen 2024-05-21 22:14:42 -07:00
  • a88798129d Add an option to show the files that are currently being index / targets being prepared in the work done progress Alex Hoppen 2024-05-21 22:09:22 -07:00
  • 44acd0d550 Merge pull request #1325 from ahoppen/fix-topological-sorting Alex Hoppen 2024-05-21 22:03:41 -07:00
  • 46f5b64719 Merge pull request #1323 from ahoppen/dont-stack-preparation-for-editor Alex Hoppen 2024-05-21 22:03:28 -07:00
  • 25a53c1d22 Merge pull request #1324 from ahoppen/6.0/merge-main-2024-05-21 Alex Hoppen 2024-05-21 18:13:07 -07:00
  • 41b810b80c Cancel preparation tasks for editor functionality if the preparation task hasn't been started yet and the document is no longer active Alex Hoppen 2024-05-20 21:41:44 -07:00
  • ce34ec25a3 Fix issue that caused topological order to be incorrect Alex Hoppen 2024-05-21 16:37:53 -07:00
  • 9a067371c2 Merge branch 'main' into 6.0/merge-main-2024-05-21 Alex Hoppen 2024-05-21 11:07:56 -07:00
  • 0e58ab1ec9 Merge pull request #1322 from ahoppen/split-status-and-progress-tracking Andrew Trick 2024-05-21 09:22:05 -07:00
  • e295a4e95a Split up-to-date status tracking and index progress tracking Alex Hoppen 2024-05-20 21:01:40 -07:00
  • d12c946988 Merge pull request #1321 from ahoppen/target-preparation-testing Alex Hoppen 2024-05-20 20:02:01 -07:00
  • 3f9ff29ee3 Merge pull request #1309 from ahoppen/review-comments-1306 Alex Hoppen 2024-05-20 13:40:58 -07:00
  • af6cdeba37 Merge pull request #1313 from ahoppen/only-mark-dependent-targets-as-out-of-date Alex Hoppen 2024-05-20 13:40:51 -07:00
  • 0da052757e Merge pull request #1314 from ahoppen/command-line-sanitization Alex Hoppen 2024-05-20 13:40:44 -07:00
  • 815fea827e Add infrastructure to test which targets are being prepared Alex Hoppen 2024-05-17 17:38:30 -07:00
  • 5e8197c5cf Merge pull request #1316 from ahoppen/review-comments-1302 Alex Hoppen 2024-05-20 09:45:52 -07:00
  • fcc527f23b Merge pull request #1318 from ahoppen/log-in-localconnection Alex Hoppen 2024-05-20 09:45:37 -07:00
  • 0ce2107f43 Merge pull request #1317 from ahoppen/prepare-target-test-failure Alex Hoppen 2024-05-20 09:44:44 -07:00
  • 79d50f33c8 Merge pull request #1319 from ahoppen/remove-taskscheduler-logging Alex Hoppen 2024-05-20 09:44:24 -07:00
  • 9524753826 Introduce test hooks that can be used to monitor when preparation and index tasks finish Alex Hoppen 2024-05-17 16:46:14 -07:00
  • 2d27d57b66 Extract indexTaskDidFinish in SourceKitLSPServer.Options into a TestHooks struct Alex Hoppen 2024-05-17 16:30:47 -07:00
  • c01c6763c8 Extract tuple from SemanticIndexManager.preparationStatus into a struct Alex Hoppen 2024-05-17 15:56:05 -07:00
  • 6a132ad7d9 Remove status logging from TaskScheduler Alex Hoppen 2024-05-17 15:37:13 -07:00
  • 6695859c4b Improve handling of main file vs header file during indexing Alex Hoppen 2024-05-16 14:55:34 -07:00
  • fb0801aaac Merge pull request #1311 from ahoppen/review-comments-1307 Alex Hoppen 2024-05-17 15:28:00 -07:00
  • c2af2f5337 Merge pull request #1240 from DougGregor/code-action-add-target Doug Gregor 2024-05-17 15:24:11 -07:00
  • 5a7ab33c4b Merge pull request #1310 from ahoppen/review-comments-1249 Alex Hoppen 2024-05-17 14:36:09 -07:00
  • a850cb6849 When a file is changed, only mark targets that depend on it as out-of-date Alex Hoppen 2024-05-16 16:33:14 -07:00
  • 5bad2c540f Generalize the removal of compiler argument options during indexing Alex Hoppen 2024-05-17 08:46:01 -07:00
  • 56640c19c5 Address review comments to #1302 Alex Hoppen 2024-05-17 10:36:32 -07:00
  • 068b6dfe16 Fix non-deterministic test failure in BackgroundIndexingTests.testPrepareTarget Alex Hoppen 2024-05-17 11:59:16 -07:00
  • 195d3af74e Move LocalConnection to LSPTestSupport Alex Hoppen 2024-05-17 11:57:39 -07:00
  • bcea952e0b Merge pull request #1287 from kimdv/kimdv/1182-conditional-compile-directives-if-should-support-code-folding Alex Hoppen 2024-05-17 10:47:01 -07:00
  • 372673f3c2 Address review comments to #1249 Alex Hoppen 2024-05-16 15:41:48 -07:00
  • b30f59502e Add folding operator for IfConfigClauseSyntax Kim de Vos 2024-05-13 20:26:59 +02:00
  • c1073a4158 Don't re-prepare a target if there is already a smaller preparation task for it scheduled Alex Hoppen 2024-05-16 15:52:22 -07:00
  • 0600809a71 Address review comments to #1306 Alex Hoppen 2024-05-16 13:32:05 -07:00
  • 490871b21f Merge pull request #1307 from ahoppen/background-prepare-targets Alex Hoppen 2024-05-16 14:56:19 -07:00
  • 72083762a4 When interacting with a document, prepare the target it belongs to Alex Hoppen 2024-05-15 22:20:36 -07:00
  • 61b772094e Track which targets are up-to-date and avoid preparation of targets that are known to be up-to-date Alex Hoppen 2024-05-15 20:18:35 -07:00
  • 012a64f5c9 Merge pull request #1306 from ahoppen/dont-re-index-all-main-files Alex Hoppen 2024-05-16 10:07:58 -07:00
  • c58fa70011 Don’t re-index all files that include a header when a header is modified Alex Hoppen 2024-05-15 20:10:07 -07:00
  • 1b0d1e4cd7 Merge pull request #1305 from ahoppen/6.0/revert-test-item-extension-merging Alex Hoppen 2024-05-15 18:27:55 -07:00
  • 597932c0b7 Merge pull request #1303 from ahoppen/review-comments-1216 Alex Hoppen 2024-05-15 15:46:58 -07:00
  • b30b9725f4 Merge pull request #1302 from ahoppen/watch-file-changes-index Alex Hoppen 2024-05-15 15:46:33 -07:00
  • ff5db5f5e3 Revert "Merge pull request #1227 from plemarquand/merge-extension-tests" Alex Hoppen 2024-05-15 15:40:29 -07:00
  • 0e0f6d3176 Merge pull request #1184 from yaroslavyaroslav/patch-2 Alex Hoppen 2024-05-15 15:32:35 -07:00
  • f10eac3ace Address review comment to #1216 Alex Hoppen 2024-05-15 12:36:27 -07:00
  • 546bb3230e Update index as files are modified on disk Alex Hoppen 2024-05-14 22:18:54 -07:00
  • 387ce43bfa Merge pull request #1294 from ahoppen/build-tests-in-swift-6-mode swift-DEVELOPMENT-SNAPSHOT-2024-05-15-a Alex Hoppen 2024-05-15 06:11:13 -07:00
  • 8e5736d9bc Merge pull request #1301 from ahoppen/6.0/merge-main-2024-05-14 Alex Hoppen 2024-05-15 06:10:55 -07:00
  • d555ccdebb Revert "Fix deprecated ByteSourceRange" Alex Hoppen 2024-05-14 15:37:19 -07:00
  • 0783c9e6e6 Revert "Replace IncrementalEdit with SourceEdit" Alex Hoppen 2024-05-14 15:37:15 -07:00
  • 280a50e293 Adjustment because packages is not a parameter of ModulesGraph in release/6.0 Alex Hoppen 2024-05-14 15:36:18 -07:00
  • 70b62b05c0 Merge branch 'main' into 6.0/merge-main-2024-05-14 Alex Hoppen 2024-05-14 15:35:23 -07:00
  • 227012801c Make SourceKitLSPTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:51:58 -07:00
  • 0b01ede3a6 Make SourceKitDTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:51:28 -07:00
  • fae712b278 Make SKTestSupport build in Swift 6 mode Alex Hoppen 2024-05-14 15:04:33 -07:00
  • 66ecdd35b7 Make SKSwiftPMWorkspaceTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:48:58 -07:00
  • c09b47f164 Make SKCoreTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:48:32 -07:00
  • ee79512e0a Make LSPTestSupport build in Swift 6 mode Alex Hoppen 2024-05-13 21:47:26 -07:00
  • 267b1cd4bf Make LanguageServerProtocolJSONRPCTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:47:10 -07:00
  • b442195e61 Make ConnectionTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:45:13 -07:00
  • f8407b9f40 Make DiagnoseTests build in Swift 6 mode Alex Hoppen 2024-05-13 21:45:00 -07:00
  • fff4dc4a9d Merge pull request #1300 from ahoppen/diagnostic-source-name Alex Hoppen 2024-05-14 13:25:54 -07:00
  • 93663d59aa Merge pull request #1297 from ahoppen/endable-background-indexing-command-line-flag Alex Hoppen 2024-05-14 13:25:15 -07:00
  • ca9c93b7ef Merge pull request #1296 from ahoppen/guard-retroactive Alex Hoppen 2024-05-14 11:55:12 -07:00
  • ba56baebb1 Merge pull request #1275 from ahoppen/index-progress Alex Hoppen 2024-05-14 11:54:53 -07:00
  • 7baffde1db Change compiler’s diagnostic provider name to SourceKit Alex Hoppen 2024-05-14 10:02:35 -07:00
  • eec5455e88 Add a command-line option to enable background indexing Alex Hoppen 2024-05-14 09:49:33 -07:00
  • 365e3a5449 Guard @retroactive for CommandConfiguration behind #if compiler(>=5.11) Alex Hoppen 2024-05-14 08:47:03 -07:00
  • a6389e58e2 Show a work done progress that shows the index progress Alex Hoppen 2024-05-13 21:59:49 -07:00
  • c9b51f9b34 Allow client request handlers specified on TestSourceKitLSPClient to be executed in any order Alex Hoppen 2024-05-10 11:45:44 -07:00
  • eaa378f390 Plumb capabilities to SwiftPMTestProject and add a closure that can be executed before SourceKit-LSP is initialized Alex Hoppen 2024-05-10 11:45:16 -07:00
  • d70a68f37c Wait until initialization has finished before starting a work done progress Alex Hoppen 2024-05-10 11:44:17 -07:00
  • c399b43858 Don’t pass the finished taskDescription to indexTaskDidFinish callback Alex Hoppen 2024-05-10 06:50:40 -07:00
  • 0dc5cdd7c7 Call indexTaskDidFinish from SemanticIndexManager Alex Hoppen 2024-05-10 06:47:51 -07:00
  • 5cce99b920 Make IndexTaskDescription protocol-based instead of enum-based Alex Hoppen 2024-05-09 16:52:58 -07:00
  • 1fb087fb55 Merge pull request #1292 from ahoppen/sourcekitlsp-in-swift-6-mode Alex Hoppen 2024-05-14 06:15:16 -07:00
  • 0f097e61f0 Merge pull request #1289 from ahoppen/index-c-files Alex Hoppen 2024-05-14 06:14:00 -07:00
  • 05a14a881e Merge pull request #1293 from ahoppen/diagnose-in-swift-6-mode Alex Hoppen 2024-05-14 06:13:04 -07:00
  • 19f52b5346 Merge pull request #1291 from ahoppen/dont-rely-on-working-dir swift-DEVELOPMENT-SNAPSHOT-2024-05-14-a Alex Hoppen 2024-05-13 23:47:08 -07:00
  • 59ef3f657b Make the Diagnose module build in Swift 6 mode Alex Hoppen 2024-05-13 21:43:20 -07:00
  • 7e7df04b48 Make the SourceKitLSP module build in Swift 6 mode Alex Hoppen 2024-05-13 21:22:09 -07:00
  • 31f2674b80 Don’t rely on working directory during index preparation Alex Hoppen 2024-05-13 21:07:18 -07:00
  • 2f14afb827 Merge pull request #1276 from ahoppen/non-test-modules-in-swift-6-mode Alex Hoppen 2024-05-13 20:52:34 -07:00
  • 61a21347da Index clang files Alex Hoppen 2024-05-13 17:51:15 -07:00
  • 70e373c1fa Make all non-test modules except for SourceKitLSP build in Swift 6 mode Alex Hoppen 2024-05-12 22:44:20 -07:00
  • 4bff5603b4 Merge pull request #1250 from kimdv/kimdv/2532-merge-incrementaledit-and-sourceedit Alex Hoppen 2024-05-13 08:27:02 -07:00
  • 0e0ef0d53c Merge pull request #1273 from ahoppen/background-preparation Alex Hoppen 2024-05-13 07:07:13 -07:00
  • 740262cb24 Don’t set forceResolvedVersions to true when we have an index build directory Alex Hoppen 2024-05-10 14:42:22 -07:00
  • 13176b012d Address review comments Alex Hoppen 2024-05-10 12:56:37 -07:00
  • 5e83d7d904 Support background preparation of targets Alex Hoppen 2024-05-09 12:58:49 -07:00