Граф коммитов

1332 Коммитов

Автор SHA1 Сообщение Дата
Andrew Arnott ad64bbdf9a
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate 2024-10-30 17:07:32 -06:00
Andrew Arnott 1d50f65718
Merge remote-tracking branch 'origin/microbuild' into optprof_fixes 2024-10-29 10:55:15 -06:00
Andrew Arnott 818e927a90
Fix build break from missing intermediate directory 2024-10-08 17:00:23 -06:00
Andrew Arnott b1f96fa6c3
Avoid crashing the process when `Stream.Dispose` throws
Fixes #1084
2024-10-01 16:09:52 -07:00
Andrew Arnott e26cbc57b0
Replace warning with verbose message in log regarding `$/progress` not matching any method
Also skip construction of an error response to notifications that will never receive it.
2024-09-26 10:26:16 -06:00
Andrew Arnott 87e4571b72
Merge pull request #1079 from AArnott/fix1067
Avoid unobserved exception when read loop fails
2024-09-20 16:59:44 -06:00
Andrew Arnott a6069c7674
Avoid unobserved exception when read loop fails 2024-09-20 16:12:03 -06:00
Andrew Arnott bf4b5209d5
Add docs to help with disconnect investigations 2024-09-12 09:12:46 -06:00
Andrew Arnott ad6f43c71e
Allow `JsonElement` as the `params` object in the `SystemTextJsonFormatter` 2024-09-03 13:38:05 -06:00
Andrew Arnott 8f6f4a1e25
Merge pull request #1072 from AArnott/fixProxiesForIFacesNestedInInternal
Fix proxy generation based on `public` interfaces nested in `internal` ones
2024-08-27 09:24:53 -06:00
Andrew Arnott cd79753dd4
Fix proxy generation based on `public` interfaces nested in `internal` ones 2024-08-27 08:40:52 -06:00
Andrew Arnott 812d4b07ba
Allow non-unique interfaces to be requested
Now that we can handle interfaces being referenced twice *indirectly*, we might as well not throw when interfaces are referenced twice *directly*.
2024-08-12 18:25:17 -06:00
Andrew Arnott 8b1870480e
Fix proxy generation for interfaces A, B when B : A
When multiple interfaces are expressly implemented, and one derives from another, it led to over-subscription of the events on the base interface, causing failures at runtime.
The fix is to ensure we only visit each member once, by visiting each *type* once, regardless of the number of times it is referenced directly or indirectly in the list of types to implement.
2024-08-12 18:23:19 -06:00
Andrew Arnott ca1b9163dc
Enable generation of proxies that implement multiple interfaces 2024-07-25 10:25:08 -06:00
Andrew Arnott dc105fd1a1
Merge pull request #1065 from AArnott/fix1064
Enable sending RPC marshalable objects *back* to their owner
2024-07-24 09:44:12 -06:00
Andrew Arnott b8d0639058
Build 2.20-beta 2024-07-23 17:14:39 -06:00
Andrew Arnott dc24862f00
Enable sending RPC marshalable objects *back* to their owner
Closes #1064
2024-07-23 17:08:27 -06:00
Andrew Arnott 408cb6ab89
Merge remote-tracking branch 'libtemplate/fixOptProfPackageSigningLibTemplate' into libtemplateUpdate 2024-07-12 10:23:40 -06:00
Andrew Arnott 0c9771db30
Break until the insertion project is renamed 2024-07-12 10:20:19 -06:00
Andrew Arnott 03d69cfcbb
Sign the `*.VSInsertionMetadata` optprof package 2024-07-12 10:01:32 -06:00
Andrew Arnott c2dd7ea636
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate 2024-07-03 12:41:24 -06:00
Andrew Arnott 7233fa3c59
Fix copyright notice 2024-06-28 13:56:21 -06:00
Andrew Arnott 871d4a2cc1
Merge branch 'main' into microbuild 2024-06-28 12:18:16 -06:00
Andrew Arnott 19e67ad57a
Add support for VB.NET projects 2024-06-28 12:17:08 -06:00
Andrew Arnott 98607d04d4
Expose metadata about `TargetMethod` publicly
This allows logging based on overridding `DispatchRequestAsync` to know what the target method is.
2024-06-19 17:16:33 -06:00
Andrew Arnott 05644c8ae3
Merge pull request #1046 from microsoft/fixOptProf
Drop unstable tests from OptProf
2024-05-21 13:00:01 -07:00
Andrew Arnott 5ec48fc67b
Drop unstable tests from OptProf 2024-05-21 13:42:08 -06:00
Andrew Arnott 1e8abc00f6
Merge pull request #1045 from AArnott/fix1028
Fix System.Text.Json formatter's support for named arguments object
2024-05-17 15:03:24 -06:00
Andrew Arnott 2d8dfb1ddc
Fix System.Text.Json formatter's support for named arguments object
Fixes #1028
2024-05-17 14:50:09 -06:00
Andrew Arnott cce7139253
Fix ETW logging of named arguments 2024-05-06 19:39:36 -06:00
Andrew Arnott c5fd7b7437
Stop throwing from `TryGetArgumentByNameOrIndex` when using the `System.Text.Json` formatter
This also adjusts how we test with ETW events turned on so that issues like this will be caught rather than swallowed.

Fixes #1038
2024-05-06 19:39:36 -06:00
Andrew Arnott 8ffa6684b4
Fix up compiler warnings 2024-04-29 18:01:17 -06:00
James Thompson 4811a55939 Implementation of feedback from @AArnott 2024-04-26 08:06:09 +10:00
James Thompson e2e88d2bb1 Added in public api files 2024-04-20 08:52:38 +10:00
James Thompson fc409d4953 #1032 Add Net 7 & 8 to enable dependency optimisation 2024-04-20 08:48:45 +10:00
Andrew Arnott c1740dae6a
Extend call-scoped RPC marshalable object lifetimes for `IAsyncEnumerable<T>`-returning methods 2024-03-13 15:59:33 -06:00
Andrew Arnott abb08ef98a
Add support for call-scoped marshalable objects
Closes #1009
2024-03-13 15:59:32 -06:00
Andrew Arnott abe791f5d0
Remove Resources.Designer.cs 2024-03-12 15:21:59 -06:00
Andrew Arnott 7a38278e12
Remove unneeded warning suppressions 2024-03-12 15:16:49 -06:00
dependabot[bot] e0ea07a790
Bump System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.0 (#995) 2024-03-05 22:10:39 +00:00
Andrew Arnott 5f21ac8557
Merge pull request #992 from microsoft/dependabot/nuget/VisualStudioThreadingVersion-17.9.28
Bump VisualStudioThreadingVersion from 17.8.14 to 17.9.28
2024-03-05 13:47:00 -07:00
Andrew Arnott 82ff275e1f
Suppress new warnings from analyzers 2024-03-05 13:36:38 -07:00
Andrew Arnott 48d18208f3
Add missing OptProf.targets file 2024-02-27 16:08:44 -07:00
Andrew Arnott 85ac63f557
Merge pull request #1004 from AArnott/fix999
Fixes early destruction of `IAsyncEnumerable<T>` sent as return value from RPC methods
2024-02-13 14:27:44 -07:00
Andrew Arnott 61901d805d
Fixes early destruction of `IAsyncEnumerable<T>` sent as return value from RPC methods
In certain scenarios, there may have also been effectively a memory leak that this also fixes.

Fixes microsoft/vs-streamjsonrpc#999
2024-02-13 13:24:50 -07:00
Andrew Arnott 853bfd4599
Correlate `JoinableTask` tokens across `JsonRpc` instances (by default)
Mutable statics are more or less likely to cause problems with testing or advanced product scenarios. In this case though, it seems *very* likely that every shipping scenario will be drastically simpler by defaulting to sharing state across instances, so that is the default. Advanced cases can opt into isolating those instances however, and I have a test to verify this.

Fixes #983
2024-01-10 17:09:00 -07:00
Andrew Arnott 15dec70c86
Merge branch 'v2.17' 2024-01-10 17:06:29 -07:00
Andrew Arnott 8b291520e2
Promote shipped APIs 2024-01-10 17:06:13 -07:00
Andrew Arnott cb34b0456c
Merge pull request #988 from AArnott/libtemplateUpdate
Merge latest Library.Template
2024-01-10 14:38:56 -07:00
Andrew Arnott 91c2ba3aa7
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate 2024-01-10 14:20:16 -07:00