Commit Graph

43822 Commits

Author SHA1 Message Date
Ryan Nowak 95ea4cc06f Optimize allocations of List<ISymbol> and related 2016-01-14 17:19:25 -08:00
Ryan Nowak ffdf5d2827 Remove allocations from lookahead
This makes lookahead allocation-free, saving about 15MB in our current
benchmark.
2016-01-14 17:19:13 -08:00
N. Taylor Mullen 7a0a9c6caa Remove boxing of symbol types.
- The Equals operators were boxing the symbol types like crazy, added an abstract `SymbolTypeEquals` to avoid this.

#635
2016-01-14 17:18:07 -08:00
Nate McMaster 0c0b724009 Run specific targets in bash 2016-01-14 16:47:35 -08:00
Nate McMaster ae3c77b9c5 Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster 89faa2fc4c Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster 1dfcabbc3e Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster 1d572c11de Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster a57f3001e8 Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster f179830074 Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster 82929103f0 Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster 7a44cf4da9 Updating build script 2016-01-14 16:41:15 -08:00
Nate McMaster cec2051151 Updating build script 2016-01-14 16:41:14 -08:00
Nate McMaster 8349419c7f Updating build script 2016-01-14 16:41:14 -08:00
Nate McMaster b760156e66 Updating build script 2016-01-14 16:41:14 -08:00
Stephen Halter 129a5ad474 Bypass LibuvStream if no ConnectionFilter wraps it 2016-01-14 15:28:54 -08:00
jacalvar 9b217a4026 Fixes [#276] Throw a nicer error when the routing services haven't been added to DI 2016-01-14 15:11:20 -08:00
jacalvar 82381d97c2 [Fixes #3907] Improve MVC error when MVC services aren't registered 2016-01-14 15:09:07 -08:00
Ryan Nowak 6a4a9544a1 Eliminate extra List<RazorError> copies
Changing to IReadOnlyList since we always want to support indexing.
Replacing ToArray() with non-linq when needed, and with a static
EmptyArray when not needed.

Eliminates 50mb of list copies.
2016-01-14 14:54:47 -08:00
Troy Dai 80bc8bbbe1 Fix test break caused by null ApplicationBaseUrlHint
In addtion to the fix here are the changes to improve the helper:
1. Rename the helper to better represent its function;
2. Add overload to generate free port without hint;
3. Add overload to generate local test url;
2016-01-14 14:50:59 -08:00
Pranav K c7f6ed4445 Removing Newtonsoft.Json dependency from Microsoft.AspNet.Mvc.Formatters.Json 2016-01-14 14:40:52 -08:00
Hao Kung 3a7917c566 Move away from using OptionsSetup in test 2016-01-14 14:07:31 -08:00
Hao Kung 84804fec20 RequiresNonLetterOrDigit => RequiresNonAlphanumeric 2016-01-14 13:47:21 -08:00
Hao Kung 5c623b6e80 React to identity changes 2016-01-14 13:12:41 -08:00
Hao Kung 58b2cf6c7d Update samples 2016-01-14 12:54:03 -08:00
Hao Kung 2dade94404 Move claims extensions to UserManager
Also update samples to Templates
2016-01-14 12:49:21 -08:00
Ajay Bhargav Baaskaran 30ddf9b969 Updated missed TimestampToTicks changes 2016-01-14 12:42:31 -08:00
Ben Adams 63a7d50dd1 Invert TimestampToTicks division 2016-01-14 12:20:59 -08:00
Pranav K 13c7e68fa7 Fix incorrect xml docs for RoslynCompilationService
Fixes #3384
2016-01-14 12:15:48 -08:00
Pranav K 200fb23ba5 Reduce allocations in GlobbingUrlBuilder 2016-01-14 12:15:41 -08:00
Ajay Bhargav Baaskaran 99474a2709 Removed use of dnu commands 2016-01-14 11:57:29 -08:00
Stephen Halter e5ad019575 Revert "Merge branch 'benaadams/copyfrom-perf' into dev"
This reverts commit ce61282320, reversing
changes made to 7ef70bc145.
2016-01-14 11:47:23 -08:00
Brennan e05469a989 Use UTC 2016-01-14 11:38:16 -08:00
Pranav K e078259547 Modify UrlHelper to use a single StringBuilder 2016-01-14 10:39:35 -08:00
Chris R 3458f80ec4 Rename windows auth forwarder header to MS-PLATFORM-HANDLER-WINAUTHTOKEN. 2016-01-14 10:29:39 -08:00
Pranav K 1dba1cc661 Bumping Json.Net version to 8.0.1 2016-01-13 18:25:44 -08:00
Pranav K aa5a4d4af2 Revert "Revert DependencyContext changes untill dotnet-cli packages get sorted out"
This reverts commit 57bf12311b.
2016-01-13 16:24:33 -08:00
Chris R cc1cb1d480 #27 Forward client certificates. 2016-01-13 15:07:14 -08:00
Pavel Krymets 3c79b425f1 Use dynamic ports for all deployers 2016-01-13 14:31:24 -08:00
John Luo c747ce630d TestServer should not capture startup errors by default 2016-01-13 14:23:16 -08:00
Pranav K 672d596248 Changes to build using dotnet-cli 2016-01-13 13:02:32 -08:00
Cesar Blum Silveira d70e1eca73 Honor KOREBUILD_TEST_SKIPMONO (#353). 2016-01-13 12:43:34 -08:00
Ryan Nowak 420f442487 Fixes #3818 - Support Consumes in ApiExplorer
This change adds a list of ApiRequestFormat objects to ApiDescription
object which include the content type and formatter for each supported
content type which can be understood by the action.

Computation is aware of the [Consumes] attribute via the
IApiRequestMetadataProvider metadata interface, and aware of Input
Formatters via the new IApiRequestFormatMetadataProvider interface.

This algorithm is essentially the same as what we do for
produces/output-formatters. We iterate the filters and ask them what
content types they think are supported. Then we cross check that list with
the formatters, and ask them which from that list are supported. If no
[Consumes] filters are used, the formatters will include everything they
support by default.

This feature and data is only available when an action has a [FromBody]
parameter, which will naturally exclude actions that handle GET or DELETE
and don't process the body.
2016-01-13 12:32:17 -08:00
John Luo 32bb324886 Removing redundant null logger after hosting fix 2016-01-13 12:14:38 -08:00
Cesar Blum Silveira 8b6df5f704 Set DOTNET_HOME to correct path (#350). 2016-01-13 12:00:45 -08:00
Chris R a442701e22 Merge pull request #24 from tthiery/dev
Added Unit Tests for form field based HTTP Method Override
2016-01-13 11:59:03 -08:00
John Luo f7be1fb80e Fixing logger nullref when context created with no feature #532 2016-01-13 11:47:10 -08:00
Ben Adams fa72fdeaed Higher accuracy in timings 2016-01-13 11:36:39 -08:00
Victor Hurdugaci 5165163c2c Build with dotnet 2016-01-13 09:51:15 -08:00
Ryan Nowak 70cee90186 Add optional filter caching 2016-01-13 09:11:08 -08:00