Commit Graph

43822 Commits

Author SHA1 Message Date
Steve Sanderson 076b5304e0 Update templates to reference latest preview3 packages 2017-07-03 14:32:29 +01:00
Steve Sanderson 94fc84a9b4 Add simpler prerendering API. Fixes #607 2017-07-03 14:07:28 +01:00
Steve Sanderson 9cce26ebd8 Fix error formatting by rebuilding entrypoint-http.js 2017-07-03 14:01:31 +01:00
Steve Sanderson 513d288a5d Use GetRandomFileName instead of GetTempFileName. Fixes #1060 2017-07-03 10:15:53 +01:00
Steve Sanderson 429a432dd3 Check for null during node process disposal. Fixes #1061 2017-07-03 10:09:03 +01:00
Doug Bunting 76024196b6 Remove Entropy from Universe builds
- aspnet/Coherence-Signed#505
2017-07-02 21:59:50 -07:00
Aristarkh Zagorodnikov 6e45de2205 Improved systemd activation tests (#1930)
* Added BASE_PORT envvar for SampleApp to allow for multiple instances to coexist

* Moved to systemd-socket-activate for activation tests

* Style fixes
2017-07-02 21:06:13 -07:00
David Fowler 0f4295f90e Make parsers stateless (#628)
* Make parsers stateless
- Changed parser input to ReadOnlySpan<byte> to ReadOnlyBuffer<byte>
2017-07-01 23:44:22 -07:00
John Luo 15008b0b7f Add WaitForShutdown to WebHostExtensions 2017-07-01 23:13:52 -07:00
David Fowler 10b195bcce Move DefaultConnectionContext out of Sockets.Abstractions (#627) 2017-07-01 15:26:28 -07:00
David Fowler b0a70aeef7 Add synchronous Start back to IWebHost (#1125)
* Add synchronous Start back to IWebHost
- Fixed extension methods to have a default(CancellationToken)
- Removed extension methods for Start, StartAsync and StopAsync
2017-07-01 15:00:54 -07:00
Ryan Nowak 112cbc0bb6 Check for warnrings in tests taht compile
This fixes and issue that snuck through and broke MVC as well as
preventing this from happening in the future.
2017-07-01 11:52:41 -07:00
Ryan Nowak 7aeb228063 Redesign tag helper codegen 2017-06-30 17:34:01 -07:00
N. Taylor Mullen 2a6f0e4dc9 Productionize the csharp rendering context APIs.
- Rename `CSharpRenderingContext` => `CodeRenderingContext`.
- Rename `CSharpCodeWriter` => `CodeWriter`
- Rename `BasicWriter` => `IntermediateNodeWriter`
- Rename `...BasicWriter` => `...NodeWriter`
- Made `CodeRenderingContext` a public abstract API. Left temporary TagHelper pieces in the class since these will be removed soon.
- Moved several `CodeRenderingContext` methods into extension methods. These make use of the Items collection.
- Moved the reporting of missing code target extensions into the `ExtensionIntermediateNode`. This is the integration point of `CodeTarget`s and `CodeRenderingContext`s; therefore, it made more sense existing there.
- Left SetRenderChildren/SetRenderNode as extension methods due to how they're wired up. Aka, to create a `CodeTarget` you need a `CodeRenderingContext`... To Create a `DocumentWriter` you need a `CodeTarget`... To set the render methods on the context you need a `DocumentWriter`.
- Updated tests to utilize the new code renering constructs.
- Moved code generation testability features from `CSharpLoweringPhase` to the `CodeRenderingContext.Items`.

#1043
2017-06-30 16:35:53 -07:00
John Luo 7162fe2371 Clarify installer error message 2017-06-30 16:35:42 -07:00
Pranav K 7c5a16c105 Add RemoveType methods of PageConventionCollection 2017-06-30 16:27:51 -07:00
Paul Kim bce7d84906 Fix cart count when the same album is added to the cart multiple times (#765) 2017-06-30 16:18:10 -07:00
Pranav K bc4328de16 Add entry to breakingchanges.json 2017-06-30 15:44:21 -07:00
Henk Mollema 948982ebff Create custom collection for model binder providers
Fixes #6161
2017-06-30 15:44:07 -07:00
Nate McMaster 661f6d5103 Revert "React to change in session API"
This reverts commit 04d0fdd652.
2017-06-30 15:27:10 -07:00
Nate McMaster 04d0fdd652 React to change in session API 2017-06-30 15:25:28 -07:00
Nate McMaster 873a2fe17f React to changes in Antiforgery API 2017-06-30 15:20:44 -07:00
Nate McMaster df41fd8ccc Replace the ConfigureCookieOptions action property with the CookieBuilder 2017-06-30 15:18:40 -07:00
Pranav K edfe5399c3 Add some details about view compilation options (#156)
* Add some details about view compilation options
2017-06-30 15:18:09 -07:00
Pranav K b625ffcad6 Remove SimpleAppDesktopOnly 2017-06-30 15:14:26 -07:00
Pranav K d801bdc271 Reacting to https://github.com/aspnet/Mvc/issues/6462 2017-06-30 15:00:39 -07:00
Cesar Blum Silveira 81c2b57dda Increase default request min rate to 240 bytes/second (#1929). 2017-06-30 14:58:44 -07:00
Ryan Brandenburg 5f37723e8d Remove AssetTargetFallback 2017-06-30 14:42:27 -07:00
Ryan Brandenburg f5c55727a4 Remove AssetTargetFallback 2017-06-30 14:42:00 -07:00
Pranav K bc86ea4e47 Move convention extensions from RazorPagesOptions to PageConventionCollectionsExtensions
Fixes #6462
2017-06-30 14:25:10 -07:00
Ajay Bhargav Baaskaran 9c031e6fb5 Moved all TagHelperDescriptor related builders to have getter setter
instead of methods

More polish to the tag helper descriptor builders.
- Expose underlying builders as getter only list
- Added AsDictionary() extension method to BoundAttributeDescriptorBuilder
- Expose diagnostics as RazorDiagnosticCollection
- Got rid of Require** prefix in TagMatchingRuleBuilder
- Workaround issue aspnet/Razor#1492 by copying the test descriptor
  extensions
2017-06-30 14:08:05 -07:00
Ryan Brandenburg 8e7dafad96 Remove AssetTargetFallback 2017-06-30 13:11:13 -07:00
Cesar Blum Silveira 68ba9a9445 Avoid torn reads from _frame.MinReadBodyDataRate in FrameConnection.Tick(). 2017-06-30 12:22:31 -07:00
Ryan Brandenburg b61244dac9 Remove AssetTargetFallback 2017-06-30 12:18:59 -07:00
Mike Harder 660b7df0e2 Upgrade Roslyn to 2.3.0-beta3-* 2017-06-30 12:17:58 -07:00
Nate McMaster 6d858dfeb2 Make CookieBuilder.Build(HttpContext) non-virtual 2017-06-30 12:13:31 -07:00
Pranav K 4db7f2eb6d Update to Roslyn 2.3.0-beta3 version 2017-06-30 11:35:59 -07:00
Doug Bunting f76a390a4e Fall back to linear search for prefix matches
- #6469
2017-06-30 10:59:07 -07:00
Ajay Bhargav Baaskaran 34e3c249e4 Remove Test.Common dependency from LanguageServices.Razor.Test 2017-06-30 10:42:24 -07:00
Nate McMaster dece939aab Add CookieBuilder property to SessionOptions and obsolete duplicated properties 2017-06-30 10:02:53 -07:00
Nate McMaster 199b0fa212 Require CookieBuilder.Name to be a not null or empty 2017-06-30 09:20:13 -07:00
David Fowler 53e09f8cc3 Fix flaky test (#622)
- Remove timeout and closed the application when the transport closes.
Made some tweaks to TestWebSocketConnectionFeature as a result.
- This uncovered some interesting issues with the WebSocketTransport itself so
further refactoring is needed to make it a bit more solid.
2017-06-30 02:30:09 -07:00
Ryan Brandenburg 76928bcbaa Remove AssetTargetFramework 2017-06-30 10:24:48 +01:00
Hao Kung 082c4fa5c6 React to auth changes 2017-06-29 18:35:35 -07:00
Mike Harder 24d4694ec5 React to Authentication changes (#1295)
* 271faf11bb
* ff9f145a8e
2017-06-29 17:53:20 -07:00
Cesar Blum Silveira f2061ed716 Rename request body min rate APIs (#1901). 2017-06-29 17:16:34 -07:00
John Luo eb1f72c369 Installer generation updates 2017-06-29 16:52:49 -07:00
John Luo 64ed5bb4ff Use new SelfContained property 2017-06-29 16:50:34 -07:00
Ajay Bhargav Baaskaran 7c7bb627b9 Moved typename and propertyname to extension methods 2017-06-29 16:47:53 -07:00
Hao Kung eb3ff7fc32 Move IdentityOptions namespace 2017-06-29 16:34:25 -07:00