Commit Graph

40898 Commits

Author SHA1 Message Date
Henk Mollema 16b9a79a82 Update README.md
- ASP.NET 5.0 -> ASP.NET 5
- KVM -> DNVM
- Minor text changes
2015-05-18 23:38:14 +02:00
Brice Lambson 281c42ba1c Don't run tests using bin/debug/app/project.json files 2015-05-18 14:04:26 -07:00
damianedwards 6abeff9f09 Add missing [NotNull] attributes on StringLocalizerExtensions 2015-05-18 12:12:47 -07:00
Chris R 179bdbf903 #82 Implement ITlsTokenBindingFeature. 2015-05-18 11:44:45 -07:00
Suhas Joshi b2d34bfb6b Disabling tests to unblock CI 2015-05-18 11:38:16 -07:00
damianedwards cda137ca9f Drop leading "I" from IStringLocalizerExtensions 2015-05-18 10:11:01 -07:00
thekane 598e0fd377 lowercase mono-complete package name 2015-05-17 14:50:56 -06:00
David Fowler ac1e0aeee3 Fixed remaining refs 2015-05-17 10:25:42 -07:00
David Fowler 3124cdd641 Remove ConfigureServicesDelegate
- Removed the delegate type as it's not used anywhere in user code
- Also removed platform helper
2015-05-17 10:19:03 -07:00
David Fowler 83a8fd136f Fix tabs 2015-05-17 09:07:21 -07:00
Eilon Lipton 99c7859608 Fix build break due to Configuration rename 2015-05-16 23:42:42 -07:00
Eilon Lipton d5cfe839db Merge pull request #459 from hishamco/dev
Using 'nameof' operator instead of magic strings
2015-05-16 22:52:08 -07:00
Doug Bunting 94f2f904b3 Add `[HtmlAttributeName(..., DictionaryAttributePrefix="prefix")]` part II
- relates to #89 because that changes `string` property checks and needs this refactor
- determine `string`-ness when creating `TagHelperAttributeDescriptor`s
 - add `TagHelperAttributeDescriptor.IsStringProperty` (set in constructor)
 - avoid repeated `string` comparisons and be more explicit
- change `TagHelperBlockRewriter` to centralize more of the `string`-ness determination
 - also add `TryParseResult` DTO, avoiding multiple `out` parameters
- refactor `CSharpTagHelperCodeRenderer` to allow reuse of core attribute value rendering
- test all of it
 - add `TagHelperDescriptorTest` to confirm serialization / deserialization

minor:
- fix `TagHelperBlockRewriter.TryParseBlock()` end quote removal when tag is malformed

nits:
- remove dangling mention of fixed bug #220
- make recently-added `TagHelperBlockRewriterTest` tests realistic
 - multiple `TagHelperDescriptor`s for same tag helper have identical `Attributes`
2015-05-15 23:17:52 -07:00
Chris R 7ae1941c83 Enable additional WebListener response tests. 2015-05-15 15:11:29 -07:00
Chris R 2681e8b3d1 #112, #113 Sort out default response modes, allow manual chunking. 2015-05-15 14:55:54 -07:00
Chris R 0e87d989d7 #272 Make HostingEnvironment default to Production. 2015-05-15 14:45:34 -07:00
Hao Kung 5b851c49a3 Throw when ConfigureServices has wrong signature 2015-05-15 13:46:58 -07:00
damianedwards 2ba7049648 Moved methods off of IStringLocalizer and into extension methods 2015-05-15 12:37:02 -07:00
Ajay Bhargav Baaskaran 47bfba11b9 React to aspnet/Razor#217 fix 2015-05-15 12:28:43 -07:00
Harsh Gupta d0927bdc75 Fixes #2464 - Does not add extra skipped entries for model bound from services.
Also ensures that when a type is marked as skipped, any sub property which is model bound (and hence a modelstate un validated entry),
is marked as skipped (otherwise it would cause the ModelState to be invalid).
Also fixing a bug in model state dictionary FindKeyWithPrefix was not considering [0] & [0][0] as a valid prefix.
2015-05-15 12:27:43 -07:00
Harsh Gupta 88ac4b94e4 Fixing #2466, #2446.
The assumption is ModelState should have entries if
1. An error is explicitly added by a model binder.
2. There is validation error reported while validating the model.
3. There is value bound by the model binder.

With this change there should be no extra entry other than for the cases mentioned above.

Also enabling the integration test cases.
2015-05-15 12:27:41 -07:00
Ajay Bhargav Baaskaran 2fe78d70db [Fixes #217] Applying error squiggly to full directive 2015-05-15 12:26:21 -07:00
N. Taylor Mullen 0882ff4a13 Add tests to validate minimized attributes.
- Added parse level rewriting tests to validate new TagHelper rewritten structures for minimized attributes.
- Updated existing parser tests to understand minimized attributes.
- Added codegen test to validate understanding of minimized attributes.
- Added TagHelperExecutionContext tests to validate maintaining of runtime TagHelperOutput tests.
- Refactored part of the TagHelperParseTreeRewriterTest file into a base class file so we can make better rewriting tests.

#220
2015-05-15 12:23:11 -07:00
N. Taylor Mullen 6fa3e405af Add support for minimized attributes in TagHelpers.
- Updated the Razor parser to understand minimized attributes instead of just treating them like plain text. This just involved encompassing minimized attributes in their own blocks just like the other attributes found on the HTML tag.
- Updated TagHelperParseTreeRewriter to only accept minimized attributes for unbound attributes.
- Updated IReadOnlyTagHelperAttribute/TagHelperAttribute to have a Minimized property to indicate that an attribute was minimized.
- Updated parser level block structures to represent minimized attributes as null syntax tree nodes.
- Updated chunk level structures to represent minimized attributes as null chunks.

#220
2015-05-15 12:23:06 -07:00
Pranav K 7b9cb14a10 Revert "React to CoreCLR dependency changes."
This reverts commit 06d3333ed3.
2015-05-15 12:20:28 -07:00
Pranav K 7d8f5d7b84 Revert "Reacting to updated CoreCLR packages"
This reverts commit f180bd9900.
2015-05-15 12:19:37 -07:00
damianedwards ecfb7f342a Sort project.json dependencies 2015-05-15 12:14:14 -07:00
N. Taylor Mullen 12e4307f3a Add tests to account for aspnet/Razor#220.
- Added unit and functional test.
2015-05-15 12:13:15 -07:00
N. Taylor Mullen 247625dcab React to aspnet/Razor#220.
- Added the ability for the WriteTagHelperAsync in RazorPage.cs to understand minimized attributes.
2015-05-15 12:13:10 -07:00
Kiran Challa 6ef8be92ff [Fixes #2541] Use custom stream writer for Xml output formatters 2015-05-15 12:12:11 -07:00
Chris R 74c8363855 React to CoreClr dependency changes. 2015-05-15 11:34:15 -07:00
Chris R 748a6e1090 React to CoreClr dependency changes. 2015-05-15 11:31:49 -07:00
Chris R 913e407b5a React to CoreClr dependency changes. 2015-05-15 11:27:29 -07:00
Chris R 89e60921f8 React to CoreClr dependency changes. 2015-05-15 10:39:32 -07:00
Murat Girgin 47f24598f4 Update README.md 2015-05-15 10:04:22 -07:00
Murat Girgin 703fa4279e Initial commit 2015-05-15 10:01:00 -07:00
Chris R 06d3333ed3 React to CoreCLR dependency changes. 2015-05-15 09:59:42 -07:00
Pranav K 0d3c29f46a Reacting to CoreCLR package updates 2015-05-15 09:57:18 -07:00
Pranav K f180bd9900 Reacting to updated CoreCLR packages 2015-05-15 08:59:23 -07:00
Troy Dai d89f5d0f47 Move comment into Startup.cs 2015-05-14 22:41:41 -07:00
Chris R 99ea4fed8a #176 Add Clone() to MediaTypeHeaderValue and NameValueHeaderValue. 2015-05-14 22:23:12 -07:00
Harsh Gupta 22f1881cc6 Restoring modelvalidation node. 2015-05-14 18:38:26 -07:00
Kirthi Krishnamraju 8b5223518f Fix 2224: [Jsonpatch]Added tests for custom converters on properties 2015-05-14 17:18:42 -07:00
Eilon Lipton 03aa1ee107 Merge pull request #58 from henkmollema/patch-1
Reference to ASP.NET 5 instead of vNext in README
2015-05-14 16:24:38 -07:00
Ajay Bhargav Baaskaran 39642761b1 Added overload to ViewComponent.Json to accept JsonSerializerSettings 2015-05-14 15:45:41 -07:00
Ryan Nowak 7767251dad Adding some deserialization to a test for SerializableError 2015-05-14 15:38:50 -07:00
Eilon Lipton f008483b03 Merge pull request #256 from henkmollema/patch-1
Reference to ASP.NET 5 instead of vNext in README
2015-05-14 14:56:17 -07:00
Smit Patel c6c5c94971 React to EF: changes in ModelSnapshot 2015-05-14 14:01:06 -07:00
Ryan Nowak cc4ee1068d Fix #2414 Part 2 - Add [DefaultValue(...)] support to the invoker for
action parameters
2015-05-14 13:58:02 -07:00
Ryan Nowak 3f2ec7c046 Add project.lock.json to the .gitignore 2015-05-14 12:31:16 -07:00