Commit Graph

27752 Commits

Author SHA1 Message Date
DamianEdwards 5279786748 Added doc-comments to IHostingEnvironment
- Coherence-Signed#75
2015-10-19 10:51:08 -07:00
Pranav K 0ea0a44e15 Refactoring script to create master branch 2015-10-19 10:45:56 -07:00
Kirthi Krishnamraju 90116ddd78 fix #90: ResourceStringLocalizerFactory creates string localizer based on resourcetype's name instead of full name 2015-10-19 10:39:05 -07:00
Pranav K f4a6d634b5 Modify ViewStartUtility to generate always view paths with forward slashes
Fixes #3294
2015-10-19 10:33:05 -07:00
Chris R b437669e93 React to ISecureDataFormat changes. 2015-10-19 10:06:56 -07:00
Eilon Lipton 121e6891e7 Remove log codes from exception/log messages; don't localize logs
https://github.com/aspnet/Security/issues/414 and
https://github.com/aspnet/Security/issues/418

Also started putting in event ids for logs.
2015-10-17 16:50:16 -07:00
Cesar Blum Silveira f784b1bf43 Enable Microsoft.AspNet.WebSockets.Protocol.Test on CoreCLR. 2015-10-16 16:47:52 -07:00
Chris R c14119b612 #263 Consume ITlsTokenBindingFeature in CookieAuthMiddleware. 2015-10-16 16:31:58 -07:00
N. Taylor Mullen deaf2dc828 Enable `TagHelper`s to properly flatten to enable partial parsing.
- `TagHelper`s used to not flatten correctly resulting in inconsistent start locations for `SyntaxTreeNode`s following/within `TagHelper`s.
- This change indirectly corrected bad indentation that existed in generated C#.
- Added a test to validate `TreesAreDifferent` returns expected behavior when modifying content inside of `TagHelper`.
- Added `TagHelperBlock` `Flatten` test.

#553
2015-10-16 15:57:37 -07:00
Cesar Blum Silveira cea46e7851 Disable Microsoft.AspNet.Cryptography.KeyDerivation.Test on CoreCLR. 2015-10-16 15:49:25 -07:00
Arthur Vickers 1b87767472 Fix bug in test where key value was not being set. 2015-10-16 15:27:39 -07:00
Stephen Halter c809beec18 Don't allocate Exceptions unnecessarily
- Allocate Exceptions in the ReadStart callbacks if necessary instead
  of in UvStreamHandle.
- This also fixes a bug in ListenerSecondary where it should have
  previously been looking at the error code instead of the read count.

#237
2015-10-16 15:25:37 -07:00
Cesar Blum Silveira f0438d69eb Enable Microsoft.AspNet.TestHost.Tests on CoreCLR. 2015-10-16 15:09:54 -07:00
N. Taylor Mullen e943cdb57a React to aspnet/Razor#569 2015-10-16 15:09:31 -07:00
Kirthi Krishnamraju 5f4f6194b8 Add logic in test infrastructure to get runtime for coreclr on mac 2015-10-16 14:45:23 -07:00
Hao Kung 79d3723df5 Merge remote-tracking branch 'ka/dev' into dev 2015-10-16 14:02:41 -07:00
unknown 6a4da5d795 PhysicalFileResult throws NotSupported on path not rooted 2015-10-16 13:31:52 -07:00
Hao Kung c847f9c50d Reenable tests / Opt into cascading delete support 2015-10-16 12:44:18 -07:00
Chris R 42cba79e01 Enable tests for CoreCLR. 2015-10-16 12:40:39 -07:00
Ryan Nowak 32645e93c8 Add expression rewriting to Razor
This change rewrites simple and safe Expression<Func<T, U>> expressions
into accesses to readonly fields. This allows us to cache the actual
expression and avoid repeatedly allocating and compiling it.

The rewrite is limited to cases where we know that the expression doesn't
capture, and where we support that kind of expression for evaluating
viewdata. In practice this means 'indentity' and property accessors are
allowed.
2015-10-16 12:28:50 -07:00
Chris R f588677bb4 #506 Update to Rc1 IdentityModel, update ValidateUserInfoEndpointResponse. 2015-10-16 12:11:54 -07:00
Victor Hurdugaci ec7d04a178 Use cmd for fast delete 2015-10-16 11:47:37 -07:00
Cesar Blum Silveira 551d559ada Enable Microsoft.AspNet.Session.Tests on CoreCLR. 2015-10-16 11:35:58 -07:00
Cesar Blum Silveira 4165ee02c1 Enable some tests on CoreCLR. 2015-10-16 11:15:34 -07:00
Cesar Blum Silveira fb6bbee561 Call correct build.sh when building repos. 2015-10-16 11:00:52 -07:00
Ajay Bhargav Baaskaran 6ef2fe44ca [Fixes #3250] Remove RouteGroup from RouteValues 2015-10-16 10:57:22 -07:00
ryanbrandenburg 7dac0986c2 * Fix PageGenerator
* Generate pages on build
 * Add copyable stacktrace to error page
2015-10-16 10:44:55 -07:00
Chris R b144f5fd7c React to HttpRequestIdentifierFeature default change. 2015-10-16 10:15:56 -07:00
Victor Hurdugaci 69ed946970 Move compiler shared to its own folder 2015-10-16 10:11:09 -07:00
あまみや ゆうこ 912aaaa9d2 To correct word spell 2015-10-16 09:49:04 -07:00
N. Taylor Mullen 2d4092ca32 Add line pragmas to dynamic attributes.
- This enables debugging and proper error reporting for dynamic attributes. Without the pragmas errors would showcase generated Razor C# instead of their corresponding .cshtml files.
- Did not have to do any `TagHelper` specific changes since they utilize the same core attribute rendering logic.
- Updated generated C# files for tests.

#569
2015-10-16 09:41:12 -07:00
Ryan Nowak 221df71425 Incorporate StringSegment from primitives 2015-10-16 08:39:58 -07:00
Eilon Lipton b5712ef176 Remove a bunch of unused test code
The tests were testing nothing but themselves!
2015-10-15 23:00:10 -07:00
Eilon Lipton 3c925fc4bf Fix package descriptions with proper casing
#468
2015-10-15 22:30:11 -07:00
Doug Bunting 9b004611e5 Address PR comments for 2e2043f (PR #3317)
- remove redundant `null` check in `InputFormatter`
- improve comments
- rename `ObjectResult.SelectFormatterBasedOnTypeMatch()` -> `SelectFormatterNotUsingAcceptHeaders()`
2015-10-15 20:26:03 -07:00
Stephen Halter 8e818e3549 Address PR feedback 2015-10-15 16:52:37 -07:00
Hao Kung 8359038927 Address remaining PR feedback + misc cleanup 2015-10-15 16:51:12 -07:00
Chris R 4083c18d1e Merge pull request #441 from benaadams/patch-2
Comment cleanup
2015-10-15 16:45:24 -07:00
Ben Adams 3276115877 Comment sp 2015-10-16 00:40:37 +01:00
Pranav K f8b39bea63 Reacting to Cors rename 2015-10-15 16:00:05 -07:00
Stephen Halter 7b315d2470 Close connection gracefully in Frame.ProduceEnd
- Try sending a FIN before closing the socket
- Don't attempt to send a FIN twice for the same connection
2015-10-15 15:35:40 -07:00
Stephen Halter 513abb4561 Log errors in OnStarting and OnCompleted 2015-10-15 15:35:38 -07:00
Stephen Halter b98425d3b1 Log unhandled exceptions thrown from the AppFunc 2015-10-15 15:35:36 -07:00
N. Taylor Mullen ed617d17e9 Remove linemappings file. 2015-10-15 15:20:57 -07:00
Kiran Challa c36b89aa16 Unskip a test as it has been fixed in dnx 2015-10-15 14:26:10 -07:00
Chris R 7d62a188e1 Merge pull request #440 from benaadams/move-request-identifier
Expose TraceIdentifier on Httpcontext
2015-10-15 14:16:30 -07:00
Ben Adams e01a05d214 Move RequestIdentifierFeature to HttpContext
Rebased #435
Allow lazier instantiation
Expose TraceIdentifier on Httpcontext
Also resolves #412

Add tests
2015-10-15 22:00:45 +01:00
Chris R 08d17b2631 React to Authentication changes. 2015-10-15 13:47:22 -07:00
Kiran Challa 475771250b [Fixes #41] Api review changes 2015-10-15 13:16:34 -07:00
Kiran Challa fbf66168fe React to Cors api review changes 2015-10-15 13:05:08 -07:00