Commit Graph

40284 Commits

Author SHA1 Message Date
Pranav K fd481baab8 Revert "Skip tests until we can get back to cleaning up the repo"
This reverts commit 64cb5d065f.
2018-01-16 09:55:56 -08:00
Steve Sanderson 946e25462e In RazorCompiler, support @using statements 2018-01-16 17:17:22 +00:00
Ryan Nowak 5839baaa2e Update roslyn dependencies 2018-01-16 09:06:30 -08:00
Steve Sanderson 7cd5228b7f In RazorCompiler, support attributes whose values are C# code blocks (treated as event handlers) 2018-01-16 16:58:47 +00:00
Steve Sanderson 5949045319 In RazorCompiler, support expressions with non-string or null values 2018-01-16 16:30:29 +00:00
Steve Sanderson 8c2a32b87c Remove a .csproj.user file that shouldn't be tracked in source control 2018-01-16 16:16:48 +00:00
Steve Sanderson 7bbb2b6660 In RazorCompiler, support attribute values of type UIEventHandler 2018-01-16 16:15:46 +00:00
ASP.NET CI 81e466d903 Updating submodule(s)
Mvc => ab3134e373

[auto-updated: submodules]
2018-01-16 16:11:12 +00:00
Pranav K ab3134e373 Support conflict resolution when multiple precompiled views have the same path
Fixes #7223
2018-01-16 08:04:39 -08:00
Steve Sanderson 3a7b6b2178 In Razor compiler, support attributes with interpolated expressions 2018-01-16 15:24:34 +00:00
Steve Sanderson b690aeee28 In RazorCompiler, support attributes with C# expression values 2018-01-16 13:15:13 +00:00
Steve Sanderson 5aa6ccaff7 Convert TextOnlyComponent to Razor format 2018-01-16 12:36:10 +00:00
Steve Sanderson 80b371c647 In RazorCompiler, support string-valued attributes 2018-01-16 12:23:12 +00:00
Steve Sanderson 1c1fd69bf2 In RazorCompiler, support self-closing and void elements 2018-01-16 11:50:40 +00:00
Steve Sanderson a64ece0319 In RazorCompiler, support HTML elements 2018-01-16 11:36:55 +00:00
Steve Sanderson 75b083911c Add AngleSharp with temporary InternalsVisibleTo 2018-01-16 11:11:49 +00:00
Steve Sanderson 604aa14518 Use Razor component in StandaloneApp sample 2018-01-15 23:11:54 +00:00
Steve Sanderson 7e40427ffe Razor compilation: Support text literals and C# code 2018-01-15 23:11:48 +00:00
ASP.NET CI 7ea0e8e5a9 Updating submodule(s)
Identity => 330823bed8
Testing => 21934a6393a5859c5fd7cc484c19f805ce49ce66

[auto-updated: submodules]
2018-01-14 14:06:27 -08:00
Pranav K 330823bed8 Make options registerations post configure 2018-01-14 12:59:07 -08:00
ASP.NET CI e177653315 Updating submodule(s)
Common => 8c2bae25a0b064444bb23fea090f435c9cc0d8eb
Microsoft.Data.Sqlite => 575e433d8bd1fd50f597d9deb4b5882621da6267

[auto-updated: submodules]
2018-01-14 20:47:45 +00:00
ASP.NET CI 8fb5d703e5 Updating submodule(s)
Razor => b5554a8038

[auto-updated: submodules]
2018-01-14 11:49:04 -08:00
Ryan Nowak b5554a8038 Make Razor SDK support refs and views on publish
These are default behaviors for precompilation.
2018-01-14 11:43:01 -08:00
Steve Sanderson 3ccdc1d16f Begin integrating with real Razor compiler 2018-01-14 16:37:01 +00:00
Steve Sanderson a03cb48c7a When compiling Razor components, take base namespace from host project 2018-01-14 14:40:57 +00:00
Steve Sanderson a32b857d96 When compiling Razor files, generate namespace based on directory path 2018-01-14 14:35:13 +00:00
ASP.NET CI f59db6a63d Updating submodule(s)
MvcPrecompilation => d686acad87

[auto-updated: submodules]
2018-01-13 19:08:13 -08:00
Ryan Nowak d686acad87 Avoid use of AssemblyQualifiedName in tests
The type name generated by Razor is an implementation detail and
shouldn't be used in tests outside of the Razor repo. Testing that the
assembly name is correct should be enough to validate what we need for
these tests.
2018-01-13 18:24:50 -08:00
hishamco 2fe9fb4707 WIP 2018-01-13 23:34:43 +03:00
ASP.NET CI 54c12819e1 Updating submodule(s)
MvcPrecompilation => c3dedd9feb

[auto-updated: submodules]
2018-01-13 20:11:40 +00:00
Ryan Nowak c3dedd9feb update deps 2018-01-13 12:06:00 -08:00
ASP.NET CI db652b8256 Updating submodule(s)
Razor => d1984aa44b

[auto-updated: submodules]
2018-01-13 06:36:45 +00:00
Ryan Nowak d1984aa44b Add hook for precompilation 2018-01-12 21:24:15 -08:00
ASP.NET CI 613e502e30 Updating submodule(s)
Razor => 14cea3c1b9

[auto-updated: submodules]
2018-01-13 05:16:52 +00:00
Ryan Nowak 14cea3c1b9 Move properties 2018-01-12 21:11:28 -08:00
Ryan Nowak f0c3843a5b Implment support for publish 2018-01-12 21:11:28 -08:00
Ryan Nowak 07a63d2ddd Add tests for RazorCompile target
This target should be callable on its own without using Build so it
deserves a few tests.
2018-01-12 21:11:28 -08:00
Ryan Nowak e0d876deb9 Skip flaky test on OSX 2018-01-12 21:01:12 -08:00
ASP.NET CI 1e8783ddf6 Updating submodule(s)
Razor => 2555c5bab1

[auto-updated: submodules]
2018-01-13 03:11:10 +00:00
Ryan Nowak 2555c5bab1 WIP 2018-01-12 19:05:46 -08:00
ASP.NET CI ce3d57be0e Updating submodule(s)
Razor => f025a27f04

[auto-updated: submodules]
2018-01-13 02:02:46 +00:00
N. Taylor Mullen f025a27f04 Unify how AdhocWorkspace is constructed.
- Created a new `TestWorkspace` type to lock on `AdhocWorkspace` construction. This type can't be constructed/changed in parallel.
- Updated test usages of `AdhocWorkspace` to make use of `TestWorkspace`.
- Added a `Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common` project to have the `TestWorkspace` type.

#1913
2018-01-12 17:54:53 -08:00
Ajay Bhargav Baaskaran d238c0dcfc Some pre-requisites for for Razor build server 2018-01-12 17:42:52 -08:00
ASP.NET CI 07431679e5 Updating submodule(s)
KestrelHttpServer => e6bb551018
Mvc => 946b64143e

[auto-updated: submodules]
2018-01-13 01:11:38 +00:00
Javier Calvarro Nelson e6bb551018 Adds support for loading the developer certificate from a pfx file
* If we can't find a developer certificate on the certificate store
  we will look for a developer certificate on the file system if a
  password has been specified for the Development certificate.
* We will look at ${APPDATA}/ASP.NET/https/<<AppName>>.pfx for windows
  and fallback to ${HOME}/.aspnet/https/<<AppName>>.pfx
* In case the password wasn't specified through configuration, the file
  is not found on the file system or can't be loaded, we won't
  do anything.
2018-01-12 16:32:06 -08:00
Pranav K 946b64143e Allow override routes on Pages
Fixes #6605
2018-01-12 15:57:13 -08:00
ASP.NET CI 326a38eec2 Updating submodule(s)
KestrelHttpServer => 1bce01cb9c
Mvc => 094b61dfc6
Razor => ecb323b5dc

[auto-updated: submodules]
2018-01-12 23:53:26 +00:00
Pranav K 094b61dfc6 Refactor PageRouteModel generation 2018-01-12 15:44:23 -08:00
Pranav K ecb323b5dc Use FilePath if RelativePhysicalPath on RazorProjectItem is null 2018-01-12 15:19:01 -08:00
Nate McMaster 1bce01cb9c Respect NoBuild from /t:StressTest 2018-01-12 14:47:52 -08:00