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

500 Коммитов

Автор SHA1 Сообщение Дата
Pantazis Deligiannis 51988223d3 updated readme 2020-09-22 08:27:38 -07:00
Pantazis Deligiannis 2e0cbdd6c0
edits in actions and badges (#53) 2020-09-22 08:23:59 -07:00
Pantazis Deligiannis ea878b8d25 linux and macos github actions 2020-09-22 08:10:40 -07:00
Pantazis Deligiannis b90c0901fb fix build windows github action 2020-09-21 20:56:59 -07:00
Pantazis Deligiannis eda0f103c7 edited github action and dotnet sdk 2020-09-21 17:18:01 -07:00
Chris Lovett 09b51d9163 Merged PR 3048: enable telemetry when cookie consent is not required
Enable telemetry when cookie consent is not required.
2020-09-16 15:11:32 +00:00
Pantazis Deligiannis eafb9ce25f Merged PR 3019: basic rewriting of MSTest methods 2020-09-10 20:54:16 +00:00
Chris Lovett ab8a720abe Merged PR 3010: Switch disallowed list to use regex.
Switch disallowed list to use regex.
2020-09-08 23:16:21 +00:00
Pantazis Deligiannis 040dbc1cc4 Merged PR 3016: fix in rewriting 2020-09-08 22:19:40 +00:00
Pantazis Deligiannis ccb5dfa008 Merged PR 3009: support for generic TaskFactory during rewriting
Related work items: #5191, #5195
2020-09-04 19:46:03 +00:00
Chris Lovett aa26b2bcca Merged PR 2973: automatically rewrite local assemblies that are dependencies
automatically rewrite local assemblies that are dependencies, and rewire those assembly references.
2020-09-04 14:57:33 +00:00
Chris Lovett e2443e5254 Merged PR 3004: Make replace assembly case a bit more robust to avoid file access errors
make replace assembly case a bit more robust to avoid errors like "The process cannot access the file 'D:\Temp\cloudbuild\temp\ApiDataUploaderTests.dll\Microsoft.Applications.Telemetry.dll' because it is being used by another process.
2020-09-03 17:32:08 +00:00
Chris Lovett 11213beb43 Merged PR 3003: Fix bugs in exception handler rewriting.
Fix bugs in exception handler rewriting.
See new repro tests TestMultiCatchBlock, TestMultiCatchFilter, TestMultiCatchBlockWithFilter,

Related work items: #5186
2020-09-03 06:06:54 +00:00
Pantazis Deligiannis 57644139eb ignore certain paths from language reporting 2020-09-02 09:38:14 -07:00
Chris Lovett 0cd7507f86 Merged PR 2995: switch to WCP Cookie Consent API
switch to WCP Cookie Consent API
2020-08-31 19:23:42 +00:00
Pantazis Deligiannis db9c51aa22 added GitHub Windows action 2020-08-27 10:20:23 -07:00
Pantazis Deligiannis 15b2ff085f
setup GitHub actions 2020-08-27 10:17:29 -07:00
Chris Lovett 75d126a4bd Merged PR 2984: Fix short branches that can be pushed out of range
Fix short branches that can be pushed out of range by the insertion of the new call to ThrowIfCoyoteRuntimeException

Related work items: #5164
2020-08-26 20:17:40 +00:00
Pantazis Deligiannis b35ab2f059 Merged PR 2975: fixed logging bug 2020-08-25 22:37:23 +00:00
Pantazis Deligiannis c5e84ec312 Merged PR 2974: added missingThreadPool APIs
Related work items: #5123
2020-08-25 21:36:27 +00:00
Chris Lovett 5d3b459e8b Merged PR 2953: couple small small doc fixes
fix info about rewriting json file.
add troublshooting for --break on MacOS and Linux based on [github issue 57](https://github.com/microsoft/coyote/issues/47).
2020-08-24 18:37:08 +00:00
Chris Lovett db9b30933c Merged PR 2946: make it possible to rewrite a folder full of assemblies
make it possible to rewrite a folder full of assemblies.
2020-08-20 00:53:25 +00:00
Chris Lovett 341cc52997 Merged PR 2918: Add support for .NET 5.0, but don't actually move to 5.0 as default
Add support for .NET 5.0

Related work items: #3897
2020-08-19 05:44:27 +00:00
Pantazis Deligiannis ec3d643810 Merged PR 2928: task wait/result correctly throw exception 2020-08-14 18:10:53 +00:00
Pantazis Deligiannis efc07e09d8 Merged PR 2911: added few extra uncontrolled task checks 2020-08-14 04:07:43 +00:00
Chris Lovett a4f37b2e06 Merged PR 2921: add yaml for nuget sign publish build
add yaml for nuget sign publish build
2020-08-14 00:57:10 +00:00
Pantazis Deligiannis 2febdbec51 Merged PR 2917: increased version to 1.0.17 2020-08-14 00:19:10 +00:00
Chris Lovett 7927454350 Merged PR 2912: add docs on rewriting
added a simple first pass on rewriting documentation...
2020-08-13 22:35:05 +00:00
Pantazis Deligiannis 68f118d325 Merged PR 2915: applying rewritten attribute 2020-08-13 21:20:10 +00:00
Pantazis Deligiannis f0752de603 Merged PR 2907: updated .NET SDK
Updating the .NET SDK to latest LTS version.
2020-08-12 22:39:46 +00:00
Pantazis Deligiannis 675403b00a Merged PR 2906: fixed bug with Task.WhenAny
Related work items: #5012
2020-08-12 01:03:39 +00:00
Pantazis Deligiannis 442bfe37e7 Merged PR 2903: support for task WaitAll/Any in rewriting
Related work items: #4874
2020-08-11 20:19:28 +00:00
Chris Lovett 6df0a29732 Merged PR 2892: Rewrite try/catch blocks to add when (!(ex is ExecutionCanceledException))
Still lots of work to be done, but so far it can report catch blocks that need to be rewritten.

Related work items: #4620
2020-08-11 19:19:55 +00:00
Chris Lovett fd6d2cfb55 Merged PR 2851: Test we can rewrite all kinds of wonderful uses of generics in async Tasks.
I was worried about our handling of GenericInstanceType and GenericInstanceMethod in rewriting, so I wrote some new unit tests to help me feel better about it all :-)
2020-08-07 20:37:22 +00:00
Chris Lovett e7c195d105 Merged PR 2868: Fix how binary rewriting tests run so they can run in production and systematic test modes
Fix how binary rewriting tests run so they can run in production and systematic test modes and fix run-tests.ps1 so it tests all frameworks (since that works now!)

Related work items: #4377, #4458, #4705, #4979
2020-08-07 17:37:22 +00:00
Chris Lovett 0d6181ae5c Merged PR 2850: allow a full path to external assemblies in rewriting json
This allows you to do this:

```
{
  "AssembliesPath": "bin/Debug/netcoreapp3.1",
  "OutputPath": "bin/Debug/netcoreapp3.1",
  "Assemblies": [
    "AspWebApplication1.dll",
    "c:/Program Files/dotnet/shared/Microsoft.AspNetCore.App/3.1.5/Microsoft.AspNetCore.dll"
  ]
}
```
and rewritten Microsoft.AspNetCore.dll will show up in OutputPath.
2020-08-07 00:18:09 +00:00
Chris Lovett 16361bf204 Merged PR 2858: Fix bug 4955: Lost transition because of action handler declared on the class
Also promoted these tests to run as both systematic and production test, and fixed our BaseTest class so it waits for Actor tests to fail when they are supposed to fail.

Related work items: #4955
2020-08-05 06:55:12 +00:00
Pantazis Deligiannis e362e98322 Merged PR 2849: increased version to 1.0.16 2020-08-03 17:27:03 +00:00
Pantazis Deligiannis b463e7b7e1 Merged PR 2848: update in the docs 2020-08-01 01:55:17 +00:00
Pantazis Deligiannis f5f56a4570 Merged PR 2807: optimizations in TestController, support task cancellations and new threading APIs
Refactoring of `TaskController` to make it more robust (including reducing some "safe" internal concurrency due to task continuations) and increase code reuse. Support for task cancelations for the core Task.Run APIs.

Also support for core TaskFactory.StartNew and ThreadPool APIs required for ASP.NET rewriting. Many new tests.

Note: had to do all these in the same PR as the changes were connected to each other and the new supported APIs help test the runtime changes.

Note: we are only intercepting and modeling a very limited set of APIs to enable specific scenarios such as ASP.NET rewriting. Most APIs of these classes are not supported by our modeling, and we do not currently aim to support user applications with code that explicitly uses these APIs.

Related work items: #717, #4781, #4909, #4937
2020-07-31 23:40:10 +00:00
Chris Lovett 73476e73bb Merged PR 2844: fix some doc bugs
fix some doc bugs.

Related work items: #2818, #3630, #4374, #4779
2020-07-31 01:49:27 +00:00
Chris Lovett 50aa6ea2e7 Merged PR 2814: add windows yaml build pipeline
add windows yaml build pipeline

Related work items: #4824
2020-07-29 00:17:47 +00:00
Pantazis Deligiannis 8b4ab19dbd Merged PR 2802: do not rewrite a pdb file if it does not exist
A pdb file is not always available in assemblies that we are trying to rewrite. Make sure we check that.

Related work items: #4908
2020-07-28 19:57:27 +00:00
Pantazis Deligiannis fe2b526df4 Merged PR 2788: remove the type cache in task rewriting as the result is mutable
Caching the constructed types cannot be generalized, especially for generics. Many types we need to reconstruct under the specific context. This is most likely because the result is not immutable. Instead, we rely on method caching to optimize. We can revisit this in the future.

Related work items: #4891
2020-07-23 22:53:10 +00:00
Pantazis Deligiannis 1fe995a56d Merged PR 2785: make sure rewriting passes run in sequence
Related work items: #4890
2020-07-23 20:07:08 +00:00
Pantazis Deligiannis 890a1fea5e Merged PR 2778: maintain the offset in task transformed instructions 2020-07-23 01:41:27 +00:00
Pantazis Deligiannis 933efd8cec Merged PR 2776: increased version to 1.0.15 2020-07-22 23:34:20 +00:00
Pantazis Deligiannis 5e267914f3 Merged PR 2777: more fixes in WhenAll and WhenAny testing logic
Related work items: #4877
2020-07-22 23:17:23 +00:00
Pantazis Deligiannis 1511c57507 Merged PR 2774: make sure that WhenAll/Any execute asynchronously
The previous implementation was blocking, not asynchronous, so we fix that, as well as exception logic in these APIs. Also adding new tests and fixing previous ones.

Related work items: #4873, #4876
2020-07-22 21:56:22 +00:00
Pantazis Deligiannis a172a9b79b Merged PR 2765: avoid resolving types and methods that we do not rewrite
This is also an optimization as we can exit quickly method rewriting, if we are not going to change its declaring type.
2020-07-22 02:11:15 +00:00