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

2150 Коммитов

Автор SHA1 Сообщение Дата
Ryan Nowak a7ae749ab2 Update VS-only tooling to 4.7.2 2018-11-19 15:53:53 -08:00
Ajay Bhargav Baaskaran 6c8e900d11
Razor parser rewrite (#2590)
*   Razor parser rewrite
    - Rewrite CSharp parser
    - Basic rewrite of HTML parser (More improvements to follow)
    - Define and generate syntax nodes and boilerplate
    - Rewrite ClassifiedSpan and TagHelperSpan generation logic
    - Rewrite TagHelper phase
    - Rewrite Intermediate phase
    - Rewrite other miscellaneous features and bug fixes
    - Rewrite partial parsing
    - Added some syntax manipulation APIs
    - Removed unused legacy types

* Test changes
 - Update parser test infrastructure
 - Update tests
 - Regenerated baselines
 - Removed unused legacy types
2018-11-16 17:22:37 -08:00
Ajay Bhargav Baaskaran 61565f61f9
Show Razor build errors in non build server scenarios (#2737) 2018-11-16 15:47:02 -08:00
Pranav K b2e9365084 Disable instrumentation pass with 3.0 configuration 2018-11-14 09:14:21 -08:00
Pranav K fc3f45bf4e Add RazorLanguageVersion.3_0
Fixes https://github.com/aspnet/Razor/issues/2612
2018-11-13 13:36:20 -08:00
Ajay Bhargav Baaskaran fe7881d5f7 Upgrade Razor vsix project 2018-11-09 15:52:07 -08:00
Pranav K 9d2c394b99 SDK does not correctly resolve RazorExtension when multiple instances of RazorConfiguration are present
Fixes https://github.com/aspnet/Razor/issues/2721
2018-11-09 11:51:38 -08:00
Ajay Bhargav Baaskaran d3482e7bd0 Skip test 2018-11-09 11:17:16 -08:00
N. Taylor Mullen d719920fdc Update internal aspnet core version and VSIX building. 2018-11-08 15:42:30 -08:00
N. Taylor Mullen 85ebb3585f Turn old completion on when async completion is active. 2018-11-08 15:38:45 -08:00
N. Taylor Mullen d5a6f99c8f Update to use latest completion APIs 2018-11-08 15:38:27 -08:00
Nate McMaster 862effd6d7
Merge branch 'release/2.2' 2018-11-08 11:17:22 -08:00
Nate McMaster 8ba0a89425
Upgrade BuildTools and include MPack in code signing (#2717) 2018-11-08 09:52:08 -08:00
Pranav K f6265a8549 Update rzc to target netcoreapp3.0
* Allow rzc to work with 3.0 SDK that does not carry 2.x runtime
* Update repo to netcoreapp3.0

Fixes https://github.com/aspnet/Razor/issues/2696
2018-11-08 09:18:58 -08:00
Ajay Bhargav Baaskaran eed23bd778
Merge pull request #2715 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-11-07 19:02:57 -08:00
Ajay Bhargav Baaskaran 913217f61a
Merge pull request #2713 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2018-11-07 18:20:47 -08:00
Ajay Bhargav Baaskaran 9749c90fc7
Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2 2018-11-07 14:50:27 -08:00
Ajay Bhargav Baaskaran fd4572874e Increase timeout for msbuild processes and added better logging 2018-11-05 18:14:45 -08:00
Ryan Nowak c0fb1a84cf Fix NuGetPackageVerifier.json
Different Version = Different supressions
2018-10-31 19:04:23 -07:00
Ryan Nowak 707692cbe1 Update to Dev16 Roslyn 2018-10-31 12:17:22 -07:00
Ryan Nowak c6a910419d
Merge pull request #2694 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-30 18:32:41 -07:00
Ryan Nowak 41fa3ff3eb Add Razor.Workspaces to non-shipping in NPV
Putting this package where it belongs in the NPV list. This package only
ships with our other tooling-only packages.

(cherry picked from commit 9d314071dc)
2018-10-30 18:04:11 -07:00
Ajay Bhargav Baaskaran 970dbfd9d5 Resolve bad merge 2018-10-30 15:14:07 -07:00
Ajay Bhargav Baaskaran a80f145c6b Merge branch 'release/2.2' 2018-10-30 14:56:09 -07:00
Pranav K 0bd6d135c1 Move targets, rzc and extension assembly in to the Sdk 2018-10-30 14:30:20 -07:00
Ajay Bhargav Baaskaran 8e62dbcae9 Change testing strategy for build server shutdown test 2018-10-30 13:20:33 -07:00
Ajay Bhargav Baaskaran 0948660e8c Merge branch 'release/2.2' 2018-10-30 12:07:04 -07:00
Ryan Nowak 6c1bee1940 Classify non-C# inside C#
Fixes a bug with preview formatting for FAR.

So when we ask the Roslyn API to classify C# for us, it will only
classify the actual C# tokens. We are responsible for filling in the
gaps and whitespace.

The bug is that the following text would have all of its whitespace
removed in the VS FAR preview window.

```
@{ var foo = "Hello, world!"; }
```

Would look like:
```
@{varfoo="Hello, world!";}
```

This fixes the issue and makes it look like what one would expect.
2018-10-29 14:35:13 -07:00
Ryan Nowak a3d0c8f634 Fixes for excerpt service
We had a bug where were not returning the correct span for highlighting.
Fixed this.

Also we have a problem here, we're using types in our tests that are
coming from Roslyn - however we're not getting IVT for our test
assemblies. So some additional pain is required.
2018-10-29 14:35:13 -07:00
Ryan Nowak 5229e65962 Add GeneratedDocumentTextLoader 2018-10-29 14:35:13 -07:00
Ryan Nowak e637e17d34 Add support for getting the output version
This was missed in an earlier PR.
2018-10-29 14:35:13 -07:00
Ajay Bhargav Baaskaran 8674dd9236 Removed duplocate Id for a RazorDiagnostic 2018-10-29 11:25:29 -07:00
Ryan Nowak 4d44639a51 Incorporate breaking changes from CPS 2018-10-29 08:51:21 -07:00
Nate McMaster 7177a7311f
Merge branch 'release/2.2' 2018-10-27 02:31:26 -07:00
ASP.NET CI 25a895123e
Update dependencies.props
[auto-updated: dependencies]
2018-10-27 02:18:52 -07:00
Nate McMaster e7edf237b5
Merge pull request #2679 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 23:53:59 -07:00
Nate McMaster 6ecf5374c6
Use 3PartySHA2 instead of 3PartyDual for code-signing Newtonsoft.Json.dll (#2678) 2018-10-26 23:40:22 -07:00
Ryan Nowak 9d314071dc Add Razor.Workspaces to non-shipping in NPV
Putting this package where it belongs in the NPV list. This package only
ships with our other tooling-only packages.
2018-10-26 17:39:14 -07:00
Pranav K 601cba6945
Merge pull request #2671 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-25 15:24:09 -07:00
Pranav K 70aad7cb70
Merge branch 'master' into merge/release/2.2-to-master 2018-10-25 09:35:47 -07:00
Pranav K 2d6643bc85 Cleanup Microsoft.NET.Sdk.Razor package output
* Remove unnecessary \ incorrect package references
* Remove extraneous build outputs in the tasks project that weren't present when the tasks were in Razor.Design
2018-10-25 09:26:04 -07:00
Ryan Nowak 357657fc45 Implements versions for generated code
This change implements version tracking the inputs and outputs of
generated code.

Version tracking is still best-effort - meaning that in some cases a
perfect system could avoid doing more work. However, since we base the
versions off of all of the inputs, we now that the guarantee that code
generation operations that happen 'out of order' will always result in
the newer inputs generating the newer outputs.

Fixes: https://github.com/aspnet/Razor/issues/2650
2018-10-23 18:19:18 -07:00
Ryan Nowak 029304ae69 This is the correct version for now 2018-10-23 16:37:23 -07:00
Ryan Nowak 81904f579a Add definitions for Document Services
This change adds mock ups of the interfaces that we've been designing as
part of Razor FAR as well as the implementations. This isn't wired up to
anything yet in this PR, but the basic functionality here is stable
enough for us to stabilize and review.

For now we have the interface definitions in the Razor codebase until a
build of Roslyn is available with these definitions + IVT for us to use
them.
2018-10-22 20:47:31 -07:00
Ryan Nowak baa71375d0
Add and process notifications for Imports (#2656)
This builds support for tracking the effect of changes to imports on
other documents, and completes our model for being able to keep
generated code up to date.
2018-10-19 21:39:43 -07:00
N. Taylor Mullen 333989af7a Update to use latest completion APIs 2018-10-19 15:10:19 -07:00
N. Taylor Mullen c371fa29fe Make it so the RazorDirectiveCompletionProvider doesn't load extra assemblies in C#.
- Added a layer of indirection to allow for proper Lazy loading of Razor and future async completion specific assemblies.
2018-10-19 15:10:19 -07:00
N. Taylor Mullen 1eb86af726 Update Razor release/2.2 dependencies. 2018-10-19 12:08:16 -07:00
Ryan Nowak 04eb1e677c Update deps and fix VSIX signing
So, it turns out the VSSDK added a feature that lets us suppress
assemblies brought in by package references. YAY!
2018-10-18 14:20:08 -07:00
Ryan Nowak 4927525519 Fix a bug in the span mapping code
This wasn't quite doing the right thing, and it's simpler than we make
it to be.
2018-10-18 13:46:24 -07:00