Commit Graph

40929 Commits

Author SHA1 Message Date
Chris R b455724859 Remove redundant Http.Core and Http.Interfaces dependencies. 2015-04-29 15:59:52 -07:00
Chris R a7ea311e8e Remove redundant Http.Interfaces dependency. 2015-04-29 15:49:52 -07:00
Chris R 1283414499 React to Http.Interfaces package rename. 2015-04-29 15:46:47 -07:00
Chris R ceb21ee1e7 Remove redundant Http.Interfaces dependency. 2015-04-29 15:35:55 -07:00
Chris R 04570cd34f React to Http.Interfaces package rename. 2015-04-29 15:33:15 -07:00
Chris R f48801cdf7 React to Http.Core rename. 2015-04-29 15:28:38 -07:00
Chris R 5bce140681 #295 Rename Core->Abstractions and Interfaces->Features. 2015-04-29 14:38:26 -07:00
christos-P 0ce998e8f3 small correction 2015-04-30 00:32:30 +03:00
ASP.NET Push Bot 07bbb020e8 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@875c974229
2015-04-29 14:32:05 -07:00
Pranav K 8188f593ad Fix excplicit cast of HashSet<string> to IReadOnlyCollection<string> to
allow tests to succeed in machines with only 4.5.1.
2015-04-29 14:07:23 -07:00
Duncan Angus Wilkie 9d57862ed7 Update README.md
To show bash profile step for osx
2015-04-29 22:07:20 +01:00
Ajay Bhargav Baaskaran 89ebce0289 [Fixes #2336] Generate some input elements without value attribute 2015-04-29 13:47:17 -07:00
Chris R 06584a31b4 #276 Remove unused IHttpApplicationFeature. 2015-04-29 09:59:29 -07:00
Kiran Challa 0a1918acac Cleanup logging in tag helpers 2015-04-29 09:41:51 -07:00
Henk Mollema f2fed5e940 Included default route name and template in docs
Added the route name and template being used in the
`BuilderExtensions.UseMvcWithDefaultRoute()` method.

Issue #1885
2015-04-29 09:21:53 +02:00
Doug Bunting 6384977e96 Improve `GetHashCode()` implementations and their consistency with `Equals()`
- #362 and more
- make a few more properties immutable
 - in a few cases, just remove `private` setters
 - in others, adjust consuming code to handle the changes
- make `Equals()` commutative
 - use `GetType() == obj.GetType()` if necessary
- use only immutable values in `GetHashCode()` calculations
 - avoid `object.GetHashCode()`; that calculates hash of reference
 - add warnings about `RazorError` property setters but use properties
 - BUT lack of immutable values leads to some static `GetHashCode()` calculations
- correct important typo in `TagHelperDescriptorComparer`
- ensure `Equals()` does not `throw` an NRE e.g. in `LineMapping`
- add `SyntaxTreeNode.GetEquivalenceHash()`
- make `SourceLocation.Equals()` and `SourceLocation.CompareTo()` consistent

Update affected tests
- code generators and edit handlers less likely to be equal; adjust expectations

Add lots of tests
- not for all updated classes but enough to see impact of odd choices

nits:
- remove some `Equals()` and `GetHashCode()` overrides in `SpanCodeGenerator` subclasses
 - no longer unique
- remove redundant null checks e.g. when also done in `base.Equals()`
- add `StringComparer.Ordinal` if `StringComparison.Ordinal` used in `Equals()`
- make some `CSharpLineMappingWriter` fields `readonly`
- remove unused `LineMapping` constructor
2015-04-28 20:35:04 -07:00
Ryan Nowak f77bb0ed2f GenericModelBinder integration tests part 1
- Covers simple scenario for each model binder.
- Covers scenarios mixing a generic model binder with a greedy model
  binder.
2015-04-28 17:43:29 -07:00
Doug Bunting 1111405786 Remove extra `[NotNull]` definition and second AssemblyInfo.cs file
- add necessary build-time dependency
- add missing `using Microsoft.Framework.Internal;` statements
- remove `[NotNull]` from tests
 - avoid duplicate definitions of `[NotNull]` from referenced projects
- remove incorrect NotNullArgument.cs and second AssemblyInfo.cs files entirely
 - merge content into AssemblyInfo.cs file in expected location

nit: clean up some trailing whitespace
2015-04-28 15:56:31 -07:00
Glenn Condron cf8ea953e8 Update README.md 2015-04-28 15:52:11 -07:00
Troy Dai 97a3c47928 Revert "Temporarily remove compiling against non roslyn project references"
This reverts commit 088bcac028.
2015-04-28 15:22:33 -07:00
ajcvickers 1ddaf8687e Stop using ForRelational. 2015-04-28 15:19:52 -07:00
Harsh Gupta b5b37265e1 Simple ModelBinders and Simple ModelBinder Poco - 1
Covers simple scenario for each model binder.
Covers scenarios mixing a POCO model binder -> Simple Model binder.

This contains tests for
HeaderModel
ServicesModelBinder
CancellationTokenModelBinder
ByteArrayModelBinder
FormFileModelBinder

Part 2 Will contain similar tests for
FormCollectionModelBinder
BinderTypeBasedModelBinder
TypeConverterModelBinder
TypeMatchModelBinder
Any leftovers for BodyModelBinder
2015-04-28 14:13:36 -07:00
Chris R 86f94b7590 Fix typo. 2015-04-28 13:44:40 -07:00
Kirthi Krishnamraju 30e54609cc Fix #1911 : Create a separate package for ApiExplorer 2015-04-28 13:13:20 -07:00
moozzyk e54a3b61c0 Enabling MSBuild 14 in the default native-compile target
Currently Helios won't build on machines that don't have VS2013 installed (only VS2015)
2015-04-28 11:55:39 -07:00
Ajay Bhargav Baaskaran 3ca018375a Issue #1885 - Updated startup code in few websites 2015-04-28 10:42:01 -07:00
ASP.NET Push Bot 43de02652a ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@2697ee5f2d
2015-04-28 09:09:34 -07:00
Eilon Lipton 6be259ca57 Merge pull request #492 from spboyer/dev
typo OSX brew tap
2015-04-28 08:39:07 -07:00
Shayne Boyer f86d083185 typo OSX brew tap 2015-04-28 09:01:58 -04:00
Troy Dai bca294e6e8 React to ICompileModule change 2015-04-28 00:07:34 -07:00
ASP.NET Push Bot 1124e5038d ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@2697ee5f2d
2015-04-27 21:39:41 -07:00
Glenn Condron 67dc3f5c34 Update README.md 2015-04-27 16:36:57 -07:00
Glenn Condron e12f96840d Update GettingStartedDeb.md 2015-04-27 16:35:47 -07:00
Glenn Condron 928702aee9 Update GettingStartedDeb.md
Remove the extra text and put apt-get install into the main instructions.
2015-04-27 16:26:11 -07:00
Glenn Condron 4d6deaef37 Update GettingStartedDeb.md
Switch to main mono
2015-04-27 16:23:51 -07:00
Glenn Condron 43a3c168de Update GettingStartedDeb.md
Update instructions to use debian alpha channel
2015-04-27 16:08:37 -07:00
Henk Mollema 53f3a91f01 Added UseMvcWithDefaultRoute extension to BuilderExtensions
Added `UseMvcWithDefaultRoute` extension method to `BuilderExtensions`,
which adds Mvc to the request pipeline with a default route to the
`Index` action on the `HomeController`.

#1885
2015-04-27 15:50:45 -07:00
Youngjune Hong 3ea7daabfe Added the default constructor to ViewContext 2015-04-27 15:30:18 -07:00
N. Taylor Mullen 2d20063ba5 Remove layout directive.
- Removed all instances of the layout directive from src and test projects.

#359
2015-04-27 14:48:53 -07:00
Chris R 4d015760f6 React to rename of IHttpClientCertificateFeature rename. 2015-04-27 14:38:24 -07:00
N. Taylor Mullen f152ea7004 React to aspnet/Razor#279 changes.
- Updated all tests and TagHelpers to utilize the new TagHelperOutput.Attributes and TagHelperContext.AllAttribute types.

aspnet/Razor#279
2015-04-27 14:30:30 -07:00
Chris R 117486de94 #277 Rename IHttpClientCertificateFeature. #279 prefer X509Certificate2. 2015-04-27 14:18:02 -07:00
Doug Bunting 05ac641f9a PR comment on c162209
- place `[HtmlAttributeNotBound]` on its own line
 - don't use (wonderful) shortcut syntax
- @Eilon's comment https://github.com/aspnet/Mvc/pull/2452/files#r29162068
2015-04-27 13:32:19 -07:00
N. Taylor Mullen dcee0d2ff7 Add tests for ReadOnlyTagHelperAttributes and TagHelperAttributes.
#279
2015-04-27 12:06:08 -07:00
N. Taylor Mullen 7c604d2b11 Add TagHelperOutput.Attributes and TagHelperContext.AllAttributes replacement.
- Added a TagHelperAttributes object that's used to hold 1=>many attributes. Is used for TagHelperOutput.Attributes.
- Added a ReadOnlyTagHelperAttributes object that holds 1=>many IReadOnlyTagHelperAttributes. Is used for TagHelperContext.AllAttributes.
- Added a TagHelperAttribute object which is used to represent attributes.
- Added a IReadOnlyTagHelperAttribute which is used to represent attributes which cannot be modified.

#279
2015-04-27 12:06:00 -07:00
Kirthi Krishnamraju 3c9456e2a3 AntiForgery: Add documentation and update variable names for readability 2015-04-27 11:40:59 -07:00
Kirthi Krishnamraju 68026add28 JsonPatch:Changed ToLower to ToLowerInvariant 2015-04-27 10:14:11 -07:00
Doug Bunting c1622096b9 React to aspnet/Razor#182 fix
- use `[HtmlAttributeNotBound]` to make tag helper properties `public`
- properties remain invisible in Razor
2015-04-27 08:17:40 -07:00
Doug Bunting 838f672b10 Clean up .xproj files added with HttpAbstractions 2015-04-27 08:12:22 -07:00
Ryan Nowak 9fded74b15 Merging ModelBinding into Mvc.Core 2015-04-27 02:10:37 -07:00