Commit Graph

37943 Commits

Author SHA1 Message Date
N. Taylor Mullen 4c98b7f8f3 Make ViewComponentTagHelper's display name nicer.
- Went from `__Generated__SomeViewComponentTagHelper` to `SomeViewComponentTagHelper`.
- Updated `TagHelperDescriptorBuilder` to allow setting of `DisplayName`.
- Added `TagHelperDescriptorBuilderTest` class to verify new `DisplayName` additions.
- Updated `ViewComponentTagHelperDescriptorFactoryTest` expectations.

#1251
2017-05-18 14:48:59 -07:00
John Luo 6e87b0f5eb Target netstandard2.0 TFM 2017-05-18 14:38:26 -07:00
John Luo 9313a02aa8 Remove duplication of parsing helper 2017-05-18 11:49:03 -07:00
Mardoxx ece5e748ad Minor documentation fix for SerializableError
ModelStateEntry -> ModelStateDictionary
2017-05-18 11:02:23 -07:00
Ryan Nowak c8614e9aa8 Fix build break due to Razor changes 2017-05-18 10:58:43 -07:00
N. Taylor Mullen 03f3975360 Allow directive string tokens to be colorized.
- Without a directive string token having a `SpanKind.Code` it cannot have any sort of C# coloring associated with it.
- Updated tests to reflect new `SpanKind` expectations.

#1269
2017-05-18 10:36:54 -07:00
Ryan Nowak e391ac7a3c Split options into ParserOptions and CodeGenerationOptions 2017-05-18 10:22:39 -07:00
Steve Sanderson 33cc640942 Remove obsolete 1.x APIs 2017-05-18 14:17:29 +01:00
Steve Sanderson baae62132b Remove projects and packages obsoleted in v2 2017-05-18 13:52:58 +01:00
Steve Sanderson 58fa07d4dc Build fixes following .NET Core 2.0 update 2017-05-18 13:45:13 +01:00
Steve Sanderson deaaa43e02 Fix SDK download URL for AppVeyor 2017-05-18 13:45:13 +01:00
Steve Sanderson 58fd9150b9 Update AppVeyor build to use .NET Core 2.0 Preview 1 2017-05-18 13:45:13 +01:00
Steve Sanderson 244deca019 Update libraries and samples to .NET Core 2.0 2017-05-18 13:45:13 +01:00
Steve Sanderson e081d5e091 Make build.sh consistent with other ASP.NET repos 2017-05-18 13:44:15 +01:00
Steve Sanderson 85e59efa21 Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places 2017-05-18 13:40:58 +01:00
Steve Sanderson a74b7aea6b Bump template package versions to 0.9.3 for release 2017-05-18 12:10:15 +01:00
Ryan Nowak 5a1090f324 Api Cleanup for language services
Created internal + public versions of
- BlockKind
- SpanKind
- AcceptedCharacters

That way these types are only exposed through the VS apis and not
through the runtime API surface.

Also deleted RazorEditorParser. Yep. It's going to take significant work
to just port it to the language services assembly. Let's reevaluate this
when we get closer to the next foundational update.
2017-05-17 22:09:01 -07:00
Ryan Nowak 94aaa3db9e Configure xunit for better display 2017-05-17 20:31:37 -07:00
Ryan Nowak 811ea019a5 Fixes #1245 - Make TemplateCodeExtension public
This removes the hardcoding of an MVC type from Razor.
2017-05-17 20:25:06 -07:00
Smit Patel 09468daaef Revert "Disable SqlServer specific tests on netcoreapp2.0 on win7/2008"
This reverts commit 775847a1fa.
2017-05-17 18:08:46 -07:00
Cesar Blum Silveira f8a6433cd5 Fix flaky ResponseTests.FailedWritesResultInAbortedRequest. 2017-05-17 17:01:34 -07:00
jhkimnew 88cc1c14d0 Added a new environment variable value UsePrivateAspNetCoreFile for ANCMTestFlags and fixing test issues (#101) 2017-05-17 16:40:29 -07:00
Hao Kung ddd69e5fdf Remove references to DisplayName 2017-05-17 14:41:16 -07:00
Mads Kristensen 178a05cc33 Added missing Framework symbol 2017-05-17 22:25:37 +01:00
Steve Sanderson 33b275a7d3 Update ReactReduxSpa to latest versions of all dependencies, and pin to exact versions 2017-05-17 22:21:37 +01:00
Steve Sanderson c9d235d425 Update ReactSpa to latest versions of dependencies, and pin to exact versions. Simplify some instructions. 2017-05-17 22:06:32 +01:00
Hao Kung 1f5a27e20a Switch to Options Initializer 2017-05-17 14:05:27 -07:00
Hao Kung f12fc69cbf Fix test reference 2017-05-17 14:03:56 -07:00
Steve Sanderson 48b923fcd5 Update ReactReduxSpa to React Hot Loader 3, and remove Babel dependency 2017-05-17 21:51:13 +01:00
Hao Kung c4414c362f ServerTests => Auth 2.0 2017-05-17 13:42:11 -07:00
Ryan Nowak f96b22ffc3 Bump VSIX version up to 15.4.XXXXX 2017-05-17 13:38:32 -07:00
Steve Sanderson eeaf4e6590 Update ReactSpa to React Hot Loader 3. Remove babel dependency. 2017-05-17 21:37:47 +01:00
Hao Kung 8ed21d56c8 IIS => Auth 2.0 2017-05-17 13:37:30 -07:00
Hao Kung bff13c7f43 HttpSysServer => Auth 2.0 2017-05-17 13:35:09 -07:00
Steve Sanderson ef9dbfe44b Update aspnet-webpack-react to v2.0.0, now supporting Webpack 2+ and React Hot Loader 3+ only 2017-05-17 21:10:29 +01:00
jhkimnew ec90853147 Disable using privateAspNetCoreFile to test release candiate build (#100) 2017-05-17 12:57:39 -07:00
John Luo 07470d41b1 Ignore empty header values #722 2017-05-17 12:45:56 -07:00
Nate McMaster 7f0319f5dd Throw InvalidOperationException from IHttpUpgradeFeature.UpgradeAsync when request is not upgradable 2017-05-17 11:38:42 -07:00
N. Taylor Mullen 657c2a8da3 Merge branch 'rel/15.3' into dev
# Conflicts:
#	test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test/IntegrationTests/CodeGenerationIntegrationTest.cs
2017-05-17 11:24:32 -07:00
Ajay Bhargav Baaskaran 7bd13061b5 Set the chunk generator of non-string tag helper attributes to ExpressionChunkGenerator 2017-05-17 11:17:01 -07:00
Cesar Blum Silveira 10f88aeafc Fix duplicate ID test warning. 2017-05-17 10:57:39 -07:00
N. Taylor Mullen b8ea008151 Make extensible directive type token rendering allow value types.
- Instead of rendering a null assigning statement for a type token we now render a `default(TTypeToken)`. With this approach type tokens can be value types without creating a design time error.
- Re-generated baseline files to reflect new directive token code generation.

#1176
2017-05-17 10:31:16 -07:00
N. Taylor Mullen 19f895b9ad Validate line mappings for integration tests in Razor.Extensions.
- Split line mapping validation into its own method.
- Prior to this we were calling the wrong method in our design time code generation integration tests within the Razor.Extensions test project.
- Re-generated line mapping baselines to conform with the cshtml files for Razor.extensions code generation integration tests.

#1351
2017-05-17 10:20:36 -07:00
Nate McMaster 643a43c3d6 Update test framework versions and fix issues with tests (#1834) 2017-05-17 09:36:40 -07:00
Steve Sanderson e658ee6375 Simplifications in ReactSpa and ReactReduxSpa 2017-05-17 14:46:37 +01:00
Keven van Zuijlen 785e7d48a2 Implemented react-router v4 to ReactRedux template 2017-05-17 14:46:37 +01:00
Keven van Zuijlen c791ceee49 Updatged package.json and webpack vendor config 2017-05-17 14:46:37 +01:00
Keven van Zuijlen d2c56d19d0 Implemented react-router-dom v4 2017-05-17 14:46:37 +01:00
Keven van Zuijlen 7a11cf97fd Updated react-router to react-router-dom 4.0.0 2017-05-17 14:46:37 +01:00
Steve Sanderson 84aec29cf2 Bump template package versions to 0.9.2 for publish 2017-05-17 14:27:11 +01:00