Commit Graph

40898 Commits

Author SHA1 Message Date
John Luo 6a3ae53108 Reacting to hosting rename 2016-01-17 17:05:04 -08:00
John Luo 5a284732af Reacting to hosting rename 2016-01-17 16:49:26 -08:00
John Luo 5135a8938e Reacting to hosting rename 2016-01-17 16:43:28 -08:00
John Luo 2c1317d3c6 Adding .vs to gitignore 2016-01-17 16:36:03 -08:00
John Luo 9885377148 Reacting to hosting rename 2016-01-17 16:34:17 -08:00
John Luo 488187ff79 Reacting to hosting rename 2016-01-17 16:33:48 -08:00
John Luo f49864c413 Reacting to hosting rename 2016-01-17 16:32:45 -08:00
John Luo 8ff779778c Reacting to hosting rename 2016-01-17 16:21:39 -08:00
John Luo cad9ea1df7 Rename WebApplication to WebHost 2016-01-17 15:31:29 -08:00
David Fowler 0673acedc4 Added overload of Run that triggers shutdown on a cancellation token
- Added test
- Changed NotifyStopped() after all work has been done
2016-01-16 11:24:43 +00:00
Victor Hurdugaci 10fdfcc5c8 Build with dotnet 2016-01-15 20:54:35 -08:00
Pranav K 2baafc3699 Specify Newtonsoft.Json version to ViewFeatures to sort out disambiguity. 2016-01-15 16:13:32 -08:00
Pranav K cf9221df07 Pool JsonSerializer instances
Fixes #3550
2016-01-15 16:13:31 -08:00
Ryan Nowak e68c55ab41 Rewrite of tokenizers 2016-01-15 15:58:27 -08:00
Victor Hurdugaci 9e032102f6 Build with dotnet 2016-01-15 15:53:26 -08:00
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