Commit Graph

2008 Commits

Author SHA1 Message Date
Ryan Nowak 060698a52f Update to use non-capturing timer 2018-09-17 11:08:06 -07:00
ASP.NET CI 2bf00ff9a6 Update dependencies.props
[auto-updated: dependencies]
2018-09-16 12:24:47 -07:00
Ben Adams 5e083c371b Don't capture asynclocals onto Timer 2018-09-13 17:28:30 -07:00
Ryan Nowak 1e8e541f65 Clean up timeout reporting
This was sometimes reporting a null when the timeout takes place. We
need to throw with a timeout for real
2018-09-13 15:40:37 -07:00
Ajay Bhargav Baaskaran f93f67a53a
Better logging to help debug test failure (#2576) 2018-09-10 14:17:53 -07:00
ASP.NET CI 51868b4dc0 Update dependencies.props
[auto-updated: dependencies]
2018-09-09 12:26:19 -07:00
N. Taylor Mullen 3a281b8f58 Allow TagHelpers to occur after unclosed C# blocks without assert failures.
- This scenario wasn't considered previously.

#2566
2018-09-05 17:22:17 -07:00
ASP.NET CI 45adbe5f7c
Update branding to 2.2.0-preview3 2018-09-05 16:35:54 -07:00
ASP.NET CI d1f2b5cfc4 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:23:46 -07:00
N. Taylor Mullen 852ad8df87 Allow content to be written after caught exception from child TagHelper.
- The issue was that the `executeChildContentAsync` call was stopping the invocation of the `_endTagHelperWritingScope`. Therefore, we'd never finish the TagHelper content scope and all following content would be ignored.
- Added two tests to validate the new functionality.

#2561
2018-08-29 16:00:15 -07:00
Nate McMaster f703a288dd
Import restore sources into Microsoft.VisualStudio.RazorExtension.csproj 2018-08-21 18:29:40 -07:00
Nate McMaster 001fff0083
Allow building this repo with VS 15.x (#2551) 2018-08-21 15:59:02 -07:00
ASP.NET CI 982088acb3 Update package branding for 2.2.0-preview2 2018-08-21 13:33:52 -07:00
Ajay Bhargav Baaskaran 2db79f1764
Merge pull request #2546 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2018-08-17 13:16:08 -07:00
Pranav K d0c7d81336 Skip BuildIncremental_SimpleMvc_PersistsTargetInputFile on xplat
For some inexplicable reason timestamps returned as part of the test often show up
as being different resulting in test flakiness. We've manually verified that this
is not a product issue and builds are correctly incremental on xplat. See #2219
for past discussions.

Fixes https://github.com/aspnet/Razor/issues/2503
2018-08-17 10:52:25 -07:00
Marcin Burak 04e58d6ee4 Changed /* */ style comments to // style comments 2018-08-14 11:21:51 -07:00
Ryan Nowak 585e6cd3fe Introduces a 'formatter' for formatting the IR
The new Formatter is used in debugger display, to resolve #2264

The next iteration (assuming we like this) will be to replat our testing
baseline infrastructure on top of this, and then start sharing that with
Blazor - related to #2265.

I found when implementing debugger display that I was duplicating a lot
of details between testing and this.

I also want to convert the Blazor tests to use shared infrastructure.
Right now the Blazor tests use a modified version of the Razor
infrastructure that has different features.
2018-08-13 13:09:49 -07:00
ASP.NET CI 4b0a750692 Update dependencies.props
[auto-updated: dependencies]
2018-08-12 19:26:09 +00:00
Ajay Bhargav Baaskaran d097adee5f
Unblock VSTS linux builds (#2526)
* Unblock VSTS linux builds

* Updated yml
2018-08-08 10:48:16 -07:00
ASP.NET CI c7337c2d65 Update dependencies.props
[auto-updated: dependencies]
2018-08-06 20:48:01 +00:00
ASP.NET CI f8cadf93d1 Update dependencies.props
[auto-updated: dependencies]
2018-08-05 19:24:19 +00:00
Ajay Bhargav Baaskaran a4b91d6dce Flatten AggregateExceptions in rzc 2018-07-31 11:11:43 -07:00
Pranav K 3ff064cea3 Lock when reading \ writing process output
Fixes #2516
2018-07-30 16:21:42 -07:00
N. Taylor Mullen cb557cf771 Changed `GetDesiredIndentation` to be resilient to our SyntaxTree which occasionally has gaps.
- Added a test to cover the scenario.

#2489
2018-07-30 10:45:18 -07:00
ASP.NET CI fa02d34590 Update dependencies.props
[auto-updated: dependencies]
2018-07-29 12:23:23 -07:00
N. Taylor Mullen 38e145389e Fix BackgroundDocumentGenerator flaky tests.
- Some time spans were too aggressive for parsing a Razor file on a slow environment.
- Fixed an obvious race where we'd expect 0 pending notifications when it was possible to be in the process of clearing notifications.

#2506
2018-07-27 14:49:12 -07:00
Pranav K 676543b8c9 Skip BuildIncremental_SimpleMvc_PersistsTargetInputFile on xplat
For some inexplicable reason timestamps returned as part of the test often show up
as being different resulting in test flakiness. We've manually verified that this
is not a product issue and builds are correctly incremental on xplat. See #2219
for past discussions.

Fixes https://github.com/aspnet/Razor/issues/2503
2018-07-27 14:22:23 -07:00
Ryan Brandenburg afc671724f Adding VSTS configuration (#2395) 2018-07-26 17:10:56 -07:00
Ajay Bhargav Baaskaran 8e23eb38b4 Honor NoBuild flag during publish 2018-07-26 11:40:38 -07:00
Nate McMaster b3eecf0d46
Merge branch 'release/2.1' into release/2.2 2018-07-24 12:07:24 -07:00
Doug Bunting 684e7855a6
Handle `null` entries correctly for `IsEmptyOrWhiteSpace`
- #2497

nits:
- take VS suggestions
- un-scramble `IsEmptyOrWhiteSpaceCore(...)` for readability
2018-07-23 15:25:41 -07:00
ASP.NET CI 8502dd1ebe Update dependencies.props
[auto-updated: dependencies]
2018-07-22 12:23:58 -07:00
Ajay Bhargav Baaskaran eb6faf1754 Redo baselines 2018-07-19 15:29:30 -07:00
Ajay Bhargav Baaskaran 8e667ba730 Rename parser tests to have shorter names 2018-07-19 15:22:30 -07:00
Ajay Bhargav Baaskaran 7f6b05149d Generate deterministic unique ids for tag helpers 2018-07-17 14:01:42 -07:00
Ajay Bhargav Baaskaran 21f2edce16 Generate and verify baselines for ClassifiedSpans and TagHelperSpans
- Moved GetClassifiedSpans and GetTagHelperSpans logic to Razor.Language
2018-07-17 10:54:42 -07:00
ASP.NET CI cb92169860 Update dependencies.props
[auto-updated: dependencies]
2018-07-15 12:24:46 -07:00
N. Taylor Mullen cfd63e1e2e Change HTML splitting logic to not split on surrogate pairs.
- When a surrogate pair is about to be split down the middle we reduce the size of our split by 1 character. This way we split right before a surrogate pair. In the case of zero width joiners, if we split on a zero width joiner we still render valid bytes because the zero width joiner by itself can stand alone.
- Added tests for the various split cases.

#2470
2018-07-13 17:18:56 -07:00
Nate McMaster 056940710a
Pin version variables to the ASP.NET Core 2.1.2 baseline
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 14:03:41 -07:00
Nate McMaster 10f68863ec
Updating dependencies to 2.1.2 and adding a section for pinned variable versions 2018-07-12 14:03:41 -07:00
Pranav K accea6edbd
Merge remote-tracking branch 'origin/release/2.1' into release/2.2 2018-07-12 13:06:25 -07:00
Pranav K 74667eda9c
Don't specify MainEntryPoint when compiling Razor assembly 2018-07-12 13:05:10 -07:00
ASP.NET CI bbddd29ab8 Update dependencies.props
[auto-updated: dependencies]
2018-07-08 12:25:33 -07:00
Ajay Bhargav Baaskaran ce4780a830 Renamed symbol to token everywhere
- Updated Resources
- Updated test code
- Regenerated baselines
- Added exclusions for apicheck (See https://github.com/aspnet/BuildTools/issues/704)
2018-07-06 16:29:36 -07:00
Ajay Bhargav Baaskaran ed7c4e8f5c Parser tests clean up 2018-07-06 16:24:39 -07:00
Ajay Bhargav Baaskaran e7db3f840b Handle pipe name with whitespace properly 2018-07-03 16:55:55 -07:00
Ajay Bhargav Baaskaran f9a09372b7 Converted TagHelperBlockRewriterTest 2018-06-29 15:33:21 -07:00
Ajay Bhargav Baaskaran 984e7826d6 Converted TagHelperParseTreeRewriterTest 2018-06-29 12:23:52 -07:00
Ajay Bhargav Baaskaran b232a1103a Prereq for converting tag helper tests 2018-06-29 12:15:13 -07:00
N. Taylor Mullen 1c9208ba11 Update korebuild.json to restrict which VS is used. 2018-06-29 11:45:59 -07:00