Commit Graph

32527 Commits

Author SHA1 Message Date
Stephen Halter 24c0a8e142 Fix MemoryPoolIterator2.CopyTo's block traversal
- This fix prevents large request streams from being corrupted

#234
2015-10-08 16:16:41 -07:00
Louis DeJardin 774ce2dc9f Merge pull request #250 from benaadams/patch-2
subsequent block has data - IsEnd is false
2015-10-08 15:23:17 -07:00
Ben Adams 9d251cdb54 subsequent block has data - IsEnd is false
Resolves #249
2015-10-08 18:13:22 -04:00
Ryan Nowak 9342cb0ab7 Suppress [Obsolete] warnings from DiagnosticSource 2015-10-08 12:47:08 -07:00
Ryan Nowak a5727dc932 Incorporate StringSegment from primitives 2015-10-08 12:44:59 -07:00
Chris R 13dcc60802 Merge branch 'release' into dev 2015-10-08 12:01:37 -07:00
Chris R 566b0c3a2a Enable windows auth in tests via web.config. 2015-10-08 12:01:26 -07:00
Ryan Nowak 9a12085ef9 Suppress [Obsolete] warnings for TelemetrySource 2015-10-08 11:17:14 -07:00
Pranav K 91cb6281e4 Using @inherits and @model together gives intellisense errors
Fixes #3243
2015-10-08 11:02:20 -07:00
Chris R 1befc3b39d React to IHeaderDictionary changes. 2015-10-08 10:20:57 -07:00
Chris R 0b36382448 Merge pull request #236 from benaadams/sanitize-loops
Sanitize loops
2015-10-08 10:05:17 -07:00
David Fowler e92d325be0 Merge pull request #385 from benaadams/could-not-resist
requestId ticks seed, reduced GenerateRequestId allocs
2015-10-08 09:54:20 -07:00
Ben Adams 0a297688b4 Use Jit recongised, standard loop construct
For bounds check elimination.
Convey intent more clearly; eliminate bounds checks
2015-10-08 12:31:21 -04:00
Ben Adams 2da9f13db3 Less allocs in GenerateRequestId
Case insentive base32 encoding
2015-10-08 12:15:56 -04:00
Chris R 3741d38691 #426 Move IHeaderDictionary to Features to reduce wrapping. 2015-10-08 08:36:27 -07:00
Ben Adams 4250d35347 PR feeback 2015-10-08 01:11:41 -04:00
Pranav K 9fc75d395d Replace NotNullAttribute with thrown exceptions 2015-10-07 18:05:26 -07:00
Pranav K bc6502825f Replacing NotNullAttribute with thrown exceptions 2015-10-07 17:44:11 -07:00
Stephen Halter cd1c80daa7 Fix EngineTests that weren't using the appropriate ServiceContext
- This meant that the affected tests weren't run with the NoOpConnectionFilter
2015-10-07 17:25:10 -07:00
Cesar Blum Silveira 76cbb57f9a Fix build on Linux. 2015-10-07 15:06:50 -07:00
Ben Adams 05418dd18a Use corefx implementation 2015-10-07 16:51:10 -04:00
Chris R cecd42dfcd React to hosting FeatureCollection change. 2015-10-07 13:02:48 -07:00
Chris R 921b24890b Enable windows auth in tests via web.config. 2015-10-07 12:34:46 -07:00
Pranav K df66c60e24 Reacting to JsonParser renames 2015-10-07 11:28:57 -07:00
Pranav K a6ac3f58f5 Replace NotNullAttribute with thrown exceptions 2015-10-07 10:32:48 -07:00
Chris R c0ada4441f Merge pull request #389 from Kagamine/patch-1
To correct the word spelling
2015-10-07 10:22:59 -07:00
Ben Adams 8bf2c814d6 Add BitCount LongExtensions 2015-10-07 12:23:20 -04:00
Chris R f88b206082 #310 Do not automatically wrap IFeatureCollections. 2015-10-07 09:22:01 -07:00
Ben Adams 816dabb009 BitCount 2015-10-07 12:17:58 -04:00
Arthur Vickers daa50df87f React to EF fluent API changes 2015-10-06 22:11:01 -07:00
Pranav K 18912b9530 Removing NotNullAttribute.Sources references that were left behind 2015-10-06 17:36:46 -07:00
Pranav K bd78523011 Replace NotNullAttribute with thrown exceptions 2015-10-06 17:06:27 -07:00
Pranav K a0262a0569 Add setup to all repos list
Fixes #293
2015-10-06 16:40:54 -07:00
Pranav K 30f5826380 Use Type.GetMethod in ViewComponentMethodSelector
Fixes #3211
2015-10-06 16:21:56 -07:00
あまみや ゆうこ 62ce39afb6 To correct the word spelling
To correct the word spelling
2015-10-07 07:11:56 +08:00
Ryan Nowak d9e40d92de Make ModelPropertyCollection inherit ReadOnlyCollection<T>
Just some small cleanup. Did a search and all of our other custom List-ish
things inherit either Collection<T> or ReadOnlyCollection<T>.

Still no good solution for dictionaries.
2015-10-06 14:43:02 -07:00
Ryan Nowak 0dadf56fc8 Reducing allocations in value providers
- Don't go async in formdata providers unless we need to
- Remove unnecessary defensive copy in CompositeValueProvider
2015-10-06 14:25:19 -07:00
Ryan Nowak e5f4aa03d2 Avoid allocating in TemplateMatcher on failure
This change rejiggers the URL matching algorithm into using a two-pass
system to avoid allocating anything when a URL fails to match a route.
2015-10-06 14:14:01 -07:00
Ryan Nowak 082f175b48 Optimize allocations in GetFilters
Doing it the old fashioned way to get rid of some allocations.
2015-10-06 13:41:44 -07:00
Ryan Nowak e54da5e6f6 Remove dead code in invoker (SetStage) 2015-10-06 13:28:33 -07:00
Ryan Nowak 761c7e6751 Optimize allocations for creating ActionConstraints 2015-10-06 12:35:13 -07:00
Ryan Nowak 1ed22e5939 Avoid state machine and allocation for 0-parameters 2015-10-06 12:02:49 -07:00
Pranav K 04d72d8894 Simplify FileResult
Fixes #3249
2015-10-06 11:26:56 -07:00
Ryan Nowak 04c6fceb94 React to aspnet/Routing#215 2015-10-06 10:37:56 -07:00
Ryan Nowak 371d4e62da Remove string.Split from routing
This change removes the call to string.Split and a few substrings, and
replaces it with a tokenizer API. The tokenizer isn't really optimized
right now for compute - it should probably be an iterator- but it's a
significant improvement on what we're doing.
2015-10-06 10:21:00 -07:00
Pranav K a602d548e2 Allow ViewFeature tests to run in dnxcore50 2015-10-06 09:46:49 -07:00
あまみや ゆうこ aadae4163e Update jquery.validate-vsdoc.js 2015-10-06 22:03:26 +08:00
あまみや ゆうこ 22f1537abd Update Resources.resx 2015-10-06 22:02:44 +08:00
Doug Bunting 618a73b399 Support building with Core CLR (on Linux)
- hits all of the checkboxes in #272

Specify test runtime explicitly and support testing w/ DNX Core on Linux
- turn on DNX Core on Linux testing with `--test-dnxcore` target
  - or `KOREBUILD_TEST_DNXCORE` environment variable

Work around aspnet/dnx#2566
- builds fail with DNX Core on Linux otherwise

Do not attempt to install nodejs if not on Windows

Use user's `default` DNVM when `%SKIP_DNX_INSTALL%` defined on Windows
- enables builds with DNX Core
- should be the default for new repos; older repos can opt in

Use consistent case for all `--quiet` environment variables
  - also name these variables consistently; start w/ `KOREBUILD_`
- environment variables are case-sensitive on Linux and mixed case was annoying
- also get rid of leading space in these environment variable values

Check `IsLinux` and not `IsMono`
- `IsMono` is always `true` on Linux since Sake always runs in Mono there
  - but `IsLinux` is the right question

nits:
- remove tabs from a few files
- remove compilation warnings in local `makefile.shade`
2015-10-05 23:02:50 -07:00
Anthony van der Hoorn a0764faa86 Bring arguments inline between before/after events 2015-10-05 16:42:25 -07:00