Commit Graph

18225 Commits

Author SHA1 Message Date
Chris R f7e1a98b24 Skip broken TempDataDictionary tests #17102 2019-11-14 11:01:19 -08:00
Chris R ab0ba0b9c0 React to change in LambdaCompiler #17061 2019-11-14 10:08:42 -08:00
Ryan Nowak a159473c57
Use operations in our analyzers that need symbols (#17001)
Fixes: #16922

This change updates our analyzers that need access to the symbols to use
`IOperation` where possible. Using syntax analysis for this kind of
analyzer has worse performance. These analyzers run on generated code,
which can include EF migrations, the design of which amplifies these
effects.

On the path to this, I also added support for a few more cases that
operations make easy. Since we're doing this anyway, I want to have
confidence that we're checking everything (within reason). In some cases
the diagnostic experience changed a bit (including more of the
declaration/code) - I felt like all of these were OK changes. Given the
kinds of error message reported by the analyzers "don't use that type"
it seems like it's still a good enough experience without
micro-optimizing all of the locations.
2019-11-12 17:48:12 -08:00
Günther Foidl 20f2168869 HTTP/2 code sharing shell sync-script (#16885) 2019-11-12 08:17:58 -08:00
Chris Ross e336f4010a
Set HasStarted for StartAsync #16987 (#16993) 2019-11-11 15:32:32 -08:00
Omair Majid 20fc1adf2a Support building for arm64 on arm64 (*nix) (#15354)
This commit allows ASP.NET Core to be built on arm64 machines directly,
without relying on cross-compilation.

There's a few changes in here:

1. Ask msbuild to look into the BuildArchitecture

   By default, our build systems assums the machine is x64. This
   modifies the build configuration to check the architecture of the
   currently running build machine, and set BuildArchitecture to that.

2. Fix crossgen in Microsoft.AspNetCore.App.Runtime

   We run crossgen for supported architectures (including x64 and
   arm64). For that, we need a jit that we can point crossgen to.
   Generally, we can rely on the build scripts to find the right
   `libclrjit.so`. However, arm64 has multiple `libclirjit.so`, for
   different use-cases. There's one for arm64 (for running on arm64) and
   there's another one for cross-compiling for arm64 on x64. We need to
   figure out and use the right one explicitly rather than assuming the
   right one gets picked up.

   See https://github.com/dotnet/core-setup/pull/8468 for similar
   changes made in core-setup.

This also needs https://github.com/aspnet/AspNetCore/pull/14790 to fully
work on arm64.
2019-11-11 13:26:14 -08:00
Sébastien Ros ed5b7217e3
Merge pull request #16986 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'
2019-11-11 12:46:37 -08:00
Alessio Franceschelli 628da23e48 Response Caching: Cache Head with Content-Length (#12652)
* Response Caching: Cache Head with Content-Length
2019-11-11 10:10:21 -08:00
Brennan Conroy f8ed1185e4 Re-enable tests 2019-11-11 10:07:02 -08:00
Brennan Conroy 6caada9c14 Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/3.1-to-master 2019-11-11 10:04:23 -08:00
William Godbe ec5ccaca22
Merge pull request #16853 from Pilchie/TestUpdates
Update some tests
2019-11-11 09:44:54 -08:00
William Godbe dc49105fd6
Merge pull request #16903 from aspnet/mkArtakMSFT/angularFix
Disable webpack build progress reporting for Angular projects
2019-11-11 09:44:22 -08:00
Steven Maglio 5b1b8bcb8b Adding null-conditional operator on IEnumerable.GetEnumerator() (#16947) 2019-11-11 08:25:37 -08:00
Christopher Haws 4eebc166bf Add ignored http headers to SpaProxy (#16863)
* Add ignored http headers to SpaProxy

* Remove `cookie` header from NotForwardedHttpHeaders
2019-11-10 16:06:14 -08:00
Brennan 77afd21e90 Change how we resolve dotnet in tests (#16934) 2019-11-09 17:17:58 -08:00
James Newton-King 909f1d368f
Set HttpResponseMessage.Version in TestServer (#16941) 2019-11-10 13:59:34 +13:00
Chris Ross f8f60cd42e
HttpSys HTTP/2 Response Trailers #13893 (#16877) 2019-11-08 17:12:37 -08:00
Justin Kotalik 845e6d5512
Add rest of MsQuic transport. (#16812) 2019-11-07 20:53:33 -08:00
Artak 5171fd2bb5
Disable webpack build progress reporting for Angular projects
Addresses https://github.com/aspnet/AspNetCore-ManualTests/issues/43
2019-11-07 12:35:12 -08:00
Ryan Brandenburg 7202634cea
Merge pull request #16599 from flensrocker/issue-16582
Allow the Angular/React-DevServer to run on a given port (#16582)
2019-11-06 13:43:23 -08:00
Kirk Larkin 6a6deb298c [Mvc] Fix cref for HttpMethodActionConstraint API docs (#16857)
Switches the wrong reference from IActionResult to IActionConstraint
2019-11-06 14:27:11 +01:00
Lars Hanisch 23f23e88ab Regenerate reference assemblies 2019-11-06 09:28:01 +01:00
Andrew Stanton-Nurse 81379147e6
Update SignalR NPM package readme to show how to install previ… (#16761) 2019-11-05 16:09:10 -08:00
Doug Bunting 9abf4bfe3f
Merge branch 'release/3.1' => 'master' (#16834) 2019-11-05 15:39:47 -08:00
Kahbazi 911f92c7e7 Log heartbeat duration for slow heartbeats (#15273) 2019-11-05 13:58:28 -08:00
Ken Dale a23dd41428 Add www to root domain redirects (#12997) 2019-11-05 13:11:14 -08:00
Lars Hanisch 968e85a397 Allow the Angular/React-DevServer to run on a given port (#16582) 2019-11-05 21:52:38 +01:00
Kamron Batman d4f7a199c7 [Low Risk Cleanup] Removes double semicolons (#16794) 2019-11-05 11:33:58 -08:00
Kevin Pilch 5195d15939 Update some tests 2019-11-05 11:24:48 -08:00
Hao Kung 41195138b1
Fix resend email confirmation (#14118) 2019-11-05 10:32:06 -08:00
Pranav K b617083148
Add missing dependencies to Mvc.sln (#16758) 2019-11-05 12:04:09 -05:00
Doug Bunting ea51e63930
Merge branch 'master' into merge/release/3.1-to-master 2019-11-04 19:15:34 -08:00
Chris Ross 87bd1bec5b
Cleanup kestrel Win10 skips #14382 (#16756) 2019-11-04 13:32:38 -08:00
Doug Bunting 8a134f81d4
Merge branch 'release/3.1' => 'master' (#16743) 2019-11-04 11:57:12 -08:00
Kahbazi 93432bd417 Drop IResponseCache async methods (#15393) 2019-11-04 11:06:19 -08:00
Stephen Halter e3b971a75e
Keep Kestrel's connection PipeReader in a consistent state (#16725)
- When the request body PipeReader.ReadAsync throws, the connection-level
pipe should be advanced, so subsequent attempts to read from the
connection-level pipe don't fail unnecessarily
2019-11-04 10:47:38 -08:00
Doug Bunting 4dfebe5308
Mark `ConnectionNotClosedWhenClientSatisfiesMinimumDataRateGivenLargeResponseChunks` as flaky 2019-11-04 10:16:01 -08:00
mikeo52 774f8dbdbd Added name for EventId in logs (#11379) 2019-11-04 08:51:42 -08:00
Justin Kotalik 3ecdc40318 Synchronize Http/2 HPack implementation between CoreFx and ASP.NET Core (#13931) 2019-11-01 17:32:21 -07:00
Kahbazi 61179f3da2 Improve performance for QueuePolicy in ConcurrencyLimiter (#13947) 2019-11-01 14:28:02 -07:00
Justin Kotalik 4d3eccccf0
Set new HTTPS environment variable when using out of process (#16713) 2019-11-01 12:57:44 -07:00
Kahbazi ab5b5a4ab5 Remove null check for logger in HttpsConnectionMiddleware (#16736) 2019-11-01 11:26:21 -07:00
Stephen Halter 57d21c4f5f
Use new EventId for bad dev cert log (#16720) 2019-11-01 11:24:34 -07:00
Ryan Brandenburg 41e15c3d90
Prevent VS warning for empty attribute (#16719) 2019-11-01 10:57:00 -07:00
Ryan Brandenburg 7816ef94ca
Handle synchronous exceptions from partial (#16679)
Handle sync exceptions within async context
2019-11-01 10:56:19 -07:00
Brennan 7f015aa226
Merge branch 'master' into merge/release/3.1-to-master 2019-11-01 09:50:59 -07:00
BrennanConroy 38eebb5113 ref 2019-10-31 20:59:05 -07:00
BrennanConroy 35403fe669 Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore 2019-10-31 20:25:42 -07:00
Brennan cd09f74a3a
Don't access CookieContainer unless needed (#16619) 2019-10-31 20:18:10 -07:00
Brennan ef442be421
Remove flaky test (#15269) (#16717) 2019-10-31 18:00:00 -07:00