Commit Graph

39583 Commits

Author SHA1 Message Date
N. Taylor Mullen 1ce9180a3e Prevent unneeded allocations of `Block` children enumerators.
#635
2016-01-15 15:47:35 -08:00
Pranav K 9ad62d7963 Updating to Newtonsoft.Json 8.0.2 2016-01-15 15:36:29 -08:00
Hao Kung 2e1a8b31cd Rename Delegate => AssertionRequirement
And moar sugar...
2016-01-15 14:47:33 -08:00
Victor Hurdugaci 3277f68768 Build with dotnet 2016-01-15 14:18:01 -08:00
Victor Hurdugaci 3e1b55701a Install xunit.core 2016-01-15 12:05:55 -08:00
Ryan Nowak 315d79ff2b Make the CodeWriter more efficient 2016-01-15 11:04:32 -08:00
Pranav K 9bc8cc1def Updating CLI _k-standard-goals to remove use of dnu pack
Fixes #355
2016-01-15 10:46:30 -08:00
Ryan Nowak 08fef95969 Remove a String.Split 2016-01-15 10:38:08 -08:00
moozzyk 4d4dfedd59 dotnet-publish-iis refactoring
- moving command logic to a dedicated class
- adding logic for reading webroot value from a parameter, hosting.json file and folder structure
- reading application name from project.json instead of a parameter
2016-01-15 10:36:38 -08:00
Nate McMaster dd81654b33 Fix path to korebuild folder in bash script 2016-01-15 09:56:50 -08:00
Doug Bunting fa8c2eac3e Check encoded and unencoded values against element body in `OptionTagHelper`
- #3386
- initialize comparison `HashSet` with unencoded values to ensure both are checked
- address perf and correctness issues in this code
  - `context.Items[typeof(SelectTagHelper)]` entry read as `ICollection` but written as `IReadOnlyCollection`
    - `IReadOnlyCollection` worse because it does not include `Contains()`, causing Linq use
  - every `<option>` element recalculated the encoded values and created a `HashSet` to contain them
    - add `CurrentValues` type to cache this `HashSet` in `context.Items`
  - each `OptionTagHelper` created the additional `HashSet` even if `Value` was bound
2016-01-14 17:46:54 -08:00
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