Commit Graph

40898 Commits

Author SHA1 Message Date
Pavel Krymets 740b51e0bc Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:08:07 -08:00
N. Taylor Mullen d564a4a96b React to aspnet/Razor#561.
- `TagHelper` directives no longer have quotes.
- Regenerated test output.
2015-11-06 12:31:55 -08:00
Ajay Bhargav Baaskaran 1927730f40 [Fixes #3426] Removed defensive copy in CompositeModelBinder and CompositeModelValidatorProvider 2015-11-06 12:21:08 -08:00
N. Taylor Mullen 0c95315500 Update tests to not require quotes for TH directives.
- Updated .cshtml files to not provide quotes for the various `TagHelper` directives.
- Updated `TagHelper` directive parsing tests. This also involved removing several tests that expected errors which no longer occur since we don't have to ensure quotes are balanced.
- Updated line mappings which significantly changed due to us no longer generating line pragmas at design time for `TagHelper` directives.

#561
2015-11-06 12:19:40 -08:00
N. Taylor Mullen 013f3a27af Remove quote requirement for `TagHelper` directives.
- `@addTagHelper`, `@removeTagHelper` and `@tagHelperPrefix` values are all written without quotes now.
- Updated the `ChunkGenerator`s to be in-line with other `ChunkGenerator`s in the system now that they don't have vastly different values than what their corresponding `Span`s have.
- Split `AddOrRemoveTagHelperChunkGenerator` into two smaller `ChunkGenerator`s to stay consistent with other generators.
- Removed error cases introduced by having quotes around directives.
- Updated code generation logic to not generate line pragmas (they should never have been generated to start with) and more specifically only map to the inner string that's generated. Without this change directive mappings would be offeset by a generated quote.

#561
2015-11-06 12:17:30 -08:00
N. Taylor Mullen decf882341 Update `LinkTagHelper`s `meta` tag to be w3c compliant.
- Prior to this change the `<meta ...>` generated had a name attribute. As an alternative we're using the `content` attribute in conjunction with the `name` attribute to ensure compliance.

#3449
2015-11-06 12:15:55 -08:00
Ajay Bhargav Baaskaran f7a211c095 Removed use of LINQ and added some optimizations in ValidationVisitor 2015-11-06 11:56:52 -08:00
N. Taylor Mullen bebd3dc9a0 Update test files to showcase block level Razor statements in attributes.
- Block level Razor statements in attributes used to not work. Added a few use cases to ensure that they're properly tested.

aspnet/Razor#594
2015-11-06 11:11:40 -08:00
Kiran Challa 5364468001 [Fixes #3177] Clean up logic for encoding in ViewResult and friends 2015-11-06 10:44:09 -08:00
Cesar Blum Silveira 216d3a0656 Fix some authentication unit tests failing on Linux and OS X. 2015-11-06 04:27:33 -08:00
Chris R a5a8614595 Merge branch 'release' into dev 2015-11-09 10:46:52 -08:00
SteveSandersonMS 717fb37034 Rename packages. Bump versions to -alpha6 2015-11-05 14:23:11 -08:00
SteveSandersonMS 54aad643c8 Decode Node's JSON response into arbitrary .NET type. Add VS stuff. 2015-11-05 22:05:43 +00:00
Cesar Blum Silveira 8bf2c72e69 Sign Microsoft.AspNet.Mvc. 2015-11-05 14:00:54 -08:00
Hao Kung 379f1928a4 Update doc comments 2015-11-05 13:22:27 -08:00
SteveSandersonMS 52953c5fe9 Fix working directory (e.g., for when running under IIS Express) 2015-11-05 12:25:29 -08:00
Stephen Halter 9d19eed88f Merge branch 'benaadams/memorypool2-allocate' into dev 2015-11-05 12:16:43 -08:00
Stephen Halter bb9f83186b Remove unused parameter from ListenerSecondary.ReadStartCallback 2015-11-05 12:09:50 -08:00
Cesar Blum Silveira 8a23efebf2 Merge branch 'release' into dev 2015-11-05 11:51:33 -08:00
Cesar Blum Silveira bcb02a06ef Update IdentityModel dependencies to strong named version. 2015-11-05 11:50:33 -08:00
SteveSandersonMS 46dc743177 Fix various path issues 2015-11-05 11:46:10 -08:00
Ricardo Peres a4c4e20d4e Restored Killed console message
Added Started console message
Captured possible exception from node process
2015-11-05 10:41:24 -08:00
SteveSandersonMS b5fb560c54 Require lodash (works around NPM dependency issue on Windows) 2015-11-05 10:22:39 -08:00
SteveSandersonMS 3e7dfa617a Update version of base package to -alpha4 2015-11-05 09:17:46 -08:00
Stephen Halter fff28990fe Ensure ListenerSecondary buffer isn't double freed or freed too early
- Call buf_init in StartAsync so we have access to a KestrelThread
2015-11-04 16:21:29 -08:00
N. Taylor Mullen 02d6b00d8f Generate `async` lambda for template attributes.
- Template attributes should be of type `Func<TextWriter, Task>`. We weren't generating an `async` lambda for attributes prior to this change resulting in a compilation failure when used at runtime and the inability to `@await` code (unless a user returns some sort of `Task`).
- Updated code generation files to reflect the new code generation behavior.

#594
2015-11-04 16:04:29 -08:00
Chris R f050e09283 Revert use of explicit converters that prevent APIs from returning null. 2015-11-04 16:03:36 -08:00
Stephen Halter 74f08c16df Merge branch 'benaadams/listenersecondary-allocs' into dev 2015-11-04 15:34:42 -08:00
Ben Adams 3e7969cefe Move handle creation to constructor 2015-11-04 22:44:30 +00:00
Stephen Halter 272ce27c79 Merge branch 'benaadams/delegates' into dev 2015-11-04 14:21:13 -08:00
Ben Adams 5cef608e52 Dispose _ptr 2015-11-04 22:20:51 +00:00
Ben Adams 22dfd31261 More readable loop condition 2015-11-04 22:04:19 +00:00
ryanbrandenburg cd761a644d * Adding test 2015-11-04 13:55:02 -08:00
Hao Kung dc6e916bd4 Cookies Forbid now includes ReturnUrl 2015-11-04 13:54:37 -08:00
Chris R 31c7db25a2 Merge branch 'release' into dev 2015-11-04 13:39:13 -08:00
SteveSandersonMS 7c3d22c7b6 Add react tag helper. Clean up code and make it more consistent. 2015-11-04 12:19:43 -08:00
Chris R a0466868e1 Publish tests with no-source to avoid signing issue. 2015-11-04 11:42:10 -08:00
Stephen Halter 3e6df1e685 Merge branch 'benaadams/LibuvCopier-compile-issue' into dev 2015-11-04 10:58:58 -08:00
Cesar Blum Silveira 4ced3c51ef Merge branch 'release' into dev 2015-11-04 10:49:27 -08:00
Stephen Halter 35bbddf9b5 Merge branch 'benaadams/listener-primary-alloc' into dev 2015-11-04 10:14:52 -08:00
Stephen Halter 04b2885f10 Merge branch 'benaadams/listener-allocation' into dev 2015-11-04 10:12:33 -08:00
Stephen Halter f4be290d4a Merge branch 'benaadams/connection-allocs' into dev 2015-11-04 10:08:36 -08:00
Pranav K 940fb7ba78 Adding Controller.Challenge and Controller.Forbid 2015-11-04 09:57:19 -08:00
Brennan Conroy 13886a5af3 Merge branch 'release' into dev 2015-11-04 09:54:16 -08:00
Cesar Blum Silveira 87a20119fd Merge branch 'release' into dev 2015-11-04 09:22:28 -08:00
BrennanConroy 7371558dbf azureadwebstack release feed 2015-11-04 08:33:47 -08:00
David Fowler 2aa067549f Merge pull request #329 from benaadams/no-header-array-alloc
Don't alloc array per header
2015-11-04 05:11:10 -08:00
Ben Adams cc84097016 Listener - remove closure allocation 2015-11-04 12:36:32 +00:00
Ben Adams 1d4b9d6633 ListenerPrimary - reduce closure allocation
Still captures string pipeName
2015-11-04 12:33:51 +00:00
Ben Adams d104e8a08d Reduce delegate allocation 2015-11-04 12:31:44 +00:00