Commit Graph

43822 Commits

Author SHA1 Message Date
John Luo 5155456653 Handle graceful shutdown from ANCM 2017-06-27 13:20:21 -07:00
Hao Kung 80383606d3 AuthZ: Eliminate extra ToArray() 2017-06-27 10:31:42 -07:00
Nate McMaster bf1be9fb79 Restore the VSIX project with MSBuild instead of NuGet.exe (#1471)
* Restore the VSIX project with MSBuild instead of NuGet.exe
* Upgrade AppVeyor image to VS Preview
2017-06-27 10:28:23 -07:00
Mikael Mengistu 13ef35fa79 Changed the handlers to be Func<object[], Task> (#578) 2017-06-27 10:14:58 -07:00
BrennanConroy e36da30072 Ignore failed send after close (WebSockets) (#593) 2017-06-27 10:01:45 -07:00
Pranav K 9370ffce3c Updating Moq to 4.7.49 2017-06-27 09:45:19 -07:00
Pranav K 9acfc8d221 Watch _ViewImports outside the pages root for changes
Fixes #6428
2017-06-27 09:30:07 -07:00
Pranav K d278d6eedf Updating Moq to 4.7.49 2017-06-27 09:04:45 -07:00
Pranav K d1813a7cd7 Normalize paths returned by view location expanders
Fixes #6448
2017-06-27 08:48:07 -07:00
N. Taylor Mullen c67e790b3b Update inject directive to utilize DirectiveUsage.
- The `@inject` directive must now occur prior to any markup or code due to its `DirectiveUsage.FileScopedMultipleOccurring` usage.

#1377
2017-06-26 20:29:06 -07:00
N. Taylor Mullen c2c95ec175 Add file scoped multiple occurring extensible directives.
- Updated existing singly occurring tests that verified that the directives must occur prior to any content to be theories that tested the joint "file scoped" behavior of the usage.
- Added tests that validate `FileScopedMultipleOccurring` can have duplicate directives without erroring.

#1377
2017-06-26 20:29:06 -07:00
Nate McMaster 584b36318e Workaround issue caused by importing Internal.AspNetCore.Sdk into KoreBuild (#178) 2017-06-26 19:07:36 -07:00
Ryan Nowak 3536cf5aad Fix #5183 - update docs of CreateWriter 2017-06-26 18:59:36 -07:00
Ryan Nowak 0ad9c7d4eb Making Pages Binding Consistent
This changeset reckonciles the binding work we did for pages with
controllers.

A quick summary:
- Moves [BindProperty] to the MVC namespace (#6401)
- Makes [FromRoute] and friends behave consistently (#6402)
- Makes [BindProperty] work with controllers (untracked)
2017-06-26 18:11:44 -07:00
Ajay Bhargav Baaskaran d73ecf8b36 Suppress warnings for auto generated code 2017-06-26 17:35:11 -07:00
N. Taylor Mullen 5f2c00bc80 Add doc comments for `DirectiveUsage`. 2017-06-26 17:08:13 -07:00
N. Taylor Mullen 09ac126ecf Make single line single file scoped directives automatically import.
- Added an inner pass inside of the intermediate lowering phase to determine which directives get flowed to the final document. There were many ways to accomplish this but in order to keep the last wins mechanic for non-auto imported directives I had to let the directives get created and then removed based on if they were inherited.
- Added error case if a user attempts to import a block directive with a `FileScopedSinglyOccurring` directive usage.
- Added test cases that validate directives are properly inherited at the intermediate lowering phase.
- Updated a few tests that had incorrect assumptions.
- Left the default directive passes alone in regards to determining the "imported" directive to enable users to add their own model, inherits, etc. directives that take precedence.
- Normalized the passes in the intermediate lowering phase to handle directives identically (we don't conditionally lower anymore).

#1376
2017-06-26 16:36:54 -07:00
Hao Kung cf09af52eb Remove duplicate type 2017-06-26 16:32:51 -07:00
Stephen Halter 3fcd909d90 Temporarily disable systemd activation test (#1918) 2017-06-26 15:51:09 -07:00
Hao Kung 4e004c22ba React to options 2017-06-26 15:49:23 -07:00
Jass Bagga f4a86f5511 Add DiagnosticSource to RazorView (#6386)
Addresses #6222
2017-06-26 15:35:31 -07:00
Mike Harder 4c88a19262 Remove custom apt source (#595)
* Matches `.travis.yml` used in other repos
2017-06-26 15:22:40 -07:00
Chris R 7febdbaa20 #539 Implement request body size limit 2017-06-26 15:18:10 -07:00
Chris R 7b15720a05 # This is a combination of 2 commits.
# This is the 1st commit message:

#539 Implement request body size limit

# The commit message #2 will be skipped:

# Check exception messages
2017-06-26 15:17:20 -07:00
Mike Harder 81dafd0e3b Remove custom apt source (#1113)
* Matches `.travis.yml` used in other repos
2017-06-26 14:41:03 -07:00
Mike Harder fcc126c658 Remove custom apt source (#388)
* Matches `.travis.yml` used in other repos
2017-06-26 14:40:43 -07:00
Hao Kung cf229f479f React to options 2017-06-26 13:55:36 -07:00
Hao Kung dc4db92d5c Remove usage of IOptionsCache (#1287) 2017-06-26 12:14:02 -07:00
Chris R c13ba3ef0a #339 Don't send chunked responses for HEAD requests 2017-06-26 12:09:18 -07:00
N. Taylor Mullen 2d90ae47f9 Lazily initialize annotations for intermediate nodes.
#1390
2017-06-26 12:07:11 -07:00
Pranav K e5da44a82f Generate full pdbs for views on desktop and re-enable runtime error tests (#6442)
* Generate full pdbs for views on desktop and re-enable runtime error tests

StackTraceHelper \ PortablePdbReader used by Diagnostics is only useful for
reading portable pdbs on disk. However pdbs produced by views are entirely
in memory and therefore cannot be read. Consequently
we choose to generate full pdbs for views on Windows (when possible).
2017-06-26 10:46:12 -07:00
Nate McMaster 98c8899155 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:43:03 -07:00
Nate McMaster fb322701e6 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:42:45 -07:00
Nate McMaster c8826a5d4d Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:42:26 -07:00
Nate McMaster 717625c948 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:42:10 -07:00
Nate McMaster 46f3d6359f Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:41:12 -07:00
Nate McMaster 65cccd0550 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:40:55 -07:00
Nate McMaster fcabcb2385 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:40:12 -07:00
Nate McMaster 0c7c05e1ce Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:39:51 -07:00
Nate McMaster 7b2825a40b Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:39:18 -07:00
Nate McMaster f2b1e355b3 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:38:47 -07:00
Nate McMaster 877e458da0 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:38:31 -07:00
Nate McMaster c2caacb1e8 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:38:19 -07:00
Nate McMaster 216c2d159c Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:38:04 -07:00
Nate McMaster 62fdf64cf6 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:37:49 -07:00
Nate McMaster 16b9c59ac3 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:37:33 -07:00
Nate McMaster b5ccc996f0 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:36:15 -07:00
Nate McMaster 3280ebd84b Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:35:42 -07:00
Nate McMaster 96382a3214 Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:35:28 -07:00
Nate McMaster 83140c0cfe Adding libunwind8 to .travis.yml
[skip appveyor]
2017-06-26 09:33:21 -07:00